UAT: TUI PersonaEditorModal widget not implemented — persona creation and editing has no UI #4726

Open
opened 2026-04-08 18:12:07 +00:00 by HAL9000 · 1 comment
Owner

Bug Report

Feature Area: TUI persona system — PersonaEditorModal
Severity: Medium — persona creation/editing UI entirely absent
Source: src/cleveragents/tui/widgets/ directory
Spec reference: docs/specification.md §29614–29665 (Persona Editor Modal)


What Was Tested

Code-level analysis of the src/cleveragents/tui/widgets/ directory against the spec's PersonaEditorModal definition.

Expected Behavior (from spec §29614–29665)

The spec defines a full PersonaEditorModal widget with the following fields:

┌─────────────────────────────────────── Create Persona ───────────────────────────────────────┐
│                                                                                              │
│ Name:        ┌──────────────────────────────────────┐                                        │
│              │ feature-dev                          │                                        │
│              └──────────────────────────────────────┘                                        │
│                                                                                              │
│ Description: ┌────────────────────────────────────────────────────────┐                      │
│              │ Feature development with Claude on main projects       │                      │
│              └────────────────────────────────────────────────────────┘                      │
│                                                                                              │
│ Actor:       ┌──────────────────────────────────────────┐                                    │
│              │ ❯ anthropic/claude-4-sonnet              │ ▼                                  │
│              └──────────────────────────────────────────┘                                    │
│                                                                                              │
│ Color:   ● $primary   ○ $secondary   ○ $success   ○ $warning   ○ $error                      │
│                                                                                              │
│ ── Base Arguments (from actor schema) ──────────────────────────────────────                 │
│ thinking_effort:  ┌──────────┐   temperature:  ┌──────────┐                                  │
│                   │ medium   │ ▼               │ 0.7      │                                  │
│                   └──────────┘                 └──────────┘                                  │
│                                                                                              │
│ ── Scoped Projects ─────────────────────────────────────────────────────────                 │
│ [x] local/cleveragents        [x] local/api-service                                          │
│                                                                                              │
│ ── Scoped Plans ────────────────────────────────────────────────────────────                 │
│ [ ] fix-auth-bug (01HXM8C2)   [ ] refactor-models (01HXM9D3)                                 │
│                                                                                              │
│ ── Argument Presets (ctrl+tab cycling) ─────────────────────────────────────                 │
│ ┌────────────────────────────────────────────────────────────────────────────────────┐       │
│ │  1. default      │ (base arguments)                                                │       │
│ │  2. think: high  │ thinking_effort=high                                            │       │
│ │  3. think: max   │ thinking_effort=max, temperature=0.3                            │       │
│ │  4. quick        │ thinking_effort=low, max_tokens=4096                            │       │
│ │  [+] Add preset                                                                    │       │
│ └────────────────────────────────────────────────────────────────────────────────────┘       │
│                                                                                              │
│ Cycle Order: ┌──────┐  (0 = not in tab cycle)                                                │
│              │  1   │                                                                        │
│              └──────┘                                                                        │
│                                                                                              │
│──────────────────────────────────────────────────────────────────────────────────────────────│
│ tab Next field │ enter Save │ escape Cancel                                                  │
└──────────────────────────────────────────────────────────────────────────────────────────────┘

The modal is triggered by:

  • /persona:create slash command (spec line 29419)
  • ctrl+p in the sidebar fullscreen view (spec line 29200)
  • /persona:edit [name] slash command (spec line 29420)

Actual Behavior

The src/cleveragents/tui/widgets/ directory contains:

__init__.py
actor_selection_overlay.py
help_panel_overlay.py
permission_question.py
persona_bar.py
prompt.py
reference_picker.py
slash_command_overlay.py
thought_block.py

There is no persona_editor_modal.py or PersonaEditorModal class anywhere in the codebase. The widget is entirely absent.

As a result:

  • /persona:create returns "Unknown persona command: create" (see also issue #4717)
  • ctrl+p in the sidebar has no handler
  • There is no way for users to create or edit personas through the TUI

Code Location

  • src/cleveragents/tui/widgets/PersonaEditorModal widget file missing entirely
  • src/cleveragents/tui/commands.py_persona_command() cannot open a modal that doesn't exist

Impact

Users have no way to create or edit personas through the TUI. The only persona creation path is the first-run ActorSelectionOverlay, which creates a single "default" persona. All subsequent persona management requires direct YAML file editing.


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

## Bug Report **Feature Area:** TUI persona system — PersonaEditorModal **Severity:** Medium — persona creation/editing UI entirely absent **Source:** `src/cleveragents/tui/widgets/` directory **Spec reference:** docs/specification.md §29614–29665 (Persona Editor Modal) --- ## What Was Tested Code-level analysis of the `src/cleveragents/tui/widgets/` directory against the spec's PersonaEditorModal definition. ## Expected Behavior (from spec §29614–29665) The spec defines a full `PersonaEditorModal` widget with the following fields: ``` ┌─────────────────────────────────────── Create Persona ───────────────────────────────────────┐ │ │ │ Name: ┌──────────────────────────────────────┐ │ │ │ feature-dev │ │ │ └──────────────────────────────────────┘ │ │ │ │ Description: ┌────────────────────────────────────────────────────────┐ │ │ │ Feature development with Claude on main projects │ │ │ └────────────────────────────────────────────────────────┘ │ │ │ │ Actor: ┌──────────────────────────────────────────┐ │ │ │ ❯ anthropic/claude-4-sonnet │ ▼ │ │ └──────────────────────────────────────────┘ │ │ │ │ Color: ● $primary ○ $secondary ○ $success ○ $warning ○ $error │ │ │ │ ── Base Arguments (from actor schema) ────────────────────────────────────── │ │ thinking_effort: ┌──────────┐ temperature: ┌──────────┐ │ │ │ medium │ ▼ │ 0.7 │ │ │ └──────────┘ └──────────┘ │ │ │ │ ── Scoped Projects ───────────────────────────────────────────────────────── │ │ [x] local/cleveragents [x] local/api-service │ │ │ │ ── Scoped Plans ──────────────────────────────────────────────────────────── │ │ [ ] fix-auth-bug (01HXM8C2) [ ] refactor-models (01HXM9D3) │ │ │ │ ── Argument Presets (ctrl+tab cycling) ───────────────────────────────────── │ │ ┌────────────────────────────────────────────────────────────────────────────────────┐ │ │ │ 1. default │ (base arguments) │ │ │ │ 2. think: high │ thinking_effort=high │ │ │ │ 3. think: max │ thinking_effort=max, temperature=0.3 │ │ │ │ 4. quick │ thinking_effort=low, max_tokens=4096 │ │ │ │ [+] Add preset │ │ │ └────────────────────────────────────────────────────────────────────────────────────┘ │ │ │ │ Cycle Order: ┌──────┐ (0 = not in tab cycle) │ │ │ 1 │ │ │ └──────┘ │ │ │ │──────────────────────────────────────────────────────────────────────────────────────────────│ │ tab Next field │ enter Save │ escape Cancel │ └──────────────────────────────────────────────────────────────────────────────────────────────┘ ``` The modal is triggered by: - `/persona:create` slash command (spec line 29419) - `ctrl+p` in the sidebar fullscreen view (spec line 29200) - `/persona:edit [name]` slash command (spec line 29420) ## Actual Behavior The `src/cleveragents/tui/widgets/` directory contains: ``` __init__.py actor_selection_overlay.py help_panel_overlay.py permission_question.py persona_bar.py prompt.py reference_picker.py slash_command_overlay.py thought_block.py ``` **There is no `persona_editor_modal.py` or `PersonaEditorModal` class anywhere in the codebase.** The widget is entirely absent. As a result: - `/persona:create` returns "Unknown persona command: create" (see also issue #4717) - `ctrl+p` in the sidebar has no handler - There is no way for users to create or edit personas through the TUI ## Code Location - `src/cleveragents/tui/widgets/` — `PersonaEditorModal` widget file missing entirely - `src/cleveragents/tui/commands.py` — `_persona_command()` cannot open a modal that doesn't exist ## Impact Users have no way to create or edit personas through the TUI. The only persona creation path is the first-run `ActorSelectionOverlay`, which creates a single "default" persona. All subsequent persona management requires direct YAML file editing. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
Author
Owner

Issue triaged by project owner:

  • State: Verified
  • Priority: Medium — spec compliance bug identified by UAT testing
  • Story Points: 3 (M) — targeted fix to align implementation with spec
  • MoSCoW: Must Have — spec compliance is required for correct system behavior

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

Issue triaged by project owner: - **State**: Verified - **Priority**: Medium — spec compliance bug identified by UAT testing - **Story Points**: 3 (M) — targeted fix to align implementation with spec - **MoSCoW**: Must Have — spec compliance is required for correct system behavior --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: project-owner
HAL9000 added this to the v3.7.0 milestone 2026-04-09 03:05:48 +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.

Dependencies

No dependencies set.

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