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

Closed
brent.edwards wants to merge 1 commits from feature/m8-tui-persona-export-import into master

1 Commits

Author SHA1 Message Date
freemo b0666fd460 feat(tui): implement persona export/import (YAML format)
CI / security (pull_request) Failing after 2s
CI / unit_tests (pull_request) Failing after 1s
CI / integration_tests (pull_request) Failing after 2s
CI / e2e_tests (pull_request) Failing after 1s
CI / build (pull_request) Failing after 1s
CI / helm (pull_request) Failing after 2s
CI / lint (pull_request) Successful in 25s
CI / typecheck (pull_request) Successful in 51s
CI / docker (pull_request) Has been skipped
CI / quality (pull_request) Successful in 3m42s
CI / coverage (pull_request) Successful in 12m48s
CI / status-check (pull_request) Failing after 1s
CI / benchmark-publish (pull_request) Has been skipped
CI / benchmark-regression (pull_request) Successful in 55m11s
Implement persona export/import in YAML format with schema validation,
round-trip fidelity, and CLI commands.

- Add `agents persona export` CLI command to export a persona to YAML
- Add `agents persona import` CLI command to import a persona from YAML
- Register persona command group in main CLI under `agents persona`
- Add TUI slash command router support for /persona:export and /persona:import
- Add Behave BDD tests covering 11 scenarios for CLI export/import
- Add TUI command router coverage for export/import slash commands
- Add Robot Framework smoke test for TUI persona export/import commands
- Update CHANGELOG.md

The PersonaRegistry.export_persona() and import_persona() methods
already existed in the TUI domain layer; this commit adds the CLI
presentation layer, TUI command router integration, and comprehensive
BDD/Robot test coverage.

ISSUES CLOSED: #1005
2026-04-02 09:09:38 +00:00