Repository navigation
fix(rust): retain a macro witness beside a weak direct test (#7542) - #7563
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 reachedThe included review limit has been reached and this organization has disabled usage-based review continuation. Wait for reviews to reset or ask a billing admin to change After included review limits. Next included review available in 2 minutes. View limit details
Comment |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_INCOMPLETE — exact published head82914b6431f1628ca280773513ca682dcfbc7a92.
Independent LLM review covered the full19-file delta, semantic-owner predicate/admitted oracle rows, scope widening, shared typed macro projection and downstream gap/advice/packet consumers; SPEC0117/schema/fixture/honesty parity; the actual measured subject and three runtime mutants; wrong-old-behavior RED and refusal controls; and integration basis5aee. No remaining material source or oracle finding. Platform/process/security lanes have no new launch, path authorization, dependency, protocol or publication behavior.
Root and reviewer independently observed the baseline runtime witness (12 binary observations each), with unchanged measured inputs. Corrected test-onlya216 rejected old behavior. Current829 public5/5 and Rust corpus378 check returned native0; all378 row hashes match committed objects, contradictions0/481. Exactly two derived rows were justified separately: owned mixed gap→limited; delivered upstream no-path proximity contradiction removal. Original truth/class are preserved.
Independent reviewer replayed final frozen binary SHA2565c7711bdc77afe90e44025e159992436150f486269933ae024aa57537dee319b, full829 version, Ready/Draft JSON/full-human and repo/agent outputs on separate owned roots. Typed witness names outer_triples and invocation10; RIPR stages/related rows are unchanged; unsupported gap/action routes are absent. Repo inventory retains its inherited two-seam grip grading and zero agent packets; broader repo grading is outside this repair.
Final format/output/spec/traceability gates pass. Current check-fast/precommit session38038 and required hosted Ready-triggered qualification are still pending. Retained11 proximity/scope1 native execution is predecessor1fa proof of unchanged source, not final hosted integration. Published remote reviews/threads and actual required job identities/denominators must be inspected before a current-head REVIEW_READY or normal protected squash.
Held #7525/#7408 genuine editor and installed acceptance remains NOT_ESTABLISHED; no denied bootstrap route retry. Native and independent receipts remain under /workspace/scratch/issue-7542/logs and reviewer-proof.
EffortlessSteven
left a comment
There was a problem hiding this comment.
REPAIR_REQUIRED at exact82914b6431f1628ca280773513ca682dcfbc7a92; supersedes the earlier no-material-finding statement for the new mixed dependent search boundary.
Devin comment4253499004 is valid: mixed weak-direct findings request widening, but OverLimit only discloses needs_no_static_path_limit. Main search without a witness leaves a canonical actionable gap. Independent LLM source review confirmed it; the prior reviewer explicitly corrected its missed boundary. No merge/auto-merge is eligible.
A genuine frozen829 CLI reproduction on a separate5-package Cargo workspace returned0 for both observations: named scope, threshold100 gives rust_macro_reach_unresolved; threshold1 gives WeaklyExposed/ReachYes, no limit, canonical gap and the literal broad-assertion advice. The independently specified unsearched-route oracle returned1 (behavioral RED), with source hashes, raw JSON/stderr and native statuses retained at /workspace/scratch/issue-7542/logs/scope-budget-red-82914b643.json. No product build or candidate mutation was needed for this reproduction.
Bounded same-candidate repair: retain existing no-path precedence; for still-eligible mixed findings after main search, reuse existing RustTransitiveReachUnresolved unsearched disclosure and replace/clear unsupported weak-gap advice/discriminators. It cannot invent a macro/test witness. Preserve known main-index macro witnesses, confirmed discrimination, existing limits, stages/class/related rows. Extend the current scope control with forced over-limit and a main-witness refusal control. Existing verification session38038 continues against immutable829 before edits; its results remain predecessor evidence. Final changed-head qualification/review will be required.
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm devin's flag: needs_mixed_macro_reach_limit now triggers dependent-scope widening, but OverLimit narrowing returns without indexing dependent files; needs_no_static_path_limit blocks unsearched-route disclosure, so unsupported test-writing advice is not retained, but the behavior seam is untested.
- Confirm mixed branch short-circuits needs_no_static_path_limit and proximity_reach_next_step is renamed to unresolved_reach_next_step; verify the early-return ordering does not silently swallow a finding that needs both proximity and mixed predicates.
Refuted
- Devin's #2184 bug: needs_mixed_macro_reach_limit can still qualify a weak direct finding while needs_no_static_path_limit blocks disclosure because reach_index returned OverLimit.; refuted because: Devin's chain assumes needs_mixed_macro_reach_limit and needs_no_static_path_limit can fire concurrently. apply_rust_no_static_path_limit's new branch returns before any needs_no_static_path_limit work, and reach_index's OverLimit produces no witness, so macro_reach_witness returns None and the branch falls through without emitting advice. No gap advice is retained on the over-limit path; if the witness were absent under non-over-limit narrowing, the branch simply returns with no projection.
- needs_mixed_macro_reach_limit overclaims by absorbing confirmed-discriminator and examined-miss findings.; refuted because: mixed_macro_limit_preserves_confirmed_discrimination_and_examined_misses explicitly tests that confirmed discriminator and examined-miss related-test rows return false from the predicate, so the new route does not absorb them.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
Main was red on this row: #6716 counts no_static_path_with_related_tests only when a listed test calls the owner, and the row was never re-blessed. Same one-row change #6792 and #7563 carry; no-ops once one of them lands. Verdict unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U7GbrVC98fTYnLnhe3vhFM
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_INCOMPLETE at exact publisheded1a59bedbeebe333aa7fea3864543a846831732. The accepted over-limit defect is repaired and satisfied by current source/native proof; this supersedes the829 source blocker. Hosted and final policy qualification remain pending, so no merge authority is inferred.
Cumulative independent LLM source review covers the entire claim plus four-file repair: main-index witness lookup precedes fallback; only still-eligible mixed weak-direct findings receive existing typed unsearched metadata and shared gap/advice cleanup. No skipped witness is invented. Existing no-path/proximity precedence, class/stages/rows, admitted oracle gate, existing limits and confirmed discrimination remain intact. SPEC0117/schema reflect completed versus unsearched scope.
Actual current native tests: public5, extendedscope1, retained over-limit2, proximity11:19/19; nonempty results/counts and filtered denominators retained. Actual whole Rust corpus378 CHECK returned0 with unchanged expected rows,0/481 contradictions and existing false-verdict residual51/378. The two earlier derived row updates remain separately attributed to owned mixed fix and delivered upstream no-path scoring.
Compiler-selected frozen executable SHA256cf153f34fe8b7246b3e204bee2316993154ef072c5fea96ab553bf0abbc2a23c, full versioned1a. Actual public-budget RED→GREEN at thresholds100/1 preserves every stage and related row while withholding unsearched gap/advice; fullhuman passes. Independent fresh-root reviewer replay verified12 CLI checks, including wrong829, repaired limits, local witness priority and confirmed-direct exclusion. Original runtime12 observations and baseline704 remain distinct from this static limitation; no macro expansion/credit claim. Reviewer human oracle initially asserted a JSON-only evidence phrase, then corrected only that instrument to the already-reviewed human contract; raw failure retained.
Thread4253499004 has committed repair plus native evidence and reply4253728016; resolution readback confirmed. Current format/output/spec/trace gates0; checkfast/precommit session56590 and new Ready-triggered Routed Rust Small38330271444 are in progress. Required exact-head/combined-tree native counts, skips, comments and thread state must be inspected before REVIEW_READY. Inherited repo grip parity and held #7525/#7408 native/installed editor blockers remain disclosed.
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- Smallest-complete fix: a single helper apply_rust_macro_reach_limit plus unresolved_reach_next_step/unsearched_reach_next_step replace the three near-identical macro-reach-limit blocks; rename is local.
Verification questions
- Confirm dependent-scope widening for the mixed branch reuses the existing reach_index OverLimit path; when the main index already has a macro witness the named limitation is kept, otherwise the unsearched-route disclosure is emitted with no canonical gap advice and no unrelated witness named.
Refuted
- Diff has no TypeScript/JavaScript/JSFFI surfaces, but maybe a JSON ABI or cross-language oracle view is shared across a resizable buffer boundary; refuted because: Reviewed all 19 changed files; no JS/TS, no ArrayBuffer/TypedArray/DataView, no ResizeObserver, no SharedArrayBuffer, no postMessage transfer. The schema edits are prose-only (docs/OUTPUT_SCHEMA.md, RIPR-SPEC-0117) and the JSON fixture artifacts are plain serialized Finding output. No resizable-buffer contract in this PR's ABI.
- Lane scope (JS/worker/async/GC/detach/transfer) is not present in this diff; no cross-runtime handoff surface to audit.
- An async/worker/transfer boundary was introduced or reused in the mixed-macro-witness path.; refuted because: The new code paths (needs_mixed_macro_reach_limit, apply_rust_macro_reach_limit, unresolved_reach_next_step, unsearched_reach_next_step, and the dependent_scope widening for needs_mixed_macro_reach_limit) are sync Rust functions operating on owned Finding/Probe values; no spawn, channel, JS interop, or transferable handle is touched.
Parked follow-ups
- A new honesty corpus row rust_mixed_direct_macro_witness_not_a_gap enforces must_not_have_repair/verify/receipt/must_not_emit_repair_packet, so a sibling helper that silently reintroduced those advice lines would fail the corpus gate rather than slip through.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
- Boundary placement is correct: needs_mixed_macro_reach_limit gates before needs_no_static_path_limit and applies a typed macro-witness helper, never mutating related_tests or RIPR stages.
…he sibling guards onto it (#7524) (#7554) * test(typescript): corpus cases for a message-only throw in an uneven replacement block (#7524) Two removed lines meeting one added line, and two meeting three: the substring check passes on both messages, so the truth is not_discriminated, but main pairs the added throw with the removed comment (or with nothing) and reads exposed. A title control pins the old message. TypeScript false verdicts on main: 8/106. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U7GbrVC98fTYnLnhe3vhFM * fix(typescript): pair uneven replacement blocks by content and move the sibling guards onto it (#7524) ChangedFile::aligned_counterparts pairs an even block by position, an uneven block by mutual single-best match on code tokens (string literals and comments left out, crossing pairs dropped), and an interrupted run by coordinate. When content pairs the run's first added line with nothing, it keeps main's coordinate match unless another removed line matches it better. Work is bounded by a 65,536-cell and a 256-token cap, with a sorted-merge token intersection. The TypeScript adapter's old-line lookup, annotation-only guard and new-declaration guard all read this one pairing. The new-declaration guard now treats a counterpart that does not look like the line as no counterpart. replacement_counterparts (Rust probes) is unchanged. Corpus: mocha-label-throw-uneven-{shorter,longer}-block move from false exposed to ideal gap; TypeScript false verdicts 8/106 -> 6/106; the title control and every other TypeScript and Rust row hold. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U7GbrVC98fTYnLnhe3vhFM * test(diff): pin that a symmetric tie pairs nothing by content (#7524) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U7GbrVC98fTYnLnhe3vhFM * fix(diff): keep the coordinate match in a run that starts with an insertion; scan each line once in the fallback (#7524) Review of #7554: `+comment -old +new` skipped the run, so the new line lost the old line main's coordinate match gave it; and the first-line fallback re-tokenized a long added line per removed line. Wall-clock guards in the bound tests loosened to 10 s. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U7GbrVC98fTYnLnhe3vhFM * test(corpus): re-bless spec0115-no-test-reaches-owner for #6716's rule Main was red on this row: #6716 counts no_static_path_with_related_tests only when a listed test calls the owner, and the row was never re-blessed. Same one-row change #6792 and #7563 carry; no-ops once one of them lands. Verdict unchanged. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01U7GbrVC98fTYnLnhe3vhFM --------- Co-authored-by: Claude <noreply@anthropic.com>
…witness # Conflicts: # crates/ripr/src/analysis/language/rust/proximity_reach_tests.rs
…main's reach changes Main at 9b53560 no longer reports the no_static_path_with_related_tests contradiction on this row (the reach and no_static_path changes in #6866 and #6716), so main's own corpus check drifts. Open PRs #6792 and #7563 carry the same re-bless. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_INCOMPLETE at cef1723; required current-head hosted qualification and final precommit remain pending.
Reviewed the complete bounded change: recognized weak-direct eligibility; preserved confirmed discrimination and examined-miss refusal; dependent-scope widening/unsearched disclosure; concrete main-index witness precedence; unchanged #7089 ownership for direct calls with no recognized oracle; both preserved conflict test sections; SPEC0117/schema/fixture/honesty contracts and the sole owned expected-row delta from main591. No remaining blocking source or contract finding.
The advice-withholding claim is scoped to this recognized-direct repair. Existing assertion-macro behavior and the inherited trap-area corpus expectation are retained. This review grants no real-editor, installed-package or parent RC-readiness acceptance. Return to exact published-head review after the required evidence is terminal; predecessor checks cannot establish that transition.
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- No active-view, resizable-buffer, detach/transfer, or stale-length risk surface exists in this 19-file Rust analyzer/spec/fixture diff; the only externally observable strings are rebuilt owned Strings per Finding mutation, and schema edits are prose-only.
- unsearched_reach_next_step names RIPR_DIFF_NARROW_INDEX_FILES / RIPR_MAX_DIFF_INDEX_FILES but those names are not bound in the changed diff. If they are not present elsewhere this turns into a documentation drift; the json/human outputs are checked separately by rip_drive desc.
Verification questions
- Confirm smallest-complete fix is not achieved. Three near-identical macro-reach blocks remain: raw macro/now-collapsed in apply_rust_no_static_path_limit and the legacy block still duplicated in apply_rust_proximity_reach_limit at mod.rs ~1384–1411. The refactor only folded the no-path and proximity copies into apply_rust_macro_reach_limit; a tighter cleanup would unify both call-sites through the same helper plus unresolved_reach_next_step, since the proximity path now uses the same evidence lines.
- Confirm trust boundary is honesty corpus assertion must_not_report_clean + must_not_emit_repair_packet + must_not_have_verify_command + must_not_have_receipt_command + must_not_claim_no_tests_found for new case rust_mixed_direct_macro_witness_not_a_gap, which the static analyzer must satisfy; the witness projection adds no reach credit, no related-test row, and no oracle/owner relation. Security-relevant because the prior defect (#7542) would have advised writing a test for an opaque macro path that already exists.
- Confirm depends on live cargo-test receipt (scheduled-late, status pending) and a frozen 829 baseline replay against the committed ed1a59b… source to independently confirm the OverLimit refusal produces zero reach parses and no canonical gap, since this lane cannot execute cargo.
Refuted
- fixture expects assertion argument values 12,4 at line 23 and x=2 at line 28 but check.json evidence_path shows 'source assertion argument value 12 at line 23' / 'value 4 at line 23' / 'x = 2 at line 28' — line 23 contains both 12 and 4; refuted because: Observed evidence_path lines match expected human-full.txt verbatim; the source does have two arguments on line 23. Disagreement is false — both numbers are correctly attributed to that line.
- needs_mixed_macro_reach_limit could leak into the original needs_no_static_path_limit block, recreating Devin's bug 4253499004 and the REPAIR_REQUIRED state on 829; refuted because: apply_rust_no_static_path_limit's new mixed branch returns before any needs_no_static_path_limit work; reach_index OverLimit produces no witness so macro_reach_witness returns None and the branch falls through without emitting advice. mixed_macro_witness_survives_dependent_scope_narrowing asserts canonical_gap.is_none() and that evidence contains 'did not search dependent packages' under reach_limit=1; weak_direct_oracle_preserves_the_macro_witness_in_ready_and_draft asserts canonical_gap.is_none() and next-step contains 'does not establish a missing test'. The bug lives at mod.rs:2212, and the same line is now behind the mixed short-circuit.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
…de:assert (#7523) * fix(typescript): RIPR-SPEC-0252 node:test t.assert reads as legacy node:assert `t.assert.equal(lateFee(10), 20)` on a node:test context yielded no assertion, so nodetest-latefee-t-assert read as a false gap. In a file importing node:test, `<first param>.assert.<method>(...)` now reads as the same call on legacy node:assert (loose equal strong only against a literal coercion cannot reach). Only that corpus row moves (gap to credited; TypeScript false verdicts 6/101 to 5/101). Also orders the RIPR-SPEC-0249 to 0252 rows of the spec index. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * fix(typescript): RIPR-SPEC-0252 review follow-ups Restores the module-assert doc comment to its function, adds negatives for `t.assert.strict.equal` and `t.assert.snapshot`, and lists the under-credit forms and the receiver shadowing shared with the AVA path (#7507) as known limits. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * test(typescript): RIPR-SPEC-0252 test asserts instead of panicking Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * fix(typescript): RIPR-SPEC-0252 requires a node:test registration `t.assert.<method>` read as legacy node:assert whenever the file imported anything from node:test, so a test registered through another runner's `test` beside `import { mock } from "node:test"` took node:assert credit. The registration callee's root identifier must now be a local bound to node:test. Adds an awaited `t.assert.rejects` positive and mixed-runner and type-only-import negatives. Also makes the spec-maintenance test fixture roots unique per process and call: the clock-only name collided under parallel nextest, so a sibling's spec file landed in the "empty" root and failed zero_and_many_denominators_succeed_and_render_from_one_dto. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * fix(typescript): RIPR-SPEC-0252 only test/it bindings register a node:test context `import { describe as test } from "node:test"` recorded `test` as a node:test registration root, so a suite callback's `t.assert` call took legacy node:assert credit although describe passes a SuiteContext with no assert. Only the default export, `test` and `it` are recorded now. The registration callee is also resolved before the callback's own declarations shadow names, so `const test = 1` inside the body no longer drops credit for a test registered through the imported `test`. Spec 0252 drops the unreachable namespace-import form and lists it with renamed imports under known limits; spec 0243's receiver-table line now states the registration condition. New tests cover `it`, the require member, `.only`, describe-nested `it`, an enclosing-describe shadow, a body redeclaration and `describe as test`. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * fix(typescript): RIPR-SPEC-0252 ignores names re-exported from node:test `export { test } from "node:test"` reaches the assertion bindings as an import but binds no local, so beside `import { test } from "./fixtures"` the fixture runner's test took node:assert credit for `t.assert`. Names a file re-exports from node:test no longer count as registration roots. Also pins `const test = require("node:test")` and the destructured require form as read (the spec listed the latter as a limit), asserts each negative registration is extracted, and corrects two stale comments. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * chore(verdict-corpus): list RIPR-SPEC-0252 as out of scope for the Python ledger Main's Python spec-coverage ledger (#7546) requires every spec with numbered acceptance examples to be listed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V * chore(verdict-corpus): re-bless spec0115-no-test-reaches-owner after main's reach changes Main at 9b53560 no longer reports the no_static_path_with_related_tests contradiction on this row (the reach and no_static_path changes in #6866 and #6716), so main's own corpus check drifts. Open PRs #6792 and #7563 carry the same re-bless. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013ajVbPgh9yZDQgaAHkZE8V --------- Co-authored-by: Claude <noreply@anthropic.com>
|
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.
Confirmed findings
- apply_rust_proximity_reach_limit still has a same-file unconditional
returnafter calling apply_rust_macro_reach_limit for the macro branch; if a future change adds another limit family after the macro branch, the early-return will swallow it. Document the return-on-first-OCP boundary or replace with fall-through.
Verification questions
- Confirm
unsearched_reach_next_steptext references RIPR_DIFF_NARROW_INDEX_FILES / RIPR_MAX_DIFF_INDEX_FILES but those names are not bound in this 19-file diff; verify they are defined elsewhere in the env-config surface so this is not documentation drift. - Confirm
apply_rust_proximity_reach_limitstill inlines the macro witness lines (static_limit_kind/stop_reasons/evidence pushes) before callingunresolved_reach_next_step, duplicating exactly the projection thatapply_rust_macro_reach_limitnow performs; this is the smaller-complete cleanup the mixed branch was meant to enable. - Confirm the mixed weak-direct route calls unresolved_reach_next_step with the macro witness, and the proximity-only route also calls unresolved_reach_next_step with the same witness; the legacy proximity_reach_next_step is fully removed, but a single next-step helper now serves both gates.
- Confirm crates/ripr/src/analysis/language/rust/mod.rs:1384 — The proximity-only
apply_rust_proximity_reach_limitbranch still inlines the same macro witness projection thatapply_rust_macro_reach_limitnow centralizes. Fold the legacy block intoapply_rust_macro_reach_limitso both call-sites share the same projection and the mixed branch does not sit on top of a duplicated copy. - Confirm shared typed macro projection: apply_rust_macro_reach_limit deduplicates the previous triple duplication of static_limit_kind/stop_reasons/evidence/witness-pointer/detail-lines across apply_rust_no_static_path_limit and apply_rust_proximity_reach_limit, with unresolved_reach_next_step replacing proximity_reach_next_step for both legacy callers — but the legacy 'else if let Some(witness)' block in apply_rust_proximity_reach_limit still constructs its own detail lines inline; full unification would route it through the same helper.
Refuted
- Weak-direct assertion could leak ordinary 'Replace broad assertions' gap advice because the new gate might silently skip when only direct_owner_call rows are admitted without oracle; refuted because: strong_direct_oracle_remains_credited_beside_the_macro / weak_direct_without_a_test_macro_route / unrelated_macro_with_weak_direct / lexical_transitive_route_with_weak_direct demonstrate that when the macro route is absent/relocated/non-test/lexical the finding is Exposed (confirmed) or stays in ordinary weak gap; proximity_reach_tests.rs gate guards assert discriminated==Yes and oracle.is_some() are required.
- Three near-identical macro-reach blocks remain and the refactor is incomplete.; refuted because: Only the no-path branch collapsed through apply_rust_macro_reach_limit; the proximity branch still inlines the macro detail. The proximity and mixed gates share unresolved_reach_next_step but keep their own typed-limit projection duplicated.
- witness.owner aliasing through classify::macro_reach_limit_kind(&witness.macro_host) while extend() borrows witness lines.; refuted because: classified() borrows macro_host for the duration of the kind call; extend consumes the returned Vec immediately; no overlap with later witness borrows. StaticLimitKind::describe() inside replace_unresolved_reach_advice runs on finding.static_limit_kind (Copy enum), not witness.
- needs_mixed_macro_reach_limit co-fires with needs_no_static_path_limit and rewrites advice for an empty main-index witness; refuted because: Predicate requires reach==Yes and disc!=Yes; the no-path branch short-circuits before the mixed rule can fire, and the mixed branch only runs when reach is already Yes, so the two predicates are mutually exclusive on the OverLimit path; an empty witness yields unsearched_reach_next_step with no gap, not inverted advice.
- Async/waker spawned by an FFI oracle could observe a half-applied Finding (reach Yes recorded, static_limit_kind not yet pushed) and emit contradictory advice.; refuted because: No FFI oracle spawns any task; oracles are synchronous sync functions, depend on no runtime/waker/JoinHandle, and the mixed gate writes static_limit_kind and stop_reasons before any advice projection inside apply_rust_no_static_path_limit. false-premise.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_INCOMPLETE at bd01d36, integrated with main0e4. Required current-head hosted qualification and final selected/precommit gates remain pending.
Reviewed the unique definition-mentions-owner residual, unchanged recognized-direct guard/witness/unsearched handling, all upstream owner boundaries, both complete SPEC0117 examples and incoming test references, and the sole owned expected-row delta. The later conflict is resolved in the same branch. Current scoped source claims match this integration; predecessor qualification remains separately identified.
The IDENT-argument macro/helper shape is distinct and remains with #6614/#6792; it is not covered by this repair’s advice-withholding claim. No expansion or propagation architecture is added. This record grants no real-editor, installed-package or parent RC acceptance. Final substantive review must inspect terminal current hosted evidence before ordinary protected merge.
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_READY at bd01d368dd02e76e017ab7b3b8d2971ed2b19164 for the bounded #7542 fix.
The recognized weak-direct gate retains a named macro witness or bounded unsearched-route disclosure while withholding unsupported gap actions. Confirmed discrimination, examined misses, direct calls without a recognized oracle and concrete main-index witnesses retain their owner boundaries. Classification, RIPR stages and related-test credit are preserved. The fixture, SPEC0117 example6, schema prose and honesty control agree; both complete conflict sections remain intact. No blocking source or contract finding remains in this claim. The published required check succeeded.
Source-backed review resolves the automated duplication/return concerns: all three routes use apply_rust_macro_reach_limit; the proximity function has no unconditional return after that helper, and the named environment limits have declarations/readers. The earlier over-limit defect is repaired.
SPEC0117 example7 coverage, the separate IDENT-argument macro shape and #1873/#7408 editor/installed acceptance remain outside this approval.
When a same-repo macro definition mentions the changed owner, a weak direct assertion could hide its opaque macro-routed test and leave unsupported test-writing advice. This fix retains the existing named macro limitation with its test and invocation pointer. Classification, RIPR stages and related-test credit are preserved; unsupported canonical-gap actions are withheld.
Closes #7542. Governing contracts: RIPR-SPEC-0117 example6, RIPR-SPEC-0114 bounded reach and RIPR-SPEC-0120 assertion-macro ownership.
The same eligibility gate requests dependent-scope widening. An over-budget search discloses the existing unsearched-route limitation without inventing a skipped witness. A concrete main-index witness keeps precedence. Confirmed discrimination, examined misses, lexical-only helpers, unrelated/uninvoked macros and calls without a recognized direct oracle retain their existing ownership.
The production change, public regression tests, scope/refusal controls, pure fixture, SPEC/schema prose, traceability and honesty-corpus control agree. Both actual conflict resolutions preserve the complete incoming and owned test/spec sections. Only the owned SPEC0117 mixed expected row changes from actionable gap to named limitation relative to the integrated basis; runtime truth and classification are unchanged.
The required hosted check succeeded. Current source review is REVIEW_READY for the bounded claim. SPEC0117 example7 corpus coverage and the distinct IDENT-argument macro shape remain separate follow-ups.
Changelog:
changelog.d/7542-mixed-macro-witness.mdis a Fixed fragment referencing #7542. Rollback is this bounded Rust-adapter/spec/fixture/expected-row change.Candidate:
bd01d368dd02e76e017ab7b3b8d2971ed2b19164. This PR establishes no real-editor, installed-candidate, cross-platform or parent #1735 RC-readiness acceptance.