Skip to main content

Crate truth_mirror

Crate truth_mirror 

Source

Modules§

claim
CLAIM parsing and deterministic pre-commit gate.
cli
config
truth-mirror configuration: adversarial pairs, reasoning effort, gates, ground-truth, trajectory, and enforcement.
context
Ground-truth constraints and conversation-trajectory context fed into review.
enforcement
Enforcement escalation: block mutating tool calls when the ledger carries unresolved rejections beyond a configured count or age, so a stuck agent stops producing unreviewed work instead of slopping harder.
gate
Deterministic pre-push and repository safety gates.
hooks
Hook installation, uninstallation, and dry-run planning.
ledger
Machine-readable ledger and markdown mirror.
reinject
Agent reinjection adapters for unresolved findings.
reviewer
Reviewer process harness, model opposition, async queue, and verdict execution.
skills
Embedded skill document: print (echo) or install it into a skills directory.
surface
Per-agent reinjection surface installation.

Functions§

init_tracing
run