Skip to main content

Crate shadow_core

Crate shadow_core 

Source
Expand description

shadow-core — the Rust core of the Shadow tool.

See SPEC.md for the .agentlog format and CONTRIBUTING.md §Architecture for how the modules in this crate compose into the end-to-end pipeline.

Submodules:

  • agentlog — canonical JSON, SHA-256 content addressing, streaming JSONL parser + writer for the .agentlog record format.
  • diff — the nine behavioural axes, bootstrap CIs, severity scoring, first-divergence detection, recommendations, report renderer.
  • replay — the LlmBackend trait + replay engine.
  • store — content-addressed blob store + SQLite index.
  • error — typed error hierarchy shared across the crate.

Re-exports§

pub use error::Error;

Modules§

agentlog
.agentlog record types, canonical JSON, content hashing, parser, writer.
diff
Nine-axis behavioral differ, bootstrap CI, and report renderers.
error
Error types for shadow-core.
python
PyO3 bindings — the shadow._core Python extension module.
replay
Replay engine and the LlmBackend trait.
store
Content-addressed filesystem blob store and SQLite index.

Constants§

VERSION
Library version, matches the workspace [package].version.