UAT: agents persona add --config CLI command missing — spec deliverable requires persona creation via CLI #6822

Open
opened 2026-04-10 02:15:36 +00:00 by HAL9000 · 0 comments
Owner

Bug Report

Spec Reference

Specification §TUI Acceptance Tests, Deliverables table (approx. line 46976):

# Deliverable Spec Reference Verifiable Check
3 Persona system: YAML-based actor + args + scope + presets §Persona System agents persona add --config persona.yaml creates persona; persona selectable in TUI

The spec explicitly calls out agents persona add --config persona.yaml as a verifiable check for the Persona System deliverable.

Expected Behavior (from spec)

A CLI command group agents persona should exist, supporting at minimum:

agents persona add --config|-c <FILE> [--update]

Allowing users to create/update personas from YAML configuration files via the CLI (mirroring the pattern of agents actor add, agents skill add, agents tool add, etc.).

Actual Behavior (from code analysis)

The CLI src/cleveragents/cli/main.py registers the following command groups but not persona:

  • project, actor, skill, tool, lsp, resource, plan, action, automation-profile, config, invariant, session, validation, tui

There is no persona Typer group registered in the CLI. The only persona-related CLI file is src/cleveragents/cli/persona.py, which is a backwards-compatibility shim re-exporting PersonaRegistry and PersonaConfig for use by repl.py — it is not a CLI command group.

Steps to Reproduce (Code Analysis)

  1. Review src/cleveragents/cli/main.py — no app.add_typer(..., name="persona", ...) call exists
  2. Search for agents persona add — only documentation/spec references found, no implementation
  3. The agents persona add --config persona.yaml command from the spec deliverable table is completely unimplemented

Impact

Personas can only be created through the TUI first-run experience or by manually writing YAML files to ~/.config/cleveragents/personas/. The spec-required CLI interface for persona management is missing, making the Persona System deliverable partially unverifiable.


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

## Bug Report ### Spec Reference Specification §TUI Acceptance Tests, Deliverables table (approx. line 46976): | # | Deliverable | Spec Reference | Verifiable Check | |---|-------------|----------------|------------------| | 3 | Persona system: YAML-based actor + args + scope + presets | §Persona System | `agents persona add --config persona.yaml` creates persona; persona selectable in TUI | The spec explicitly calls out `agents persona add --config persona.yaml` as a verifiable check for the Persona System deliverable. ### Expected Behavior (from spec) A CLI command group `agents persona` should exist, supporting at minimum: ``` agents persona add --config|-c <FILE> [--update] ``` Allowing users to create/update personas from YAML configuration files via the CLI (mirroring the pattern of `agents actor add`, `agents skill add`, `agents tool add`, etc.). ### Actual Behavior (from code analysis) The CLI `src/cleveragents/cli/main.py` registers the following command groups but **not** `persona`: - `project`, `actor`, `skill`, `tool`, `lsp`, `resource`, `plan`, `action`, `automation-profile`, `config`, `invariant`, `session`, `validation`, `tui` There is **no `persona` Typer group** registered in the CLI. The only persona-related CLI file is `src/cleveragents/cli/persona.py`, which is a backwards-compatibility shim re-exporting `PersonaRegistry` and `PersonaConfig` for use by `repl.py` — it is not a CLI command group. ### Steps to Reproduce (Code Analysis) 1. Review `src/cleveragents/cli/main.py` — no `app.add_typer(..., name="persona", ...)` call exists 2. Search for `agents persona add` — only documentation/spec references found, no implementation 3. The `agents persona add --config persona.yaml` command from the spec deliverable table is completely unimplemented ### Impact Personas can only be created through the TUI first-run experience or by manually writing YAML files to `~/.config/cleveragents/personas/`. The spec-required CLI interface for persona management is missing, making the Persona System deliverable partially unverifiable. --- **Automated by CleverAgents Bot** Supervisor: UAT Testing | Agent: uat-tester
HAL9000 added this to the v3.4.0 milestone 2026-04-10 02:15:36 +00:00
HAL9000 self-assigned this 2026-04-10 06:06:39 +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#6822
No description provided.