Skip to content

Let the agent loop finish when only analyzer limits remain (#14821) - #15322

Merged
EffortlessSteven merged 9 commits into
mainfrom
claude/project-thread-rnibvy
Nov 25, 2026
Merged

EffortlessSteven merged 9 commits into
mainfrom
claude/project-thread-rnibvy

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Requested by Steven · project thread

Summary

  • ripr check --format agent now ends with verify=complete_with_limits|outcome=O|findings=N|exposed=E|limits=CLASS:COUNT,... instead of verify=refused|...|reason=unexposed_findings_remain when that refusal is the only unmet condition and every unexposed finding is an analyzer limit that no test edit can close.
  • The ripr init --agents loop (and docs/AGENT_QUICKSTART.md) accepts that line as DONE and asks the agent to report the limits=. The "Analyzer limit" STOP bullet now applies only when verify is refused.
  • Strict verify=complete is unchanged. No finding is upgraded.

The eligibility owner is CheckOutput::verification() in app/check_verification.rs. The renderer only formats it. It is fail-closed, and a finding counts as test-unclosable only when all of these hold:

  • its class is static_unknown, infection_unknown or propagation_unknown. Never no_static_path (an uncalled owner is a gap, agent: untested changed lines classed no_static_path count as limits, so FIND reports gaps=0 and a stop line on a smoke-only test #14820), and never weakly_exposed / reachable_unrevealed, even behind a named limit;
  • it is candidate-current, non-preview and not withheld (suppressed or opted out);
  • no contributing related test that is not proximity-only has weak or smoke strength, so the smoke-only trees from agent: untested changed lines classed no_static_path count as limits, so FIND reports gaps=0 and a stop line on a smoke-only test #14820 still refuse;
  • positive evidence: a related test reaches the owner (RelationReason::establishes_reach) and is a contributing strong/medium row on this finding, or is an examined-only assertion_not_observing row of a test that is a contributing, reaching strong/medium row on another finding of the same owner function. An examined-only row alone proves nothing, because its oracle text is just the test's first assertion. Without an owner binding, a test that is exact on one function could vouch for an unasserted call to another. Both holes were found by independent review and are now closed. The voucher is matched by full test identity (file, name, start line), comes only from candidate-current, non-preview, non-withheld findings, and is selected by row role, never by miss (the related-test role control). A finding whose related-test rows were packed past the bounded list never completes;
  • the counts reconcile with the full summary.

Swarm / Source Boundary

  • ordinary feature, analyzer, editor, docs, spec, fixture, badge, dependency, or repo-ops development for ripr-swarm

Source-of-truth Links

Spec: RIPR-SPEC-0147 (updated)
Governing issue or accepted claim: #14821
Acceptance delta (one sentence): When the only unexposed findings are analyzer limits that a reaching, asserting test leaves, the agent record ends verify=complete_with_limits|...|limits=... and the documented loop can end in DONE, while smoke-only, assertion-free, gap, no_static_path, preview and suppressed cases keep verify=refused.

Candidate Relationships

Candidate branch: claude/project-thread-rnibvy
Stack parent or prerequisite PR: none

Scope

Proof

  • Unit tests in app/check_verification.rs cover the positive case, including an examined-only reaching row with an unmatched assertion (the real static_unknown shape). They also cover each fail-closed axis: gap classes, a named-limit weak finding, smoke and weak rows (alone and mixed with strong), an unknown relation, preview, base-deleted, no related test, proximity, name and assertion-target-only relations, an empty oracle, no_assertion, owner opt-out, count drift, and every other refusal, plus the rule that strict completion stays strict.
  • tests/cli_smoke/verify_complete_with_limits.rs builds real git fixtures from a ratelimit crate. Fixing the drain boundary <=→< under exact tests ends verify=complete_with_limits|...|limits=infection_unknown:1. The same diff under smoke-only (is_ok()), call-only and assert!(true) trees refuses. So does a mixed tree in which an exact try_take test only calls refill, with refill precision also changed. Every refusing tree asserts the same gaps=0 and limits premise.
  • Local runs: cargo xtask precommit exit 0 (twice, the second on 2234d55), check-traceability and check-file-policy pass, the 2 cli_smoke verify_complete_with_limits tests pass, the check_verification and related_test_role_tests lib tests pass on this head (14), plus the earlier 161-test output::human and init_agents slice, and the 17 xtask agent_eval tests.
  • Independent subagent reviews: 3 passes. Passes 1 and 2 found the two fail-opens above, now repaired, and pass 3 on 77fdb74 found no material issues. Devin then found three narrower holes (packed rows, same-name tests, stale vouchers), fixed in 2234d55 with unit cases. The first hosted run failed only decision_helpers_never_branch_on_the_miss (row eligibility read miss), fixed in f7f1edd. Its gates and shard 2 were green.

Source review: REVIEW_READY 627f2f3

https://claude.ai/code/session_01YVdGzRmqtKS28f5H5Gp2fX


Generated by Claude Code

verify=complete_with_limits replaces verify=refused when the only unmet
condition is unexposed findings and every one is a candidate-current,
non-preview static_unknown / infection_unknown / propagation_unknown
finding with a reaching, asserting related test and no weak or smoke
owner-bound row. The init --agents loop treats it as DONE with limits
reported. Strict verify=complete is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVdGzRmqtKS28f5H5Gp2fX
@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 self-assigned this Nov 19, 2026
@coderabbitai

coderabbitai Bot commented Nov 19, 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 47 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 141 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: 003560c9-ba8c-4907-9eee-f92fd65ab615
Commits

Reviewing files that changed from the base of the PR and between 5000e3d and 627f2f3.

Files selected for processing: 11

  • .ripr/traceability.d/14821-verify-complete-with-limits.toml
  • changelog.d/14821-verify-complete-with-limits.md
  • crates/ripr/src/app/check_verification.rs
  • crates/ripr/src/cli/commands/init_agents.rs
  • crates/ripr/src/output/human/agent.rs
  • crates/ripr/tests/cli_smoke.rs
  • crates/ripr/tests/cli_smoke/verify_complete_with_limits.rs
  • docs/AGENT_QUICKSTART.md
  • docs/OUTPUT_SCHEMA.md
  • docs/specs/RIPR-SPEC-0147-analysis-outcome-projection.md
  • xtask/src/reports/agent_eval.rs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

An examined-only reaching row carries the test's first assertion, which
may be a smoke is_ok() or assert!(true). It now counts only when the
same test is a contributing, reaching strong/medium row on a finding
of the run; a contributing row must itself be strong/medium. agent-eval
matches the two DONE records exactly; init block tests pin the new text.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVdGzRmqtKS28f5H5Gp2fX
A test that pins try_take exactly no longer vouches for an unasserted
refill call: the examined-only route requires the same test to be a
strong/medium reaching row on a finding of the same owner function.
The CLI fixture adds that mixed tree as a refusal case.

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

SOURCE_REVIEW_READY for head ea9d863

Inspected: the completion owner CheckOutput::verification and its new closable_limits projection; the agent renderer line; every .verification() consumer (triage all-clear keeps strict completion; unanalyzed-changes reads only refusals); xtask agent-eval DONE matching; the init block text in all three language variants plus the quickstart copy; OUTPUT_SCHEMA, RIPR-SPEC-0147 and changelog parity with the code.

Fail-closed axes covered by unit tests: gap classes, a named-limit weak finding, weak or smoke owner-bound rows, unknown relations, preview, base-deleted, missing reach, call-only and unmatched rows, examined-only rows without a same-owner exact test, a vouching test on another owner, an ownerless limit, owner opt-out, count drift, and every other refusal reason.

CLI fixtures: exact tests over a boundary fix end complete_with_limits; smoke-only, call-only, assert(true) and mixed trees over the same premise end refused.

Three independent subagent passes; the two fail-opens they found are repaired in this head.


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

Refuse when related-test rows were packed past the bounded list (a
dropped row could be weak); key the vouching test by its full identity
including start line; only candidate-current, non-preview findings
vouch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YVdGzRmqtKS28f5H5Gp2fX
related_test_role_tests control 7 forbids production row eligibility
from reading RelatedTest::miss. The examined-only route now keys on the
row role alone; the same-owner exact voucher carries the evidence.

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

@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 for head f7f1edd

Inspected: the completion owner CheckOutput::verification and its new closable_limits projection; the agent renderer line; every .verification() consumer (triage all-clear keeps strict completion; unanalyzed-changes reads only refusals); xtask agent-eval DONE matching; the init block text in all three language variants plus the quickstart copy; OUTPUT_SCHEMA, RIPR-SPEC-0147 and changelog parity with the code.

Fail-closed axes covered by unit tests: gap classes, a named-limit weak finding, weak or smoke owner-bound rows, unknown relations, preview, base-deleted, missing reach, call-only and unmatched rows, examined-only rows without a same-owner exact test, a vouching test on another owner, an ownerless limit, owner opt-out, count drift, and every other refusal reason.

CLI fixtures: exact tests over a boundary fix end complete_with_limits; smoke-only, call-only, assert(true) and mixed trees over the same premise end refused.

Three independent subagent passes plus Devin; every hole they found (examined-only rows, cross-owner vouching, packed rows, same-name tests, stale vouchers) is repaired in this head with a unit case. Row eligibility reads the row role, never the miss.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Ownership check for #14821: I found this candidate at f7f1edd and the dedicated thread’s claim. Is that thread still writing or qualifying this head? I have a request to cover supported mutation receipts and preserve refusal for unresolved actionable findings. Please identify any existing receipt work or confirm a handoff on this candidate so we avoid concurrent edits.

Copy link
Copy Markdown
Member Author

Ownership: the dedicated #14821 thread still owns this candidate, and it is done writing. Head f7f1edd is final. Ripr Rust Small Result and every routed job are green on it, all review threads are resolved, and the admission dry-run passes (rc 0). The next step is to enqueue it. Please don't push to this branch.

Receipt work: none exists here. This PR only changes the static verify= completion record (app/check_verification.rs), plus its docs and tests. It adds nothing for mutation receipts, and it keeps verify=refused for every unresolved actionable finding: gaps, no_static_path, weak or smoke-only rows, preview, withheld, packed rows. Covering supported mutation receipts is a separate objective, so please give it its own candidate on a fresh branch from main once this lands. Where it touches CheckVerification, extend closable_limits and don't fork a second completion owner.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

Parked green and ready to enqueue. Head f7f1edd has Ripr Rust Small Result and every routed job green, no open review threads, and the admission dry-run passes (rc 0). This session's safety check refused the enqueue (PUT .../ccr/auto_merge, squash) twice, so per project rules it is parked here instead of being handed to another session. Anyone with enqueue access can queue this exact head as it is.


Generated by Claude Code

@github-actions

Copy link
Copy Markdown
Contributor

merge-ready is set, but this PR conflicts with main (head f7f1edd9), so GitHub creates no test-merge ref and no qualification run can start. 1. Merge main into the branch and resolve the conflicts. 2. Remove and re-apply merge-ready to request admission and qualification only. 3. After qualification is green, enqueue the PR through the native queue route; re-applying the label does not enqueue it.

One conflict, a doc-comment paragraph of xtask/src/reports/agent_eval.rs:
the branch adds the acceptance of verify=complete_with_limits, and main
reworded the sentence after it. Both are kept.
An independent reading of the completion owner found one fail-closed
filter no test covered: the exact rows that may vouch for an examined-only
row are taken from findings that are not withheld, and nothing failed
when that filter was removed. A test now opts the vouching finding out
and expects the refusal.

A removal control on this head shows why the filter alone stops no test:
the refusal is overdetermined. The summary counts a withheld exposed
finding, so the count reconciliation refuses the run whether or not the
filter is there. The filter is kept as defense in depth that keeps the
voucher rule true on its own, and the code comment and the test say so.

The owner's doc comment says what the code asks of an examined-only row:
its role, and neither what it matched nor what was not credited.
@EffortlessSteven

Copy link
Copy Markdown
Member Author

Source review of the PR's head f7f1edd9a66b686f6dce658a746ca0a539cf1cfb on current main, and one test commit: head c94c8483e48f62bfeadb5facec23547233751a4c

f7f1edd9a66b686f6dce658a746ca0a539cf1cfb is the PR's own head, attested in this conversation on 2026-11-19 and green on the hosted lane on 2026-11-20; it was not enqueued then, and main moved under it until the branch conflicted. 66d169954c0305603e4da16482d9404dcdbc1cef is the merge of origin/main 5000e3d6ae into the branch, with the PR's head as its first parent. c94c8483e48f62bfeadb5facec23547233751a4c adds one test and corrects one doc comment.

What the PR does (#14821). ripr check --format agent ends with verify=complete_with_limits|outcome=O|findings=N|exposed=E|limits=CLASS:COUNT,... instead of verify=refused|...|reason=unexposed_findings_remain when that refusal is the only unmet condition and every unexposed finding is an analyzer limit that no test edit can close. The ripr init --agents loop and docs/AGENT_QUICKSTART.md accept that line as DONE and ask the agent to report the limits= as unproven. Strict verify=complete is unchanged, and no finding is upgraded. The eligibility owner is CheckOutput::verification() in crates/ripr/src/app/check_verification.rs; the renderer only formats it. It is fail-closed. A finding counts as a limit no test can close only when its class is static_unknown, infection_unknown or propagation_unknown; it is candidate-current, non-preview and not withheld; none of its contributing related tests that is not proximity-only asserts only weakly; and a related test reaches the owner and pins behavior exactly, itself or through a same-owner voucher; and the state is produced only when the refusal list is exactly the one refusal and the counts reconcile with the summary.

The merge. One conflict, a doc-comment paragraph of xtask/src/reports/agent_eval.rs: the branch makes the line that says what "usefulness of the loop" asks accept verify=complete_with_limits too, and main reworded the sentence after it, which now names the --skip-cargo option and the scenario's own runner. Both are kept. Nothing else conflicted. main's change to that file stands beside the PR's verify_complete check, and the two documents, the spec and the changelog auto-merged; their vocabulary matches the merged code's names.

An independent reading of the merged delta, and the test commit. A read-only reviewer read the eleven files of the PR's delta on the merged tree and found no fail-open input for the audited shapes: a no_static_path finding beside a limit refuses; a test related only by proximity does not establish reach; a withheld unexposed finding refuses; reachable_unrevealed and weakly_exposed refuse behind a named limit; a base-side or preview finding cannot vouch. It found one fail-closed filter no test covered: the exact rows that may vouch for an examined-only row are taken from findings that are not withheld, and nothing failed when that filter was removed. c94c8483e48f62bfeadb5facec23547233751a4c adds the test: the exposed finding that holds the exact row is opted out, and the run must refuse. A removal control on this head shows that this test does not rest on that filter: with the filter removed every test of the owner still passes, because the summary counts a withheld exposed finding and the count reconciliation refuses the run first. The filter stays as defense in depth that keeps the voucher rule true on its own, and the comment beside it and the test's comment say so. c94c8483e48f62bfeadb5facec23547233751a4c also makes the owner's doc comment say what the code asks of an examined-only row, its role and neither what it matched nor what was not credited, where the comment described one miss kind only.

Linux, this head merged onto main at 0ff5aa2461: cargo test -p ripr --lib -- app::check_verification, 7 passed; cargo clippy -p ripr --all-targets -- -D warnings, exit 0; cargo fmt --all -- --check, exit 0. Linux, the same test commit before its last amendment, which changes two comments and nothing else, merged onto main at 5000e3d6ae: the same 7 tests passed; cargo test -p ripr --test cli_smoke -- verify_complete_with_limits, 2 passed; cargo test -p xtask -- agent_eval, 21 passed; cargo xtask goldens check over every fixture, pass; cargo clippy -p ripr -p xtask --all-targets -- -D warnings and cargo fmt --all -- --check, exit 0. Windows host, the earlier head: the owner's 7 tests, the 2 CLI tests and the 21 xtask tests passed; the 45 policy gates, each exit 0; cargo clippy --workspace --all-targets -- -D warnings, exit 0; on this head the owner's 7 tests passed again. Removal controls, each applied, tested and restored on a clean tree: with a withheld unexposed finding counted as a closable limit again, any_test_closable_finding_keeps_the_refusal stops, on the Windows host on the earlier head and on Linux on this head (6 passed, 1 stopped), which is the case the test of this commit holds; with the exact rows that may vouch for an examined-only row taken from withheld findings again, on the Windows host on the earlier head, no test stops, because the count checks refuse a run that withholds an exposed finding on their own; that filter is redundant today, and the test and the two comments of this commit say so.

reviewed_head_sha: c94c8483e48f62bfeadb5facec23547233751a4c
integration_basis: origin/main 5000e3d6ae, merged as 66d169954c0305603e4da16482d9404dcdbc1cef with the PR's head as first parent
claim_boundary: #14821, the agent loop can reach DONE when every unexposed finding is an analyzer limit no test edit can close
changed_surfaces_and_semantic_owners_inspected: xtask/src/reports/agent_eval.rs (the merged doc-comment paragraph; verify_complete, beside main's --skip-cargo structure); crates/ripr/src/app/check_verification.rs (is_test_unclosable_limit, test_unclosable_limits, verification, the withheld-voucher test and the doc comment); read on the merged tree and unchanged by these two commits: crates/ripr/src/cli/commands/init_agents.rs, crates/ripr/src/output/human/agent.rs, crates/ripr/tests/cli_smoke/verify_complete_with_limits.rs, docs/AGENT_QUICKSTART.md, docs/OUTPUT_SCHEMA.md, docs/specs/RIPR-SPEC-0147-analysis-outcome-projection.md
blocking_findings: none on this head
non_blocking_suggestions: the three notes the reviewer left as they stand: the examined-only voucher branch is not exercised with an `assertion_not_credited` row beside a voucher; the refusal combinations `PartialScope`, `UntrackedSourceExcluded` and `NoBehaviorInScope` beside limits are not each tested, though all pass the one exact-match gate; an ownerless limit with a contributing, reaching strong row is not refused on that path
refuted_or_stale_findings: none
proof_or_review_missing: hosted qualification on this head has not run
affected_currentness_dimensions: integration basis (a merge of main with one doc-comment conflict), test oracle (the withheld-voucher control), candidate head identity; the public claim and the production code are those of the PR's own head
residual_assumptions_and_non_claims: a limit is "test-unclosable" by RIPR's static reading of class, reach and oracle strength; the line asks the agent to report the limits, not to accept them
disposition: REVIEW_INCOMPLETE (source review complete on this head; hosted qualification and the enqueue judgment are separate)

@github-actions

Copy link
Copy Markdown
Contributor

merge-ready is set, but no qualification run exists for head c94c8483: it was pushed after the label was applied, or the label event was dropped. 1. Remove and re-apply merge-ready to request admission and qualification only. 2. After qualification is green, enqueue the PR through the native queue route; re-applying the label does not enqueue it.

@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
Reviewed head c94c848: the PR's own head f7f1edd9a66b686f6dce658a746ca0a539cf1cfb, the merge 66d169954c0305603e4da16482d9404dcdbc1cef of origin/main 5000e3d6ae with that head as its first parent, and c94c8483e48f62bfeadb5facec23547233751a4c, one test and one doc comment. The record for f7f1edd9a66b686f6dce658a746ca0a539cf1cfb earlier in this conversation covers the PR's change; this one covers the merge and the test.

The PR (#14821). ripr check --format agent ends with verify=complete_with_limits|...|limits=CLASS:COUNT,... instead of a refusal when that refusal is the only unmet condition and every unexposed finding is an analyzer limit no test edit can close; the ripr init --agents loop and the quickstart accept that line as DONE and ask the agent to report the limits as unproven. Strict verify=complete is unchanged and no finding is upgraded. The eligibility owner is CheckOutput::verification(); it is fail-closed: only the three unknown classes, candidate-current, non-preview, not withheld, no weak or smoke contributing test that is not proximity-only, positive evidence of a reaching test that pins exactly, the refusal list exactly the one refusal, and counts that reconcile.

The merge. One conflict, a doc-comment paragraph of xtask/src/reports/agent_eval.rs: the branch's acceptance of verify=complete_with_limits and main's reworded sentence beside it are both kept. Nothing else conflicted.

The test commit. A read-only reviewer of the merged delta found no fail-open input for the audited shapes and one fail-closed filter no test covered: the rows that may vouch for an examined-only row are taken from findings that are not withheld. c94c8483e48f62bfeadb5facec23547233751a4c adds the control, the vouching finding opted out and the run refused. The refusal is overdetermined: with that filter removed every test of the owner still passes, because the count reconciliation refuses a run whose summary counts a withheld exposed finding; the filter stays as defense in depth, and its comment says so. c94c8483e48f62bfeadb5facec23547233751a4c also makes the owner's doc comment say what the code asks of an examined-only row.

Linux, this head merged onto main at 0ff5aa2461: cargo test -p ripr --lib -- app::check_verification, 7 passed; cargo clippy -p ripr --all-targets -- -D warnings, exit 0; cargo fmt --all -- --check, exit 0. Linux, the same test commit before its last amendment, which changes two comments and nothing else, merged onto main at 5000e3d6ae: the same 7 tests passed; cargo test -p ripr --test cli_smoke -- verify_complete_with_limits, 2 passed; cargo test -p xtask -- agent_eval, 21 passed; cargo xtask goldens check over every fixture, pass; cargo clippy -p ripr -p xtask --all-targets -- -D warnings and cargo fmt --all -- --check, exit 0. Windows host, the earlier head: the owner's 7 tests, the 2 CLI tests and the 21 xtask tests passed; the 45 policy gates, each exit 0; cargo clippy --workspace --all-targets -- -D warnings, exit 0; on this head the owner's 7 tests passed again. Removal controls, each applied, tested and restored on a clean tree: with a withheld unexposed finding counted as a closable limit again, any_test_closable_finding_keeps_the_refusal stops, on the Windows host on the earlier head and on Linux on this head (6 passed, 1 stopped), which is the case the test of this commit holds; with the exact rows that may vouch for an examined-only row taken from withheld findings again, on the Windows host on the earlier head, no test stops, because the count checks refuse a run that withholds an exposed finding on their own; that filter is redundant today, and the test and the two comments of this commit say so.

Read and left as they are: the three notes the reviewer left, each named in the inspection record; none is a way to reach the new state with a closable finding or a gap.

Not claimed: hosted qualification on this head has not run.

The structured inspection record is in the PR conversation.

`main` grew the agent block by one line since this branch's base, and the
branch adds one DONE line for `verify=complete_with_limits`; merged, the
block has 41 lines and `block_fits_the_budget_and_names_the_stop_rules`
stops the hosted test shard. Two DONE lines that each say when to stop
are joined into one; no word of either is dropped, and the quickstart
page, which must carry the identical block, gets the same line.
@EffortlessSteven

Copy link
Copy Markdown
Member Author

Source review of the PR's head f7f1edd9a66b686f6dce658a746ca0a539cf1cfb on current main, a test commit and the agent block's budget: head 627f2f3543a10c87c9b3c178586adac3d7b7416d

f7f1edd9a66b686f6dce658a746ca0a539cf1cfb is the PR's own head, attested in this conversation on 2026-11-19 and green on the hosted lane on 2026-11-20; it was not enqueued then, and main moved under it until the branch conflicted. 66d169954c0305603e4da16482d9404dcdbc1cef is the merge of origin/main 5000e3d6ae into the branch, with the PR's head as its first parent. c94c8483e48f62bfeadb5facec23547233751a4c adds one test and corrects one doc comment; 627f2f3543a10c87c9b3c178586adac3d7b7416d keeps the agent block within its line budget.

What the PR does (#14821). ripr check --format agent ends with verify=complete_with_limits|outcome=O|findings=N|exposed=E|limits=CLASS:COUNT,... instead of verify=refused|...|reason=unexposed_findings_remain when that refusal is the only unmet condition and every unexposed finding is an analyzer limit that no test edit can close. The ripr init --agents loop and docs/AGENT_QUICKSTART.md accept that line as DONE and ask the agent to report the limits= as unproven. Strict verify=complete is unchanged, and no finding is upgraded. The eligibility owner is CheckOutput::verification() in crates/ripr/src/app/check_verification.rs; the renderer only formats it. It is fail-closed. A finding counts as a limit no test can close only when its class is static_unknown, infection_unknown or propagation_unknown; it is candidate-current, non-preview and not withheld; none of its contributing related tests that is not proximity-only asserts only weakly; and a related test reaches the owner and pins behavior exactly, itself or through a same-owner voucher; and the state is produced only when the refusal list is exactly the one refusal and the counts reconcile with the summary.

The merge. One conflict, a doc-comment paragraph of xtask/src/reports/agent_eval.rs: the branch makes the line that says what "usefulness of the loop" asks accept verify=complete_with_limits too, and main reworded the sentence after it, which now names the --skip-cargo option and the scenario's own runner. Both are kept. Nothing else conflicted. main's change to that file stands beside the PR's verify_complete check, and the two documents, the spec and the changelog auto-merged; their vocabulary matches the merged code's names.

An independent reading of the merged delta, and the test commit. A read-only reviewer read the eleven files of the PR's delta on the merged tree and found no fail-open input for the audited shapes: a no_static_path finding beside a limit refuses; a test related only by proximity does not establish reach; a withheld unexposed finding refuses; reachable_unrevealed and weakly_exposed refuse behind a named limit; a base-side or preview finding cannot vouch. It found one fail-closed filter no test covered: the exact rows that may vouch for an examined-only row are taken from findings that are not withheld, and nothing failed when that filter was removed. c94c8483e48f62bfeadb5facec23547233751a4c adds the test: the exposed finding that holds the exact row is opted out, and the run must refuse. A removal control on this head shows that this test does not rest on that filter: with the filter removed every test of the owner still passes, because the summary counts a withheld exposed finding and the count reconciliation refuses the run first. The filter stays as defense in depth that keeps the voucher rule true on its own, and the comment beside it and the test's comment say so. c94c8483e48f62bfeadb5facec23547233751a4c also makes the owner's doc comment say what the code asks of an examined-only row, its role and neither what it matched nor what was not credited, where the comment described one miss kind only.

The agent block's budget, and 627f2f3543a10c87c9b3c178586adac3d7b7416d. The hosted qualification of c94c8483e48f62bfeadb5facec23547233751a4c (run 45672718636) stopped in Rust tests shard 1 of 2 on block_fits_the_budget_and_names_the_stop_rules: main has grown the agent block by one line since this branch's base, the branch adds one DONE line for verify=complete_with_limits, and merged the block has 41 lines against a budget of 40. The local proof before that request ran the PR's new tests by name and did not run the unit tests of init_agents, the file the branch edits. 627f2f3543a10c87c9b3c178586adac3d7b7416d joins two DONE lines that each say when to stop into one; no word of either is dropped; the quickstart page, which must carry the identical block, gets the same line; and the block is 40 lines again. Its proof runs those unit tests and the whole ripr lib suite on the merged tree.

Linux, this head merged onto main at 793151049b: cargo test -p ripr --lib -- cli::commands::init_agents, 21 passed, block_fits_the_budget_and_names_the_stop_rules, quickstart_page_carries_the_identical_block and block_uses_one_complete_post_edit_report among them; cargo test -p ripr --lib, the whole suite, 21,498 passed, 4 ignored and 3 stopped, named below. Linux, this head merged onto main at 8c719d04fa: cargo test -p ripr --test cli_smoke -- verify_complete_with_limits, 2 passed; cargo test -p xtask -- agent_eval, 21 passed; cargo xtask goldens check over every fixture, pass; cargo fmt --all -- --check, exit 0; cargo xtask ci-policy, the hosted policy lane's own command, exit 0 with every gate at pass; cargo clippy --workspace --all-targets -- -D warnings, exit 0. The three that stopped are in modules this branch does not touch, and this Linux host stops them on main as well: run on exact main 875aa822a7, captured_pr_diff_keeps_a_gitlink_bump_under_ignore_submodules_all and committed_changes_keep_a_gitlink_bump_under_ignore_submodules_all stop there too, each on a git commit of a gitlink that does not succeed under this host's git 2.34.1; no_impact_permission_only_change_declines_missing_mapping passed alone on main and stopped alone on the merged tree, and it reads a change time that must move between two writes a moment apart, so it is a timing flake of this host and not a reading of this branch. The whole ripr lib suite was not in the proof of the two earlier heads, which ran this branch's tests by name; this head's proof runs it, and no test of a module this branch touches stops in it. Windows host, this head: the unit tests of init_agents, 20 passed; the 45 policy gates, each exit 0; cargo clippy --workspace --all-targets -- -D warnings, exit 0. The evidence for the two earlier heads, and the removal controls of the test commit, is in the record of c94c8483e4 earlier in this conversation; that record's claim that the host's tests passed held only for the tests it named, which is why the first request of that head stopped on the agent block's line budget.

reviewed_head_sha: 627f2f3543a10c87c9b3c178586adac3d7b7416d
integration_basis: origin/main 5000e3d6ae, merged as 66d169954c0305603e4da16482d9404dcdbc1cef with the PR's head as first parent; the hosted qualification of c94c8483e48f62bfeadb5facec23547233751a4c (run 45672718636) stopped on the agent block's line budget, repaired in 627f2f3543a10c87c9b3c178586adac3d7b7416d
claim_boundary: #14821, the agent loop can reach DONE when every unexposed finding is an analyzer limit no test edit can close
changed_surfaces_and_semantic_owners_inspected: xtask/src/reports/agent_eval.rs (the merged doc-comment paragraph; verify_complete, beside main's --skip-cargo structure); crates/ripr/src/app/check_verification.rs (is_test_unclosable_limit, test_unclosable_limits, verification, the withheld-voucher test and the doc comment); crates/ripr/src/cli/commands/init_agents.rs (AGENT_BLOCK's DONE lines, block_fits_the_budget_and_names_the_stop_rules, block_uses_one_complete_post_edit_report, quickstart_page_carries_the_identical_block); docs/AGENT_QUICKSTART.md (the identical block); read on the merged tree and unchanged by these three commits: crates/ripr/src/output/human/agent.rs, crates/ripr/tests/cli_smoke/verify_complete_with_limits.rs, docs/OUTPUT_SCHEMA.md, docs/specs/RIPR-SPEC-0147-analysis-outcome-projection.md
blocking_findings: none on this head; the line-budget stop of the first qualification is repaired in 627f2f3543a10c87c9b3c178586adac3d7b7416d
non_blocking_suggestions: the three notes the reviewer left as they stand: the examined-only voucher branch is not exercised with an `assertion_not_credited` row beside a voucher; the refusal combinations `PartialScope`, `UntrackedSourceExcluded` and `NoBehaviorInScope` beside limits are not each tested, though all pass the one exact-match gate; an ownerless limit with a contributing, reaching strong row is not refused on that path
refuted_or_stale_findings: none
proof_or_review_missing: hosted qualification on this head has not run
affected_currentness_dimensions: integration basis (a merge of main with one doc-comment conflict, and main's growth of the agent block), test oracle (the withheld-voucher control), public claim (the block's DONE text in the agent block and the quickstart page), candidate head identity; the eligibility rule is that of the PR's own head
residual_assumptions_and_non_claims: a limit is "test-unclosable" by RIPR's static reading of class, reach and oracle strength; the line asks the agent to report the limits, not to accept them
disposition: REVIEW_INCOMPLETE (source review complete on this head; hosted qualification and the enqueue judgment are separate)

@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
Reviewed head 627f2f3: the PR's own head f7f1edd9a66b686f6dce658a746ca0a539cf1cfb, the merge 66d169954c0305603e4da16482d9404dcdbc1cef of origin/main 5000e3d6ae with that head as its first parent, c94c8483e48f62bfeadb5facec23547233751a4c (one test and one doc comment) and 627f2f3543a10c87c9b3c178586adac3d7b7416d (the agent block's line budget). The record for f7f1edd9a66b686f6dce658a746ca0a539cf1cfb earlier in this conversation covers the PR's change; this one covers the merge and the two commits.

The PR (#14821). ripr check --format agent ends with verify=complete_with_limits|...|limits=CLASS:COUNT,... instead of a refusal when that refusal is the only unmet condition and every unexposed finding is an analyzer limit no test edit can close; the ripr init --agents loop and the quickstart accept that line as DONE and ask the agent to report the limits as unproven. Strict verify=complete is unchanged and no finding is upgraded. The eligibility owner is CheckOutput::verification(); it is fail-closed: only the three unknown classes, candidate-current, non-preview, not withheld, no weak or smoke contributing test that is not proximity-only, positive evidence of a reaching test that pins exactly, the refusal list exactly the one refusal, and counts that reconcile.

The merge. One conflict, a doc-comment paragraph of xtask/src/reports/agent_eval.rs: the branch's acceptance of verify=complete_with_limits and main's reworded sentence beside it are both kept. Nothing else conflicted.

The test commit. A read-only reviewer of the merged delta found no fail-open input for the audited shapes and one fail-closed filter no test covered: the rows that may vouch for an examined-only row are taken from findings that are not withheld. c94c8483e48f62bfeadb5facec23547233751a4c adds the control, the vouching finding opted out and the run refused. The refusal is overdetermined: with that filter removed every test of the owner still passes, because the count reconciliation refuses a run whose summary counts a withheld exposed finding; the filter stays as defense in depth, and its comment says so. c94c8483e48f62bfeadb5facec23547233751a4c also makes the owner's doc comment say what the code asks of an examined-only row.

The agent block's budget. The hosted qualification of c94c8483e48f62bfeadb5facec23547233751a4c stopped in a test shard on block_fits_the_budget_and_names_the_stop_rules: main has grown the agent block by one line since this branch's base, the branch adds one DONE line, and merged the block has 41 lines against a budget of 40. 627f2f3543a10c87c9b3c178586adac3d7b7416d joins two DONE lines that each say when to stop into one, in the block and in the quickstart page, which must carry the identical block; no word of either is dropped, and the block is 40 lines again.

Linux, this head merged onto main at 793151049b: cargo test -p ripr --lib -- cli::commands::init_agents, 21 passed, block_fits_the_budget_and_names_the_stop_rules, quickstart_page_carries_the_identical_block and block_uses_one_complete_post_edit_report among them; cargo test -p ripr --lib, the whole suite, 21,498 passed, 4 ignored and 3 stopped, named below. Linux, this head merged onto main at 8c719d04fa: cargo test -p ripr --test cli_smoke -- verify_complete_with_limits, 2 passed; cargo test -p xtask -- agent_eval, 21 passed; cargo xtask goldens check over every fixture, pass; cargo fmt --all -- --check, exit 0; cargo xtask ci-policy, the hosted policy lane's own command, exit 0 with every gate at pass; cargo clippy --workspace --all-targets -- -D warnings, exit 0. The three that stopped are in modules this branch does not touch, and this Linux host stops them on main as well: run on exact main 875aa822a7, captured_pr_diff_keeps_a_gitlink_bump_under_ignore_submodules_all and committed_changes_keep_a_gitlink_bump_under_ignore_submodules_all stop there too, each on a git commit of a gitlink that does not succeed under this host's git 2.34.1; no_impact_permission_only_change_declines_missing_mapping passed alone on main and stopped alone on the merged tree, and it reads a change time that must move between two writes a moment apart, so it is a timing flake of this host and not a reading of this branch. The whole ripr lib suite was not in the proof of the two earlier heads, which ran this branch's tests by name; this head's proof runs it, and no test of a module this branch touches stops in it. Windows host, this head: the unit tests of init_agents, 20 passed; the 45 policy gates, each exit 0; cargo clippy --workspace --all-targets -- -D warnings, exit 0. The evidence for the two earlier heads, and the removal controls of the test commit, is in the record of c94c8483e4 earlier in this conversation; that record's claim that the host's tests passed held only for the tests it named, which is why the first request of that head stopped on the agent block's line budget.

Read and left as they are: the three notes the reviewer left, each named in the inspection record; none is a way to reach the new state with a closable finding or a gap.

Not claimed: hosted qualification on this head has not run.

The structured inspection record is in the PR conversation.

@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 judgment for head 627f2f3 (#14821). The required PR qualification passed on this exact head: Ripr Rust Small Result success, Admit PR Candidate accepted the source review recorded on this head, and both hosted test shards ran on it. The head is unchanged since that review, the PR has no conflict, it has no open review thread, and no finding arrived after the request.

Source, stimulus and oracle were reviewed on this head, as recorded in the conversation: ripr check --format agent ends with verify=complete_with_limits instead of a refusal when that refusal is the only unmet condition and every unexposed finding is an analyzer limit that no test edit can close; strict verify=complete is unchanged and no finding is upgraded. The eligibility owner is CheckOutput::verification() and is fail-closed; the filter that keeps a withheld finding from vouching for an examined-only row, which a removal control showed to stand behind the count checks today, is held by a test of its own. Static evidence only.

This head is now enqueued for the queue's qualification of the actual merge composition. The queue result and the landed commit are read back separately.

@EffortlessSteven
EffortlessSteven added this pull request to the merge queue Nov 25, 2026
Merged via the queue into main with commit 69c7490 Nov 25, 2026
19 checks passed
@EffortlessSteven
EffortlessSteven deleted the claude/project-thread-rnibvy branch November 25, 2026 22:45
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