feat(a2a): implement A2A local facade plan lifecycle operations (execute, status, tree, explain, correct, rollback) #5006

Open
opened 2026-04-09 00:45:31 +00:00 by HAL9000 · 1 comment
Owner

Metadata

  • Commit Message: feat(a2a): implement A2A local facade plan lifecycle operations
  • Branch: feat/m6/a2a-facade-plan
  • Milestone: v3.5.0
  • Parent Epic: #4949

Background and Context

The A2A local facade needs to implement plan lifecycle operations via _cleveragents/plan/* extension methods. Currently these are stubs that do not interact with real plan state.

Expected Behavior

  • _cleveragents/plan/execute starts plan execution
  • _cleveragents/plan/status returns real plan status
  • _cleveragents/plan/tree returns real decision tree data (not stub)
  • _cleveragents/plan/explain returns real decision details (not stub)
  • _cleveragents/plan/correct applies correction (not stub)
  • _cleveragents/plan/rollback rolls back to checkpoint (not stub)

Acceptance Criteria

  • _cleveragents/plan/execute implemented and functional
  • _cleveragents/plan/status returns real plan status data
  • _cleveragents/plan/tree returns real decision tree (not stub)
  • _cleveragents/plan/explain returns real decision details (not stub)
  • _cleveragents/plan/correct applies correction (not stub)
  • _cleveragents/plan/rollback rolls back to checkpoint (not stub)
  • Unit tests (Behave) cover plan lifecycle scenarios
  • Integration test (Robot) verifies plan operations end-to-end

Subtasks

  • Implement _cleveragents/plan/execute handler
  • Implement _cleveragents/plan/status handler
  • Implement _cleveragents/plan/tree handler (replace stub)
  • Implement _cleveragents/plan/explain handler (replace stub)
  • Implement _cleveragents/plan/correct handler (replace stub)
  • Implement _cleveragents/plan/rollback handler (replace stub)
  • Tests (Behave): Add scenarios for plan lifecycle
  • Tests (Robot): Add integration test
  • Verify coverage >=97% via nox -s coverage_report
  • Run nox (all default sessions), fix any errors

Definition of Done

This issue is complete when:

  • All subtasks above are completed and checked off.
  • A Git commit is created where the first line of the commit message matches the Commit Message in Metadata exactly.
  • The commit is pushed to the remote on the branch matching the Branch in Metadata exactly.
  • The commit is submitted as a pull request to master, reviewed, and merged before this issue is marked done.

Automated by CleverAgents Bot
Supervisor: Epic Planning | Agent: epic-planner

## Metadata - **Commit Message**: `feat(a2a): implement A2A local facade plan lifecycle operations` - **Branch**: `feat/m6/a2a-facade-plan` - **Milestone**: v3.5.0 - **Parent Epic**: #4949 ## Background and Context The A2A local facade needs to implement plan lifecycle operations via `_cleveragents/plan/*` extension methods. Currently these are stubs that do not interact with real plan state. ## Expected Behavior - `_cleveragents/plan/execute` starts plan execution - `_cleveragents/plan/status` returns real plan status - `_cleveragents/plan/tree` returns real decision tree data (not stub) - `_cleveragents/plan/explain` returns real decision details (not stub) - `_cleveragents/plan/correct` applies correction (not stub) - `_cleveragents/plan/rollback` rolls back to checkpoint (not stub) ## Acceptance Criteria - [ ] `_cleveragents/plan/execute` implemented and functional - [ ] `_cleveragents/plan/status` returns real plan status data - [ ] `_cleveragents/plan/tree` returns real decision tree (not stub) - [ ] `_cleveragents/plan/explain` returns real decision details (not stub) - [ ] `_cleveragents/plan/correct` applies correction (not stub) - [ ] `_cleveragents/plan/rollback` rolls back to checkpoint (not stub) - [ ] Unit tests (Behave) cover plan lifecycle scenarios - [ ] Integration test (Robot) verifies plan operations end-to-end ## Subtasks - [ ] Implement `_cleveragents/plan/execute` handler - [ ] Implement `_cleveragents/plan/status` handler - [ ] Implement `_cleveragents/plan/tree` handler (replace stub) - [ ] Implement `_cleveragents/plan/explain` handler (replace stub) - [ ] Implement `_cleveragents/plan/correct` handler (replace stub) - [ ] Implement `_cleveragents/plan/rollback` handler (replace stub) - [ ] Tests (Behave): Add scenarios for plan lifecycle - [ ] Tests (Robot): Add integration test - [ ] Verify coverage >=97% via `nox -s coverage_report` - [ ] Run `nox` (all default sessions), fix any errors ## Definition of Done This issue is complete when: - All subtasks above are completed and checked off. - A Git commit is created where the **first line** of the commit message matches the Commit Message in Metadata exactly. - The commit is pushed to the remote on the branch matching the **Branch** in Metadata exactly. - The commit is submitted as a **pull request** to `master`, reviewed, and **merged** before this issue is marked done. --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planner
HAL9000 added this to the v3.5.0 milestone 2026-04-09 00:46:39 +00:00
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: High — Core A2A local facade feature required for Autonomy Hardening Legendary
  • Milestone: v3.5.0
  • Story Points: 8 — XL
  • MoSCoW: Must Have — Required for A2A Local Facade Epic (#4949)
  • Parent Epic: #4949

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

Issue triaged by project owner: - **State**: Verified - **Priority**: High — Core A2A local facade feature required for Autonomy Hardening Legendary - **Milestone**: v3.5.0 - **Story Points**: 8 — XL - **MoSCoW**: Must Have — Required for A2A Local Facade Epic (#4949) - **Parent Epic**: #4949 --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner
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#5006
No description provided.