UAT: agents project create output missing Paths, Defaults, and Resources summary sections #5515

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

Bug Report

Feature Area: projects-resources
Severity: Medium — spec output format deviation
Milestone: v3.0.0+

What Was Tested

agents project create <name> output format against the specification.

Expected Behavior (from spec)

Per docs/specification.md lines 2551–2579, agents project create should display four panels:

  1. Project panel — name, description, type, created
  2. Paths panel — root path, data dir path
  3. Defaults panel — sandbox, validations count, context filters, automation profile
  4. Resources panel — total, indexed, sandboxable counts
╭─ Project ──────────────────────╮
│ Name: local/api-service        │
│ Description: Backend API       │
│ Type: local                    │
│ Created: 2026-02-08 12:46      │
╰────────────────────────────────╯

╭─ Paths ────────────────────────────────────╮
│ Root: /repos/api-service                   │
│ Data Dir: /repos/api-service/.cleveragents │
╰────────────────────────────────────────────╯

╭─ Defaults ──────────────────────────────╮
│ Sandbox: git_worktree                   │
│ Validations: 0                          │
│ Context Filters: none                   │
│ Automation Profile: (inherits global)   │
╰─────────────────────────────────────────╯

╭─ Resources ──────╮
│ Total: 0         │
│ Indexed: 0       │
│ Sandboxable: 0   │
╰──────────────────╯

✓ OK Project created

The JSON output (spec lines 2614–2643) includes project, paths, defaults, and resources objects.

Actual Behavior (from code analysis)

In src/cleveragents/cli/commands/project.py lines 633–645, the implementation shows a single panel:

console.print(
    Panel(
        f"[green]✓[/green] Project '{created.namespaced_name}' created.\n"
        f"Namespace: {created.namespace}\n"
        f"Description: {created.description or '(none)'}\n"
        f"Resources: {len(created.linked_resources)}",
        title="Project Created",
        expand=False,
    )
)

Missing:

  • Paths panel (Root, Data Dir)
  • Defaults panel (Sandbox, Validations, Context Filters, Automation Profile)
  • Resources summary panel (Total, Indexed, Sandboxable)
  • type field (local/remote)
  • created timestamp

The JSON output from _project_spec_dict also doesn't include paths, defaults, or resources objects.

Code Location

  • src/cleveragents/cli/commands/project.py, lines 534–645 (create function)
  • src/cleveragents/cli/commands/project.py, lines 137–168 (_project_spec_dict)

Fix Required

The create command output needs to be expanded to include all four panels. The paths information requires knowing the project's data directory (which may need to be derived from the project name or stored in the database).


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

## Bug Report **Feature Area**: projects-resources **Severity**: Medium — spec output format deviation **Milestone**: v3.0.0+ ### What Was Tested `agents project create <name>` output format against the specification. ### Expected Behavior (from spec) Per `docs/specification.md` lines 2551–2579, `agents project create` should display four panels: 1. **Project panel** — name, description, type, created 2. **Paths panel** — root path, data dir path 3. **Defaults panel** — sandbox, validations count, context filters, automation profile 4. **Resources panel** — total, indexed, sandboxable counts ``` ╭─ Project ──────────────────────╮ │ Name: local/api-service │ │ Description: Backend API │ │ Type: local │ │ Created: 2026-02-08 12:46 │ ╰────────────────────────────────╯ ╭─ Paths ────────────────────────────────────╮ │ Root: /repos/api-service │ │ Data Dir: /repos/api-service/.cleveragents │ ╰────────────────────────────────────────────╯ ╭─ Defaults ──────────────────────────────╮ │ Sandbox: git_worktree │ │ Validations: 0 │ │ Context Filters: none │ │ Automation Profile: (inherits global) │ ╰─────────────────────────────────────────╯ ╭─ Resources ──────╮ │ Total: 0 │ │ Indexed: 0 │ │ Sandboxable: 0 │ ╰──────────────────╯ ✓ OK Project created ``` The JSON output (spec lines 2614–2643) includes `project`, `paths`, `defaults`, and `resources` objects. ### Actual Behavior (from code analysis) In `src/cleveragents/cli/commands/project.py` lines 633–645, the implementation shows a single panel: ```python console.print( Panel( f"[green]✓[/green] Project '{created.namespaced_name}' created.\n" f"Namespace: {created.namespace}\n" f"Description: {created.description or '(none)'}\n" f"Resources: {len(created.linked_resources)}", title="Project Created", expand=False, ) ) ``` **Missing:** - ❌ Paths panel (Root, Data Dir) - ❌ Defaults panel (Sandbox, Validations, Context Filters, Automation Profile) - ❌ Resources summary panel (Total, Indexed, Sandboxable) - ❌ `type` field (local/remote) - ❌ `created` timestamp The JSON output from `_project_spec_dict` also doesn't include `paths`, `defaults`, or `resources` objects. ### Code Location - `src/cleveragents/cli/commands/project.py`, lines 534–645 (`create` function) - `src/cleveragents/cli/commands/project.py`, lines 137–168 (`_project_spec_dict`) ### Fix Required The `create` command output needs to be expanded to include all four panels. The `paths` information requires knowing the project's data directory (which may need to be derived from the project name or stored in the database). --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
Author
Owner

🏷️ Label Fix Applied by Backlog Groomer

The State/Verified label has been added to this issue.

Reason: During a routine backlog grooming pass, this issue was found to have Type/Bug and a Priority/ label but was missing a State/* label entirely — a violation of the CONTRIBUTING.md requirement that every issue must have exactly one State/ label.

Since this issue has been triaged with a priority and type, State/Verified is the appropriate state: the issue has been confirmed as legitimate and is now part of the active backlog.

No other changes were made.


Automated by CleverAgents Bot
Supervisor: Label Management | Agent: forgejo-label-manager

## 🏷️ Label Fix Applied by Backlog Groomer The `State/Verified` label has been added to this issue. **Reason**: During a routine backlog grooming pass, this issue was found to have `Type/Bug` and a `Priority/` label but was missing a `State/*` label entirely — a violation of the CONTRIBUTING.md requirement that every issue must have exactly one `State/` label. Since this issue has been triaged with a priority and type, `State/Verified` is the appropriate state: the issue has been confirmed as legitimate and is now part of the active backlog. No other changes were made. --- **Automated by CleverAgents Bot** Supervisor: Label Management | Agent: forgejo-label-manager
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#5515
No description provided.