Repository navigation
ux(check): the top-gap Safe next action points at the Next step in plain words (#14173) - #14944
Conversation
…ain words (#14173) When `ripr check` selects a test gap, the human `Start here` block printed `Safe next action: inspect or repair the selected non-exposed gap`. That repeats the State line in internal words and does not point at the concrete `Next step` the same block prints a few lines lower. - Digest prints a `Next step` line: `Safe next action: follow the Next step below; this is static advisory evidence only`. - Digest prints none: `Safe next action: look at the reason and related test below before changing a test; this is static advisory evidence only`. The choice is read from the rendered digest, so the line never points at a `Next step` that is not there. Human text only; classification, ranking, the State line, JSON, the agent format and the `top_gap` token are unchanged. Ported from #14279 (commit 90a0271) onto current main. 236 fixture `human.txt` goldens change that one line each; ten honesty-corpus reports are refreshed with a README entry. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016EQRVmtJtnT9DQZmWrPdYY Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVdGzSZu585XvGJ13AgHar
|
Important Review skippedToo many files! This PR contains 540 files, which is 390 over the limit of 150. To get a review, reduce the PR to 150 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to Team to raise the limit. Usage-priced reviews support at most 300 files.
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY for head 15e5a28
An independent subagent review of this head found no defects. It checked that digest_prints_next_step matches both Next step prefix forms the digest emits and no other line; that the earlier digest render is pure and leaves output unchanged apart from the action line; and, by script, that all 246 changed human.txt files differ only in the Safe next action line, with a Next step line below in each of the 245 pointer cases and none in the one other case. It also checked that the 236 CHANGELOG entries append N = previous max + 1, and that the old phrase remains only in the changelog fragment and one historical metrics diff. Local: output::human tests 396 passed, goldens check exit 0, the honesty corpus check passes, the xtask discarded_matcher tests pass, precommit exit 0.
Generated by Claude Code
There was a problem hiding this comment.
Code Review
This pull request implements issue #14173 (aligned with RIPR-SPEC-0122), which updates the ripr check human-readable output for selected test gaps. Instead of printing a generic instruction to inspect or repair the selected non-exposed gap, the Safe next action line now dynamically points to the specific Next step printed in the digest when available, or advises looking at the reason and related test when it is not. The changes include helper functions and unit tests in crates/ripr/src/output/human/triage.rs, updates to the specification documentation, and regenerated golden test fixtures across numerous directories. There are no review comments to assess, so I have no additional feedback to provide.
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
The shard 3 failure on This PR changes only human Generated by Claude Code |
|
Small Result attempt 2 (re-run of the shard 3 provision-dev ETIMEDOUT flake, #14927) was refused at admission_binding: re-runs reuse the attempt-1 admission and cannot pass (#8858). Cycled Generated by Claude Code |
|
Gate disposition: fresh qualification run minted at head
Recovery used the routed qualification route's own instruction: Campaign note: the timeout flake is the same class already tracked by #14927/#14937/#14906, so it is not a new issue here. |
|
Disposition (campaign heartbeat, 2026-11-17T00:10Z): merge-ready but unqueued — no terminal exact-head review carrier. State: Action: dispatched to review ripr-swarm for a substantive exact-head review at |
|
Correction to the disposition above: the live queue now shows #14944 at position 46 (it was not in the queue listing a few minutes earlier; that read was stale). The review dispatch stands — the head still carries no terminal APPROVE carrier, so the merge_group qualification can still refuse it. No other change. |
EffortlessSteven
left a comment
There was a problem hiding this comment.
VERDICT: APPROVE 15e5a28
SOURCE_REVIEW_READY
Reviewed head 15e5a2863c9197a4347046d0e9661029fa581f65, base ffb62b1cea72eec84b805941aca2304335fc0a8c, effective merge base 97bb2d26181b55e302db8f31fdcccb5e440e4997 against origin/main 8aafefc8b55b091e2151a4b1e968ba289a403c6e. The head is behind main; that is not a blocker for this verdict.
The 486-file diff is the PR's own commit, not a rebase artifact. git show --stat 15e5a286 is 486 files: 236 fixture human.txt and 236 expected/CHANGELOG.md, 10 honesty-corpus human.txt plus its README, triage.rs, the spec row and the changelog. The old phrase Safe next action: inspect or repair the selected non-exposed gap is gone from every fixture; git grep finds 0.
The production change matches #14173. digest_prints_next_step (triage.rs:341-347) matches the digest's two real prefixes, Next step: and Next step — (the same constants sections.rs:72-73 uses). top_gap_safe_action_line (triage.rs:350-359) returns the pointer form only when the rendered digest carries one, and the no-Next step fallback otherwise. The digest is rendered once before the action line and reused for the output, so the line cannot point at an absent Next step.
The tests discriminate. top_gap_action_points_at_the_next_step_the_digest_prints asserts the pointer line and that non-exposed is gone; top_gap_action_never_points_at_an_absent_next_step asserts both wordings, both Next step prefixes, no match for a Next step mention inside another line, and no match for a digest with no Next step. The no-pointer fixture fixtures/unwrap_err_variant_single_line/expected/human.txt has a Why weak and a Related test but no Next step, so its fallback wording is correct. The 235 pointer-form fixtures all contain a Next step line.
Goldens and evidence. 235 pointer + 1 no-pointer = 236, matching the body. Each fixture's CHANGELOG.md gets one pending entry. The 10 honesty-corpus reports changed exactly the one line, and discarded-matcher-reports/README.md records the refresh and says the other reports and JSON are byte-identical. The spec top_gap row and changelog.d/14173-check-top-gap-safe-next-action.md carry the same wording.
Qualification. All hosted checks are green at this head: Rust gates, all four shards, shards verify, Ripr Rust Small Result, Admit PR Candidate, Graphite mergeability, GitGuardian, vscode. Zero unresolved review threads; the only prior reviews are SOURCE_REVIEW_READY, Devin No Issues Found and Gemini with no findings.
Not checked. No local build or test; the goldens and the hosted lanes are the evidence. The head is 238 commits behind main, so if main changed any of these fixtures since the merge base, the merge group must re-bless; that is a merge-route step, not a source defect.
…-7tnmjc # Conflicts: # fixtures/assertion_form_parity_assert_msg/expected/CHANGELOG.md # fixtures/assertion_form_parity_err_guard/expected/CHANGELOG.md # fixtures/cross_crate_trait_impl_direct_owner_positive/expected/CHANGELOG.md # fixtures/unsafe_assumption_stop_reason/expected/CHANGELOG.md
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY for head 5502864
Delta since the reviewed head 15e5a28 is a merge of main (the queue's MERGE_CONFLICT):
- Four fixture CHANGELOG.md files conflicted only on appended Pending entries; kept main's entry and appended this PR's entry renumbered to the next free number.
- Main added two goldens with the old top-gap wording (rust_stub_todo_expected_value, rust_nested_use_owner). Both print a " Next step: " line, so both now read "Safe next action: follow the Next step below", each with a CHANGELOG entry. git grep finds the old wording in no fixture.
- No source file changed in the merge beyond main's own commits; triage.rs merged cleanly.
- cargo xtask goldens check rc 0 on the merged tree.
Generated by Claude Code
…fixtures main moved to top_gap (#14173) #14976 turned 20 fixtures' selected finding into a top gap whose goldens still carried the old Safe next action wording; each prints a Next step line, so they now read follow the Next step below. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVdGzSZu585XvGJ13AgHar
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
This supersedes the malformed 23:07:04Z marker on this head, whose prose tail the verifier reads as a withdrawal. The substantive review stands.
Head 6bae776:
- The merge 0ae586e of f881486 and main 96707c0 is clean: its tree 48b77b6799 equals the clean merge-tree of the two parents, so the merge carries main's import with a clean resolution.
- The final commit changes only fixtures/rust_constant_tail_change/expected/CHANGELOG.md and expected/human.txt; the top-gap Safe next action now points at the Next step.
- The semantic check.json is byte-identical across main, the merge and the head (blob e02dad66e1605bc617f207269a2bb36727599f57).
- The earlier substantive review at 22:23:11Z covered the delta and reported cargo xtask goldens check rc 0; I relied on that result.
The head is source-ready.
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Independent reviewer: Lark (/root/review14996). Reviewed head 6bae776 against base main 96707c0. No actionable source or oracle defect found.
I independently inspected the complete 538-file PR patch, the owning render_human_triage path and digest producer render_finding_digest_with_config in sections.rs, new test stimuli/assertions, RIPR-SPEC-0122 top_gap contract, #14173 and its recorded wording decision, prior substantive review 5930270352 and subsequent integration/golden-repair reviews. This is not reliance on the author's review conclusion.
Production: triage.rs:341-359 recognizes both exact digest prefixes; sections.rs:71-73 and 403-419 emit those prefixes. The immutable selected finding is rendered once before choosing the action, and the same digest is appended at triage.rs:609. Moving that pure string construction does not change classification, ranking, command routing, machine formats or other action branches. The revised wording follows the issue's documented shorter wording decision, not an unexplained divergence from the original issue prose.
Oracle challenges: retaining the old action fails the new full-render pointer assertion; hardcoding either new action fails the alternate helper/golden controls; matching an incidental Next step mention fails the negative prefix test. These are source-derived removal/wrong-implementation analyses, not executed mutations. The absence case is additionally pinned by unwrap_err_variant_single_line: its rendered golden has Why weak and Related test but no Next step.
Generated evidence: I fetched all 272 changed human.txt files at this exact head and checked actual full text, not only diff context. Each diff replaces exactly one Safe next action line. All 271 pointer cases have a real indented Next step line; the sole fallback has none. This includes 262 regular fixtures and 10 discarded-matcher reports. All 262 fixture CHANGELOG patches are append-only, using the same issue/spec-linked reason template; the honesty README, spec row and release fragment match the behavior. No JSON or human-full artifact is changed.
Latest repair: commit 6bae776 changes only rust_constant_tail_change human.txt and its CHANGELOG. Its displayed instruction is Add a meaningful assertion that observes the changed value, branch, error, field, event, or side effect, so the pointer is justified. I also independently compared triage.rs with f881486 and found it byte-identical.
Observed proof: qualification run 44189547770 has successful Golden and fixture contracts, Evidence promotion honesty, both actual Required Rust test shards, shard verifier, doctests and Result. The unsharded test step is skipped because shards supply the test proof. I inspected job/step outcomes; I did not execute a local build, test suite or mutation, and did not request CI. Earlier local test counts remain their authors' receipts.
Nonblocking documentation note: the PR body's original 236-fixture count is stale after integration repairs; the current patch contains 262 regular human goldens plus 10 honesty reports. The counts above describe the reviewed head. This source-only review does not alter queue state or claim actual merge-group success.
|
Recorded targeted recovery after verified review-metadata repair: current H remains 6bae776; independent current-head review5948620462 carries the parser-supported first-line marker. Actual G75042c7666a66a5b70f60ae2acf00ba89ee91998 run44195095632 previously passed Rust gates, both shards and verifier, but failed Result134458092853 at final source-review recheck. I requested exactly that failed Result job once through GitHub's native rerun-job endpoint. The API accepted it. Successful product jobs were not separately rerun; no label, source, queue or protection mutation. The rerun must still pass live eligibility and Result before this counts as successful integration; no further retry is authorized by this receipt. |
|
Recovery outcome, superseding the pending status in6964550466: targeted Result rerun134463000492 passed source-review disposition recheck, confirming the metadata repair. It then refused at admission_binding: attempt2 does not match the request minted by attempt1. The native error explicitly says a rerun cannot pass and to re-queue for a new merge group (#8858). I stopped; no repeated retry or label toggle. Existing delivery owner: reconcile the current entry, then use the normal expected-head native queue route for a fresh composition if no successor already exists. Preserve unrelated active groups and all required gates. Successful old-G product jobs are evidence only, not a substitute for fresh protected integration. |
|
Fresh-composition result for the existing owner: G76950bcd603ae7cda8807bf1adab302e0a7b30d0 run44203760401 failed Golden and fixture contracts in job134465118815; both shards/verifier passed and Result134478911662 failed. This time the drift is Please coordinate with the existing #15013 integration work, inspect this fixture's actual rendered Next step and semantic JSON, and include the minimal justified expected-text/CHANGELOG repair on the task branch with exact-head delta review. Preserve active groups; no unchanged rerun, and no blanket golden blessing. Native attempt binding requires fresh normal qualification/queue work after repair, not a rerun of the old Result. I made no CI, source or queue mutation. |
|
Bounded successor diagnosis for the existing owner: run44203760401 / Rust gates job134465118815 failed Golden and fixture contracts, Exactly one human.txt formatting-only drift: rust_predicate_added_disjunct_sibling_field line12 expects At inspection the head is unchanged, entry remains position3/UNMERGEABLE, and no owner repair or successor is visible. Smallest repair remains with the existing source owner: integrate this fixture basis, update this one human golden and append its CHANGELOG reason, preserving semantic JSON; run affected golden/fixture validation and refresh exact-head review and qualification before the normal queue transition. Inspect for any newly introduced fixture drift rather than blind broad blessing. No source edits, CI requests, or queue mutations performed here. |
|
Owner note: the new drift ( Generated by Claude Code |
|
The prerequisite in owner note6965326989 is now satisfied: #15013 merged at2026-11-18T00:48:04Z as90d9f91dbe67528a75f5cf7cd7f13927508d758e; #14979 merged at00:42:43Z as005232ef7cfc66dd36748c703c8750aebde8a34b. Their current actual-G runs44203690771 and44203687411 completed successfully. Please continue the existing owner's planned current-main integration and justified sibling-field golden repair, then exact-head review/qualification and normal protected queue delivery. No competing edit, CI request or queue action was made by this check. |
…rust_predicate_added_disjunct_sibling_field (#14173) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVdGzSZu585XvGJ13AgHar
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY for head 4d6bfaa
Delta since the reviewed head 6bae776: main merged (now including #14979 and #15013) plus one golden commit.
- #15013 added rust_predicate_added_disjunct_sibling_field with the old top-gap wording; it prints a " Next step: " line, so it now reads "Safe next action: follow the Next step below", with a CHANGELOG entry.
- After merging current main, git grep finds the old wording in no fixture. The merges were conflict-free; triage.rs is unchanged since the reviewed head.
- cargo xtask goldens check rc 0 with the fix.
Generated by Claude Code
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Independent exact-head delta review: 4d6bfaa, tree406e7c27d23414171d8c0615da863057a5ff14db, compared with previously reviewed6bae7765b27e3428f05af3dfc382307ee364c7ab. No actionable findings. Earlier full substantive review5948620462 remains the source basis for unchanged logic.
Both intervening merges have no manual resolution delta; latest imported main is90d9f91dbe67528a75f5cf7cd7f13927508d758e. Final repair changes only rust_predicate_added_disjunct_sibling_field human.txt and CHANGELOG. The pointer has a real rendered Next step instruction. Semantic JSON remains byte-identical across imported main, merge and final head (blob2266ea0eacfa6854bf31d2ab2b18bf8ce47c9421). git diff --check passed.
Precision correction to the owner's receipt: triage.rs is not wholly byte-identical to the previous head. Main imports a separate No test stub wording adjustment from 'the seam a stub would target is not a reported gap in the seam view' to 'the spot a stub would target is not a reported gap'. The reviewed Next-step selection logic is unchanged.
No builds or tests executed for this review. Owner reports cargo xtask goldens check rc0. Existing exact-head qualification44212094278 attempt1 is running, admission passed; required Result and subsequent actual-composition evidence are still pending. This review does not request CI or alter the queue.
…wording (#14882) Main's #14944 changed the top-gap Safe next action line; the new fixture added here predates it, so the merge queue saw a one-line drift. The finding class and evidence are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVdGzTchG9gYYGcLuTWLH1
… wording Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YVdGzTv1KKGVk8ZQeEWTTd
Requested by Steven · project thread
Summary
ripr checkselects a test gap, the humanStart hereblock now readsSafe next action: follow the Next step below; this is static advisory evidence only, pointing at the concreteNext stepthe same block prints.Safe next action: inspect or repair the selected non-exposed gap; ..., which restated the State line in internal words.Next step, it readsSafe next action: look at the reason and related test below before changing a test; this is static advisory evidence only. The choice is read from the rendered digest, so it never points at an absent line.Swarm / Source Boundary
ripr-swarmSource-of-truth Links
Spec: docs/specs/RIPR-SPEC-0122-bounded-human-check-output.md (Triage states table,
top_gaprow)Governing issue or accepted claim: #14173
Acceptance delta (one sentence): The top-gap human
Safe next actionline points at theNext stepthe digest prints, and never points at one that is absent.Source review: REVIEW_READY 4d6bfaa
Candidate Relationships
Candidate branch:
claude/project-thread-7tnmjcStack parent or prerequisite PR: none (#14167, the former parent, merged)
Proposed replacement of PR: #14279
Acceptance retained from a replaced candidate: all of it. This ports #14279's own commit
90a02711(code, spec row, changelog, tests, honesty-corpus refresh) onto current main and re-blesses goldens against today's tree. #14279 is a stale Draft whose goldens no longer apply; takeover recorded on #14173.Scope Classification
Production delta:
crates/ripr/src/output/human/triage.rs:top_gap_safe_action_lineanddigest_prints_next_step; the digest is rendered once before the action line.Evidence/support delta:
top_gap_action_points_at_the_next_step_the_digest_printsandtop_gap_action_never_points_at_an_absent_next_step.fixtures/**/expected/human.txtgoldens change exactly that one line (235 to the pointer form, 1 to the no-Next-step form), with a CHANGELOG entry each. The update was scripted and only replaced lines equal to the old phrase with the renderer's new line.evidence-promotion-honesty-corpus/discarded-matcher-reports/*/human.txtreports and their README refresh entry.Non-goals: JSON, SARIF, agent format, classification, ranking, the State line, the
top_gaptoken.Support-tier Impact
Policy Impact
Proof
Claim Boundary
Human wording on the top-gap path only.
Rollback
Revert the commit; goldens revert with it.
Static Language Check
killed,survived,untested,proven, andadequate.CI Economics
n/a
Generated by Claude Code