Repository navigation
fix(rizin): qualify process completion in command evidence - #10377
Merged
Merged
Conversation
Codex Review Summary: ✅ CompletedThis 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. |
2 tasks done
Contributor
[Low impact] The PR appears safe to merge; both previous findings are addressed and no blocking issue remains. SummaryAdds guidance explaining that Rizin process completion does not prove command validity.
Reviews (2) · Last reviewed commit: "test(rizin): compare guidance with its o..." · Reviewed by Greptile |
1 task done
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.
Refs #10364; addresses its remaining in-tool guidance scope. The existing documentation patch changes only the guide; this PR leaves that file to its contributor.
Problem and change
Rizin 0.9.1 rejects
axffjon stderr but exits zero. REA accurately captures the completed process, yet its Evidence gave no explicit warning that an empty response does not prove an empty analysis result.Add that limitation at the Rizin provider profile and expose the same handoff in the advertised tool description. Preserve captured stdout/stderr, process completion, exit code, caller input and digest. Command validity remains unverified; no diagnostic-text classifier, schema shape, budget or execution authority is added. Consumer assertions compare guidance with the Rizin owner and tool description with the named contract, alongside independent process, output and digest assertions. The unconditional-warning regression does not pin its wording.
Executed verification
macOS arm64; pinned Node 24.22.1 / npm 11.16.0. Rebased onto main
4b26f38d6f.26b70c8ea4because unqualified commands have no provider limitation. They cover rejected-command text, valid empty output, and error-like stdout with a warning. The subprocess producers in these committed tests are explicitly simulated Node scripts, not Rizin.8758cf0bfa): import the named contract family and remove warning-prose assertions. A temporary wording-only change passes all three public cases; the unchanged base still fails all three. No related ownership cleanup remains.949f56d56698bdad2f39996badc10d0ada13033fad5fc7ef4fe5eaa89d945e94. The nativeaxffj,q, and error-likeechooutputs match the compiled CLI and real stdio MCP byte-for-byte. All process exits are zero; target/usr/bin/trueretains SHA-256297cfa4937dc5dad3ee6614aaab243d16f4d1018b1756098710cfa6faa31e8ed.npm run check— passed (7,269 files, 0 errors, 4,989 advisory warnings).npm run docs:check— passed, including 9 README consistency cases.npm run verify:test-discovery— 3,521 files exactly once. Full static checks and the 128-case focused selection also pass after the review corrections; diff and commit/push hooks pass.8758cf0bfa: 25 distinct successful checks / 22 deliberate skips, including the required CI and portable-test gates. PR readiness passed under the author exemption. Both automated reviews complete without outstanding findings.cdc4541ef7during CI. A separate clean merge of current main + this PR passes the same 128 tests / five files, confirming the updated shared application boundary. The published branch remains mergeable; no extra merge commit or duplicate correction was pushed.Linux/Windows native Rizin and autonomous-agent selection were not exercised. The Unix executable fixture is explicitly skipped on Windows. No performance improvement is claimed.
Additional current-main compatibility check: a private clean merge of this head with
3cb75d46bf6ee0a44d846a4d3e2cc3196e9ba418passes 128 focused tests across five files, including compiled CLI and official stdio-MCP command outcomes. The published branch is unchanged. This is synthetic CLI/MCP and source compatibility coverage; the earlier real Rizin 0.9.1 run was not repeated for this private merge.Author readiness
Human owner: @kaoru0822-kitauji
The author is exempt from the declaration check under CONTRIBUTING.md (verified account ID 208281322). Technical readiness is based on the checks above; human review is not attested here.