Skip to content

Bind a Canonical Sweep Record to the Reviewer's Report Instead of a Typed Count #3804

Done

Description

@ptr727

Behavior

scripts/canonical_review.py record --reviewer agent-skill still takes a caller-typed --findings '<count>' for each sweep pass. That is the same defect #3699 removes from scripts/local_review.py record. The count is bound to nothing the reviewer produced, so a driver that misreads or imagines a reviewer's result records it as the pass's count.

Sites that state or implement the typed count:

  • scripts/canonical_review.py: the module docstring's record usage line, and the record subparser's --findings argument.
  • .agents/skills/local-strict-review/SKILL.md "The Carried-Content Sweep": the canonical_review.py record ... --findings '<count>' line, and its generated copies.
  • scripts/README.md "canonical_review.py": the record ... --findings 2 example.

Expected

The sweep's record binds each unit's pass to a report the reviewer wrote, the way local_review.py record --report now does. canonical_review.py already imports local_review, so its report_path and read_report can be reused or extended rather than duplicated. Whether a sweep pass needs that binding at all is the question to settle first, since a unit's report would be keyed by the unit digest rather than the content digest.

Found by the local review pass on the #3699 change, which held only scripts/local_review.py and could not touch these files.

Activity

  1. ptr727 commented on Nov 2, 2026

    @ptr727
    OwnerAuthor

    Held back by the backlog-burndown away run (2026-11-02, round 2): the question this issue asks first is filed as decision #3815. This issue is worked once that is answered.

  2. ptr727 commented on Nov 3, 2026

    @ptr727
    OwnerAuthor

    Maintainer answer on #3815 (decision triage via the windows handoff #3853, 2026-11-03): Option 1: bind each sweep pass to the reviewer's report file in place of the typed count, reusing local_review's report reader rather than duplicating it.

  3. ptr727 commented on Nov 23, 2026

    @ptr727
    OwnerAuthor

    Backlog burndown claim (round 5, 2026-11-23): branch burndown/canonical-sweep-report-binding.

    Predicted files: scripts/canonical_review.py, tests/test_canonical_review.py, .agents/skills/local-strict-review/SKILL.md, scripts/README.md.

    Group issues: #3804.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions