Lab
Trace a CLI flag in an open-source tool
Ask your agent to locate where a documented flag is parsed — on a repo you already cloned.
Teaching pattern only. Always respect licenses and authorization. · Compliance
Goal
Map flag → parser → call site with file:line evidence.
Why reverse engineer
You want a patch and need the real control flow, not a guess from README marketing.
Sample prompt
Evidence path (illustrative)
Staggered reveal of a typical inspection chain.
Return channel
REA returns Evidence / structured results into the agent session (MCP tools or CLI JSON).
Agent role
Interpret Evidence, explain the rule, list unknowns. Writes stay behind your approval.
Suggested steps
Prefer projects you own, maintain, or that are MIT/Apache licensed and already on disk.
Require symbols, paths, and unresolved edges. Treat unknowns as TODOs for you.
Open the cited files yourself before accepting a patch plan.