Skip to content

docs: correct stale logging, Ghidra host, and example path statements - #1420

Merged
morluto merged 2 commits into
morluto:mainfrom
Fazmin:docs/correct-stale-statements
Oct 10, 2026
Merged

morluto merged 2 commits into
morluto:mainfrom
Fazmin:docs/correct-stale-statements

Conversation

@Fazmin

@Fazmin Fazmin commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

Summary

This corrects four statements in the contributor docs, the user docs and the website that no longer match the code or the hosted site. Each one is a one-line or one-paragraph fix. They're grouped because they're all small factual corrections with no code changes. No issue is linked because these are small, self-contained corrections.

Problem and expected behavior

File Stated Actual
CONTRIBUTING.md "one-shot CLI logging is opt-in on stdout" src/logger.ts createLogger writes every mode to pino.destination({ dest: 2 }). Since 00c187e, CLI logs go to stderr so --json stdout stays parseable.
website/public/get-started/index.html Ghidra needs a JDK "on Linux x64 or macOS x64/arm64" GhidraInstallation.ts maps linux: { x64, arm64 }, and Linux arm64 shipped in 6.1.0. docs/installation.md and docs/native-investigation.md already say "Linux x64/arm64".
website/public/guides/browser/index.html "The hosted example's request path includes the site's /rea/ prefix." The guide's start URL is https://rea.tools/examples/notes-web/. There, the request is GET /examples/notes-web/notes.json, which is exactly what the evidence table above the caption shows. The /rea/ prefix applies only to the GitHub Pages mirror.
docs/javascript-application-workflows.md "All five CLI commands accept inline JSON or a path to a JSON file" The same page lists six tools. inspect-analysis-view (#1180) was added after this sentence was written, and all six --help texts say "Inline workflow JSON or JSON file path".

Change and scope

  • CONTRIBUTING.md: state that logs go to stderr in both modes.
  • Get started page: "Linux x64/arm64". Windows is left out because this provider card's commands are macOS/Linux shell.
  • Browser guide: remove the stale caption. The table already shows the real path.
  • JavaScript workflows doc: "five" becomes "six".

No other wording changes.

Contract and boundary impact

  • Semantic owner and earliest changed stage: documentation and website copy only
  • CLI and MCP/tool-catalog contract: none
  • Provider, bridge, target-format, or platform compatibility: documentation now matches existing Ghidra host support; no behavior change
  • Evidence, artifact, provenance, or reconstruction contract: none
  • Process execution, authorization, cleanup, or containment impact: none
  • Generated metadata, package, or installation impact: none

Evidence and regression coverage

  • Tests added or updated: none; this PR changes documentation only.
  • Base reproduction / evidence:
    • REA_LOG_LEVEL=info rea providers --json >out 2>err gives 0 log records on stdout and 1 ("mode":"cli") on stderr.
    • curl -o /dev/null -w '%{http_code}' https://rea.tools/examples/notes-web/notes.json returns 200.
    • curl -o /dev/null -w '%{http_code}' https://rea.tools/rea/examples/notes-web/notes.json returns 404.
    • rea <command> --help for all six JavaScript workflow commands contains "JSON file path".
  • Remaining proof gaps: I did not deploy or preview the website on Cloudflare; I checked it locally only, as below.

Validation performed

All commands ran on macOS (arm64) with Node 24.18.0 and Python 3.12:

  • python3 scripts/prepare-website.py, then python3 scripts/verify-website.py: 17 HTML pages and 343 local references verified. Preparing changed no tracked files.
  • python3 scripts/test-website.py: 2 tests OK.
  • npm run check: passed, including format:check.
  • npm run docs:check: passed.
  • npm run docs:build: built successfully.

Compatibility, safety, and release

  • Breaking changes or migration steps: none
  • Real Hopper/Ghidra, browser, or OS coverage: not applicable
  • Package or release metadata impact: none
  • Security, privacy, process, or containment review: none

Review checklist

  • This PR addresses a concrete problem or an agreed enhancement.
  • The PR has one focused outcome and the title follows type(scope): outcome.
  • Related issue is linked, or the reason for not linking one is stated above.
  • Tests cover changed observable behavior and meaningful failure paths.
  • Owning docs, contracts, and generated metadata are updated where needed.
  • User-visible CLI/MCP changes include representative output.
  • I checked the final diff for secrets, unrelated cleanup, and unsupported claims.

🤖 Generated with Claude Code

- CONTRIBUTING: CLI logs go to stderr, not stdout. `createLogger` writes every
  mode to fd 2 so protocol and `--json` stdout stay parseable.
- Get started: Ghidra supports Linux arm64 (`GhidraInstallation` maps
  `linux.arm64`), as installation.md already states.
- Browser guide: drop the caption claiming the hosted request path carries a
  `/rea/` prefix. The guide now targets rea.tools, where the example is served
  at `/examples/notes-web/`, as the evidence table above it shows.
- JavaScript workflows: six CLI commands accept inline JSON or a JSON file,
  not five; `inspect-analysis-view` was added after the sentence was written.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@morluto
morluto merged commit 944981d into morluto:main Oct 10, 2026
4 checks passed
@morluto

morluto commented Oct 10, 2026

Copy link
Copy Markdown
Owner

Thanks @Fazmin for the PR and for checking these statements against the implementation! Squash merged. I resolved the Ghidra wording conflict by keeping the newer text on main, which already includes Linux arm64 support and the native decompiler requirement.

darsrc pushed a commit to darsrc/rea that referenced this pull request Oct 10, 2026
…morluto#1420)

- CONTRIBUTING: CLI logs go to stderr, not stdout. `createLogger` writes every
  mode to fd 2 so protocol and `--json` stdout stay parseable.
- Get started: Ghidra supports Linux arm64 (`GhidraInstallation` maps
  `linux.arm64`), as installation.md already states.
- Browser guide: drop the caption claiming the hosted request path carries a
  `/rea/` prefix. The guide now targets rea.tools, where the example is served
  at `/examples/notes-web/`, as the evidence table above it shows.
- JavaScript workflows: six CLI commands accept inline JSON or a JSON file,
  not five; `inspect-analysis-view` was added after the sentence was written.

Co-authored-by: morluto <[email protected]>
@morluto morluto added documentation Improvements or additions to documentation area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior labels Oct 14, 2026
@morluto morluto added the provider: ghidra Analysis provider / engine: ghidra label Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior documentation Improvements or additions to documentation provider: ghidra Analysis provider / engine: ghidra

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants