UAT: agents project create output missing spec-required Linked Resources table and Defaults panel #4119

Open
opened 2026-04-06 10:28:33 +00:00 by freemo · 1 comment
Owner

Metadata

  • Branch: fix/cli/project-create-output-panels
  • Commit Message: fix(cli): add spec-required Linked Resources table and Defaults panel to agents project create output
  • Milestone: None (backlog)
  • Parent Epic: #3374

Summary

The agents project create command outputs a single panel with different content than specified. It is missing the Linked Resources table and Defaults panel required by the specification.

What Was Tested

Reviewed src/cleveragents/cli/commands/project.py, the create() function (line 534), and compared its output against the specification's Example 1 workflow (spec lines 36322–36349).

Expected Behavior (from spec)

The spec (lines 36322–36349) requires three panels:

╭─ Project Created ──────────────────────────╮
│ Name: local/api-service                    │
│ Description: REST API service              │
│ Type: local                                │
│ Created: 2026-02-11 09:15                  │
╰────────────────────────────────────────────╯

╭─ Linked Resources ───────────────────────────────────────╮
│ Name               Type            Read-Only             │
│ ─────────────────  ──────────────  ─────────             │
│ local/api-repo     git-checkout    no                    │
╰──────────────────────────────────────────────────────────╯

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

✓ OK Project created

Actual Behavior

The code at src/cleveragents/cli/commands/project.py lines 633–645 outputs:

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,
    )
)

Which produces a single panel with different fields and no Linked Resources table or Defaults panel.

Code Location

  • File: src/cleveragents/cli/commands/project.py
  • Function: create() at line 534
  • Output section: lines 633–645

Steps to Reproduce

  1. Create a project: agents project create --description "REST API service" --resource local/api-repo local/api-service
  2. Observe the output — only one panel is printed instead of three

Impact on Workflow Examples

This blocks visual verification of all workflow examples that use agents project create. The command functions correctly (project is created), but the output does not match the spec.

Subtasks

  • Update Project Created panel to show Name, Description, Type, Created fields (matching spec)
  • Add Linked Resources table showing resource name, type, and read-only status
  • Add Defaults panel showing Sandbox strategy, Validations count, Context Filters, Automation Profile
  • Change confirmation line to ✓ OK Project created

Definition of Done

  • agents project create --description "..." --resource local/api-repo local/api-service outputs three panels matching the spec format
  • Linked Resources table shows all linked resources with correct columns
  • Defaults panel shows correct sandbox strategy and automation profile inheritance
  • All nox stages pass
  • Coverage >= 97%

Backlog note: This issue was discovered during autonomous operation
on milestone None (backlog). It does not block milestone completion and has been
placed in the backlog for human review and future milestone assignment.


Automated by CleverAgents Bot
Supervisor: UAT Testing | Agent: ca-new-issue-creator

## Metadata - **Branch**: `fix/cli/project-create-output-panels` - **Commit Message**: `fix(cli): add spec-required Linked Resources table and Defaults panel to agents project create output` - **Milestone**: None (backlog) - **Parent Epic**: #3374 ## Summary The `agents project create` command outputs a single panel with different content than specified. It is missing the Linked Resources table and Defaults panel required by the specification. ## What Was Tested Reviewed `src/cleveragents/cli/commands/project.py`, the `create()` function (line 534), and compared its output against the specification's Example 1 workflow (spec lines 36322–36349). ## Expected Behavior (from spec) The spec (lines 36322–36349) requires three panels: ``` ╭─ Project Created ──────────────────────────╮ │ Name: local/api-service │ │ Description: REST API service │ │ Type: local │ │ Created: 2026-02-11 09:15 │ ╰────────────────────────────────────────────╯ ╭─ Linked Resources ───────────────────────────────────────╮ │ Name Type Read-Only │ │ ───────────────── ────────────── ───────── │ │ local/api-repo git-checkout no │ ╰──────────────────────────────────────────────────────────╯ ╭─ Defaults ──────────────────────────────╮ │ Sandbox: git_worktree │ │ Validations: 0 │ │ Context Filters: none │ │ Automation Profile: (inherits global) │ ╰─────────────────────────────────────────╯ ✓ OK Project created ``` ## Actual Behavior The code at `src/cleveragents/cli/commands/project.py` lines 633–645 outputs: ```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, ) ) ``` Which produces a single panel with different fields and no Linked Resources table or Defaults panel. ## Code Location - File: `src/cleveragents/cli/commands/project.py` - Function: `create()` at line 534 - Output section: lines 633–645 ## Steps to Reproduce 1. Create a project: `agents project create --description "REST API service" --resource local/api-repo local/api-service` 2. Observe the output — only one panel is printed instead of three ## Impact on Workflow Examples This blocks visual verification of all workflow examples that use `agents project create`. The command functions correctly (project is created), but the output does not match the spec. ## Subtasks - [ ] Update Project Created panel to show Name, Description, Type, Created fields (matching spec) - [ ] Add Linked Resources table showing resource name, type, and read-only status - [ ] Add Defaults panel showing Sandbox strategy, Validations count, Context Filters, Automation Profile - [ ] Change confirmation line to `✓ OK Project created` ## Definition of Done - [ ] `agents project create --description "..." --resource local/api-repo local/api-service` outputs three panels matching the spec format - [ ] Linked Resources table shows all linked resources with correct columns - [ ] Defaults panel shows correct sandbox strategy and automation profile inheritance - [ ] All nox stages pass - [ ] Coverage >= 97% > **Backlog note:** This issue was discovered during autonomous operation > on milestone None (backlog). It does not block milestone completion and has been > placed in the backlog for human review and future milestone assignment. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: ca-new-issue-creator
freemo added this to the v3.6.0 milestone 2026-04-06 18:07:49 +00:00
Author
Owner

Milestone Triage Decision: Moved to Backlog (Belongs in Earlier Milestone)

This CLI output panel fix has been moved out of v3.6.0 during aggressive milestone triage. Basic CLI panel fixes belong in earlier milestones, not in Advanced Concepts.

Reasoning:

  • v3.6.0 focus: Advanced concepts that extend beyond core MVP
  • This issue: Project create output panels - basic CLI functionality
  • Impact: Basic CLI polish, not advanced conceptual capability

Should be addressed in v3.2.0 alongside project creation core functionality.

**Milestone Triage Decision: Moved to Backlog (Belongs in Earlier Milestone)** This CLI output panel fix has been moved out of v3.6.0 during aggressive milestone triage. Basic CLI panel fixes belong in earlier milestones, not in Advanced Concepts. **Reasoning:** - v3.6.0 focus: Advanced concepts that extend beyond core MVP - This issue: Project create output panels - basic CLI functionality - Impact: Basic CLI polish, not advanced conceptual capability Should be addressed in v3.2.0 alongside project creation core functionality.
freemo removed this from the v3.6.0 milestone 2026-04-06 20:42:56 +00:00
HAL9000 added this to the v3.5.0 milestone 2026-04-09 03:10:49 +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#4119
No description provided.