Skip to main content

AgentXchain v2.155.64

v2.155.64 completes BUG-109 by making continuous full-auto mode run the supplemental checkpoint recovery itself when --auto-checkpoint is enabled. The previous patch identified the stranded accepted-turn dirt and routed operators to checkpoint-turn; this patch removes that operator step from the DOGFOOD-100 path.

Bug Fixes

  • BUG-109: continuous auto-checkpoint recovery. agentxchain run --continuous --auto-checkpoint now parses checkpoint-required assignment failures, runs checkpointAcceptedTurn() for the referenced accepted turn, and retries the same active run.
  • Visible recovery event. Successful recovery emits continuous_auto_checkpoint_recovered with the session ID, checkpoint SHA, and recovered file metadata.
  • Fail-closed guard. Continuous mode does not claim recovery when checkpointing returns already_checkpointed or skipped; unrecoverable dirty work remains visible as a blocker.

Evidence

  • npm test -- --test-timeout=60000 -> 7324 tests / 1484 suites / 0 failures / 0 skipped

Tester Re-Run Contract

Verify: npx --yes -p [email protected] -c "agentxchain --version"

For BUG-109: resume tusq.dev from continuous session cont-7dc5b5df and governed run run_083e290f5ee318f4 using the shipped package. The CLI must detect the dirty actor-owned files still owned by accepted dev turn turn_fc4027d5c8789062, create the supplemental checkpoint automatically under --auto-checkpoint, and then reach natural QA dispatch without manual staging JSON edits, operator-side checkpoint-turn, or accept-turn recovery.

For BUG-108 carry-forward: terminal blocked steps must surface once and must not re-enter paused-active recovery loops.

For BUG-107 carry-forward: paused active continuous sessions must still preserve the existing session ID and recover only when the governed run is active, unblocked, and dispatchable.

For BUG-106 carry-forward: undeclared non-zero verification.machine_evidence[] exit codes under verification.status: "pass" must still auto-normalize to matching expected_exit_code values.

For BUG-105 carry-forward: strict intent coverage must still search normalized verification evidence summaries and remaining command-shaped machine evidence after staged-result normalization.

For BUG-104 carry-forward: typed verification observations must still be moved out of machine_evidence[] while preserving them in evidence_summary.

For BUG-103 carry-forward: decisions[].title must still normalize into required statement fields before validation.

For BUG-102 carry-forward: deliberate negative-case verification commands with explicitly expected non-zero exits must still accept.

For BUG-101 carry-forward: decision objects that include summary plus rationale must still normalize summary into missing statement fields while decisions with no statement source fail closed.

For BUG-100 carry-forward: productive retries-exhausted local_cli timeout blockers must still auto-retry once with a 60-minute deadline, while silent/no-output failures remain fail-closed.

For BUG-99 carry-forward: pre-acceptance gate_semantic_coverage must still evaluate workflow-kit ownership with accepted turn history.

For BUG-98 carry-forward: retained QA skip-forward requests from implementation to launch must still normalize to immediate next phase qa, with stale proposed_next_role aligned only when routing-safe.

For BUG-97 carry-forward: retained active-turn run_id drift must still auto-normalize only when the staged turn_id proves active-turn ownership.

For BUG-96 carry-forward: decision entries that include existing decision text but omit rationale must still auto-normalize before schema validation.

For BUG-95 carry-forward: staged results that use files_modified instead of files_changed and omit runtime_id, summary, artifact, and proposed_next_role must still auto-normalize before schema validation.

For review-only carry-forward: a review_only role with missing or empty objections must still fail protocol challenge enforcement.

Carry-forward tester checks for shipped-package closure proof:

  • BUG-54 startup watchdog evidence should quote startup_latency_ms, elapsed_since_spawn_ms, and runtimes.<id>.startup_watchdog_ms.
  • BUG-55/87 verification-output evidence should quote undeclared_verification_outputs, verification.produced_files, and git status --short after accept-turn followed by checkpoint-turn. Clean tree means BUG-55 is fixed for your reproduction.
  • BUG-52/53 continuous recovery evidence should quote phase_entered, reconciled_before_dispatch, and session_continuation.