Repository navigation
fix(agent-stub): repair main build break from rust_test_stub arity (#12322 x #12357) - #12466
EffortlessSteven wants to merge 1 commit into
Conversation
…b (main build break) #12322 and #12357 merged without a combined build; rust_test_stub gained a package_root argument. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmp1dk37XMDiDt4z11j
|
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 28 minutes. View limit details
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_READY — head d19b46e
The fix builds and the stub tests pass. I built the lib tests at this exact head (base eb812f8) and ran:
cargo test -p ripr --lib --no-run: compiles (no E0061).- lib filter
test_stub: 77 passed. cargo test -p ripr --test agent_stub_compiles: 40 passed.
Diff. return_value_direct_at_probe_line takes root: &Path and passes Some(root) as rust_test_stub's fourth argument; its one caller in resolve_at passes root. That is the same call shape as the other site (AtCandidate::resolution, rust_test_stub(seam, None, &source, Some(root))), and root is the --root the caller already holds, so the cfg-gated parent check now applies to the direct stub as the PR says. The changelog fragment describes exactly that.
Limits. I did not add or run a test that shows the cfg-gated parent refusal on the direct probe-line path specifically; no test in the lib or agent_stub_compiles fails or passes because of the extra argument. The change is mechanical and matches the sibling call, so I am not asking for one. Not run: hosted Ripr Rust Small Result (merge only on green on this exact head), precommit, goldens. The PR is still a Draft; it must be marked Ready first.
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! |
|
Generated by Claude Code |
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the patch repairs a compile-time arity mismatch but does not add a focused regression test distinguishing the old and new runtime behavior.
- Confirm the changelog states that the cfg-gated parent check applies at the direct probe-line route, but that behavior is not demonstrated by available evidence.
Evidence gaps
- No completed build or test evidence is available in this packet for the repaired Rust path.
- Model proof intent was rejected by deterministic validation.
- Hosted CI is still needed to establish the stated build-repair claim because the supplied cargo-test receipt is absent and ripr failed.
- Successful compilation of the affected Rust crate remains unproven because the ripr sensor failed and the cargo-test receipt is absent.
- The hosted compile failure described by the PR is plausible, but this change has no successful build or test receipt.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Independent integration-blocker verification for dependent #12008; no competing implementation or approval bypass.
I read the native log of required run 41398651196, attempt 1, Rust-gates job 125125663133, not only its conclusion. Its checkout is merge baa7e3b. The failing User-text goldens judged by the merge-base matcher step checks out first parent eb812f8 into an isolated base worktree, then runs that base's cargo xtask check-user-text --tree <candidate>. Cargo fails compiling the base product before the matcher runs: E0061 at app/test_stub.rs:1160, three arguments supplied to the four-argument rust_test_stub, native exit 101. No user-text comparison or later native suite passed in that run.
Thus this is a base-evaluator bootstrap failure, not a demonstrated failure of the two-path repair. Current main aeac235 still contains the three-argument call (source readback, not a new compiler run). Repeating the unchanged required job cannot establish a different result.
The head's source fix passes the package-root argument through the existing stub_package_root owner, rather than weakening the cfg-parent check; the PR body's earlier Some(root) description should be reconciled with that actual code. This source observation is not broad merge clearance. The existing owner's reported local checks keep their original provenance.
The recovery must preserve base-owned matcher/ceiling authority over candidate goldens while making that evaluator independent of the broken product build. Do not skip the step, judge with unverified head-owned matcher logic, mark the failed run green, or use an admin merge. I have kept #12008 Draft and have not launched known-red required qualification; it depends on the existing mainline repair and the canonical gate-bootstrap resolution. This comment corroborates the owner's escalation with exact native evidence rather than creating a duplicate owner.
…ain break) Main E0061 at app/test_stub.rs:1160 blocked merge-group CI after syncing main. Same repair as #12466: thread root into return_value_direct_at_probe_line. Advances #4678 merge-ready qualification only; governs #8444 repair. Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>
|
Additional exact-head downstream observation from formal-assurance repair PR #12473, not a duplicate fix request: its automatic wheel run 41399694980, source-contract job 125128866148, checked out This confirms #12466 is a concrete integration prerequisite for that lane too. I left #12473 Draft / REVIEW_INCOMPLETE and did not copy your fix, change gates, request a known-red required run or treat skipped tests as proof. The earlier base-evaluator bootstrap concern still belongs to this existing recovery route; this comment does not establish that recovery or authorize a bypass. |
… for #12434 Output of ripr check --mode draft --format repo-exposure-json on repo-exposure-subjects/proximity-other-function, built from cc41587 plus the #12466 rust_test_stub arity fix (main did not compile without it). Only the consume wait < 5 row moved: reduce_over strong -> none, class activation_unknown -> reachable_unrevealed. Not hand-edited. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmxFdsEBaQ96Ruf9oV
… judgment (#12496) Exact-head review (fresh independent reviewer, head 7459acf): REVIEW_READY. Ripr Rust Small Result, Rust gates and all four test shards SUCCESS on exact head; base main 7a8d76e unchanged; threads resolved. Carries the #12466 test_stub.rs arity fix plus a blob-pinned base-matcher recovery. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWqsvjZBKy1hNR8gY2
|
Delivered via #12496 (squash Generated by Claude Code |
Extend RIPR-SPEC-0360 loop-accumulator shape recognition to `count += line.split_whitespace().count()` over `&[&str]`, so `grid-loop-table` maps to `return_value` and table pins credit like bare accumulator updates. Proof: integration test `a_word_count_table_pins_the_split_whitespace_accumulator_update`, unit test `word_count_with_split_whitespace_count_is_an_accumulator`, corpus row and missed-credit ledger update, cache schema 1.138. Does not fix the unrelated `rust_test_stub` arity break on main (#12466). Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>
… the main-break fix (#12230) The re-bless turned 18 owner_return_pin_json_* golden files into static_unknown while the binary at that head still emits main's values; restore main's expected files. Take rust_test_stub's package_root as in #12466 (Some(root)) so the cfg-gated parent check applies and this branch merges cleanly with that fix. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmpsNgQecNbZm8AXS3m
Extend RIPR-SPEC-0360 loop-accumulator shape recognition to `count += line.split_whitespace().count()` over `&[&str]`, so `grid-loop-table` maps to `return_value` and table pins credit like bare accumulator updates. Proof: integration test `a_word_count_table_pins_the_split_whitespace_accumulator_update`, unit test `word_count_with_split_whitespace_count_is_an_accumulator`, corpus row and missed-credit ledger update, cache schema 1.138. Does not fix the unrelated `rust_test_stub` arity break on main (#12466). Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>
…cate-boundary no oracle (#12434) (#12464) * fix(repair): a test pinning another function lends a predicate boundary no oracle The #12132 refusal applied to match arms only. Extend the credited view to predicate_boundary seams so a proximity test whose assertion pins another indexed function publishes oracle none and credits no stage. Unit test pins both the refused and the owner+other cases. The committed proximity report needs regenerating from a built binary. Refs #12434. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmp1dk37XMDiDt4z11j * generated: recapture rust-repo-exposure-proximity-other-function.json for #12434 Output of ripr check --mode draft --format repo-exposure-json on repo-exposure-subjects/proximity-other-function, built from cc41587 plus the #12466 rust_test_stub arity fix (main did not compile without it). Only the consume wait < 5 row moved: reduce_over strong -> none, class activation_unknown -> reachable_unrevealed. Not hand-edited. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmxFdsEBaQ96Ruf9oV * test(corpus): pin the wait < 5 boundary as no oracle from a proximity test (#12434) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmxFdsEBaQ96Ruf9oV * fix(repair): gate the predicate-boundary other-function refusal on an established owner path The refusal moved owner_self_body_same_name_with_caller_control and rust_slice_table_try_exit from activation_unknown to reachable_unrevealed (rule 4 beats rule 6) with no test seen calling the owner, dropping the activation item from their human output. Refuse only when a related test establishes reach; read the gate from the complete relation set at all three call sites. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmp1dk37XMDiDt4z11j * test(goldens): re-bless rust_slice_table_try_exit after the predicate-boundary other-function refusal (#12434) Generated by 'cargo xtask goldens bless' on 901b710. The related test mean_lies_between_min_and_max runs mean_latency but asserts nothing; the oracles of tests that assert on average, initial and discount no longer lend credit to the boundary, so the repair-start 'still missing' list no longer names a reaching input. Only the human.txt line and the bless CHANGELOG entry change; check.json and human-full.txt are unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmp1dk37XMDiDt4z11j * test(oracles): recapture the adapter-fed-error report under the reach-gated refusal (#12434) The report was captured before the refusal that stops a test's oracle crediting another function's boundary seam. Recapturing with 'ripr check --mode draft --format repo-exposure-json' moves only downward: parse_pinned's predicate_boundary seam goes discriminate yes to weak and propagate yes to unknown, and masked_odd/pinned_even lose strong credit on the other function's seam. The case's own grip assertions (Err(Fault::Odd) weakly_gripped, Err(Fault::Even) strongly_gripped) hold. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * test(oracles): recapture the adapter-fed-error report at cache 1.139 (#12434) The main merge hand-changed source_subject cache_schema_version to 1.139 in this report without recomputing its content_sha256, so the stamp no longer verified. Recaptured with 'ripr check --mode draft --format repo-exposure-json' from a ripr built at f59e3f1. Seams, grip classes and related tests are unchanged from the previous capture; only the analyzer identity, timestamp, root and digest differ. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
…eature (#12230) (#12368) * fix(facts): credit a doctest on an item gated by a default-on cargo feature (#12230) Resolve cfg(feature = "..") against the package's default feature closure so rust-hex-style alloc/std gated doctests register again; negations, non-default features, target and custom cfg values, and cfg_attr still refuse (#8639). Restores the pilot-ranking pick dropped by #12029 (#12262). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmpsNgQecNbZm8AXS3m * fix(facts): default-feature walk terminates when a feature list names default (#12230) Separate the visited set from the credited feature names so default = ["default"] and cycles through default end; add direct and through-default controls. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmpsNgQecNbZm8AXS3m * fix(facts): credit an undeclared default feature only as an optional dependency's implicit feature; bump cache generations (#12230) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmpsNgQecNbZm8AXS3m * fix(facts): read default features from committed manifest overlay (#12230, #12368) Rebase onto main kept 1.137/0.139 cache generations after #12266 landed 1.136/0.138. Restore analyzed_manifest so feature gates follow analyzed sources, add overlay regression test, and re-chain unchanged-after-attempt fixture hashes. Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com> * fix(app): pass package_root to rust_test_stub in local seam helper Main added a package_root parameter to rust_test_stub; the local expression helper still used the old arity and blocked compilation during rebase precommit. Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com> * chore(goldens): re-bless owner_return_pin JSON fixtures after #10162 main merge Precommit goldens check (triggered by #12230 verdict-corpus delta) found stale expectations on rebased main. Re-bless with RIPR-SPEC-0240 rationale. Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com> * fix(cache): pin the 1.138 cache generation in docs, currentness constants and the chained fixtures; restore the overlay-manifest traceability entry (#12230) The main merge took cache 1.137 for #10162, so this change moves to 1.138 / 0.140. The unchanged-after-attempt fixtures are regenerated from ripr check output at 1.138 and their receipt chain re-computed. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmpsNgQecNbZm8AXS3m * fix: restore main's owner_return_pin goldens and align test_stub with the main-break fix (#12230) The re-bless turned 18 owner_return_pin_json_* golden files into static_unknown while the binary at that head still emits main's values; restore main's expected files. Take rust_test_stub's package_root as in #12466 (Some(root)) so the cfg-gated parent check applies and this branch merges cleanly with that fix. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmpsNgQecNbZm8AXS3m * fix(facts): credit a declared default feature and a plain name/feature dependency enable (#12230) A declared `default` feature is enabled in a plain cargo test, and a plain `name/feature` entry in the default closure enables the optional dependency `name`, so its implicit feature is on. Both only add credit where Cargo enables the feature; `dep:name` and the weak `name?/feature` still add nothing. RIPR-SPEC-0279 states the rule and the negative controls pin it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmpsNgQecNbZm8AXS3m * fix(facts): credit a doctest on an item gated by a default-on cargo feature (#12230) Resolve cfg(feature = "..") against the package's default feature closure so rust-hex-style alloc/std gated doctests register again; negations, non-default features, target and custom cfg values, and cfg_attr still refuse (#8639). Restores the pilot-ranking pick dropped by #12029 (#12262). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmpsNgQecNbZm8AXS3m * fix(facts): default-feature walk terminates when a feature list names default (#12230) Separate the visited set from the credited feature names so default = ["default"] and cycles through default end; add direct and through-default controls. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmpsNgQecNbZm8AXS3m * fix(facts): credit an undeclared default feature only as an optional dependency's implicit feature; bump cache generations (#12230) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmpsNgQecNbZm8AXS3m * fix(facts): read default features from committed manifest overlay (#12230, #12368) Rebase onto main kept 1.137/0.139 cache generations after #12266 landed 1.136/0.138. Restore analyzed_manifest so feature gates follow analyzed sources, add overlay regression test, and re-chain unchanged-after-attempt fixture hashes. Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com> * chore(goldens): re-bless owner_return_pin JSON fixtures after #10162 main merge Precommit goldens check (triggered by #12230 verdict-corpus delta) found stale expectations on rebased main. Re-bless with RIPR-SPEC-0240 rationale. Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com> * fix: restore main's owner_return_pin goldens and align test_stub with the main-break fix (#12230) The re-bless turned 18 owner_return_pin_json_* golden files into static_unknown while the binary at that head still emits main's values; restore main's expected files. Take rust_test_stub's package_root as in #12466 (Some(root)) so the cfg-gated parent check applies and this branch merges cleanly with that fix. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmpsNgQecNbZm8AXS3m * fix(facts): credit a declared default feature and a plain name/feature dependency enable (#12230) A declared `default` feature is enabled in a plain cargo test, and a plain `name/feature` entry in the default closure enables the optional dependency `name`, so its implicit feature is on. Both only add credit where Cargo enables the feature; `dep:name` and the weak `name?/feature` still add nothing. RIPR-SPEC-0279 states the rule and the negative controls pin it. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmpsNgQecNbZm8AXS3m * fix(cache): bump default-feature doctest cache to 1.139 / 0.141 on rebased main Re-chained unchanged-after-attempt fixtures and aligned currentness docs after rebasing onto main (#12359 at 1.138). Restores overlay-manifest traceability for RIPR-SPEC-0279 (#12230). Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com> * fix(fixtures): recompute the content commitment of the two honesty-corpus reports bumped to 1.139 (#12230) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmpsNgQecNbZm8AXS3m --------- Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>
|
Closing the loop on the deadlock analysis above: no admin override was needed. Main healed through the normal flow. PR #12496 (9896777) carried the same arity repair as this PR, and current main tip builds the fixed call site. This PR stays closed as superseded; the base-matcher harness question (fail-open on uncompilable base vs keep fail-closed) remains open as a design decision for the owning lane, to be revisited with evidence rather than under red-main pressure. |
…dvances #6889) (#12499) AVA failWithoutAssertions, thenable reject aliasing, describe/loop import shadow, sibling enclosing writes, and describe-name collection for await/alias/timeout/test.describe. Keep fail-closed for unrecognized forms. Pin absolute test_dir over-withhold. Item 1 (destructured/computed globals) already landed on main. Does not close: setupFiles/runner plugins and neutrally named colocated helpers remain one-file-scan limits; hand-built TypeScriptTest Unresolved defaults stay test-fixture honesty, not producer-safety. Proof: cargo test -p ripr --lib analysis::language::typescript::admission_tests (6 passed; local rust_test_stub arity workaround not committed, #12466); cargo xtask precommit pass including clippy -p ripr --all-targets. Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>
… builds The User-text goldens step builds xtask in a worktree of broken main, so the fix itself was red. Mirror the #12466 recovery: patch only format.rs blob 5c223a5 to cf05a4c in the base tree; a no-op once main is fixed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLTWR4MCPGikAqixMcg
…13848) * fix(output): classify missed-txt in is_json_request so main compiles #13666 added OutputFormat::MissedTxt while #13720 added the exhaustive is_json_request match; their merge left the new variant uncovered (E0004). missed-txt is a plain-text format, so it is not a JSON request. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLTWR4MCPGikAqixMcg * ci: recover the pinned base missed-txt blob so the merge-base matcher builds The User-text goldens step builds xtask in a worktree of broken main, so the fix itself was red. Mirror the #12466 recovery: patch only format.rs blob 5c223a5 to cf05a4c in the base tree; a no-op once main is fixed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLTWR4MCPGikAqixMcg --------- Co-authored-by: Claude <noreply@anthropic.com>
Main does not compile:
crates/ripr/src/app/test_stub.rs:1160callsrust_test_stubwith three arguments, but #12357 added a fourth (package_root) while #12322 added this call. Seen as E0061 in the wheel-build job on #12464.Fix: thread
rootintoreturn_value_direct_at_probe_lineand passSome(root), matching the other call site.Governing issue or accepted claim: #8444
Acceptance delta (one sentence): Main builds again with the probe-line return_value stub applying the cfg-gated parent check.
Not built locally (no cargo here); hosted CI is the proof.
Generated by Claude Code