Skip to content

feat: add semantic model-evidence projection - #3

Merged
sneakocom merged 1 commit into
mainfrom
feat/model-evidence-projection
Sep 7, 2026
Merged

sneakocom merged 1 commit into
mainfrom
feat/model-evidence-projection

Conversation

@sneakocom

@sneakocom sneakocom commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

Problem

The compatible canonical evidence packet includes audit/provenance metadata. A downstream repair consumer needs a supported semantic-only representation rather than silently inventing a second packet shape.

Behavior

Adds opsle.context-firewall.model-evidence/v1, modelEvidenceForPacket(), serializeModelEvidence(), and the optional --model-evidence sidecar. The projection preserves the packet operation identity and byte-identical decision evidence while excluding the packet receipt. Existing packet stdout, receipt, classification, retention, hashes, and escalation remain compatible.

Validation

  • Reviewed head: 31159627ef42c748ccafd8dbda5c68ec99b69978.
  • Local npm run check, 43/43 tests, and all 30 conformance fixtures passed.
  • GitHub CI test: passed at the reviewed head.
  • The dependent Tasks proof submitted this projection to a real Codex repair invocation and retained the full packet separately.

Limits

The legacy producer measurement still describes canonical packet stdout. Downstream delivery must be measured by the consumer. This PR makes no general model-quality, token, cost, or causal-savings claim.

Dependency order

Merge after Gearbox PR opsle/gearbox#2. The Tasks integration must wait for both dependency PRs.

@sneakocom
sneakocom marked this pull request as ready for review September 7, 2026 00:22
@sneakocom
sneakocom merged commit f09d715 into main Sep 7, 2026
1 check passed
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