Repository navigation
fix(setup): separate host support and stop skill checks after drift - #2073
Conversation
LinuxDistribution.supported carried two meanings at once: that the host runs REA, and that the automated Hopper installer is tested on it. The doctor read the first meaning from the second, so Debian-derived hosts such as Kali reported unsupported_host while their providers worked normally. Rename the field to hopperSetupSupported, which only the Hopper installer and setup planning consume, and derive host support from the package family through supportsReaHost(). Any distribution with a recognized apt, dnf, or pacman family is now a REA host. The tested Hopper installer list is unchanged, so Debian and Kali keep falling back to configuring an existing provider instead of downloading an untested package. Verified on Kali 2026.3 (Debian testing, x86_64): rea doctor reports a healthy environment with Ghidra 12.1.4, and analyze_function decompiles an x86_64 ELF through the MCP server. npm run check, npm run docs:check, and the application and Ghidra suites pass. No Hopper or IDA host workflow was exercised.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 46fa0d982d
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@greptileai review |
|
|
Review findings addressed at their producing boundaries and consumers. Latest changes were reviewed from source; tests and provider runs were skipped at the maintainer's request. Findings requiring separate decisions or verification remain open. The PR title and body now describe host support, quoted os-release identities, and the setup first-drift short-circuit with its cleanup implications. The first observed drift remains the determining setup result, rather than being replaced by later unrelated I/O failures. No related metadata cleanup remains. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. Addressed in 7f5e029. The os-release parser now decodes single-quoted values literally and double-quoted shell escapes before deriving ID, ID_LIKE, package family, or host support. Added single-quoted ID and Debian ID_LIKE cases at the same boundary. The Hopper installer support list is unchanged. No related cleanup remains. Validation: source inspection, touched-file formatting, and git diff --check. Tests, builds, lint, and CI reruns were not run at the explicit user request. |
Host support now follows recognized apt, dnf, and pacman families independently of the narrower tested Hopper installer list. The os-release parser also decodes single-quoted identities before either decision, so valid Debian-derived hosts are classified consistently.
Setup skill inspection now stops at the first managed-file drift rather than probing later files and destinations. This preserves the observed drift as the determining setup result and avoids unrelated later read/cleanup failures replacing it; the existing recovery and cleanup-ownership cases remain in the branch.
Validation for this revision: source inspection and git diff --check. Tests, builds, CI reruns, and real-provider qualification were skipped at the explicit user request. Earlier contributor verification is not a qualification of this revision.