Repository navigation
fix(repair): name the stub route when only the owner call is missing - #11927
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVdGzVRdKSJ5BS2kgG3bNK
|
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 10 minutes. View limit details
|
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVdGzVRdKSJ5BS2kgG3bNK
|
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.
Independent review (fresh-context reviewer, head c032878): REVIEW_INCOMPLETE
Inspected:
- PR #11927 (open, not draft,
merge-readyapplied 2026-10-31T22:22:48Z), headc03287896dfdd518cb1b281643119fd2343cb2f6, basefa621a32eaf4c3dc6c17119021ea943641696aef. 2 files, +44/-5. - Governing issue #11895 (open, "repair: dogfood round 2 dead ends"), which is a sampling round rather than a single acceptance; item 1 of it is the same class of dead end this PR addresses (a refusal that lists missing evidence and names no route while
ripr agent repairnames the stub). The premise still holds at this base:owner_call_gap_covered_by_stubalready dropped the activation fact from the missing list, but the route was only taken when the module blocker had been routed, so an activation-only remainder produced a route-less refusal. - Semantic owner:
route_not_ready_reasonincrates/ripr/src/app/task_first.rs:389-520. The change is one new predicate,stub_supplies_rest(:417), consumed by two arms — the predicate boundary route[] => stub_supplies_rest(:438) and the return/error stub kind[] if stub_supplies_rest(:474). The underlying fact comes fromowner_call_gap_covered_by_stub(:627-646), which returns the remaining missing list only when no related test carriesRelationReason::DirectOwnerCalland the activation item was present. No analysis, classification, eligibility or actionability code is touched: the diff changes refusal reason text only, so the shared "repair route not ready" label and the readiness list (the fields RIPR-SPEC-0122:572-579 and RIPR-SPEC-0217:141-147 rely on) are unchanged, as the PR body states. - Correctness of the widening, read against the owner:
stub_supplies_restis consulted only where the remaining list is empty, and the remaining list is empty only when the activation fact was the sole missing fact. That keeps the route fail-closed in the way the product contract requires — the boundary discriminator fact is known (it would otherwise still be in the missing list), and the stub's own first line is the owner call that supplies the missing input, which is the premise the predecessor rule already rested on (:622-626). A second missing fact keeps the route out, and the new test pins that in two ways (a propagation gap and a safe-test-target gap). - Oracle strength of the new test
owner_call_gap_alone_names_the_predicate_stub_route(task_first.rs:3967-3996): it drives the productionroute_not_ready_reasonand asserts the predicate route text (--at src/pricing.rs:88 --kind predicate), then three negatives — a directly calling related test (the gap stands), a second missing fact, and the safe-test-target fact — each of which must not nameripr agent stub. Those negatives are discriminating: an implementation that dropped the "no direct owner call" condition, or that routed on any empty remainder, would fail them. - Repo conventions:
changelog.d/repair-owner-call-gap-names-stub-route-11895.mdadds a<!-- section: Fixed -->fragment. No spec update is owed and I checked that rather than assuming it: no file underdocs/specs/references #11466 or #11895 (code search over the default branch returns zero hits for both), so neither the predecessor rule nor this widening is pinned in a spec, and the refusal label the specs do reference is unchanged. - Hosted evidence for head
c032878: the "Rust-only feature lane" (run 41247921739, 22:22:48Z) is green on this exact head, and "Ripr Rust Small on GitHub Hosted / Rust gates" (run 41247921746) completed success. The sharded test lane is not green: "Ripr Rust Small tests on GitHub Hosted / Rust tests shard 1 of 4" (job 124680905744) concluded failure, with shards 2-4 still running when this review was written, and the required contextRipr Rust Small Resulthad not reported. - The shard failure is inherited, not a candidate defect. From the shard log the single failure is
analysis::language::python::guard_activation::tests::compare_literal_values_fails_open_on_undecoded_literals, panicking atcrates/ripr/src/analysis/language/python/guard_activation.rs:1436("0 passed; 1 failed; 16836 filtered out"). I confirmed the same test red at the base independently from the base job's log (run 41243698892, job 124662661026, "rust-tests-junit", concluded failure atfa621a32, failing exactly that test at exactly that line). This PR touches onlycrates/ripr/src/app/task_first.rsand a changelog fragment — no Python module — so the red cannot originate here.
Blocking:
- Half of the changed behavior has no discriminator. The change has two arms, and the new test exercises only the predicate one:
gate_entrybuilds aSeamKind::PredicateBoundaryseam (task_first.rs:3419-3430), so themanual_stub_kindarm at :474 — the one that now names--kind return_valueand--kind error_pathwhen the owner-call gap was the only missing fact — is never reached by the new test, and the existing coverage of those kinds (task_first.rs:4080-4102) reaches them through the module-blocker path (new_test_target.blocker = NoTestModule, i.e.adds_module), not through the owner-call gap. The consequence is concrete: an implementation that changed :438 and left :474 at[] if adds_modulewould pass the whole suite, while the PR body explicitly claims the change covers "the predicate stub and the return/error stubs". A ReturnValue or ErrorVariant seam whose only missing fact is the activation stage is the case that needs its own assertion. - Hosted proof is not established for this head. The sharded required test lane is red (shard 1 of 4 failed) and shards 2-4 were still running at review time. The failure itself is the inherited base red described above and is not attributable to this candidate, but a required lane that is red — inherited or not — leaves the head without a green required receipt.
Non-blocking:
- The new test is not registered in
.ripr/traceability.tomlnor in a.ripr/traceability.d/slice. Other tests in the same module are registered (for exampledecide_zero_visible_seams_yields_setup_outcome), so the practice in this module is mixed rather than absent — the immediate siblingboundary_only_not_ready_names_the_stub_routeis also unregistered. I could not establish whatcargo xtask check-traceabilityrequires (the xtask entry describes it only as "Checks traceability references"), so I am not calling this a violation; recording it so the decision is explicit rather than implied. stub_supplies_rest(:417) reads as though it described what the stub supplies, while it is really "the owner-call gap was the only missing fact" — the remainder it gates is empty by construction. A name closer to the gated condition would make the two call sites easier to read.- The end-to-end receipt is good and worth keeping: the dogfooded humantime run (
src/duration.rs:397) shows the refusal namingripr agent stub --kind predicateon a real repository. There is no fixture or honesty-corpus case for this path, so the unit test is the only automated evidence — which is what makes item 1 above worth closing.
Not run:
- The Rust toolchain on this host is not on
PATH, so I could not runcargo test -p ripr --lib app::task_first,cargo clippy,cargo xtask check-user-text,cargo xtask check-traceabilityor any other repo-native gate. The PR body's "55 pass", clippy andcheck-user-textresults are the author's; I did not reproduce them. My conclusions about the routing come from readingtask_first.rsat headc032878, including the fixture's seam kind (:3422) and the existing return/error coverage (:4080-4102). - The hosted shard lane had not finished when this review was written, so shards 2-4 and the required
Ripr Rust Small Resultcontext are unobserved rather than green.
Reviewed by an independent Mavis review agent on behalf of the maintainer; bound to head c03287896dfdd518cb1b281643119fd2343cb2f6. Not an approval.
There was a problem hiding this comment.
Independent review (fresh-context reviewer, head 88ccdae): REVIEW_INCOMPLETE
This is a re-bind to a moved head. The head move was a merge of the base branch into this branch and the candidate's proposed content did not change, so this review states what moved, carries the earlier findings forward, and records the hosted state at the new head rather than re-deriving a review of unchanged code.
Inspected:
- What moved, and what did not. The candidate's proposed content is byte-identical to the earlier reviewed head, measured as the blob SHA of every path in
compare/<base>...<prev>againstcompare/<base>...<head>with the current basea5c3ba469928c276a115c54c6f03c44cfd82e304. Every path in the contribution classifies as UNCHANGED: none was added, removed or edited by the delta. The one new commit is88ccdaeb7Merge remote-tracking branch 'origin/main' into claude/stub-route-owner-gap-only, a merge of the base branch into this branch. The production surface under review is therefore exactly the surface the earlier independent review read, and the earlier findings are carried forward rather than re-derived. - The hosted state at this head. The routed
Ripr Rust Small on GitHub Hosted / Rust gatesjob is stillin_progressin theMerge-ready requestrun, theRust tests shard N of 4jobs have not yet been created, and the requiredRipr Rust Small Resultcontext (the only required status check onmain) has therefore not been decided at this head.Route Ripr Rust Small,Admit PR CandidateandDetect Docs-Only Surfacearesuccess; theCIworkflow run, theWindows Advisoryrun and theQualify ripr-rs Python Wheel (read-only)run are all stillin_progressat this head, andMerge-ready Conflict Noticeissuccess. - The earlier independent review bound to
c032878(REPAIR_REQUIRED) remains the substantive review of this change. This review re-binds to the moved head, states which of its findings still hold, and records what the new head adds. - The contribution itself is
changelog.d/repair-owner-call-gap-names-stub-route-11895.mdandcrates/ripr/src/app/task_first.rs, and the merge state at this head is MERGEABLE / BLOCKED.
Blocking:
- Half of the changed behavior still has no discriminator, and the delta did not touch it. The change has two arms, and the new test exercises only the predicate one:
gate_entrybuilds aSeamKind::PredicateBoundaryseam (task_first.rs:3419-3430), so themanual_stub_kindarm at:474- the one that now names--kind return_valueand--kind error_pathwhen the owner-call gap was the only missing fact - is never reached by the new test. The existing coverage of those kinds (task_first.rs:4080-4102) reaches them through the module-blocker path (new_test_target.blocker = NoTestModule, that isadds_module), not through the owner-call gap. The consequence is concrete: an implementation that changed:438and left:474at[] if adds_modulewould pass the whole suite, while the pull request body explicitly claims the change covers "the predicate stub and the return/error stubs". AReturnValueorErrorVariantseam whose only missing fact is the activation stage is the case that needs its own assertion. - One landing-readiness item, not a candidate defect: the branch is
MERGEABLEbutBLOCKED, with the requiredRipr Rust Small Resultcontext undecided at this head.
Non-blocking:
- The other earlier non-blocking findings still hold, because neither changed file moved. (1) The new test is not registered in
.ripr/traceability.tomlnor in a.ripr/traceability.d/slice, while other tests in the same module are registered and the immediate siblingboundary_only_not_ready_names_the_stub_routeis also unregistered - the practice in this module is mixed rather than absent, and I could not establish whatcargo xtask check-traceabilityrequires, so I am not calling it a violation; recording it so the decision is explicit rather than implied. (2)stub_supplies_rest(:417) reads as though it described what the stub supplies, while it is really "the owner-call gap was the only missing fact" - the remainder it gates is empty by construction - so a name closer to the gated condition would make the two call sites easier to read. (3) The end-to-end receipt is good and worth keeping: the dogfooded humantime run (src/duration.rs:397) shows the refusal namingripr agent stub --kind predicateon a real repository, but there is no fixture or honesty-corpus case for this path, so the unit test is the only automated evidence - which is what makes the missing discriminator above worth closing. - On efficiency: the change alters which stub kinds a refusal message names; it does not add work to any path. The
manual_stub_kindarm at:474is a match over a small closed set of seam kinds evaluated once per refusal, and the refusal path runs once per decision rather than per file, so there is no per-item multiplication and no newly-reachable waste. Thestub_supplies_restnaming point is the one that could mislead a future reader into thinking the stub does work proportional to the remainder, which it does not - the remainder is empty by construction - so the naming fix also removes a misleading efficiency implication.
Not run:
- The Rust toolchain on this host is not on
PATH: I ran no test, clippy, fmt, orcargo xtaskgate. Every gate result above is a hosted job log read at this exact head, with the newest-run-wins rule applied. - The required hosted Rust qualification has not concluded at this head, so the exact-head workspace test result is unobserved rather than green.
- I did not run a combined-tree compile of the merged base and head, and I did not reproduce any local gate result the pull request body claims.
Reviewed by an independent Mavis review agent on behalf of the maintainer; bound to head 88ccdaeb7f5a6744d2c6a457c6b0447633fc1a3d. Not an approval.
There was a problem hiding this comment.
Independent review (fresh-context reviewer, head 88ccdae): REPAIR_REQUIRED
This is a re-bind to a moved head. The head move was a merge of the base branch into this branch and the candidate's proposed content did not change, so this review states what moved, carries the earlier findings forward, and records the hosted state at the new head rather than re-deriving a review of unchanged code.
Inspected:
- What moved, and what did not. The candidate's proposed content is byte-identical to the earlier reviewed head, measured as the blob SHA of every path in
compare/<base>...<prev>againstcompare/<base>...<head>with the current basea5c3ba469928c276a115c54c6f03c44cfd82e304. Every path in the contribution classifies as UNCHANGED: none was added, removed or edited by the delta. The one new commit is88ccdaeb7Merge remote-tracking branch 'origin/main' into claude/stub-route-owner-gap-only, a merge of the base branch into this branch. The production surface under review is therefore exactly the surface the earlier independent review read, and the earlier findings are carried forward rather than re-derived. - The hosted state at this head. The routed
Ripr Rust Small on GitHub Hosted / Rust gatesjob is stillin_progressin theMerge-ready requestrun, theRust tests shard N of 4jobs have not yet been created, and the requiredRipr Rust Small Resultcontext (the only required status check onmain) has therefore not been decided at this head.Route Ripr Rust Small,Admit PR CandidateandDetect Docs-Only Surfacearesuccess; theCIworkflow run, theWindows Advisoryrun and theQualify ripr-rs Python Wheel (read-only)run are all stillin_progressat this head, andMerge-ready Conflict Noticeissuccess. - The earlier independent review bound to
c032878was labelledREVIEW_INCOMPLETE, while its ownBlocking:section named two blocking items: themanual_stub_kindarm having no discriminator, and unestablished hosted proof. The first of those still stands in the same form - the delta did not touch the file - so this review re-binds with it still blocking and corrects the label toREPAIR_REQUIRED. The second is partly settled by the evidence at this head and remains partly open. - The contribution itself is
changelog.d/repair-owner-call-gap-names-stub-route-11895.mdandcrates/ripr/src/app/task_first.rs, and the merge state at this head is MERGEABLE / BLOCKED.
Blocking:
- Half of the changed behavior still has no discriminator, and the delta did not touch it. The change has two arms, and the new test exercises only the predicate one:
gate_entrybuilds aSeamKind::PredicateBoundaryseam (task_first.rs:3419-3430), so themanual_stub_kindarm at:474- the one that now names--kind return_valueand--kind error_pathwhen the owner-call gap was the only missing fact - is never reached by the new test. The existing coverage of those kinds (task_first.rs:4080-4102) reaches them through the module-blocker path (new_test_target.blocker = NoTestModule, that isadds_module), not through the owner-call gap. The consequence is concrete: an implementation that changed:438and left:474at[] if adds_modulewould pass the whole suite, while the pull request body explicitly claims the change covers "the predicate stub and the return/error stubs". AReturnValueorErrorVariantseam whose only missing fact is the activation stage is the case that needs its own assertion. - One landing-readiness item, not a candidate defect: the branch is
MERGEABLEbutBLOCKED, with the requiredRipr Rust Small Resultcontext undecided at this head.
Non-blocking:
- The other earlier non-blocking findings still hold, because neither changed file moved. (1) The new test is not registered in
.ripr/traceability.tomlnor in a.ripr/traceability.d/slice, while other tests in the same module are registered and the immediate siblingboundary_only_not_ready_names_the_stub_routeis also unregistered - the practice in this module is mixed rather than absent, and I could not establish whatcargo xtask check-traceabilityrequires, so I am not calling it a violation; recording it so the decision is explicit rather than implied. (2)stub_supplies_rest(:417) reads as though it described what the stub supplies, while it is really "the owner-call gap was the only missing fact" - the remainder it gates is empty by construction - so a name closer to the gated condition would make the two call sites easier to read. (3) The end-to-end receipt is good and worth keeping: the dogfooded humantime run (src/duration.rs:397) shows the refusal namingripr agent stub --kind predicateon a real repository, but there is no fixture or honesty-corpus case for this path, so the unit test is the only automated evidence - which is what makes the missing discriminator above worth closing. - On efficiency: the change alters which stub kinds a refusal message names; it does not add work to any path. The
manual_stub_kindarm at:474is a match over a small closed set of seam kinds evaluated once per refusal, and the refusal path runs once per decision rather than per file, so there is no per-item multiplication and no newly-reachable waste. Thestub_supplies_restnaming point is the one that could mislead a future reader into thinking the stub does work proportional to the remainder, which it does not - the remainder is empty by construction - so the naming fix also removes a misleading efficiency implication.
Not run:
- The Rust toolchain on this host is not on
PATH: I ran no test, clippy, fmt, orcargo xtaskgate. Every gate result above is a hosted job log read at this exact head, with the newest-run-wins rule applied. - The required hosted Rust qualification has not concluded at this head, so the exact-head workspace test result is unobserved rather than green.
- I did not run a combined-tree compile of the merged base and head, and I did not reproduce any local gate result the pull request body claims.
Reviewed by an independent Mavis review agent on behalf of the maintainer; bound to head 88ccdaeb7f5a6744d2c6a457c6b0447633fc1a3d. Not an approval.
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the PR's behavioral claim is broader than the added focused test.
- Confirm the change depends on the exact semantics of owner_call_gap_covered_by_stub to distinguish owner-call absence from direct callers and unrelated missing facts.
Parked follow-ups
- The implementation intentionally shares the empty-remainder condition with the manual return/error stub arm, so the change is broader than the newly tested predicate seam but remains within the stated stub-route behavior.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
- Execution of the claimed focused test is not established by an available receipt.
- Execution proof is incomplete at review time.
…gap route Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVdGzVRdKSJ5BS2kgG3bNK
There was a problem hiding this comment.
Reporter summary
No concrete changed-behavior defect was established: the empty-remainder match remains fail-closed, while direct callers and additional missing facts are covered by negative tests; broadening the same condition to return-value and error-path stubs matches the stated scope. All lanes found the main residual risk to be missing execution evidence: the late cargo-test receipt timed out after 900 seconds, ripr failed with exit code 2, and the claimed focused tests and clippy run remain independently unverified. The return/error test also comments on an unsupported-seam-kind negative that it does not explicitly assert, so the verdict is uncertain rather than clear.
There was a problem hiding this comment.
Independent review (fresh-context reviewer, head 7958ffb): REVIEW_INCOMPLETE
Inspected:
- Subject: PR #11927, head
7958ffb94edfefffdf44924d9f5747ab7d5be966, earlier reviewed head88ccdaeb7f5a6744d2c6a457c6b0447633fc1a3d, recorded basea5c3ba469928c276a115c54c6f03c44cfd82e304. Governed by issue #11895. 2 files. - What moved: one commit,
7958ffb9 test(repair): cover the return and error stub arms of the owner-call gap route, touching exactly one path -crates/ripr/src/app/task_first.rs(+60/-0, entirely inside thetestsmodule). The changelog fragmentchangelog.d/repair-owner-call-gap-names-stub-route-11895.mdis UNCHANGED. This is a real content change to the candidate's proposal, not a base move: the delta is test-only, and the production surface (route_not_ready_reasonand its helpers) is byte-identical to the earlier reviewed head. - Semantic owner:
route_not_ready_reasonincrates/ripr/src/app/task_first.rs-stub_supplies_rest(:417), theboundary_routematch (:434-440),manual_stub_kind(:472-480), thematches!guard (:481-488), the route text (:512-514),owner_call_gap_covered_by_stub(:627-646), plusstub_kind_for_missing_evidence(crates/ripr/src/analysis/repair_route.rs:299-309), the fixture buildersgate_entry(:3412-3449) andweak_related_test(:3451-3463).
Earlier findings re-bound:
- Earlier Blocking #1 ("Half of the changed behavior still has no discriminator... the
manual_stub_kindarm at:474is never reached by the new test") is REPAIRED. I traced the new test through the production path at THIS head rather than taking the commit message at its word:- The
retfixture isgate_entry(SeamGripClass::ActivationUnknown, Vec::new())withentry.seamreplaced by aRepoSeam::new("src/pricing.rs", "pricing::discounted_total", SeamKind::ReturnValue, 42, 88, "changed value", RequiredDiscriminator::ReturnValue{..}, ExpectedSink::ReturnValue).gate_entryleavesnew_test_target: None(:3444), so the module-blocker path is unavailable andadds_moduleis false. owner_call_gap_covered_by_stub(:627-646): no related test carriesrelation_reason == DirectOwnerCall, and the activation item is present, so it returnsSome([]).stub_supplies_rest(:417) is therefore true, andmissing_evidencebecomes[](:418).boundary_routeis true for[], but the predicate arm at :441 is gated onentry.seam.kind() == PredicateBoundary, so it does not fire for a ReturnValue seam.manual_stub_kind(:472-480) takes the[] if stub_supplies_restarm and mapsReturnValue => Some("return_value")(:475) andErrorVariant => Some("error_path")(:476); thematches!at :481-488 accepts exactly those two pairs, and the route text at :512-514 isripr agent stub{root_flag} --at {file}:{display_line} --kind {kind}withfile"src/pricing.rs" anddisplay_line88 - the same seam the sibling assertions pin as "src/pricing.rs:88" (:3759, :3848, :3944, :3975).
So the new test reaches exactly the arm the earlier review said had no discriminator, and it catches the mutation the earlier review named: with:474reverted to[] if adds_module,adds_moduleis false for this fixture,manual_stub_kindwould beNone, and the positive assertion would fail. Theerrfixture does the same for theErrorVariant/error_pathpair.
- The
- Earlier Blocking #2 (unestablished hosted proof) is partly settled: the new test has a hosted receipt at this head (below). It is not fully settled - the required lane is red - so the disposition stays short of
REVIEW_READY. - Earlier non-blocking #1 (the new test is not registered in
.ripr/traceability.toml) STILL HOLDS, and I can now state it more sharply:.ripr/traceability.tomlat this head has 108task_firstregistrations but zero for any*_stub_routetest, so the whole family - the new test, its predicate siblingowner_call_gap_alone_names_the_predicate_stub_routeandboundary_only_not_ready_names_the_stub_route- is unregistered.cargo xtask check-traceabilitydid not run at this head, so I still cannot establish what it requires and I am not calling this a violation; recording it so the decision is explicit. - Earlier non-blocking #2 (
stub_supplies_restat :417 reads as though it described what the stub supplies) STILL HOLDS; the delta did not touch that line. - Earlier non-blocking #3 (no fixture or honesty-corpus case for this path, so the unit test is the only automated evidence) STILL HOLDS; the delta adds more unit coverage, not a corpus case.
Blocking:
None proven in the source - the one blocking source defect is repaired. What stands between this candidate and REVIEW_READY is hosted proof: the required check Ripr Rust Small Result is red at this head, on a failure inherited from the base (attribution below), and the merge state is blocked as a consequence.
Non-blocking:
- The "extra missing fact" negative rests on a different mechanism than its comment says. The test comment reads "a second missing fact keeps the stub out", but in that fixture
stub_supplies_restis in fact TRUE (:417 -without_owner_gapisSome(["incomplete evidence stage: propagation"])) andmissing_evidenceis non-empty (:418). The stub stays out because the remaining item is not a producer discriminator, sostub_kind_for_missing_evidence(repair_route.rs:299-309) returnsNone- not because the route was closed. The asserted behaviour is right, and a future change that taughtstub_kind_for_missing_evidencethe propagation string would be caught by this test, which is good. The comment should describe the mechanism the test actually relies on. - The
directnegative does go through the intended mechanism:weak_related_test()(:3451-3463) carriesrelation_reason: DirectOwnerCall, soowner_call_gap_covered_by_stubreturnsNoneat its first check (:632-639),stub_supplies_reststays false, and the activation item survives intomissing_evidence, wherestub_kind_for_missing_evidencefinds no producer prefix. Worth stating explicitly because it is the difference between a discriminator and a tautology: the assertion would fail if the DirectOwnerCall short-circuit at :632-639 were removed. - The PR body's proof section is stale with respect to this delta. It lists "
cargo test -p ripr --lib app::task_first(55 pass), including a new test with direct-caller and extra-missing-fact negatives", which describes the predicate test from the earlier head, and it does not mention the return/error coverage the head adds. The body also claims "cargo clippy -p ripr --all-targets -- -D warningsandcargo xtask check-user-textpass"; at this head clippy never ran (CLIPPY_RESULT: skipped), so that claim has no hosted receipt here. - Hosted state at this head, newest run wins. Run 41254202822 ("CI") is failure: "Rust-only feature lane" (job 124693793699) failed at step 9 "Test --no-default-features --features lang-rust" - the
riprlib target reports12887 passed; 1 failed; 1 ignoredwith the single failurelsp::backend::list_actionable_items_tests::list_actionable_items_names_gaps_the_actionable_profile_hidesatcrates/ripr/src/lsp/backend.rs:12892, and thecli_smoketarget reports619 passed; 2 failed; vscode, source-identity, msrv, Perl and release proof and ci-result are skipped. The new test itself passed in that lane:test app::task_first::tests::owner_call_gap_alone_names_the_return_and_error_stub_routes ... ok(log line 8547), alongsideowner_call_gap_alone_names_the_predicate_stub_route ... ok(8546). Run 41254202792 ("Merge-ready request 7958ffb...") is failure: "Route Ripr Rust Small", "Detect Docs-Only Surface" and "Admit PR Candidate" are success; "Ripr Rust Small on GitHub Hosted / Rust gates" (job 124694073104) failed at step 16 "Repository policy preflight" withcheck-process-policyreporting that thecrates/ripr/src/output/first_pr/run_chain.rsallowlist entry foruse std::process::Commandis orphaned (max_count=1, pattern not found in any tracked file), withPROCESS_POLICY_RESULT: skippedandCLIPPY_RESULT: skipped; the requiredRipr Rust Small Result(124695286059) is failure, which is why the merge state isblocked; the sharded test lane and the CX lanes are skipped. "Security" (41254202907), "Printed Command Paste" (41254202735), "Merge-ready Conflict Notice" (41254203008), "Windows Advisory" (41254203164), "ub-review" (41254194306) and "Qualify ripr-rs Python Wheel (read-only)" (41254194322) are success; Coverage, Test Analytics, Future Clippy (advisory) and macOS Advisory are skipped. - Attribution for both red lanes: main-red, not this candidate, established by direct source comparison plus a base comparison. (a) The process-policy orphan: at the recorded base
a5c3ba46AND at this head,crates/ripr/src/output/first_pr/run_chain.rsis the same blob11076801f4(which importsuse std::process::Stdio;and never the literaluse std::process::Commandthe allowlist entry requires) and the allowlist fragmentpolicy/process_allowlist.d/11720-first-pr-run-chain.txtis the same blob63db01ce12; neither is in this two-file proposal, so the orphan pre-exists in the candidate's tree exactly as in the base tree. Main tipc5fa19fd9051f00a9195b37af9c78e5028b6982ffails the same gate with the identical message (job 124702518162). (b) The LSP ordering assertion and the twocli_smokefailures are outside this PR - it touches neithercrates/ripr/src/lsp/norcrates/ripr/tests/cli_smoke.rs. The base tree ata5c3ba46carriescrates/ripr/src/lsp/diagnostics.rsblobb29c3d37, but the tree CI tested is the head merged with main as of 2026-10-31T23:49, whosediagnostics.rsis blobeedf4d52(the #11796 union-findcanonical_group_members, which changed group ordering from string-key order to union-find root-index order); I confirmed the merge ref for this PR (9003128a2f069dcc3d5ac103ed2bb9927566abf8) carrieseedf4d52whilebackend.rsstays at5a98e4c3, whose test at:12892still asserts the old order[:98, :94]. Main pusha7431a52dfails the same test at the same place with the identical left/right flip and the same twocli_smokefailures at the same 619/2 counts (job 124698136286). This PR changes neither file. - Efficiency: the delta is test-only and adds no production work. The production path it covers -
manual_stub_kind(:472-480) - is a match over a small closed set of seam kinds evaluated once per refusal, and the refusal path runs once per repair decision rather than per file, so there is no per-item multiplication and no newly-reachable waste.owner_call_gap_covered_by_stub(:627-646) allocates oneVec<String>per call viakept; that allocation is pre-existing and unchanged. The new test itself builds a few smallVecs andStrings inside a test body that runs once. No new I/O, no subprocess, no cache, no unbounded growth. I did not profile, so this is a source-level statement, not a measurement.
Not run:
- The Rust toolchain on this host is not on
PATH: nocargo test, clippy, fmt orcargo xtaskgate was executed, and no local Rust receipt is claimed. Every Rust-level statement above comes from reading source at this head or at the base, or from hosted job logs at this head. - The required hosted Rust qualification is red rather than green at this head, so the exact-head workspace test result is a red lane inherited from the base, not a green receipt for the whole workspace. The changed test does have its own green line in the Rust-only feature lane, quoted above.
- The PR body's
cargo test -p ripr --lib app::task_firstcount, its clippy andcheck-user-textclaims, and the dogfooding receipt (humantimesrc/duration.rs:397) are the author's; I did not reproduce them, and no fixture or honesty-corpus case for this path exists to check against. - No combined-tree compile of the merged base and head.
Reviewed by an independent Mavis review agent on behalf of the maintainer; bound to head 7958ffb94edfefffdf44924d9f5747ab7d5be966. Not an approval.
|
Review of record, head 3c8af69. Disposition: REVIEW_READY (COMMENT on author PR). Inspected: full diff of app/task_first.rs plus tests and fragment. Semantic owner is Generated by Claude Code |
Governing issue or accepted claim: #11895
Acceptance delta (one sentence): A repair refusal whose only missing fact is a test input that reaches the owner (no test calls it directly) now names the
ripr agent stubroute, as it already does when the module or boundary fact is the only gap.What changed
route_not_ready_reasonalready drops the activation gap when no test calls the owner directly (the stub's own first line is that call), but then treated an empty remainder as routable only when the module blocker had been routed. It now treats an empty remainder from either source as routable, for the predicate stub and the return/error stubs. A direct caller or any second missing fact still keeps the route out. Refusal text only; class, eligibility and the fail-closed actionability flip are untouched.Found by dogfooding humantime
src/duration.rs:397(3 of 25 sampled):ripr repairended at "missing evidence: a test input that reaches the changed code" with no next step, whileripr agent repairalready named the stub.Proof
cargo test -p ripr --lib app::task_first(55 pass), including a new test with direct-caller and extra-missing-fact negatives.src/duration.rs:397now namesripr agent stub ... --kind predicate.cargo clippy -p ripr --all-targets -- -D warningsandcargo xtask check-user-textpass.Generated by Claude Code