GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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) #1131

New issue
Copy link
New issue
Copy link
Closed
Closed
Fleet observability: certify shift completion from queue state, not run self-report (uncertified runs)#1131
Copy link
Assignees
dezren39
Labels
area/infraInfrastructure, deployment, and operationseffort/sSmall: expected under 2 hours of workkind/debtTechnical debt worth paying down deliberatelypriority/normalOrdinary priority (the default)status:done

Description

@dezren39
dezren39
opened on Oct 27, 2026
Issue body actions

Problem

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:

  • 13:24 code worker shift: ended uncertified; outcomes (PRs refactor(id-web): drop dead leftmostGroup/leftmostCursorLine declarations (#952) #995, fix(id-web): preserve other marks on inline code on save (#953) #999 merged) verified afterwards from GitHub.
  • Lane B 16:44 shift: 8 tasks handled, 2 PRs merged (verified), run outcome marked failed over one unconfirmed tool result.
  • Lane B 17:24 shift: 6 tasks worked, completion uncertain per its own report; verified afterwards from queue health (39 done, 0 failed) and PR states.
  • Lane A 18:24 shift: reported its summary as "already delivered" — it had never reached the chat; the parent had to re-deliver from live state.

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.

Activity

Next
  1. dezren39
    added
    kind/debtTechnical debt worth paying down deliberately
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    queue/queuedHas a queued queue task
    on Oct 27, 2026
  2. developing-today commented on Oct 27, 2026

    @developing-today
    developing-todayBot
    on Oct 27, 2026 – with developing.today
    Contributor
    More actions

    CODE-269

  3. dezren39
    added
    area/infraInfrastructure, deployment, and operations
    effort/sSmall: expected under 2 hours of work
    on Oct 27, 2026
  4. github-actions
    assigned
    dezren39
    on Oct 27, 2026
  5. dezren39
    added a parent issue on Oct 27, 2026
    • epic(fleet): queue fleet reliability — lane workers for every queue, certified shift reporting #1233
  6. dezren39 commented on Oct 27, 2026

    @dezren39
    dezren39
    on Oct 27, 2026
    MemberAuthor
    More actions

    More instances, same evening (2026-10-26, after this issue was filed):

    • Lane B 22:44 shift: reported its summary as "already delivered" — nothing had reached the chat. Outcomes recovered from its record + GitHub (task 1175 / PR fix(id-web): preserve HTML blocks on save via code_block provenance attr (#982) #1024 verified merged, id(web): HTML blocks (comments, <details>, <div>) are rewritten as ```html code blocks on save #982 closed).
    • Lane A 22:24 shift: same shape — "final report already delivered," absent from the chat, no per-task detail in the handoff at all. Outcomes recovered from sweep.log (task 1173 / PR fix(id/web): re-nest nested-mark runs on save instead of fragmenting spans (#968) #1026 merged, id(web): nested marks corrupt on save — em/strike/code inside strong/em gain &#32; entities and multiplied delimiters, several non-fixpoint #968 closed; task 1077 triaged).

    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.

  7. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Oct 31, 2026
  8. 23 remaining items

  9. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 Agent note · blocked

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-11-26 02:14 CST
    • Found via: monitor reconciliation (Duty 6 shift certification, Fleet observability: certify shift completion from queue state, not run self-report (uncertified runs) #1131)
    • Task: Report: shift-certifier.py full run crashes; --summary-only works.
    • Expectation: Certifier should tolerate a lane snapshot whose first work entry is a string, or validate snapshot shape with a clear error.
    • Links: n/a

    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.

  10. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    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.

  11. developing-today-fleet commented on Nov 26, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 26, 2026 – with developing.today fleet
    Contributor
    More actions

    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)

  12. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    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

  13. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 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.

  14. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    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.

  15. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    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

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-27T09:14Z
    • Found via: monitor reconciliation (Duty 6 shift certification)
    • Task: Report certifier crash on issue Fleet observability: certify shift completion from queue state, not run self-report (uncertified runs) #1131
  16. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    🤖 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.

  17. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    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

  18. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    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.

  19. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    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
  20. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    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.

  21. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    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
  22. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    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
  23. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

area/infraInfrastructure, deployment, and operationseffort/sSmall: expected under 2 hours of workkind/debtTechnical debt worth paying down deliberatelypriority/normalOrdinary priority (the default)status:done

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.