Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion benchmark.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Our row is the policy module the live service runs, pinned by hash, on the maint
| [Permission revoked](https://proofable.me/proof/0xb84a54c04bb32a65c327f2045c6c53d262775050e1b52672b14f2b9eecdfee01) | Stopped; no job created |
| [Permission expired](https://proofable.me/proof/0xb0dc6b40444f41635e4c0d06ad71ced9ce6ce00cbce79490ff77d7eddc6519d9) | Stopped; no job created |
| [Revoked permission reused](https://proofable.me/proof/0x308df7fa625b481429069cc72a3288b1661d10146fc19b9d0533ea54243a1fdd) | Stopped every time |
| [Revoked mid-job](https://proofable.me/proof/0x45606ad5d655a20abb838440cae024353b31a4a9a611680c152e2ff6e325b793) | The running job stopped with its reason, and the next one was refused. This run did not measure how fast the stop came; by design a running job stops if it cannot confirm its permission for 60 seconds |
| [Revoked mid-job](https://proofable.me/proof/0x45606ad5d655a20abb838440cae024353b31a4a9a611680c152e2ff6e325b793) | The running job stopped with its reason, and the next one was refused. While a job runs its permission is re-read every 15 seconds, two reads in a row that no longer permit it stop the run, and 60 seconds without a confirmation stops it fail closed. In this run the stop came 18 seconds after the revocation write; one sample, so no bound is claimed. |

Reviewers in the AgenTrust integrations project [verified the records offline](https://github.com/agentrust-io/integrations/issues/333#issuecomment-6414048198) on their own machines. Every checksum matched and every signature verified. In the AAIF Observability & Traceability working group, a reviewer [checked](https://github.com/aaif/wg-observability-and-traceability/issues/66#issuecomment-6796089967) that the verifier binds each test to its own records and rejects all eight altered copies. Rerun all eight on your own account with [Run the chain](/run-the-chain#run-it-end-to-end).

Expand Down
11 changes: 8 additions & 3 deletions run-the-chain.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,10 @@ with hashes, so the pointer survives export.
- 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.
old that read may get while the job runs (60 seconds), so the age is checked from the record. While the
job runs its grant is re-read every 15 seconds; two consecutive reads that no longer permit the action
stop the run, and a grant that cannot be confirmed for 60 seconds stops it fail-closed with a typed
reason.
- The signed receipt carries `authorityDecisionQHash`, the decision the job ran under. A reader goes from
the receipt to the decision with no other source.

Expand Down Expand Up @@ -101,8 +104,10 @@ Published runs, with the records and a script that verifies every envelope in th
- The effect at a target you control. Records state effects as the service observed them at the job
boundary. A readback taken at a target outside that boundary is a separate observation, and the kit's
URL fetch is where to add one.
- How long a revocation takes to reach the check. A job running when its permission is revoked is
stopped with a typed reason, and the next dispatch is refused. No bound on that delay is claimed.
- How long a revocation takes to reach the check. A job running when its permission is revoked is stopped
with a typed reason, and the next dispatch under that grant is refused. One sample exists: in the 2
November record a running job stopped 18 seconds after the revocation write. No bound is claimed from a
single sample.

## Build on it

Expand Down