Add evidence classes: mechanism, measured scope, and environment - #16
Merged
Conversation
The end state's second commitment: a scalar tier cannot express what a
policy floor needs ("this path requires a T2 adversarial pair and an
integration probe"). Evidence now carries three class fields, each
honest about its provenance:
- Mechanism: set by every runner from its own identity, including on
early returns, so a policy engine never parses probe ids.
- Scope: the MEASURED execution footprint of an instrumented run —
single-package or cross-package from the coverage profile's executed
blocks; empty means unmeasured, never assumed.
- Environment: the toolchain the probe ran under, measured once per
process from the `go` that executes the probes (a go.mod toolchain
directive is honored); empty when unmeasured.
Schema 0.0.9.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015GeUG1gboWiZSnFyzQghyp
correctful receipt3 claims — ✅ 3 verified · ❌ 0 refuted · Change:
|
| Tier | Claim | Statement |
|---|---|---|
| T1-assertion | TestEvidenceCarriesMechanismAndEnvironment |
Evidence Carries Mechanism And Environment |
| T1-assertion | TestScopeOfProfile |
Scope Of Profile |
| T1-assertion | TestScopeMeasuredThroughDispatcher |
Scope Measured Through Dispatcher |
Harvest coverage: 8 files — 3 claimed · 5 scanned · 0 unread
3 spec-id mention(s) not minted as claims — the repo defines no spec-id corpus, so a reference has no possible referent
schema 0.0.9 · exit gate: refuted claims block; the remainder informs, never fails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Evidence gains three class fields for future policy floors:
mechanism(set by every runner from its own identity),scope(measured execution footprint from the coverage profile — single-package / cross-package / unmeasured), andenvironment(the measured probe toolchain). Schema 0.0.9. Covered by unit tests and real-module dispatcher runs, including a two-package fixture proving cross-package classification.🤖 Generated with Claude Code
https://claude.ai/code/session_015GeUG1gboWiZSnFyzQghyp