Skip to content

fix(repair): façade refusals name the ripr repair rerun (#14394) - #14422

Merged
EffortlessSteven merged 3 commits into
mainfrom
claude/project-thread-8doc7v-repair-spelling
Nov 12, 2026
Merged

EffortlessSteven merged 3 commits into
mainfrom
claude/project-thread-8doc7v-repair-spelling

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

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 names ripr repair <id> --root <root>, the command the developer typed, and the not-ignored build-directory refusal no longer says "then rerun --phase before" beside its next: 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-id spelling. Rerun: focused lib tests plus root_tests 28 passed; check_repair_agree (lang-rust only) 26 passed.

What changed

  • AgentRepairOptions gains facade_start, set only by the ripr repair <item> façade's before phase. before_phase_dirty_premise_refusal names the façade rerun for a façade start without a store; ripr agent repair and --store keep the agent spelling.
  • The NotIgnored build-output detail (edit_cage) drops "then rerun --phase before". All three consumers (build_output_precondition_refusal, the shared-write recheck in cli/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

  • Focused lib tests (dirty_premise, build_ignore_precondition, build_output_refusal, without_start_recipe): 11 passed.
  • New façade test asserts ripr repair <id> --root …, no ripr 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 precommit passed on this head.
  • Independent subagent review of the exact head: clean (all AgentRepairOptions constructions 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 with facade_start: true.

https://claude.ai/code/session_01YVdGzSKabm4amBSp3FtCH9


Generated by Claude Code

`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
@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 11, 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 19 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 145 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: 3a8fb620-f1b7-47d3-acd2-08e0433b1d16
Commits

Reviewing files that changed from the base of the PR and between 3cd01df and 901399d.

Files selected for processing: 7

  • changelog.d/14394-repair-rerun-names-facade.md
  • crates/ripr/src/cli/agent.rs
  • crates/ripr/src/cli/commands/agent.rs
  • crates/ripr/src/cli/commands/agent_refusal_tests.rs
  • crates/ripr/src/cli/commands/task_first.rs
  • crates/ripr/src/edit_cage/mod.rs
  • crates/ripr/tests/check_repair_agree.rs
Pre-merge checks: Inconclusive 2

Failed Failed checks: 2 inconclusive

Check name Status Explanation Resolution
Title check Pending This assessment has not completed. The check will be retried on the next pre-merge check run.
Description check Pending This assessment has not completed. The check will be retried on the next pre-merge check run.
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review November 12, 2026 02:26
@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!

Copy link
Copy Markdown
Member Author

cargo-deny fails on this head because of RUSTSEC-2026-0486 against rustix 1.1.5, which is already in main's Cargo.lock. This PR doesn't touch dependencies. The fix is #14240 (rustix -> 1.1.6).


Generated by Claude Code

@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

Comment thread crates/ripr/src/cli/commands/agent.rs Resolved
@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

ripr static exposure check

Commit 901399d483ac · run · advisory, static evidence only (not a mutation run).

#ripr agent static-advisory base=3cd01df7d7d7be30c9a45fe979c815d28a79c0d7 findings=15 gaps=5 exposed=1 infection_unknown=1 static_unknown=5 weakly_exposed=8
weakly_exposed|crates/ripr/src/cli/commands/agent.rs:2639|facade_start,|missing=No exact error variant discriminator was detected|test=t1|id=probe:crates_ripr_src_cli_commands_agent.rs:error_path:61edb330
stages=reach:yes,infect:yes,propagate:yes,observe:yes,discriminate:weak
weakly_exposed|crates/ripr/src/cli/commands/agent.rs:2639|facade_start,|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr_src_cli_commands_agent.rs:return_value:a5e918f6
stages=reach:yes,infect:yes,propagate:weak,observe:yes,discriminate:weak
weakly_exposed|crates/ripr/src/cli/commands/agent.rs:2775|facade_start,|missing=No exact error variant discriminator was detected|test=t1|id=probe:crates_ripr_src_cli_commands_agent.rs:error_path:61edb330.2
stages=reach:yes,infect:yes,propagate:yes,observe:yes,discriminate:weak
weakly_exposed|crates/ripr/src/cli/commands/agent.rs:2775|facade_start,|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr_src_cli_commands_agent.rs:return_value:a5e918f6.2
stages=reach:yes,infect:yes,propagate:weak,observe:yes,discriminate:weak
weakly_exposed|crates/ripr/src/cli/commands/agent.rs:4481|format!("ripr repair {seam_arg} --root {root_arg}")|missing=No strong discriminator was detected|test=t2|id=probe:crates_ripr_src_cli_commands_agent.rs:call_deletion:b0bf50b3
stages=reach:yes,infect:yes,propagate:yes,observe:yes,discriminate:weak
t1=crates/ripr/src/cli/commands/agent_refusal_tests.rs:360 before_phase_refuses_dirty_production_premise_before_the_seam_inventory unknown miss=no_assertion
t2=crates/ripr/src/cli/commands/agent_refusal_tests.rs:266 before_phase_dirty_premise_refusal_names_paths_and_commit_first_recovery unknown miss=assertion_admission_unproven
limits=infection_unknown:1,static_unknown:5,weakly_exposed:3
next=ripr explain --root . --base 3cd01df7d7d7be30c9a45fe979c815d28a79c0d7 --committed --mode draft --format agent probe:crates_ripr_src_cli_commands_agent.rs:error_path:61edb330
verify=refused|outcome=complete_with_findings|findings=15|exposed=1|reason=gaps_remain

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
EffortlessSteven added this pull request to the merge queue Nov 12, 2026

@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.

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 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
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.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants