Skip to content

review loop: fleet-monitor checks for verdict/packet reconciliation (design #2025 §7.3) #2312

Done

Description

@dezren39

Implements §7.3 of the #2025 review-loop design (files/review-loop-design-2025.md, linked from #2025).

The fleet monitor already reconciles queue↔GitHub divergence hourly; the review loop adds three checks to that duty, all report-only at Stage B:

  1. Verdict without packet — a verdict agent-note or review/second-pass label with no live second-pass (or interim-form) packet → protocol gap, handled like protocol §6.4(a).
  2. Count divergence — label pass ≠ packet payload review.pass ≠ latest verdict footer → flag and repair from the payload (authoritative), noting the repair.
  3. Stale pass — a commissioned pass unclaimed past normal claim latency, or a pass artifact unverdicted past its effort-class deadline → tracker flag in assigned-tracker.md, as for any assigned item.
    Plus: a review/* label surviving issue closure is a finding (the artifact left the loop without a terminal verdict, design §7.4).

Acceptance

  • All three checks run in the hourly monitor pass and appear in its run summary only when they fire
  • A planted divergence (test issue with mismatched label/payload pass) is detected and repaired from the payload
  • No check takes a non-report action at Stage B

Parent: #2025 · Design: review-loop-design-2025.md §7.3 · Depends on the schema follow-up (pass payload) and the label follow-up landing first.

Activity

  1. added
    status/needs-triage
    on Oct 29, 2026
  2. developing-today commented on Oct 29, 2026

    @developing-today
    Contributor
  3. added
    source/human
    priority/normal
    effort/m
    meta/enriched
    on Oct 29, 2026
  4. dezren39 commented on Oct 29, 2026

    @dezren39
    MemberAuthor

    Intake review — fleet monitor, 2026-10-29

  5. added
    queue/queued
    task/triage
    on Nov 3, 2026
  6. dezren39 commented on Nov 3, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · done (triaged — still live, but the implementation target is not in this repo)

    • Agent: queue worker (repo-worker-code), lane aea12c82-c5af-4e5a-9b66-f8e360f87177
    • Session / ID: task 7885 (openchamber scheduled lane, triage packet)
    • Found via: queue claim (coverage pass 2026-11-03)
    • Revalidated at current main (2026-11-03T16:27Z): the three checks this issue specifies (verdict-without-packet, label↔packet count divergence, stale pass) are not implemented in developing-today/code, and the code they extend is not here either.
    • Evidence: the issue implements §7.3 of files/review-loop-design-2025.md — no copy of that design doc exists in this repo (find for review-loop/review_loop: none). The hourly queue↔GitHub reconciliation it extends lives in the fleet monitor, which has no implementation in this repo: the only related file, scripts/program_tending.py, is a different scaffold (179 lines) that says its own packet work is deferred to slice 3 ("scaffold only: 48h check-ins and pr_shepherd packets land in slice 3"), and it contains no verdict/pass/packet reconciliation. There is no review/second-pass, review.pass, or verdict-footer handling anywhere in the tree.
    • Blocker and routing: this is a placement question, not a code gap in this repo. Before a fix task can be honest, the packet needs a pointer to the monitor's actual home (it is fleet tooling, not this repo's scripts/), or the issue must be re-homed there with its design doc. Queuing a fix task here would send a worker to implement three checks in a codebase that does not contain the monitor or the design — the exact improvisation the worker runbook forbids.
    • Ordering: (1) confirm the fleet monitor's location and home the issue/design beside it; (2) then a bounded fix task for the three report-only checks (they are additive and Stage B report-only, so no risk gate beyond review); (3) the review/*-label-surviving-closure finding follows from check 1's label handling, no separate task.
    • Labels: cleared stale status/needs-triage and queue/queued; kept task/triage, kind/enhancement, effort/m, source/human, meta/enriched, priority/normal.
    • Links: review loop: fleet-monitor checks for verdict/packet reconciliation (design #2025 §7.3) #2312 · design design: review loop — diff review can reject 'done' and commission a fresh second-pass session #2025
  7. removed
    status/needs-triage
    queue/queued
    on Nov 3, 2026
  8. added
    queue/queued
    on Nov 3, 2026
  9. 139 remaining items

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

    @developing-today-fleet
    Contributor

    🤖 Agent note · blocked

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: cron run 2026-11-30 04:14 CST
    • Found via: monitor reconciliation
    • Task: File the Duty 7 review-loop collection failure for this run (and clear the pending filings from the 2026-11-30 02:14 / 03:14 CST blocked runs)
    • Expectation: Record only — the checks did not run; no findings were collected, so no count-divergence repair, verdict-gap, or stale-pass action was taken.
    • Links: n/a

    Review-loop checks did NOT run this run: ~/tools/laptop-ssh.sh to the laptop failed in the transport layer — "agent transport down (OSError: laptop-agent: proxy closed during CONNECT); ssh fallback also failed: remote shell never started (rc=255): Connection closed by UNKNOWN port 65535". Same failure as the preceding runs today. The module on the laptop was never reached, so this is a transport failure, not a collection_error record from the module itself.

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

    @developing-today-fleet
    Contributor

    Fleet monitor run 2026-11-30 06:14 CST — Duty 7 review-loop checks did NOT run; filing per the duty instruction:

    The laptop run of pm-stack/fleet-monitor/review_loop_checks.py --repo developing-today/code printed a single collection_error record: CalledProcessError: Command '['gh', 'issue', 'list', '--repo', 'developing-today/code', '--state', 'all', '--search', 'label:review/second-pass OR label:review/pass-1 OR label:review/pass-2', '--json', 'number,state,labels', '--limit', '50']' returned non-zero exit status 2. The laptop leg itself was degraded (laptop-agent noted a proxy-closed CONNECT failure and retried over the ssh fallback before the module ran). No findings were produced, so no count-divergence repair was attempted and no review-loop section appears in this run's summary beyond this failure.

    🤖 Agent note · blocked

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

    @developing-today-fleet
    Contributor

    🤖 Agent note · blocked

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-30 07:14 CST
    • Found via: monitor reconciliation — Duty 7 review-loop checks
    • Task: Review-loop checks (Duty 7, review loop: fleet-monitor checks for verdict/packet reconciliation (design #2025 §7.3) #2312) did not run this pass: the laptop module printed a single collection_error record — gh issue list review-label search returned non-zero exit status 2; laptop-agent transport down (proxy closed during CONNECT), ssh fallback used.
    • Expectation: checks resume when laptop gh route recovers; no findings were collected, so no count-divergence repair or other Stage B action was taken.
  13. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    Fleet monitor run 2026-11-30 09:14 CST (15:14Z), Duty 7: the review-loop checks did NOT run. review_loop_checks.py --repo developing-today/code on the laptop printed a single collection_error record: the laptop's gh issue list review-label search (label:review/second-pass OR label:review/pass-1 OR label:review/pass-2) returned non-zero exit status 2. The laptop leg was degraded at the time (laptop-agent transport down — proxy closed during CONNECT; ssh fallback used). No findings were produced, so no count-divergence repair or other Stage B action was taken this run.

    This is a recurrence of the same collection failure filed by the 06:14 CST run today.

    🤖 Agent note · blocked

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

    @developing-today-fleet
    Contributor

    🤖 Agent note · blocked

    Duty 7 review-loop checks did NOT run this pass. The module was executed on the laptop via ~/tools/laptop-ssh.sh (laptop-agent transport down: proxy closed during CONNECT; ssh fallback used) and printed a single collection_error record:

    {"check": "collection_error", "detail": "CalledProcessError: Command '['gh', 'issue', 'list', '--repo', 'developing-today/code', '--state', 'all', '--search', 'label:review/second-pass OR label:review/pass-1 OR label:review/pass-2', '--json', 'number,state,labels', '--limit', '50']' returned non-zero exit status 2."}

    No findings were produced and no count-divergence repair was possible. The sandbox-side fleet gh was also failing this run (cache tiers down, GraphQL context deadline exceeded), consistent with a degraded GitHub transport on both legs.

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

    @developing-today-fleet
    Contributor

    Fleet monitor review-loop checks — collection_error, 2026-11-30 12:14 CST run

    Duty 7 ran the module on the laptop (review_loop_checks.py --repo developing-today/code). It returned a single collection_error record — the checks did not run:

    {"check": "collection_error", "detail": "CalledProcessError: Command '['gh', 'issue', 'list', '--repo', 'developing-today/code', '--state', 'all', '--search', 'label:review/second-pass OR label:review/pass-1 OR label:review/pass-2', '--json', 'number,state,labels', '--limit', '50']' returned non-zero exit status 2."}
    

    Laptop-agent note this run: agent transport down (proxy closed during CONNECT); the module ran over the ssh fallback and its laptop-side gh review-label search exited 2. Same failure shape as the 2026-11-30 ~11:14 CST run. No findings were produced, so no count-divergence repair or other Duty 7 action was possible.

    🤖 Agent note · blocked

  16. developing-today-fleet commented on Nov 30, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · blocked

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-30 13:14 CST (19:14Z)
    • Found via: monitor reconciliation (Duty 7 review-loop checks)
    • Task: Report review-loop collection failure for this run.
    • Expectation: n/a — the checks did not run.

    Duty 7 module run on the laptop (review_loop_checks.py --repo developing-today/code, via laptop-ssh with ssh fallback after the laptop-agent proxy closed) returned a single record:
    {"check": "collection_error", "detail": "CalledProcessError: Command '['gh', 'issue', 'list', '--repo', 'developing-today/code', '--state', 'all', '--search', 'label:review/second-pass OR label:review/pass-1 OR label:review/pass-2', '--json', 'number,state,labels', '--limit', '50']' returned non-zero exit status 2."}
    Same failure as the 12:14 CST run today. No findings were produced and no repairs were attempted.

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

    @developing-today-fleet
    Contributor

    🤖 Agent note · state: blocked

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: cron run 2026-11-30 14:14 CST (America/Chicago)
    • Found via: monitor reconciliation (Duty 7)
    • Task: Filing the review-loop checks collection failure for this run.
    • Expectation: Review-loop checks run clean next run; no findings were collected this run.
    • Links: n/a

    Duty 7 failure: on the laptop, pm-stack/fleet-monitor/review_loop_checks.py --repo developing-today/code printed a single collection_error record: CalledProcessError: Command '['gh', 'issue', 'list', '--repo', 'developing-today/code', '--state', 'all', '--search', 'label:review/second-pass OR label:review/pass-1 OR label:review/pass-2', '--json', 'number,state,labels', '--limit', '50']' returned non-zero exit status 2. The checks did not run this run; no findings can be reported. Laptop access itself required the ssh fallback (laptop-agent proxy closed during CONNECT).

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

    @developing-today-fleet
    Contributor

    Fleet monitor run 2026-11-30 15:14 CST — Duty 7 review-loop checks: collection_error again. The laptop run of review_loop_checks.py --repo developing-today/code returned: CalledProcessError: gh issue list --search label:review/second-pass OR label:review/pass-1 OR label:review/pass-2 returned non-zero exit status 2. The checks did not run; no findings can be reported for this pass.

    🤖 Agent note · blocked

  19. developing-today-fleet commented on Dec 1, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · blocked

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-30 20:14 CST
    • Found via: monitor reconciliation (Duty 7)
    • Task: review-loop checks collection failure report
    • Expectation: review_loop_checks.py collection restored

    Duty 7 review-loop checks did NOT run this run. On the laptop, python3 pm-stack/fleet-monitor/review_loop_checks.py --repo developing-today/code printed a single collection_error record: CalledProcessError — gh issue list --repo developing-today/code --search 'label:review/second-pass OR label:review/pass-1 OR label:review/pass-2' returned non-zero exit status 2. No findings were produced; no count-divergence repair was attempted.

  20. developing-today commented on Dec 1, 2026

    @developing-today
    Contributor

    🤖 Agent note · state: blocked

    • Agent: fleet monitor (repo-fleet-monitor cron)
    • Session / ID: run 2026-11-30 21:14 CST (2026-12-01T03:14Z)
    • Found via: monitor reconciliation (Duty 7)
    • Task: Report Duty 7 review-loop check failure
    • Expectation: review_loop_checks.py collects live state and prints findings (exit 0)
    • Links: n/a

    The 2026-11-30 fleet-monitor run executed Duty 7 on the laptop (pm-stack/fleet-monitor/review_loop_checks.py --repo developing-today/code via laptop-ssh). It printed a single collection_error record — the checks did not run:

    {"check": "collection_error", "detail": "CalledProcessError: Command '['gh', 'issue', 'list', '--repo', 'developing-today/code', '--state', 'all', '--search', 'label:review/second-pass OR label:review/pass-1 OR label:review/pass-2', '--json', 'number,state,labels', '--limit', '50']' returned non-zero exit status 2."}

    The laptop-agent transport also reported a proxy failure during the same call (agent transport down (OSError: laptop-agent: proxy closed during CONNECT); retrying over ssh fallback) before the module itself failed on the gh call. No findings were produced, so no count-divergence repair or other Duty 7 action was possible this run.

  21. developing-today-fleet commented on Dec 1, 2026

    @developing-today-fleet
    Contributor

    Fleet monitor run 2026-11-30 22:14 CST — Duty 7 review-loop checks did not run:

    review_loop_checks.py --repo developing-today/code on the laptop (via laptop-ssh, ssh fallback after the laptop-agent proxy CONNECT failed) returned a single collection_error record: the module's gh issue list search for label:review/second-pass OR label:review/pass-1 OR label:review/pass-2 exited with status 2. No findings were produced; no label repairs or other writes were made under Duty 7 this run.

    🤖 Agent note · blocked

    • Agent: fleet monitor
    • Session / ID: repo-fleet-monitor run 2026-11-30 22:14 CST
    • Found via: monitor reconciliation
    • Task: Duty 7 review-loop checks
    • Expectation: findings JSON; instead collection_error (gh exit 2 on the laptop)
    • Links: n/a
  22. developing-today-fleet commented on Dec 1, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · blocked

    • Agent: fleet monitor (repo-fleet-monitor job)
    • Session / ID: cron run 2026-12-01 00:14 CST
    • Found via: monitor reconciliation
    • Task: Duty 7 review-loop checks did not run again: review_loop_checks.py printed a single collection_error record (laptop gh issue list review-label search exited 2; laptop-agent proxy closed during CONNECT, ssh fallback used). No findings could be collected, so no count-divergence repair was possible this run.
    • Expectation: laptop gh route restored so the review-loop checks can collect.
  23. developing-today-fleet commented on Dec 1, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · blocked

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-12-01T07:14Z
    • Found via: monitor reconciliation
    • Task: Duty 7 review-loop checks did NOT run this run: review_loop_checks.py printed a single collection_error — the laptop gh issue list review-label search exited 2 (CalledProcessError on 'gh issue list --search label:review/second-pass OR label:review/pass-1 OR label:review/pass-2'). Laptop leg was degraded (proxy closed during CONNECT; ssh fallback used). No findings were produced; no count-divergence repair was possible. Same failure class as the 2026-11-30 run filing on this issue.
    • Expectation: s — laptop gh route restored so the checks collect again.
    • Links: n/a
  24. developing-today-fleet commented on Dec 1, 2026

    @developing-today-fleet
    Contributor

    🤖 Agent note · blocked

    • Agent: fleet monitor (repo-fleet-monitor)
    • Session / ID: repo-fleet-monitor run 2026-12-01 02:14 CST
    • Found via: monitor reconciliation — Duty 7 review-loop checks
    • Task: Report Duty 7 collection failure this run
    • Expectation: s — review-loop checks did NOT run; module returned a single collection_error record: laptop gh issue list review-label search (label:review/second-pass OR label:review/pass-1 OR label:review/pass-2, developing-today/code) exited 2. Laptop leg degraded this run (laptop-agent proxy closed during CONNECT; ssh fallback used).
    • Links: n/a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mepic/fleet-orchestrationkind/enhancementmeta/enrichedpriority/normalsource/humanstatus:donetask/triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions