You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Queue/lane design rules: no by-id blocking by default, optional platform selector, triage separate from fixes #8097
Drew's design rules for the queue/lane machinery, dictated 2026-11-09 20:22 CST after tonight's by-id claim fixes and lane-UUID registrations. These govern how lanes, the broker/claimant, and queue items are shaped.
Rule 1 — No blocking by ID by default
Lanes must not need to block or claim by task ID in the regular queue flow. ID-targeted claims stay available for specific cases (e.g., reviving one specific parked handoff, as done tonight for task 11214), but they are the exception tool, never the default mechanism a lane depends on to get work.
Rule 2 — No platform required; coarse selector allowed
A work item must not need a platform set on it. Provide an optional coarse selector — "use OpenChamber" or "use Muse" — that constrains which family may take the item without naming a specific lane. Default (no selector): either family's lanes may take it.
Rule 3 — Triage is a separate step from fix work
Muse lanes work their own fixes. Triage is its own task/step, not something mixed ad hoc into fix work: a lane picking up a batch of tickets (Drew's example: 5) triages the ones that need triage as that separate step, and works fixes for the ones already triaged. (Batch size read as illustrative pending Drew's confirmation.)
Acceptance
The claimant/broker default flow demonstrably claims and launches regular queue work with no ID-targeted claims involved.
The queue item schema shows platform/selector optional, with the two coarse values working end-to-end.
Lane/sweep definitions show triage as a distinct step from fix work in the Muse lanes' flow.
Drew confirmed 2026-11-09 20:25 CST: the batch numbers in Rule 3 were an example of the flow, not fixed counts. Implementation ordered now ('implement now'): rules 1+2 in the queue machinery, rule 3 in the Muse lane definitions. Evidence lands on this issue.
Rule 4 added by Drew, 2026-11-09 20:26 CST: Muse lanes do the work themselves, not just hand off tasks. OpenChamber picks up tasks itself during normal operation. A Muse lane may hand off to OpenChamber/OpenCode only with a reason: its session is ending, its scheduled task needs to hand off for an indefinite time, or it needs another session for a specific reason. Handing off all the real work by default is the defect this rule names. Applies to the Rule 3 restructure directly (triage and fixes are Muse lanes' own work) and to claim defaults in the machinery.
Rules 1 + 2 implemented, deployed, and proven live (2026-11-09 evening)
PR #8100 — merged 02f4ece9c422ad7a5ac95c5f75806a233ae74935. Deployed like the #8066 deploy: both broker binaries rebuilt from the merged tree (~/.local/libexec/queue-coverage/fleet — the one the broker actually runs — and ~/.local/bin/fleet; pre-change backups kept as fleet.bak-20261109-pre8097), queue-broker.service restarted (new pid, Turso backend, listening :4801 + UDS), claimant claimant.py/prompt.md updated in the primary clone to merged main, and the claimant prompt reinstalled via pm-stack/opencode-claimant/install.mjs (read-back: installed prompt == new prompt.md, task stays enabled). No lane registration was touched — no lane verb was invoked at any point; Drew's 12 disabled registrations stand. opencode.service was not restarted.
Rule 1 — what required IDs before, and what changed
Audit of the default flow: the broker's ordinary pick, lane claims (--lane always optional), queue-capture enqueue, and claimant discovery (/list) never required a task ID. The ONE default-path dependence was the opencode claimant's parked-handoff collection, which claimed each discovered handoff by id (claim --task <id>, #8066). Verbs that act on an already-owned task (bind/heartbeat/checkpoint/park/fail/complete) are addressed by id by nature — they are not work acquisition and are unchanged.
Broker gains a pick mode: pick="parked_handoff" (CLI repo-queue claim --handoff). The broker picks the next parked recorded opencode handoff itself (SQL predicate mirroring is_parked_handoff: progress lane opencode, yield stage incl. the last-checkpoint lift, no session binding; the park verb's default timer does not gate it). The caller names no task id.
claimant.py now collects parked handoffs only this way (grouped per queue at the top of launch_step, _collect_parked_handoffs); claim --task appears in no default flow. prompt.md updated to match.
claim --task <id> remains as the explicit special-case verb for one-off revivals (e.g. task 11214) — and now also honors Rule 2's selector.
Rule 2 — platform selector
tasks.platform column: in the CREATE TABLE for fresh DBs + an additive ALTER TABLE in the broker's ensure_schema for the live DB. Existing rows (380 queued in the pilot queue alone) read NULL = unset; no backfill, nothing destructive.
Enqueue: optional via repo-queue enqueue --platform <family> or the packet's platform field (request wins). Validated on both CLI and broker: exactly openchamber or muse; anything else errors. Never required; names a family, never a lane.
Claim: enforced in SQL on every claim path (default pick, handoff pick, by-id). A set item is claimable only by a claim declaring the same family; a claim declaring NO family only ever takes unset items, so every existing claimant keeps exactly its old reach. The opencode claimant declares openchamber.
Rows from enqueue/claim/list now carry platform.
OpenChamber-side remainder (precise): OpenChamber lane sessions claim through the same repo-queue CLI, so the broker-side rule already binds them; a lane session that wants selector-restricted items must pass --platform openchamber on its claim — no OpenChamber native task code was edited, and unselectored work (everything queued today) is completely unaffected.
Python: 73/73 claimant + poll unittests (new: a parked candidate is collected with no --task anywhere in argv; collection drains broker picks until {"task": null}).
Live proofs (fleet-queue-proof queue, after the deploy)
(a) Regular claim cycle, no IDs anywhere: plain repo-queue claim (no --task, no --lane, no --platform) took the next suitable item — task 14446.
(b) Selector end-to-end: enqueued 14446 (unset, priority 50), 14448 (muse, prio 10), 14449 (openchamber, prio 10). Stored rows read back platform = None / muse / openchamber respectively. A muse claim took 14448 (skipping the equal-priority openchamber item); an openchamber claim took 14449; the plain claim took 14446. With only a second muse item (14450) left: an undeclared claim got no claim (exit 5), an openchamber claim got no claim (exit 5), a muse claim took 14450. All four items then retired via the normal cancel verb — proof queue left with 0 queued / 0 claimed.
(c) Parked-handoff discovery + collection: built a real handoff on the proof queue (enqueue 14455 → lane claim → checkpoint handed_off with progress lane opencode → park; not_before 20 min out). The claimant's own poll.py functions against live broker rows: is_handoff_parked(14455) = True, discovery returns it as a parked candidate. A plain claim correctly could not take it yet (exit 5); claim --handoff --platform openchamber as worker opencode-claimant — no id named — collected it immediately despite the unexpired park timer. Item cancelled after. Separately, a live read-only poll.py run over the production queues post-deploy found 160 parked handoff candidates across the four opencode queues (claimed/parked counts healthy) — discovery functions unchanged; the claimant's own 5-minute fires will collect them through the new no-ID path.
Rules 3 and 4 are the separate lane's scope; this PR does not touch them.
Rule 3 implemented — triage is now a separate step (Muse side); Rule 4 handoff rule landed with it
Drew ordered "implement now" 2026-11-09 20:25 CST and confirmed the batch numbers in Rule 3 were an example, not fixed counts.
Before
One flow did both jobs. Feeder jobs (pr-diff-review, pr-comment-review, stale-pr-warden) file findings as status/needs-triage issues and enqueue them into the four pilot queues as triage-kind packets; the same repo-queue worker shifts that do fix work claimed those packets in the same bundles as fix packets. Measured at implementation time: of the first 100 queued tasks in repo-health-code-pilot (claim order), 72 were fix, 17 pr, 10 triage, 1 other — roughly one claim in ten handed a fix lane triage work. There was no dedicated triage step.
After — three changes (commit dd9c90e0b in the home repo)
New job triage-step (Muse cron, hourly, owner goal:keep-the-four-repos-healthy, timeout 3600s). It batch-processes up to 25 untriaged tickets per run across all four repos (open issues carrying status/needs-triage; rotation cursor so no repo starves; hard-stop labels skipped). Per ticket it writes the full triage record the fix lanes read: labels (removes status/needs-triage; adds task/<kind>, priority/* per the priorities brief, effort/*, kind/*), a standard agent-note:v1 triage verdict on the issue, a ≤600-char entry in the repo backlog's NEXT section, and — when none exists — a validated fix-kind repo-task/v1 packet enqueued into that repo's pilot queue (dedupe repo-health:v1:fix:<repo>:issue:<n>) with a signal refresh. It never fixes, never opens PRs, never claims queue tasks. Rate-limited writes fall back to the action outbox per standing protocol.
Fix lanes refuse triage — repo-queue-worker-instruction.md gained §1c and lane-shift-instruction.md gained §1 step 3b: a claimed triage-kind packet whose issue still carries status/needs-triage is parked back (delay 1500s, reason "triage belongs to the triage step (Queue/lane design rules: no by-id blocking by default, optional platform selector, triage separate from fixes #8097 rule 3)") untouched; an already-triaged triage packet is completed as bookkeeping (outcome triaged); a fix-kind packet whose issue still carries status/needs-triage is likewise parked back — fix work now starts only on triaged items. Enforcement sits at the lane because repo-queue claim has no kind filter (verified in the CLI source: queue/worker/lease/lane only); a broker-side kind filter remains the durable upgrade.
Rule 4 in §1b of the code worker instruction: the OpenCode-claimant handoff (queue-assigned, Move opencode executions to laptop-side scheduled tasks — retire the Muse boot handoff #3026) is now valid only as a scheduled-task handoff with the reason stated in the handoff checkpoint (handoff_reason is now a required field of the handed_off progress JSON); direct-assigned work is worked in-shift, and seeking an exclusion/opencode assignment to route work away is prohibited. The multi-queue instruction's shifts have no claimant handoff — they already work everything directly.
Proof
Definitions read back: cron.view triage-step matches the committed repo copy; both instruction amendments are in commit dd9c90e0b.
Triage demo (manual run 13f2dff2, finished 2026-11-10T02:47:33Z): 25 tickets triaged (code 11 / opencode 8 / openchamber 4 / nix 2), 23 new fix packets validated + enqueued (task ids 14436+), 1 deduped onto existing fix task 10725 (code#6364), 1 routed onto an existing claimed task (opencode#1884 → pr-shepherd on task 14135). Untriaged totals verified by fresh gh reads before/after: 149 → 124 (code 128→117, opencode 10→2, openchamber 9→5, nix 2→0) — exactly the 25. Sample label read-backs: code#6420 now task/small-fix, priority/normal, effort/s with no status/needs-triage; code#6936 now task/small-fix, priority/high, effort/s. Backlog NEXT entries and the run record are in hidden_files (triage-step-state.json, triage-step.log, triage-2026-11-09/results.json). One caution from this run: an early label sample rendered through a backgrounded command disagreed with later fresh reads (it showed task/small-fix/status/in-progress where the issues actually carry task/triage/status/parked) — every number in this comment was re-verified with a second independent read before posting.
Watchers (fleet-minder, dropped-thread-catcher, builder's advocate), the orchestration pass, Drew's expedite set, and the priorities brief are untouched. Coverage is unchanged: same four repos; triage attention is now hourly and dedicated instead of embedded in 40-minute fix shifts.
OpenChamber side (not edited, per scope): the same triage/fix mixing exists there in mirror form — OpenChamber native tasks include triage-ish and fix-ish work, and two Muse-side openchamber pilot shifts exist but are currently disabled (their broker lane registrations were disabled 2026-11-08). Bringing OpenChamber's native task set under Rule 3 needs a separate pass through OpenChamber's own task definitions, which this change deliberately did not touch.
Broker lane registrations deleted — Drew's order 2026-11-10 19:44 CST
On Drew's direct order ("delete any muse lanes that target raw id or openchamber"), three registrations were deleted from the queue broker's lanes table (queue-broker on the laptop, fleet-queue Turso DB; lanes schema: lane_id TEXT PRIMARY KEY, worker_id TEXT NOT NULL, queue TEXT NOT NULL, enabled INTEGER NOT NULL DEFAULT 1).
Admin-path finding: there is no broker/CLI lane-unregister path. repo-queue lane <task_id> reads the per-task lane ledger (repo_task_lane_ledger), and in the broker source (turso_queue.rs) the lanes table is only ever SELECTed by lane id — registrations were seeded out-of-band. The deletion was therefore done as a direct SQL DELETE via the laptop's standard Turso path. No broker restart was needed or performed: the broker reads the table per claim, and a post-delete repo-queue health succeeded against it.
Deleted rows (full contents, kept for reversibility)
lane_id
worker_id
queue
enabled
openchamber-a
repo-worker-openchamber
repo-health-openchamber-pilot
0 (disabled)
openchamber-b
repo-worker-openchamber
repo-health-openchamber-pilot
0 (disabled)
8d133595-c60c-4dcb-8e82-59b7d0ac9b5a
repo-worker-nix
repo-health-nix-pilot
1 (enabled at deletion)
DELETE affected exactly 3 rows. Notes:
openchamber-a/openchamber-b had been disabled since 2026-11-08; deleting them changes no claiming behavior.
Correction to the standing record:8d133595… was enabled=1 in the live table, not disabled — it and nix-a were the only enabled nix lanes. This resolves Drew's pending 2026-11-08 decision on that lane in favor of deletion. Because it was enabled and shares worker_id=repo-worker-nix / queue repo-health-nix-pilot with nix-a/nix-b, the parent agent should double-check that nothing still launches work expecting to claim under this lane id; its OpenChamber-side sessions launch but can no longer claim under it.
8d133595… is the ONLY nix-worker UUID registration. It is plainly distinct from OpenChamber's own lanes: the surviving OpenChamber UUID registration 46984602-51a3-438c-b3a5-f2857811adb1 (worker repo-worker-openchamber) and the OpenCode UUID registration 3fe37e8a-c61b-419c-9e97-769ecd264d5d (worker repo-worker-opencode) were left untouched.
Roster BEFORE — 47 lanes (read back before the delete)
Enabled totals AFTER: 35 of 44. A targeted SELECT for the three deleted lane ids returns zero rows. The 12 UUID-shaped code-worker registrations, OpenChamber's own 46984602…, and OpenCode's 3fe37e8a… are all still present and untouched. No cron/scheduler changes, no service restarts.
not-code-g: the nix event-hook worker has its own lane (Drew's ruling, 2026-11-11)
Drew: "why are they sharing a row" — the nix event-hook worker (repo-queue-nix-worker) was claiming on not-code-a, the Muse not-code-a shift's registry row, so Drew's trim disabling that shift parked the nix worker too. They no longer share a row.
Registry (Turso fleet-queue lanes table): inserted not-code-g mirroring not-code-a's shape — worker repo-worker-nix, queue *, enabled=1. Read-back after insert: 36 rows; not-code-a still enabled=0 (Drew's trim exactly as ordered); not-code-g enabled=1.
Runbook:repo-queue-worker-instruction-nix.md now mandates --lane not-code-g (§1 claim form + lane-identity note). The hook definition/script carry no lane id (they point at the runbook); sweep found no other live surface pointing the nix worker at not-code-a or nix-a.
Seed consistency:PR #8561 (the not-code-g canonical seed pull request) MERGED aba44429 — canonical_lanes() now returns the 36-lane set with not-code-g (repo-worker-nix, enabled), following the #8548 pattern; cargo test -p fleet-queue --features queue-broker --lib on the laptop: 228 passed. Note: the running broker binary is still the pre-seed-fix build — this PR matters so the next broker build's seed agrees with the live registry; nothing was restarted.
Claim-path proof (wire): claimed the nix queue's one queued task with the worker's exact form (--queue repo-health-nix-pilot --worker repo-worker-nix --lane not-code-g): task 14874 claimed, row read-back showed lane_id=not-code-g, worker_id=repo-worker-nix — no unknown lane_id rejection. Released immediately with a recorded reason; row verified back to queued, worker NULL. No work was done on the task. (Disclosure: while probing the claim verb's usage, one bare argument-less claim briefly took task 14884 from the openchamber queue under the default identity; it was released in the same minute and verified back to queued with lane/worker NULL.)
Untouched, explicitly:not-code-a remains disabled per Drew's order; no Muse shift body was changed; no broker restart.
The hole: queue workers stamp tasks escalated-to-user / "awaiting Drew" in their dispositions, but the stamp was the whole act — no ask ever reached Drew. A disposition word is not a delivery. The pending-questions ledger is the only system of record for Drew asks, and most stamped gates had no entry in it.
Audit (fleet-queue tasks table read 2026-11-11 ~06:58Z; candidates = blocked/parked tasks in the escalated reason-class family or whose text claims a Drew gate; delivery counted ONLY from the pending-questions ledger and the dropped-thread-catcher state's escalations records — catcher validations are checks, not deliveries):
312 candidate tasks: 268 NEVER-DELIVERED · 14 delivered-pending · 28 delivered-answered (gate reached Drew and was answered; the stamps are stale and the fleet owes the unblocks) · 2 delivered-dropped.
Tonight's two, both never-delivered: task 11349 (#6959) blocked on Drew's dark-workflows ruling on #7089; task 9704 (#5537) blocked on the #7297 batch disposition via PR #6809.
Full audit (every task id, gate, and class): ~/workspace/goals/keep-the-four-repos-healthy/hidden_files/waiting-on-drew-audit-2026-11-11.md. One evidence caveat inside: task 7793's mcpx-domain confirmation half is borderline (matched the ledger only through a sibling Porkbun item).
Fixes landed:
Worker runbooks (repo-queue-worker-instruction.md + the nix / opencode / openchamber variants, and lane-shift-instruction.md): a worker that blocks a task on a Drew-gate must now write the gate into the pending-questions ledger in that file's item format and record the ledger item id in the block result. The label swap + escalated-to-user stamp alone is explicitly NOT an escalation.
Dropped-thread catcher (cron job dropped-thread-catcher, updated via cron tools, read-back verified): Step 5 now treats any escalated-to-user claim as UNVERIFIED until a matching ledger item or a delivered-escalation record in its own state exists; a Drew-gate with no ledger entry gets added to the ledger by the catcher and raised in its run report for main-chat delivery. Step 5(c) escalations are incomplete without the ledger entry.
The 28 tasks the waiting-on-Drew audit classified DELIVERED-ANSWERED (Drew already answered; the fleet owed the unblock) were each re-checked against the pending-questions ledger, the catcher escalation record, the issue, and fleet memory.
Result: 20 unblocked, 8 left blocked with reasons. Full per-item table (answer source, action, verified state) appended to the audit file: ~/workspace/goals/keep-the-four-repos-healthy/hidden_files/waiting-on-drew-audit-2026-11-11.md § "Unblock pass — 2026-11-11".
Unblocked (task → issue, answer): 2420→#1132 (haiku-plan leadership ratified 2026-11-06), 7322→#2296 (grant terms Q5, 2026-11-08), 8586→#2043 (all six rulings, 2026-11-08), 9462→#5149 ("no merge queue", executed), 9866→#5993 + 9982→#6187 + 10466→#6185 (dispatch-only coverage ruling), 10101→#5663 (option B), 10193→#5790 (versioning policy), 10418→#6052 (sequencing ruling: networking first), 10446→#6100 (commit scratch fully), 10478→#5477 (fleet runs the refresh itself), 11243→#6645 ("you do it"; installs done), 11441→opencode#1757 (Drew-owned premise rejected), 11932→#1300 (integrate into Atlas), 11935→#1338 (conductor at 20m), 11956→#1723 (yes to both), 11961→#1752 (Option A cutover; reboot proof skip), 12539→#6662 (option A, secrets broker), 12704→#2723 (both gate rulings landed). Every unblock was verified by task-row read-back; stale user/escalated/queue/blocked/status/blocked labels were removed in the same pass; task 9982 was claimed and completed by a lane during the pass itself.
Left blocked (8), each with the exact remainder recorded on its issue: 2602/#1518 (answer to its four questions not found anywhere), 7793/#1943 (Porkbun half answered; mcpx canonical-domain confirmation still open), 7869/#2292 (#2043 gate settled; cloud spend/credentials approval open), 8731/#2298 (#2066 hosted-boundary acceptance was not among the six #2043 rulings), 10313/#5911 (no answer tied to the issue despite the audit match; ChatGPT-export lead noted on the issue), 10431/#6068 (physical rewire, no answer/completion recorded), 10434/#6071 (DXO10 confirmed; physical install deferred by Drew, no date), 13573/#1086 (audit match was the lakehouse-seed item — a different gate).
One recurrence: task 2420's first claiming lane re-blocked it within a minute by replaying the packet's original 2026-10-29 blocker verbatim, without engaging the unblock reason or the issue evidence; it was re-unblocked with the evidence cited and claimed again. Stale packet text is what a fresh claimant reads first — worth carrying answers into packets for this class.
Waiting-on-Drew triage of the 268 never-delivered tasks — cut to genuine decisions only (2026-11-11)
Every one of the 268 tasks from the waiting-on-Drew audit was re-verified on live evidence: own-issue and gate PR/issue states via the GitHub API (518 objects), task states + later-completed-task supersession via the queue DB, and recorded context in MEMORY.md, the daily memory files, the linked issues, and the pending-questions ledger. Queue task states were not changed (read-only triage). Full cut tables appended to the audit file (keep-the-four-repos-healthy/hidden_files/waiting-on-drew-audit-2026-11-11.md).
cut
count
DEAD — own/gate issue closed, shepherded PR merged/closed, or all gate work landed
43
SETTLED BY RECORD — the record already answers the gate; returns to the fleet
76
#7297 CLUSTER — only gate is the batch disposition; collapses under ledger item branch-batch-7297
51
SURVIVORS — genuine open Drew decisions
61 tasks under 46 gates
STILL BLOCKED — physical/account actions, dependencies, fleet problems (not decisions)
37
total
268
The single biggest cut: 76 settled, most under Drew's 2026-11-07 20:29 ruling that "Drew-owned/held" means explicitly labeled only — dezren39 authorship alone never marks a PR held (the fleet operates through Drew's account token). Dozens of tasks were still parked on the revoked authorship premise. Two more were settled by rulings recorded directly on their issues on 2026-11-10: #2170 ("the topology is the agents' call") and #2641 ("No — he is not buying Antithesis").
Survivors: 45 new pending items were added to the pending-questions ledger (dedupe by issue link against all 99 existing items — no clashes), one per distinct gate, alongside the already-added dark-workflows-7089. Largest: cloudflare-scratch-poc-2285 (7 tasks), holder-discovery-2260 and deploy-mechanism-1393 (3 each). The rest are single named decisions — reserved design/policy calls, two money calls (Turso plan #5468, CommandCode refill opencode#1411), the DNS apply authorization (#4989), and one only-Drew-knows input (boats.dev, #1815).
The 37 still-blocked are not decisions at all: basement/rack physical work, Drew's own account actions (BotFather, sign-ins, OCI signup), tasks chained on those, and fleet problems mislabeled as Drew gates (e.g. task 6811's pm-dispatch OIDC bug, task 9897's pre-existing dead-code gate). No ledger entries for them.
PM-stack notifications: the real design (Drew's order, 2026-11-11)
Full design: pm-stack-notifications-design-2026-11-11.md in the keep-the-four-repos-healthy goal files. Recon was wire-only (laptop units, the running server's endpoints, the live subscription store, the code checkout).
The headline: the push system from #1254/#3676 EXISTS and works — throat (POST /api/alerts) → Supabase alerts store → 60s engine tick in the aggregator → Web Push to Drew's phone (one live subscription, Android Chrome, deliveries proven 2026-11-01 and 2026-11-09). Tonight's silence was four specific gaps, not a missing system:
Drew's 2026-11-01 subscription predates the notification classes; classEnabled() preserves old rows, so needs-drew / quota-wall / stack-health / blocked-age are all effectively OFF for his only subscription while the engine derives those candidates every minute.
Queue escalations never enter the stack — the aggregator's needs-drew is a GitHub label census; the 268 blocked tasks from tonight's audit live in the broker's Turso DB and the block path emits nothing.
Nobody posts stack-down: globalping-watch (public URLs) is the only source that has ever posted; the board's own 503s are the aggregator failing, and it cannot report itself. Zero incidents exist for 2026-11-11.
stack-health is a defined class with no producer.
Cloudflare decision: NO-GO on moving the board to Workers (every primary source is laptop-local/tailnet-only; an edge board is a cache of a dead source when it matters). GO on a small edge relay — one Worker + one Durable Object holding the subscription mirror, event mirror, answers, and a heartbeat alarm — because the notification path is the one piece that must survive the laptop being down, and the push engine currently lives inside the thing it must report on.
Activity
developing-today commentedon Nov 10, 2026
CODE-2401
dezren39 commentedon Nov 10, 2026
Drew confirmed 2026-11-09 20:25 CST: the batch numbers in Rule 3 were an example of the flow, not fixed counts. Implementation ordered now ('implement now'): rules 1+2 in the queue machinery, rule 3 in the Muse lane definitions. Evidence lands on this issue.
dezren39 commentedon Nov 10, 2026
Rule 4 added by Drew, 2026-11-09 20:26 CST: Muse lanes do the work themselves, not just hand off tasks. OpenChamber picks up tasks itself during normal operation. A Muse lane may hand off to OpenChamber/OpenCode only with a reason: its session is ending, its scheduled task needs to hand off for an indefinite time, or it needs another session for a specific reason. Handing off all the real work by default is the defect this rule names. Applies to the Rule 3 restructure directly (triage and fixes are Muse lanes' own work) and to claim defaults in the machinery.
style(queue): restore pre-existing formatting outside the #8097 hunks
Merge pull request #8100 from developing-today/feat/8097-platform-sel…
dezren39 commentedon Nov 10, 2026
Rules 1 + 2 implemented, deployed, and proven live (2026-11-09 evening)
PR #8100 — merged
02f4ece9c422ad7a5ac95c5f75806a233ae74935. Deployed like the #8066 deploy: both broker binaries rebuilt from the merged tree (~/.local/libexec/queue-coverage/fleet— the one the broker actually runs — and~/.local/bin/fleet; pre-change backups kept asfleet.bak-20261109-pre8097),queue-broker.servicerestarted (new pid, Turso backend, listening :4801 + UDS), claimantclaimant.py/prompt.mdupdated in the primary clone to merged main, and the claimant prompt reinstalled viapm-stack/opencode-claimant/install.mjs(read-back: installed prompt == newprompt.md, task stays enabled). No lane registration was touched — no lane verb was invoked at any point; Drew's 12 disabled registrations stand.opencode.servicewas not restarted.Rule 1 — what required IDs before, and what changed
Audit of the default flow: the broker's ordinary pick, lane claims (
--lanealways optional), queue-capture enqueue, and claimant discovery (/list) never required a task ID. The ONE default-path dependence was the opencode claimant's parked-handoff collection, which claimed each discovered handoff by id (claim --task <id>, #8066). Verbs that act on an already-owned task (bind/heartbeat/checkpoint/park/fail/complete) are addressed by id by nature — they are not work acquisition and are unchanged.pick="parked_handoff"(CLIrepo-queue claim --handoff). The broker picks the next parked recorded opencode handoff itself (SQL predicate mirroringis_parked_handoff: progress laneopencode, yield stage incl. the last-checkpoint lift, no session binding; the park verb's default timer does not gate it). The caller names no task id.claimant.pynow collects parked handoffs only this way (grouped per queue at the top oflaunch_step,_collect_parked_handoffs);claim --taskappears in no default flow.prompt.mdupdated to match.claim --task <id>remains as the explicit special-case verb for one-off revivals (e.g. task 11214) — and now also honors Rule 2's selector.Rule 2 — platform selector
tasks.platformcolumn: in the CREATE TABLE for fresh DBs + an additiveALTER TABLEin the broker'sensure_schemafor the live DB. Existing rows (380 queued in the pilot queue alone) read NULL = unset; no backfill, nothing destructive.repo-queue enqueue --platform <family>or the packet'splatformfield (request wins). Validated on both CLI and broker: exactlyopenchamberormuse; anything else errors. Never required; names a family, never a lane.openchamber.platform.repo-queueCLI, so the broker-side rule already binds them; a lane session that wants selector-restricted items must pass--platform openchamberon its claim — no OpenChamber native task code was edited, and unselectored work (everything queued today) is completely unaffected.Tests
cargo test -p fleet-queue --all-features(new: platform parse matrix,platform_allowsmatrix, by-id selector gate, CLI--platformvalidation).--taskanywhere in argv; collection drains broker picks until{"task": null}).Live proofs (fleet-queue-proof queue, after the deploy)
(a) Regular claim cycle, no IDs anywhere: plain
repo-queue claim(no--task, no--lane, no--platform) took the next suitable item — task 14446.(b) Selector end-to-end: enqueued 14446 (unset, priority 50), 14448 (
muse, prio 10), 14449 (openchamber, prio 10). Stored rows read backplatform = None / muse / openchamberrespectively. Amuseclaim took 14448 (skipping the equal-priority openchamber item); anopenchamberclaim took 14449; the plain claim took 14446. With only a secondmuseitem (14450) left: an undeclared claim got no claim (exit 5), anopenchamberclaim got no claim (exit 5), amuseclaim took 14450. All four items then retired via the normalcancelverb — proof queue left with 0 queued / 0 claimed.(c) Parked-handoff discovery + collection: built a real handoff on the proof queue (enqueue 14455 → lane claim → checkpoint
handed_offwith progress laneopencode→ park;not_before20 min out). The claimant's ownpoll.pyfunctions against live broker rows:is_handoff_parked(14455) = True, discovery returns it as a parked candidate. A plain claim correctly could not take it yet (exit 5);claim --handoff --platform openchamberas workeropencode-claimant— no id named — collected it immediately despite the unexpired park timer. Item cancelled after. Separately, a live read-onlypoll.pyrun over the production queues post-deploy found 160 parked handoff candidates across the four opencode queues (claimed/parked counts healthy) — discovery functions unchanged; the claimant's own 5-minute fires will collect them through the new no-ID path.Rules 3 and 4 are the separate lane's scope; this PR does not touch them.
dezren39 commentedon Nov 10, 2026
Rule 3 implemented — triage is now a separate step (Muse side); Rule 4 handoff rule landed with it
Drew ordered "implement now" 2026-11-09 20:25 CST and confirmed the batch numbers in Rule 3 were an example, not fixed counts.
Before
One flow did both jobs. Feeder jobs (pr-diff-review, pr-comment-review, stale-pr-warden) file findings as
status/needs-triageissues and enqueue them into the four pilot queues as triage-kind packets; the same repo-queue worker shifts that do fix work claimed those packets in the same bundles as fix packets. Measured at implementation time: of the first 100 queued tasks in repo-health-code-pilot (claim order), 72 werefix, 17pr, 10triage, 1 other — roughly one claim in ten handed a fix lane triage work. There was no dedicated triage step.After — three changes (commit
dd9c90e0bin the home repo)triage-step(Muse cron, hourly, owner goal:keep-the-four-repos-healthy, timeout 3600s). It batch-processes up to 25 untriaged tickets per run across all four repos (open issues carryingstatus/needs-triage; rotation cursor so no repo starves; hard-stop labels skipped). Per ticket it writes the full triage record the fix lanes read: labels (removesstatus/needs-triage; addstask/<kind>,priority/*per the priorities brief,effort/*,kind/*), a standardagent-note:v1triage verdict on the issue, a ≤600-char entry in the repo backlog's NEXT section, and — when none exists — a validated fix-kindrepo-task/v1packet enqueued into that repo's pilot queue (deduperepo-health:v1:fix:<repo>:issue:<n>) with a signal refresh. It never fixes, never opens PRs, never claims queue tasks. Rate-limited writes fall back to the action outbox per standing protocol.repo-queue-worker-instruction.mdgained §1c andlane-shift-instruction.mdgained §1 step 3b: a claimed triage-kind packet whose issue still carriesstatus/needs-triageis parked back (delay 1500s, reason "triage belongs to the triage step (Queue/lane design rules: no by-id blocking by default, optional platform selector, triage separate from fixes #8097 rule 3)") untouched; an already-triaged triage packet is completed as bookkeeping (outcometriaged); a fix-kind packet whose issue still carriesstatus/needs-triageis likewise parked back — fix work now starts only on triaged items. Enforcement sits at the lane becauserepo-queue claimhas no kind filter (verified in the CLI source: queue/worker/lease/lane only); a broker-side kind filter remains the durable upgrade.handoff_reasonis now a required field of thehanded_offprogress JSON); direct-assigned work is worked in-shift, and seeking an exclusion/opencode assignment to route work away is prohibited. The multi-queue instruction's shifts have no claimant handoff — they already work everything directly.Proof
cron.view triage-stepmatches the committed repo copy; both instruction amendments are in commitdd9c90e0b.ghreads before/after: 149 → 124 (code 128→117, opencode 10→2, openchamber 9→5, nix 2→0) — exactly the 25. Sample label read-backs: code#6420 nowtask/small-fix, priority/normal, effort/swith nostatus/needs-triage; code#6936 nowtask/small-fix, priority/high, effort/s. Backlog NEXT entries and the run record are in hidden_files (triage-step-state.json, triage-step.log, triage-2026-11-09/results.json). One caution from this run: an early label sample rendered through a backgrounded command disagreed with later fresh reads (it showedtask/small-fix/status/in-progresswhere the issues actually carrytask/triage/status/parked) — every number in this comment was re-verified with a second independent read before posting.fix, 17pr, 10triage, 1 other segment — the triage packets a fix lane could draw are now refused/parked back under the new selection rules. Sampled 8 queuedfix-segment packets' issues (code#5683, turso CLI: no rename and no libsql->TursoDB mode conversion — every fix is a full export/import data move #6827, fleet: a creation outbox for GitHub issues/PRs — paced, verified, backoff instead of silent loss #3706, repo-queue:claim(andlist/health) silently default to the shadow queue — the trapenqueuewas hardened against #7358, id: design: OneNote importer for the knowledge layer (from #5678) #6438, id(world): many_worlds p99 latency 5,650.792 ms vs 50 ms target — profile and reduce (#557 remainder) #7064, id: implement #3870 phase 2 — program transfer contract + source export/fence #3901, impl(aggregator): add replayable freshness SSE and JSON twin #3978): zero carrystatus/needs-triage— the fix queue's current stock is already-triaged work, and the untriaged population (124 issues after the demo) now reaches fix lanes only through the triage step. A full fix-shift run under the new rules was not executed in this pass (the fleet is quota-walled tonight); the lane-level proof is the definition read-back plus this selection read.Notes
dezren39 commentedon Nov 11, 2026
Broker lane registrations deleted — Drew's order 2026-11-10 19:44 CST
On Drew's direct order ("delete any muse lanes that target raw id or openchamber"), three registrations were deleted from the queue broker's
lanestable (queue-broker on the laptop, fleet-queue Turso DB;lanesschema:lane_id TEXT PRIMARY KEY, worker_id TEXT NOT NULL, queue TEXT NOT NULL, enabled INTEGER NOT NULL DEFAULT 1).Admin-path finding: there is no broker/CLI lane-unregister path.
repo-queue lane <task_id>reads the per-task lane ledger (repo_task_lane_ledger), and in the broker source (turso_queue.rs) thelanestable is only ever SELECTed by lane id — registrations were seeded out-of-band. The deletion was therefore done as a direct SQLDELETEvia the laptop's standard Turso path. No broker restart was needed or performed: the broker reads the table per claim, and a post-deleterepo-queue healthsucceeded against it.Deleted rows (full contents, kept for reversibility)
openchamber-aopenchamber-b8d133595-c60c-4dcb-8e82-59b7d0ac9b5aDELETE affected exactly 3 rows. Notes:
openchamber-a/openchamber-bhad been disabled since 2026-11-08; deleting them changes no claiming behavior.8d133595…was enabled=1 in the live table, not disabled — it andnix-awere the only enabled nix lanes. This resolves Drew's pending 2026-11-08 decision on that lane in favor of deletion. Because it was enabled and sharesworker_id=repo-worker-nix/ queuerepo-health-nix-pilotwithnix-a/nix-b, the parent agent should double-check that nothing still launches work expecting to claim under this lane id; its OpenChamber-side sessions launch but can no longer claim under it.8d133595…is the ONLY nix-worker UUID registration. It is plainly distinct from OpenChamber's own lanes: the surviving OpenChamber UUID registration46984602-51a3-438c-b3a5-f2857811adb1(worker repo-worker-openchamber) and the OpenCode UUID registration3fe37e8a-c61b-419c-9e97-769ecd264d5d(worker repo-worker-opencode) were left untouched.Roster BEFORE — 47 lanes (read back before the delete)
worker repo-worker-code, queue repo-health-code-pilot (38: 31 enabled / 7 disabled):
worker repo-worker-nix, queue repo-health-nix-pilot (3: 2 enabled / 1 disabled): nix-a (1), nix-b (0), 8d133595-c60c-4dcb-8e82-59b7d0ac9b5a (1)
worker repo-worker-openchamber, queue repo-health-openchamber-pilot (3: 1 enabled / 2 disabled): openchamber-a (0), openchamber-b (0), 46984602-51a3-438c-b3a5-f2857811adb1 (1)
worker repo-worker-opencode, queue repo-health-opencode-pilot (3: 2 enabled / 1 disabled): opencode-a (1), opencode-b (0), 3fe37e8a-c61b-419c-9e97-769ecd264d5d (1)
Enabled totals BEFORE: 36 of 47.
Roster AFTER — 44 lanes (fresh read-back after the delete)
worker repo-worker-code, queue repo-health-code-pilot (38, unchanged): code-a (0), code-b (1), code-c (0), code-d (1), code-e (1), code-f (1), code-g (1), code-h (1), code-i (0), code-j (1), code-k (1), code-l (1), code-m (1), code-n (1), code-o (1), code-p (1), code-q (0), code-r (0), code-s (0), code-t (1), code-u (1), code-v (1), code-w (1), code-x (1), code-y (1), code-z (0); UUIDs (all en=1): 02cafe76…, 1a180ae5…, 262eb403…, 335a5d1f…, 7b47536b…, 8ac61616…, 9aca43b4…, aea12c82…, bf419306…, c29174f1…, c8b9355e…, ec118cad… (full ids as in the BEFORE list)
worker repo-worker-nix (2): nix-a (1), nix-b (0)
worker repo-worker-openchamber (1): 46984602-51a3-438c-b3a5-f2857811adb1 (1)
worker repo-worker-opencode (3, unchanged): opencode-a (1), opencode-b (0), 3fe37e8a-c61b-419c-9e97-769ecd264d5d (1)
Enabled totals AFTER: 35 of 44. A targeted SELECT for the three deleted lane ids returns zero rows. The 12 UUID-shaped code-worker registrations, OpenChamber's own
46984602…, and OpenCode's3fe37e8a…are all still present and untouched. No cron/scheduler changes, no service restarts.24 remaining items
Merge pull request #8561 from developing-today/fleet/not-code-g-lane
dezren39 commentedon Nov 11, 2026
not-code-g: the nix event-hook worker has its own lane (Drew's ruling, 2026-11-11)
Drew: "why are they sharing a row" — the nix event-hook worker (
repo-queue-nix-worker) was claiming onnot-code-a, the Muse not-code-a shift's registry row, so Drew's trim disabling that shift parked the nix worker too. They no longer share a row.Registry (Turso fleet-queue lanes table): inserted
not-code-gmirroring not-code-a's shape — workerrepo-worker-nix, queue*, enabled=1. Read-back after insert: 36 rows;not-code-astill enabled=0 (Drew's trim exactly as ordered);not-code-genabled=1.Runbook:
repo-queue-worker-instruction-nix.mdnow mandates--lane not-code-g(§1 claim form + lane-identity note). The hook definition/script carry no lane id (they point at the runbook); sweep found no other live surface pointing the nix worker atnot-code-aornix-a.Seed consistency: PR #8561 (the not-code-g canonical seed pull request) MERGED
aba44429—canonical_lanes()now returns the 36-lane set withnot-code-g(repo-worker-nix, enabled), following the #8548 pattern;cargo test -p fleet-queue --features queue-broker --libon the laptop: 228 passed. Note: the running broker binary is still the pre-seed-fix build — this PR matters so the next broker build's seed agrees with the live registry; nothing was restarted.Claim-path proof (wire): claimed the nix queue's one queued task with the worker's exact form (
--queue repo-health-nix-pilot --worker repo-worker-nix --lane not-code-g): task 14874 claimed, row read-back showedlane_id=not-code-g, worker_id=repo-worker-nix— nounknown lane_idrejection. Released immediately with a recorded reason; row verified back toqueued, worker NULL. No work was done on the task. (Disclosure: while probing the claim verb's usage, one bare argument-less claim briefly took task 14884 from the openchamber queue under the default identity; it was released in the same minute and verified back toqueuedwith lane/worker NULL.)Untouched, explicitly:
not-code-aremains disabled per Drew's order; no Muse shift body was changed; no broker restart.dezren39 commentedon Nov 11, 2026
False-escalation hole: audit + fix (2026-11-11)
The hole: queue workers stamp tasks
escalated-to-user/ "awaiting Drew" in their dispositions, but the stamp was the whole act — no ask ever reached Drew. A disposition word is not a delivery. The pending-questions ledger is the only system of record for Drew asks, and most stamped gates had no entry in it.Audit (fleet-queue tasks table read 2026-11-11 ~06:58Z; candidates = blocked/parked tasks in the escalated reason-class family or whose text claims a Drew gate; delivery counted ONLY from the pending-questions ledger and the dropped-thread-catcher state's
escalationsrecords — catcher validations are checks, not deliveries):~/workspace/goals/keep-the-four-repos-healthy/hidden_files/waiting-on-drew-audit-2026-11-11.md. One evidence caveat inside: task 7793's mcpx-domain confirmation half is borderline (matched the ledger only through a sibling Porkbun item).Fixes landed:
repo-queue-worker-instruction.md+ the nix / opencode / openchamber variants, andlane-shift-instruction.md): a worker that blocks a task on a Drew-gate must now write the gate into the pending-questions ledger in that file's item format and record the ledger item id in the block result. The label swap +escalated-to-userstamp alone is explicitly NOT an escalation.dropped-thread-catcher, updated via cron tools, read-back verified): Step 5 now treats anyescalated-to-userclaim as UNVERIFIED until a matching ledger item or a delivered-escalation record in its own state exists; a Drew-gate with no ledger entry gets added to the ledger by the catcher and raised in its run report for main-chat delivery. Step 5(c) escalations are incomplete without the ledger entry.dark-workflows-7089(#7089 re-arm vs retire, blocks task 11349) andbranch-batch-7297(#7297 batch disposition, blocks task 9704 / id: implement Programs as websites in id serve (design #2146) #5537 via PR test(id): #2146 phase 3 — mixed listeners share world sessions; later bind failure leaves no partial startup (#5537) #6809).Still owed by the fleet, not Drew: unblocks/re-dispositions for the 28 delivered-answered tasks whose stamps never cleared.
dezren39 commentedon Nov 11, 2026
🤖 Agent note · DELIVERED-ANSWERED unblock pass complete (audit follow-up, 2026-11-11)
The 28 tasks the waiting-on-Drew audit classified DELIVERED-ANSWERED (Drew already answered; the fleet owed the unblock) were each re-checked against the pending-questions ledger, the catcher escalation record, the issue, and fleet memory.
Result: 20 unblocked, 8 left blocked with reasons. Full per-item table (answer source, action, verified state) appended to the audit file:
~/workspace/goals/keep-the-four-repos-healthy/hidden_files/waiting-on-drew-audit-2026-11-11.md§ "Unblock pass — 2026-11-11".Unblocked (task → issue, answer): 2420→#1132 (haiku-plan leadership ratified 2026-11-06), 7322→#2296 (grant terms Q5, 2026-11-08), 8586→#2043 (all six rulings, 2026-11-08), 9462→#5149 ("no merge queue", executed), 9866→#5993 + 9982→#6187 + 10466→#6185 (dispatch-only coverage ruling), 10101→#5663 (option B), 10193→#5790 (versioning policy), 10418→#6052 (sequencing ruling: networking first), 10446→#6100 (commit scratch fully), 10478→#5477 (fleet runs the refresh itself), 11243→#6645 ("you do it"; installs done), 11441→opencode#1757 (Drew-owned premise rejected), 11932→#1300 (integrate into Atlas), 11935→#1338 (conductor at 20m), 11956→#1723 (yes to both), 11961→#1752 (Option A cutover; reboot proof skip), 12539→#6662 (option A, secrets broker), 12704→#2723 (both gate rulings landed). Every unblock was verified by task-row read-back; stale
user/escalated/queue/blocked/status/blockedlabels were removed in the same pass; task 9982 was claimed and completed by a lane during the pass itself.Left blocked (8), each with the exact remainder recorded on its issue: 2602/#1518 (answer to its four questions not found anywhere), 7793/#1943 (Porkbun half answered; mcpx canonical-domain confirmation still open), 7869/#2292 (#2043 gate settled; cloud spend/credentials approval open), 8731/#2298 (#2066 hosted-boundary acceptance was not among the six #2043 rulings), 10313/#5911 (no answer tied to the issue despite the audit match; ChatGPT-export lead noted on the issue), 10431/#6068 (physical rewire, no answer/completion recorded), 10434/#6071 (DXO10 confirmed; physical install deferred by Drew, no date), 13573/#1086 (audit match was the lakehouse-seed item — a different gate).
One recurrence: task 2420's first claiming lane re-blocked it within a minute by replaying the packet's original 2026-10-29 blocker verbatim, without engaging the unblock reason or the issue evidence; it was re-unblocked with the evidence cited and claimed again. Stale packet text is what a fresh claimant reads first — worth carrying answers into packets for this class.
dezren39 commentedon Nov 11, 2026
Waiting-on-Drew triage of the 268 never-delivered tasks — cut to genuine decisions only (2026-11-11)
Every one of the 268 tasks from the waiting-on-Drew audit was re-verified on live evidence: own-issue and gate PR/issue states via the GitHub API (518 objects), task states + later-completed-task supersession via the queue DB, and recorded context in MEMORY.md, the daily memory files, the linked issues, and the pending-questions ledger. Queue task states were not changed (read-only triage). Full cut tables appended to the audit file (
keep-the-four-repos-healthy/hidden_files/waiting-on-drew-audit-2026-11-11.md).branch-batch-7297The single biggest cut: 76 settled, most under Drew's 2026-11-07 20:29 ruling that "Drew-owned/held" means explicitly labeled only — dezren39 authorship alone never marks a PR held (the fleet operates through Drew's account token). Dozens of tasks were still parked on the revoked authorship premise. Two more were settled by rulings recorded directly on their issues on 2026-11-10: #2170 ("the topology is the agents' call") and #2641 ("No — he is not buying Antithesis").
43 dead on live state — e.g. 18 own issues now closed; PRs #1473/#1694/#1732/#4632/#6544/#7022/#7050/#7051/#7019/#7067/#3992/#5556/#7195 merged since the tasks were parked; the #5047 and #2576 phase sets fully closed/merged.
Survivors: 45 new pending items were added to the pending-questions ledger (dedupe by issue link against all 99 existing items — no clashes), one per distinct gate, alongside the already-added
dark-workflows-7089. Largest:cloudflare-scratch-poc-2285(7 tasks),holder-discovery-2260anddeploy-mechanism-1393(3 each). The rest are single named decisions — reserved design/policy calls, two money calls (Turso plan #5468, CommandCode refill opencode#1411), the DNS apply authorization (#4989), and one only-Drew-knows input (boats.dev, #1815).The 37 still-blocked are not decisions at all: basement/rack physical work, Drew's own account actions (BotFather, sign-ins, OCI signup), tasks chained on those, and fleet problems mislabeled as Drew gates (e.g. task 6811's pm-dispatch OIDC bug, task 9897's pre-existing dead-code gate). No ledger entries for them.
dezren39 commentedon Nov 11, 2026
PM-stack notifications: the real design (Drew's order, 2026-11-11)
Full design:
pm-stack-notifications-design-2026-11-11.mdin the keep-the-four-repos-healthy goal files. Recon was wire-only (laptop units, the running server's endpoints, the live subscription store, the code checkout).The headline: the push system from #1254/#3676 EXISTS and works — throat (
POST /api/alerts) → Supabase alerts store → 60s engine tick in the aggregator → Web Push to Drew's phone (one live subscription, Android Chrome, deliveries proven 2026-11-01 and 2026-11-09). Tonight's silence was four specific gaps, not a missing system:classEnabled()preserves old rows, so needs-drew / quota-wall / stack-health / blocked-age are all effectively OFF for his only subscription while the engine derives those candidates every minute.stack-healthis a defined class with no producer.Cloudflare decision: NO-GO on moving the board to Workers (every primary source is laptop-local/tailnet-only; an edge board is a cache of a dead source when it matters). GO on a small edge relay — one Worker + one Durable Object holding the subscription mirror, event mirror, answers, and a heartbeat alarm — because the notification path is the one piece that must survive the laptop being down, and the push engine currently lives inside the thing it must report on.
Phases, filed: