4 Commits

Author SHA1 Message Date
hamza.khyari 0fe78e7eff test(tui): enhance TDD regression test for #11039
CI / load-versions (pull_request) Successful in 17s
CI / push-validation (pull_request) Successful in 25s
CI / lint (pull_request) Successful in 33s
CI / build (pull_request) Successful in 39s
CI / helm (pull_request) Successful in 53s
CI / typecheck (pull_request) Successful in 1m11s
CI / security (pull_request) Successful in 1m17s
CI / quality (pull_request) Successful in 3m55s
CI / unit_tests (pull_request) Successful in 5m40s
CI / docker (pull_request) Successful in 2m13s
CI / integration_tests (pull_request) Successful in 8m32s
CI / coverage (pull_request) Successful in 9m33s
CI / status-check (pull_request) Successful in 1s
CI / load-versions (push) Successful in 12s
CI / push-validation (push) Successful in 24s
CI / build (push) Successful in 34s
CI / helm (push) Successful in 40s
CI / quality (push) Successful in 58s
CI / benchmark-publish (push) Has started running
CI / lint (push) Successful in 3m46s
CI / typecheck (push) Successful in 4m23s
CI / security (push) Successful in 4m45s
CI / integration_tests (push) Successful in 8m37s
CI / unit_tests (push) Successful in 14m53s
CI / status-check (push) Has been cancelled
CI / docker (push) Has been cancelled
CI / benchmark-regression (push) Has been cancelled
CI / coverage (push) Has been cancelled
- Verify inherited Widget._render() returns non-None via MRO traversal
- Actually invoke _refresh_display() and verify correct overlay content

Refs: #11039
2026-06-19 01:33:17 -04:00
HAL9000 9ada0e4de5 fix(tui): rename ActorSelectionOverlay._render to avoid shadowing Textual Widget._render
Add TDD regression test for issue #11039: verify that
ActorSelectionOverlay does not define its own _render() method.
The method was renamed to _refresh_display() to prevent shadowing
the Textual Widget._render method which caused NoneType crashes
during layout engine calls.
2026-06-19 01:33:17 -04:00
drew 0bde46f0ff fix(tui): update tests for renamed Anthropic model names and fix typer.Exit propagation
CI / push-validation (pull_request) Successful in 35s
CI / helm (pull_request) Successful in 39s
CI / build (pull_request) Successful in 45s
CI / lint (pull_request) Successful in 1m9s
CI / typecheck (pull_request) Successful in 1m22s
CI / quality (pull_request) Successful in 1m21s
CI / security (pull_request) Successful in 1m30s
CI / integration_tests (pull_request) Successful in 3m20s
CI / unit_tests (pull_request) Successful in 4m57s
CI / docker (pull_request) Successful in 1m26s
CI / coverage (pull_request) Successful in 11m3s
CI / status-check (pull_request) Successful in 3s
2026-05-27 00:46:19 -04:00
freemo 2863b5d1e1 feat(tui): implement first-run experience with actor selection overlay
CI / benchmark-publish (pull_request) Has been skipped
CI / docker (pull_request) Has been skipped
CI / status-check (pull_request) Failing after 1s
CI / benchmark-regression (pull_request) Successful in 54m43s
CI / build (pull_request) Successful in 18s
CI / quality (pull_request) Successful in 3m41s
CI / typecheck (pull_request) Successful in 3m55s
CI / security (pull_request) Successful in 4m5s
CI / integration_tests (pull_request) Successful in 24m43s
CI / e2e_tests (pull_request) Failing after 15m40s
CI / coverage (pull_request) Successful in 12m44s
CI / helm (pull_request) Successful in 21s
CI / lint (pull_request) Successful in 3m16s
CI / unit_tests (pull_request) Failing after 6m8s
Implements the first-run experience for the TUI as specified in the
specification's 'First-Run Experience' section (§ TUI Architecture).

On first launch (no personas configured), a centered ActorSelectionOverlay
widget is displayed guiding the user to select an actor. The overlay
supports keyboard navigation (j/k), fuzzy search (/), and confirmation
(enter). Selecting an actor creates a default persona and dismisses the
overlay.

Changes:
- Add src/cleveragents/tui/first_run.py: is_first_run() detection helper
  and create_default_persona_for_actor() setup helper
- Add src/cleveragents/tui/widgets/actor_selection_overlay.py:
  ActorSelectionOverlay widget with show/hide/navigate/search/confirm API
  and render_actor_selection() pure rendering function
- Update src/cleveragents/tui/app.py: integrate first-run check in
  on_mount(), yield ActorSelectionOverlay in compose(), add
  _complete_first_run() method
- Update src/cleveragents/tui/widgets/__init__.py: export
  ActorSelectionOverlay
- Add features/tui_first_run.feature + features/steps/tui_first_run_steps.py:
  comprehensive Behave BDD tests covering all public API paths

ISSUES CLOSED: #1007
2026-04-02 17:12:54 +00:00