AgentXchain v2.130.0
v2.130.0 is a correction release for accepted-turn state reconciliation and adds repo checkpointing as a first-class governed boundary. v2.129.0 said the beta-tester adoption queue was closed, but the fourth and fifth live beta reports exposed ghost turns, stale gate state, stale pending intents, stale staging consumption, and manual git commit requirements between automated authoritative turns. This release fixes all of those honestly.
Released: 2026-04-18
Highlights
Restart No Longer Creates Ghost Turns
restartnow writes the dispatch bundle before reporting a newly active turn.restart,status, anddoctordetect state/bundle desync and surface it as a real operator problem instead of silently continuing on corrupt state.- Operators now get a coherent active turn or a clean refusal, not a state/session/event story that disagrees with disk.
Accepted Turns Now Reconcile Derived State
- Post-acceptance gate reconciliation clears stale
last_gate_failureentries when the missing files now exist. - Accepted turns bound to intake intents now complete the bound intent and emit
intent_satisfied. - Restart now consumes approved intents before assignment, so lifecycle events keep the real
intent_idinstead of drifting tonull.
Stale Staging Is Fail-Closed
accept-turnandreject-turnnow verify that legacy staged turn results match the activeturn_idbefore consuming them.- Old staged results from unrelated turns are refused with a clear stale-staging diagnostic instead of being silently reused.
Repo Checkpointing — First-Class Governed Boundary
checkpoint-turncommits the accepted turn's declaredfiles_changedto git with a structured commit message including turn provenance (turn_id, role, phase, intent_id). Recordscheckpoint_shaandcheckpointed_atin history and state. Idempotent — running on an already-checkpointed turn is a no-op.accept-turn --checkpointatomically checkpoints after successful acceptance in one command invocation.run --continuous --auto-checkpoint(default-on in continuous mode) automatically checkpoints between role handoffs so multi-role continuous automation no longer stalls on manualgit commit.- Uncheckpointed accepted turns block next authoritative assignment with
checkpoint_requirederror and an exact recovery command (agentxchain checkpoint-turn --turn <id>). - No-op accepted turns (no files_changed) are treated as a successful checkpoint skip, not a failure.
What Changed
- Added durable dispatch-bundle write + integrity checks to the restart path.
- Added ghost-turn detection to
statusanddoctor. - Added post-acceptance gate cache reconciliation for missing-file failures.
- Added accepted-intent completion +
intent_satisfiedevent emission. - Restored restart-side intent provenance by consuming approved intents before assignment.
- Added stale legacy staging guards to both
accept-turnandreject-turn. - Added
checkpoint-turncommand,accept-turn --checkpointflag, andrun --continuous --auto-checkpoint. - Added
turn_checkpointedevent type. - Added
checkpoint_sha/checkpointed_atfields to turn records in state and history. - Updated
recovery.mdxandautomation-patterns.mdxwith the checkpoint model.
Key Decisions
DEC-RESTART-BUNDLE-001:restartmust not surface an active turn without a dispatch bundle on disk.DEC-BUNDLE-INTEGRITY-001: state/bundle desync is a blocker in restart and a first-class diagnostic in status/doctor.DEC-GATE-RECONCILIATION-001: post-acceptance reconciliation clears stale gate cache only when all missing-file conditions are truly resolved.DEC-INTENT-SATISFACTION-001: accepted intent-bound turns complete the bound intake intent and emitintent_satisfied.DEC-STALE-STAGING-001: staged turn results are only consumable when theirturn_idmatches the active turn.DEC-CKPT-001: accepted authoritative turns require an explicit repo checkpoint boundary.DEC-CKPT-002: when the only dirty actor files belong to the latest accepted turn, assignment fails with a checkpoint-specific recovery command.DEC-CKPT-003: no-op accepted turns do not block continuous execution — checkpointing is a successful skip.DEC-INTENT-META-002: intents completed during post-acceptance reconciliation carry terminal run metadata.
Evidence
- 5,795 tests / 1,218 suites / 0 failures. 108 conformance fixtures. Website build clean.