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/RPC.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docs/RPC.md') diff --git a/docs/RPC.md b/docs/RPC.md index 4a68fbe..d1290f5 100644 --- a/docs/RPC.md +++ b/docs/RPC.md @@ -16,7 +16,7 @@ this doc is the underlying protocol reference. ``` # pane A — the TUI (real render) + a socket listener -python -m idatui.tui --db --rpc /tmp/ida.sock +./ida-tui /abs/path/to/binary --rpc /tmp/ida.sock # pane B — drive it. Ergonomic (auto-finds the socket, terse text): python -m idatui.drive where @@ -117,6 +117,7 @@ to read the pseudocode → `cursor line=.. col=..` onto a token → `rename name a generic worker-drain — read `state()` to confirm. - IDA renders some names without a leading `.` (e.g. `.init_proc` → `init_proc` in pseudocode); resolve/goto by the list name, but match tokens by what's shown. -- `tests/rpc_smoke.py` boots the app on a socket in-process and drives the whole - surface end-to-end — the protocol's regression lock. +- Drive the surface end-to-end from another process with `idatui.rpcclient` / + `idatui.drive`; the headless pilot (`tests/test_scenarios.py`) is the UI + regression lock and shares `_sync.py`'s settle logic with the RPC server. ``` -- cgit v1.3.1-sl0p