From df5c48ffda0a92e67c15a68a5f6a042d4392ac75 Mon Sep 17 00:00:00 2001 From: morluto <76467478+morluto@users.noreply.github.com> Date: Sat, 24 Oct 2026 16:33:41 +0800 Subject: [PATCH] docs(cutter): explain bridge descriptor discovery configuration --- docs/reverse-engineering-tools.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/reverse-engineering-tools.md b/docs/reverse-engineering-tools.md index cb36de1c04..645fef254f 100644 --- a/docs/reverse-engineering-tools.md +++ b/docs/reverse-engineering-tools.md @@ -94,6 +94,14 @@ Captured stdout and stderr are retained up to a 16 MiB combined limit; `output_t ## Cutter bridge Cutter commands use the local REA Python bridge and authenticated loopback messages. +Discovery reads the session descriptors that the plugin publishes in the bridge +directory. Set `REA_CUTTER_BRIDGE_DIR` in both REA's environment and the environment +that starts Cutter to select a custom directory. Both expand `~` and `~/` paths +against the current user's home, including `~\` paths on Windows. By default, +they use `%LOCALAPPDATA%\REA\CutterBridge` on Windows when `LOCALAPPDATA` is set, +and `~/.cache/rea/cutter-bridge` otherwise. The two processes must resolve the +same directory for discovery to find the published sessions. + The client and plugin must support the current v2 handshake; older peers are rejected before dispatch because they cannot preserve cross-caller recovery proof. The client checks the final encoded request against