Import
Use the incident JSON format or an existing RunLedger JSONL run.
Bring a production agent trace into RunLedger. Redact it locally, replay the recorded tool responses in order, and keep the failure as a test your team can run again.
Your production logs stay on your machine. This page does not upload or process them.
Use the incident JSON format or an existing RunLedger JSONL run.
Replace sensitive values while preserving their relationships in the trace.
Run your agent against the recorded responses, one occurrence at a time.
Promote the incident and gate CI on the business rules you defined.
FOLLOW THE EVIDENCE
This production-format refund trace uses invented customer data. The downloadable CLI imported and redacted it, then replayed its agent. The browser displays those saved results; it does not execute the replay.
Loading the imported example…
The candidate follows the recorded calls and final output.
A reproduced failure is still a failing regression check.
Effects come from the supplied ledger, not inferred tool success.
WHAT LEAVES THE IMPORT STEP
Repeated identifiers keep a consistent replacement within the bundle. Known credentials and personal fields are redacted; free-form text is removed by default. Redaction can change behavior that depends on those values.
ORDERED TOOL REPLAY
Repeated calls consume separate recorded responses. An unrecorded or changed call stops replay instead of reaching a live tool.
CHECK THE BUSINESS RULE
The original failure remains visible. Use --gate to fail CI when the replay diverges or its business rules still fail.
MAKE THE FAILURE REPEATABLE
Install or upgrade RunLedger from PyPI, then follow the guide to map your trace to the supported incident format and connect your JSONL adapter. Use an active Python environment.
RunLedger on PyPI Read the production incident guideRequires RunLedger 0.3.0 or later. Existing pipx users: pipx upgrade runledger. The optional source and example download includes example files that are not installed by pip.
# Install or upgrade the CLI
python -m pip install --upgrade runledger# Explore the incident commands
runledger incident --help# Import and redact a local trace
runledger incident import incident.json --out sanitized# Inspect the sanitized evidence
runledger incident inspect sanitized/incident.json --out inspection# Preserve it for future replay
runledger incident promote sanitized/incident.json --to regression.jsonChoose a fresh output folder for each command. The guide includes replay commands, JSONL adapters, custom redaction paths, and CI gating.A CLEAR REPLAY BOUNDARY
Automatic redaction is a starting point, not a guarantee that every sensitive value is removed. Add paths for your schema and inspect the exported bundle before sharing it.
Replay freezes recorded tool responses. Model calls outside the adapter, missing effects, and unrecorded external state are not reconstructed. A different branch is reported as a divergence.
An incident replay checks fidelity to the captured behavior. Use the stateful support-agent scenarios to exercise a changed policy against a modeled world.