Skip to content

feat(repair): recover an interrupted focused finish with the original claim (#13203 slice B, recovery) - #13697

Merged
EffortlessSteven merged 9 commits into
mainfrom
claim/13438-pr2b
Nov 17, 2026
Merged

EffortlessSteven merged 9 commits into
mainfrom
claim/13438-pr2b

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Governing issue or accepted claim: #13203 slice B (successor 2b of the split of #13438; part of #3162)

Acceptance delta (one sentence): an interrupted focused finish can be recovered with the original caller-reported claim instead of only by a new attempt, and default status names that state and its route.

What changed

  • Recovery of an interrupted focused finish re-validates the original claim and completes retention under the locked terminal manifest (with_locked_terminal_manifest_from), including the Python apply-record path.
  • Retry-budget recovery text and status/MCP recovery guidance for the interrupted state.
  • Default ripr agent status now projects the focused recovery limitation and the new-attempt route into its unconfirmed-receipt warning (carried from review of feat(repair): custody for a caller-reported focused test result (#13203 slice B, receipt custody) #13574), checked in both default and selected-attempt renders.
  • A custody unit test now removes its temporary repository on every path.

Deliberately not in this PR

Python recovery tests (successor 3) and the finish gate for a new-test proposal (successor 4).

Split context

#13438 was refused by admission at qualification_scope_oversized and is split without raising the limit; credit for the combined design goes to the lane that wrote #13438, which stays open until the successors land. Successors 1 (#13546) and 2a (#13574) are merged.

Proof

Locally on the pre-rebase head 8b0cea9 (rebased onto main without conflicts): cargo xtask precommit, goldens, check-traceability, check-process-policy, and the repair_attempt, agent_status, focused_test_result and python_repair_attempt suites. Hosted CI on the exact head is the qualifying proof.


Generated by Claude Code

…ed claim

Recovery retains only the receipt and verify bytes the recorded evaluation
outcome names, refuses a different supplied claim, revalidates a trust-bound
retry's authority before recovering a missing apply projection, and gives a
refused result retry-budget recovery text. A focused finish still does not
gate on a passing result.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLUbb9AWcGogtEPEAMB
…; close the custody unit's temp repo on error

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLUbb9AWcGogtEPEAMB
@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 8, 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 46 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 146 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: dd804208-2ea9-4ecf-8508-9882a90258f9
Commits

Reviewing files that changed from the base of the PR and between 60114de and 0ccbaf1.

Files selected for processing: 10

  • .ripr/traceability.toml
  • changelog.d/13203-focused-completion.md
  • crates/ripr/src/app/agent_review_summary.rs
  • crates/ripr/src/app/agent_status.rs
  • crates/ripr/src/app/python_repair_binding.rs
  • crates/ripr/src/app/repair_attempt/mod.rs
  • crates/ripr/src/cli/commands/agent.rs
  • crates/ripr/src/mcp/repair.rs
  • crates/ripr/tests/focused_test_result.rs
  • docs/specs/RIPR-SPEC-0011-llm-work-loop.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

An interrupted focused finish, trust-bound or not, is promoted only after
the after phase re-validates the same caller-reported result against the
current HEAD, the attempt and its test file and finds it record-equal to
the pending claim. An after phase without --test-result is refused and
leaves the attempt recoverable. Status names one route per state (retry
with the same file when recoverable, a new attempt otherwise, including
non-durable-v1 protocols), the spec states the enforced rule, and
after_phase_human_stdout keeps its own doc comment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLUbb9AWcGogtEPEAMB
@EffortlessSteven
EffortlessSteven marked this pull request as ready for review November 8, 2026 14:18
@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!

@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

Exact-head review of 306300c (9 files, about 1745 changed lines). An independent fresh reviewer read the full diff through git objects in two rounds, and the owning lead checked the repairs.

Round one found a promotion path for an interrupted focused finish that skipped the caller's result when the file was omitted. The repair makes every focused promotion depend on the after phase revalidating the same result against the current HEAD, attempt and test file. It also adds a real-binary test where an Accepted interrupted finish run without the file is refused with an unchanged manifest and then recovers with the original file. The reviewer traced that forcing the recheck flag true makes that test exit 0 and fail its assertion, so it discriminates.

Inspected: recovery under the locked terminal manifest, apply-record recovery by exclusive create, accepted receipt and verify digests, the single default-status route per state, the legacy-protocol wording, doc comments, spec, help and traceability parity.

Recorded limits: the interrupt tests run on linux-gnu only because they use a preload hook. The retry-only default-status branch has coverage through the shared text function and the Started-case inventory test. Hosted CI on this exact head is the qualifying proof for the gates the review itself ran none of.


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 3 potential issues.

Devin Review

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

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

ripr static exposure check

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

#ripr agent static-advisory base=ab93e28c665bdc75242bc33f4db3a21854126f04 findings=149 gaps=13 infection_unknown=10 propagation_unknown=6 static_unknown=25 weakly_exposed=108
analysis=incomplete|outcome=partial_with_limitations
limitation=diff_scope_oversized|reason=The run analyzed 673 changed line(s) and left at least 1316 changed line(s) outs…|recovery=To widen the analyzed partition, raise RIPR_PARTIAL_DIFF_LINE_BUDGET to at least 1349 (1989 to select the whole diff), then re-run.
weakly_exposed|crates/ripr/src/app/agent_status.rs:3309|None =>|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr_src_app_agent_status.rs:match_arm:01833280
weakly_exposed|crates/ripr/src/app/agent_status.rs:3281|Some(FocusedRecovery { limitation, retry_same_result: false, })|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr_src_app_agent_status.rs:return_value:f259ce80
weakly_exposed|crates/ripr/src/app/agent_status.rs:3287|Some(FocusedRecovery { limitation, retry_same_result: true, })|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr_src_app_agent_status.rs:return_value:f0ce8dc2
weakly_exposed|crates/ripr/src/app/agent_status.rs:3299|return new_attempt( "the focused finish ended in a recorded refusal; inspect tha…|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr_src_app_agent_status.rs:return_value:12df9f73
weakly_exposed|crates/ripr/src/app/agent_status.rs:3304|return new_attempt( "the focused receipt recovery protocol is not durable-v1, so…|missing=No strong discriminator was detected|test=t1|id=probe:crates_ripr_src_app_agent_status.rs:return_value:ad4940d9
weakly_exposed|crates/ripr/src/app/agent_status.rs:3310|"no focused receipt evaluation is recorded yet; if the after phase is no longer …|missing=Check unconfirmed: no supported assertion that distinguishes the changed behavio…|test=t2|id=probe:crates_ripr_src_app_agent_status.rs:predicate:59561a73
t1=crates/ripr/src/app/agent_status.rs:5627 trust_bound_focused_retry_is_withheld_when_the_apply_record_path_is_occupied unknown miss=assertion_admission_unproven
t2=crates/ripr/src/app/agent_status.rs:5287 agent_attempt_status_classes_are_distinct_and_documented relational_check `assert!( ATTEMPT_STATUS_CLASSES.contains(&required), "status class `{required}` …` miss=weak_assertion
+7 more gaps not shown; `--format json` lists all
limits=infection_unknown:10,propagation_unknown:6,static_unknown:25,weakly_exposed:95
next=ripr explain --root . --base ab93e28c665bdc75242bc33f4db3a21854126f04 --committed --mode draft --format agent probe:crates_ripr_src_app_agent_status.rs:match_arm:01833280
verify=refused|outcome=partial_with_limitations|findings=149|exposed=0|reason=analysis_incomplete,gaps_remain,partial_scope

Took 144s.

…nly when it can recover (#13203)

A new-test proposal finished without a focused claim keeps the ordinary
pending-retention route: the proposal claim revalidation now runs only
when the finish holds a pending focused claim. Status offers the
same-result retry for an accepted decision only when its receipt and
verify files are present with the accepted digests; otherwise it gives
the new-attempt route, matching the after phase's refusal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLUbb9AWcGogtEPEAMB
The interposed-receipt test now asserts status offers the same-result
retry while the accepted receipt is intact and gives the new-attempt
route once the receipt digest no longer matches. The new-attempt text
keeps the "if the after phase is no longer running" hedge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLUbb9AWcGogtEPEAMB

Copy link
Copy Markdown
Member Author

CI on d609b2c is red for a reason outside this PR. source-of-truth fails to compile the lib with E0004: OutputFormat::is_json_request (crates/ripr/src/output/format.rs:450) doesn't cover MissedTxt.


Generated by Claude Code

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

Decision

  • Needs focused proof failure resolved before upstream.

Test proof

  • Focused HEAD proof failed (exit 101): cargo test --locked --package ripr --test agent_command_journey. This is a current failure, not a red/green witness.

@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

Final source and oracle review of head d609b2c.

Inspected:

  • the complete after-phase recovery chain in cli/commands/agent.rs: proposal claim block, focused recheck, trust promotion, generic retention and response/apply recovery;
  • retention and the evaluation start/accept/restore functions in repair_attempt/mod.rs;
  • focused_accepted_projection_present, where the digest comparison matches what retention reads;
  • focused_receipt_recovery and every consumer: default status, selected status and MCP;
  • the RIPR-SPEC-0011 text and traceability.

Rounds:

  • Round 1 found a no-recheck promotion, repaired at 306300c.
  • Devin's two findings were repaired at bb755d1.
  • An independent delta review found no blockers, plus a proof gap and a missing hedge. Both were closed at d609b2c, and the retry and wrong-digest status sides are now pinned.
  • Mutants that always return false or only check existence each fail the intended assertion.

Local gates on this head:

  • focused_test_result: 37
  • python_repair_attempt: 26
  • lib agent_status: 81
  • lib repair_attempt: 114
  • agent_command_journey: 16
  • check-traceability and precommit

The earlier hosted red came from the main compile break fixed by #13848. Hosted exact-head qualification is the remaining step.


Generated by Claude Code

@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

Head c79c94e is a clean merge of main (including the #13848 compile fix) into the reviewed d609b2c. The PR's own source, tests, spec and traceability are unchanged from the head reviewed in my previous disposition, so that source and oracle review carries over unchanged.

What changed is the integration basis. Hosted exact-head CI on this merge is its qualifying proof.


Generated by Claude Code

@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

Head c79c94e is a clean merge of main, including the #13848 compile fix, into the reviewed d609b2c.

The PR's own source, tests, spec and traceability are identical to that reviewed head, so the full source and oracle review recorded there still applies. The only change is the integration basis, and hosted exact-head CI on this merge is its qualifying proof.


Generated by Claude Code

Comment thread crates/ripr/src/cli/commands/agent.rs Resolved
…cupied (#13203)

The after phase promotes an accepted trust-bound focused finish only
while nothing exists at the apply-record compatibility path and its
components are safe. Status (default, selected and MCP) now gives the
new-attempt route instead of the same-result retry in any other case,
so it agrees with what the after phase will do. The promotion path is
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLUbb9AWcGogtEPEAMB

@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

Head: f2699de. The full source review of earlier heads still applies, and this pass covers the delta c79c94e..f2699de.

  • trust_apply_record_blocks_focused_recovery (repair_attempt/mod.rs) mirrors the after-phase trust-promote condition in cli/commands/agent.rs:
    • binding role present;
    • safe path components;
    • symlink_metadata NotFound is the only state that promotes.
  • Default, selected and MCP status all reach it through focused_receipt_recovery. Status offers the same-result retry only in states where the after phase promotes.
  • trust_bound_focused_retry_is_withheld_when_the_apply_record_path_is_occupied covers three cases: no binding, binding with the path occupied, and binding with the path cleared. An always-false predicate mutant breaks the occupied assertion. The stacked successor exercises the same state through the real binary.
  • Spec and traceability entries match the behavior.
  • Graphite thread answered and resolved. Devin threads were answered earlier.

Recorded limits:

  • The status text says "occupied" for the unsafe-component and unreadable cases as well. These cases still route to a new attempt.
  • A separate custody question about status cache writes is tracked in #13945. It predates this PR.

Worker's local proof on f2699de:

  • focused_test_result, python_repair_attempt and agent_command_journey suites;
  • agent_status, repair_attempt and mcp::repair lib tests;
  • fmt, check-traceability and precommit.

Hosted qualification on this exact head is the remaining proof.


Generated by Claude Code

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

SOURCE_REVIEW_READY

VERDICT: APPROVE f2699de - no blocking findings on this head.

Exact-head source review of f2699deb (base ab93e28c), 10 files, +1876/-187. Static only: no build, no test run, no checkout. rustfmt --check (1.100.0, repo config) exits 0 on all six changed Rust files. This restores the source attestation that the earlier REVIEW_READY on this same head carried and that the 20:09Z refresh review displaced by formatting; the head has not moved.

The change makes an interrupted focused finish recoverable instead of always requiring a new attempt. The after phase gains a recovery pre-pass that re-validates the caller's --test-result against the current HEAD, attempt and test file, requires it to equal the pending normalized claim, and only then promotes the receipt/verify/focused evidence. A trust-bound attempt additionally re-verifies its retained binding and edit authority and recovers only a missing apply projection, created exclusively.

Every promotion path is gated on the same claim: the focused_claim_rechecked block, the trust_promoted block, the post-retention output block, the apply-record block and the pre-marker restore block each re-validate the supplied result and compare supplied.identity.record == pending.record before touching evidence. An after phase without --test-result is refused and leaves the attempt unchanged. with_locked_terminal_manifest_from takes the commit lock, re-reads, and compares the full manifest before the callback, so a concurrent commit cannot be rendered as this attempt's result.

The 11 new tests cover the interesting shapes: stop before the marker, stop after the marker (started and accepted), stop after retention, an interposed receipt replacement, a changed claim, a partial publication, a proposal without a result, and the fifth-refusal budget. Assertions are on manifest state and retained roles, not just exit codes.

Non-blocking notes: (1) the proposal recovery block sets refusal.stop_unrecorded and refusal.selected_attempt before validating and resets only refusal.typed on success, so a later ordinary-after failure is not recorded and does not consume the after-refusal budget - a consistency nit, deterministic, not a safety hole. (2) Most new recovery tests are Linux-gnu gated because the publication hook is an LD_PRELOAD shim; the recovery code itself is platform-independent. (3) Status is silent for an attempt interrupted after terminal retention, although a same-result retry does recover the response.

Qualification the head still lacks: no hosted Rust gate ran on this head; the merge queue's compile/test lane is the first execution of these tests. This attestation is source-level only and does not authorize landing.

Copy link
Copy Markdown
Member Author

Native composition checkpoint: G 35a177f96c21eb4f72669f083883ddaa9db02df1, run43694502835, is terminal FAILURE (required Result132753768557). Rust gates132752362949 fails repository policy preflight during compilation; all four shards fail building binaries, before test execution. Independently read gate and shard3 logs both report three E0277 errors: ? cannot convert ReceiptBindingError into String in crates/ripr/src/cli/commands/agent.rs (including line3299). This is an observed composed compile failure, not evidence that a test ran or that prior head qualification covers this group. Causal attribution among composition changes remains open; existing ownership and review/check requirements remain. No rerun, writer, queue mutation, or acceptance change initiated.

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 15, 2026
@effortlessg41

effortlessg41 Bot commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Composition repair identified and verified locally - the E0277 is a stale signature, not a logic defect.

Cause. main now declares receipt_binding_from as Result<serde_json::Value, ReceiptBindingError> (crates/ripr/src/app/repair_attempt/mod.rs:416 at 184b521c1). This branch still declares it as Result<serde_json::Value, String> (:409 at f2699deb), and the three new call sites added by this PR use ? inside functions returning Result<(), String>. The composed tree therefore cannot convert ReceiptBindingError into String.

Evidence. Composed tree main 184b521c1 + f2699deb, cargo check -p ripr --lib: three error[E0277] at crates/ripr/src/cli/commands/agent.rs:3067, :3188, :3293 - the same three sites and the same message as the hosted shard logs in run 43696783017. The fourth call site (:1411) is unaffected because its context already accepts the typed error.

Fix (3 lines, no behaviour change).

@@ -3070,7 +3070,8 @@ fn run_agent_repair_phase(
                                 &manifest.seam_id,
                                 &packet_path,
                                 Some(id),
-                            )?;
+                            )
+                            .map_err(|error| error.to_string())?;
@@ -3191,7 +3192,8 @@ fn run_agent_repair_phase(
                                     &manifest.seam_id,
                                     &root.join(&packet.path),
                                     Some(id),
-                                )?;
+                                )
+                                .map_err(|error| error.to_string())?;
@@ -3296,7 +3298,8 @@ fn run_agent_repair_phase(
                                     &manifest.seam_id,
                                     &packet_path,
                                     Some(id),
-                                )?;
+                                )
+                                .map_err(|error| error.to_string())?;

ReceiptBindingError already implements Display (mod.rs:5507), so to_string() preserves the refusal text the surrounding String-returning paths already print.

Verification. With the patch applied to the composed tree, cargo check -p ripr --lib exits 0 (cold 4m48s, incremental 0.83s). Without it, the same tree reproduces the three E0277 errors. I did not run the test suites.

Queue state. This PR was ejected from the native queue when its group failed; main is now 184b521c1 (#14529 merged). Re-enqueueing the current head unchanged will fail identically, so the repair should land before the next enqueue. No queue mutation, rerun, or acceptance change was made here.

@EffortlessSteven

Copy link
Copy Markdown
Member Author

Finding: composition break with main — this PR cannot qualify as-is.

Measured this beat on the merge-queue stack that included this PR:

  • crates/ripr/src/app/repair_attempt/mod.rs::receipt_binding_from returns Result<serde_json::Value, String> on this PR's head f2699deb, but Result<serde_json::Value, ReceiptBindingError> on current main.
  • crates/ripr/src/cli/commands/agent.rs on this PR's head calls it with ? into functions whose error type is String.
  • Git merges both files cleanly, so the result is this PR's agent.rs against main's repair_attempt/mod.rs. That does not compile: error[E0277]: ? couldn't convert the error to std::string::String at agent.rs:3073, 3194, 3299, each pointing at repair_attempt/mod.rs:5484.

Evidence: merge_group runs 43696783017 (08:55Z), 43697252882/43697212898 (09:01-09:02Z) all fail the same way; the stack base is 35a177f96c, this PR's own squash commit, which is not on main.

This PR's own CI is green at f2699deb because on its own base both files return String. The break only appears against current main.

Disposition: repair required before re-admission. Rebase onto current main and reconcile the error type in one direction — either adopt main's ReceiptBindingError and adapt this PR's callers, or keep String and adapt receipt_binding_from — then re-run the focused proof. The new head invalidates the existing review, so review is re-requested at the new head.

Not dispatched this beat; the coding lens is on the #14708 conflict repair. This is the next repair in the queue.

…13203)

Main now returns a typed ReceiptBindingError from receipt_binding_from.
The three recovery call sites added by this PR run inside String-error
contexts, so the composed tree failed with E0277 in the merge queue.
Convert through Display, which keeps the refusal text unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLUbb9AWcGogtEPEAMB

@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

Head: 0ccbaf1. The source and oracle review of f2699de carries over unchanged. This pass covers the two commits on top of it.

  • Merge of main 60114de: no textual conflicts, and none of this PR's recovery files changed in the merge resolution.
  • 0ccbaf1, three-line composition repair in cli/commands/agent.rs. Main now returns ReceiptBindingError from receipt_binding_from. The three recovery call sites added here run in String-error contexts, so each now converts with .map_err(|error| error.to_string()).
    • ReceiptBindingError implements Display, so the refusal text is the same.
    • Control flow and the gating order are the same.
    • The fourth call site, near line 1411, already accepts the typed error and is untouched.
  • What this resolves: this is the E0277 that ejected the queue group (runs 43696783017 and 43697252882).

Local proof on this exact tree:

  • cargo check -p ripr --lib exit 0;
  • cargo check -p ripr --lib --tests exit 0;
  • cargo fmt --check -p ripr exit 0.

The focused suites were last run on f2699de, and this delta leaves their behavior as it was. Hosted qualification on this head is the remaining proof.

Recorded limits from the f2699de reviews still apply. The proposal recovery refusal budget, the Linux-gnu-gated publication hook tests and the post-retention status hint are non-blocking notes. #13945 tracks status cache writes.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

The composition break is repaired at 0ccbaf1. I merged current main (60114de) without conflicts, then made the three receipt_binding_from call sites convert ReceiptBindingError through Display, as the analysis above proposed. cargo check -p ripr --lib --tests passes on the merged tree. merge-ready stays on, so qualification runs on this head. Once it is green, the head is ready for re-enqueue.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Qualification passed on 0ccbaf1:

  • Ripr Rust Small Result and Admit PR Candidate both succeeded.
  • No unresolved threads.
  • The latest owner review is REVIEW_READY on this exact head.

It is ready for re-enqueue. I didn't enqueue it from this session, so the queue entry stays with the orchestrator.


Generated by Claude Code

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

SOURCE_REVIEW_READY
VERDICT: APPROVE 0ccbaf1 — no blocking findings on this head.

Terminal verdict for the head I reviewed in review 5910950056 (2026-11-15T13:29Z). The source and oracle review of f2699de carries over unchanged; this pass adds the head's remote evidence and supplies the missing terminal marker.

  • Head unchanged since that review. 0ccbaf18 is the merge of main 60114de3 into claim/13438-pr2b, plus the three-line composition repair in crates/ripr/src/cli/commands/agent.rs (three recovery call sites convert ReceiptBindingError with .map_err(|error| error.to_string()); ReceiptBindingError implements Display, so refusal text and gating order are unchanged; the fourth call site already takes the typed error). That repair removes the E0277 that ejected the queue group in runs 43696783017 and 43697252882.
  • Hosted evidence on this head is now complete and green: Rust gates, all four Rust test shards, shard verify and Ripr Rust Small Result are SUCCESS; Graphite mergeability, Graphite AI Reviews and GitGuardian are SUCCESS; CodeRabbit completed. mergeable: MERGEABLE, mergeStateStatus: CLEAN.
  • Threads: zero open; the four prior threads (three Devin, one Graphite) are resolved.
  • Non-blocking notes from the earlier reviews still stand: the proposal recovery block can leave a later ordinary after-phase failure unrecorded, so that failure does not consume the after-refusal budget; most new recovery tests are cfg(all(target_os = "linux", target_env = "gnu")) because the publication hook is an LD_PRELOAD shim, leaving Windows/macOS to review_fifth_focused_refusal_requires_restart; status is silent for an attempt interrupted after terminal retention; #13945 tracks the status cache writes.
  • Qualification: the head is behind current main and its queue-group proof was taken on an earlier base; the merge route recomputes that group, and base movement alone does not affect this source verdict.

Static only: no build, no test run, no checkout. Repository left clean; no push, label, merge, body edit or thread change.

@EffortlessSteven
EffortlessSteven added this pull request to the merge queue Nov 16, 2026
@EffortlessSteven

Copy link
Copy Markdown
Member Author

Admitted to the native merge queue at 0ccbaf18 — position 37, QUEUED, enqueued 2026-11-16T14:00:46Z.

Conditions checked at that exact head: current VERDICT: APPROVE (review 5921170424) with zero unresolved threads; Admit PR Candidate and Ripr Rust Small Result pass on run 43719258745; MERGEABLE/CLEAN.

The head was unchanged since review 5910950056 (merge of main + the 3-line ReceiptBindingError→String composition repair), and the four prior threads are resolved.

@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 0ccbaf182fb96ccd99397ec8450b23bfa4b34956b96ccd99397ec8450b23bfa4b34956 — no blocking findings on this head.

Refresh of my APPROVE at f2699deb. Delta f2699deb..0ccbaf18 is one commit, one file, +6/−3: crates/ripr/src/cli/commands/agent.rs maps ReceiptBindingError to String at the three focused-recovery call sites this PR adds.

Why it is correct: receipt_binding_from returns Result<serde_json::Value, ReceiptBindingError> (crates/ripr/src/app/repair_attempt/mod.rs:416-422), while run_agent_repair_phase returns Result<(), String> (agent.rs:2594), so the bare ? could not compile against current main. ReceiptBindingError's Display renders Other(message) verbatim and TrustedSurfaceUntrusted with the historical refusal tail (mod.rs:5507-5518), so the refusal text stays byte-identical to the pre-typing strings. No other dimension of the PR is touched.

Checks at this head: 15 success, 1 neutral, 5 skipped. mergeable is unknown from GitHub. Static review only; no build or test run.

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

SOURCE_REVIEW_READY
VERDICT: APPROVE 0ccbaf1

Replacement carrier for review 5922032094, whose first line repeated the head SHA and so did not bind. The substantive review is unchanged: review 5910950056 reviewed this exact head, and review 5921170424 supplied the terminal verdict.

Reviewed head: 0ccbaf1

  • Delta f2699de..0ccbaf1 is one commit, one file, +6/-3 in crates/ripr/src/cli/commands/agent.rs mapping ReceiptBindingError to String at the three focused-recovery call sites.
  • No findings remain open; zero unresolved threads.
  • Hosted qualification passed on this head (run 43719258745).

@EffortlessSteven

Copy link
Copy Markdown
Member Author

Queue-blocker disposition: attestation-carrier repair, not a source defect.

The merge-group admission for this entry was refused at 0ccbaf18 (run 43984707238, 2026-11-17T00:05Z) because the latest review, 5922032094, opened with a verdict line whose SHA was the 40-hex head repeated twice, so it did not bind the head. That refusal ejected the entry and restarted the group; main has not advanced since 8aafefc (13:44Z).

Repair: review 5930416689 at the unchanged head 0ccbaf18, first line the readiness marker, second line the verdict bound to the full head. The substantive review is unchanged (5910950056, 5921170424). No label change and no re-enqueue: the entry is already in the queue and re-evaluates on the next group run.

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 17, 2026
@EffortlessSteven
EffortlessSteven added this pull request to the merge queue Nov 17, 2026
Merged via the queue into main with commit 8e53ca3 Nov 17, 2026
21 checks passed
@EffortlessSteven
EffortlessSteven deleted the claim/13438-pr2b branch November 17, 2026 10:45
EffortlessSteven pushed a commit that referenced this pull request Nov 18, 2026
Main moved 439 commits under this branch and the merge queue ejected the
previous head on the journey test. Three things changed on main:

- the refusal reason for remaining gaps is now unexposed_findings_remain;
- the default MCP gap list no longer lists a closed gap, it discloses one
  exposed item and the class filter that lists it;
- an interrupted focused finish can now be recovered (#13697), and that
  recovered summary rebuilt its lines without the retained run, so it
  printed 'test run: none recorded' for a result it had just re-accepted.

The recovered finish now reads the retained caller run back like the
original finish, with an assertion in the existing recovery test. The
journey follows the two renamed surfaces and asserts the fresh-process
improved receipt before the re-check. After the re-check that read is
stale on main (#15060), so it is left unasserted with a pointer.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016EQRVkRHQuEUhaRdfMfyzE
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