Skip to content

fix(repair): a proximity test pinning another function cannot credit any seam kind (#12146) - #12254

Closed
EffortlessSteven wants to merge 6 commits into
mainfrom
claude/fix-12146-predicate-proximity
Closed

EffortlessSteven wants to merge 6 commits into
mainfrom
claude/fix-12146-predicate-proximity

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Governing issue or accepted claim: #12146

Acceptance delta (one sentence): On the repo-seam path, a test related to a seam only by file, module or assertion affinity no longer lends any seam kind (not only match arms) its stage credit or a published strong oracle through an assertion that pins a different function, when the assertion text itself calls that function.

Cause

#12132 applied credited_related_tests to MatchArm seams only. A predicate seam in a function the test never reaches still took the test's stage credit and a strong published oracle. Probe on the proximity-other-function subject before the change: wait < 5 (owner consume) read propagate/observe/discriminate = (Yes, Yes, Yes) with reduce_over (pins reduce) published as strong.

Change

  • test_grip_evidence.rs, related_tests.rs: drop the MatchArm gate. The credited view is built once per seam and indexed by position (the CodeRabbit perf finding on fix(repair): a proximity test pinning another function cannot grade a match arm up (#12060) #12132); credited_related_tests no longer takes the seam.
  • After: wait < 5 reads (Unknown, No, No) with oracle none; reduce's own predicate tokens > 9 keeps (Yes, Yes, Yes) and its strong oracle (positive control in the test).
  • Cache generations 1.135 / 0.138 (main took 1.134 with Do not confirm a match arm from a proximity assertion bound to another function #12211); version-pinned snapshots and the unchanged-after-attempt hash chain regenerated.
  • Test proximity_test_pinning_another_function_cannot_credit_a_predicate_seam: exact stages through the full and compact paths, published oracle, owner-calling control, own-predicate control.
  • Honesty corpus: proximity-other-function gains a wait < 5 assertion; the uncalled-sibling report is recaptured from the head binary (same defect: conversions pinned as_kib and was published strong on the uncalled as_kb).

Goldens flipped (intended, blessed with spec ids)

  • proximity_unrelated_oracle_not_credited, owner_parameter_token_coincidence: ripr repair previously refused on a conflicting "exposed" reading created by the unrelated assertion; it now agrees with ripr check that a gap exists. The second now offers a repair start.
  • rust_slice_table_try_exit, one_hop_field_projection_wrong_sink, owner_return_pin_pointer_glob_shadow, owner_self_body_same_name_with_caller_control: the repair "still missing" list no longer carries a phantom "a test input that reaches the changed code" while reach is yes; it was read from an unrelated test that pins another function.

Proof observed (by the author)

Not established / excluded


🤖 Generated with Claude Code

https://claude.ai/code/session_01PResvVn1d7d3d4PYtRgdri

@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 39 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 72 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: 2a01e12d-5581-468b-9c97-2637fc60527f
Commits

Reviewing files that changed from the base of the PR and between 9473e16 and b133f76.

Files selected for processing: 45
  • .ripr/traceability.d/12146-repo-seam-proximity-every-seam-kind.toml
  • changelog.d/12146-repo-seam-proximity-every-seam-kind.md
  • crates/ripr/src/analysis/seam_cache.rs
  • crates/ripr/src/analysis/test_grip_evidence.rs
  • crates/ripr/src/analysis/test_grip_evidence/related_tests.rs
  • crates/ripr/src/analysis/test_grip_evidence/tests.rs
  • docs/specs/RIPR-SPEC-0094-observation-unverified-guard-generalization.md
  • fixtures/boundary_gap/expected/first-useful-action/unchanged-after-attempt/after.repo-exposure.json
  • fixtures/boundary_gap/expected/first-useful-action/unchanged-after-attempt/agent-receipt.json
  • fixtures/boundary_gap/expected/first-useful-action/unchanged-after-attempt/agent-verify.json
  • fixtures/boundary_gap/expected/first-useful-action/unchanged-after-attempt/before.repo-exposure.json
  • fixtures/evidence-promotion-honesty-corpus/corpus.json
  • fixtures/evidence-promotion-honesty-corpus/reports/rust-repo-exposure-adapter-fed-error.json
  • fixtures/evidence-promotion-honesty-corpus/reports/rust-repo-exposure-proximity-other-function.json
  • fixtures/evidence-promotion-honesty-corpus/reports/rust-repo-exposure-uncalled-sibling.json
  • fixtures/one_hop_field_projection_wrong_sink/expected/CHANGELOG.md
  • fixtures/one_hop_field_projection_wrong_sink/expected/human.txt
  • fixtures/owner_parameter_token_coincidence/expected/CHANGELOG.md
  • fixtures/owner_parameter_token_coincidence/expected/human.txt
  • fixtures/owner_return_pin_json_alternate_return/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_alternate_return/expected/check.json
  • fixtures/owner_return_pin_json_alternate_return/expected/human.txt
  • fixtures/owner_return_pin_json_nested_literal/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_nested_literal/expected/check.json
  • fixtures/owner_return_pin_json_nested_literal/expected/human.txt
  • fixtures/owner_return_pin_json_real_literal/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_real_literal/expected/check.json
  • fixtures/owner_return_pin_json_real_literal/expected/human.txt
  • fixtures/owner_return_pin_json_shadowed_owner/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_shadowed_owner/expected/check.json
  • fixtures/owner_return_pin_json_shadowed_owner/expected/human.txt
  • fixtures/owner_return_pin_json_uncalled_closure/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_uncalled_closure/expected/check.json
  • fixtures/owner_return_pin_json_uncalled_closure/expected/human.txt
  • fixtures/owner_return_pin_json_unrelated_equality/expected/CHANGELOG.md
  • fixtures/owner_return_pin_json_unrelated_equality/expected/check.json
  • fixtures/owner_return_pin_json_unrelated_equality/expected/human.txt
  • fixtures/owner_return_pin_pointer_glob_shadow/expected/CHANGELOG.md
  • fixtures/owner_return_pin_pointer_glob_shadow/expected/human.txt
  • fixtures/owner_self_body_same_name_with_caller_control/expected/CHANGELOG.md
  • fixtures/owner_self_body_same_name_with_caller_control/expected/human.txt
  • fixtures/proximity_unrelated_oracle_not_credited/expected/CHANGELOG.md
  • fixtures/proximity_unrelated_oracle_not_credited/expected/human.txt
  • fixtures/rust_slice_table_try_exit/expected/CHANGELOG.md
  • fixtures/rust_slice_table_try_exit/expected/human.txt
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review November 1, 2026 20:43
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Devin Review found 2 potential issues.

Devin Review

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

REVIEW_READY — head d292299

Review of #12254 (fixes #12146) at the current head. d292299 differs from the 9b3896c I was first asked about only by 15 lines of RIPR-SPEC-0094 text. I built ripr at the merge base (f7d4d71) and at 9b3896c and ran both on the six re-blessed fixtures and the honesty subject; the code and goldens did not change between 9b3896c and d292299. I did not run the lib or integration tests (the test binaries cannot be linked here), so the new unit test is read, not executed.

The rule

credited_related_tests no longer gates on SeamKind::MatchArm. A test related to the owner only by proximity or assertion affinity loses any assertion that calls an indexed function with no name path to the owner (assertion_pins_other_function, which fails closed on implicit dispatch and checks the owner's full reverse closure). Any test that calls the owner, or whose assertion also reaches it, keeps the assertion. The credited views are built once per seam and shared by the oracle ranking (the owner-reach walk happens once, not per test).

Each of the six flips is correct (checked with the built binaries)

Fixture merge base this head Why
owner_parameter_token_coincidence (tax) strongly_gripped, "no repair start; check and repair conflict" weakly_gripped, discriminate weak, repair start offered The only strong credit came from subtotal_multiplies, which asserts subtotal(3,100)==300 and never reaches tax. tax_is_owed has assert!(owed > 0). A weak-assertion gap with a direct owner call is a legitimate repair target.
proximity_unrelated_oracle_not_credited (make) strongly_gripped reachable_unrevealed (yyunn) Strong oracle came from other_test, a different function's assertion. Repair still not offered; it now names the missing return-value assertion.
one_hop_field_projection_wrong_sink (stats) activation_unknown, strong oracle reachable_unrevealed, oracle none Strong credit was sentinel() == 19, unrelated.
owner_return_pin_pointer_glob_shadow activation_unknown, strong reachable_unrevealed, none Credit came from f(2)==6 resolved to the decoy; no owner path by name.
owner_self_body_same_name_with_caller_control (get, peek) strong from other_test none Same pattern.
rust_slice_table_try_exit (mean_latency, ratio) strongly_gripped / activation_unknown reachable_unrevealed They were credited by other functions' table tests.

Direct-owner seams in the same fixtures (average, discount, initial) keep their strong credit and class, and in the honesty subject reduce's own tokens > 9 is unchanged (weakly_gripped, strong oracle from reduce_over's direct call). consume's wait < 5 goes from activation_unknown yyyyy-with-strong-oracle to reachable_unrevealed, matching the owner's probe. The unit test pins full and compact paths to (Unknown, No, No) for the other-function case, Yes/Yes/Yes when the same test also calls consume, and the own-predicate control.

Only one flip changes actionability toward offering a repair (owner_parameter_token_coincidence), and that one is a true weak-assertion gap. The other five still do not offer one.

Minor, non-blocking

  • Four goldens drop "a test input that reaches the changed code" from the missing list: the seam's class moved from activation_unknown to reachable_unrevealed, which carries no "incomplete evidence stage: activation" item, while the activation stage in those seams still reads unknown (e.g. mean_latency's boundary operands are unresolved). No repair start is offered in any of them, so this is wording; it would be more accurate if the activation need stayed in the list. Worth a follow-up issue rather than a block.
  • rust-repo-exposure-uncalled-sibling.json regenerated as many lines but the content change is two related-test oracle strengths and their order (conversions now none for as_kb); metrics are unchanged.

Cache

1.134 / 0.138 is the next free value on origin/main (still 1.133 / 0.137), and I recomputed the boundary_gap unchanged-after-attempt chain: content hashes and receipt entries are consistent. #12246 claims the same 1.134 / 0.138. Whichever merges second must re-bump (to 1.135 / 0.139) and re-chain; the hash values will change then, so the second PR needs a delta review.

Ripr Rust Small Result was not visible on this head; it must be green on the exact head before merge.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

The ranking failure (pilot_distinct_function_share_top10 0.7179 -> 0.7) is not from this PR. Main fails the same step without it (dispatch run 41349665496 on f7d4d71), and #12246 fails it too. Tracked in #12263.

Also merged main (#12211 took cache 1.134) and re-bumped to 1.135 / 0.138 with the first-useful-action hashes re-chained; new head is pushed for a delta review.


Generated by Claude Code

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

REVIEW_READY — head 9572a48

Delta review of #12254 against d292299 (my REVIEW_READY). The push is one merge commit of origin/main (bringing in #12211, f7d4d71..4ec3eda) plus the re-bump. I did not run the test suites; I read the diffs, recomputed the hash chain, and built ripr at this head to probe the interaction with #12211.

seam_cache.rs conflict resolution — correct

origin/main is at full 1.134 (#12211: local-bound proximity assertions, #12056) with sharded and compact still 0.137. This head keeps main's 1.134 line and its doc comment intact and adds 1.135 for #12146 on top, with sharded and compact at 0.138 (doc lines say "same as full 1.135"), and the version-assert test, OUTPUT_SCHEMA.md and the two currentness constants (gap_corpus_currentness.rs, xtask/src/tests/rust_corpus_projection.rs) are all at the new values. The merge introduced no other change in this file.

Hash chain: I recomputed the boundary_gap unchanged-after-attempt files with the raw_json_placeholder_v1 rule. Both repo-exposure files hash to their stored content_sha256 (f36590e9…), agent-verify.json carries the same before/after value, and the whole-file hashes in agent-receipt.json match the two repo-exposure files and agent-verify.json.

Side note on #12211 (not this PR): it bumped only the full cache to 1.134 and left sharded and compact at 0.137, although it changes classification. This PR's 0.138 bump covers it going forward.

Does #12211 interact with the every-seam-kind gate? Only by not composing

#12211 changed ripr check's per-assertion path: its assertion_pins_other_function closure now takes the test and appends each single immutable local's initializer to the assertion text, so let r = reduce(3); assert_eq!(r, Reduction::Over(3)) counts as pinning reduce. The repo-seam gate in this PR (credited_related_tests in test_grip_evidence.rs) still calls TransitiveReach::assertion_pins_other_function(&oracle.text) on the assertion text alone, so it does not see the initializer.

Probe on the built head, honesty subject proximity-other-function with the test rewritten to bind the call first:

  • assert_eq!(reduce(3), Reduction::Over(3)): consume's wait < 5 is reachable_unrevealed, oracle none (the gate works).
  • let r = reduce(3); assert_eq!(r, Reduction::Over(3));: consume's three match-arm seams read strongly_gripped with a strong oracle from reduce_over, and wait < 5 reads activation_unknown with the strong oracle published. The gate is bypassed by the local-binding spelling.

That is not a regression from this PR or the merge (match arms had the same limit after #12132, and ripr check and the repo seam now disagree on that spelling), but the gate's comment says the repo seam "must agree" with ripr check. I recommend a follow-up that feeds the same local-initializer text into the repo-seam gate (it needs the index and the test, which credited_related_tests can be given), with a pin on this exact spelling. I would not block this PR on it.

Cache value collision with #12246

#12246 is still at 1.134 / 0.138 (head 1eaba50). 1.134 is now taken on main, so it must move to at least 1.135/0.138 for the full cache, and sharded/compact 0.138 is what this PR uses. If both PRs land with 1.135/0.138, the second to merge has to re-bump to 1.136/0.139 and re-chain the same boundary_gap hashes, and I will delta-review that one.

Ripr Rust Small Result was not visible on this head (ranking failure noted by the coordinator as a separate main break); it must be green on the exact head before merge.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Ranking attribution and claim-boundary reconciliation for the existing #12254 owner. The main job 124976929790 on f7d4d71426b9211efc6e68c0aa4ac5c376625d73 reports a pick-count regression, 39 → 38; its diversity is 27/38 (0.7105), reported non-regressed. The older #12254 job 124974977599 checked out 79dcbe3fc84e639ca7e0fb595f790c9697284b56, merging d292299b28d92ec007ef2a455d0eb50f7bd5243d into that main, and reports the distinct-function-share regression 28/40 = 0.7000. These are not identical failures; the PR job is evidence for the older head, not current 9572a48d3c7eca72ddb2308ea0a3211dc78e5257.

Please reconcile the identical-main attribution with those subjects. Recover the retained per-pick rows and use the existing #7167 matched-pick attribution to distinguish admission/removal, ordering and answer-key joins before assigning cause or changing a baseline. A capped 300-file listing across the main span is not exhaustive causal proof. Preserve #12246’s separate missing-snapshot owner.

Separately, #12264 records the pre-existing immutable-local assertion gap: the current repo-seam gate uses oracle.text while the classifier expands local initializers. Please make the broad claim in this PR’s body explicitly exclude that spelling, as the existing review already treats it as follow-up; this is not a new veto on the narrower every-seam-kind improvement. No artifact transfer, build or repair was run in this reconciliation.

Copy link
Copy Markdown
Member Author

Correction to my earlier "main fails the same step" comment: that was wrong. The main run (f7d4d71) fails on a pick count (39 → 38) with diversity 27/38 not regressed; this PR's jobs fail on pilot_distinct_function_share_top10 (28/40 = 0.7000 on the older merge, and the same 0.7 on the current head 9572a48, run 41351379912). They are different failures, so main does not establish that this PR is clear. I have not attributed the share regression yet. I will recover the per-pick rows for main vs this head and use the #7167 matched-pick attribution before assigning cause, and I am editing #12263 to say the same. The PR body now carries the #12264 exclusion and the current cache values.


Generated by Claude Code

@EffortlessSteven

Copy link
Copy Markdown
Member Author

Gate-triage record for the ranking red on this PR (verified 2026-11-02 via retained per-pick rows, no code changes made).

Verdict: stale-baseline handoff, not a candidate defect. The PR behaves as specified; the pooled share moves 0.7179 (28/39 baseline) to 0.7 (28/40) because it restores two true rust-hex error_variant picks that the old baseline hid behind over-credited affinity oracles.

Evidence (matched by repo pin + file/line/kind/owner; corpus 2026-10-04.1 identical both sides): admission +2, both rust-hex, zero removals elsewhere (semver/bytesize/humantime/strsim rows byte-identical). Added: src/lib.rs:226 Err(OddLength) in Vec::from_hex and src/lib.rs:352 Err(OddLength) in decode_in_slice, both refuted owner picks joining via whole-body FnValue mutants. Only rust-hex displaced (230 rank1 to rank5); no independent reordering; answer-key joins unchanged for every matched pick. Pooled: distinct 27 to 28, picks 38 to 40, refuted 17 to 19, confirmed 7 to 7, scored_share 0.6316 to 0.65. Causation isolated by binary experiment (rust-hex at pinned e25a8701, main files vs PR test_grip_evidence files swapped in). Under main both seams discriminated solely on kind-matching ExactErrorVariant oracles from tests with no path to the owner, refused per spec d292299/RIPR-SPEC-0094 under this PR; for 352 no owner-pinning OddLength test exists (only an Ok doctest), so this is a true restoration. The 226 direct test stays credited strong through the untouched ExactValue taxonomy (separate #3731 lineage, not this PR).

Resume condition: the ranking baseline owner validates this cause and refreshes the comparison baseline through the normal route (cf. #11054 precedent) with its own tolerance judgment. Do not relax tolerance in this PR. Missing evidence note: the 39-pick comparison-baseline rows are not in the retained inputs, so baseline-vs-PR matching below pooled counts is unproven; main-vs-PR matching is complete and sufficient for the causal verdict.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

merge-ready is set, but this PR conflicts with main (head 9572a48d), so GitHub creates no test-merge ref and no qualification run can start. Merge main into the branch and resolve the conflicts, then remove and re-apply merge-ready.

@EffortlessSteven

Copy link
Copy Markdown
Member Author

Rebased onto current main (conflict resolution + cache bump 1.137 / 0.139 for #12146 after #12266 landed on main). Force-pushed head 06f8a0c8e947b48427c6f08ff9c1d59c36d8c928. Re-toggling merge-ready to re-run Admit / Small Result.

Copy link
Copy Markdown
Member Author

Source review of integration head 070408ca542ce5f05568d8a8315a2c535f894d9a finds a material difference in the arity repair: app/test_stub.rs:1160 passes None as package_root, while #12466 threads the root and passes Some(root). The parent-module cfg refusal in analysis/test_stub.rs:318 is conditional on package_root.is_some_and(...), so None bypasses that guard. Please have the existing writer reconcile the call with the accepted root-plumbing behavior and add or retain a discriminating cfg-gated parent control before qualification. This is source evidence, not a runtime reproduction; it is not merely an identical import of #12466. The reported label 403 remains untouched.

Copy link
Copy Markdown
Member Author

For the arity finding in my preceding comment, the affected path is the direct probe-line return-value fallback (app/test_stub.rs:1323). The discriminating control is an out-of-line feature-gated parent yielding OwnerUnsupported, paired with an ungated positive twin; the source finding has not been executed. Core proximity filtering and its full/compact controls remain intact; I did not independently recompute the fixture digests.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

merge-ready is set, but no qualification run exists for head 070408ca: it was pushed after the label was applied, or the label event was dropped. Remove and re-apply merge-ready to request it again.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

merge-ready was requested, but this PR conflicts with main (head 070408ca), so GitHub creates no test-merge ref and no qualification run can start. Merge main into the branch and resolve the conflicts, then remove and re-apply merge-ready.

claude and others added 6 commits November 2, 2026 12:28
…137 (#12146)

Re-normalize the portable repo-exposure pair and agent verify/receipt
commitments after rebasing #12146 onto current main.

Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>
…tures

Rebase PR #12254 onto origin/main after #12496/#12359 landed on main.
Keep main's app/test_stub.rs (no E0061 carry). Cache generations: 1.139
and compact/sharded 0.141 for the every-seam-kind proximity rule (#12146)
after main's 1.138/0.140 (#12359).

Recapture honesty reports at 1.139 (including adapter-fed-error collateral),
refresh unchanged-after-attempt portable repo-exposure snapshots and agent
verify/receipt bindings, and bless owner_return_pin_json goldens affected by
the same proximity refusal.

Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>
@cursor
cursor Bot force-pushed the claude/fix-12146-predicate-proximity branch from 070408c to b133f76 Compare November 2, 2026 12:59

Copy link
Copy Markdown
Member Author

Affected-source disposition on b133f760c81238122bb29e977e02fdb65d96a7b5: the prior None call-site bypass is repaired by threading Some(root), and the reviewed proximity controls remain. The requested direct-return fallback test is still needed: an out-of-line feature-gated parent must yield OwnerUnsupported, paired with an ungated positive, while proving that this fallback was reached. Generic parent-gate coverage alone does not establish that path.

The six refreshed JSON-owner goldens now report static_unknown / rust_assertion_context_unestablished, while their changelogs attribute the change to proximity refusal. Please identify the actual baseline/producer mechanism before accepting that explanation; do not merely rebless. Retained reports identify analyzer 627ec03f5ceaf7925d36ea06949e9e32f4e73463, not final b133; portable chain links appear source-consistent but hashes were not independently recomputed. Cache generation 1.139/0.141 collides with the separate #12368 candidate if either lands first, so the second integration must advance and rechain. No independent execution or label retry was performed.

Comment on lines 13655 to +13659
/// function (`assert_eq!(reduce(..), Reduction::Over(..))`), while the same
/// assertion in a test that also calls the owner still counts. Pinned through
/// both the full and the compact entry points, which must agree.
#[test]
fn proximity_test_pinning_another_function_cannot_credit_a_predicate_seam() -> Result<(), String> {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new test was inserted between the existing /// doc comment block (lines 13655-13657) and the test it documents, proximity_test_pinning_another_function_cannot_grade_a_match_arm_up.
The match-arm doc comment now attaches to proximity_test_pinning_another_function_cannot_credit_a_predicate_seam, which describes the wrong scenario. The match-arm test has no doc comment.
Move the new test above the doc comment block, or move the doc comment back to sit directly above the match-arm test, and give the new test its own doc comment.

Spotted by Graphite

Fix in Graphite


Is this helpful? React 👍 or 👎 to let us know.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed findings

  • Current-head behavioral execution is not established: the new predicate regression test and regenerated fixtures lack a completed cargo-test receipt, while the rippr sensor failed.

Verification questions

  • Confirm the new predicate test covers the intended negative case, an owner-reaching control, and the pinned function's own predicate control.
  • Confirm collateral JSON-owner goldens now classify direct-owner assertions as uncredited because serde_json cannot be resolved from the fixture manifest.

Evidence gaps

  • Current-head runtime behavior of the new every-seam-kind rule is not independently witnessed because the cargo-test receipt is absent.
  • No completed current-head cargo-test receipt establishes that the new regression test and regenerated fixtures pass.
  • Current-head execution is the principal security-review residual risk because assertions and generated fixture integrity were not witnessed by a completed cargo-test receipt.
  • Current-head execution of the new regression test and regenerated fixtures is unverified by this packet.
  • Model proof intent was rejected by deterministic validation.
  • Current-head execution evidence for the new credit filter and regenerated goldens remains absent.

Parked follow-ups

  • The uncalled-sibling fixture still publishes zero_size as a strong oracle although that assertion pins no indexed function; the seeded thread classifies this as pre-existing and tracked in #12256.
  • The generated reports disclose local workspace paths and analyzer revisions, but these are fixture metadata rather than runtime data returned to untrusted users.
  • Several owner-return JSON goldens change from exposure gaps to rust_assertion_context_unestablished; this follows a separate macro-resolution limitation rather than the proximity sibling rule.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

merge-ready is set, but no qualification run exists for head b133f760: it was pushed after the label was applied, or the label event was dropped. Remove and re-apply merge-ready to request it again.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

merge-ready is set, but this PR conflicts with main (head b133f760), so GitHub creates no test-merge ref and no qualification run can start. Merge main into the branch and resolve the conflicts, then remove and re-apply merge-ready.

Copy link
Copy Markdown
Member Author

Cache-order update for the existing writer: #12368 landed as 0c0d14dda16ba68b48e120d0a0e53e87915e69ec with classified generations 1.142 / 0.144. This older b133f760 candidate's 1.139 / 0.141 can no longer identify the combined semantics; integrate current main and choose a fresh noncolliding generation, rechain affected evidence, and qualify the resulting subject. The previously requested direct-fallback gated-parent negative/ungated positive and golden-attribution disposition remain open. This is a dependency update, not a competing patch or label request.

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bounded source review — 2026-11-05 UTC

  • reviewed_head_sha: b133f760c81238122bb29e977e02fdb65d96a7b5.
  • integration_basis: current metadata base 9473e16adcce979727385e198f83791fc870c7a2; authored merge-base diff and immutable candidate source inspected. No fresh composed integration execution.
  • claim_boundary: fix(repair): a proximity test pinning another function cannot credit any seam kind (#12146)
  • changed_surfaces_and_semantic_owners_inspected: Inspected credited_related_tests filtering and owner reverse reach once per seam. Related-test suggestions remain while assertions are cloned/filtered for stage classification and oracle ranking, with full/compact parity. Source controls independently assert lost propagation/observation/discrimination for unrelated owner predicates, preserving direct-call and actual-owner positives; reviewed six golden behavior changes. Existing immutable-local-initializer bypass12264 is an explicit PR-body exclusion, and misleading zero-size oracle12256 already known. Unresolved displaced doc-comment thread is style-only; no new material finding.
  • blocking_findings: No additional inline finding from this pass. Existing predecessor, owner and deferred-work holds described above remain.
  • non_blocking_suggestions: None added.
  • refuted_or_stale_findings: Repairs/refutations described above retained; resolved historical findings were not automatically reopened.
  • proof_and_ci_observed: Immutable production owners, consumers, authored diffs and source regression oracle controls; current metadata, Conversation and review thread records retrieved. Earlier execution claims are reported only.
  • proof_or_review_missing: No execution, builds, new mutation experiment, rendered analyzer run, independent CI receipt or final qualification. Existing predecessor/counterpart holds and accepted residuals retained.
  • affected_currentness_dimensions: Head/base/open state reread immediately before publication; prior evidence remains bound to its original subject. Source coverage is bounded to the inspected owners and controls.
  • residual_assumptions_and_non_claims: This COMMENT review preserves existing Draft/owner holds and does not establish final qualification, merge readiness or rollout.
  • disposition: REVIEW_INCOMPLETE.

Copy link
Copy Markdown
Member Author

Taking over this candidate under the stale-claim rule (no activity since 2026-11-05; head b133f760). Not superseded: current main 1fec5034 still gates credited_related_tests on SeamKind::MatchArm (test_grip_evidence.rs:913), and no open or recently merged PR implements #12146.

Plan: merge current origin/main into the branch with a merge commit (no rebase/force-push), take main's cache generations and bump one past, rechain the unchanged-after-attempt evidence, run local proof, and address the open Graphite doc-comment thread. The earlier open asks (direct-return fallback gated-parent control; JSON-owner golden attribution) stay visible and will be reported on, not silently dropped.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Takeover finding: when I tried to merge current main (1fec5034), it showed that main has already landed most of this claim, using a design this PR contradicts. I stopped there. Nothing was pushed, and head stays at b133f760.

Evidence on main:

What remains of #12146: the kinds main does not cover yet (error_variant, field_construction, side_effect, call_presence), each with the same reach gate. That needs a fresh slice built on refuses_other_function_oracle, not a merge of this branch. Earlier open asks still apply to any successor: the gated-parent direct-return fallback control (app/test_stub.rs), and attribution of the JSON-owner golden changes.

I am not closing this PR, changing labels, or touching the open Graphite doc-comment thread. The lead should decide whether to close it as superseded and narrow #12146.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Handoff (campaign sweep, 2026-11-08): State: not merging. I re-verified the 12:40 takeover finding against current main. Main landed the predicate_boundary and return_value other-function refusals (#12464, #12717), the once-per-seam reach build (#12537) and the SPEC-0094 text (#12660), under a reach-gated refuses_other_function_oracle; this branch's unconditional every-kind refusal and its blessed goldens contradict that decision. Merging main here would either revert main's design or force a rewrite, so this is a design conflict rather than a mechanical one.
Decision recorded: recommend closing #12254 as superseded for the already-landed kinds, and narrowing #12146 to the remaining kinds (error_variant, field_construction, side_effect, call_presence), each built on refuses_other_function_oracle with the same reach gate. Carry over to that successor: the gated-parent direct-return fallback control (app/test_stub.rs) and attribution of the JSON-owner golden changes. I have not closed the PR or touched labels or the open thread; the owner closes or reassigns it.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Closing as superseded. Main already landed most of this claim under a reach-gated refuses_other_function_oracle design (#12464, #12717, #12537, #12660); this PR's unconditional every-kind refusal and its blessed goldens contradict that design, and the branch now conflicts with main. #12146 stays open, narrowed to the seam kinds main does not cover yet (error_variant, field_construction, side_effect, call_presence). A successor must carry over the gated-parent direct-return fallback control and attribution of the JSON-owner golden changes (see the earlier handoff comment). The branch is kept for reuse.


Generated by Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants