-
Notifications
You must be signed in to change notification settings - Fork 1
TODO: Implement full replay engine with event stream processing #41
Copy link
Copy link
Closed
Labels
source:backlog-stewardAuto-created by Backlog Steward skillAuto-created by Backlog Steward skillstatus:reviewTask is in reviewTask is in reviewtask:implementationImplementation workImplementation work
Description
Source
- Type: TODO
- Location:
src/cli/replay.ts:3 - Original text:
TODO(roadmap): Phase 4 — Full replay engine: feed stored event stream through encounter generator
Task Description
The current agentguard replay CLI command exists but lacks the full replay engine. The implementation needs to:
- Read stored event streams from JSONL files (
.agentguard/events/<runId>.jsonl) - Feed events through the encounter generator to reconstruct the governance session
- Support playback of the full kernel loop (propose → normalize → evaluate → execute → emit) from persisted events
This is a prerequisite for deterministic replay (#seeded RNG) and the replay comparator. The existing src/cli/replay.ts is a stub referencing this work.
Related ROADMAP items
- Phase 3: CLI replay command (done) — this extends it with the full engine
- Phase 3: Deterministic replay with seeded RNG (depends on this)
- Phase 3: Replay comparator (depends on this)
Labels
Created automatically by the Backlog Steward skill.
Discovered by backlog-steward on 2026-03-09T00:00:00Z
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
source:backlog-stewardAuto-created by Backlog Steward skillAuto-created by Backlog Steward skillstatus:reviewTask is in reviewTask is in reviewtask:implementationImplementation workImplementation work