Skip to content

[codex] Publish REA under the morluto scope - #4

Merged
morluto merged 1 commit into
mainfrom
codex/publish-morluto-rea
Jul 12, 2026
Merged

morluto merged 1 commit into
mainfrom
codex/publish-morluto-rea

Conversation

@morluto

@morluto morluto commented Jul 12, 2026

Copy link
Copy Markdown
Owner

Summary

Publish REA through the dependable @morluto/rea npm scope while preserving REA as the product, rea as the executable, and rea as the MCP server key.

The previously selected unscoped locator, reaa, was rejected by npm's package-name similarity policy. The scoped locator avoids that global namespace restriction and keeps the user-facing command unchanged.

This updates the manifest and lockfile identity, central product identity, setup-generated MCP launch command, package verifier, setup transaction tests, and README examples. Fresh registrations now launch npx -y @morluto/rea mcp.

Verification

  • npm run check — 102 tests across 17 files
  • npm run verify:package — CLI, setup backup/readback/recovery, and target-free beta.3 MCP server with 42 tools
  • npm pack --dry-run — 33 intended files, no Python cache artifacts
  • Local tarball npx help smoke test
  • npm publish --access public — accepted as @morluto/[email protected]

Real-Hopper verification was not repeated for this identity-only change; the package verifier exercises the shared runtime seams without opening Hopper.

Registry CDN smoke tests remain pending initial npm propagation. npm's access API reports the package as public.

@morluto
morluto marked this pull request as ready for review July 12, 2026 01:51
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@morluto
morluto merged commit 04d5ceb into main Jul 12, 2026
@morluto
morluto deleted the codex/publish-morluto-rea branch July 12, 2026 01:52
darsrc pushed a commit to darsrc/rea that referenced this pull request Oct 10, 2026
[codex] Publish REA under the morluto scope
WizzoUK2 referenced this pull request in Wicked-Sick-Ltd/rea Oct 13, 2026
* fix(security): clear CodeQL High insecure-temp, sanitization, and TOCTOU

- Replace hardcoded /tmp fixture paths with /var/empty to clear
  js/insecure-temporary-file (#22-24) taint into src sinks.
- Use global backslash replace in verify-windows-native (#4-5).
- Prefer open/read-then-fstat or single-read over check-then-act for
  SignatureTargetBinding, NativeMacOSProvider, JavaScriptAnalysisWorker,
  IdaConfiguration, SafeOutputTree (morluto#30-34) and verify scripts (#25-29).

Covers CodeQL alerts: #4 #5 #22 #23 #24 #25 #26 #28 #29 morluto#30 morluto#31 morluto#32 morluto#33 morluto#34
(and #27 via macho open+read consolidation).

* fix(security): use single file handle for macho occurrence verify

Keep one r+ descriptor for stat, chmod, and byte checks so CodeQL
js/file-system-race no longer flags path-based read after earlier checks.

---------

Co-authored-by: Cursor Agent <[email protected]>
@morluto morluto added enhancement New feature or request area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior labels Oct 14, 2026
thewrz added a commit to thewrz/rea that referenced this pull request Oct 22, 2026
- Enforce MAX_SAFE_INTEGER bound on request IDs in protocol decoder
- Use INVALID_REQUEST_ID constant instead of literal 1
- Add explanatory comment for pyGhidra config directory need
- Replace Review Focus test stubs with skipTest for honest reporting
- Add Python -I (isolated mode) to probe and bridge spawn
- Rename stub morluto#4 to reflect fail-closed descriptor validation

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
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)
thewrz added a commit to thewrz/rea that referenced this pull request Oct 26, 2026
- Enforce MAX_SAFE_INTEGER bound on request IDs in protocol decoder
- Use INVALID_REQUEST_ID constant instead of literal 1
- Add explanatory comment for pyGhidra config directory need
- Replace Review Focus test stubs with skipTest for honest reporting
- Add Python -I (isolated mode) to probe and bridge spawn
- Rename stub morluto#4 to reflect fail-closed descriptor validation

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
leockl added a commit to leockl/rea that referenced this pull request Nov 14, 2026
…coder

Address greptile's second-round findings on the antidote pass.

JSON (morluto#1, morluto#7): bound each path segment and the whole fact-name path, and JSON-pointer-escape object keys, so an inflated 8 MiB key cannot be repeated across fact names (a ~1 GiB blowup) and `{"a/b":1,"a":{"b":2}}` no longer collapses two members to one ambiguous name. A shortened name carries a sha256 of the exact key for reference.

ASAR header decoder (morluto#4): extract decodeAsarHeaderText in AsarHeader.ts and use it from both readAsarHeader and the canonicalize adapter, so the adapter no longer reinterprets header bytes with a lossy decoder; invalid UTF-8 is rejected identically.

ASAR listing budget (morluto#2): when readAsarListing exceeds its expanded-listing budget, return an explicit truncated inventory carrying the reader's own guidance, instead of letting the provider recommend the unrelated max_file_bytes limit.

ASAR unknown sizes (morluto#3): carry each entry's reader-supplied limitations into the result and keep an unknown declared size distinct from a genuine zero-byte member.

Carried-forward findings morluto#5 (JSON pre-allocation), morluto#6 (reachability-first), and morluto#8 (manifest not crowded out) were already resolved by the prior commit's redesign; this adds no further change for them.

Verified under Node 24.22.1: typecheck, check:fast (typecheck + lint), 33 canonicalize source/adapter tests, the AsarHeader reader tests, and the MCP and CLI boundary tests.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
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]>
@morluto morluto added the area: build Build, CI, packaging, and publishing label Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build Build, CI, packaging, and publishing area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant