UAT: agents actor context list and agents actor context show commands are missing from actor_context.py #5568

Open
opened 2026-04-09 07:35:50 +00:00 by HAL9000 · 1 comment
Owner

Bug Report

Feature Area: Context Assembly Pipeline — Actor Context CLI Commands

Severity: Critical (milestone-blocking — v3.4.0 deliverable #3 requires actor context commands)

What Was Tested

Code-level analysis of src/cleveragents/cli/commands/actor_context.py against the specification for agents actor context list and agents actor context show commands.

Expected Behavior (from spec §5863–§6057)

The spec defines two commands that must be registered on the agents actor context sub-app:

  1. agents actor context list [REGEX] — Lists files stored in an actor context, with optional regex filter for context names. Output must include a "Context Files" panel with Name/Type/Size/Added columns, plus a "Stats" panel showing Total Files, Total Size, Estimated Tokens, and Languages.

  2. agents actor context show <NAME> — Shows a summary of a named actor context. Output must include a "Context Summary" panel with Context name, Files count, Total Size, Estimated Tokens, and Created timestamp.

Actual Behavior (from code)

src/cleveragents/cli/commands/actor_context.py only registers three commands:

  • remove (line 99)
  • export (line 234)
  • import (line 333)

Neither list nor show is registered. The actor_context_app is wired into actor.py at line 966 (app.add_typer(actor_context_app, name="context")), so any command missing from actor_context.py is missing from the CLI.

Note: context.py has list and show commands, but those are for the actor run context (files added to a plan's context), not for named actor contexts stored under ~/.cleveragents/context/. The spec distinguishes these two different context systems.

Steps to Reproduce

agents actor context list  # → Error: No such command 'list'
agents actor context show docs  # → Error: No such command 'show'

Code Location

  • Missing commands: src/cleveragents/cli/commands/actor_context.py
  • Spec reference: Lines 5863–6057 of docs/specification.md
  • Wiring: src/cleveragents/cli/commands/actor.py line 966

Impact

  • agents actor context list [REGEX] is completely absent — users cannot list named actor contexts
  • agents actor context show <NAME> is completely absent — users cannot inspect a named actor context's summary
  • The spec's "Stats" panel (Estimated Tokens, Languages) is not implemented anywhere for actor contexts

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

## Bug Report **Feature Area**: Context Assembly Pipeline — Actor Context CLI Commands **Severity**: Critical (milestone-blocking — v3.4.0 deliverable #3 requires actor context commands) ### What Was Tested Code-level analysis of `src/cleveragents/cli/commands/actor_context.py` against the specification for `agents actor context list` and `agents actor context show` commands. ### Expected Behavior (from spec §5863–§6057) The spec defines two commands that must be registered on the `agents actor context` sub-app: 1. **`agents actor context list [REGEX]`** — Lists files stored in an actor context, with optional regex filter for context names. Output must include a "Context Files" panel with Name/Type/Size/Added columns, plus a "Stats" panel showing Total Files, Total Size, Estimated Tokens, and Languages. 2. **`agents actor context show <NAME>`** — Shows a summary of a named actor context. Output must include a "Context Summary" panel with Context name, Files count, Total Size, Estimated Tokens, and Created timestamp. ### Actual Behavior (from code) `src/cleveragents/cli/commands/actor_context.py` only registers three commands: - `remove` (line 99) - `export` (line 234) - `import` (line 333) Neither `list` nor `show` is registered. The `actor_context_app` is wired into `actor.py` at line 966 (`app.add_typer(actor_context_app, name="context")`), so any command missing from `actor_context.py` is missing from the CLI. Note: `context.py` has `list` and `show` commands, but those are for the **actor run context** (files added to a plan's context), not for **named actor contexts** stored under `~/.cleveragents/context/`. The spec distinguishes these two different context systems. ### Steps to Reproduce ```bash agents actor context list # → Error: No such command 'list' agents actor context show docs # → Error: No such command 'show' ``` ### Code Location - Missing commands: `src/cleveragents/cli/commands/actor_context.py` - Spec reference: Lines 5863–6057 of `docs/specification.md` - Wiring: `src/cleveragents/cli/commands/actor.py` line 966 ### Impact - `agents actor context list [REGEX]` is completely absent — users cannot list named actor contexts - `agents actor context show <NAME>` is completely absent — users cannot inspect a named actor context's summary - The spec's "Stats" panel (Estimated Tokens, Languages) is not implemented anywhere for actor contexts --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
Author
Owner

Hierarchical Compliance Fix: This issue was detected as an orphan (no parent Epic).

Solution: Linked to Epic #5502 (Actor Execution & Configuration — GRAPH Actor, Config Schema & CLI Compliance) based on scope alignment — actor context CLI commands are part of the actor CLI compliance work.

Hierarchy: Issue #5568 → Epic #5502


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

**Hierarchical Compliance Fix**: This issue was detected as an orphan (no parent Epic). **Solution**: Linked to Epic #5502 (Actor Execution & Configuration — GRAPH Actor, Config Schema & CLI Compliance) based on scope alignment — actor context CLI commands are part of the actor CLI compliance work. **Hierarchy**: Issue #5568 → Epic #5502 --- **Automated by CleverAgents Bot** Supervisor: Epic Planning | Agent: epic-planner
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#5568
No description provided.