From 229eee5048e8bb0c2b5241dd5ccffa8a2b5b95c1 Mon Sep 17 00:00:00 2001 From: chrisjleal <184772742+chrisjleal@users.noreply.github.com> Date: Mon, 16 Nov 2026 23:22:03 -0600 Subject: [PATCH 1/2] Run the chain: the receipt names its decision, and the decision its read time Co-Authored-By: Claude Opus 5.5 --- run-the-chain.mdx | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/run-the-chain.mdx b/run-the-chain.mdx index 82d752b..1407924 100644 --- a/run-the-chain.mdx +++ b/run-the-chain.mdx @@ -17,8 +17,8 @@ it, so the chain can be rebuilt from the records alone on any machine. | 1. Human | A verification proof for the person | The controller wallet, the check that ran, and its verifier | [Verification](/verification) | | 2. Agent | An agent identity proof | The agent id, its wallet, and the controller it answers to | [Agent identity](/agents/agent-identity) | | 3. Authority | A delegation proof | Scope, spend cap, expiry, and the agent it binds | [Delegation](/agents/agent-delegation) | -| 4. Decision | An authority decision, before the job exists | The principal, the agent, `delegationQHash`, `agentIdentityQHash`, and `argsDigest` over the request exactly as sent | [Jobs](/jobs) | -| 5. Receipt | A terminal receipt | The `jobId`, the prompt, the acceptance criterion, every tool call with its target, and the returned text | [Proofs](/proofs) | +| 4. Decision | An authority decision, before the job exists | The principal, the agent, `delegationQHash`, `agentIdentityQHash`, `argsDigest` over the request exactly as sent, when the grant was read (`statusReadAtMs`) and the maximum status age (`maxStatusAgeMs`) | [Jobs](/jobs) | +| 5. Receipt | A terminal receipt | The `jobId`, the decision it ran under (`authorityDecisionQHash`), the prompt, the acceptance criterion, every tool call with its target, and the returned text | [Proofs](/proofs) | ## The joins are hashes @@ -29,12 +29,13 @@ with hashes, so the pointer survives export. agent that produced it. - `argsDigest` is a `sha256` over the request as sent, so a reader holding the decision can recompute what was authorized without trusting a log. -- The job record carries the `terminalQHash` of the signed receipt for that execution, and the same - `delegationQHash` and `agentIdentityQHash` the decision named. +- `statusReadAtMs` and `maxStatusAgeMs` inside the signed decision say when the grant was read and how + old that read may get while the job runs (60 seconds), so the age is checked from the record. +- The signed receipt carries `authorityDecisionQHash`, the decision the job ran under. A reader goes from + the receipt to the decision with no other source. -The decision is recorded before the job exists, so its own `jobId` is `null`. The create response -returns the `jobId` and the decision `qHash` together, and the two hashes above tie the decision to the -job record without it. +The decision is recorded before the job exists, so its own `jobId` is `null`. The receipt points back +to it instead. An external reviewer or another agent can audit a run they did not make without reading our database. From b6a40fe14eecae1be96831e86d67cdb8fedada3a Mon Sep 17 00:00:00 2001 From: chrisjleal <184772742+chrisjleal@users.noreply.github.com> Date: Mon, 16 Nov 2026 23:51:58 -0600 Subject: [PATCH 2/2] Keep the job-record join beside the new receipt join Co-Authored-By: Claude Opus 5.5 --- run-the-chain.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run-the-chain.mdx b/run-the-chain.mdx index 1407924..350a064 100644 --- a/run-the-chain.mdx +++ b/run-the-chain.mdx @@ -29,6 +29,8 @@ with hashes, so the pointer survives export. agent that produced it. - `argsDigest` is a `sha256` over the request as sent, so a reader holding the decision can recompute what was authorized without trusting a log. +- The job record carries the `terminalQHash` of the signed receipt for that execution, and the same + `delegationQHash` and `agentIdentityQHash` the decision named. - `statusReadAtMs` and `maxStatusAgeMs` inside the signed decision say when the grant was read and how old that read may get while the job runs (60 seconds), so the age is checked from the record. - The signed receipt carries `authorityDecisionQHash`, the decision the job ran under. A reader goes from