Skip to content

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

Open

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. developing-today commented on Oct 29, 2026

    @developing-today
    Contributor
  2. added
    source/humanFiled directly by a human
    priority/normalOrdinary priority (the default)
    effort/mMedium: expected under 1 day of work
    meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added
    on Oct 29, 2026
  3. dezren39 commented on Oct 29, 2026

    @dezren39
    MemberAuthor

    Intake review — fleet monitor, 2026-10-29

  4. added
    task/triageQueue packet kind: verify, reproduce, and route this item
    on Nov 3, 2026
  5. 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
  6. 25 remaining items

  7. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    Agent: repo-worker-code (lane code-b, queue task 15315)
    Transition: pr-opened / parked on PR

    Gate re-verified fresh 2026-11-16: prerequisites #2310 and #2311 are both CLOSED (status:done), and the lifecycle-verdict-2311 ledger item is answered — the earlier dependency block on this task was stale.

    Implemented the §7.3 checks as pm-stack/fleet-monitor/review_loop_checks.py (report-only, Stage B): verdict-without-packet, count divergence with the payload-authoritative label repair, stale pass (claim latency + effort-class deadline), plus §7.4's review-label-survives-closure finding. 13 unit tests pass, including the planted-divergence acceptance case (label pass-2 vs payload pass 1 → detected, repair sets review/pass-1); CLI smoke-run on the planted fixture emits exactly that finding.

    PR: #10676 — parked on it; resume as shepherd: check CI, merge when green, complete task 15315.

  8. added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    on Nov 16, 2026
  9. added 2 commits that reference this issue on Nov 16, 2026
  10. dezren39 commented on Nov 16, 2026

    @dezren39
    MemberAuthor

    #2312 checks implemented and merged (task 15315, lane code-a shepherd, 2026-11-16): PR #10676 merged 8c2c77d.

    Landed in pm-stack/fleet-monitor/: review_loop_checks.py (the three §7.3 checks — verdict-without-packet, count divergence with payload-authoritative label repair, stale pass — plus the §7.4 review-label-survives-closure finding; all report-only at Stage B) and test_review_loop_checks.py, 17 tests passing including the planted-divergence acceptance case (label pass-2 vs payload pass 1 detected, repair derived from the payload). Shepherd fixes on the PR: no input mutation + pass-aware verdict join, CLI keeps its exit-0 contract on collection failure (collection_error record), and five further review minors (see PR thread dispositions). Prerequisites #2310 and #2311 are CLOSED, re-verified fresh this shift.

    One acceptance line remains, named plainly: the checks run when the hourly fleet-monitor pass invokes review_loop_checks.py --repo developing-today/code — that invocation wiring belongs to the fleet-monitor pass's own job definition (no live cron body references the module yet; only archived copies mention fleet-monitor). The module is the integration surface the pass consumes; wiring it into the pass definition is the monitor owner's next step, not done by this task.

    #2312 stays open for that wiring line; the stale queue/status blocked+parked labels from its earlier blocked period are removed in this pass.

  11. removed
    status/blockedQueue or user escalation state
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    queue/blockedQueue or user escalation state
    on Nov 16, 2026
  12. removed their assignment
    on Nov 20, 2026
  13. dezren39 commented on Nov 22, 2026

    @dezren39
    MemberAuthor

    Merged work, still open. Every pull request that references this issue has merged (#10676) and none is open, but the issue kept status:in-review. Tasks that name it as a blocker have been waiting on it.

    status:in-review is removed. Whoever takes this next: run the issue's done check against main. Close the issue if it passes; if not, list what is left here and carry on with it (AGENTS.md, "Finishing work").

    By: Claude, 2026-11-22 flow review.


    Generated by Claude Code

  14. dezren39 commented on Nov 23, 2026

    @dezren39
    MemberAuthor

    agent-note:v1
    event: monitor-wiring-target-not-found
    by: agent felix (kind muse, Muse sandbox seat)
    at: 2026-11-22

    The #2312 wiring remainder cannot be applied to any live job body in hatch-personal — the fleet-monitor pass has no live job definition there. Recorded while preparing the #2313 Stage B application (https://github.com/dezren39/hatch-personal/pull/56), with which this wiring was to share a PR.

    What remains on this issue is one line: the hourly fleet-monitor pass should invoke pm-stack/fleet-monitor/review_loop_checks.py --repo developing-today/code (module landed via PR #10676; checks are report-only at Stage B, including the payload-authoritative label repair and the §7.4 label-survives-closure finding).

    Searched the whole of dezren39/hatch-personal at origin/main: workspace/cron.d/ (daily/hourly/minutely/weekly and _archive/), every workspace/goals/*/crons/ tree, and workspace/system-cron.d/. The only fleet-monitor job definition in the repo is the archived copy, workspace/cron.d/_archive/repo-fleet-monitor__interval@2h.md. No live cron body defines the fleet-monitor pass — which matches this issue's own 2026-11-16 merged-work note: "no live cron body references the module yet; only archived copies mention it."

    No edit was made: adding the invocation to an archived definition would not make the checks run in any pass, and inventing a new monitor job body is a charter/scheduling decision, not a wiring edit. The wiring lands in whichever of these happens: (a) the live fleet-monitor pass's definition is located on the primary seat and the invocation line is added there via the repo-copy + cron.update workflow, or (b) the fleet-monitor job is re-created (its archived definition is the obvious base) with the invocation included. Either is primary-seat work. This issue stays open for that line; #2025's close waits on it and on #2313's cron.update application.

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/mMedium: expected under 1 day of workepic/fleet-orchestrationReprioritization program epic (2026-11-12)kind/enhancementmeta/enrichedIntake review done: acceptance criteria, links, and normalized labels addedpriority/normalOrdinary priority (the default)source/humanFiled directly by a humantask/triageQueue packet kind: verify, reproduce, and route this item

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions