UAT: Missing agents actor context list, show, and clear CLI subcommands #3410

Open
opened 2026-04-05 16:32:53 +00:00 by freemo · 1 comment
Owner

Metadata

  • Branch: fix/actor-context-missing-list-show-clear-subcommands
  • Commit Message: fix(cli): add missing actor context list, show, and clear subcommands
  • Milestone: (none — backlog)
  • Parent Epic: #392

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

Description

The specification defines six subcommands under agents actor context. The implementation in src/cleveragents/cli/commands/actor_context.py only registers three of them. The list, show, and clear commands are completely absent.

Implemented (✓) vs Missing (✗)

Subcommand Status
agents actor context remove ✓ Implemented
agents actor context list [<REGEX>] MISSING
agents actor context show <NAME> MISSING
agents actor context export ✓ Implemented
agents actor context import ✓ Implemented
agents actor context clear [--yes|-y] (--all|-a|<NAME>) MISSING

Spec Reference

  • agents actor context list [<REGEX>] — List files stored in an actor context, with optional regex filter
  • agents actor context show <NAME> — Show content of a file in an actor context
  • agents actor context clear [--yes|-y] (--all|-a|<NAME>) — Clear all files from a context but keep the context itself

Code location: src/cleveragents/cli/commands/actor_context.py

Note: The general agents context command (in context.py) does have list, show, and clear, but these are NOT the actor-scoped versions. The spec explicitly defines actor-scoped context management under agents actor context.

Steps to Reproduce

  1. Run agents actor context list → command not found error
  2. Run agents actor context show <name> → command not found error
  3. Run agents actor context clear <name> → command not found error

Expected Behavior

All six spec-defined subcommands should be available under agents actor context.

Actual Behavior

Only remove, export, and import are registered. list, show, and clear are missing.

Subtasks

  • Implement agents actor context list [<REGEX>] subcommand in actor_context.py
  • Implement agents actor context show <NAME> subcommand in actor_context.py
  • Implement agents actor context clear [--yes|-y] (--all|-a|<NAME>) subcommand in actor_context.py
  • Register all three new subcommands in the CLI group
  • Write Behave unit tests for each new subcommand (features/ directory)
  • Write Robot Framework integration tests for each new subcommand (robot/ directory)
  • Ensure nox -e typecheck passes (Pyright, no # type: ignore suppressions)
  • Ensure nox -e lint passes
  • Ensure nox -e coverage_report passes (coverage ≥ 97%)
  • Update CLI documentation / help strings to match spec

Definition of Done

  • agents actor context list [<REGEX>] is implemented and matches spec behaviour
  • agents actor context show <NAME> is implemented and matches spec behaviour
  • agents actor context clear [--yes|-y] (--all|-a|<NAME>) is implemented and matches spec behaviour
  • All six agents actor context subcommands are registered and functional
  • Behave unit tests cover all three new subcommands
  • Robot Framework integration tests cover all three new subcommands (no mocks)
  • All nox stages pass
  • Coverage >= 97%
  • PR merged and issue closed

Automated by CleverAgents Bot
Supervisor: UAT Testing | Agent: ca-uat-tester

## Metadata - **Branch**: `fix/actor-context-missing-list-show-clear-subcommands` - **Commit Message**: `fix(cli): add missing actor context list, show, and clear subcommands` - **Milestone**: *(none — backlog)* - **Parent Epic**: #392 > **Backlog note:** This issue was discovered during autonomous operation > on milestone v3.2.0. It does not block milestone completion and has been > placed in the backlog for human review and future milestone assignment. ## Description The specification defines six subcommands under `agents actor context`. The implementation in `src/cleveragents/cli/commands/actor_context.py` only registers three of them. The `list`, `show`, and `clear` commands are completely absent. ### Implemented (✓) vs Missing (✗) | Subcommand | Status | |---|---| | `agents actor context remove` | ✓ Implemented | | `agents actor context list [<REGEX>]` | ✗ **MISSING** | | `agents actor context show <NAME>` | ✗ **MISSING** | | `agents actor context export` | ✓ Implemented | | `agents actor context import` | ✓ Implemented | | `agents actor context clear [--yes\|-y] (--all\|-a\|<NAME>)` | ✗ **MISSING** | ### Spec Reference - `agents actor context list [<REGEX>]` — List files stored in an actor context, with optional regex filter - `agents actor context show <NAME>` — Show content of a file in an actor context - `agents actor context clear [--yes|-y] (--all|-a|<NAME>)` — Clear all files from a context but keep the context itself **Code location**: `src/cleveragents/cli/commands/actor_context.py` **Note**: The general `agents context` command (in `context.py`) does have `list`, `show`, and `clear`, but these are NOT the actor-scoped versions. The spec explicitly defines actor-scoped context management under `agents actor context`. ### Steps to Reproduce 1. Run `agents actor context list` → command not found error 2. Run `agents actor context show <name>` → command not found error 3. Run `agents actor context clear <name>` → command not found error ### Expected Behavior All six spec-defined subcommands should be available under `agents actor context`. ### Actual Behavior Only `remove`, `export`, and `import` are registered. `list`, `show`, and `clear` are missing. ## Subtasks - [ ] Implement `agents actor context list [<REGEX>]` subcommand in `actor_context.py` - [ ] Implement `agents actor context show <NAME>` subcommand in `actor_context.py` - [ ] Implement `agents actor context clear [--yes|-y] (--all|-a|<NAME>)` subcommand in `actor_context.py` - [ ] Register all three new subcommands in the CLI group - [ ] Write Behave unit tests for each new subcommand (features/ directory) - [ ] Write Robot Framework integration tests for each new subcommand (robot/ directory) - [ ] Ensure `nox -e typecheck` passes (Pyright, no `# type: ignore` suppressions) - [ ] Ensure `nox -e lint` passes - [ ] Ensure `nox -e coverage_report` passes (coverage ≥ 97%) - [ ] Update CLI documentation / help strings to match spec ## Definition of Done - [ ] `agents actor context list [<REGEX>]` is implemented and matches spec behaviour - [ ] `agents actor context show <NAME>` is implemented and matches spec behaviour - [ ] `agents actor context clear [--yes|-y] (--all|-a|<NAME>)` is implemented and matches spec behaviour - [ ] All six `agents actor context` subcommands are registered and functional - [ ] Behave unit tests cover all three new subcommands - [ ] Robot Framework integration tests cover all three new subcommands (no mocks) - [ ] All nox stages pass - [ ] Coverage >= 97% - [ ] PR merged and issue closed --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: ca-uat-tester
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: Backlog (unchanged) — Missing CLI subcommands for actor context management.
  • Story Points: 5 — L — Requires implementing 3 new CLI subcommands with tests.
  • MoSCoW: Could Have — Actor context management is supplementary functionality.

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

Issue triaged by project owner: - **State**: Verified - **Priority**: Backlog (unchanged) — Missing CLI subcommands for actor context management. - **Story Points**: 5 — L — Requires implementing 3 new CLI subcommands with tests. - **MoSCoW**: Could Have — Actor context management is supplementary functionality. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-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.

Blocks
#392 Epic: Actor YAML & Compiler
cleveragents/cleveragents-core
Reference
cleveragents/cleveragents-core#3410
No description provided.