You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
workspace: agent-run statement signed by a runner or steward key (DSSE) #3192
#2553 shipped DSSE runner evidence for CI and service identities and handed the agent-run statement back to #3037. This issue is that statement: harness, model and run record hash, signed by a runner or steward key, verified with #2547's attestors.
The signing keys are the runner keys .chant/trust.json lists at base under runners, not entries in .chant/allowed_signers. ws-069 already rejected machine keys in the signers file and refuses a runner key that the signers file lists, so a run statement follows runner evidence: same envelope, same keys, same refusal codes. A steward or lobby lists its key there with class service.
The statement is an in-toto Statement v1, predicate type https://intentius.io/chant/agent-run/v1. Subjects are the run's commits (gitCommit, patch-id as an annotation). The predicate holds the signer, the run id with the SHA-256 of the canonical JSON of its start and end lines, the unit, harness, model, provider and by (studio-036 b). Hashing the two lines rather than the file lets the file gain statement lines without changing what was signed.
It is stored as a statement line in _agent-runs/<id>.jsonl after the end, and only an ended run can be signed. An older chant reading the ledger counts that line as malformed until it upgrades.
Commands: runs sign <id> --key <pem>, runs statement <id> --signer <principal> then runs sign <id> --envelope <file|-> for a key held elsewhere (studio-034 a), and runs verify [<id>] [--require signed]. runs --json carries record, statements, attestation per run and trust for the document. workspace verify treats a commit a verified statement names as attested by agent-run, and --require attested-runs requires that only of commits a run made. Without --require both report and fail nothing (studio-035 d).
Activity
lex00 commentedon Oct 4, 2026
Design as built in #3413, recorded as ws-090.
The signing keys are the runner keys
.chant/trust.jsonlists at base underrunners, not entries in.chant/allowed_signers. ws-069 already rejected machine keys in the signers file and refuses a runner key that the signers file lists, so a run statement follows runner evidence: same envelope, same keys, same refusal codes. A steward or lobby lists its key there with classservice.The statement is an in-toto Statement v1, predicate type
https://intentius.io/chant/agent-run/v1. Subjects are the run's commits (gitCommit, patch-id as an annotation). The predicate holds the signer, the run id with the SHA-256 of the canonical JSON of its start and end lines, the unit, harness, model, provider andby(studio-036 b). Hashing the two lines rather than the file lets the file gain statement lines without changing what was signed.It is stored as a
statementline in_agent-runs/<id>.jsonlafter the end, and only an ended run can be signed. An older chant reading the ledger counts that line as malformed until it upgrades.Commands:
runs sign <id> --key <pem>,runs statement <id> --signer <principal>thenruns sign <id> --envelope <file|->for a key held elsewhere (studio-034 a), andruns verify [<id>] [--require signed].runs --jsoncarriesrecord,statements,attestationper run andtrustfor the document.workspace verifytreats a commit a verified statement names as attested byagent-run, and--require attested-runsrequires that only of commits a run made. Without--requireboth report and fail nothing (studio-035 d).feat(workspace): agent-run statement signed by a runner or steward ke…