Skip to content

docs(android): point JADX prerequisite guidance at doctor --provider jadx - #5517

Closed
Soumya95 wants to merge 1 commit into
morluto:mainfrom
Soumya95:docs/android-jade-doctor-5498
Closed

Soumya95 wants to merge 1 commit into
morluto:mainfrom
Soumya95:docs/android-jade-doctor-5498

Conversation

@Soumya95

@Soumya95 Soumya95 commented Oct 20, 2026 •

Copy link
Copy Markdown

Summary

The Android skill reference says doctor provider scopes cover Hopper/Ghidra rather than JADX, but rea doctor --provider jadx --json is supported (docs/cli.md) and returns scoped remediation.

Fixes #5498

Problem and expected behavior

The Android skill reference says doctor provider scopes cover Hopper/Ghidra rather than JADX, but rea doctor --provider jadx --json is supported (docs/cli.md) and returns scoped remediation.

Change and scope

Replaced the sentence in .agents/skills/reverse-engineer-anything/references/android-applications.md with the wording proposed in the issue. The bundled skills/ copy is an ignored generated output and regenerates from this source.

Documentation/source-comment only; no new capability, provider, or target interaction, so a maintainer scope decision is not applicable.

Contract and boundary impact

  • Semantic owner and earliest changed stage: the authored source named above.

  • Contribution scope fit and linked maintainer decision: existing-boundary fix; not applicable.

  • CLI and MCP/tool-catalog contract: unchanged.

  • Provider, bridge, target-format, or platform compatibility: unchanged.

  • Evidence, artifact, provenance, or reconstruction contract: unchanged.

  • Generated metadata, package, or installation impact: none; no generated outputs committed.

  • Read existing files or captured data.

  • Launch or attach to a process.

  • Inject instrumentation or run scripts/code.

  • Change process memory, registers, files, or configuration.

  • Contact network services.

  • Recover protected code or work around protections.

  • Documentation or usability only; no target interaction.

  • Not sure yet; investigation or maintainer guidance needed.

Evidence and regression coverage

Source-derived: the contradiction is documented in the issue with an independent reproduction. Not executed here: npm run docs:check (dependencies not installed in this checkout). A grep found no other occurrence of the removed wording.

Author readiness

Human owner: @Soumya95

  • I reviewed the final diff and relevant existing code, understand the change and its edge cases, and take responsibility for the complete PR, including AI-assisted work.
  • I checked the evidence above, confirmed it supports the current change, and recorded meaningful validation gaps.
  • I declare this PR ready for initial maintainer review.

🤖 Generated with Claude Code

…jadx

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@Soumya95
Soumya95 marked this pull request as ready for review October 20, 2026 13:06
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-20T13:08:47.808511Z e75bf96 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@greptile-apps

greptile-apps Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This documentation correction appears safe to merge.

Summary

Updates the Android skill reference to recommend rea doctor --provider jadx --json for prerequisite checks.

  • Android setup guidance points users to the JADX doctor check.

Reviews (1) · Last reviewed commit: "docs(android): point JADX prerequisite g..." · Reviewed by Greptile

@Soumya95

Copy link
Copy Markdown
Author

@coygeek can you please review ?

@CassieFox23 CassieFox23 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TL;DR: The Android reference says doctor does not cover JADX, but on main it does. This PR rewrites that one paragraph to match the code, and the new wording is correct. CI has not run on this head yet, and the body drops several template parts.

Findings

Should fix

  • The body does not keep the repo template as written. Please restore the template text, with short answers where a part does not apply. What changed:
    • The "Follow the contribution scope" paragraph is gone, and so is the CONTRIBUTING.md link. One sentence of your own took its place.
    • One line is gone from "Contract and boundary impact". That is the Target selection, authority, upstream behavior, and cleanup details (if applicable) line. The "Generated metadata" label lost its catalog path and its note that CI builds the catalogs and skills/.
    • The "Expected effects" part keeps all eight boxes. Only "Documentation or usability only" is checked. Its two lead-in lines are gone.
    • The "Evidence and regression coverage" part has just one paragraph. The template's four labels are gone. They are tests added or updated and base reproduction or other evidence. They also include user-visible CLI/MCP output and remaining proof gaps. Its three evidence-bearing boxes are gone too.
    • You will not find "Validation performed" in the body at all. The same goes for "Compatibility, safety, and release" and "Before merge".
    • The "Problem and expected behavior" part is the Summary sentence again, word for word.
    • Present and fine: Summary and Change and scope. So are the other four Contract lines. All three Author readiness boxes are checked.

Worth a look

  • CI has not run on this head (e75bf96). In the actions runs for the head, CI and PR title show action_required, so they wait for a maintainer to approve the run. Only PR readiness and Greptile ran. An earlier readiness run failed. The log said Complete all three Author readiness declarations from the current PR template. The latest readiness run passed. I could not check npm run docs:check because it has not run on this head. The body says it was not run locally either.
  • A neighbouring line has the same gap. docs/installation.md line 349 says rea doctor --provider ghidra --json (or hopper, ida). It leaves out jadx and kuna, while docs/cli.md line 285 names all five. Issue #5498 does not ask for this, so a follow-up is fine.

Nits

  • Issue #5498 proposed a sentence. It said Java and the JAR stay caller-supplied, and REA does not install them. The PR keeps "separately supplied" and "REA setup does not install or configure that JAR" for the JAR. It does not say the same for Java. This is minor.

Looks good

  • Main (7fd722e) still has the stale sentence, at lines 18 to 20. It reads "doctor provider scopes cover Hopper/Ghidra rather than JADX". A grep of main for that wording finds no other copy.
  • The new claim is true on main. DOCTOR_PROVIDER_IDS includes jadx. The doctor option accepts that list. doctorRuntime.ts calls inspectJadxProvider. What it returns is a configuration check with remediation. I read the code. I did not run rea doctor.
  • The added caveat is accurate. The check's own detail text says it "checks configuration, not whether a selected APK fits". docs/android-analysis.md line 327 says the same.
  • The skills/ claim holds. /skills/ is ignored in .gitignore (line 71), and no file under skills/ is tracked on main. So the one authored file is the only file to change.
  • The change is small: one file, +4/-3, and the rewrapped paragraph reads cleanly.
  • No other open PR targets #5498. A search on the number found only this PR, plus a closed PR (#6014) that I did not read.

Not run

  • No checkout, no build, no tests, no docs:check.
  • I did not run rea doctor --provider jadx --json. The issue's reproduction was on macOS and I did not repeat it.
  • I did not read the Greptile or Codex bodies beyond their summaries (Codex found nothing, Greptile scored 5/5).

Thanks, Soumya95, for picking this up and for tying the fix to the issue.

Test setup
  • Box: Nobara 44 (Fedora 44 base), Linux 7.2.11
  • Head / base: e75bf96 / c374c2f (merge base); main was 7fd722e

🤖 Written with Claude Code (Sonnet 5.5, verified by Opus 5.5), posted with my OK 🦊

@morluto

morluto commented Oct 23, 2026

Copy link
Copy Markdown
Owner

Closing as superseded by current main. The complete one-file documentation correction is present: doctor --provider jadx --json provides prerequisite remediation, Java/JADX remain caller supplied, and configuration readiness does not prove APK analysis.

Main implementation: 22cf964.

Verification: Complete PR diff and current authored Android reference inspected; documentation only; no tests added or rerun. The complete PR diff contains no remaining unique behavior, tests, documentation, or provider-qualification work.

@morluto morluto closed this Oct 23, 2026
@Soumya95
Soumya95 deleted the docs/android-jade-doctor-5498 branch October 27, 2026 08:44
@morluto morluto added area: providers Provider and capability discovery, including provider proposal triage documentation Improvements or additions to documentation provider: jadx Analysis provider / engine: jadx labels Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: providers Provider and capability discovery, including provider proposal triage documentation Improvements or additions to documentation provider: jadx Analysis provider / engine: jadx

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Docs] Android skill reference incorrectly excludes JADX from doctor

3 participants