Repository navigation
fix(repair): façade refusals name the ripr repair rerun (#14394) - #14422
Conversation
`ripr repair <id>` refused for uncommitted source told the developer to rerun `ripr agent repair ... --phase before`, the advanced route, not the command they typed. A façade start now names `ripr repair <id> --root <root>`; an explicit --store or the agent route keeps the agent spelling. The not-ignored build-directory detail also said "then rerun --phase before" right above a `next:` line naming the correct command. Every caller appends its own rerun, so the detail now names none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVdGzSKabm4amBSp3FtCH9
|
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 19 minutes. View limit details
Pre-merge checks:
|
…-8doc7v-repair-spelling
|
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 |
ripr static exposure checkCommit Took 44s. |
The uncommitted-constant case asserted the old agent-route `--seam-id` spelling in the dirty-source refusal; it now names `ripr repair <id> --root`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVdGzSKabm4amBSp3FtCH9
EffortlessSteven
left a comment
There was a problem hiding this comment.
VERDICT: APPROVE 901399d — no blocking findings on this head.
Refresh of my exact-head review at 44b2225 (the last head I reviewed). Movement since then: 901399d483 "test(repair): check/repair agreement reads the façade rerun" — 3 lines in crates/ripr/tests/check_repair_agree.rs, no product code.
What moved and why it is right. The uncommitted-constant case in check_repair_agree.rs asserted the old agent-route spelling --seam-id {id} in the dirty-source refusal. The test now asserts ripr repair {id} --root . I traced the production text rather than taking the commit message: before_phase_dirty_premise_refusal in crates/ripr/src/cli/commands/agent.rs builds ripr repair {seam_arg} --root {root_arg} when facade_start && store.is_none(), and falls back to ripr agent repair --root … --seam-id … --phase before otherwise. The test invokes repo.ripr(&["repair", "--root", "."]), which is the façade route with no store, so the asserted spelling is the one the code emits. The trailing space in the assertion matches the --root . argument that follows.
Test-only claim holds. The delta touches one integration test file and nothing else; no production behavior, output contract or fixture changed. The assertion is also stricter than before in the useful direction: it now pins that the refusal names the command the user actually typed, which is the #14394 defect.
Unaffected evidence kept from the 44b2225 review (the delta is one test file): the façade refusal names the rerun, the check/repair agreement assertions still hold, and the change is confined to the test's expected string.
Checks at this head. Ripr Rust Small Result success (all four shards plus the gates job), Admit PR Candidate, Route Ripr Rust Small and Detect Docs-Only Surface success. Only cargo-deny is red, the known repo-wide rustix advisory that is not a required check. 0 unresolved review threads.
Not established. I did not run check_repair_agree for this delta; the match between the assertion and the production string is established by reading both at this head, not by execution.
Read-only: no checkout, branch or worktree created; the repository was read through git show/git diff and the API.
EffortlessSteven
left a comment
There was a problem hiding this comment.
REVIEW_READY
VERDICT: APPROVE 901399d — no blocking findings on this head.
Repair: the prior verdict-only review carried no admission marker, so the merge-queue eligibility recheck would refuse this entry. This review restores the marker at the same head.
Requested by Steven · project thread
Governing issue or accepted claim: #14394
Acceptance delta (one sentence): a
ripr repair <id>refusal that asks for a restart namesripr repair <id> --root <root>, the command the developer typed, and the not-ignored build-directory refusal no longer says "then rerun --phase before" beside itsnext:line.Source review: REVIEW_READY 901399d
Head 901399d: clean merge of main 3cd01df into reviewed 661538a, plus a one-assertion test update in
check_repair_agree.rs; the hosted Rust-only feature lane showed that test still pinned the old--seam-idspelling. Rerun: focused lib tests plusroot_tests28 passed;check_repair_agree(lang-rust only) 26 passed.What changed
AgentRepairOptionsgainsfacade_start, set only by theripr repair <item>façade's before phase.before_phase_dirty_premise_refusalnames the façade rerun for a façade start without a store;ripr agent repairand--storekeep the agent spelling.NotIgnoredbuild-output detail (edit_cage) drops "then rerun --phase before". All three consumers (build_output_precondition_refusal, the shared-write recheck incli/mod.rs, the agent admission) already append their own correct rerun.Found by walking the repair loop as a developer: following the dirty-premise advice led to an agent-route command, then a refusal whose detail and
next:line disagreed.Proof
dirty_premise,build_ignore_precondition,build_output_refusal,without_start_recipe): 11 passed.ripr repair <id> --root …, noripr agent repair, no--phase before; its stored-path case pins the agent spelling. The edit-cage git-fixture test now rejects any rerun/phase wording in the detail. Both fail on the old code.cargo xtask precommitpassed on this head.AgentRepairOptionsconstructions checked; façade rerun resolves a seam id; every detail consumer still names a rerun). Optional gap noted: no end-to-end façade run withfacade_start: true.https://claude.ai/code/session_01YVdGzSKabm4amBSp3FtCH9
Generated by Claude Code