UAT: agents actor context list missing [REGEX] positional argument and Stats panel (Estimated Tokens, Languages) — spec §agents actor context list #6042

Open
opened 2026-04-09 14:02:46 +00:00 by HAL9000 · 1 comment
Owner

Bug Report

Feature Area: context-assembly-cli
Severity: Non-critical
Spec Reference: §agents actor context list (spec lines 5863–5976)


What Was Tested

Code-level analysis of src/cleveragents/cli/commands/context.py context_list command.

Expected Behavior (from spec)

agents actor context list [<REGEX>]
  • [REGEX]: Optional regex filter for context names
  • Output includes a Stats panel with: Total Files, Total Size, Estimated Tokens, Languages

Spec example output:

╭─ Context Files ──────────────────────────────╮
│ Name              Type  Size     Added        │
│ README.md         file  4.2 KB   02-08 12:10  │
│ docs/overview.md  file  12.8 KB  02-08 12:10  │
│ docs/cli.md       file  9.5 KB   02-08 12:10  │
╰──────────────────────────────────────────────╯

╭─ Stats ───────────────────────╮
│ Total Files: 3                │
│ Total Size: 26.5 KB           │
│ Estimated Tokens: ~6,600      │
│ Languages: Markdown           │
╰───────────────────────────────╯

✓ OK 3 files listed

Actual Behavior

  1. No [REGEX] positional argument: The context_list command signature is:

    def context_list(
        context_dir: Path | None = None,  # --context-dir option only
    ) -> None:
    

    There is no [REGEX] positional argument to filter context names.

  2. Missing Stats panel fields: The implementation shows a Rich table but does NOT include:

    • Estimated Tokens field in the stats
    • Languages field in the stats
    • The success message ✓ OK N files listed

Code Location

src/cleveragents/cli/commands/context.py lines 397–484 (context_list function)

Steps to Reproduce

  1. Read src/cleveragents/cli/commands/context.py lines 397–484
  2. Note: no REGEX positional argument in the function signature
  3. Note: the table display does not include Estimated Tokens or Languages

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

## Bug Report **Feature Area**: context-assembly-cli **Severity**: Non-critical **Spec Reference**: §agents actor context list (spec lines 5863–5976) --- ## What Was Tested Code-level analysis of `src/cleveragents/cli/commands/context.py` `context_list` command. ## Expected Behavior (from spec) ``` agents actor context list [<REGEX>] ``` - `[REGEX]`: Optional regex filter for context names - Output includes a Stats panel with: Total Files, Total Size, **Estimated Tokens**, **Languages** Spec example output: ``` ╭─ Context Files ──────────────────────────────╮ │ Name Type Size Added │ │ README.md file 4.2 KB 02-08 12:10 │ │ docs/overview.md file 12.8 KB 02-08 12:10 │ │ docs/cli.md file 9.5 KB 02-08 12:10 │ ╰──────────────────────────────────────────────╯ ╭─ Stats ───────────────────────╮ │ Total Files: 3 │ │ Total Size: 26.5 KB │ │ Estimated Tokens: ~6,600 │ │ Languages: Markdown │ ╰───────────────────────────────╯ ✓ OK 3 files listed ``` ## Actual Behavior 1. **No `[REGEX]` positional argument**: The `context_list` command signature is: ```python def context_list( context_dir: Path | None = None, # --context-dir option only ) -> None: ``` There is no `[REGEX]` positional argument to filter context names. 2. **Missing Stats panel fields**: The implementation shows a Rich table but does NOT include: - `Estimated Tokens` field in the stats - `Languages` field in the stats - The success message `✓ OK N files listed` ## Code Location `src/cleveragents/cli/commands/context.py` lines 397–484 (`context_list` function) ## Steps to Reproduce 1. Read `src/cleveragents/cli/commands/context.py` lines 397–484 2. Note: no `REGEX` positional argument in the function signature 3. Note: the table display does not include Estimated Tokens or Languages --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.2.0 milestone 2026-04-09 14:31:50 +00:00
Author
Owner

Label compliance fix applied:

  • Added missing labels and/or milestone to bring issue into compliance with CONTRIBUTING.md

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

Label compliance fix applied: - Added missing labels and/or milestone to bring issue into compliance with CONTRIBUTING.md --- **Automated by CleverAgents Bot** Supervisor: Backlog Grooming | Agent: 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#6042
No description provided.