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 added the
State
Verified
Type
Epic
Priority
Medium
labels 2026-02-22 23:41:41 +00:00
freemo added a new dependency 2026-02-22 23:54:23 +00:00
freemo added a new dependency 2026-02-22 23:54:23 +00:00
freemo added a new dependency 2026-02-22 23:54:28 +00:00
freemo removed a dependency 2026-02-23 20:35:54 +00:00
freemo added a new dependency 2026-02-23 20:35:54 +00:00
freemo added a new dependency 2026-02-23 20:35:54 +00:00
freemo added a new dependency 2026-02-23 20:35:54 +00:00
freemo added a new dependency 2026-02-23 20:35:54 +00:00
freemo added a new dependency 2026-02-23 20:35:54 +00:00
freemo added a new dependency 2026-02-23 20:35:54 +00:00
freemo added a new dependency 2026-02-23 20:35:54 +00:00
freemo added a new dependency 2026-02-23 20:35:54 +00:00
freemo added the
Points
34
label 2026-02-24 03:36:22 +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.
freemo removed the
Priority
Medium
State
Verified
Type
Epic
labels 2026-04-03 00:31:20 +00:00
Sign in to join this conversation.
No Label
Points
34
1 Participants
Notifications
Due Date
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