[BUG] agents action list table missing "Plans" column and has incorrect column set #9133

Open
opened 2026-04-14 08:25:37 +00:00 by HAL9000 · 1 comment
Owner

Metadata

  • Commit Message: fix(cli): align action list table columns with spec
  • Branch: fix/action-list-table-columns

Background and Context

The agents action list CLI command is implemented in src/cleveragents/cli/commands/action.py (list_actions function, lines 274-394). The spec (docs/specification.md §agents action list, line 16366) defines the exact column set for the table output.

Current Behavior

The implementation renders a table with these columns:

  • Namespaced Name
  • Short Name
  • State
  • Strategy Actor
  • Execution Actor
  • Definition of Done
  • Reusable
  • Created

Additionally, the spec shows a "Filters" panel and a "Summary" panel after the table, which are not rendered.

Expected Behavior

Per docs/specification.md (§agents action list, line 16386), the table should have these columns:

  • Name
  • State
  • Strategy Actor
  • Execution Actor
  • Reusable
  • Plans (count of plans created from this action)

The spec also shows:

  1. A "Filters" panel showing active filters (State, Namespace)
  2. A "Summary" panel showing Total, Available, Archived, Total Plans Created counts

Example from spec:

╭─ Actions ──────────────────────────────────────────────────────────────────────────────────╮
│ Name                 State      Strategy Actor    Execution Actor  Reusable  Plans         │
│ ───────────────────  ─────────  ────────────────  ───────────────  ────────  ─────         │
│ local/code-coverage  available  local/strategist  local/executor   ✓         3             │
╰────────────────────────────────────────────────────────────────────────────────────────────╯

╭─ Filters ────────╮
│ State: available │
│ Namespace: (any) │
╰──────────────────╯

╭─ Summary ──────────────╮
│ Total: 1               │
│ Available: 1           │
│ Archived: 0            │
│ Total Plans Created: 3 │
╰────────────────────────╯

✓ OK 1 action listed

Steps to Reproduce

  1. Create one or more actions
  2. Run: agents action list
  3. Observe: Table has wrong columns (no Plans column, has extra columns like "Short Name", "Definition of Done", "Created")
  4. Observe: No Filters or Summary panels are shown

Acceptance Criteria Impact

  • Violates the output format specification for agents action list (docs/specification.md §agents action list)
  • Users cannot see plan usage counts for actions
  • Users cannot see active filter summary or aggregate statistics

Subtasks

  • Update list_actions in src/cleveragents/cli/commands/action.py to use spec-aligned columns: Name, State, Strategy Actor, Execution Actor, Reusable, Plans
  • Add "Filters" panel showing active namespace and state filters
  • Add "Summary" panel showing Total, Available, Archived, Total Plans Created
  • Requires service layer to return plan count per action
  • Update non-rich format output to include plans count and summary data
  • Tests (Behave): Add/update scenarios for action list table format
  • 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.
  • 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.

Feature Area: Action Templates & LSP Integration
Spec Reference: docs/specification.md — §agents action list (line 16366)
Automated by CleverAgents Bot
Agent: new-issue-creator

## Metadata - **Commit Message**: `fix(cli): align action list table columns with spec` - **Branch**: `fix/action-list-table-columns` ## Background and Context The `agents action list` CLI command is implemented in `src/cleveragents/cli/commands/action.py` (list_actions function, lines 274-394). The spec (docs/specification.md §agents action list, line 16366) defines the exact column set for the table output. ## Current Behavior The implementation renders a table with these columns: - Namespaced Name - Short Name - State - Strategy Actor - Execution Actor - Definition of Done - Reusable - Created Additionally, the spec shows a "Filters" panel and a "Summary" panel after the table, which are not rendered. ## Expected Behavior Per `docs/specification.md` (§agents action list, line 16386), the table should have these columns: - Name - State - Strategy Actor - Execution Actor - Reusable - **Plans** (count of plans created from this action) The spec also shows: 1. A **"Filters"** panel showing active filters (State, Namespace) 2. A **"Summary"** panel showing Total, Available, Archived, Total Plans Created counts Example from spec: ``` ╭─ Actions ──────────────────────────────────────────────────────────────────────────────────╮ │ Name State Strategy Actor Execution Actor Reusable Plans │ │ ─────────────────── ───────── ──────────────── ─────────────── ──────── ───── │ │ local/code-coverage available local/strategist local/executor ✓ 3 │ ╰────────────────────────────────────────────────────────────────────────────────────────────╯ ╭─ Filters ────────╮ │ State: available │ │ Namespace: (any) │ ╰──────────────────╯ ╭─ Summary ──────────────╮ │ Total: 1 │ │ Available: 1 │ │ Archived: 0 │ │ Total Plans Created: 3 │ ╰────────────────────────╯ ✓ OK 1 action listed ``` ## Steps to Reproduce 1. Create one or more actions 2. Run: `agents action list` 3. Observe: Table has wrong columns (no Plans column, has extra columns like "Short Name", "Definition of Done", "Created") 4. Observe: No Filters or Summary panels are shown ## Acceptance Criteria Impact - Violates the output format specification for `agents action list` (docs/specification.md §agents action list) - Users cannot see plan usage counts for actions - Users cannot see active filter summary or aggregate statistics ## Subtasks - [ ] Update `list_actions` in `src/cleveragents/cli/commands/action.py` to use spec-aligned columns: Name, State, Strategy Actor, Execution Actor, Reusable, Plans - [ ] Add "Filters" panel showing active namespace and state filters - [ ] Add "Summary" panel showing Total, Available, Archived, Total Plans Created - [ ] Requires service layer to return plan count per action - [ ] Update non-rich format output to include plans count and summary data - [ ] Tests (Behave): Add/update scenarios for action list table format - [ ] 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. - 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. --- **Feature Area:** Action Templates & LSP Integration **Spec Reference:** docs/specification.md — §agents action list (line 16366) **Automated by CleverAgents Bot** Agent: new-issue-creator
Author
Owner

🔍 Triage Decision

Status: VERIFIED

Type: Bug
MoSCoW: Must have
Priority: High
Milestone: v3.2.0

Reasoning: The agents action list table is missing the required "Plans" column and has an incorrect column set per the CLI output spec; this is a spec compliance bug that must be fixed in v3.2.0.


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

## 🔍 Triage Decision **Status:** ✅ VERIFIED **Type:** Bug **MoSCoW:** Must have **Priority:** High **Milestone:** v3.2.0 **Reasoning:** The `agents action list` table is missing the required "Plans" column and has an incorrect column set per the CLI output spec; this is a spec compliance bug that must be fixed in v3.2.0. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner-pool-supervisor
HAL9000 added this to the v3.2.0 milestone 2026-04-14 08:42:18 +00:00
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.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#9133
No description provided.