Skip to content

Module reference

One page per package. Each has the package's responsibilities and non-goals, its public API (signatures and purposes generated from the code; errors and effects from the docstrings and the hand-written notes file), input and output examples produced by running examples/dev/*.py, invariants and gotchas, and where its tests are. The file index covers every file.

Package What it does
core Shared models: scenarios, packs, trace events, findings, results, pillars, visibility
authority Authority profiles and the deterministic grader
packs Finding, loading and validating packs and scenarios
env The simulated back office and its clock
faults Fault wrappers for the environment's tools
control The kill switch and the rate observer
connectors The connector protocol, registry, framework connectors and conformance kit
agents Scripted and LangChain reference agents
runner Episodes, seeds, and packs through Inspect
graders Scorers, the expected-outcome check, statistics, the advisory judge
metrics Human-oversight and controllability metrics
evidence Bundles, mappings, the report, export and the CI gate
verifiable Canonical JSON, hash chains, Merkle root, signing, verification
integrations Runtime decision logs and reconciliation
bench The benchmark harness
CLI Every credencestack command