Outputs and manifests¶
Every command that writes results writes one directory, <out>/<kind>-<id>/ (default --out: ./credencestack-out/), and points <out>/latest-<kind> at it (a symbolic link, or a LATEST-<kind> text file where links cannot be made). Ids are <kind>-<YYYYMMDD>-<6 base32>. Kinds: run, generate, bench, brittleness, env-export, export, test.
Each directory holds manifest.json in the credencestack.evidence/v1 format (schemas/manifest.schema.json), which lists every other file with its SHA-256; the Merkle root over those hashes is what signature.json signs.
manifest.json¶
| Field | Type | Meaning |
|---|---|---|
schema |
string | Always credencestack.evidence/v1. |
kind |
run | generate | bench | brittleness | env-export | export | test |
What wrote the directory. |
id |
string | <kind>-<YYYYMMDD>-<6 base32>, the directory's name. |
created_at |
string | When the output was finished (UTC, ISO 8601). |
credencestack_version |
string | The CredenceStack version that wrote it. |
settings |
object | The resolved settings, secrets removed. |
environment |
Environment | Python, platform, packages and git state. |
inputs |
Inputs | What the output came from. |
outputs |
list of OutputFile | Every other file, with its SHA-256. |
merkle_root |
string or null | Merkle root over the outputs' (path, SHA-256) pairs. |
otel |
OtelRef or null | The traces, when telemetry was on. |
visibility |
public | confidential |
confidential if any content inside is. |
run |
RunSection or null | kind: run details. |
generation |
object or null | kind: generate details: counts, rejections, seed. |
bench |
object or null | kind: bench details: configurations, spend. |
brittleness |
object or null | kind: brittleness details: levels, gaps, spend. |
env_export |
object or null | kind: env-export details: tasks and answers. |
export |
object or null | kind: export details: what was redacted. |
test |
object or null | kind: test details: the agent, the tool map, the packs and the results. |
OutputFile¶
One file in the output directory.
| Field | Type | Meaning |
|---|---|---|
path |
string | POSIX path relative to the output directory. |
sha256 |
string | Hex SHA-256 of the file. |
bytes |
integer | Size in bytes. |
redacted |
boolean | Withheld from this copy (confidential); hash kept. Omitted when false. |
Inputs¶
What the output was produced from.
| Field | Type | Meaning |
|---|---|---|
packs |
list of PackInput | |
profiles |
list of ProfileInput | |
seed |
integer or null | The master seed. |
seed_drawn |
boolean | True when --seed fresh drew it. |
connector |
string or null | |
agent |
string or null | |
models |
list of string | |
epochs |
integer or null | |
runtime_sources |
list of string | |
config |
string or null | Benchmark file: its name and SHA-256 (name@sha256). |
source |
string or null | The output id an export copies. |
PackInput¶
A pack that was used.
| Field | Type | Meaning |
|---|---|---|
name |
string | |
version |
string | |
digest |
string | SHA-256 over the pack's scenario and fixture files. |
visibility |
public | confidential |
|
scenarios |
list of string |
ProfileInput¶
An authority profile, mandate bundle or domain policy the output was graded against.
kind is profile, mandate or policy.
| Field | Type | Meaning |
|---|---|---|
path |
string | Copy inside the output directory. |
kind |
string | |
id |
string | |
version |
string | |
sha256 |
string | |
scenarios |
list of string |
Environment¶
Where it ran.
| Field | Type | Meaning |
|---|---|---|
python_version |
string | |
platform |
string | |
packages |
object | |
git_commit |
string or null | |
git_dirty |
boolean or null |
OtelRef¶
Where the output's traces are (telemetry on).
| Field | Type | Meaning |
|---|---|---|
trace_id |
string | The root trace id (hex). |
ids_file |
string | The sidecar with every trace and span id. |
RunSection¶
kind: run: timing and the seed of every epoch.
| Field | Type | Meaning |
|---|---|---|
started_at |
string | |
finished_at |
string | |
seeds |
object | Seed of every epoch, by scenario. |