feat(a2a): implement A2A local facade session lifecycle operations (create, list, delete) #5005

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

Metadata

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

Background and Context

The A2A local facade needs to implement session lifecycle operations via _cleveragents/session/* extension methods. These are the core primitives for managing agent sessions in local mode.

Expected Behavior

  • _cleveragents/session/create creates a new session and returns session ID
  • _cleveragents/session/list returns all active sessions
  • _cleveragents/session/delete terminates a session
  • All operations work in local (stdio) transport mode
  • Operations are not stubs — they interact with real session state

Acceptance Criteria

  • _cleveragents/session/create implemented and functional
  • _cleveragents/session/list returns real session data
  • _cleveragents/session/delete terminates session cleanly
  • All operations use A2A JSON-RPC 2.0 wire format
  • Unit tests (Behave) cover session lifecycle scenarios
  • Integration test (Robot) verifies session operations end-to-end

Subtasks

  • Implement _cleveragents/session/create handler
  • Implement _cleveragents/session/list handler
  • Implement _cleveragents/session/delete handler
  • Wire handlers into A2A local facade router
  • Tests (Behave): Add scenarios for session 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 session lifecycle operations` - **Branch**: `feat/m6/a2a-facade-session` - **Milestone**: v3.5.0 - **Parent Epic**: #4949 ## Background and Context The A2A local facade needs to implement session lifecycle operations via `_cleveragents/session/*` extension methods. These are the core primitives for managing agent sessions in local mode. ## Expected Behavior - `_cleveragents/session/create` creates a new session and returns session ID - `_cleveragents/session/list` returns all active sessions - `_cleveragents/session/delete` terminates a session - All operations work in local (stdio) transport mode - Operations are not stubs — they interact with real session state ## Acceptance Criteria - [ ] `_cleveragents/session/create` implemented and functional - [ ] `_cleveragents/session/list` returns real session data - [ ] `_cleveragents/session/delete` terminates session cleanly - [ ] All operations use A2A JSON-RPC 2.0 wire format - [ ] Unit tests (Behave) cover session lifecycle scenarios - [ ] Integration test (Robot) verifies session operations end-to-end ## Subtasks - [ ] Implement `_cleveragents/session/create` handler - [ ] Implement `_cleveragents/session/list` handler - [ ] Implement `_cleveragents/session/delete` handler - [ ] Wire handlers into A2A local facade router - [ ] Tests (Behave): Add scenarios for session 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:38 +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#5005
No description provided.