Repository navigation
Description
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
verifiedArtifactsis never written by any product code.literature.tsomits it from everyRetrievalPassRecord;source-coverage.tssums it to 0;meta-review.tsprintsverifiedArtifacts=0in the report's coverage table next tocompleted=yes. A field that is permanently zero and always displayed is worse than absent — write it for real or remove it.meetsClassis 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 forCODE_VERIFIEDonly.- Decide what to do about the two unproducible classes. Either implement a path to them —
LOCALLY_REPRODUCEDwould 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