GeezerVison is showing github.com — Fleet observability: certify shift completion from queue state, not run self-report (uncertified runs) · Issue #1131 · developing-today/code
Fleet observability: certify shift completion from queue state, not run self-report (uncertified runs) #1131DescriptionProblem
Fleet shift runs keep ending "uncertified": a tool call or tool result inside the run never returns a success/failure status, so the run's own final report cannot confirm completion — even when every task it touched reached a verified terminal state. On 2026-10-26 this happened at least four times:
Today the recovery pattern is manual: the parent re-verifies merges, closures, and queue counts from GitHub/Supabase after the fact and reports what actually happened. That works, but it costs a verification pass on every affected shift and leaves a window where nobody knows whether work landed.
Proposal
Certify shift completion from durable state, not from the run's self-report:
- A shift's completion record is the queue itself: per-task terminal states (complete/park/block with timestamps), the signal refresh, and the lane-lock release. A lightweight post-shift checker (the fleet monitor already reconciles queue ↔ GitHub hourly) compares the shift's claimed task set against terminal states and produces the certified summary line.
- When a run ends uncertified, the delivery automatically falls back to the state-derived summary ("uncertified run — outcomes verified from queue/GitHub state: …") instead of a bare failure, so the report Drew reads is always grounded.
- Track the uncertified-run rate per job as a fleet health metric; if it exceeds a threshold (say 2 in 24h for one job), the monitor flags it as an infrastructure problem in its summary rather than per-run noise.
Acceptance criteria
- A shift that ends with an unconfirmed tool result still produces a delivery whose every claim is derived from queue/GitHub state (no parent improvisation needed).
- The fleet monitor's summary includes, per shift job, runs completed vs uncertified for the last 24h.
- No shift outcome is reported as simply "failed" when its tasks verifiably reached terminal states.
Filed by Muse (operator) 2026-10-26 at Drew's direction to keep improving the process. Activitydeveloping-today commented on Oct 27, 2026 dezren39 commented on Oct 27, 2026 More instances, same evening (2026-10-26, after this issue was filed):
That's six uncertified or undelivered shift reports in one day. In every case the work was verifiable from durable state (queue, sweep.log, GitHub) — which is precisely the certification source this issue proposes making automatic. developing-today-fleet commented on Nov 26, 2026 🤖 Agent note · blocked
Certifier crash — 2026-11-26 run
shift-certifier.py (full run) crashes: AttributeError: 'str' object has no attribute 'get' at line 146 (if w0.get("task_id")) — a lane handoff snapshot's first work entry is a string, not an object. --summary-only succeeds and reports no ledger entries in the last 24h (0 completed / 0 uncertified recorded), so no per-lane CERTIFIED/UNCERTIFIED lines could be produced this run.
developing-today-fleet commented on Nov 26, 2026 Fleet monitor run 2026-11-26 ~10:14Z, Duty 6: shift-certifier.py full run still crashes with AttributeError: 'str' object has no attribute 'get' at line 146 (w0.get("task_id")). --summary-only runs and reports: no ledger entries in the last 24h (0 completed, 0 uncertified — no shift runs recorded). Recurrence of the crash filed earlier today.
developing-today-fleet commented on Nov 26, 2026 Fleet monitor run 2026-11-26 13:14 CST: shift-certifier.py full mode CRASHED — AttributeError: 'str' object has no attribute 'get' at line 146 in main() (w0.get('task_id') where w0 is a str, i.e. a lane handoff snapshot whose work entry is a plain string, not an object). --summary-only mode ran clean and reported: no ledger entries in the last 24h window (0 completed / 0 uncertified recorded). No CERTIFIED/UNCERTIFIED lane lines could be produced this run. Fix: tolerate string work entries in the snapshot parser (skip or coerce) so one malformed snapshot cannot crash certification for all lanes.
— fleet monitor (repo-fleet-monitor) developing-today-fleet commented on Nov 27, 2026 Fleet monitor run 2026-11-27T06:14Z (00:14 CST), Duty 6: shift-certifier.py (full run) still crashes with AttributeError: 'str' object has no attribute 'get' at line 146 (w0.get("task_id")). --summary-only reports no ledger entries in the last 24h (shift-certifications.jsonl last entries are 2026-11-09), so no certified/uncertified lines or 24h metric could be produced this run. Same crash as the 2026-11-27T05:35Z run. — repo-fleet-monitor developing-today-fleet commented on Nov 27, 2026 🤖 Agent note · blocked
- Agent: fleet monitor
- Session / ID: repo-fleet-monitor run 2026-11-27 01:14 CST
- Found via: monitor reconciliation (Duty 6 shift certification)
- Task: Report shift-certifier crash recurrence
- Expectation: certifier prints CERTIFIED/UNCERTIFIED lines per lane
Duty 6 recurrence: the full shift-certifier.py run crashed again with the same AttributeError: 'str' object has no attribute 'get' at shift-certifier.py line 146 (w0.get("task_id")). The --summary-only mode works and reported: UNCERTIFIED-RATE (last 24h, per shift job): no ledger entries in window yet — so the 24h metric is 0 completed / 0 uncertified recorded, but per-lane certification lines could not be produced this run. developing-today-fleet commented on Nov 27, 2026 Fleet monitor run 2026-11-27T08:14Z (Duty 6): the full shift certifier crashed again with the same error — AttributeError: 'str' object has no attribute 'get' at shift-certifier.py line 146 (w0.get("task_id") over a lane handoff whose in_flight entries are plain strings, e.g. lane-handoff-repo-health-code-pilot-a.json generated 2026-11-17). --summary-only ran clean and reported no ledger entries in the last 24h (0 completed / 0 uncertified per shift job). No CERTIFIED/UNCERTIFIED lines could be produced this run. The line-146 crash is now a standing repeat across at least three consecutive monitor runs. developing-today-fleet commented on Nov 27, 2026 Fleet monitor run 2026-11-27T09:14Z (Duty 6): full shift-certifier.py crashed again with the same AttributeError at line 146 (w0.get on a string lane-handoff entry). --summary-only reported: no ledger entries in the last 24h (0 completed / 0 uncertified). Recurring across consecutive monitor runs — the certifier cannot produce CERTIFIED/UNCERTIFIED lines until this is fixed.
🤖 Agent note · blocked
developing-today-fleet commented on Nov 27, 2026 🤖 Agent note · escalated
- Agent: fleet monitor
- Session / ID: repo-fleet-monitor cron run 2026-11-27 04:14 CST
- Found via: monitor reconciliation (Duty 6 shift certification)
- Task: Report shift-certifier crash for this run
- Expectation: n/a — failure record
The full shift-certifier.py crashed again with the same AttributeError: 'str' object has no attribute 'get' at line 146 (w0.get("task_id")). --summary-only ran clean and reported no ledger entries in the last 24h (0 completed / 0 uncertified). No lane could be certified this run.
developing-today-fleet commented on Nov 27, 2026 Fleet monitor Duty 6 — run 2026-11-27 09:14 CST (15:14Z): shift certifier still crashing.
Full run: AttributeError: 'str' object has no attribute 'get' at shift-certifier.py line 146 (if w0.get("task_id")), same failure as the 10:50Z run. --summary-only: no ledger entries in the last 24h — 0 completed / 0 uncertified, so no shift job exceeds the >2-uncertified flag threshold; there are simply no certifications being recorded while the full certifier is down.
🤖 Agent: fleet monitor · Session: repo-fleet-monitor run 2026-11-27 09:14 CST · Found via: monitor reconciliation
developing-today-fleet commented on Nov 27, 2026 Fleet monitor run 2026-11-27T16:14Z: shift-certifier full run crashed again with the same AttributeError at shift-certifier.py line 146 (w0.get on a str). The --summary-only mode runs and reports: no ledger entries in the last 24h (0 completed / 0 uncertified per shift job). No shift can be certified while the full certifier crashes and the ledger is empty. developing-today-fleet commented on Nov 27, 2026 Fleet monitor run 2026-11-27T17:14Z: the shift certifier's full run crashed again with the same error as previous runs today — AttributeError: 'str' object has no attribute 'get' at shift-certifier.py line 146 (w0.get("task_id")). --summary-only reports no ledger entries in the last 24h (0 completed / 0 uncertified), so no shift job exceeds the >2-uncertified-in-24h threshold; there are simply no certifications being recorded while the full run crashes.
🤖 Agent note · filed
- Agent: fleet monitor
- Session / ID: repo-fleet-monitor run 2026-11-27T17:14Z
- Found via: monitor reconciliation
developing-today-fleet commented on Nov 27, 2026 Fleet monitor run 2026-11-27T18:14Z: shift certifier full run STILL crashes (AttributeError at shift-certifier.py line 146, w0.get on a str); --summary-only reports no ledger entries in the last 24h (0 completed / 0 uncertified). Recurrence of the crash filed at 17:41Z this cycle. developing-today-fleet commented on Nov 27, 2026 Fleet monitor recurrence (2026-11-27T19:14Z run): the full shift certifier crashed again with the same error — AttributeError: 'str' object has no attribute 'get' at shift-certifier.py line 146 (w0.get("task_id")). --summary-only runs and reports no ledger entries in the last 24h (0 completed / 0 uncertified), so no shift job exceeds the >2-uncertified threshold — but the per-lane CERTIFIED/UNCERTIFIED lines still cannot be produced until this crash is fixed.
🤖 Agent note · handed off
- Agent: fleet monitor
- Session / ID: repo-fleet-monitor run 2026-11-27T19:14Z
- Found via: monitor reconciliation (Duty 6)
- Task: report shift-certifier crash recurrence
- Expectation: n/a — infrastructure defect, tracked here
- Links: n/a
developing-today-fleet commented on Nov 27, 2026 Fleet monitor (run 2026-11-27 14:14 CST): shift-certifier full run crashed again — AttributeError at shift-certifier.py line 146 (w0.get("task_id") on a str). --summary-only: no ledger entries in the last 24h (0 completed / 0 uncertified). Recurrence of the standing crash; no shift job exceeds >2 uncertified in 24h (ledger empty).
🤖 Agent note · state: filed
- Agent: fleet monitor
- Session / ID: repo-fleet-monitor run 2026-11-27 14:14 CST
- Found via: monitor reconciliation
- Task: Duty 6 shift certification — reporting the certifier crash recurrence
- Expectation: n/a
- Links: n/a
developing-today-fleet commented on Nov 27, 2026 Fleet monitor recurrence (run 2026-11-27T21:14Z): shift-certifier.py full run still crashes with the same AttributeError at line 146 (w0.get on a str). --summary-only reports no ledger entries in the last 24h (0 completed / 0 uncertified), so no shift job exceeds the >2-uncertified threshold — but certification itself remains broken; every lane is effectively uncertified-by-crash, not by evidence. Filed by repo-fleet-monitor per Duty 6.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|