From b7717df55c8d9a230bd3672b82fb37a7552bbb76 Mon Sep 17 00:00:00 2001 From: blasty Date: Fri, 24 Jul 2026 15:11:54 +0200 Subject: docs: sweep for the worker-only reality (drop mcp supervisor/spawn.sh/--db) * RPC.md: the TUI is launched via `./ida-tui --rpc ` (was `idatui.tui --db`); point the "regression lock" note at rpcclient/drive + the pilot instead of the deleted rpc_smoke.py. * PAGING_FINDINGS.md: reframe the intro as the ida-pro-mcp tool functions the worker now calls in-process (shapes/caps unchanged); replace the supervisor-era "idle self-exit" + "max_workers cap" sections with the single-owned-worker lifecycle (no cap, no idle-exit, crash -> reconnect). * TEXTUAL_NOTES.md / TUI_DRIVING_BLUEPRINT.md: drop the ida-pro-mcp framing and the deleted rpc_smoke.py references (-> test_scenarios.py / rpcclient). Also updated the idatui + idatui-rpc skills (in ~/.pi, outside the repo) to the worker model: no supervisor/spawn.sh/--db, worker python + $IDATUI_WORKER_PYTHON, worker.py/worker_client.py/errors.py architecture, and the load-starvation gotcha. --- docs/TUI_DRIVING_BLUEPRINT.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/TUI_DRIVING_BLUEPRINT.md') diff --git a/docs/TUI_DRIVING_BLUEPRINT.md b/docs/TUI_DRIVING_BLUEPRINT.md index 094f87a..cb16d73 100644 --- a/docs/TUI_DRIVING_BLUEPRINT.md +++ b/docs/TUI_DRIVING_BLUEPRINT.md @@ -328,9 +328,9 @@ terse, socket auto-resolved, every action visible in the gdb TUI pane. vocabulary — don't invent; mirror what a power user types). 4. Wire the **spawn command** + **readiness** into the pane manager. 5. Reuse transport, client, and ergonomic CLI unchanged. -6. Add a **smoke test** that spawns the target on a socket and drives the whole - surface end-to-end (idatui's `rpc_smoke.py` is the template — it also locks the - protocol against regressions). +6. Add a **regression test** that drives the surface end-to-end (idatui uses a + headless Textual Pilot suite, `tests/test_scenarios.py`, sharing the settle + logic with the live RPC server via `_sync.py`). ## 13. Pitfalls & lessons (paid for once already) @@ -352,4 +352,4 @@ terse, socket auto-resolved, every action visible in the gdb TUI pane. --- *Reference implementation: `idatui/{rpc,rpcclient,drive,pane,_sync}.py`, -`docs/RPC.md`, `tests/rpc_smoke.py` in this repo.* +`docs/RPC.md`, `tests/test_scenarios.py` in this repo.* -- cgit v1.3.1-sl0p