Repository navigation
Description
Problem
The queue's claim order is set entirely by fleet machinery — enqueue-time packet banding and the 2026-11-03 effectiveness re-tier — and none of it is Drew's order. Drew has never opened, edited, or connected to the queue store, and should never have to: his priorities exist as chat rulings and (since 2026-10-29) as the expedite / next-up issue labels, but nothing runs triage against them.
Worse, the one channel Drew did build is inverted. The 2026-10-29 label design maps expedite ⇒ priority 90 and next-up ⇒ priority 70, but the broker claims lowest number first (ORDER BY priority ASC, created_at ASC, fleet-queue turso_queue.rs; verified 2026-10-26, 2026-11-01, 2026-11-05, and again 2026-11-07). So the 15 issues Drew expedited on 2026-11-03 (the ID design tracks: #3447 + steps, #2898, #4000, #5047, #3789, #3792, #4837, and #3418) have their queue tasks sitting at priority 90 — the last band claimed — untouched since 2026-11-05. The inversion was flagged 2026-11-01 and never fixed; the label-honoring monitor duty was written against the old Supabase store and shows no action on the Turso store. The 2026-11-03 re-tier reused the same inverted reading (its "critical" band 70 claims after its "low" band 30).
Evidence snapshot (2026-11-07 ~19:20 CST): the next 20 tasks lanes will claim across the four pilot queues carry zero Drew-expressed priority; the plain-English top-of-queue is written up in ~/workspace/scratch/queue-top-plain-2026-11-07.md (hatch-personal). A draft priorities brief — sourced entirely from Drew's goals and standing rulings — is at ~/workspace/scratch/drew-priorities-brief-draft-2026-11-07.md, awaiting Drew's correction/ratification in chat.
What to build
- Triage runs against the brief. Once Drew ratifies the priorities brief, the hourly orchestration pass triages all four pilot queues against it: every band assignment or move cites the brief line that justifies it. Heuristic-only re-tiers (the 2026-11-03 pattern) are retired. Until ratification, no reprioritizing under this issue.
- Fix the label mapping.
expedite⇒ ensure a live queue task and place it in the 10–20 band;next-up⇒ ensure a task and place it in the 20–30 band (Drew's 2026-10-29 design, numbers flipped to the broker's real claim order). The honoring mechanism must run against the Turso fleet-queue store (the Supabase-era Duty 5 does not). The expedite/next-up set is Drew's: lanes never add or remove those labels on their own judgment. - Plain-English top-of-queue, published on cadence. The OpenCode & Muse Activity Space (or a successor view) shows the current top-of-queue in plain English — what each task is, which repo/issue, why it's at the top — refreshed on the orchestration pass cadence from the live store. Drew reads the order there; he never opens the queue table.
- Chat rulings become queue order in the same pass. Any Drew ruling of the form "X matters" / "do X first" / "prioritize #N" is translated by the orchestrator into the labels + queue priority above in the same pass it is given, and time-boxed rulings record their window and expire on schedule.
Acceptance
- Brief ratified by Drew (corrected version filed where the orchestration pass reads it).
- Label mapping flipped and verified by readback: an expedited issue's task reads in the 10–20 band in the Turso store; the current 15-issue expedite set is re-banded accordingly.
- One orchestration pass completes citing brief lines for its triage moves.
- The Activity Space (or successor) shows a plain-English top-of-queue stamped with its read time, refreshed by the pass.
- A Drew chat priority ruling given after ratification is reflected in labels + band within one orchestration pass, with no Drew clicks.
Refs: Drew's ruling 2026-11-07 19:12 CST (the queue's order is not his; make the system useful). Related: #7016 (standing issue↔queue reconciliation), #6853 (lane registry), #6423 (packet validation).
Activity
developing-today commentedon Nov 8, 2026
CODE-2229
developing-today commentedon Nov 8, 2026
Expedite-band inversion — live data correction applied (2026-11-07 ~19:24 CST)
Drew's 2026-11-03 expedite order was sitting at the BACK of the queue: the broker claims
ORDER BY priority ASC, but the Oct 29 label mapping setexpedite⇒ 90. The inversion was flagged 2026-11-01 and never fixed systemically. Tonight's correction (data only — the durable wiring is task 11466):Expedite tasks flipped 90 → 15 (expedite band under the corrected mapping; band 10 reserved for fleet-stalling). All were
queuedin repo-health-code-pilot:These are the live tasks for all 15
expedite-labeled open issues (the other 7 issues' tasks are done/cancelled, or parked/blocked — see scope note).Also:
Verification (store readback + broker behavior): queue signal refreshed for repo-health-code-pilot (2026-11-08T01:26:18Z). Within ~60 seconds of the flip, lanes claimed 6 of the 8 expedite tasks (5782→code-c, 6294→code-m, 6295→code-z, 6300→code-m, 9904→code-m, 10929→code-z, claimed 01:24:29–01:24:54Z); 6301 (#4407) and 9198 (#4837) were claimed (code-n, code-p) and timer-parked by their lanes at priority 15 — they keep the expedite band when they requeue. Head of claim order is now task 10722 at priority 10; task 6699 is absent from claim order (parked).
Scope note for task 11466: parked/blocked tasks for expedite issues still carry 90 and were NOT touched (parked: 6298 #4405, 6302 #4408, 6303 #4411, 10751 #4000; blocked: 9570 #3418, 9811 #5047). The durable wiring must correct the value at requeue/unblock transitions too, not just for queued tasks.
Mapping locations found (NOT edited — for task 11466):
~/workspace/goals/keep-the-four-repos-healthy/crons/hourly/repo-fleet-monitor__interval@2h.md, Duty 5 (~lines 76–77):expedite⇒ enqueue at 90 / raise queued tasks to 90;next-up⇒ 70 the same way. Applied via~/tools/turso-exec.py(UPDATE tasks SET priority … WHERE dedupe_key … AND status='queued'). The monitor's digest step also pre-flagsexpedite_next_upwithneeds_action.queuedat 15 before the wiring fix will be raised back to 90 by the monitor's "below 90 ⇒ raise to 90" rule. 6301/9198 requeue in ~20 min; watch the next monitor run.Transparency: while probing the park verb, a bare
fleet queue claimfrom this sandbox claimed shadow-queue task 8675 (the CLI's default queue here is repo-health-code-shadow — the same trap another orchestrator hit earlier tonight, per that task's own progress note). It was immediately parked back via the verb with the reason recorded on the task; no work was taken and no GitHub state changed.developing-today commentedon Nov 8, 2026
Expedite-band revert risk killed (2026-11-07 ~19:35 CST).
The inverted label mapping is fixed at the source, so the every-2h fleet monitor can no longer undo the band fix:
expedite⇒ priority 15 andnext-up⇒ priority 25 (bands: 10 = fleet-stalling, 10–20 expedite, 20–30 next-up; queue claims lowest number first). Applied to the live job via cron.update and committed in hatch-personal (13320ed87); verified by read-back — the live body carries the new mapping, schedule unchanged (every 2h, next run 20:12 CST).monitor-digest.py): theexpedite_next_uptarget is now the minimum across marks (expedite 15 / next-up 25) andneeds_actionfires when a queued task's number sits above its band target (was: floor 90/70 with a<comparison); the live-task fetch order flipped to claim order (priority ASC) so paging keeps the head of the queue.What the next monitor run now does to a queued expedite task: raises it to 15 — a no-op for any correctly-banded task.
Remaining wiring on task 11466: brief-driven triage + plain-English top-of-queue publishing.
developing-today commentedon Nov 8, 2026
Priorities brief — RATIFIED
Drew ratified the priorities brief on 2026-11-07 19:32 CST (👍 on the draft as presented in chat, per his standing convention).
Durable copy (the one the orchestration pass reads):
hatch-personal: workspace/goals/keep-the-four-repos-healthy/hidden_files/drew-priorities-brief.mdWhat this unblocks for task 11466's implementation:
Already done, not part of the remaining work here:
developing-today commentedon Nov 8, 2026
145 remaining items
dezren39 commentedon Nov 22, 2026
Builder's advocate, 2026-11-22 16:00 CST: the expedite items this tracker was about are now closed. #8163 closed as status:done (updated 2026-11-22 03:42Z). #4000 closed 2026-11-22 06:53Z. The expedite set is not stalled on an open item. Not touching the expedite labels. Tracker left open for the conductor to close.
dezren39 commentedon Nov 22, 2026
decision:v1
by: Drewry (via Felix, main chat)
at: 2026-11-22
Brief RATIFIED. The label-derived priority bands (EXPEDITE 15 / NEXT_UP 25, slice 1 merged in PR #12464) are approved for live use. Next: the live-store re-band + readback and producer-side label verification, in that order.
dezren39 commentedon Nov 23, 2026
Picked up by
felix— working this now. (Fleet queue fallback mode: the queue backend is down, so this issue's comments carry the claim. The claim stays live whilefelixposts progress markers; after 30 minutes of silence any other worker may pick this up.)dezren39 commentedon Nov 23, 2026
Progress from
felix: still workingdezren39 commentedon Nov 23, 2026
Progress from
felix: still workingdezren39 commentedon Nov 23, 2026
Live re-band executed + readback (2026-11-22 ~18:54–19:05 CST, agent felix)
Per the ratified brief (decision:v1, 2026-11-22, comment 7087899088): live-store re-band first, producer-side label verification second. Store ops via
~/tools/turso-exec.pyagainst the fleet-queue Turso DB, guarded updates in the 2026-11-07 precedent form (UPDATE … WHERE dedupe_key=… AND status=…), each with a store readback. (Process note: the token-mint step's approval card timed out once; Drewry's standing blanket approval covers it — the mint's outcome was verified directly, HTTP 200, token never printed or logged.)Label sets (GitHub, checked fresh)
Before distribution (live = queued/parked/blocked/claimed, all four pilot queues)
Exactly 2 live tasks exist for labeled issues, both in repo-health-code-pilot, both at priority 30 (label-derived expectation: 15):
No live task for any labeled issue existed in the opencode, openchamber, or nix pilot queues.
next-uphas no labeled issues anywhere, so the 25 band's expected population is zero — and the store's live rows confirm zero tasks at 25 in any pilot queue.Updates applied
repo-health:v1:triage:developing-today/code:issue:4000+ statusblockedrepo-health:v1:triage:developing-today/code:issue:12228+ statusclaimedrepo-health:v1:fix:developing-today/code:issue:12228+ statusqueuedReadback verdict
Every live task for a labeled issue now reads at its label band (2/2 at 15). Task 21092 — the successor fix task for #12228, enqueued after 21084 completed — was caught by the final population readback at 30 and flipped in the same pass; without that second readback it would have repeated the miss.
Disagreements, named
Producer-side label verification
label_band_priorityreadspayload.labels;task_from_packetselects 15/25 over the packet's stated priority.payload.labels— the selection is inert in production. 0 of 70 tasks created since the merge carry alabelsarray. Both fleet: sessions wedge on a walled or dead model door instead of failing over #12228 tasks (21084, 21092) were enqueued post-merge at stated 30 with labels absent. Bands currently reach the store only via manual re-band (this pass). Filed as fleet-queue: producers never write payload.labels — #7030's label-band selection (PR #12464) is inert at enqueue #12744 with the acceptance readback (a producer-path enqueue for an expedite issue storing at 15 with no manual update).cron.d/_archive/on the primary seat: the monitor is not currently running, so Duty 5's raise-to-band duty is dormant — correct text, no live applier. No action taken on that seat from here; recorded as a finding for the primary seat's session.What remains on #7030
dezren39 commentedon Nov 23, 2026
Released by
felix(outcome: free). Live re-band done: all live tasks for labeled issues read at band (21092 + 18279 at 15); record comment 7088743258; producer label-carriage gap filed as #12744; #7030 stays open for #12744 + the 11466 publishing remainder.dezren39 commentedon Nov 23, 2026
agent-note:v1 — pointer from the #7030 remainder list: the producer label carriage item (#12744) is implemented as PR #12755 (broker-side mirror enrichment at enqueue + the triage follow-on), with the acceptance readback demonstrated against a scratch store through the real verb stack (stored at priority 15, labels on the payload, no manual update). Full record on #12744. Remaining for live effect: the broker deploying a build with the change. The task-11466 remainder (brief-driven triage + plain-English top-of-queue publishing) is untouched and still stands on this issue.