Skip to main content

Historical proposal: This preserved draft predates the WASIX 01 response-proof pilot. See the SDK integration page for the current implementation. Send feedback on GitHub.

From admission to a protected response

The following sequence is a proposed general orchestration. Each step must be mapped to the actual profile. W1 uses its defined signatures and control records; it does not acquire new circuit-message fields merely by following this sequence.

  1. Establish trust and capabilities. Choose the exact profile, configured origin, resource, issuers, appraiser, state authority and proof method. Compare advertised capabilities against local policy. Fail closed on unknown versions and unsupported semantics.
  2. Prepare root. Generate a fresh unpredictable single-use challenge and candidate key. Canonicalize the exact root terms and show the person the destination, action set, purpose, delegation right, lifetime and ceilings. For an autonomous origin, verify its configured certificate and clearly identify its origin type.
  3. Admit. Verify the approval or origin certificate, candidate possession, appraisal, exact terms and current policy. Consume the challenge and register the signed root in one authoritative decision. A changed key or policy needs a new appropriate authorization.
  4. Mint child. Form restricted terms. Verify the current parent's signed request and the new child's signed join over the same terms. Validate all ancestors, appraisal, budgets and issuance idempotency. Sign and register the child before enabling its handle.
  5. Prepare intent. Construct typed intent from the actual resource, operation, arguments, input octets, audience, recipient and expected unit cost. Compute the profile-specific input and intent digests. Retain stable operation identity before sending.
  6. Prove and sign. Construct the fresh attempt and obtain an authenticated, unpredictable challenge where the profile requires it. The circuit and verifier bind the exact attempt, actor, policy, audience, expiry and challenge. The holder signs the prescribed request. Publish only the permitted proof and policy evidence.
  7. Reserve or acquire certificate. The state authority authenticates the request, checks active lineage and policy, and atomically orders available units and operation uniqueness. Obtain the profile's short-lived permit or certificate. A signed statement that does not match the actual request cannot authorize it.
  8. Present and independently check. Deliver the exact request with profile-specific signed HTTP components or a protected local envelope. The receiver verifies its own trust, signatures, exact body and route, lineage, proof where applicable, and live current state. WASIX check does not spend the certificate. A custodian's control call is separately authenticated under its control policy and terminates at the ledger without recursive callbacks.
  9. Enforce and commit. At the real resource boundary, recheck the resource policy, current fence, time and claim. For WASIX the designated custodian redeems as specified; a retry of the winning redemption ID returns the original decision. Apply one effect and durable observation atomically, or use equivalent downstream idempotency. A redemption is an execution claim, not the effect itself.
  10. Respond and settle. The resource signs the actual durable observation or no-effect closure and sends the profile's response bound to the original request. Verify the response before release to the caller. Settle once on matching evidence. If no effect can be proven or excluded, keep the reservation uncertain. A timeout does not release it.
  11. Inspect, inquire, revoke or recover. Use separately authorized inspection and lookup. Order revocation at the state authority and enforce observed fences. After restore, hold new effects until latest independent checkpoint, authority history and resource journals reconcile; activate exactly the authorized next epoch, retaining spent and revoked state.

A response might arrive after a grant is revoked. The resource evidence is still an assertion about the earlier actual effect; disclosure to a later reader requires its own authority. Do not equate late acknowledgment time with commit time.