Repository navigation
fix(fixtures): declare module_reach_control_qualified return_value as exposed (#13771) - #13773
Conversation
… exposed (#13771) #13668 re-blessed the fixture to exposed but left the SPEC expected-classes block at weakly_exposed; check-fixture-contracts (#13613) now compares them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoNkcHb5xqvctzMo3
|
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 5 minutes. View limit details
|
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY — head 846014e
A fresh-context subagent independently compared the SPEC expected-classes block with expected/check.json: both probes read exposed. SPEC prose and human.txt agree. The block format matches parse_expected_classes in xtask/src/fixture_expected_classes.rs.
Generated by Claude Code
…ified Same one-line fix as #13773/#13778: main's precommit fails check-fixture-contracts after #13668 and #13613 merged independently. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg
ripr static exposure checkCommit Took 1s. |
|
Merged as 6e974ac. Required The non-required Generated by Claude Code |
|
FYI: #13774, which makes the same one-line SPEC change, merged as 8e74baf. Main now declares Generated by Claude Code |
Picks up #13773 (module_reach_control_qualified fixture contract), which the Rust gates check-fixture-contracts step needs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLUGWB1o9vpixujro7H
Picks up #13773 (module_reach_control_qualified fixture SPEC), which the hosted Rust gates on b80650f were missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLStdGD5SFJiwnVQVRW
…fixture fix) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLVHnMQXBm6voKj1B8e
Picks up main-side repairs for the hosted Rust gates failure on ff84b89: module_reach_control_qualified SPEC (#13773) and the regenerated CLI reference (#13731). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWwPp2QsskapES8KVk
#13718 added --json to `ripr repair`/`ripr continue` help while #13731 landed the generated-reference freshness test; cli_reference_doc failed on main. Regenerated with RIPR_BLESS_CLI_REFERENCE=1. The fixture SPEC line duplicates #13773 and merges to nothing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWewbvtqBUewLV4hdT
…rors (#11584) (#13720) * wip: cli refusal envelope (unverified) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg * Add cli_refusal schema, tests, docs and verification registrations Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg * Update usage-error tests for cli_refusal; register xtask contract Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg * Assert the refusal block on real check refusals and its absence on completed runs; pin explicit-JSON usage-error documents Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg * Fail closed: selector_miss next is always null; pin with a hostile selector Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg * Schemas: require the refusal block on refusal documents and forbid it on completed runs Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg * fix(schema): admit partial-scope check runs; scope cli_refusal docs The #11584 check.schema.json conditional required the refusal block on any document whose analysis_scope object carried run_status. A completed bounded partial-scope run (RIPR-PROP-0019) writes analysis_scope with run_status limited_partial_scope and findings but no refusal block, so the rule rejected it. Key the refusal arm on a run_status other than limited_partial_scope, fix the rule description, and register a real partial-scope check capture as an edge fixture plus a test that exercises both arms in both directions. Docs (OUTPUT_SCHEMA, EXIT_CODES, RIPR-SPEC-0241, changelog fragment) now name the argv classes that write cli_refusal under a JSON request and list the ones that keep empty stdout (missing value, malformed value, conflicting flags, values rejected outside the shared unknown-value builder). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg * cli: cover json-terse and context stray positionals in cli_refusal (#11584) - JSON-request detection now asks the format owner: OutputFormat gains an exhaustive is_json_request(), and usage_refusal parses --format through OutputFormat::parse_cli_name instead of a hand-kept name list, so json-terse (and check-findings-json) are JSON requests; SARIF and the Shields projections stay outside. - `ripr context --json <positional>` notes an unknown_argument refusal with the existing prose and `next` = `ripr context --help`. - RIPR-SPEC-0241 acceptance example, required evidence and traceability now match the amendment and the renamed test; specs index summary updated. - check-partial-scope fixture uses repo-relative fixture paths instead of captured absolute local paths (check-local-context). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg * repair/continue --json: unknown flags write the cli_refusal document After merging main (#13718), `ripr repair --json --bogus` and `ripr continue --json --bogus` already route through `suggest::unknown_argument` and its `note_unknown_argument` helper, so the run boundary writes the standalone `cli_refusal` document on stdout (exit 2 and stderr prose unchanged, #6834 decision). Update the #13718 test to assert that document (code, token, next, minimal shape) with a no-`--json` negative control, rename it to repair_and_continue_json_keep_refusals_prose_and_usage_errors_cli_refusal and update its traceability and RIPR-SPEC-0011 registrations. Repair refusals and continue selection refusals still keep stdout empty. Help text, COMMAND_HIERARCHY, OUTPUT_SCHEMA, the RIPR-SPEC-0011 amendment and the changelog fragment now say unknown flags (and stray continue positionals) print the cli_refusal document while other argv usage errors keep stdout empty. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg * fix(fixtures): port main SPEC class fix for module_reach_control_qualified Same one-line fix as #13773/#13778: main's precommit fails check-fixture-contracts after #13668 and #13613 merged independently. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg * docs(cli): rebless CLI reference after merging main main's docs/CLI_REFERENCE.md went stale when #13718 and #13731 merged independently; regenerated on this branch's merged tree with RIPR_BLESS_CLI_REFERENCE=1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg * fix(schema): keep #11584 refusal block additive in check schemas The schema-compatibility check (#1720) rejects newly required keys and an added allOf without a schema_version bump. Bumping check 0.2 would ripple through every check golden, so keep `status`/`error` optional and drop the refusal/partial-scope conditional. The producer still writes the block on every refusal; the xtask test now pins that on the producer-captured fixtures, and the schema still rejects a malformed block. OUTPUT_SCHEMA records that the pairing becomes a schema rule at the next bump. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg --------- Co-authored-by: Claude <noreply@anthropic.com>
Requested by Steven Zimmerman · project thread
Governing issue or accepted claim: #13771
Acceptance delta (one sentence): The
expected-classesblock infixtures/module_reach_control_qualified/SPEC.mddeclares the return_value probeexposed, matchingexpected/check.json, socheck-fixture-contractspasses on main again.Why
#13668 re-blessed this fixture so both probes read
exposed. Its prose at SPEC.md:17 says so, andcheck.jsonhasexposedfor both. The machine-checkedexpected-classesblock still hadweakly_exposedforreturn_value:438cae72. #13613 landed in parallel and now compares the block with check.json, so main went red. This one-line change aligns the declaration. It matches the siblingmodule_reach_bare_import_control, which declares both probesexposed.Checks
The SPEC block was parsed and compared with
expected/check.json. Both probes areexposedon each side, and they match. Localcargo xtask check-fixture-contractscould not run because the container disk allowance was full (No space left on device). Hosted CI is the authority.Generated by Claude Code