fix(mcp): preserve investigation input policy

This commit is contained in:
N0zoM1z0
2026-07-21 19:51:11 +08:00
parent 73d8c69660
commit f4156d9663
57 changed files with 460 additions and 182 deletions
@@ -27,6 +27,18 @@ rea analyze-javascript-application /absolute/path/to/apps/app.asar \
--json
```
When configuring an MCP client, set the variable before approved setup so REA
copies the explicit non-secret root policy into the managed registration:
```bash
export REA_INVESTIGATION_INPUT_ROOTS_JSON='["/absolute/path/to/apps"]'
rea setup
```
Restart the configured MCP client after changing this administrator ceiling.
An already-running server cannot acquire a new process environment through
MCP elicitation or `SIGHUP`.
The equivalent MCP input is:
```json