feat(permissions): add scoped process capture elicitation

This commit is contained in:
morluto
2026-07-18 04:50:22 +00:00
parent 37f4ac6d70
commit e6cfce3902
21 changed files with 1260 additions and 118 deletions
+16 -3
View File
@@ -1,10 +1,10 @@
---
name: reverse-engineer-anything
description: Reverse engineer native, Electron/JavaScript, and web applications with REA. Connect static artifacts to passive runtime evidence, explain how features work, and build a version tailored to the user's project.
description: Reverse engineer native, Electron/JavaScript, and web application artifacts or runtimes with REA. Connect static artifacts to passive runtime evidence, explain how features work, and build a version tailored to the user's project. Skip REA setup for ordinary source-repository architecture analysis.
metadata:
version: "21"
version: "22"
tool_count: 95
catalog_digest: "b6840d7c79ffdfe8a2ef65fb66c1694f3631bacbc22a0456abbe12aca2d53969"
catalog_digest: "266ea209ddc79eaf85d7ad160e8d3c8ce55cfda6d4b2ca1abb2e4554a914cfd1"
---
# REA
@@ -95,12 +95,25 @@ literal approval and `evidence_write` authority after sandbox cleanup.
Identify the app and what the user wants to understand or build. Do not ask for information they already provided.
First decide whether REA evidence is needed. When the complete source repository
is available and the request is ordinary source-level architecture, code-flow,
or implementation analysis, use normal repository tools and skip REA readiness,
setup, and binary-provider commands. Use REA only when the request needs evidence
from a binary, package, built artifact, decompilation, passive application
runtime, controlled replay, or comparison against behavior not established by
the available source. If the source is available but the requested claim still
depends on built or runtime behavior, explain that distinction and continue with
the relevant REA workflow.
If the app is missing, ask which app they want to reverse engineer. If the app is known but the goal is unclear, ask what they want to understand or build, and offer to start with an overview. Never require the user to supply a program path, address, architecture, or reverse-engineering terminology.
Notes is only a documentation example. Never select an app unless the user names it or confirms it.
## Ensure REA is ready
Run this section only after the request-routing decision establishes that REA
evidence is needed.
1. Run `npx -y rea-agents@latest doctor`.
2. If setup is needed, tell the user REA needs to install its local binary-analysis tools. Do not lead with implementation details or assume the user knows reverse-engineering products.
3. Before installing external software, obtain approval and identify what will be installed. If deeper analysis needs Hopper, describe it as REA's local analysis engine and note that it is a separate Mac app with its own license. Then run `npx -y rea-agents@latest setup --yes`.