Skip to content

feat(cli): executable verification criteria #432

Closed

Description

@dan-petty

Context & Rationale

This was scheduled on the premise that personas emit verification_criteria as deterministic shell assertions (git check-ignore -v <path>, git ls-files, grep -n <symbol> <file>) which nothing executes. The recorded data does not support that premise. Across 3167 criteria in 59 review sessions, 2 begin with git, none with grep or rg, and one with python; 3069 are prose descriptions of an observable condition, such as "The exception message includes a placeholder or masked host component". An executor built today would execute three criteria out of 3167.

Scope & Deliverables

  • Context & Rationale*: This was scheduled on the premise that personas emit verification_criteria as deterministic shell assertions (git check-ignore -v <path>, git ls-files, grep -n <symbol> <file>) which nothing executes. The recorded data does not support that premise. Across 3167 criteria in 59 review sessions, 2 begin with git, none with grep or rg, and one with python; 3069 are prose descriptions of an observable condition, such as "The exception message includes a placeholder or masked host component". An executor built today would execute three criteria out of 3167.
  • Deliverable, in order*: First make criteria executable -- constrain the persona prompts and the finding schema so a criterion is either a command from a closed read-only allowlist or is explicitly marked unexecutable. Only then execute them in the bounded subprocess sandbox (review_environment), attach the captured output to the finding, and derive confidence from the outcomes.
  • Constraint*: The second half is worthless without the first and cannot be tested against real data until it exists. Sequencing them the other way round is what put this at P0 on an assumption nobody measured.
  • Already done*: the self-agreement confidence score is removed. confidence_score was computed as len(verified_criteria_matched) / len(verification_criteria) -- the model's claim about its own criteria, divided by the criteria it wrote -- which is why findings carried 0.95 while being refutable by reading one file. An absent score now stays absent, per the project rule that a score must come from a tool's rating or a structured model response.

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/p0-critical
    on Sep 22, 2026
  3. dan-petty commented on Sep 25, 2026

    @dan-petty
    OwnerAuthor

    Closed by #574, merged into release/v0.2.23.

    GitHub only acts on closing keywords when a pull request merges into the default branch, so this was closed by devops gh issues close-merged.

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/p0-criticalscope/clitype/feature

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions