feat(tui): implement persona export/import (YAML format) #1005

Open
opened 2026-03-17 01:10:27 +00:00 by brent.edwards · 5 comments
Member

Persona export/import in YAML format.

Dependencies

  • Parent: #868 (Epic: TUI Interface)
  • Tracked by: #926
Persona export/import in YAML format. ## Dependencies - Parent: #868 (Epic: TUI Interface) - Tracked by: #926
brent.edwards added this to the v3.7.0 milestone 2026-03-17 01:11:50 +00:00
Author
Member

Implemented in PR #1246.

What changed:

  • Added TUI router support for /persona:export and /persona:import commands.
  • Added command parsing support for colon-style command aliases (persona:...).
  • /persona:export now accepts <name> [path] and defaults to <name>.yaml when no path is provided.
  • /persona:import now imports from a YAML file path and reports imported persona name.
  • Expanded Behave coverage for persona export/import command paths.
  • Added Robot smoke coverage for persona export/import command flow.

Validation run:

  • nox -s lint typecheck unit_tests -- features/tui_commands_coverage.feature
  • PYTHONPATH=src NO_COLOR=1 .nox/unit_tests-3-13/bin/robot --outputdir build/reports/robot-smoke --variable PYTHON:/tmp/issue-1005/.nox/unit_tests-3-13/bin/python robot/tui_smoke.robot
  • nox -s coverage_report (COVERAGE OK: 98.7% >= 97% threshold)

Commit:

  • 3b6c0455 feat(tui): add persona export/import command support
Implemented in PR #1246. What changed: - Added TUI router support for `/persona:export` and `/persona:import` commands. - Added command parsing support for colon-style command aliases (`persona:...`). - `/persona:export` now accepts `<name> [path]` and defaults to `<name>.yaml` when no path is provided. - `/persona:import` now imports from a YAML file path and reports imported persona name. - Expanded Behave coverage for persona export/import command paths. - Added Robot smoke coverage for persona export/import command flow. Validation run: - `nox -s lint typecheck unit_tests -- features/tui_commands_coverage.feature` - `PYTHONPATH=src NO_COLOR=1 .nox/unit_tests-3-13/bin/robot --outputdir build/reports/robot-smoke --variable PYTHON:/tmp/issue-1005/.nox/unit_tests-3-13/bin/python robot/tui_smoke.robot` - `nox -s coverage_report` (COVERAGE OK: 98.7% >= 97% threshold) Commit: - `3b6c0455` feat(tui): add persona export/import command support
freemo self-assigned this 2026-04-02 06:14:01 +00:00
Owner

PR #1246 created on branch feature/m8-tui-persona-export-import. PR review and merge handled by continuous review stream.

Implementation summary:

  • Added agents persona export and agents persona import CLI commands
  • Added TUI slash command router support for /persona:export and /persona:import
  • 11 Behave BDD scenarios covering export, import, round-trip fidelity, error handling, and path traversal rejection
  • Robot Framework smoke test for TUI persona export/import commands
  • All lint, typecheck, and unit tests pass
PR #1246 created on branch `feature/m8-tui-persona-export-import`. PR review and merge handled by continuous review stream. **Implementation summary:** - Added `agents persona export` and `agents persona import` CLI commands - Added TUI slash command router support for `/persona:export` and `/persona:import` - 11 Behave BDD scenarios covering export, import, round-trip fidelity, error handling, and path traversal rejection - Robot Framework smoke test for TUI persona export/import commands - All lint, typecheck, and unit tests pass
Owner

[Backlog Groomer - groomer-1] ⚠️ PR state inconsistency detected. PR #1246 (feat(tui): implement persona export/import (YAML format)) was closed without merging at 2026-04-02T16:22:12Z. The issue remains open with State/In Review but has no active open PR. Please verify: either create a new PR or close this issue if the work was completed via another mechanism.

**[Backlog Groomer - groomer-1]** ⚠️ **PR state inconsistency detected.** PR #1246 (`feat(tui): implement persona export/import (YAML format)`) was **closed without merging** at 2026-04-02T16:22:12Z. The issue remains open with `State/In Review` but has no active open PR. Please verify: either create a new PR or close this issue if the work was completed via another mechanism.
Owner

PR #1338 reviewed, approved, and merge scheduled (will merge when CI checks pass).

Review summary: All 669 lines across 5 files reviewed. Code quality, spec alignment, test coverage (15 BDD scenarios), type safety, security, and commit format all pass. No blocking issues found.

PR #1338 reviewed, approved, and merge scheduled (will merge when CI checks pass). **Review summary**: All 669 lines across 5 files reviewed. Code quality, spec alignment, test coverage (15 BDD scenarios), type safety, security, and commit format all pass. No blocking issues found.
Owner

PR #1338 code review passed but merge is blocked by conflicts with master (specifically src/cleveragents/tui/commands.py modified by recently-merged PR #1392). The branch needs a rebase to resolve the conflict.

PR #1338 code review passed ✅ but merge is **blocked by conflicts** with master (specifically `src/cleveragents/tui/commands.py` modified by recently-merged PR #1392). The branch needs a rebase to resolve the conflict.
freemo removed this from the v3.7.0 milestone 2026-04-07 02:42:29 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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#1005
No description provided.