Skip to content

Developer documentation

For people who change CredenceStack itself: contributors, maintainers and anyone writing a new pack, domain, fault, scorer, mapping or connector. To use CredenceStack, start with the guides instead.

Page What it covers
Architecture The system as it is: components, the data flow of a run, a generation, an episode and a benchmark, where telemetry hooks in, the evidence format, confidential content, extension points
Design principles The binding rules: vocabulary, command grammar, flags, configuration, outputs, errors, reports
Contributor guide Adding a command, flag, setting, report section, span, mutator or term, and the checks that enforce each
Coherence audit The 1.0 work list, every item done or deferred
Code walk-through Every package in reading order, and PAY-001 traced from YAML to report
Module reference Per package: responsibilities, the public API, generated examples, invariants and gotchas, tests
File index Every Python file with its purpose, main symbols and tests (generated)
Extending Adding a scenario, pack, domain, domain policy, fault type, finding type, framework mapping or connector, with checklists
Testing Test layout, markers, offline and live runs, the generated examples, CI
Release process Release checks, the release workflow, trusted publishing and attestations
Maintainer guide Common maintenance tasks
Connector notes Per framework: the version targeted and what the connector relies on
TODO-verify register External facts still to confirm against a primary source
External links Every external URL in the docs and data, to check before a release
Style guide, doc inventory, docs review How the docs are written, what exists, and the v1.0 review
OpenTelemetry architecture and pinned conventions How telemetry hooks into the trace-event pipeline, connectors' part, and the GenAI conventions version
Decisions Design records: the contribution model, the domain framework and the OpenTelemetry design
Build log, build summary and OTel build summary How the v1.0 expansion (four domains, the Claude Agent SDK, Tenuo) and OpenTelemetry support were built, and every decision taken

Everything generated (examples, API tables, the file index) is checked in CI, so these pages cannot drift from the code without a failing build.