Repository navigation
Description
Pattern
Triage packets enqueued with a payload.dedupe_override (and revives of such packets) are claimed by worker repo-worker-code and reach terminal done almost immediately, with zero history events, no result, and no deliverables. Terminal done for these tasks did not mean the work was done.
Evidence (2026-11-24, verified by read-back)
Packet: "File the follow-ons of the #5834 design record: 4 implementation slices + physical-erasure design", queue repo-health-code-pilot, dedupe key:
repo-health:v1:triage:developing-today/code:issue:5834:dispatch:9f5834a1b2c3d4e5
- Task 22913 (lane
code-h): created 2026-11-24T09:45:54Z, claimed 09:46:07Z, completed 09:46:08Z — one second after the claim. History: 0 events. Result: none. - Task 22927 (lane
oc-code-02, a revive of 22913 viaenqueue_repo_task_turso): created 2026-11-24T09:47:34Z, claimed 09:47:57Z, then terminaldonewith 0 history events and no result.
Verified no-output on GitHub (ITEM-WORK-4-FINISH lane, 2026-11-24): none of the five follow-on issues the packet required had been filed, and parent #5677 had received no comment. The packet's work was eventually done by filing directly on GitHub; the five filings are listed in a comment on #5677 and in the closing note on #5834. The honest correction is recorded on #5834 (comment 7127943467); the item verdict is comment 7127841371.
Related sharp edge
The original enqueue refusals that led to the override: payload.dedupe_override must be a non-empty string reason; a boolean true parses as no override (broker source: pkgs/fleet/crates/fleet-queue/src/turso_queue/work_identity.rs; its tests assert this). The override path is therefore easy to reach for — and packets that take it are exactly the ones false-completing.
Why it matters
Any coverage, audit, or completion counting that trusts terminal task states is exposed: the #5834 follow-on filing was counted as handled twice while nothing existed on GitHub. If this pattern is not specific to this packet, other "done" triage/filing work may be silently missing too.
Asks
- Find why a claim on a dedupe-override/revived triage packet completes instantly with no history written (claim path? completion path? a worker-side shortcut?).
- Add a guard so a task cannot reach terminal
donewith zero history events and no result — or at minimum surface such completions as suspect. - Audit other terminal-
donetasks claimed byrepo-worker-codewith zero history events for missing deliverables.
{
"direct_parent": null,
"links": [],
"lineage": {
"design": null,
"roadmap_item": null,
"priority": null
},
"pm_meta": 1,
"provenance": {
"queue_id": null,
"scheduled_start": null,
"picked_up_at": null,
"work_started_at": null,
"created_at": "2026-11-24T09:52:33Z",
"session_id": null,
"lane": null,
"host": "amd",
"worktree": null,
"model": null,
"lane_start_issues": [],
"workspace_ref": null,
"auth_subject": "oc-code-05",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Activity
developing-today commentedon Nov 24, 2026
CODE-5265
developing-today-fleet commentedon Nov 24, 2026
Third instance — and the first on a
feature_slicepacket (2026-11-24)Task 22966 (queue
repo-health-code-pilot, kindfeature_slice, priority 40, dedupe keyrepo-health:v1:slice:developing-today/code:issue:12428:slice-1— the #12428 NixOS build-proof handoff) was created 2026-11-24T09:58:26Z and is already in terminal statusdone, workerrepo-worker-code, laneoc-code-03, with zero history events, no timeline records, and empty progress.Deliverables verified absent: the packet asked for a PR from branch
nixos/openchamber-lock-bumpon developing-today/code — no such PR exists, and the branch was never pushed to the remote. Nothing in the packet was performed.Differences from instances 1–2 (tasks 22913 / 22927): those were triage packets; this one is a
feature_slicewith a full payload, so the pattern is not triage-specific. The handoff was not re-enqueued (the 22913 → 22927 precedent); the full packet text is preserved in task 22966's record and the remaining steps are restated on #12428 so the work can be picked up directly from the issue.developing-today-fleet commentedon Nov 24, 2026
Fourth instance — task 22984 (NixOS handoff packet, slice-2).
The authorised single retry of the #12428 handoff packet was re-enqueued to
repo-health-code-piloton 2026-11-24 (kindfeature_slice, priority 40, dedupe keyrepo-health:v1:slice:developing-today/code:issue:12428:slice-2; packet content identical to task 22966's apart from the slice number, which the enqueue validator requires to match the key). Timeline from the broker record:oc-code-01, laneany-occodepggcgoogllnimgleobaeencaoehkjpnndoneat 2026-11-24T10:03:38Z, withhistory: [](zero history events),progress: {}, and no result recorded.Deliverables verified absent: zero PRs exist from branch
nixos/openchamber-lock-bump, and #12428's newest comment is still the 2026-11-24T10:00:10Z handoff note — no claim comment, no PR record, nothing posted after the claim.The pattern now covers two independent
feature_slicepackets (22966 and 22984, the #12428 handoff) in addition to the #5834 triage packet (22913, 22927): four tasks, four instant completions, zero work product. Per the stop rule, no further re-enqueue of this packet will be attempted until this defect is fixed; the #12428 remainder stays unworked by the queue route in the meantime.Merge pull request #14292 from developing-today/queue/14268-staleness…
developing-today-fleet commentedon Nov 24, 2026
Mechanism found, fix landed — record (DEFECT-14268 lane, 2026-11-24)
The completing path was the claim-time staleness check (#10626) itself, working exactly as coded. Verified directly in the fleet-queue DB (not through the client): all four tasks carry result
{"outcome":"already_done","staleness":{tier 1, …}}and astaleness_autocompleteevent (via: claim_staleness_check). One mechanism, four instances, two false-positive shapes:state: closed (completed),landed_at 2026-11-24T09:45:16Z— 38 s before 22913 was created. The closing lane then filed the packet (kindtriage, with adedupe_overridestring reason) whose work was to CREATE five new issues. The check cannot distinguish "triage this closed issue" from "dispatch work arising from it."closed (completed),landed_at 2026-11-22T09:53:35Z. The probe was right: mcpx e2e: TestFileScriptPrefixRunsBeforeTopLevelCode fails on main — amd system build blocked #12428 is closed (by dezren39, 2026-11-22) and was never reopened — the NixOS programme kept working under a closed tracking issue, and itsfeature_slicehandoff packets inherited the closure as a false completion.Why every verification read "zero history, no result": the broker wrote both — but
fleet queue show/history/timelineassemble history from a fixed event-kind list that omittedstaleness_autocomplete, the one event a retirement writes, andshownever surfaces the result column. The paper trail existed; no client surface could see it. (Same blind-spot shape as #6985.)Control sample (ITEM-WORK-25's task 23001,
small_fixfor dezren39/darwin-nix#2028, queuerepo-health-nix-pilot): survived because its linked issue is OPEN — the verdict's probe returnsOpenand nothing fires, on any queue. The queue was incidental; the landed link is the trigger.Fix — PR #14292, merged
099ae6ceeb7c7b7f06902829855dc072b2c9ce72In
staleness_verdict(shared by the claim-time and filing-time checks), two exemptions, each fail-open:dedupe_overridereason is never auto-retired — the override is the filer's recorded assertion that the packet is not the issue's canonical task. (Booleantruestill parses as no override, matchingwork_identity.)feature_slice(CompletionClass::Slice) is never retired on an issue link alone — a slice delivers an artifact; its parent issue's state is not its completion. The slice's own linked PR landing still retires it.Plus visibility:
cmd_showandcmd_timelinenow querystaleness_autocomplete, guarded by a source-assertion test beside the #6985 precedent.Legitimate #10626 behaviour is unchanged — plain triage / second-pass / fix packets for verifiably closed issues or merged PRs still retire at claim with result + event. Oracle:
staleness_verdictunit tests with a stubbed landing lookup (eaten shapes claim; boolean-override and merged-PR-slice shapes still retire; pre-existing #10626/#12966 tests untouched). Full suite on the laptop:cargo test -p fleet-queue --features client,queue-broker— 641 passed, 0 failed.Audit (ask 3) — census + a bounded remainder
DB census of all staleness retirements: 2,870 (small_fix 1,748 · triage 922 · pr_shepherd 164 · second_pass 12 · feature_slice 12 · ci_investigation 12) — the mechanism is overwhelmingly legitimate. Retirements matching the two eaten shapes (override present, or kind
feature_slice): 16 — the four known, plus 21400, 21436, 21448, 21486, 21511, 21525, 21542, 21576, 21640, 21641, 21667, 22746. Those 12 are candidate false positives of the same classes; each needs its deliverables checked before it is counted as handled. That per-task check is the remaining audit step (not done by this lane).Deployment — read before re-enqueueing the NixOS packet
The merged fix is not live yet: broker and client ship in the fleet-static binary, so the gates take effect at the next fleet-static bootstrap pin + broker generation bump (the gen-9 pattern). Until that lands, the #12428 handoff packet will be eaten again if re-enqueued in slice form — after deployment, the slice route is safe from this failure mode. Two cautions that survive the fix: any triage-kind packet against #12428 still retires (its issue is closed — that is now correct-by-design, and #12428 being closed at all is a separate fact for the NixOS programme to settle), and slice/override packets filed against other closed parents before the deployment are still exposed.
developing-today-fleet commentedon Nov 24, 2026
Candidate audit — the 12 remaining eaten-shape tasks (audit lane, 2026-11-24)
Method: each task read via the queue client; each packet's deliverable verified by direct GitHub reads (issue state/timeline, PR merge state, file contents on main) — never by the task's terminal state. The deployed client hides
staleness_autocompleteevents and the result column, so mechanism attribution rests on the DB census in the fix record above plus each task's claim pattern; classifications below rest on the deliverable evidence cited per task.Summary: 9 legitimate · 3 false completions · 0 unclear. No lost work remains unrouted.
Legitimate — deliverable verified on GitHub
dedupe_override, id(worlds): ship playable Mind Map guest for mind-map/same-label-distinct-nodes #13609): this task's session scoped the work and parked on precedent PR feat(id): add a playable, manually stepped Cells guest #13587; the Mind Map guest itself shipped via PR #13791, merged 2026-11-24T00:15:19Z, closing id(worlds): ship playable Mind Map guest for mind-map/same-label-distinct-nodes #13609 completed 00:15:22Z. Retired on its 01:36:55Z claim. Deliverable on main; nothing lost.doc/2026-11-23_decision_id5679_markup_styling_synthesis.md), closing id: design: Markup & styling model for programs-as-websites — semantic markup, style-override mapping #5679. Retired on re-claim after lease expiry; deliverable already on main.d3ccc82, which is the merged head. PR #14023 merged 2026-11-24T07:38:26Z, closing fleet orgs: Turso-backed org/App registry + list subcommand #8884 07:38:28Z. Retired on a later claim (10:19:20Z), after the work had landed.completedevent (2026-11-24T05:04:11Z) — not the staleness path (cf. the empty histories of the eaten tasks) — and progress records the premise refutation with evidence: the design: review loop — diff review can reject 'done' and commission a fresh second-pass session #2025 design exists (goal-workspace record; in-repo evidence:review_loop_checks.py+ tests on main,second_passin validate.rs), children review loop: add second_pass packet kind + review payload block to repo-task/v1 (design #2025 §5) #2310/review loop: coin review/* label family + draft lifecycle-protocol verdict amendment (design #2025 §§3, 7.1) #2311/review loop: second-pass session brief template from a verdict note (design #2025 §5.4) #2314 closed. The remaining children review loop: fleet-monitor checks for verdict/packet reconciliation (design #2025 §7.3) #2312/review loop PoC (Stage A): pr-diff-review records shadow verdicts, report distribution (design #2025 §8) #2313 have since closed, and design: review loop — diff review can reject 'done' and commission a fresh second-pass session #2025 itself closed completed 2026-11-24T10:19:59Z. Caveat: the result column is not readable via the deployed client; classification rests on the completed event + progress record + issue state.doc/living/iroh/+ dated record) merged 2026-11-24T02:39:57Z at head2eaf343280(the recorded rebase); Docs migration: move investigation/research markdown from hatch repos into code doc/ #13877 closed 02:50:35Z. Retired on re-claim after lease expiry (07:14:12Z → 07:14:13Z); deliverable already on main.False completions — packet work never ran
b1340843110b,mergeable: false, with no evidence comment. Deliverable recovered by a direct route: the rebase was executed in the laptop worktree with no queue packet (record on Docs migration: move investigation/research markdown from hatch repos into code doc/ #13877, 03:46:24Z; headb1340843110b→557a8b2c9c) and PR #14011 merged 03:46:51Z. No replacement needed.b1340843110b,mergeable: false. Recovered by the same direct rebase + merge as 21640. No replacement needed.dedupe_override— finalize the id: design: server-side filtered remote query execution (from #5675) #5818 record): created 2026-11-24T08:22:31Z as task 21852's follow-on; id: design: server-side filtered remote query execution (from #5675) #5818 closed on 21852's verdict at 08:23:34Z; claimed 08:40:50Z and retired; history empty. Verified before this audit: the record on main still described id: design: sensitivity classification model (from #5675) #5817 as OPEN and carried the unreconciled "PROVISIONAL assumptions" section (last doc commit 2026-11-14) — the work had not landed. Routed directly by this audit (small, precisely specified edit; a replacement packet linked to the closed id: design: server-side filtered remote query execution (from #5675) #5818 could be eaten again pre-deploy): PR #14301 merged 2026-11-24T10:32:28Z (merge027ba99d37) — the dependency block and assumptions section ofdoc/2026-11-10_decision_id5818_remote_filtered_query.mdare now reconciled against id: design: sensitivity classification model (from #5675) #5817's landed S0–S3 model (PR docs(id): sensitivity classification model decision record (#5817) #8449), citing the task-21852 verdict; verified on main. No decision in the record changed.Pattern note
Two distinct sub-shapes appear in the legitimate set: (i) retirement on a re-claim after the claiming session had already done the work and closed the issue itself (21436, 21486, 21511, 21576) — the staleness fire was post-hoc and harmless; and (ii) retirement of a packet whose work a parallel session landed (21400, 21448, 21525). The harmful shape is only the third: a packet retired when nobody had done its work (21640, 21641, 22746) — and in all three of those cases the linked issue was already closed before the packet was first claimed (for 21640/21641, before the packet was even created).