Epic: Subplans & Parallelism #368

Open
opened 2026-02-22 23:41:41 +00:00 by freemo · 1 comment
Owner

Background

Covers subplan model, service, execution, merge, checkpoint/rollback hooks, error recovery, and multi-project subplan support.

Expected Behavior

Subplans are modeled, created via service, executed in parallel, and merged back into parent plans. Checkpoint/rollback hooks enable safe recovery, error recovery handles failures gracefully, and multi-project support allows subplans across project boundaries.

Child Issues

Definition of Done

This Epic is complete when all child issues are closed and merged. Subplans execute and merge correctly.

## Background Covers subplan model, service, execution, merge, checkpoint/rollback hooks, error recovery, and multi-project subplan support. ## Expected Behavior Subplans are modeled, created via service, executed in parallel, and merged back into parent plans. Checkpoint/rollback hooks enable safe recovery, error recovery handles failures gracefully, and multi-project support allows subplans across project boundaries. ## Child Issues - #183 - #184 - #186 - #187 - #197 - #198 - #199 ## Definition of Done This Epic is complete when all child issues are closed and merged. Subplans execute and merge correctly.
freemo added this to the v3.4.0 milestone 2026-02-22 23:41:41 +00:00
freemo self-assigned this 2026-02-24 03:37:58 +00:00
Author
Owner

New child issue tracked: #1271 — BUG-HUNT: [boundary] Off-by-one error in subplan retry logic

An off-by-one bug has been discovered in SubplanFailureHandler.should_retry (plan.py:1258). The condition status.attempt_number > config.max_retries should be >=, causing subplans to be retried one extra time beyond max_retries. This child issue has been added to this Epic for tracking.

**New child issue tracked:** #1271 — BUG-HUNT: [boundary] Off-by-one error in subplan retry logic An off-by-one bug has been discovered in `SubplanFailureHandler.should_retry` (`plan.py:1258`). The condition `status.attempt_number > config.max_retries` should be `>=`, causing subplans to be retried one extra time beyond `max_retries`. This child issue has been added to this Epic for tracking.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks Depends on
#309 Stage E1: Subplan Model
cleveragents/cleveragents-core
#310 test(domain): add subplan model suites
cleveragents/cleveragents-core
Reference
cleveragents/cleveragents-core#368
No description provided.