Skip to content

fleet-stalling: Drew's expedite set has no active worker #7030

Open

Description

@dezren39

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

  1. 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.
  2. 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.
  3. 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.
  4. 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

  1. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor
  2. added
    priority/normalOrdinary priority (the default)
    source/creatorFiled by the new-issue-creator job
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 8, 2026
  3. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor

    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 set expedite ⇒ 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 queued in repo-health-code-pilot:

    task issue old → new
    5782 #3792 (fix) 90 → 15
    6294 #4403 (fix) 90 → 15
    6295 #4409 (fix) 90 → 15
    6300 #4406 (fix) 90 → 15
    6301 #4407 (fix) 90 → 15
    9198 #4837 (triage) 90 → 15
    9904 #3789 (triage) 90 → 15
    10929 #3447 (triage) 90 → 15

    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-flags expedite_next_up with needs_action.
    • ⚠️ Revert risk until 11466 lands: the fleet monitor still runs that text every 2h — any expedite task that returns to queued at 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 claim from 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.

  4. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor

    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:

    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.

  5. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor

    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.md

    What this unblocks for task 11466's implementation:

    • Brief-driven triage — the orchestration pass now triages against the ratified brief; every re-tier cites a brief line.
    • Chat-ruling translation — Drew's rulings in chat ("X matters", "do X first", "prioritize #N") translate to labels + bands in the same pass; the expedite set is Drew's alone to edit.

    Already done, not part of the remaining work here:

    • The expedite-band inversion is fixed (expedite tasks 90 → 15; verified by lanes claiming them within ~a minute) — see the earlier correction comment on this issue.
    • The revert guard is in place at the fleet-monitor source (expedite ⇒ 15 / next-up ⇒ 25 in the cron definition and the live job), so the old mapping can't re-raise expedite tasks.
  6. developing-today commented on Nov 8, 2026

    @developing-today
    Contributor
    Lane code-u claimed task 11466 (issue #7030, triage). Fresh check: issue #7030 OPEN, no hard-stop labels. assigned_lane=opencode per lane ledger, so handed off to the opencode claimant per runbook 1b; checkpoint stage=handed_off recorded.
  7. 145 remaining items

  8. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    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.

  9. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    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.

  10. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    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 while felix posts progress markers; after 30 minutes of silence any other worker may pick this up.)

  11. added
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    and removed on Nov 23, 2026
  12. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Progress from felix: still working

  13. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    Progress from felix: still working

  14. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    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.py against 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)

    repo expedite next-up
    developing-today/code 19 issues — 18 CLOSED, only #12228 OPEN none
    developing-today-forks/opencode #1014, #1379 (both CLOSED) none
    developing-today/opencode none none
    developing-today/openchamber none none
    developing-today-forks/openchamber none none
    dezren39/darwin-nix none none
    dezren39/nix none none

    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):

    task issue status priority
    21084 #12228 (expedite, OPEN) claimed 30
    18279 #4000 (expedite, CLOSED) blocked 30

    No live task for any labeled issue existed in the opencode, openchamber, or nix pilot queues. next-up has 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

    task guard result readback
    18279 (#4000) dedupe repo-health:v1:triage:developing-today/code:issue:4000 + status blocked affected=1, 30 → 15 blocked @ 15 ✓
    21084 (#12228) dedupe repo-health:v1:triage:developing-today/code:issue:12228 + status claimed affected=0 — see disagreement 1 done @ 30
    21092 (#12228) dedupe repo-health:v1:fix:developing-today/code:issue:12228 + status queued affected=1, 30 → 15 queued @ 15 ✓ (same-run readback)

    Readback 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

    1. Task 21084 (fleet: sessions wedge on a walled or dead model door instead of failing over #12228 triage) completed at priority 30, un-banded. It was claimed at recon (2026-11-23T00:47Z payload state check) and completed by repo-worker-code at 2026-11-23T00:53:30Z, minutes before the guarded update ran; the status guard correctly refused to touch a done row. No live-task harm remains — its successor (21092) carries the band — but the instance itself ran its course outside the expedite band.
    2. Task 18279's issue (Design: reconstruction is admission, continued — carried state, checked succession, and every restore's guards (pkgs/id follow-on to #2898) #4000) is CLOSED. Its band follows the label of record, which still sits on the issue; Duty 5 treats closed-issue labels as inert for its own enqueue/raise duties, but the row is blocked, not claimable, and if it is ever revived it now revives at the correct band rather than the back of the queue. Recorded here so the choice is visible, not silent.

    Producer-side label verification

    1. Slice 1 is live and correct. PR feat(fleet-queue): select enqueue row priority from Drew's label bands (#7030) #12464 (merged 2026-11-22T07:16:40Z): label_band_priority reads payload.labels; task_from_packet selects 15/25 over the packet's stated priority.
    2. No producer writes payload.labels — the selection is inert in production. 0 of 70 tasks created since the merge carry a labels array. 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).
    3. Fleet-monitor Duty 5 text matches the ratified mapping — expedite ⇒ 15, next-up ⇒ 25, with the inverted 90/70 explicitly recorded as history (verified in the hatch-personal copy of the job body). But the job file now sits under 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

  15. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    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.

  16. added and removed
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 23, 2026
  17. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mMedium: expected under 1 day of workepic/pm-stackReprioritization program epic (2026-11-12)kind/enhancementpriority/criticalDrop everything: main broken, security exposure, repo-wide outagequeue/queuedHas a queued queue tasksource/creatorFiled by the new-issue-creator jobstatus:in-reviewtask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions