Skip to content

[codex] Simplify REA onboarding and app targeting - #15

Merged
morluto merged 2 commits into
mainfrom
codex/simplify-readme-onboarding
Jul 12, 2026
Merged

morluto merged 2 commits into
mainfrom
codex/simplify-readme-onboarding

Conversation

@morluto

@morluto morluto commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Why

REA's onboarding still assumed that users understood program paths, binary-analysis terminology, and address-level decompilation. The packaged agent skill was also much thinner than the product workflow described in the README, and setup maintained a separate hard-coded copy that could drift.

What changed

  • Reframes the README around one agent request: name an app, explain what you want to understand, and optionally build a version for your project.
  • Adds the npx skills add morluto/rea path prominently and keeps direct CLI commands secondary.
  • Updates the English, Chinese, Japanese, Korean, and Arabic READMEs while contract-testing shared product facts.
  • Reworks the REA skill to ask for the app or goal only when missing, locate macOS apps by name, perform setup with explicit approval, investigate the requested feature, explain how conclusions were reached, and clean up afterward.
  • Makes setup install the canonical packaged skill instead of a hard-coded duplicate, with package verification asserting byte-for-byte identity.
  • Allows CLI, doctor, and MCP entry points to accept a macOS .app directly by safely resolving CFBundleExecutable from its property list.
  • Simplifies CLI and error language around apps while retaining the lower-level analysis contracts.
  • Updates npm description and discovery keywords.

The .app resolver handles XML and binary property lists, rejects unsafe executable names and symlink escapes, and then passes the resolved program through the existing executable validation path.

Verification

  • npm run check — 20 test files and 127 tests passed
  • npm run verify:package — CLI, setup, backups/readback, canonical skill, target-free MCP, and all 42 tools passed
  • npm pack --dry-run — 35 expected files; no generated Python bytecode
  • git diff --check

Real Hopper was not launched for this documentation and target-resolution change. Native .app resolution was exercised with filesystem fixtures and a read-only parse of the system Notes app during development.

@morluto
morluto marked this pull request as ready for review July 12, 2026 04:33
@morluto
morluto merged commit 7e4ae21 into main Jul 12, 2026
8 checks passed
@morluto
morluto deleted the codex/simplify-readme-onboarding branch July 28, 2026 17:39
darsrc pushed a commit to darsrc/rea that referenced this pull request Oct 10, 2026
…arding

[codex] Simplify REA onboarding and app targeting
@morluto morluto added the enhancement New feature or request label Oct 14, 2026
Jackzigen added a commit to Jackzigen/rea that referenced this pull request Oct 26, 2026
…rface

- stage config writes beside the file and rename into place so an
  interrupted write cannot leave partial JSON (greptile morluto#4, codex morluto#11)
- convert unreadable config files into configuration errors on the CLI
  seam instead of escaping raw filesystem errors (greptile morluto#5, codex morluto#15)
- keep injected runtimes without a config root isolated from the host
  account's rea.json (codex morluto#18)
- surface the config file error on stderr when doctor falls back to the
  raw environment (greptile morluto#3, codex morluto#16)
- route the config command through logCliCommand and return documents so
  --json stays parseable and failures exit non-zero (greptile morluto#2,
  codex morluto#10)
- reject empty --set values, unknown --set/--unset/--get names, and --get
  combined with mutations (greptile #1/morluto#7, codex morluto#9/morluto#12/morluto#13/morluto#17)
- cover the new behavior in the boundary tests and stop leaking one
  temporary home per run (greptile morluto#8)
DrAbdulmalek pushed a commit to DrAbdulmalek/rea that referenced this pull request Oct 26, 2026
…depth-variety-pfs200

Polish README for professional presentation
penghongchen02-stack pushed a commit to penghongchen02-stack/rea that referenced this pull request Nov 18, 2026
…o#15 and swisstony

psb/variants.py adds 30 paper bots on $1,000 each, each changing only
named settings of its base: drop or jump threshold, minimum edge, bets
per market and size, sports, probe/anchor sizing. Bots now own their
entry filter (Bot.allows), so all-sports versions skip the swisstony
report filter without adding a fake wallet strategy. Move thresholds in
morluto#14, morluto#15, morluto#19 and morluto#47 allow for decimal rounding (0.60 - 0.50 < 0.10).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Fj26vNqjimaLW4h8KN1Ghi
penghongchen02-stack pushed a commit to penghongchen02-stack/rea that referenced this pull request Nov 18, 2026
psb/livesim.py adds "-livesim" twins that make their base bot's exact
decisions but fill them the way real orders would be: under the real-money
limits ($5 per order, $50 at risk, $25 daily loss stop), in whole
contracts, against the US book re-read 0.2 s plus one request later, as a
fill-or-cancel limit order taking half of each level's size (an assumed
share for competing traders). Missed and partly filled orders are counted
per bot; psb.top compares each twin with its paper base.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Fj26vNqjimaLW4h8KN1Ghi
penghongchen02-stack pushed a commit to penghongchen02-stack/rea that referenced this pull request Nov 19, 2026
Same decisions and bet sizes as the paper versions, filled the way real
orders would be, so the two best paper bots can be checked for real-world
fills.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Fj26vNqjimaLW4h8KN1Ghi
penghongchen02-stack pushed a commit to penghongchen02-stack/rea that referenced this pull request Nov 19, 2026
…ignal

underdog-1 and Live_underdog now buy the underdog (under 50c) in any live
game the moment its international price jumps 1.5c+ between polls, with a
0.5c edge after the fee: $1 a buy, up to 3 a game. Neither had traded yet.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Fj26vNqjimaLW4h8KN1Ghi
penghongchen02-stack pushed a commit to penghongchen02-stack/rea that referenced this pull request Nov 19, 2026
…ennis makers

New: comeback fade, late underdog (elapsed-time proxy), big jump (5c),
tennis set loser (20c fall of a pre-match favourite), pre-game underdog
with a lock-in once 15c up, and morluto#15 x06 on ITF men's tennis only. Each has
a Live_ copy, and so do the five tennis makers.

A Live_ maker's resting bid now fills only on trades strictly through its
price (others rest at the same price first), and then only its queue share
in whole contracts.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Fj26vNqjimaLW4h8KN1Ghi
penghongchen02-stack pushed a commit to penghongchen02-stack/rea that referenced this pull request Nov 19, 2026
… Live_ copies

Fights (UFC, boxing, bare-knuckle), darts (PDC, Modus), baseball winners and
totals, a spreads/totals maker, soccer draws, morluto#15 x06 with a +10c take-profit,
morluto#15 x06 with a 30% cash reserve, and a clock that copies morluto#15 x06 on tennis by
day and NBA/NHL by night. Boxing, bare-knuckle and Modus darts are opt-in
leagues: only bots that name them trade them, so the other bots' universe is
unchanged.

Not built: esports single maps, cricket and futures; Polymarket US lists no
map markets or futures, and its cricket matches have no international price.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Fj26vNqjimaLW4h8KN1Ghi
penghongchen02-stack pushed a commit to penghongchen02-stack/rea that referenced this pull request Nov 20, 2026
The 30 clock bots shared three night bots (morluto#15 x02, x06, x10), so they
traded in three identical groups. Those three also won mostly on tennis,
which the clock bots skip at night. Each clock bot now copies one of the
30 bots that made the most at night on other sports, spread so every
morning and afternoon bot gets a share of the best and the worst.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Fj26vNqjimaLW4h8KN1Ghi
morluto added a commit that referenced this pull request Nov 21, 2026
* feat(config): persist provider settings in a user config file

Providers currently rediscover install paths from scratch in every
process, so a path set once (for example GHIDRA_INSTALL_DIR) silently
reverts on the next run. Introduce ~/.config/rea/rea.json as the
user-owned persistence layer and merge it into the environment
snapshot before configuration parsing, keeping env > config file >
auto-detect precedence on both the CLI and MCP entry points.

Add a rea config command (list/get/set/unset) as the write surface,
reporting the effective value and where it came from.

* fix(config): address review findings on persistence safety and CLI surface

- stage config writes beside the file and rename into place so an
  interrupted write cannot leave partial JSON (greptile #4, codex #11)
- convert unreadable config files into configuration errors on the CLI
  seam instead of escaping raw filesystem errors (greptile #5, codex #15)
- keep injected runtimes without a config root isolated from the host
  account's rea.json (codex #18)
- surface the config file error on stderr when doctor falls back to the
  raw environment (greptile #3, codex #16)
- route the config command through logCliCommand and return documents so
  --json stays parseable and failures exit non-zero (greptile #2,
  codex #10)
- reject empty --set values, unknown --set/--unset/--get names, and --get
  combined with mutations (greptile #1/#7, codex #9/#12/#13/#17)
- cover the new behavior in the boundary tests and stop leaking one
  temporary home per run (greptile #8)

* fix(config): validate and back up persisted provider settings

* fix(config): keep saved provider defaults out of client registrations

* fix(config): preserve provider discovery and budgets for saved settings

* fix(config): check only settings needed by the IDA deadline lookup

* fix(config): share effective provider settings and verify config file reads

* fix(doctor): share selected settings with Hopper and ILSpy probes

* fix(config): resolve the destination of first-time saves

* fix(doctor): preserve unresolved provider location inputs

* fix(doctor): honor inherited IDA deadline overrides

* fix(config): show empty environment overrides

* fix(setup): preserve client-selected saved configuration roots

---------

Co-authored-by: Jackzigen <[email protected]>
Co-authored-by: morluto <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant