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
+5
View File
@@ -279,6 +279,11 @@ rea investigate-versions /absolute/path/to/releases/v1 /absolute/path/to/release
rea analyze-javascript-application /absolute/path/to/releases/app.asar --approved --json
```
If REA is registered with an MCP client, run approved `rea setup` while the
explicit investigation-root variable is set, then restart that client. Setup
copies this non-secret policy into the managed registration; changing the shell
environment alone cannot update an already-running MCP process.
`investigate-versions` inventories both versions, checkpoints their observed
Evidence, derives an artifact comparison, and records a changed-behavior report.
Both input paths must resolve beneath `REA_INVESTIGATION_INPUT_ROOTS_JSON`;