[PR #1] [MERGED] Add dynamic binary sessions and guided onboarding #1801

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

📋 Pull Request Information

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

Base: master ← Head: morl/binaryimprovement


📝 Commits (4)

  • f32e718 feat(session): add dynamic binary lifecycle
  • 8ca3db8 feat(cli): add guided local onboarding
  • ee6d539 docs: document frictionless binary workflow
  • d9c9025 Improve Hopper session reliability

📊 Changes

35 files changed (+2274 additions, -227 deletions)

View changed files

📝 README.md (+33 -140)
📝 bridge/hopper_bridge.py (+5 -7)
📝 package-lock.json (+65 -0)
📝 package.json (+12 -1)
➕ scripts/better-binary.mjs (+64 -0)
➕ scripts/verify-package.mjs (+178 -0)
📝 scripts/verify-real-hopper.mjs (+66 -9)
➕ skills/better-binary-analysis/SKILL.md (+8 -0)
➕ src/application/BinarySession.ts (+146 -0)
➕ src/application/DirectAnalysis.ts (+47 -0)
➕ src/application/Doctor.ts (+168 -0)
📝 src/application/EnhancedTools.ts (+5 -8)
➕ src/application/Setup.ts (+309 -0)
➕ src/application/homebrew.ts (+17 -0)
📝 src/config.ts (+3 -3)
📝 src/contracts/toolContracts.ts (+19 -1)
➕ src/domain/binaryTarget.ts (+217 -0)
📝 src/domain/errors.ts (+22 -0)
📝 src/hopper/HopperClient.ts (+40 -34)
➕ src/identity.ts (+10 -0)

...and 15 more files

📄 Description

Summary

  • add target-free MCP startup with explicit open_binary, close_binary, and binary_session lifecycle tools
  • detect binary formats and loader arguments, preserve the original 39-tool contract, and add guided CLI setup/doctor workflows
  • harden Hopper bridge request correlation, session switching, concurrent shutdown, call-graph traversal, and bridge address handling
  • centralize Homebrew discovery and keep partial-server instructions consistent with the exposed tool surface

Verification

  • npm run check
  • python3 -m py_compile bridge/hopper_bridge.py
  • 82 tests across 16 files

Real Hopper verification was not performed because HOPPER_TARGET_PATH was not set.


🔄 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/1 **Author:** [@morluto](https://github.com/morluto) **Created:** 7/11/2026 **Status:** ✅ Merged **Merged:** 7/11/2026 **Merged by:** [@morluto](https://github.com/morluto) **Base:** `master` ← **Head:** `morl/binaryimprovement` --- ### 📝 Commits (4) - [`f32e718`](https://github.com/morluto/rea/commit/f32e718cc741bba4deb0162c1a9b93f127e7741a) feat(session): add dynamic binary lifecycle - [`8ca3db8`](https://github.com/morluto/rea/commit/8ca3db829f90f99dcaa57bbfc44fb3fe6a6b60c0) feat(cli): add guided local onboarding - [`ee6d539`](https://github.com/morluto/rea/commit/ee6d539a407493617c1a58816e0329d600495217) docs: document frictionless binary workflow - [`d9c9025`](https://github.com/morluto/rea/commit/d9c9025ffbb950b85202dab640677ba0233ec012) Improve Hopper session reliability ### 📊 Changes **35 files changed** (+2274 additions, -227 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+33 -140) 📝 `bridge/hopper_bridge.py` (+5 -7) 📝 `package-lock.json` (+65 -0) 📝 `package.json` (+12 -1) ➕ `scripts/better-binary.mjs` (+64 -0) ➕ `scripts/verify-package.mjs` (+178 -0) 📝 `scripts/verify-real-hopper.mjs` (+66 -9) ➕ `skills/better-binary-analysis/SKILL.md` (+8 -0) ➕ `src/application/BinarySession.ts` (+146 -0) ➕ `src/application/DirectAnalysis.ts` (+47 -0) ➕ `src/application/Doctor.ts` (+168 -0) 📝 `src/application/EnhancedTools.ts` (+5 -8) ➕ `src/application/Setup.ts` (+309 -0) ➕ `src/application/homebrew.ts` (+17 -0) 📝 `src/config.ts` (+3 -3) 📝 `src/contracts/toolContracts.ts` (+19 -1) ➕ `src/domain/binaryTarget.ts` (+217 -0) 📝 `src/domain/errors.ts` (+22 -0) 📝 `src/hopper/HopperClient.ts` (+40 -34) ➕ `src/identity.ts` (+10 -0) _...and 15 more files_ </details> ### 📄 Description ## Summary - add target-free MCP startup with explicit `open_binary`, `close_binary`, and `binary_session` lifecycle tools - detect binary formats and loader arguments, preserve the original 39-tool contract, and add guided CLI setup/doctor workflows - harden Hopper bridge request correlation, session switching, concurrent shutdown, call-graph traversal, and bridge address handling - centralize Homebrew discovery and keep partial-server instructions consistent with the exposed tool surface ## Verification - `npm run check` - `python3 -m py_compile bridge/hopper_bridge.py` - 82 tests across 16 files Real Hopper verification was not performed because `HOPPER_TARGET_PATH` was not set. --- <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:11 +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#1801
No description provided.