UAT: A2aLocalFacade missing registry CRUD extension methods — show, add, update, remove absent for all entity types #3541

Closed
opened 2026-04-05 19:07:10 +00:00 by freemo · 1 comment
Owner

Metadata

  • Branch: fix/a2a-facade-registry-crud-extension-methods
  • Commit Message: fix(a2a): implement registry CRUD extension methods for all entity types in A2aLocalFacade
  • Milestone: (none — backlog)
  • Parent Epic: #933

Background and Context

The A2aLocalFacade in src/cleveragents/a2a/facade.py only implements list operations for registry entities (and only for tools, resources, actors, skills, actions, and projects). The spec defines a full CRUD surface for all entity types via _cleveragents/registry/{entity}/{operation} extension methods. The show, add, update, and remove operations are entirely absent.

Per spec §CleverAgents Extension Methods:

Registries: _cleveragents/registry/{entity}/list, show, add, update, remove (for each entity type: actor, skill, tool, validation, resource, resource_type, project, action, automation_profile, invariant, lsp)

The facade must implement all five CRUD operations for all 11 entity types, routing to the appropriate Application-layer service (ActorService, ToolService, SkillService, ResourceService, ProjectService, etc.).

Expected Behavior

All five CRUD operations (list, show, add, update, remove) must be registered in _EXTENSION_OPERATIONS and dispatched via _handlers() for all 11 entity types: actor, skill, tool, validation, resource, resource_type, project, action, automation_profile, invariant, lsp.

Actual Behavior

src/cleveragents/a2a/facade.py only registers:

  • _cleveragents/registry/tool/list_handle_registry_list_tools (real implementation)
  • _cleveragents/registry/resource/list_handle_registry_list_resources (real implementation)
  • _cleveragents/registry/actor/list_handle_registry_list_stub (stub, returns {"items": [], "stub": True})
  • _cleveragents/registry/skill/list_handle_registry_list_stub (stub)
  • _cleveragents/registry/action/list_handle_registry_list_stub (stub)
  • _cleveragents/registry/project/list_handle_registry_list_stub (stub)

Missing entirely (raises A2aOperationNotFoundError):

  • _cleveragents/registry/{entity}/show for all 11 entity types
  • _cleveragents/registry/{entity}/add for all 11 entity types
  • _cleveragents/registry/{entity}/update for all 11 entity types
  • _cleveragents/registry/{entity}/remove for all 11 entity types
  • _cleveragents/registry/validation/list (validation entity type missing)
  • _cleveragents/registry/resource_type/list (resource_type entity type missing)
  • _cleveragents/registry/automation_profile/list (automation_profile entity type missing)
  • _cleveragents/registry/invariant/list (invariant entity type missing)
  • _cleveragents/registry/lsp/list (lsp entity type missing)

Code Location

  • src/cleveragents/a2a/facade.py_EXTENSION_OPERATIONS list and _handlers() method — missing 50+ registry operation entries

Spec References

  • spec §CleverAgents Extension Methods: "Registries: _cleveragents/registry/{entity}/list, show, add, update, remove (for each entity type: actor, skill, tool, validation, resource, resource_type, project, action, automation_profile, invariant, lsp)"
  • spec §Transport Modes: "Every CLI command maps to an A2A operation"

Subtasks

  • Audit _EXTENSION_OPERATIONS and _handlers() in src/cleveragents/a2a/facade.py against spec §CleverAgents Extension Methods
  • Implement _cleveragents/registry/{entity}/show handlers for all 11 entity types
  • Implement _cleveragents/registry/{entity}/add handlers for all 11 entity types
  • Implement _cleveragents/registry/{entity}/update handlers for all 11 entity types
  • Implement _cleveragents/registry/{entity}/remove handlers for all 11 entity types
  • Add list handlers for missing entity types: validation, resource_type, automation_profile, invariant, lsp
  • Route each handler to the appropriate Application-layer service (ActorService, ToolService, SkillService, ResourceService, ProjectService, etc.)
  • Tests (Behave): Add scenarios for each new registry CRUD operation across all entity types
  • Tests (Robot): Add integration tests for registry CRUD operations via A2A facade
  • 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, followed by a blank line, then additional lines providing relevant details about the implementation.
  • 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.
  • All nox stages pass.
  • Coverage >= 97%.

Backlog note: This issue was discovered during autonomous operation
on milestone v3.4.0. It does not block milestone completion and has been
placed in the backlog for human review and future milestone assignment.


Automated by CleverAgents Bot
Supervisor: UAT Testing | Agent: ca-new-issue-creator

## Metadata - **Branch**: `fix/a2a-facade-registry-crud-extension-methods` - **Commit Message**: `fix(a2a): implement registry CRUD extension methods for all entity types in A2aLocalFacade` - **Milestone**: *(none — backlog)* - **Parent Epic**: #933 ## Background and Context The `A2aLocalFacade` in `src/cleveragents/a2a/facade.py` only implements `list` operations for registry entities (and only for tools, resources, actors, skills, actions, and projects). The spec defines a full CRUD surface for all entity types via `_cleveragents/registry/{entity}/{operation}` extension methods. The `show`, `add`, `update`, and `remove` operations are entirely absent. Per spec §CleverAgents Extension Methods: > **Registries**: `_cleveragents/registry/{entity}/list`, `show`, `add`, `update`, `remove` (for each entity type: actor, skill, tool, validation, resource, resource_type, project, action, automation_profile, invariant, lsp) The facade must implement all five CRUD operations for all 11 entity types, routing to the appropriate Application-layer service (ActorService, ToolService, SkillService, ResourceService, ProjectService, etc.). ## Expected Behavior All five CRUD operations (`list`, `show`, `add`, `update`, `remove`) must be registered in `_EXTENSION_OPERATIONS` and dispatched via `_handlers()` for all 11 entity types: `actor`, `skill`, `tool`, `validation`, `resource`, `resource_type`, `project`, `action`, `automation_profile`, `invariant`, `lsp`. ## Actual Behavior `src/cleveragents/a2a/facade.py` only registers: - `_cleveragents/registry/tool/list` → `_handle_registry_list_tools` (real implementation) - `_cleveragents/registry/resource/list` → `_handle_registry_list_resources` (real implementation) - `_cleveragents/registry/actor/list` → `_handle_registry_list_stub` (stub, returns `{"items": [], "stub": True}`) - `_cleveragents/registry/skill/list` → `_handle_registry_list_stub` (stub) - `_cleveragents/registry/action/list` → `_handle_registry_list_stub` (stub) - `_cleveragents/registry/project/list` → `_handle_registry_list_stub` (stub) Missing entirely (raises `A2aOperationNotFoundError`): - `_cleveragents/registry/{entity}/show` for all 11 entity types - `_cleveragents/registry/{entity}/add` for all 11 entity types - `_cleveragents/registry/{entity}/update` for all 11 entity types - `_cleveragents/registry/{entity}/remove` for all 11 entity types - `_cleveragents/registry/validation/list` (validation entity type missing) - `_cleveragents/registry/resource_type/list` (resource_type entity type missing) - `_cleveragents/registry/automation_profile/list` (automation_profile entity type missing) - `_cleveragents/registry/invariant/list` (invariant entity type missing) - `_cleveragents/registry/lsp/list` (lsp entity type missing) ## Code Location - `src/cleveragents/a2a/facade.py` — `_EXTENSION_OPERATIONS` list and `_handlers()` method — missing 50+ registry operation entries ## Spec References - spec §CleverAgents Extension Methods: *"Registries: `_cleveragents/registry/{entity}/list`, `show`, `add`, `update`, `remove` (for each entity type: actor, skill, tool, validation, resource, resource_type, project, action, automation_profile, invariant, lsp)"* - spec §Transport Modes: *"Every CLI command maps to an A2A operation"* ## Subtasks - [ ] Audit `_EXTENSION_OPERATIONS` and `_handlers()` in `src/cleveragents/a2a/facade.py` against spec §CleverAgents Extension Methods - [ ] Implement `_cleveragents/registry/{entity}/show` handlers for all 11 entity types - [ ] Implement `_cleveragents/registry/{entity}/add` handlers for all 11 entity types - [ ] Implement `_cleveragents/registry/{entity}/update` handlers for all 11 entity types - [ ] Implement `_cleveragents/registry/{entity}/remove` handlers for all 11 entity types - [ ] Add `list` handlers for missing entity types: `validation`, `resource_type`, `automation_profile`, `invariant`, `lsp` - [ ] Route each handler to the appropriate Application-layer service (ActorService, ToolService, SkillService, ResourceService, ProjectService, etc.) - [ ] Tests (Behave): Add scenarios for each new registry CRUD operation across all entity types - [ ] Tests (Robot): Add integration tests for registry CRUD operations via A2A facade - [ ] 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, followed by a blank line, then additional lines providing relevant details about the implementation. - 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. - All nox stages pass. - Coverage >= 97%. > **Backlog note:** This issue was discovered during autonomous operation > on milestone v3.4.0. It does not block milestone completion and has been > placed in the backlog for human review and future milestone assignment. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: ca-new-issue-creator
Author
Owner

Closing as duplicate of #2146.

Both issues describe the same bug: A2aLocalFacade is missing registry CRUD extension methods (show, add, update, remove) for all entity types. Issue #2146 is the established tracking issue (v3.7.0 milestone, Priority/High, State/Verified). Please track this work in #2146.


Automated by CleverAgents Bot
Supervisor: Backlog Grooming | Agent: ca-backlog-groomer

Closing as duplicate of #2146. Both issues describe the same bug: `A2aLocalFacade` is missing registry CRUD extension methods (`show`, `add`, `update`, `remove`) for all entity types. Issue #2146 is the established tracking issue (v3.7.0 milestone, `Priority/High`, `State/Verified`). Please track this work in #2146. --- **Automated by CleverAgents Bot** Supervisor: Backlog Grooming | Agent: ca-backlog-groomer
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#3541
No description provided.