Repository navigation
fix: name a next step in remaining app-layer refusal messages - #11707
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmp1dk37XMDiDt4z11j
…fragment Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmp1dk37XMDiDt4z11j
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Next included review available in 39 minutes. View limit details
|
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmp1dk37XMDiDt4z11j
There was a problem hiding this comment.
Reporter summary
The displayed diff appears to make the intended narrow change—adding actionable guidance to refusal/error messages, updating representative assertions, and removing matching stale policy baselines—and manual inspection found no concrete code defect or unrelated baseline deletion. However, verification is incomplete: the late cargo-test sensor failed with exit 101 while the PR claims the scoped refusal-next-step test passes, and the ripr sensor also failed with exit 2 without diagnostics in the available context. Most lanes failed preflight, so memory/lifetime, active-view, worker-handoff, sibling-path, and security concerns remain unexamined; the strongest unresolved objection is that baseline removal could mask a scanner mismatch or the cargo-test failure could reflect an environmental or diff-related regression.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmp1dk37XMDiDt4z11j
There was a problem hiding this comment.
Verification questions
- Confirm deleting the app-layer policy baselines is consistent with the changed messages, but no successful policy receipt proves that no matching fragment remains.
- Confirm the changed agent-gap error is path-dependent, so exact-message tests may be brittle across platforms.
- Confirm a full consumer-string audit remains necessary because error messages are externally observable CLI behavior.
- Confirm several changed error strings still lack a next step despite the PR claim.
- Confirm most changed next-step messages have no corresponding changed assertion, so the patch does not itself show that each guidance string is emitted or actionable.
- Confirm the sole visible assertion updates cover changed error text and do not exercise or alter active-view invariants.
- Confirm the changed error strings preserve the original failure context and append an actionable next step, but only a few assertions were updated.
Evidence gaps
- The required cargo-test receipt is still absent while the prior summary records an exit-101 failure; this PR's passing-test claim is not evidenced.
- A successful cargo-test receipt is required to validate the claimed scoped test and determine whether the failed ripr sensor reflects a regression.
- Executable verification is incomplete because cargo-test has no receipt and the ripr sensor failed with exit code 2.
- Model proof intent was rejected by deterministic validation.
- The advertised proof was not available in the supplied sensor packet.
|
Review of record, head 5914366 (main merged in). Angles and findings:
Threads: none open. Merge is gated on Generated by Claude Code |
|
Review of record, head Angles: (1) behavior preservation, (2) message truthfulness, (3) test and guard coverage, (4) process/security surface, (5) bot-review findings.
No blocking findings. Merging with expected-head squash. Generated by Claude Code |
Requested by Steven · project thread
Governing issue or accepted claim: #11539
Acceptance delta (one sentence): The app-layer and CLI-layer error messages that named a failure without a next step now name one, and their baseline lines are removed.
Follow-up to #11539/#11590. Rewrites the app-layer and CLI-layer error messages that named no next step (agent brief, gap packet, receipts, status, workflow, annotations, check artifacts, PR evidence/summary, repair card, task-first, etc.) to name one, updates the affected test assertions, and removes the corresponding entries from
policy/refusal-next-step.d/.Rebased onto main after the guard merged; the guard's stale-baseline check passes, so every remaining fragment entry still offends. The output-layer entries (124 fragment files) are intentionally left for a follow-up PR.
Local proof:
cargo test -p ripr --test refusal_next_steppasses; the scoped lib/cli_smoke run showed only environmental failures (test temp dirs under a git ancestor) plus three stale assertions, which this PR fixes. Hosted CI is the full runner.Generated by Claude Code