Skip to content

Two evidence classes are unproducible, and a run may still be told it satisfied them #13

Open

Description

@krapcys1-maker

Two of the seven evidence classes cannot be produced by any code path, and a run may require them, be told its coverage is complete, and report a negative against a bar nothing could clear.

The classes

EXTERNAL_MEASURED — maxEvidenceClassForSource deliberately demotes it to CODE_VERIFIED at claim level, and the reasoning is sound: a benchmark existing in a repository is not a measurement tied to a particular claim.

REPO_ARTIFACT_VERIFIED — its only route is the artifact depth LOCALLY_REPRODUCED, which appears in the ARTIFACT_DEPTHS literal and in comments, and is assigned by no code path. code-inspection.ts can emit at most BENCHMARK_FOUND.

Observed

Run cmtg7821u required CODE_VERIFIED and EXTERNAL_MEASURED. Its stored report:

sourceCoverage.complete: true
verdict: "COVERAGE_COMPLETE"
gapSummary: "all required sources were searched"
github: completed=true, documentsFound=3, verifiedArtifacts=0

Three NO_CANDIDATE_FOUND verdicts passed the target gate on that basis, with zero repositories read.

Partly fixed

assessSourceCoverage is now class-aware. CLASS_PRODUCING_ACT names what actually produces each class; a required class with no producing path yields UNOBTAINABLE_EVIDENCE_CLASS, and requiring CODE_VERIFIED without any inspection reaching CODE_INSPECTED yields REQUIRED_CLASS_NOT_OBTAINED. Both set complete = false, so the target gate fires.

Still open

  1. verifiedArtifacts is never written by any product code. literature.ts omits it from every RetrievalPassRecord; source-coverage.ts sums it to 0; meta-review.ts prints verifiedArtifacts=0 in the report's coverage table next to completed=yes. A field that is permanently zero and always displayed is worse than absent — write it for real or remove it.
  2. meetsClass is exported and used nowhere in product code. Nothing at runtime ever asks "did we obtain the class this run required?" The new coverage check answers it for CODE_VERIFIED only.
  3. Decide what to do about the two unproducible classes. Either implement a path to them — LOCALLY_REPRODUCED would mean actually running a repository's benchmark — or remove them from what a run is allowed to require, so the request cannot be made in the first place.

Activity

  1. added
    evidence-inflation
    silent-failure
    on Aug 31, 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

    evidence-inflationsilent-failure

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions