sync: auto-sync from HOWARD-HOME at 2026-06-26 17:20:09

Author: Howard Enos
Machine: HOWARD-HOME
Timestamp: 2026-06-26 17:20:09
This commit is contained in:
2026-06-26 17:20:40 -07:00
parent 6763a83899
commit 8633d59b89
5 changed files with 39 additions and 131 deletions

View File

@@ -153,3 +153,18 @@ into the `/syncro` skill (attribution user_id 1750).
#32193 (67873); Universal Minerals #32397 (inv 67810 $175); Wolkin #32465 (inv 67885 $225).
- 9 #bot-alerts posted (message_ids in the run output).
- Syncro skill billing rules applied: `.claude/skills/` (syncro); prepaid emergency ×1.5; per-user attribution.
## Update: 17:19 PT — session close; 06-01→06-12 hours query abandoned (rate limit)
Attempted to total Howard's billed labor hours across all clients for 2026-06-01 to 2026-06-12.
The calc requires fetching each in-range invoice individually (tech attribution `user_id` lives only
on invoice/ticket line items, not the `/invoices` list endpoint) — 46 ticket-bearing invoices in the
window. The bulk per-invoice GET repeatedly failed: Syncro's **180 req/min per-IP limit is shared**
(Discord bot + other sessions also hit it), so any burst beyond a handful was throttled to empty
responses; paced foreground (perl micro-delay) and patient background runs (90s pre-wait + 1.5s
pacing + retries) were also starved, returning OK=0/failed=46 even though single and ~5-at-a-time
GETs work fine. **No billing changes were made — entirely read-only.** To finish later: trickle the
fetch in bursts of <=6 spaced ~18s apart during a low-contention window (the `.trickle.sh` logic),
summing `quantity` on line items where `item` matches /labor/i and `user_id==1750`, over invoices
with `date` in range. Session closed at user request; no new tickets/invoices created since the prior
content above (#32480 internal already captured).