UAT: agents resource add rich output missing spec-required Resource, Auto-discovered Children, and Capabilities panels #6484

Open
opened 2026-04-09 21:08:55 +00:00 by HAL9000 · 0 comments
Owner

Bug Report

Feature Area

Resource System — agents resource add rich output format

Spec Reference

docs/specification.md §10603–10638 (agents resource add rich output)

From spec §10603–10638 (expected rich output for agents resource add git-checkout):

╭─ Resource ──────────────────────────────────────╮
│ Name: local/api-repo                            │
│ ID: 01HXR1A1B2C3D4E5F6G7H8J9K0                  │
│ Type: git-checkout                              │
│ Physical/Virtual: physical                      │
│ Path: /home/user/projects/api-service           │
│ Branch: main                                    │
│ Created: 2026-02-09 10:20                       │
╰─────────────────────────────────────────────────╯

╭─ Auto-discovered Children ─────────────────────────────────────────╮
│ ID               Type            Status                            │
│ ───────────────  ──────────────  ─────────────────                 │
│ 01HXR1A1B2C3…   git             created                            │
│ 01HXR1A1B2C4…   git-remote      created                            │
│ 01HXR1A1B2C5…   git-branch      created                            │
│ 01HXR1A1B2C7…   fs-directory    created                            │
│   + 47 git-commit resources                                        │
╰────────────────────────────────────────────────────────────────────╯

╭─ Capabilities ─────────────────╮
│ Readable: yes                  │
│ Writable: yes                  │
│ Sandboxable: yes               │
│ Checkpointable: yes            │
│ Sandbox Strategy: git_worktree │
╰────────────────────────────────╯

✓ OK Resource registered (395 child resources discovered)

Expected Behavior (from spec)

When agents resource add git-checkout local/my-repo --path /app is run (rich format):

  1. "Resource" panel with Name, ID, Type, Physical/Virtual, Path, Branch, Created
  2. "Auto-discovered Children" panel with table of discovered child resources
  3. "Capabilities" panel with Readable, Writable, Sandboxable, Checkpointable, Sandbox Strategy
  4. Footer ✓ OK Resource registered (N child resources discovered)

Actual Behavior

Running agents resource add git-checkout local/my-repo --path /app produces:

Added resource: local/my-repo (id: 01KNT0Q8BG5XFC5Q32D7SCM7F7)

Missing:

  1. "Resource" panel — only a single-line message
  2. "Auto-discovered Children" panel — no children discovered (see issue #6464)
  3. "Capabilities" panel — not shown
  4. Footer with child count — not shown

Code Location

  • src/cleveragents/cli/commands/resource.py lines 782–799: resource_add() rich output path — only prints Added resource: {name} (id: {id})

Steps to Reproduce

agents resource add git-checkout local/test-repo --path /app

Observe: single-line output instead of 3 panels + footer.

Severity

Medium — the rich output is functionally incomplete. Users miss important information about the registered resource (capabilities, sandbox strategy) and auto-discovered children.

Note: The "Auto-discovered Children" panel is also blocked by issue #6464 (auto-discovery not triggered). Both issues need to be fixed together.


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

## Bug Report ### Feature Area Resource System — `agents resource add` rich output format ### Spec Reference `docs/specification.md` §10603–10638 (`agents resource add` rich output) From spec §10603–10638 (expected rich output for `agents resource add git-checkout`): ``` ╭─ Resource ──────────────────────────────────────╮ │ Name: local/api-repo │ │ ID: 01HXR1A1B2C3D4E5F6G7H8J9K0 │ │ Type: git-checkout │ │ Physical/Virtual: physical │ │ Path: /home/user/projects/api-service │ │ Branch: main │ │ Created: 2026-02-09 10:20 │ ╰─────────────────────────────────────────────────╯ ╭─ Auto-discovered Children ─────────────────────────────────────────╮ │ ID Type Status │ │ ─────────────── ────────────── ───────────────── │ │ 01HXR1A1B2C3… git created │ │ 01HXR1A1B2C4… git-remote created │ │ 01HXR1A1B2C5… git-branch created │ │ 01HXR1A1B2C7… fs-directory created │ │ + 47 git-commit resources │ ╰────────────────────────────────────────────────────────────────────╯ ╭─ Capabilities ─────────────────╮ │ Readable: yes │ │ Writable: yes │ │ Sandboxable: yes │ │ Checkpointable: yes │ │ Sandbox Strategy: git_worktree │ ╰────────────────────────────────╯ ✓ OK Resource registered (395 child resources discovered) ``` ### Expected Behavior (from spec) When `agents resource add git-checkout local/my-repo --path /app` is run (rich format): 1. **"Resource" panel** with Name, ID, Type, Physical/Virtual, Path, Branch, Created 2. **"Auto-discovered Children" panel** with table of discovered child resources 3. **"Capabilities" panel** with Readable, Writable, Sandboxable, Checkpointable, Sandbox Strategy 4. **Footer** `✓ OK Resource registered (N child resources discovered)` ### Actual Behavior Running `agents resource add git-checkout local/my-repo --path /app` produces: ``` Added resource: local/my-repo (id: 01KNT0Q8BG5XFC5Q32D7SCM7F7) ``` **Missing:** 1. ❌ "Resource" panel — only a single-line message 2. ❌ "Auto-discovered Children" panel — no children discovered (see issue #6464) 3. ❌ "Capabilities" panel — not shown 4. ❌ Footer with child count — not shown ### Code Location - `src/cleveragents/cli/commands/resource.py` lines 782–799: `resource_add()` rich output path — only prints `Added resource: {name} (id: {id})` ### Steps to Reproduce ```bash agents resource add git-checkout local/test-repo --path /app ``` Observe: single-line output instead of 3 panels + footer. ### Severity Medium — the rich output is functionally incomplete. Users miss important information about the registered resource (capabilities, sandbox strategy) and auto-discovered children. Note: The "Auto-discovered Children" panel is also blocked by issue #6464 (auto-discovery not triggered). Both issues need to be fixed together. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
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#6484
No description provided.