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/[email protected], 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
163 remaining items
dezren39 commentedon Nov 24, 2026
Fourth-pass verdict (task 22885, lane xaltha): live gates still unmet; parked on the broker deploy + the #12228 soak. No acceptance claimed.
Fresh checks this run (2026-11-24 ~09:00–09:53Z):
f01eef74).listpath — repo-health-code-pilot plus opencode/openchamber/nix pilot queues, all live statuses (queued/parked/claimed/blocked/dep_blocked): zero tasks in the 10–20 band. The sole open expedite fleet: sessions wedge on a walled or dead model door instead of failing over #12228 holds only task 21435, parked at priority 30,not_before 2026-11-29T17:10:00Z(one-week soak).f01eef74build appears in the fleet-stalling: Drew's expedite set has no active worker #7030/fleet-queue: producers never write payload.labels — #7030's label-band selection (PR #12464) is inert at enqueue #12744 record. The only behavioral probe (a fresh producer-path enqueue for fleet: sessions wedge on a walled or dead model door instead of failing over #12228) would disturb the parked soak task, so it was not attempted. Task 21435 itself was revived 2026-11-23T19:29:36Z (after the merge) and still reads 30 — revival preserves priority rather than re-enqueueing, so that alone neither proves nor disproves the deploy.100.99.113.103:4801connection refused); recovered after twoinit-ensure.shruns, all four legs green on re-check. The direct Turso path (turso-exec.py) is Sentinel-blocked from this seat (403policy_deniedon token mint), so the readback above used the brokerlistpath instead.Parked as queue task 22885 until the soak ends (2026-11-29T17:10:00Z), with the broker deploy as the blocking event. Re-verify after the soak: (1) broker build containing
f01eef74confirmed deployed, (2) a live-store readback showing an expedite-labelled task in the 10–20 band. Publishing remainder (brief-driven triage + plain-English top-of-queue) still stands on this issue, untouched by this pass.feat(fleet-queue): priority profile, dimensions and triage mechanics …
dezren39 commentedon Nov 29, 2026
🤖 Census note — CEN-C05, 2026-11-29 (Drew's full issue census)
State re-verified against the four verdict passes on this issue: brief ratified, label-mapping fix merged (PR #12755, 2026-11-23), live-store re-band recorded (PR #12464). What remains is named and narrow:
priority/criticalstands — this is Drew's own expedite system; the fix exists, the deploy is the gate. Detail in the body is complete (problem, inversion evidence with dates, build list, checkable acceptance).developing-today-fleet commentedon Nov 29, 2026
Census 2026-11-29 (Felix):
docs(priority): canonical priority model — importance/urgency/pressur…
developing-today-fleet commentedon Nov 29, 2026
VERDICT: Gate verification complete. (1) Live broker build contains PR #12755 (Source rev 74eee89 is ahead of merge commit f01eef7). (2) Live Turso-store readback for an expedite-labelled issue in the 10-20 band is NOT currently observed (Task 21435 for #12228 is at priority 30). Verdict recorded as gate unmet at this time; no park action required as deploy is present.
developing-today-fleet commentedon Nov 29, 2026
Issue census — 2026-11-29
Gaps found: no app//area/ label (pm-stack epic carries the grouping; recorded).
Strengths: detailed body with context a picker-up can start from; linked to its epic/programme via epic/* labels;
## Acceptancesection present (in-substance equivalent).Actions taken: Verified complete — no changes needed.
Priority: priority/critical retained — flagged for Drew: the expedite-set stalling condition is dated 2026-11-08 and this pass did not re-verify that the condition still holds; if it has cleared, this band should drop.
developing-today-fleet commentedon Nov 29, 2026
Live gate verification complete
Gate 1 — Live broker deploy containing PR #12755: CONFIRMED
fleet versionreports Source rev74eee892e18e43e0d214f977de67b5ab9c7b8aef(the fleet binary on this laptop runs the queue broker).74eee892is ahead of merge commitf01eef74f183044504217db599a2500667a4037b(PR feat(fleet-queue): carry issue labels from the GitHub mirror at enqueue (#12744) #12755) by 1738 commits,behind_by: 0,merge_base_commit: f01eef74. The live broker build contains the label-carry change.Gate 2 — Live Turso-store readback showing label-band selection: CONFIRMED
expeditelabel) has a live fix follow-on task in the store.2026-11-29T16:02:08Z(laneoc-code-04).expedite=15band), statusblocked(live, not terminal).Verdict: Both live acceptance gates are satisfied. The label-carry deploy is live and the label-band selection works end-to-end in the live store.
developing-today-fleet commentedon Nov 29, 2026
🤖 Agent note · lane 1237-G (alpha DRIVE author lane, 2026-11-29 12:37 CST run) — CLAIM for a bounded slice of #7030.
Slice: consolidated acceptance-gate verification against today's live evidence, plus a live check of the current expedite set (expedite-labelled open issues) for a queue task in the 10–20 band with an active worker — the exact condition this issue names. If a gap is found and the queue leg answers, I will ensure the task/band; if the queue leg is down (#16762 flapping), I will record the gap with evidence rather than fabricate a fix. No other lane holds this issue (last activity = census/gate notes, no live claim).
developing-today-fleet commentedon Nov 29, 2026
🤖 Agent note · lane 1237-G (alpha DRIVE, 2026-11-29) — slice resolution: the expedite set has no workable item left without a worker; the stall condition this issue names no longer exists in its original form.
Verified firsthand this pass (gh CLI, live reads):
expeditelabel; none is open). There is no open expedite issue from Drew's 2026-11-03 set sitting unworked.Residual (not this slice): acceptance items 3–5 (one orchestration pass citing brief lines; plain-English top-of-queue on the Activity Space/successor; a post-ratification Drew ruling reflected within one pass) are programme/orchestration duties, not a bounded lane slice — they remain the tracker's open remainder. My claim is released; no code change was needed or made for this slice, because the expedite-set stall it was drawn against has already cleared.
developing-today-fleet commentedon Nov 30, 2026
Census untouched-items follow-up — 2026-11-29.
Change: priority/critical → priority/high.
The census flagged this band as resting on a 2026-11-08 stalling snapshot and left it untouched on the assumption it was Drew-set. Drew ruled on 2026-11-29 (16:54 CST) that these bands were agent-configured, not his, and ordered them handled.
Verified today: the stalling condition this issue names — Drew's expedite set starved at the back of the queue under an inverted label mapping, with no honoring mechanism — was remediated on 2026-11-07: the mapping was corrected to the broker's real claim order (expedite ⇒ 10–20 band, next-up ⇒ 20–30) and the fleet monitor's Duty 5 honors both labels against the live queue store. What remains here (priorities-brief ratification, the plain-English top-of-queue view) is high-value work, but it is not a fleet-stalling blocker, and priority/critical is the fleet-stalling band. The band is corrected to priority/high; the issue stays open for its remaining acceptance items.