Skip to content

fix(rizin): qualify process completion in command evidence - #10377

Merged
kaoru0822-kitauji merged 2 commits into
mainfrom
codex/n13-1416-rizin-outcomes-10364
Nov 13, 2026
Merged

kaoru0822-kitauji merged 2 commits into
mainfrom
codex/n13-1416-rizin-outcomes-10364

Conversation

@kaoru0822-kitauji

@kaoru0822-kitauji kaoru0822-kitauji commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

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 axffj on 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.

  • Three new CLI/official stdio-MCP cases fail on clean base 26b70c8ea4 because 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.
  • Review corrections (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.
  • Focused CLI/MCP, composition and adapter checks: 128 tests passed in five files on the updated base. Existing nonzero exits, signal termination, output admission and decoder/map coverage pass.
  • Independent native control: official Rizin 0.9.1, darwin-arm-64, extracted to a private cache without installing the package. Package SHA-256: 949f56d56698bdad2f39996badc10d0ada13033fad5fc7ef4fe5eaa89d945e94. The native axffj, q, and error-like echo outputs match the compiled CLI and real stdio MCP byte-for-byte. All process exits are zero; target /usr/bin/true retains SHA-256 297cfa4937dc5dad3ee6614aaab243d16f4d1018b1756098710cfa6faa31e8ed.
  • 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.
  • Hosted CI at 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.
  • Main advanced to cdc4541ef7 during 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 3cb75d46bf6ee0a44d846a4d3e2cc3196e9ba418 passes 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

  • 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.

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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T15:08:26.632003Z 8758cf0 New commits
ℹ️ 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 Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5 Tier: plus

[Low impact] The PR appears safe to merge; both previous findings are addressed and no blocking issue remains.

Summary

Adds guidance explaining that Rizin process completion does not prove command validity.

  • Rizin command results explain when process completion leaves command validity unknown.

Reviews (2) · Last reviewed commit: "test(rizin): compare guidance with its o..." · Reviewed by Greptile

@kaoru0822-kitauji
kaoru0822-kitauji merged commit 3b00684 into main Nov 13, 2026
53 of 54 checks passed
@kaoru0822-kitauji
kaoru0822-kitauji deleted the codex/n13-1416-rizin-outcomes-10364 branch November 13, 2026 18:48
@morluto morluto added area: cli CLI adapter and one-shot commands bug Something isn't working provider: rizin Analysis provider / engine: rizin labels Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: cli CLI adapter and one-shot commands bug Something isn't working provider: rizin Analysis provider / engine: rizin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants