Proposal: This page presents the draft API and profile model. Send feedback on GitHub.
An end-to-end example at a glance
A human approves a root for the month-close purpose. Its policy permits reading monthly-total for project p7, permits a total of ten credits, and permits at most six credits per operation. The root delegates a narrower six-credit, depth-zero policy to reader-1. That reader requests operation op-42. The resource reserves six credits, redeems the permit, records one result row, and returns {"total":42} with a separately challenged response proof.
Human -> approval -> admission issuer -> root grant
Root -> parent request + child join -> delegation issuer -> child grant
Reader -> intent + attempt -> request challenge -> request proof -> signed request
State authority -> permit -> resource verification -> redemption -> one resource row
Resource -> outcome + result -> response challenge -> response proof -> signed response
Client -> verify response and result -> use result
Auditor -> signed events + independently retained checkpoint -> qualified audit
The vectors present all objects in this order under named keys. Use only their public fixtures in tests:
node examples/build-vectors.mjs
The program writes examples/synthetic-vectors.json and checks its own 24 Ed25519 signatures and selected digest links, including modified signed context and changed response bytes. It does not run a native circuit, enforce a real policy, operate a service, persist a ledger, or exercise concurrent transactions. Re-running the generator deterministically overwrites only its own synthetic vector file.