Repository navigation
Closed
Labels
area:qaQAarea:schemaSchemaphase:migrationIncremental migration toward target architecturetheme:evidence-trustEvidence trust, reproducibility, privacy, and witness metadatatheme:verifiabilitySchema-native proof and evidence architecturetype:testTests
Description
Parent
Part of #330. Depends on #192.
Context
Fixtures and live archive probes should not be arbitrary path-dependent artifacts. A durable fixture should be either generated from schema/corpus controls, an external compatibility witness, a golden surface snapshot, or a minimized bug witness. Live archive failures are useful when they become privacy-safe, reduced, replayable witnesses.
Scope
Add evidence trust and witness lifecycle support:
EvidenceEnvelope.trustrecords code revision, dirty state, schema version, provider schema digest, input fingerprint, environment fingerprint, runner version, freshness, and origin.- Runner environment contracts record controlled and uncontrolled dimensions: timezone, locale, terminal width/color mode, random seeds, clock policy, filesystem ordering, SQLite features, feature flags.
- Live-derived evidence records whether private material was observed, transformed, redacted, discarded, or retained.
- Witnesses begin in
.local/witnesses/new/, then accepted minimized witnesses move to committedtests/witnesses/. - Minimization preserves declared semantic facts, not arbitrary byte shape.
Acceptance criteria
- Evidence envelopes include trust metadata for at least one runner family.
- Catalog self-quality exposes missing trust metadata and nondeterministic runner dimensions.
- Live-derived witnesses require privacy/redaction metadata before commit.
- At least one existing fixture or raw regression is classified by provenance.
- At least one witness records preserved semantic facts and minimization status.
- Known failing witnesses become
xfail(strict=True)with linked issue or are rejected with explanation.
Metadata
Metadata
Assignees
Labels
area:qaQAarea:schemaSchemaphase:migrationIncremental migration toward target architecturetheme:evidence-trustEvidence trust, reproducibility, privacy, and witness metadatatheme:verifiabilitySchema-native proof and evidence architecturetype:testTests
Activity
[-]test: classify fixture provenance and live-reduction witnesses[/-][+]test: add evidence trust, privacy-safe witnesses, and minimization[/+]Sinity commentedon Apr 22, 2026
Implementation checkpoint before PR:
polylogue/proof/witnesses.pyplus committed witness metadata fortests/data/golden/tool-use-json.md; committed live-derived witnesses require privacy handling, preserved semantic facts, minimization status, and strict handling for known-failing witnesses.Verification:
test: add evidence trust witnesses
Sinity commentedon Apr 22, 2026
Closed by PR #345: #345
Squash merge:
1e42dbf0aded840bf309e10d6b2d503172a27102Verification before merge:
Remote checks green at merge time: PR policy, GitGuardian, lint, typecheck, showcase verify, Nix build/check, and CodeQL. Python matrix jobs were still in progress without actionable failures; merged based on the clean full local gate and the CI-quota guidance.
test: add evidence trust witnesses (#345)
test: add evidence trust witnesses (#345)
test: add evidence trust witnesses (#345)
test: add evidence trust witnesses (#345)