Skip to content

feat(cli): generator-side rule pruning measured against verifier overlap #414

Closed as not planned

Description

@dan-petty

Context & Rationale

The shared review prompt carries roughly a dozen host-specific invalidation rules that the verifier prompt also applies to every finding. The duplication costs tokens on every persona and every segment. Removing them is not obviously right: suppressing a false positive at generation time is cheaper than generating it and invalidating it afterwards, and nothing currently measures which way the trade falls.

Scope & Deliverables

  • Context & Rationale*: The shared review prompt carries roughly a dozen host-specific invalidation rules that the verifier prompt also applies to every finding. The duplication costs tokens on every persona and every segment. Removing them is not obviously right: suppressing a false positive at generation time is cheaper than generating it and invalidating it afterwards, and nothing currently measures which way the trade falls.
  • Deliverable*: With the benchmark above in place, remove each duplicated rule in turn and measure findings generated, findings invalidated, and total tokens across both stages. Keep the rules whose removal costs more in verification than it saves in generation.
  • Constraint*: Depends on the benchmark. Doing this by argument is how the duplication arose.

Strategic Alignment

  • Milestone: v0.2.23 (Foundational Architectural Guardrails & Project Hygiene)
  • Roadmap Reference: docs/ROADMAP.md

Activity

  1. added this to the v0.2.23 milestone on Sep 22, 2026
  2. added
    type/feature
    scope/cli
    priority/p2-medium
    on Sep 22, 2026
  3. modified the milestones: v0.2.23, v0.2.24 on Sep 28, 2026
  4. dan-petty commented on Oct 1, 2026

    @dan-petty
    OwnerAuthor

    Moved from the shipped v0.2.23 to the backlog. It is still valid (checked 2026-10-01), and P2 items don't displace P1 work in the planned releases.

  5. added
    scope/review
    and removed
    scope/cli
    on Oct 2, 2026
  6. dan-petty commented on Oct 3, 2026

    @dan-petty
    OwnerAuthor

    Frozen by the evidence-first review redesign (#1137, owner direction of 2026-10-03): patches to the model generator and verifier stop, and tool-layer fixes continue. This item patches code that #1150 deletes (the verifier path in verification.py, the guards and verifier prompts, construct_validator.py, criteria_evidence.py, and the known-false-positive catalog).

    It stays open, labelled status/blocked, and closes as not planned with "Superseded by #1150" when that item lands. Until then, the interim is the tools-only review (--no-persona-review --no-verification). Do not start work on it.

  7. added
    status/blocked
    on Oct 3, 2026
  8. dan-petty commented on Oct 17, 2026

    @dan-petty
    OwnerAuthor

    Closed as not planned in the 2026-10-17 unblocking review: Superseded by #1150 (PR #1529, v0.2.33). The verifier and its prompts are deleted, and tests/test_codebase_hygiene_and_shims.py:250-284 keeps them gone, so no generator-versus-verifier overlap is left to measure. Its dependency #413 is done.

  9. removed
    status/blocked
    on Oct 17, 2026
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

    priority/p2-mediumscope/reviewtype/feature

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions