UAT: agents plan list --namespace filter not implemented — spec examples show namespace-scoped plan listing #5189

Open
opened 2026-04-09 03:03:01 +00:00 by HAL9000 · 0 comments
Owner

Bug Report

Feature Area: Plan Lifecycle — agents plan list CLI command
Severity: Medium — namespace filtering is missing; team collaboration workflows are impaired
Source: src/cleveragents/cli/commands/plan.py lines 2522–2771


What Was Tested

Code-level analysis of the lifecycle_list_plans CLI command to verify all spec-required filter options are implemented.

Expected Behavior (from spec §Example 14 — Team Collaboration, lines 42064–42126)

The spec shows --namespace as a valid filter for agents plan list:

# List all plans across the team
$ agents plan list --namespace myteam

╭─ Plans ──────────────────────────────────────────────────────────────────────╮
│ ID        Phase     State       Action                  Project               │
│ ────────  ────────  ──────────  ──────────────────────  ─────────────────────│
│ 01HXRC2B  execute   processing  myteam/generate-tests   local/payment-service │
│ 01HXRC3C  apply     applied     myteam/deep-review      local/api-service     │
╰──────────────────────────────────────────────────────────────────────────────╯

╭─ Filters ──────────────────╮
│ Phase: (any)               │
│ State: (any)               │
│ Namespace: myteam          │
│ Project: (any)             │
│ Action: (any)              │
╰────────────────────────────╯

The Filters panel in the spec output explicitly shows Namespace: myteam as a filter field.

The spec also shows:

$ agents plan list --namespace myteam --state processing

Actual Behavior

The lifecycle_list_plans command (lines 2522–2771) has no --namespace option:

@app.command("list")
def lifecycle_list_plans(
    regex: ...,
    phase: ...,
    state: ...,
    processing_state: ...,
    project_id: ...,
    action_filter: ...,
    fmt: ...,
) -> None:
    # No --namespace option

Running agents plan list --namespace myteam would produce:

Error: No such option: --namespace

Additionally, the Filters panel in the rich output does not include a Namespace: row, even when no namespace filter is active.

Code Location

  • src/cleveragents/cli/commands/plan.py lines 2522–2771 — lifecycle_list_plans() function
  • Lines 2718–2744 — Filters panel rendering (missing Namespace: row)

Impact

  • Team collaboration workflows (Example 14 in spec) cannot filter plans by namespace
  • In server mode, users cannot scope plan listings to their team's namespace
  • The Filters panel output doesn't match the spec (missing Namespace: row)

Parent Epic

Part of #4942 (LEGENDARY: Decision Intelligence — Plan Decisions, Corrections, Subplans & Checkpoints)


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

## Bug Report **Feature Area:** Plan Lifecycle — `agents plan list` CLI command **Severity:** Medium — namespace filtering is missing; team collaboration workflows are impaired **Source:** `src/cleveragents/cli/commands/plan.py` lines 2522–2771 --- ## What Was Tested Code-level analysis of the `lifecycle_list_plans` CLI command to verify all spec-required filter options are implemented. ## Expected Behavior (from spec §Example 14 — Team Collaboration, lines 42064–42126) The spec shows `--namespace` as a valid filter for `agents plan list`: ```bash # List all plans across the team $ agents plan list --namespace myteam ╭─ Plans ──────────────────────────────────────────────────────────────────────╮ │ ID Phase State Action Project │ │ ──────── ──────── ────────── ────────────────────── ─────────────────────│ │ 01HXRC2B execute processing myteam/generate-tests local/payment-service │ │ 01HXRC3C apply applied myteam/deep-review local/api-service │ ╰──────────────────────────────────────────────────────────────────────────────╯ ╭─ Filters ──────────────────╮ │ Phase: (any) │ │ State: (any) │ │ Namespace: myteam │ │ Project: (any) │ │ Action: (any) │ ╰────────────────────────────╯ ``` The Filters panel in the spec output explicitly shows `Namespace: myteam` as a filter field. The spec also shows: ```bash $ agents plan list --namespace myteam --state processing ``` ## Actual Behavior The `lifecycle_list_plans` command (lines 2522–2771) has no `--namespace` option: ```python @app.command("list") def lifecycle_list_plans( regex: ..., phase: ..., state: ..., processing_state: ..., project_id: ..., action_filter: ..., fmt: ..., ) -> None: # No --namespace option ``` Running `agents plan list --namespace myteam` would produce: ``` Error: No such option: --namespace ``` Additionally, the Filters panel in the rich output does not include a `Namespace:` row, even when no namespace filter is active. ## Code Location - `src/cleveragents/cli/commands/plan.py` lines 2522–2771 — `lifecycle_list_plans()` function - Lines 2718–2744 — Filters panel rendering (missing `Namespace:` row) ## Impact - Team collaboration workflows (Example 14 in spec) cannot filter plans by namespace - In server mode, users cannot scope plan listings to their team's namespace - The Filters panel output doesn't match the spec (missing `Namespace:` row) ## Parent Epic Part of #4942 (LEGENDARY: Decision Intelligence — Plan Decisions, Corrections, Subplans & Checkpoints) --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.2.0 milestone 2026-04-09 03:12:59 +00:00
HAL9000 modified the milestone from v3.2.0 to v3.5.0 2026-04-09 03:13:15 +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.

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