Skip to main content

AgentXchain v2.155.19

v2.155.19 is a patch over v2.155.18 fixing the retained-turn recovery half of BUG-73 in the DOGFOOD-EXTENDED charter materialization lane. v2.155.18 fixed fresh dispatch-time role resolution, but dogfood recovery proved resume and step --resume could still replay an old retained dev turn before PM materialized the charter.

Bug Fixes

  • BUG-73 retained-turn charter materialization recovery: blocked resume and step --resume paths now reissue stale retained dev turns as PM when charter_materialization_pending is active, preventing older dogfood recovery state from replaying implementation work before PM materializes the charter.
  • Reissue audit trail: reissueTurn() can now intentionally change the replacement role and records both old and new roles in the decision ledger and turn_reissued event payload.

Evidence

  • node --test --test-timeout=60000 cli/test/bug-70-charter-materialization.test.js cli/test/role-resolution.test.js -> 17 tests / 2 suites / 0 failures / 0 skipped
  • node --test --test-timeout=60000 cli/test/governed-cli.test.js cli/test/step-command.test.js cli/test/operator-recovery.test.js cli/test/restart-cli.test.js cli/test/e2e-escalation-recovery.test.js cli/test/e2e-policy-escalation-recovery.test.js cli/test/beta-tester-scenarios/dispatch-path-lifecycle-matrix.test.js cli/test/beta-tester-scenarios/bug-47-stale-turn-watchdog.test.js -> 142 tests / 27 suites / 0 failures / 0 skipped

Tester Re-Run Contract

Run the shipped package:

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

For dogfood verification, use shipped agentxchain@latest on the tusq.dev dogfood branch and quote direct diff evidence:

git diff --stat origin/main..HEAD -- src/ tests/ bin/ tusq.manifest.json

Closure requires the existing persisted materialization state or a fresh full-auto idle-expansion PM turn to dispatch PM for materialization, then reach implementation with a concrete charter and land real product code in src/, tests/, bin/, or tusq.manifest.json.

For downstream closure proof, quote any startup_latency_ms, elapsed_since_spawn_ms, and runtimes.<id>.startup_watchdog_ms evidence relevant to adapter-path reliability while confirming the downstream flow still uses the real runtime path. If a standing phase gate advances before dispatch, quote phase_entered with reconciled_before_dispatch; if continuous mode chains into another run, quote the session_continuation event.

For BUG-55 regression proof, continue using accept-turn followed by checkpoint-turn and quote verification.produced_files, undeclared_verification_outputs, and git status --short.

Clean tree means BUG-55 is fixed for your reproduction.