v3.3.0

v3.3.0 — M4: Corrections + Subplans + Checkpoints

Goal: Plans can spawn child plans (subplans) during execution. Subplans execute in parallel with configurable concurrency limits. Results are merged back using three-way merge strategies. Correction engine supports revert and append modes. Checkpointing enables rollback to previous plan states.

Acceptance Criteria

  • Execution actor can spawn subplans via subplan_spawn and subplan_parallel_spawn decision types
  • Subplans execute in sequential, parallel, or dependency-ordered modes with configurable concurrency limits
  • Subplan results merge back into parent plan using git three-way merge, sequential apply, or last-wins strategies
  • agents plan correct --mode revert <decision_id> reverts a decision and all affected downstream decisions
  • agents plan correct --mode append <decision_id> adds correction guidance without discarding the subtree
  • agents plan rollback <plan_id> <checkpoint_id> restores a plan to a prior checkpoint state
  • Checkpoints are created automatically at configurable intervals during plan execution
  • Phase reversion: a constrained apply transitions back to Strategize for re-planning
  • agents plan errors <plan_id> shows error recovery hints and retry options
  • Test coverage >= 97%

Technical Criteria

  • Subplan orchestration with domain models for config, status, failure handling, and three merge strategies.
  • Correction model with revert/append modes, BFS impact analysis, and dry-run reporting.
  • Checkpoint scopes with pruning and cleanup hooks integrated throughout the execution pipeline.
  • Phase reversion state machine: constrained apply → Strategize transition.
  • Concurrency locks (plan and project advisory locks) with plan resume and state recovery.
  • Test coverage remains >= 97%.
2026-03-02
43% Completed
feat(plans): implement conflict detection and structured conflict report for three-way merge - Closes #9558
Some checks failed
CI / push-validation (pull_request) Has been cancelled
CI / load-versions (pull_request) Successful in 32s
CI / lint (pull_request) Successful in 45s
CI / build (pull_request) Successful in 42s
CI / helm (pull_request) Successful in 44s
CI / typecheck (pull_request) Successful in 1m9s
CI / quality (pull_request) Successful in 1m32s
CI / security (pull_request) Successful in 1m53s
CI / unit_tests (pull_request) Successful in 5m32s
CI / docker (pull_request) Successful in 1m41s
CI / integration_tests (pull_request) Successful in 9m9s
CI / coverage (pull_request) Failing after 14m35s
CI / status-check (pull_request) Has been cancelled
auto/needs-implementer
auto/needs-reevaluation
controller-managed
MoSCoW
Must have
Priority
High
Type
Feature
#9613 opened 2026-04-15 00:42:07 +00:00 by HAL9000 1 change request
feat(plans): implement ThreeWayMergeEngine for subplan result integration
Some checks failed
CI / push-validation (pull_request) Successful in 26s
CI / helm (pull_request) Successful in 33s
CI / lint (pull_request) Successful in 47s
CI / build (pull_request) Successful in 43s
CI / typecheck (pull_request) Successful in 1m3s
CI / quality (pull_request) Successful in 1m5s
CI / security (pull_request) Successful in 1m22s
CI / integration_tests (pull_request) Failing after 8m9s
CI / unit_tests (pull_request) Failing after 17m29s
CI / coverage (pull_request) Has been cancelled
CI / docker (pull_request) Has been cancelled
CI / status-check (pull_request) Has been cancelled
controller-managed
MoSCoW
Must have
Priority
High
State
In Review
Type
Feature
#9608 opened 2026-04-15 00:38:01 +00:00 by HAL9000 1 change request 2 conflicting files
feat(plans): implement plan correct --mode=revert and --mode=append correction engine
Some checks failed
CI / lint (pull_request) Failing after 35s
CI / typecheck (pull_request) Failing after 1m13s
CI / quality (pull_request) Successful in 1m1s
CI / security (pull_request) Failing after 1m12s
CI / build (pull_request) Successful in 38s
CI / helm (pull_request) Successful in 42s
CI / push-validation (pull_request) Successful in 32s
CI / unit_tests (pull_request) Failing after 13m9s
CI / integration_tests (pull_request) Failing after 17m50s
CI / coverage (pull_request) Has been cancelled
CI / docker (pull_request) Has been cancelled
CI / status-check (pull_request) Has been cancelled
auto/needs-reevaluation
controller-managed
MoSCoW
Must have
Priority
High
Type
Feature
#9599 opened 2026-04-15 00:19:11 +00:00 by HAL9000 1 change request 3 conflicting files