GeezerVison is showing github.com — queue: triage packets false-complete under repo-worker-code (zero history events, no deliverables) · Issue #14268 · developing-today/code
queue: triage packets false-complete under repo-worker-code (zero history events, no deliverables) #14268DescriptionPattern
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 via enqueue_repo_task_turso): created 2026-11-24T09:47:34Z, claimed 09:47:57Z, then terminal done with 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
done with zero history events and no result — or at minimum surface such completions as suspect.
- Audit other terminal-
done tasks claimed by repo-worker-code with 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)"
}
}
Acceptance criteria
- A triage packet can no longer be marked complete with zero history events and no deliverable: completion requires at least one history/checkpoint event or is rejected with a named reason
- The repo-worker-code false-complete path named in the issue is reproduced before the fix and blocked after it
- Existing legitimate completions still succeed (regression coverage in the queue test suite)
Activitydeveloping-today commented on Nov 24, 2026 developing-today-fleet commented on Nov 24, 2026 Third instance — and the first on a feature_slice packet (2026-11-24)
Task 22966 (queue repo-health-code-pilot, kind feature_slice, priority 40, dedupe key repo-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 status done, worker repo-worker-code, lane oc-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-bump on 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_slice with 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 commented on 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-pilot on 2026-11-24 (kind feature_slice, priority 40, dedupe key repo-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:
- Created: 2026-11-24T10:03:32Z
- Claimed: 2026-11-24T10:03:36Z — worker
oc-code-01, lane any-occodepggcgoogllnimgleobaeencaoehkjpnn
- Read back terminal
done at 2026-11-24T10:03:38Z, with history: [] (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_slice packets (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. developing-today-fleet commented on 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 a staleness_autocomplete event (via: claim_staleness_check). One mechanism, four instances, two false-positive shapes:
Why every verification read "zero history, no result": the broker wrote both — but fleet queue show / history / timeline assemble history from a fixed event-kind list that omitted staleness_autocomplete, the one event a retirement writes, and show never 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_fix for dezren39/darwin-nix#2028, queue repo-health-nix-pilot): survived because its linked issue is OPEN — the verdict's probe returns Open and nothing fires, on any queue. The queue was incidental; the landed link is the trigger.
Fix — PR #14292, merged 099ae6ceeb7c7b7f06902829855dc072b2c9ce72
In staleness_verdict (shared by the claim-time and filing-time checks), two exemptions, each fail-open:
- A packet carrying a non-empty
dedupe_override reason is never auto-retired — the override is the filer's recorded assertion that the packet is not the issue's canonical task. (Boolean true still parses as no override, matching work_identity.)
- A
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_show and cmd_timeline now query staleness_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_verdict unit 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 commented on 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_autocomplete events 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
- 21400 (feature_slice, mcpx: match semantic feedback to exact tool identities across call and proxy paths #13573): PR #13624 "fix(mcpx): match semantic feedback to exact tool identities" — exactly this packet's implementation — merged 2026-11-23T18:34:33Z, closing mcpx: match semantic feedback to exact tool identities across call and proxy paths #13573 completed 18:39:34Z. The task (created 18:11:52Z) was first claimed 2026-11-24T06:56:25Z, after the work had landed. Nothing lost.
- 21436 (feature_slice/design, design(id): relay duplicate + loop handling — inform, short-circuit, dedup, loop-inform #9145): the claiming session (lane felix) ran the packet's done-check, verified the design of record on main (Part B versioned design, statements S1.64–S1.72; slices Request identity, duplicate-vs-loop classification, finite dedup state and expiry #10184/Short-circuit and deduplicate in-flight/answered requests into coherent results #10210 closed, Inform requester/parties about duplicates and specifically signal detected loops #10230 via PR id-sync: B22 duplicate notices and signed loop reports #11958), posted the verification record (#9145 comment 7112483185) and closed design(id): relay duplicate + loop handling — inform, short-circuit, dedup, loop-inform #9145 on that evidence 2026-11-23T20:03:38Z. The queue terminal state came later (lease expiry 23:33:42Z + re-claim), after the work was done.
- 21448 (small_fix, string
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.
- 21486 (feature_slice/design, id: design: Markup & styling model for programs-as-websites — semantic markup, style-override mapping #5679): the claiming session (lane felix) wrote the parent synthesis and opened PR #13708; merged 2026-11-23T20:57:43Z (
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.
- 21511 (feature_slice, fleet orgs: Turso-backed org/App registry + list subcommand #8884): the task's own session built the deliverable — its progress records PR fleet: orgs registry, App-JWT sync and fleet orgs list (#8884) #14023 at head
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.
- 21525 (feature_slice, feat(id/serve-proxy): wire CreditWindow into mux DATA-accept and credit-return paths #13694): the packet's implementation landed via PR #13859 "feat(id): serve-proxy mux credit accounting for DATA accept and WINDOW_UPDATE (feat(id/serve-proxy): wire CreditWindow into mux DATA-accept and credit-return paths #13694)", merged 2026-11-24T00:13:36Z, closing feat(id/serve-proxy): wire CreditWindow into mux DATA-accept and credit-return paths #13694 00:13:39Z (a parallel session did the work). Retired on its 01:31:33Z claim. Deliverable on main; nothing lost.
- 21542 (feature_slice/design, design: review loop — diff review can reject 'done' and commission a fresh second-pass session #2025): history carries an explicit worker
completed event (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_pass in 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.
- 21576 (feature_slice, docs-mig slice 7, Docs migration: move investigation/research markdown from hatch repos into code doc/ #13877): deliverable PR #14013 (iroh-investigation →
doc/living/iroh/ + dated record) merged 2026-11-24T02:39:57Z at head 2eaf343280 (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.
- 21667 (feature_slice/design, review loop PoC (Stage A): pr-diff-review records shadow verdicts, report distribution (design #2025 §8) #2313): premise refuted, recorded by the claiming worker's park checkpoint (2026-11-24T05:51:34Z): the 9-point standard is not in the repo and review loop PoC (Stage A): pr-diff-review records shadow verdicts, report distribution (design #2025 §8) #2313 is governed by design design: review loop — diff review can reject 'done' and commission a fresh second-pass session #2025 §8 — no design doc was missing. review loop PoC (Stage A): pr-diff-review records shadow verdicts, report distribution (design #2025 §8) #2313's actual remainder, the Stage B application, landed (both merged job bodies installed as live cron jobs; closing record on #2313, 2026-11-24T06:04:05Z) and review loop PoC (Stage A): pr-diff-review records shadow verdicts, report distribution (design #2025 §8) #2313 closed completed 06:04:29Z. Retired on re-claim at 06:52:11Z. No lost work.
False completions — packet work never ran
- 21640 (feature_slice, docs-mig slice 16 — rebase PR docs: preserve mcpx door build record #14011): created 2026-11-24T02:59:27Z, after Docs migration: move investigation/research markdown from hatch repos into code doc/ #13877 had already closed (02:50:35Z); claimed 02:59:57Z and retired; history empty. The rebase verifiably did not happen through this task — the orchestrator's record on Docs migration: move investigation/research markdown from hatch repos into code doc/ #13877 (03:08:12Z) states PR docs: preserve mcpx door build record #14011 still sat at its original head
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; head b1340843110b → 557a8b2c9c) and PR #14011 merged 03:46:51Z. No replacement needed.
- 21641 (feature_slice, docs-mig slice 17 — same rebase, final retry): created 03:07:57Z, claimed 03:07:59Z (2 s), retired; history empty. The orchestrator's record (03:19:09Z) confirms PR docs: preserve mcpx door build record #14011 was still at
b1340843110b, mergeable: false. Recovered by the same direct rebase + merge as 21640. No replacement needed.
- 22746 (small_fix, string
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 (merge 027ba99d37) — the dependency block and assumptions section of doc/2026-11-10_decision_id5818_remote_filtered_query.md are 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). added kind/bugSomething isn't working (prefixed form of the classic bug label) effort/mMedium: expected under 1 day of work app/fleetpkgs/fleet multicall binary + platform crates meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added on Nov 25, 2026developing-today-fleet commented on Nov 25, 2026 Intake review
🤖 Agent note · filed
- Agent: fleet monitor
- Session / ID: repo-fleet-monitor run 2026-11-24 22:14 CST
- Found via: monitor reconciliation — intake enrichment (protocol §5)
- Task: Intake pass on this issue: verified still live (open, no merged PR found in this pass that explicitly resolves it), appended acceptance criteria, normalized labels
- Expectation: A worker can pick this up from the acceptance criteria above without further triage
- Links: n/a
Notes: Reports triage packets false-completing under repo-worker-code with zero history events — the queue's own truthfulness bug, hence priority/high.
Risks: Tightening completion validation could strand lanes that complete through a legitimate low-event path; check lane completion flows before enforcing.
Suggested approach: Reproduce a zero-history completion, add the completion guard in the queue broker/worker, and backfill an audit of recent zero-history completions.
Related: No related issues or PRs surfaced in this bounded intake pass beyond those already linked in the body.
dezren39 commented on Nov 26, 2026 xaltha lane picking this up (2026-11-26 ~00:30 CST). Slice: ask 2 — add a guard in the fleet-queue completion path so a task cannot reach terminal done with zero history events and no result (such completions get refused/surfaced as suspect), with tests. Ask 1 investigation folded in as far as the completion path reveals it. dezren39 commented on Nov 26, 2026 Progress (xaltha lane, 2026-11-26 ~01:40 CST): ask 2's guard slice is up as PR #15415 (branch xaltha/14268-suspect-completion-guard, commit 0cf3a97).
What it does: verb_complete now surfaces the false-completion signature — terminal done with no result and no recorded activity beyond the claim ceremony (claimed/session_bound/lane_session_bound/model_stamp excluded from the activity count). A suspect completion is stamped on the stored result, flagged on the completed event, and written as a dedicated suspect_completion event; cmd_show/cmd_timeline query the new kind so it is visible in history reads. Surfacing only, never refusal (per the intake risk note on stranding legitimate low-event paths), and the count read fails open.
Verification: remote dispatch via fleet-command.yml fallback, run 45769427224 (cargo test -p fleet-queue --features client,queue-broker, filters 14268 + completion_gate) — still in progress at this note; conclusion will be recorded here when it lands. Asks 1 and 3 stand as completed by the DEFECT-14268 fix record (PR #14292) and the candidate audit above; the remaining deployment caveat in that record (fleet-static pin + broker generation bump) is unchanged by this PR. dezren39 commented on Nov 26, 2026 Verification update (xaltha lane, 2026-11-26 ~02:12 CST): run 45769427224 was cancelled at ~60 min in the Execute step (no signal on the code). Re-dispatch run 45776759750 concluded failure, with the failure in the Execute target command step (job/step metadata only). The cause — compile error, test failure, or runner environment — is visible only in the run's logs, which this lane does not read (CI-log readback is a held class pending the owner's decision). PR #15415 therefore stays Refs (not Closes) and unverified until the run can be diagnosed or a green re-run lands. developing-today-fleet commented on Nov 26, 2026 Ask 2 landed — agent-note:v1 (no-queue diagnosis lane, 2026-11-26)
PR #15415 (the suspect-completion guard: activity_event_count + suspect_completion_stamp surfaced in verb_complete, cmd_show, cmd_timeline) is MERGED: merge commit 722ec8cbb9a6d64637b9c8b8bac0e7b8e8663b1a, 2026-11-26T10:42:59Z.
Verification record: the PR's original fleet-command verification failed for an unrelated environmental reason — the nix develop dev shell builds pkgs/mcpx, whose check phase currently fails in the executor environment (internal/sdnotify hangs to the 1800s go-test timeout). Control run 45794142930 on the merge base e0d5d020 with the original command verbatim failed identically (same mcpx derivation hash yhsgpf3lm7a5…, zero cargo tests ran), proving the failure pre-existing. The PR's own tests pass at its head via direct cargo run 45794110347: 14268 filter 4/4, completion_gate filter 6/6. Full diagnosis on the PR (comment 7189732849).
Note: the mcpx internal/sdnotify timeout is a live defect in pkgs/mcpx that presently blocks the nix develop verification shape for all branches; flagged here for its owning lanes. dezren39 commented on Nov 26, 2026 Triage verdict — all asks landed, closing (xaltha lane, 2026-11-26)
Claim-check: no open PR duplicates this work; the two fixing PRs are both merged.
Verification for PR #15415: direct cargo run 45794110347 — 14268 filter 4/4, completion_gate filter 6/6 passed; the earlier fleet-command failure was proven pre-existing/environmental by control run 45794142930 on the merge base (mcpx internal/sdnotify go-test timeout, zero cargo tests ran).
The remaining caveat from the fix record is deployment (fleet-static pin + broker generation bump), which is an operational rollout step, not outstanding code work on this issue. Closing as completed.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|