Files
cleveragents-core/features
hamza.khyari 616d4ffb67
CI / lint (pull_request) Successful in 1m7s
CI / typecheck (pull_request) Successful in 1m16s
CI / security (pull_request) Successful in 1m14s
CI / push-validation (pull_request) Successful in 38s
CI / helm (pull_request) Successful in 40s
CI / build (pull_request) Successful in 56s
CI / quality (pull_request) Successful in 1m29s
CI / integration_tests (pull_request) Successful in 5m16s
CI / unit_tests (pull_request) Successful in 6m17s
CI / docker (pull_request) Successful in 1m28s
CI / coverage (pull_request) Successful in 10m51s
CI / status-check (pull_request) Successful in 3s
fix(tui): bind active persona actor at session creation and dispatch
Per spec §TUI Session Lifecycle: the active persona actor must be bound
to the session at startup, and passed as an override on every dispatch
so persona cycling (tab) takes effect immediately.

- _create_tui_session(persona_state) — passes active persona actor
  to service.create() so first-launch message does not hit
  SessionActorNotConfiguredError
- _run_llm_dispatch(... actor_override) — accepts and forwards actor
  override in A2aRequest params so persona switching works without
  restarting the TUI
- on_input_submitted — resolves active_persona(session_id).actor and
  passes it as actor_override on each dispatch
- 2 new BDD scenarios: actor_override forwarding, persona-bound
  session creation (8 scenarios total, all passing)

Refs: #11230
2026-05-18 12:40:50 +00:00
..