Skip to content

workspace: agent-run statement signed by a runner or steward key (DSSE) #3192

Closed

Description

@lex00

#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.

Depends on #3033. Part of #3037.

Activity

  1. added
    area:workspace
    provenance
    on Oct 2, 2026
  2. lex00 commented on Oct 4, 2026

    @lex00
    ContributorAuthor

    Design as built in #3413, recorded as ws-090.

    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).

  3. added a commit that references this issue on Oct 4, 2026
    32998dc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:workspaceprovenance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions