Overview
Autopilot sessions emit structured artifacts that make runs replayable, verifiable, and auditable. The current implementation emits aReplayBundle
while the target format is REPLAY.jsonl.
What Gets Emitted
The canonical “Verified Patch Bundle” is composed of three artifacts:- PR_SUMMARY.md — human-readable patch summary
- RECEIPT.json — cryptographic audit trail
- REPLAY.jsonl — structured event stream for replay/debugging
${OPENAGENTS_HOME}/sessions/{session_id}/.
Replay Format (Target)
REPLAY.jsonl is a canonical JSONL stream of events such as:
- SessionStart / SessionEnd
- PlanStart
- ToolCall / ToolResult
- Verification
Current vs Target
- Current:
ReplayBundleincrates/autopilot-core/src/replay.rs - Target:
REPLAY.jsonl v1percrates/dsrs/docs/REPLAY.md
Why It Matters
Replay and receipts enable:- Debugging and audit
- Counterfactual analysis and shadow mode
- Training data generation for DSPy optimizers
Related Specs
crates/dsrs/docs/REPLAY.mdcrates/dsrs/docs/ARTIFACTS.md