Skip to content

fix(typescript): refusal reasons lead with the remedy - #11780

Merged
EffortlessSteven merged 2 commits into
mainfrom
claude/project-thread-397b2c
Oct 31, 2026
Merged

EffortlessSteven merged 2 commits into
mainfrom
claude/project-thread-397b2c

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Oct 31, 2026 •

Copy link
Copy Markdown
Member

Summary

  • TypeScript repair refusals (unreachable boundary input, unresolved boundary constant, unconfirmed effect assertion) now lead with the remedy, so the 180-char one-line "Safe next action" cuts the cause, not the remedy.
  • "delegatable" becomes "handed to an agent" per docs/USER_TEXT_GLOSSARY.md.
  • Four fixture goldens blessed (RIPR-SPEC-0087, RIPR-SPEC-0243), blind-journey corpus rows and one ledger test updated.

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-0087, RIPR-SPEC-0243
Governing issue or accepted claim: #11671
Acceptance delta (one sentence): Each listed TypeScript refusal reason leads with the remedy, with goldens and blind-journey rows updated.

Candidate Relationships

Candidate branch (GitHub PR head is authoritative after publication): claude/project-thread-397b2c

Proof

cargo xtask goldens check shows no drift for these fixtures (only an unrelated offline dependency fetch error for owner_return_pin_fallible_literal). cargo xtask precommit and test builds could not finish in this container (linker bus error), so the test suite relies on hosted CI. Static evidence only; no runtime claim.

🤖 Generated with Claude Code

https://claude.ai/code/session_016EQRVm8xvAPokaTJ8sihbP

The unreachable-boundary, unresolved-constant and unconfirmed-effect
validator reasons now start with the remedy and say "handed to an agent"
instead of "delegatable". Four fixture goldens and the blind-journey
corpus rows are updated to the new wording.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016EQRVm8xvAPokaTJ8sihbP
@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 Oct 31, 2026
@coderabbitai

coderabbitai Bot commented Oct 31, 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 39 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 150 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: b5309cc7-f8db-4bfa-a039-39b5ba993498
Commits

Reviewing files that changed from the base of the PR and between 2287778 and 95907f7.

Files selected for processing: 19
  • changelog.d/11671-ts-refusal-remedy-first.md
  • crates/ripr/src/output/gap_decision_ledger.rs
  • crates/ripr/src/output/typescript_packet_projection.rs
  • fixtures/blind_journey_execute/corpus.json
  • fixtures/ts_repair_packet_boundary_constant_unresolved/expected/CHANGELOG.md
  • fixtures/ts_repair_packet_boundary_constant_unresolved/expected/check.json
  • fixtures/ts_repair_packet_boundary_constant_unresolved/expected/human-full.txt
  • fixtures/ts_repair_packet_boundary_constant_unresolved/expected/human.txt
  • fixtures/ts_repair_packet_boundary_literal_guarded/expected/CHANGELOG.md
  • fixtures/ts_repair_packet_boundary_literal_guarded/expected/check.json
  • fixtures/ts_repair_packet_boundary_literal_guarded/expected/human.txt
  • fixtures/ts_repair_packet_boundary_unreachable/expected/CHANGELOG.md
  • fixtures/ts_repair_packet_boundary_unreachable/expected/check.json
  • fixtures/ts_repair_packet_boundary_unreachable/expected/human-full.txt
  • fixtures/ts_repair_packet_boundary_unreachable/expected/human.txt
  • fixtures/typescript_effect_owner_alias/expected/CHANGELOG.md
  • fixtures/typescript_effect_owner_alias/expected/check.json
  • fixtures/typescript_effect_owner_alias/expected/human-full.txt
  • fixtures/typescript_effect_owner_alias/expected/human.txt
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 31, 2026 16: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!

@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 one verification check before upstream.

Verification questions

  • Confirm the blind-journey corpus updates only the unresolved-constant scenario and may not directly cover the other three changed refusal routes.

Evidence gaps

  • Executable test proof for the changed Rust behavior was not completed in the available evidence.
  • The changed Rust assertion checks the new remedy-first substring, but its execution status is not evidenced.
  • The PR's runtime-proof claim is not substantiated by available receipts: RIPR failed with exit code 2 and cargo-test's receipt is absent.
  • Model proof intent was rejected by deterministic validation.
  • Static review cannot establish that all generated outputs remain synchronized because RIPR failed and the cargo-test receipt is absent.
  • Full runtime and regression proof is not available from the supplied receipts.

Copy link
Copy Markdown
Member Author

CI note: the Rust-only feature lane failure is not from this PR. Two agent::refusal_tests (before_phase_refuses_dirty_production_premise_before_the_seam_inventory and gap_before_phase_refuses_dirty_production_premise_before_the_snapshot) still assert the old "differ from HEAD:" wording that #11596 replaced, so they fail on main as well. The fix is already open in #11734 ("unbreak main after #11596 … stale refusal assertions"). I will rebase onto main once #11734 merges and then re-request qualification, rather than widen this PR.


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 reviewer attention before upstream: findings remain.

Confirmed findings

  • sensors/cargo-test/ub-review-sensor-status.json:1 — Supply a successful focused test/golden receipt for the changed TypeScript projection and updated fixtures. Static consistency alone cannot establish that the generator and four goldens agree; RIPR failed with exit 2 and the cargo-test receipt is absent.

Verification questions

  • Confirm the changed corpus updates directly exercise only the unresolved-boundary-constant refusal route, not the literal-boundary or effect-owner routes.
  • Confirm the blind-journey corpus directly exercises only the unresolved-boundary-constant refusal, not the unreachable-boundary or unconfirmed-effect routes.
  • Confirm the changed Rust assertion checks only the new remedy-first substring, so it does not itself prove that the complete generated output remains synchronized across all affected routes.
  • Confirm the blind-journey corpus updates only the unresolved-constant scenario, so it does not independently demonstrate the unreachable-boundary and unconfirmed-effect routes.

Evidence gaps

  • The PR's runtime-proof claim remains unsupported in the supplied evidence because RIPR failed and the cargo-test receipt is absent.
  • Model proof intent was rejected by deterministic validation.
  • The PR claims four fixture goldens and blind-journey corpus updates, but the available corpus changes cover the unresolved-constant scenario rather than every listed refusal route.
  • The changed refusal messages consistently lead with an actionable remedy, but the available evidence does not execute the Rust path or golden checks.

@EffortlessSteven
EffortlessSteven merged commit aaf5691 into main Oct 31, 2026
59 checks passed
@EffortlessSteven
EffortlessSteven deleted the claude/project-thread-397b2c branch October 31, 2026 20:36
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