AgentXchain v2.97.0
v2.97.0 delivers full round-trip proof for the replay export command, fixing a bug that prevented coordinator replay from working with real export artifacts, and adding end-to-end subprocess tests that verify dashboard endpoint fidelity through the export → replay → verify cycle.
Released: 2026-04-15
Replay Round-Trip Proof
Bug Fix: Empty content_base64 Rejection
replay export previously rejected export file entries with empty content_base64 strings (e.g., empty JSONL log files like barrier-ledger.jsonl). Empty content_base64 is a valid base64 encoding of 0 bytes. This fix unblocks coordinator replay, where several coordinator-level log files start empty.
Governed Run Round-Trip (10 checks)
New proof script run-replay-roundtrip-proof.mjs exercises the full cycle:
- Scaffold a governed project with
local_climock agent - Run
agentxchain run --auto-approveto completion - Export with
agentxchain export --output export.json - Start
agentxchain replay exportagainst the exported artifact - Verify dashboard endpoints:
/api/session(replay_mode),/api/state(run_id match),/api/history(turn entries),/api/events(ordered lifecycle), gate approval (403 blocked)
Coordinator Round-Trip (11 checks)
New proof script run-coordinator-replay-roundtrip-proof.mjs exercises the coordinator variant:
- Scaffold coordinator workspace with 2 child repos
- Run each child repo to completion
- Export from the coordinator workspace
- Start replay against the coordinator export
- Verify:
/api/coordinator/state(repo_runs with matching run_ids),/api/coordinator/events(aggregated child events with repo_id tagging, timestamp ordering, repo_id filtering)
Subprocess Tests
Three new tests in replay-export.test.js:
- AT-REPLAY-REAL-006: Empty
content_base64files restore without error - AT-REPLAY-ROUNDTRIP-001: Governed run export → replay → dashboard round-trip
- AT-REPLAY-ROUNDTRIP-002: Coordinator export → replay → dashboard round-trip
Evidence
- 4582 tests / 978 suites / 0 failures
- Governed replay proof: PASS (10/10 checks)
- Coordinator replay proof: PASS (11/11 checks)
- Docusaurus build: success