[PR #46] [MERGED] Evolve REA into an evidence-backed analysis platform #1811

Closed
opened 2026-10-16 21:11:17 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/46
Author: @morluto
Created: 7/12/2026
Status: ✅ Merged
Merged: 7/12/2026
Merged by: @morluto

Base: main ← Head: morl/reverse_improvements


📝 Commits (5)

  • 893d2e2 feat(mcp): add typed bounded analysis tools
  • 1f235cb docs: document the 43-tool workflow
  • 4f18e26 feat: evolve REA analysis platform
  • d648bcd test: add source-built Hopper conformance fixtures
  • 167a824 fix: keep execution options internal

📊 Changes

60 files changed (+2756 additions, -375 deletions)

View changed files

📝 README.md (+8 -8)
📝 README_ar.md (+5 -5)
📝 README_ja.md (+8 -8)
📝 README_ko.md (+8 -8)
📝 README_zh.md (+8 -8)
📝 bridge/hopper_bridge.py (+195 -5)
📝 package.json (+2 -0)
➕ scripts/build-conformance-fixtures.mjs (+223 -0)
➕ scripts/lib/conformance-fixtures.d.mts (+6 -0)
➕ scripts/lib/conformance-fixtures.mjs (+30 -0)
📝 scripts/rea.mjs (+1 -1)
➕ scripts/verify-conformance-fixtures.mjs (+68 -0)
📝 scripts/verify-package.mjs (+3 -3)
📝 scripts/verify-real-hopper.mjs (+164 -9)
➕ src/application/AnalysisProvider.ts (+37 -0)
📝 src/application/BinarySession.ts (+47 -21)
📝 src/application/DirectAnalysis.ts (+8 -3)
📝 src/application/EnhancedTools.ts (+233 -32)
➖ src/application/HopperToolPort.ts (+0 -17)
📝 src/application/runtime.ts (+2 -23)

...and 40 more files

📄 Description

Summary

  • make Hopper results truthful and bounded by fixing pagination, overview inputs/counts, segment permission reporting, and function dossier limitations
  • replace generic MCP outputs with exact schemas and agent-oriented descriptions across the 46-tool surface
  • add artifact SHA-256 identity, evidence envelopes, and provider-neutral analysis/session interfaces while retaining Hopper as the first provider
  • add containing-procedure resolution, bounded raw procedure references, and the literal-first trace_feature workflow
  • harden the real-Hopper verifier against embedded failures and validate structured diagnostics
  • add deterministic source-built C, Objective-C, Swift, N-API, version-pair, and large-pagination fixtures

Verification

  • npm run check — 24 files, 142 tests
  • npm run verify:package — 46 MCP tools, target-free startup
  • npm run verify:fixtures — 7 generated artifacts verified
  • real Hopper verification against:
    • C and version-pair fixtures
    • Objective-C and N-API fixtures
    • Swift fixture
    • 1,205-procedure and 1,205-string pagination fixture
  • clean Hopper shutdown verified
  • Hopper's bundled MCP server was not used
  • autoreview completed without actionable findings

Notes

Generated binaries remain ignored under build/; only fixture sources and deterministic builders are committed.

Addresses #16, #18, #20, #21, #23, #25, #28, #31, and #33.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/46 **Author:** [@morluto](https://github.com/morluto) **Created:** 7/12/2026 **Status:** ✅ Merged **Merged:** 7/12/2026 **Merged by:** [@morluto](https://github.com/morluto) **Base:** `main` ← **Head:** `morl/reverse_improvements` --- ### 📝 Commits (5) - [`893d2e2`](https://github.com/morluto/rea/commit/893d2e2d0550271297c452b418f80bdf8ae21514) feat(mcp): add typed bounded analysis tools - [`1f235cb`](https://github.com/morluto/rea/commit/1f235cb52f61c08b65ecb674cac649c34005bc66) docs: document the 43-tool workflow - [`4f18e26`](https://github.com/morluto/rea/commit/4f18e26ee58f616de788e07639f5b2f91d37ef11) feat: evolve REA analysis platform - [`d648bcd`](https://github.com/morluto/rea/commit/d648bcd2e41ec0b45bc02a69dee0d7206fc64f8f) test: add source-built Hopper conformance fixtures - [`167a824`](https://github.com/morluto/rea/commit/167a824f9131a60d07fca3e99301eecc98d5d5e9) fix: keep execution options internal ### 📊 Changes **60 files changed** (+2756 additions, -375 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+8 -8) 📝 `README_ar.md` (+5 -5) 📝 `README_ja.md` (+8 -8) 📝 `README_ko.md` (+8 -8) 📝 `README_zh.md` (+8 -8) 📝 `bridge/hopper_bridge.py` (+195 -5) 📝 `package.json` (+2 -0) ➕ `scripts/build-conformance-fixtures.mjs` (+223 -0) ➕ `scripts/lib/conformance-fixtures.d.mts` (+6 -0) ➕ `scripts/lib/conformance-fixtures.mjs` (+30 -0) 📝 `scripts/rea.mjs` (+1 -1) ➕ `scripts/verify-conformance-fixtures.mjs` (+68 -0) 📝 `scripts/verify-package.mjs` (+3 -3) 📝 `scripts/verify-real-hopper.mjs` (+164 -9) ➕ `src/application/AnalysisProvider.ts` (+37 -0) 📝 `src/application/BinarySession.ts` (+47 -21) 📝 `src/application/DirectAnalysis.ts` (+8 -3) 📝 `src/application/EnhancedTools.ts` (+233 -32) ➖ `src/application/HopperToolPort.ts` (+0 -17) 📝 `src/application/runtime.ts` (+2 -23) _...and 40 more files_ </details> ### 📄 Description ## Summary - make Hopper results truthful and bounded by fixing pagination, overview inputs/counts, segment permission reporting, and function dossier limitations - replace generic MCP outputs with exact schemas and agent-oriented descriptions across the 46-tool surface - add artifact SHA-256 identity, evidence envelopes, and provider-neutral analysis/session interfaces while retaining Hopper as the first provider - add containing-procedure resolution, bounded raw procedure references, and the literal-first `trace_feature` workflow - harden the real-Hopper verifier against embedded failures and validate structured diagnostics - add deterministic source-built C, Objective-C, Swift, N-API, version-pair, and large-pagination fixtures ## Verification - `npm run check` — 24 files, 142 tests - `npm run verify:package` — 46 MCP tools, target-free startup - `npm run verify:fixtures` — 7 generated artifacts verified - real Hopper verification against: - C and version-pair fixtures - Objective-C and N-API fixtures - Swift fixture - 1,205-procedure and 1,205-string pagination fixture - clean Hopper shutdown verified - Hopper's bundled MCP server was not used - autoreview completed without actionable findings ## Notes Generated binaries remain ignored under `build/`; only fixture sources and deterministic builders are committed. Addresses #16, #18, #20, #21, #23, #25, #28, #31, and #33. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-16 21:11:17 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#1811
No description provided.