GeezerVison is showing github.com — Fleet supervision: unidentified App-identity writer closed bound in-progress epic #9155 — completion guard + detective control needed · Issue #9177 · developing-today/code
Fleet supervision: unidentified App-identity writer closed bound in-progress epic #9155 — completion guard + detective control needed #9177DescriptionFleet supervision defect — an unidentified writer closed a bound, in-progress epic; completion guard + detective control needed
Filed from the root-cause investigation of the 2026-11-13 Fleet CA incident (epic #9155), ordered by Drew 2026-11-12. Five-word summary: automation closed live bound epic.
What happened (verified from the GitHub timeline)
What was checked — the writer is NOT identified
The label+close writes carry the App identity — the same identity fleet gh leads with / fails over to for repo-scoped calls, on an evening when the personal token's GraphQL bucket was exhausted. Checked and eliminated with evidence:
- fleet-paperwork ledger (no Fleet CA, credentials & secrets — v0.3 design mill (Summit build-out) #9155 writes; no entries at all that night)
- project-reconcile (state file untouched since 22:03Z; orchestration pass not running in the window)
- pm-stack projector / sentinel / dispatch (no status-label or close writes to existing issues in code; journals quiet)
- the Fleet conductor's own sessions and cycle log (it read the closed state as a discovered fact; no write command in its stored messages)
- every OpenCode
session_message in the window (searched for add-label / issue close / issue edit / issues/9155 writes — none)
- the Summit tree's own calls (reads + comments only)
- Muse job-run summaries for every run overlapping 01:45:18Z (fleet-minder 297, lane any-a, queue-capture-6450, page-health-push)
- the aggregator actions store
- grep across code/pm-stack/infra: no fleet code writes
status:* labels at all — the state-reactive label pattern (done on close, to-do 4s after reopen) matches no code in the fleet, which points to an LLM-driven or external writer calling through the App identity (e.g. fleet gh's App leg from a session whose transcript is not in the searched stores).
Required fixes
- Preventive — a close guard where the writers pass. Completion of an issue with an in-progress bound queue task (status claimed/parked with a live session binding) must require deliverable evidence: a completion record from the bound task/session. Concretely: add the guard to
fleet gh (pkgs/fleet, gh.rs — the rotation wrapper every fleet GitHub write passes through): an issue close or status:done label write against an issue with an in-progress bound task is refused unless the caller presents the bound task's completion record. If the writer turns out to be a job/prompt instead, the same rule goes into its prompt: never auto-close an issue with an active bound session or an in-progress queue task.
- Detective — catch the next one in minutes. A periodic check (conductor census or watchdog) that alerts when an issue whose bound queue task is in-progress is found CLOSED without a completion record on that task. On 2026-11-13 this would have fired within one conductor cycle instead of being discovered via the stop it caused.
- Identification, if instrumentation allows: log the caller/session identity on App-token writes made through
fleet gh (trace already exists as FLEET_GH_TRACE) into a durable audit trail, so the next App-identity write is attributable to a component, not just an installation.
Labels: kind/bug, app/fleet. Context: #9155 (incident record), #9016 (fleet gh follow-ons). Activitydeveloping-today commented on Nov 13, 2026 dezren39 commented on Nov 17, 2026 🤖 Agent note · triaged
- Agent: queue worker (repo-worker-code), lane any-h
- Session / ID: task 18907
- Found via: queue claim
- Verdict: the incident investigation on this issue is complete (writer eliminated down to "LLM-driven or external, via fleet gh's App leg" — no fleet code writes status:* labels at all); what remains is the three named controls, routed as one implementation packet at elevated priority. Epic Fleet CA, credentials & secrets — v0.3 design mill (Summit build-out) #9155 verified OPEN again in this session.
- Enqueued: task 20352 (priority 30; dedupe key repo-health:v1:fix:developing-today/code:issue:9177), binding the issue's three required fixes: (1) preventive guard in fleet gh (pkgs/fleet/crates/fleet/src/gh.rs, verified present on main) — issue close / status:done against an issue with an in-progress bound task is refused unless the caller presents the bound task's completion record; (2) detective check on a periodic surface (conductor census or watchdog) alerting within one cycle when a bound in-progress issue is CLOSED without a completion record; (3) caller/session attribution for App-token writes through fleet gh into a durable audit trail, building on FLEET_GH_TRACE. The packet's tests cover both guard directions (refused without record, allowed with it, unbound unaffected) since the guard sits on every fleet write path.
- Labels: kind/bug, app/fleet stand; task/small-fix added.
dezren39 commented on Nov 17, 2026 dezren39 commented on Nov 22, 2026 agent-note:v1
state: picked_up
task: 20352
lane: code-h
worker: repo-worker-code
origin: openchamber-scheduled-lane
stage: claimed -> current-state-revalidation
Claimed task 20352 and recorded the required origin checkpoint. Current issue state is OPEN; fresh activity now says PRs #11431 and #12076 merged and asks for the issue done check. PR #12076 explicitly delivers only caller/session attribution; the close guard and detective check remain unimplemented per its body. I am checking current main and linked queue/design state before deciding whether this task can be completed or needs a concrete follow-up park. dezren39 commented on Nov 22, 2026 agent-note:v1
state: parked
task: 20352
lane: code-h
worker: repo-worker-code
origin: openchamber-scheduled-lane
stage: current-state-verified -> parked
Fresh main is up to date. #9177 remains OPEN. #12076 is merged and completes caller/session attribution only; #9221/#11440 is merged and provides reason-required closes plus closure-record JSONL, but its PR explicitly excludes the bound-task guard and detection of closes made outside fleet gh. Therefore the issue done check fails: controls 1-2 remain missing. No source or worktree changes were made.
Task 20352 parked for 24 hours. Resume by implementing and testing (1) refusal of issue close/status:done for an in-progress bound task absent its matching completion evidence, while allowing unrelated closes, and (2) a named periodic alert for closed bound tasks without that evidence. Keep #9177 open until both pass; preserve merged #12076. Sandbox backlog/sweep-log bookkeeping deferred to fleet reconciliation (backlog_updated=false; sweep_log_line_at=null).
dezren39 commented on Nov 23, 2026 agent-note:v1
state: picked_up
task: 20352
issue: #9177
lane: oc-code-03
worker: repo-worker-code
origin: openchamber-scheduled-lane
stage: claimed -> verified
Fresh state: #9177/#9155 OPEN; #12076 and #11440 MERGED; no open PR targets #9177. #9245 remains OPEN as a design PR. Task 17413 is parked/unbound, not an active hold. The previously named worktree /home/user/git/fleet/20352 no longer existed; I created a clean worktree from current main. Decision: implement the bound-task close guard using the merged #11440 closure-record contract and add a named periodic detective check; no owner authorization gate (FDR-0013 / decide-and-proceed). First checkpoint records origin and worktree/branch. dezren39 commented on Nov 23, 2026
Decided: Use the merged #11440 fleet-closure/v1 record as the completion evidence contract and integrate a bound-task check into fleet gh; implement the detective alert on the existing periodic fleet surface rather than leave this task parked.
Why: #11440 merged and its closure JSONL binds task_id, worker, lane, session_id and user; task 17413 is parked/unbound, and FDR-0013 says routine design choices are ours to make.
Undo: A later PR can revise the evidence shape or move the periodic checker if runtime topology proves unsuitable.
By: OpenChamber scheduled lane oc-code-03 dezren39 commented on Nov 23, 2026 agent-note:v1 | ses_e5df9eecad5ffegNFUQO7qXERT | oc-code-03
PR opened — controls 1+2 (remaining acceptance items) implemented and green.
Not closing #9177 yet: will evaluate the issue done check after #12779 merges (all three acceptance items are then implemented — 1+2 here, 3 in #12076). dezren39 commented on Nov 23, 2026 agent-note:v1 | ses_e5df9eecad5ffegNFUQO7qXERT | oc-code-03
Merged and task completed. PR #12779 merged at 2026-11-23T02:38:52Z (dc5ed627b5e2f56a5c87cc8b20930bdf533888d6). All three #9177 acceptance items are now implemented and merged: guard + detective in #12779; App-write attribution in #12076. Verification is green: fleet 95, fleet-queue 522, integration bins 16, zero failures. Queue task 20352 completed with verified disposition (merged_verified, readback 02:39:47Z). Proceeding to close #9177 now that its done check passes. dezren39 commented on Nov 23, 2026
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|