Skip to content

[Performance] Add evidence-based selective verification reruns #29

Open

Description

@Rwanbt

Problem

Every evaluation re-runs all declared verifications, including ones whose
inputs provably did not change since their last run. Like the reusable
evidence decision, selective reruns were deliberately set POST-V1
(SELECTIVE_RERUN = POST-V1 in FINAL-QUALIFICATION-PACKET.md): 8 of 12
re-runs in the H01 measurement were redundant, wasting about a second - real
but small.

Expected outcome

Evidence-based selective reruns: a verification is re-executed only when
something it depends on changed (repository snapshot, spec digest, scope
files), and the decision is recorded alongside the verdict.

Acceptance criteria

  • A cost measurement on a representative project before any design commitment (same bar as the reusable evidence issue)
  • Dependency definition per verification: which digests and paths make a rerun necessary - conservative by default, opt-in strictness
  • Every skipped rerun is recorded in the run record with the exact reason (which digest matched), so an audit trail can always reconstruct why
  • A documented false-risk analysis: what could make a skipped rerun wrong, and the test proving it cannot happen
  • The decision "re-run everything" must remain available and explicit

Context

  • The original decision: FINAL-QUALIFICATION-PACKET.md, "Scalability decision"
  • ainative_workplane/runner.py, evaluator.py, snapshot.py - current execution and snapshot model
  • Pairs with the reusable attested evidence issue; both need the same cost measurement

Out of scope

  • Any path that could let a verdict be produced without evidence
  • Selective reruns of trust bootstrap or approval ceremonies

Activity

  1. added
    type:feature
    priority:P3
    on Sep 5, 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:P3type:feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions