Add opt-in Android platform analysis - #1854
Draft
mixxer wants to merge 1 commit into
Draft
Conversation
Add AIDL, JNI, HAL, service, and IPC evidence tools with Java/Kotlin extraction and resolution fixes and regression coverage. Document supported analysis, evidence limits, and public reference inputs. Add contributor guidance and GitHub PR and merge-queue checks for Node 22/24 and native kernel parity.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Android platform source often refers to generated AIDL/HIDL bindings or JNI registration tables that are not directly navigable from the indexed language graph. This adds evidence queries for those boundaries while keeping the default MCP surface limited to
codegraph_explore.Scope
For example,
codegraph aidl-impl IPowerManager --path /path/to/android-sourcegathers implementation and registration candidates;codegraph jni-bridge Process --path /path/to/android-sourcecorrelates native declarations with JNI implementation and registration evidence. MCP equivalents require explicitCODEGRAPH_MCP_TOOLSconfiguration.Validation
The latest complete fork CI run tested
bcae921; the subsequent preparation changes only simplify the changelog and update its documentation assertion.git diff --checkWhy this is a draft
The full suite is not green. The portable failures affect caller truncation, Next.js/server-action flows, object-literal callers, React Native pairing, and Steps views. Native failures include the Java field-initializer anonymous Stub lookup and Dart/Kotlin extraction parity. These have not been established as upstream-only failures and must be investigated before this is ready to merge.
The real-repository small/medium/large agent A/B validation required by the project guide is also outstanding. Public reference repositories and focused fixtures do not establish complete Android coverage or parity across extraction backends.
Suggested review order: the evidence contracts in
docs/design/android-platform-analysis.md, thesrc/aosp/analyzers and tests, the core extraction/resolution changes, then CLI/MCP wiring and CI/documentation.