UAT: TUI Project Detail Modal entirely absent — spec requires modal showing linked resources, active plans, invariants, and context policy #2971

Open
opened 2026-04-05 03:00:10 +00:00 by freemo · 2 comments
Owner

Metadata

  • Branch: feat/tui-project-detail-modal
  • Commit Message: feat(tui): implement Project Detail Modal with resources, plans, invariants, and context policy
  • Milestone: v3.7.0
  • Parent Epic: #868

Description

The spec defines a Project Detail Modal that provides a detailed view of a project, including:

  • Linked Resources: A list of all resources linked to the project
  • Active Plans: A list of all active plans associated with the project
  • Invariants: The project-level invariants that apply to all plans
  • Context Policy: The ACMS context policy for the project

Current behavior: No Project Detail Modal exists anywhere in the TUI codebase. A search of all files in src/cleveragents/tui/ confirms there is no modal, screen, or widget implementing this functionality. The slash catalog includes project:show and project:inspect commands, but these have no implementation in the command router (commands.py only handles persona, session, and help).

Expected behavior per spec: A ProjectDetailModal Textual modal class should exist in src/cleveragents/tui/ that provides a detailed view of a project's linked resources, active plans, invariants, and context policy.

Code locations:

  • src/cleveragents/tui/ — no modal files exist
  • src/cleveragents/tui/slash_catalog.py lines 54–59: project:show, project:inspect, project:context:show listed but not implemented
  • src/cleveragents/tui/commands.py: No project command handling

Steps to reproduce:

  1. Launch the TUI: agents tui
  2. Type /project:show <project_name> in the prompt
  3. The TUI returns "Unknown command: /project:show <project_name>" instead of opening the Project Detail Modal

Subtasks

  • Create src/cleveragents/tui/screens/project_detail_modal.py with ProjectDetailModal class
  • Implement linked resources list section
  • Implement active plans list section
  • Implement invariants display section
  • Implement context policy display section
  • Wire /project:show and /project:inspect slash commands to open the modal
  • Write BDD scenarios in features/tui_project_detail_modal.feature

Definition of Done

  • ProjectDetailModal class exists and is accessible via /project:show and /project:inspect
  • All four sections (linked resources, active plans, invariants, context policy) are functional
  • BDD scenarios cover all modal functionality
  • nox -e typecheck passes
  • nox -e unit_tests passes
  • All nox stages pass
  • Coverage >= 97%

This issue was filed by the UAT Testing agent (ca-uat-tester) as part of automated acceptance testing.


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

## Metadata - **Branch**: `feat/tui-project-detail-modal` - **Commit Message**: `feat(tui): implement Project Detail Modal with resources, plans, invariants, and context policy` - **Milestone**: v3.7.0 - **Parent Epic**: #868 ## Description The spec defines a Project Detail Modal that provides a detailed view of a project, including: - **Linked Resources**: A list of all resources linked to the project - **Active Plans**: A list of all active plans associated with the project - **Invariants**: The project-level invariants that apply to all plans - **Context Policy**: The ACMS context policy for the project **Current behavior**: No Project Detail Modal exists anywhere in the TUI codebase. A search of all files in `src/cleveragents/tui/` confirms there is no modal, screen, or widget implementing this functionality. The slash catalog includes `project:show` and `project:inspect` commands, but these have no implementation in the command router (`commands.py` only handles `persona`, `session`, and `help`). **Expected behavior per spec**: A `ProjectDetailModal` Textual modal class should exist in `src/cleveragents/tui/` that provides a detailed view of a project's linked resources, active plans, invariants, and context policy. **Code locations**: - `src/cleveragents/tui/` — no modal files exist - `src/cleveragents/tui/slash_catalog.py` lines 54–59: `project:show`, `project:inspect`, `project:context:show` listed but not implemented - `src/cleveragents/tui/commands.py`: No project command handling **Steps to reproduce**: 1. Launch the TUI: `agents tui` 2. Type `/project:show <project_name>` in the prompt 3. The TUI returns `"Unknown command: /project:show <project_name>"` instead of opening the Project Detail Modal ## Subtasks - [ ] Create `src/cleveragents/tui/screens/project_detail_modal.py` with `ProjectDetailModal` class - [ ] Implement linked resources list section - [ ] Implement active plans list section - [ ] Implement invariants display section - [ ] Implement context policy display section - [ ] Wire `/project:show` and `/project:inspect` slash commands to open the modal - [ ] Write BDD scenarios in `features/tui_project_detail_modal.feature` ## Definition of Done - [ ] `ProjectDetailModal` class exists and is accessible via `/project:show` and `/project:inspect` - [ ] All four sections (linked resources, active plans, invariants, context policy) are functional - [ ] BDD scenarios cover all modal functionality - [ ] `nox -e typecheck` passes - [ ] `nox -e unit_tests` passes - [ ] All nox stages pass - [ ] Coverage >= 97% --- This issue was filed by the UAT Testing agent (ca-uat-tester) as part of automated acceptance testing. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: ca-new-issue-creator
freemo added this to the v3.7.0 milestone 2026-04-05 03:00:19 +00:00
Author
Owner

Label compliance fix applied:

  • Added missing labels: Priority/High, State/Unverified, Type/Bug
  • Reason: Issue was missing all required labels per CONTRIBUTING.md. Inferred Type/Bug from the "UAT:" prefix. Applied Priority/High (TUI screen entirely absent is high severity) and State/Unverified as defaults.

Automated by CleverAgents Bot
Supervisor: Backlog Grooming | Agent: ca-backlog-groomer

Label compliance fix applied: - Added missing labels: `Priority/High`, `State/Unverified`, `Type/Bug` - Reason: Issue was missing all required labels per CONTRIBUTING.md. Inferred `Type/Bug` from the "UAT:" prefix. Applied `Priority/High` (TUI screen entirely absent is high severity) and `State/Unverified` as defaults. --- **Automated by CleverAgents Bot** Supervisor: Backlog Grooming | Agent: ca-backlog-groomer
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: Confirmed
  • MoSCoW: Should Have

Valid finding verified during batch triage.


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

Issue triaged by project owner: - **State**: Verified - **Priority**: Confirmed - **MoSCoW**: Should Have Valid finding verified during batch triage. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
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.

Blocks
Reference
cleveragents/cleveragents-core#2971
No description provided.