test(autonomy): integration tests for decision correction in hierarchical and parallel execution #8946

Open
opened 2026-04-14 04:05:43 +00:00 by HAL9000 · 1 comment
Owner

Background and Context

The v3.5.0 milestone (M6: Autonomy Hardening) requires that decision correction (revert mode) works correctly during autonomous execution with hierarchical subplans and parallel execution. The Decision Correction Integration Epic (#8603) requires integration tests that verify correction in both hierarchical and parallel execution scenarios.

Without integration tests, there is no automated verification that decision correction works correctly in the complex execution contexts required by M6. This issue was listed as TBD in the Epic's child issue list.

Parent Epic: #8603 (Epic: Decision Correction Integration for Autonomy Hardening (v3.5.0))

Expected Behavior

When this issue is complete:

  • Integration tests verify decision correction in hierarchical plans (corrections propagate to child subplans)
  • Integration tests verify decision correction in parallel execution (no race conditions)
  • Integration tests verify selective subtree recomputation (only downstream decisions are re-evaluated)
  • All integration tests pass in CI via nox

Acceptance Criteria

  • Integration test test_correction_propagates_to_child_subplans verifies correction propagation in hierarchical plans
  • Integration test test_correction_no_race_condition_parallel verifies correction works without race conditions in parallel execution
  • Integration test test_selective_subtree_recomputation verifies only downstream decisions are re-evaluated
  • All integration tests pass in CI via nox
  • nox passes with coverage >= 97%

Subtasks

  • Design integration test scenarios for decision correction in hierarchical plans
  • Implement test_correction_propagates_to_child_subplans integration test
  • Design integration test scenarios for decision correction in parallel execution
  • Implement test_correction_no_race_condition_parallel integration test
  • Implement test_selective_subtree_recomputation integration test
  • Wire integration tests into nox test session
  • Verify nox passes with coverage >= 97%

Definition of Done

  • All acceptance criteria met
  • Tests written and passing (coverage >= 97%)
  • Code reviewed and approved
  • Documentation updated if needed
  • No regressions introduced

Metadata

  • Commit message: test(autonomy): add integration tests for decision correction in hierarchical and parallel execution
  • Branch name: test/autonomy-decision-correction-integration

Automated by CleverAgents Bot
Agent: new-issue-creator

## Background and Context The v3.5.0 milestone (M6: Autonomy Hardening) requires that decision correction (revert mode) works correctly during autonomous execution with hierarchical subplans and parallel execution. The Decision Correction Integration Epic (#8603) requires integration tests that verify correction in both hierarchical and parallel execution scenarios. Without integration tests, there is no automated verification that decision correction works correctly in the complex execution contexts required by M6. This issue was listed as TBD in the Epic's child issue list. Parent Epic: #8603 (Epic: Decision Correction Integration for Autonomy Hardening (v3.5.0)) ## Expected Behavior When this issue is complete: - Integration tests verify decision correction in hierarchical plans (corrections propagate to child subplans) - Integration tests verify decision correction in parallel execution (no race conditions) - Integration tests verify selective subtree recomputation (only downstream decisions are re-evaluated) - All integration tests pass in CI via `nox` ## Acceptance Criteria - [ ] Integration test `test_correction_propagates_to_child_subplans` verifies correction propagation in hierarchical plans - [ ] Integration test `test_correction_no_race_condition_parallel` verifies correction works without race conditions in parallel execution - [ ] Integration test `test_selective_subtree_recomputation` verifies only downstream decisions are re-evaluated - [ ] All integration tests pass in CI via `nox` - [ ] `nox` passes with coverage >= 97% ## Subtasks - [ ] Design integration test scenarios for decision correction in hierarchical plans - [ ] Implement `test_correction_propagates_to_child_subplans` integration test - [ ] Design integration test scenarios for decision correction in parallel execution - [ ] Implement `test_correction_no_race_condition_parallel` integration test - [ ] Implement `test_selective_subtree_recomputation` integration test - [ ] Wire integration tests into `nox` test session - [ ] Verify `nox` passes with coverage >= 97% ## Definition of Done - [ ] All acceptance criteria met - [ ] Tests written and passing (coverage >= 97%) - [ ] Code reviewed and approved - [ ] Documentation updated if needed - [ ] No regressions introduced ## Metadata - **Commit message:** `test(autonomy): add integration tests for decision correction in hierarchical and parallel execution` - **Branch name:** `test/autonomy-decision-correction-integration` --- **Automated by CleverAgents Bot** Agent: new-issue-creator
HAL9000 added this to the v3.5.0 milestone 2026-04-14 04:10:50 +00:00
Author
Owner

Triage Decision [AUTO-OWNR-1]

Verified

Integration tests for decision correction in hierarchical and parallel execution are required for v3.5.0. Decision correction with selective subtree recomputation is a core acceptance criterion.

  • Type: Testing
  • MoSCoW: Must Have — v3.5.0 acceptance criteria
  • Priority: High
  • Milestone: v3.5.0

Automated by CleverAgents Bot
Supervisor: Project Owner Pool | Agent: project-owner-pool-supervisor

## Triage Decision [AUTO-OWNR-1] **Verified** ✅ Integration tests for decision correction in hierarchical and parallel execution are required for v3.5.0. Decision correction with selective subtree recomputation is a core acceptance criterion. - **Type:** Testing - **MoSCoW:** Must Have — v3.5.0 acceptance criteria - **Priority:** High - **Milestone:** v3.5.0 --- **Automated by CleverAgents Bot** Supervisor: Project Owner Pool | Agent: project-owner-pool-supervisor
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.

Reference
cleveragents/cleveragents-core#8946
No description provided.