Skip to content

Add evidence classes: mechanism, measured scope, and environment - #16

Merged
joshft merged 1 commit into
masterfrom
evidence-classes
Aug 17, 2026
Merged

Add evidence classes: mechanism, measured scope, and environment#16
joshft merged 1 commit into
masterfrom
evidence-classes

Conversation

@joshft

@joshft joshft commented Aug 17, 2026

Copy link
Copy Markdown
Owner

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), and environment (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

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
@github-actions

Copy link
Copy Markdown

correctful receipt

3 claims — ✅ 3 verified · ❌ 0 refuted · ⚠️ 0 unverified

Change: origin/master...HEAD (fa2cb16..48e827a · input:2a057c62b3cd) — 8 files

⚠️ Unverified remainder (0) — what nothing checked

Empty — every harvested claim reached a probe.

✅ Verified (3)
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

@joshft
joshft merged commit 11bfbbf into master Aug 17, 2026
1 check passed
@joshft
joshft deleted the evidence-classes branch August 18, 2026 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant