feat(e13-wsb): CaptureReceipt — universal bind-purpose-before-f() primitive - #282
Open
mdheller wants to merge 1 commit into
Open
feat(e13-wsb): CaptureReceipt — universal bind-purpose-before-f() primitive#282mdheller wants to merge 1 commit into
mdheller wants to merge 1 commit into
Conversation
…efore-f() primitive Generalizes TwinAttestation.envelope.authorization into a domain-agnostic capture-time receipt. Purpose is provably unrecoverable from the signal (I(purpose;Q)=0), so it must be bound BEFORE the transform runs, at capture. Fail-closed disposition; ties reversibilityFloorBits to WS-D. Adds schemas/CaptureReceipt.json, examples/capture_receipt.json (admitted), examples/capture_receipt_refused.json (refused), an invariant validator wired into make validate, and ADR-0019.
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.
Epoch E13 / WS-B — CaptureReceipt
Lands the keystone capture-time receipt as a universal primitive. It generalizes
TwinAttestation.envelope.authorization(already onmaininschemas/TwinAttestation.json) into a domain-agnostic object that binds a declared purpose + authorization to a datum before the transformf()that consumes it runs.Why bind at capture
The reidentification-economy result: purpose is provably unrecoverable from the signal —
I(purpose; Q) = 0between a purpose bit and a quasi-identifier-bearing signalQ. Purpose cannot be inferred post-hoc, so it must be sealed at capture or it is gone.CaptureReceiptis that seal.Contract
declaredPurpose,authorizationProof,boundBeforeTransform: true(all required) gate a namedtransform, optionally bound against acontextRef(reference-at-ingest / VRF).disposition ∈ {admitted, refused, inert}: no valid purpose+proof ⇒ cannot beadmitted.reversibilityFloorBitsties WS-B to WS-D (ReversibilityDistance).Machine-checked invariants (beyond schema)
idstarts withurn:srcos:capture-receipt:boundBeforeTransformis exactlytruedeclaredPurposeORauthorizationProof⇒ disposition must berefused/inertdispositionin the closed enumFiles
schemas/CaptureReceipt.jsonexamples/capture_receipt.json(admitted) ·examples/capture_receipt_refused.json(refused)tools/validate_capture_receipt_examples.py(wired intomake validate)docs/adr/0019-capture-receipt.mdVerification
🤖 Generated with Claude Code