Repository navigation
fix(cli): name the recovery for a finding no seam binds to instead of routing back to the gate (#9244 S2) - #10322
Conversation
… routing back to the gate (#9244 S2) `ripr check` answered a finding with no binding seam with "run `ripr repair <id>` for the full gate's answer", which resolves through the same seams and repeats the refusal. The advisory now says ripr found no seam in the finding's file to bind it to, so there is no seam to start a repair from, and points at the Next step. The classification-failed refusal now says the gate may print the underlying error. The four hand-captured discarded-matcher reports compare only the advisory slot, so their capture bytes stay untouched. Slice S2 of the 9244 items 2-4 split plan. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AoDuBssWGcMdCq1nXZbDsG
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Important Review skippedToo many files! This PR contains 346 files, which is 196 over the limit of 150. To get a review, reduce the PR to 150 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to Team to raise the limit. Usage-priced reviews support at most 300 files.
|
…erified gate claim (#9244) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AoDuBssWGcMdCq1nXZbDsG
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
…cher capture comparison (#9244) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AoDuBssWGcMdCq1nXZbDsG
|
|
There was a problem hiding this comment.
Refuted
- The tests only check reachability and could accept the old gate-routing recovery or a fabricated advisory.; refuted because: The unit test compares the complete new sentence and rejects both prohibited routing phrases; committed human goldens independently contain the same recovery text, while the Python journey rejects the generic refusal.
- The NoBindingSeam wording change may have required sibling advice arms or machine-readable refusal-value changes to remain consistent.; refuted because: The diff changes only the advisory text arm; JSON values remain untouched, and the PR body explicitly scopes this to static vocabulary. Other advice arms are intentionally unchanged (SeveralBindingSeams), so no sibling arm needs the same replacement.
- The change should live in a separate output path or alter the selector to list candidate seams.; refuted because: The defect is an advisory-message routing loop, and RepairRouteRefusal::advisory is the shared owner of refusal wording. SeveralBindingSeams is deliberately unchanged because check binding and repair selector matching are not verifiably equivalent, so expanding that promise would exceed the slice.
- Rewording a refusal could create an unsafe or actionable repair route by exposing or suppressing a command.; refuted because: NoBindingSeam removes rather than adds a runnable repair command and points to an already displayed Next step; several-binding-seam behavior is unchanged.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
- The changed source and assertions depend on Rust test and golden-check execution whose receipts are not present in this packet.
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the Python journey's negative check is a stale-pattern substitution risk: it rejects only the new generic phrase, so a regression to the historical generic refusal would not trigger this condition.
- Confirm the Next-step wording depends on every affected screen printing a Next block; fixture outputs show the block immediately precedes the advisory, but the broad 173-fixture set and installed Python journey are the relevant regression witnesses.
Refuted
- The changed advisory could introduce a memory-lifetime, aliasing, or unsafe-contract defect.; refuted because: The runtime change only constructs and returns owned String values; no references, raw pointers, unsafe blocks, or ownership relationships are altered.
- The diff changes JS-backed memory or worker/async capture semantics and therefore requires UB-specific handling.; refuted because: The changed Rust code produces static advisory strings and compares captured text; no JS runtime, worker handoff, GC, detach, transfer, allocation, or lifetime logic is changed.
- Changing NoBindingSeam requires sibling advice arms or machine JSON values to change.; refuted because: The PR scope changes static advisory vocabulary only; sibling refusal semantics are intentionally distinct, and the seeded PR body states machine JSON values are untouched.
- The change needs a separate output path or a seam-listing behavior to avoid an incomplete architectural fix.; refuted because: The defect is specifically the advisory's recursive gate-routing promise. NoBindingSeam is changed at the shared owner, and the intentionally conservative SeveralBindingSeams arm is outside this slice because check binding and repair-selector matching are not proven equivalent.
- NoBindingSeam now points to the existing Next step instead of issuing a repair/gate command that could loop; the wording contains no path, secret, or untrusted payload.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
- The Python journey assertion was updated to reject the new generic refusal, but the evidence packet does not yet contain the scheduled cargo-test receipt.
Governing issue or accepted claim: #9244 (item 2 of the #9033 list)
Acceptance delta (one sentence): a
ripr checkfinding that no seam binds to no longer shows a refusal whose only action is to run the gate that resolves through the same seams and refuses again; it states that ripr found no seam in the finding's file to bind it to and points at the Next step already printed.This is slice S2 of the split plan for #9244 items 2-4 (S1 landed as #10260). #9960 is merged and does not touch the
advisoryarms.Change
RepairRouteRefusal::NoBindingSeamadvisory: "ripr found no seam in this finding's file to bind it to, so there is no seam to start a repair from; follow the Next step above". Static vocabulary only; machine JSON values untouched.ClassificationFailednow says the gate "may print" the underlying error (the underlying error is not guaranteed).SeveralBindingSeamsis left as is. Theripr repairselector lists candidates when its own selector matches several seams, but the check pipeline's binding (finding_for_seam) is not verifiably the same match, so no seam-listing promise is made.Next:block and the Python screens also carrySafe next action:; rewording would force a second re-bless of the 194 S1 goldens for a marginal gain.installed_python_typescript_journeysnegative check follows the new generic text; changelog fragment added.discarded-matcher-reports/*/human.txtkeep their capture bytes:discarded_matches.rsnow compares only the advisory slot on both sides (blank_repair_advisory).Proof
repair_route_refusal_advisory_names_state_and_recovery: exact new NoBindingSeam wording with a negative assertion (noripr repair, no "full gate's answer"), Ineligible keeps its gate hint, ClassificationFailed "may print".fixtures/*/expected/human.txtblessed one at a time (cargo xtask goldens bless <fixture> --reason "RIPR-SPEC-0122: ...", plus the matchingCHANGELOG.mdentries, 346 files).cargo xtask goldens checkover all fixtures passes.cargo test -p ripr --test cli_smoke discardedpasses.cargo xtask precommitpasses.Generated by Claude Code