Agent-readyprovenance.md
ChatGPTClaude

Provenance: What Produced This Score

A score without provenance is a rumour. Every rollout writes a run.json that records the exact engine build, agent plugin, resolved command, environment, and configuration hash behind the number, so a result can be audited and reproduced instead of re-litigated.


run.json

rollouts/<run-id>/run.json is written once per rollout. Its fields:

Field Meaning
schema_version Version of the provenance document itself.
engine version + commit The Shipyard engine build that executed the rollout.
CLI version + commit The CLI build that invoked it.
Go version The Go toolchain the binary was built with.
plugin The agent plugin that ran (for example claude-code, langgraph, openai).
resolved command The actual command line after flags, manifest, and defaults were merged.
model The model the agent used, when one applies.
harness_version Best-effort version of the agent harness itself, for example claude 2.1.3. Recorded when the harness can report it; omitted otherwise.
environment type, image, image_id, and dockerfile as resolved for this run.
config_hash Digest of the resolved execution configuration.
suite_digest Digest of the bound eval definition this run measured.
timestamps When the rollout started and finished.

An abbreviated example:

{
  "schema_version": "1",
  "engine_version": "0.0.2",
  "engine_commit": "4f2c9d1",
  "cli_version": "0.0.2",
  "cli_commit": "4f2c9d1",
  "go_version": "go1.22.5",
  "plugin": "claude-code",
  "command": "claude --print 'Follow instruction in instruction.md'",
  "model": "claude-sonnet-4-5",
  "harness_version": "claude 2.1.3",
  "environment": {
    "type": "docker",
    "image": "shipyard-eval-fix-memory-leak",
    "image_id": "sha256:1f0a...",
    "dockerfile": "environment/Dockerfile"
  },
  "config_hash": "sha256:9e1c...",
  "suite_digest": "sha256:77ab...",
  "started_at": "2026-10-15T08:00:03Z",
  "finished_at": "2026-10-15T08:00:51Z"
}

config_hash vs suite_digest

They answer different questions and both matter:

  • suite_digest covers the eval definition: eval.toml minus the [[agent]], [gate], and [redaction] blocks; instruction.md; tests/**; environment/**; and evalset.toml minus [gate] and repeat. It is the same-suite binding used by compare: if this digest moved, the test changed.
  • config_hash covers how the run was executed: the resolved agent plugin and command, model, environment type, image or Dockerfile, mount, and repeat count. Two machines with the same resolved config produce the same config_hash, so runs from different hosts can be compared and deduplicated cleanly. It does not include timestamps.

A prompt change moves suite_digest. A flag change, an agent swap, or a new base image moves config_hash. Both end up in the same run.json, and aggregate.json carries definition_digest plus definition_files with a per-file hash for every file behind the binding digest.

Tracing a rollout to the engine commit

When a score looks wrong, the first question is "which build produced it?" run.json answers with the engine version and commit, the CLI version and commit, and the Go toolchain. Two rollouts that disagree about the same eval are only comparable when those agree too; if they do not, you are comparing engine builds, not agents.

The same data is what makes bug reports actionable: a reproduction can name the exact commit instead of "latest".

Harness version capture

harness_version is best effort. When an agent CLI exposes its version, the harness records it (for example claude 2.1.3); when it does not, the field is absent rather than guessed. That is deliberate: provenance is only useful if it never invents a value.

Two machines, one hash

config_hash is computed over the resolved configuration, not the machine. A laptop, a CI runner, and a remote VPC worker that run the same eval with the same agent, model, and environment all produce the same config_hash, even though their timestamps differ. Compare and the released CI templates use this to tell "same setup, different host" apart from "different setup".

Where provenance is consumed

  • shipyard compare output and the CI gate report, when a regression needs attribution.
  • Sticky PR comments and JUnit output, where run.json fields become the diagnostic line attached to a failing eval.
  • Baseline and results files carry the suite_digest forward, so a baseline can always be traced back to the run that produced it via source_run_id.

See Rollouts & ATIF for the surrounding files and Costs & tokens for how usage is recorded alongside provenance.