Repository navigation
fix(analysis): retain unsupported outcome for edited binary renames - #8831
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 9 minutes. View limit details
Comment |
There was a problem hiding this comment.
Decision
- Needs one verification check before upstream.
Verification questions
- Confirm only one production route is changed; sibling surface (per-file reflog, render-only) out of diff scope and not reopened by this PR.
Refuted
- A sibling renderer or schema probe might re-derive a complete outcome after the pipeline refusal; refuted because: Only one public route was modified; PR body explicitly states scope is single production behavior with parser/DTO/renderers unchanged.
- Mixed text+binary hunks beside a separate hunkless pure-rename section could now incorrectly return
unsupported_inputbecause the renamed_file_count conjunct moved into the empty-files clause.; refuted because: The typed non-text predicate is ORed only with the empty-files/no-renames branch; mixed hunks produce nonempty diff_text and registered text files, so neither branch fires and the four AND-guard failure mode is unchanged. PR body explicitly lists mixed-section cases as non-goals; behavior preserved. - A text file rename with only mode bits changed could be misclassified as unsupported because rename metadata registers a changed path with no hunks.; refuted because: has_only_non_text_changes inspects diff_text content for the binary sentinel; a text-only rename with mode change still emits no Binary-files line and the diff has no changed text hunks, so the condition is false. The unchanged pure rename-only control case in the new test (kind=no_changed_lines, complete=true, exit 0) confirms survival.
Evidence gaps
- PR is marked REVIEW_INCOMPLETE; cargo xtask check-fast is still running and precommit/golden/dogfood/published-head review remain pending per PR body. Trust-affecting evidence is still in flight, not missing-by-config.
- Model proof intent was rejected by deterministic validation.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Disposition: REVIEW_INCOMPLETE for required hosted Rust qualification. Independent source/oracle/public-claim/integration review and bounded local preparation support one expected-green Draft -> Ready request for unchanged head 9fdc9a18d1c2c3148e008516dc5b62476d606414.
Reviewed subject: head tree a7a943e63ed8de31707985e05a234ce27fb0ef3e; authored merge base d6908fcfcbfa58a72778d4f7e443c620ac5249e3; actual GitHub merge c0053aa51df207851f78a9b9861c80414c5a3f3e, tree 23f364331466945ac4d89a6745bd51e8860054bd, parents d75caddd97b51b9ed9f58d04e85375b2460bc267 and reviewed head. Changed production/test blobs are preserved in that combined tree. No material integration prerequisite or known deterministic gate blocker was found.
The real Git fixture establishes a registered changed file, unequal binary bytes, no hunks and an exact input digest before the outcome assertions. The original baseline executable fails the unchanged assertion driver with complete no_changed_lines/exit 0; the repaired executable passes with unsupported_input, incomplete analysis and exit 2 through both check and diff, JSON and human output. The pure rename-only control retains complete no_changed_lines/exit 0. Eight focused Rust tests actually executed and passed on implementation 3f; final 9fd changes only spec/changelog wording and preserves those production/test blobs. The earlier zero-subject invocation is excluded.
Final 9fd local results: check-fast native 0 (14 gates, including workspace/all-target Clippy; two inapplicable skips, independently verified five-path selector); precommit native 0 (report pass, no limitations/skips; selected ripr and dependent xtask Clippy pass); locked fixture preparation native 0; goldens native 0 (503 listed fixtures, zero drift and fixture errors); advisory dogfood native 0/status pass. Golden provenance and a direct version read bind the actual CLI to 9fd, SHA256 221d32a391f710b399fdc1b4df0f66ab271f7ef1626f210ad501e0ba9f056fe7. The worktree is clean. These are bounded local results, not a full test-suite/Windows/nextest/release or hosted qualification claim.
The ub-review verification question is dispositioned by source: exactly one pipeline guard changes, shared by two public CLI consumers. Per-file inventory, ref/reflog loading, DTO/schema and rendering code are unchanged. Its mode-change refutation is inaccurate: the existing detector accepts binary sentinels or paired old/new modes; a pure rename-only control does not prove mode-plus-rename unchanged. Existing mode-only tests expect unsupported input; no known contradictory expectation was found. Mixed text/binary input and a separate hunkless pure-rename section remain explicit non-claims.
Gemini/CodeRabbit quota notices remain missing provider reviews. Directly inspected ub-review logs explicitly report incomplete sensors/rejected proof intents and deferred red/green discrimination; its successful wrapper supplies no required qualification or clean sensor result. Independent source review and the retained native red/green witnesses supply the substantive evidence here. No actionable source, oracle or current review finding remains.
Required qualification is still pending. After the single Ready request, inspect the actual Rust job checkout commit, parents and tree against this reviewed subject; a workflow head SHA alone does not establish that checkout. This COMMENT is an evidence disposition on the author's PR, not approval or merge clearance.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Complementary evidence completed for adoption by this existing binary-input lane; no competing implementation or merge decision. Pinned source/build: main 6be02b0, tree 6294862ae28371e085d373f1b875d2edf09bf5ec; locked default-feature CLI build native 0 with installed pinned Rust 1.95.0, Linux x86_64/Bash, one job/debug=0/incremental=0. Actual compiler-selected executable reports this exact source and SHA256 d17728aa1a1d70604cd132b9cb2918866dbca5979b1250c2de7d3e2ed300f069; retained locally, not uploaded. Six real Git histories, 24 public CLI invocations: binary-only => unsupported_input/incomplete/exit2; behavior-only => complete_with_findings/2 findings/exit0; mixed behavior+binary => same complete outcome/2 findings/no limitations/exit0. Comment-only and mixed comment+binary both => no_behavioral_candidates/complete/no limitations/exit0. Mixed comment GitHub output says Immutable technical evidence: README, raw results/argv/statuses, driver, manifest. Evidence-only branch codex/unsupported-mixed-input-evidence, commit 9a2bd97; no PR or production patch. Source trace: parser intentionally drops binary sentinels from textual ChangedFile rows; has_only_non_text_changes returns false on any @@; zero-file guard also misses registered text. Shared producer outcome therefore reaches JSON completeness, check/diff native exits and GitHub clean notice unchanged. The gate input reader also consumes analysis_complete; gate admission itself was not executed. This proves a mixed-section residual, explicitly outside #8831's standalone acceptance. Existing owner should decide adoption as a separate follow-up; it does not itself invalidate that narrower claim. Preserve real supported evidence, no_scope/no_behavioral and complete_no_findings, pure rename/deletion/submodule conventions, malformed-section diagnostics and advisory partial exit0. No native complete_no_findings fixture, repair green, independent candidate review, hosted qualification or landing is claimed. #8830/#8847 unchanged. Integration stays with existing delivery lead and prior integrator. |
|
Multi-angle review of record, head
Local build not possible on the shared 16 GB host (rustc OOM-killed); exact-head proof is the hosted 🤖 Generated with Claude Code https://claude.ai/code/session_01NnZhkThzBwCEoDGo2rn4Yo Generated by Claude Code |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
Refuted
- Moving the non-text guard outside the rename exclusion could incorrectly reject ordinary pure rename-only or mixed-section cases.; refuted because: The paired pure control retains complete no_changed_lines/0. Mixed text/binary remains an explicit non-goal and was not newly claimed or reopened by this diff.
- A sibling renderer or schema probe might re-derive a complete outcome after the pipeline refusal.; refuted because: The seeded review and changed-file inventory show no renderer, parser, DTO, or schema modification; both public commands consume the shared projected outcome.
- The new OR predicate would incorrectly refuse a mixed text and binary diff.; refuted because: The predicate is evaluated on the complete diff text and the seeded review explains that nonempty text hunks plus registered text files prevent the new branch from matching; mixed cases are also outside the stated scope.
Parked follow-ups
- Broader mixed text/binary, platform, release, and full-suite behavior is not proven by this bounded change and is explicitly outside the PR claim.
Evidence gaps
- The current packet lacks a terminal hosted cargo-test receipt, although the PR documents prior focused execution and explicitly schedules late hosted qualification.
- Current repository execution status is not a clean pass because the ripr sensor failed, although cargo-test is scheduled late.
- Model proof intent was rejected by deterministic validation.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Independent evidence supplement for unchanged head 8bebf4b45d4a489e720ebfdb13e5c04c6be4f1d0, tree 202722b4f7694d6fcdacfbecf77f119201ed7b4f. The existing binary-rename delivery lead remains the sole implementation owner. No competing patch, branch write, CI request or promotion was made.
Reconciled the complete current discussion and review-thread inventory (zero inline threads). Reused the earlier source/oracle and red/green receipt, current-head source review and accepted mixed-input non-goal. This pass adds previously absent filename/report-consumer execution and a genuinely newer integration subject; it does not repeat the completed qualification campaign.
Observed hosted evidence now supersedes the PR body's pending-qualification status: Rust gates job 119646664699 succeeded. Decoded logs identify actual checkout 549a52ef1186cefa90b3f1812cbdd73092738056; Git object inspection verifies parents 7378fcdc8361ad21b093fd5feb1b4ab90784d3ed + reviewed head and tree 202722b4f7694d6fcdacfbecf77f119201ed7b4f, identical to the head tree. Actual cargo nextest run --workspace --profile ci ran 18,755 tests across 147 binaries: all passed, five skipped; the edited-binary-rename CLI test explicitly passed. Doctests separately report two passed and one ignored (plus a zero-subject target, not additional test proof). Job step results also show policy/check/Clippy/golden/fixture/verdict success. The successful Result wrapper is not the sole evidence. Earlier failed/cancelled attempts and incomplete advisory sensor evidence remain historical results, not erased or relabeled.
New native proof used installed Rust 1.95.0, Linux x86_64/Bash, locked default-feature CLI builds, one Cargo job, debug=0 and incremental=0:
- Exact-head compiler-selected executable: SHA-256
35af7310dd4625271bab68e887e7fadee2c58b7bb80de8bd2b623cd865e9420b; direct version identifies 8beb. - Frozen current main
875d1f2a30ae4ed4ea7d68dba74f76f769e08868, treed558b70f0b6edf0ef84b1c320396eb04dcf08ab0, plus the unchanged PR delta: conflict-free local composition tree8c8114aa6a05d3dc556075621fbf48388fa3ae2f. Whole-tree identity verified through an isolated temporary index and all five candidate-path blob identities checked. Its compiler-selected executable SHA-256 isc654edc42bcd75f11dcb17652d93a91e924205b5d9a4cdee7365a2591538da2f; version truthfully identifies 875-dirty. This is an isolated uncommitted integration experiment, not a published merge or landing executable.
Both builds passed the same external assertion driver: six real Git histories and 78 CLI invocations per subject, covering edited binary renames with spaces containing “ and ”, Unicode filenames with quoted and native Git spelling, tab/double-quote filenames, pure Unicode rename, binary addition and binary deletion. Setup pins real unequal binary bytes, rename metadata, binary sentinel/add/delete section shape, absent text hunks and input digest before downstream assertions. Registered rename count stays one, changed lines/probes zero.
Observed outcomes across check JSON/human/GitHub/SARIF/native badge and Git-backed diff JSON/human/Markdown: edited rename and addition retain unsupported_input, incomplete analysis and native exit 2; pure rename remains complete no_changed_lines/0; deletion retains the existing complete no_scope/0 convention. Typed malformed_diff/diff_parse/retry and valid-binary recovery survive. GitHub emits an incomplete warning rather than a clean-findings notice; SARIF and badge retain the same outcome.
Four additional CLI calls per subject exercise an explicit-base producer → actual review-comments JSON/Markdown → local gate consumer, plus a falsified-completeness control. Review-comments retains the exact DTO and incomplete status; gate evaluate refuses with config_error/exit 2 naming unsupported_input, with zero evaluated decisions; the artifact reader rejects the falsified completeness flag with exit 2. Total new executed acceptance/control calls: 164, all assertions pass. An initial consumer invocation omitted the producer's required base field; that instrument failure is retained separately and excluded from passing proof. The corrected producer envelope passes.
Disposition: focused independent source/consumer/integration proof PASS; no actionable bounded defect found. Full merge-stage disposition remains with the canonical delivery lead. Current GitHub-observed merge object ac69f51ae50e047be8613b8d1f3b53ce6038c9d1 has parents 7fc2a51169ae9a8c1f0d91b291a5f08375f619b4 + reviewed head and tree 52065be895dc51c6b0d3c2d0f36a33338cd6810d; it is distinct from both the qualified historical subject and this frozen current-main experiment. No full current-main CI, Windows/macOS filename execution, protection satisfaction or landing claim is made. Accepted mixed-section/deletion semantics are not reopened.
Next owner action: adopt this evidence and correct the stale pending-qualification continuation; make the final integration/qualification judgment on the actual prospective merge subject, reusing unaffected proof. No automatic restack or duplicate hosted run is requested. Review-only changes were restored, both owned worktrees removed normally, and the shared checkout remains clean. Raw argv/status/output reports, drivers, build receipts and retained distinct executables remain in the selected evidence workspace for handoff; results SHA-256: head 4a01efe26609138399f9f7b609939d5f09399ace3cc5a684fc7a48204e1496f0, integration a2a448928ba14ba39145fff0a5dbb5dcd0ec01941b93a1c89cb9a1ee7ff7f36d.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Disposition: REVIEW_READY for exact head 8bebf4b45d4a489e720ebfdb13e5c04c6be4f1d0. Independent source/integration approval is granted for this bounded repair; no actionable source, oracle, contract or integration defect remains.
Reviewed source tree: 202722b4f7694d6fcdacfbecf77f119201ed7b4f. Current integration basis: main aeeeddacd1e24f3b04e713572717e7b172966431; conflict-free composition tree 8c4a4eaea69399c9689f9a54b5cb3a39c2641ef4, with exactly the intended five-file delta and clean whitespace check. The observed GitHub merge 67084f41d8e2545c1998ad78975da8ed1381d7f3 instead uses earlier basis abedcd636685b634046b859df712b8657ca7f920; these identities are not conflated.
Inspected surfaces: pipeline non-text admission guard, has_only_non_text_changes, binary-sentinel recognition, shared outcome-kind selection, both check/diff consumers and shared exit helper; complete changed CLI regression, retained textual/pure-rename controls, spec, traceability and changelog. A separate reviewer independently followed these seams and the newer integration changes.
The new branch preserves malformed_diff / diff_parse / retry, selects unsupported_input, retains incomplete status and returns native 2 after rendering the original report. Pure renames have no relevant non-text markers; text hunks reject the non-text predicate. Existing artifact/deletion/submodule/prior-limitation guards remain intact. Parser/DTO/schema/renderers are not changed by this PR.
Oracle challenge: the real Git fixture asserts unequal binary payloads, rename metadata and the binary sentinel, no hunks/deletion metadata, one registered path, zero changed lines/probes and the input digest before checking outcome, completeness, recovery and native status through both commands. Restoring the original guard makes the edited case incorrectly complete/0 and fails the assertions. The earlier independent red/green witness remains linked in the PR body.
Observed required proof: run 39724903302, Rust job 119646664699, and required Result 119661097515 succeeded. Direct decoded logs establish actual checkout 549a52ef1186cefa90b3f1812cbdd73092738056, parents 7378fcdc8361ad21b093fd5feb1b4ab90784d3ed + reviewed head, with the identical reviewed tree. The historical run used unsharded cargo nextest run --workspace --profile ci: every ordinal 1–18,755 occurs exactly once as PASS across 147 binaries; five configured tests were skipped. Doctests separately show two passed and one ignored. All selected policy/check/Clippy/golden/fixture/verdict/PR-evidence stages succeeded. This is complete job/subject inspection, not a wrapper-only inference.
Explicitly observed passing controls include:
edited_binary_rename_is_unsupported_for_check_and_diff;all_quoting_layouts_disclose_renames_pure_and_editedandisolated_mixed_quote_pure_rename_section_is_disclosed_not_malformed;pure_rename_diff_stays_complete_after_truncation_gate;binary_or_mode_only_diff_is_named_not_called_malformed_adviceandnon_text_detector_rejects_garbage_and_hunked_diffs;- both binary-sentinel parser controls and the retained unsupported check/diff tests.
Currentness: the guard, detector, sentinel recognition, outcome selection, exit helper and both changed/rename-control test files are unchanged in the current composition. Later scoped-parser work preserves default keep-all behavior for the accepted standalone subject. No material interaction warrants branch movement or repeated qualification. The current composition was source-reviewed, not newly executed; the precise executed integration subject remains the checkout above.
Findings: current conversation and complete inline-thread inventory inspected; zero unresolved threads. Earlier route-scope questions are source-refuted, and the detector's paired-mode behavior is accurately distinguished from pure-rename proof. Historical failures and absent optional evidence are not promoted to passes.
Residuals/non-claims: mixed-section semantics, binary-content analysis, native-platform qualification, release acceptance, and the separately owned #10586 remain outside this repair. The complete current-main suite was not replayed. This is static-analysis completeness, not proof of test adequacy.
The ordinary protected expected-head squash must remain a separate action after this review write is confirmed and its exact-head anchor is read back.
Summary
An edited binary rename could report complete
no_changed_linesand exit 0 even though Git supplied changed binary bytes. Rename metadata registered the target path before the binary sentinel, bypassing the pipeline's zero-files/no-renames refusal. The existing recognized non-text predicate now applies independently of that inventory test, retainingunsupported_input, incomplete analysis, recovery guidance and exit 2 throughcheckanddiff.Source-of-truth Links
Proposal: none; bounded repair of the existing completeness contract.
Spec: RIPR-SPEC-0147.
ADR: none; no new taxonomy or architecture.
Plan item: standalone edited binary-rename completeness repair.
Governing issue or accepted claim: standalone edited binary-rename input retains the existing non-text refusal despite a registered path; follow-up to closed #2829, rename disclosure #2727, and binary wording #6623. Their broader acceptance is not reopened or closed by this PR.
Acceptance delta (one sentence): edited binary renames remain unsupported/incomplete with exit 2 through both public commands, while unchanged rename-only input remains complete
no_changed_lineswith exit 0.Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication):
codex/cli-binary-rename-outcome, head8bebf4b45d4a489e720ebfdb13e5c04c6be4f1d0, tree202722b4f7694d6fcdacfbecf77f119201ed7b4f.Stack parent or prerequisite PR (if any): none.
Proposed replacement of PR (if any; not yet accepted): none.
Acceptance retained from a replaced candidate (if any): none; existing candidate continued.
Accepted winner and losing candidate disposition (when decided): this PR remains the selected candidate; no rival implementation identified by finding-specific all-state searches.
Original implementation
3f0066725b617eb14603a613352475aead6ee02bwas followed by doc head9fdc9a18d1c2c3148e008516dc5b62476d606414; the published head incorporates main7378fcdc8361ad21b093fd5feb1b4ab90784d3ed. Prior source and oracle evidence retains its original identity.Scope
One pipeline guard changes. Parser, DTO, schema and renderers stay under their existing owners. Existing deletion, submodule, own-artifact and prior-limitation guards survive. Five changed paths comprise production, CLI regression, spec, traceability and changelog.
Non-goals: mixed text/binary sections; binary input beside a separate hunkless pure rename; deletion semantics; binary-content analysis; support-tier promotion; release qualification. The independently observed mixed-section residual is retained in the existing evidence record. The separate shared-driver test failure #10586 remains with its existing repair owner.
Acceptance and proof
edited_binary_rename_is_unsupported_for_check_and_diffno_changed_lines/0Required run 39724903302 completed successfully, including the required Result. Decoded Rust logs bind the actual checkout to
549a52ef1186cefa90b3f1812cbdd73092738056, parents7378fcdc8361ad21b093fd5feb1b4ab90784d3edplus published head; its tree equals the head tree. This historical run used the unsharded workspace nextest command. Doctests separately passed two tests with one ignored; the zero-subject target is not additional proof. Policy, checks, strict Clippy, golden, fixture, verdict and PR-evidence steps succeeded. The earlier failed/cancelled attempts remain historical results.The independent evidence supplement records 164 further acceptance/control CLI calls on exact head and a separately identified main composition. It covers real Git filename/sentinel controls, check/diff formats, typed recovery, review-comments and gate consumers. Its integration tree
8c8114aa6a05d3dc556075621fbf48388fa3ae2fis specific to main875d1f2a30ae4ed4ea7d68dba74f76f769e08868; it is not newer-main execution proof.Earlier bounded local preparation on final doc head included check-fast, precommit, locked fixture preparation, 503 golden fixtures with zero drift and advisory dogfood. Eight focused Rust tests executed on implementation head. Retained executable identities and original proof scope are linked in the two independent reviews above. No new local/full qualification is claimed here.
The earlier review's mode-change explanation was corrected by source inspection: the existing detector accepts binary sentinels or paired mode changes. A pure rename control does not prove mode-plus-rename behavior. The shared pipeline guard serves both public commands; no per-file/ref-loading/render-only production route is changed.
Rollback and traceability
Ordinary focused revert. RIPR-SPEC-0147 → registered real Git test → pipeline non-text limitation → shared outcome projection → CLI native status. No schema/classification change, no golden re-blessing, and no CI/protection/release change.
Acceptance and terminal continuation
Owner / governing claim: assigned binary-rename delivery continuation; bounded standalone edited binary-rename acceptance delivered.
Candidate: reviewed head
8bebf4b45d4a489e720ebfdb13e5c04c6be4f1d0, tree202722b4f7694d6fcdacfbecf77f119201ed7b4f.Review: final exact-head independent inspection and approval, disposition REVIEW_READY. Review creation returned success and ID 5648058371; its submitted COMMENT record, exact commit anchor and full body were read back before the separate merge call. Complete inline-thread inventory was empty.
Validation: required run 39724903302, actual checkout and all 18,755 passing test subjects were inspected as above. Retained textual/unchanged-rename and binary-sentinel controls passed. No duplicate qualification requested.
Landing: ordinary protected expected-head squash succeeded at 2026-10-26 06:16:12 UTC as
c8af153c1a5aae07d6abcf7f7a799cdf6992996c. GitHub and fetched main both confirm that object. Its parent isaeeeddacd1e24f3b04e713572717e7b172966431; tree8c4a4eaea69399c9689f9a54b5cb3a39c2641ef4exactly matches the independently reviewed current-main composition.Dependency / residual: none blocks this delivered bounded claim. Mixed-section work, #10586, broader native-platform and release qualification retain their separate scope and owners. The prior closed contracts are not reopened.
Next: PR_MERGED; no further action for this bounded claim. The landing tree was verified without a routine full-suite replay.