You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue attestation v2 over the complete ordered user/tool context immediately before sending and verify the provider wire body against that exact subject.
Append-time admission protects storage; provider-context admission protects the model and is the only operation that issues an attestation.
Stateless design is required; Phase 2b ledger is optional and not part of this issue.
Scope
Runtime adapter: derive full ordered entries, admit provider_context, apply per-index replacements, and bind handle lookup to the final admitted context.
Egress Gate: add provider-context adapter; attestation v2 subject hash/count; adapters derive all user/tool entries from Chat Completions and Responses bodies; verify before and after gate mutations; append-time allows return empty attestation.
OpenShell: allow an admission allow with empty attestation to return no handle.
Shared golden vectors pin JS/Python context-entry derivation.
Objective
Issue attestation v2 over the complete ordered user/tool context immediately before sending and verify the provider wire body against that exact subject.
Context
Scope
provider_context, apply per-index replacements, and bind handle lookup to the final admitted context.allowwith empty attestation to return no handle.Acceptance Criteria
Required Validation
Research
make check; JS golden-vector tests; focused OpenShell bridge tests; current Pi admission tests andnpm run check.PR Expectations
Reviewer notes must reproduce the canonical entry derivation and hash/count checks, and state the intentional assistant/system exclusions.