UAT: TUI command routing missing plan/project commands and TuiMaterializer integration #6957

Open
opened 2026-04-10 06:03:44 +00:00 by HAL9000 · 0 comments
Owner

What was tested

  • python -m cleveragents.cli.main tui --headless on commit 51aab18411
  • Invoked TuiCommandRouter.handle for /plan commands using:
python3 - <<'PY'
from pathlib import Path
import sys
sys.path.insert(0, str(Path('/tmp/uat-tui-1775800671/src')))
from cleveragents.tui.commands import TuiCommandRouter
from cleveragents.tui.persona.registry import PersonaRegistry
from cleveragents.tui.persona.state import PersonaState
registry = PersonaRegistry(config_dir=Path('/tmp/uat-tui-1775800671/.tmp-personas'))
state = PersonaState(registry=registry)
router = TuiCommandRouter(persona_registry=registry, persona_state=state)
print(router.handle('plan list', session_id='default'))
PY
  • Searched the source tree for TuiMaterializer

Expected behavior (docs/specification.md §§TUI, Reference and Command System, TUI Materializer)

  • Slash command processor implements the full catalog (plans, projects, scope, config, etc.) described in the spec (lines 29304-29493)
  • TUI routes operations through the TuiMaterializer to the A2A facade so commands operate on real sessions (lines 29017-29020)

Actual behavior

  • TuiCommandRouter.handle only implements persona, session, and help. Commands like /plan:list or /project:show return "Unknown command", so none of the documented plan/project/utility commands function.
  • The codebase contains no TuiMaterializer implementation (git grep TuiMaterializer returns nothing), and run_tui never wires A2A output handles into Textual widgets. As a result, the TUI cannot execute plan/session operations or render streamed output per spec.

Example output from the script above:

Unknown command: /plan list

Steps to reproduce

  1. Checkout commit 51aab18411
  2. Execute the script above from the repository root
  3. Observe that /plan commands are unimplemented and inspect src/cleveragents/tui/commands.py
  4. Search for TuiMaterializer to confirm the integration layer described in the spec is absent

Code location

  • src/cleveragents/tui/commands.py (TuiCommandRouter.handle and helpers)
  • src/cleveragents/tui/commands.py (run_tui) – no materializer/A2A hookup
## What was tested - `python -m cleveragents.cli.main tui --headless` on commit 51aab184112728471a44d5a91c334663cf8cd016 - Invoked `TuiCommandRouter.handle` for `/plan` commands using: ``` python3 - <<'PY' from pathlib import Path import sys sys.path.insert(0, str(Path('/tmp/uat-tui-1775800671/src'))) from cleveragents.tui.commands import TuiCommandRouter from cleveragents.tui.persona.registry import PersonaRegistry from cleveragents.tui.persona.state import PersonaState registry = PersonaRegistry(config_dir=Path('/tmp/uat-tui-1775800671/.tmp-personas')) state = PersonaState(registry=registry) router = TuiCommandRouter(persona_registry=registry, persona_state=state) print(router.handle('plan list', session_id='default')) PY ``` - Searched the source tree for `TuiMaterializer` ## Expected behavior (docs/specification.md §§TUI, Reference and Command System, TUI Materializer) - Slash command processor implements the full catalog (plans, projects, scope, config, etc.) described in the spec (lines 29304-29493) - TUI routes operations through the `TuiMaterializer` to the A2A facade so commands operate on real sessions (lines 29017-29020) ## Actual behavior - `TuiCommandRouter.handle` only implements `persona`, `session`, and `help`. Commands like `/plan:list` or `/project:show` return "Unknown command", so none of the documented plan/project/utility commands function. - The codebase contains no `TuiMaterializer` implementation (`git grep TuiMaterializer` returns nothing), and `run_tui` never wires A2A output handles into Textual widgets. As a result, the TUI cannot execute plan/session operations or render streamed output per spec. Example output from the script above: ``` Unknown command: /plan list ``` ## Steps to reproduce 1. Checkout commit 51aab184112728471a44d5a91c334663cf8cd016 2. Execute the script above from the repository root 3. Observe that `/plan` commands are unimplemented and inspect `src/cleveragents/tui/commands.py` 4. Search for `TuiMaterializer` to confirm the integration layer described in the spec is absent ## Code location - `src/cleveragents/tui/commands.py` (`TuiCommandRouter.handle` and helpers) - `src/cleveragents/tui/commands.py` (`run_tui`) – no materializer/A2A hookup
HAL9000 self-assigned this 2026-04-10 06:21:47 +00:00
HAL9000 added this to the v3.6.0 milestone 2026-04-10 06:21:48 +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.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#6957
No description provided.