Skip to content

fix(fixtures): declare module_reach_control_qualified return_value as exposed (#13771) - #13773

Merged
EffortlessSteven merged 1 commit into
mainfrom
claude/fix-13771-spec-class
Nov 8, 2026
Merged

EffortlessSteven merged 1 commit into
mainfrom
claude/fix-13771-spec-class

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

Requested by Steven Zimmerman · project thread

Governing issue or accepted claim: #13771

Acceptance delta (one sentence): The expected-classes block in fixtures/module_reach_control_qualified/SPEC.md declares the return_value probe exposed, matching expected/check.json, so check-fixture-contracts passes on main again.

Why

#13668 re-blessed this fixture so both probes read exposed. Its prose at SPEC.md:17 says so, and check.json has exposed for both. The machine-checked expected-classes block still had weakly_exposed for return_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 sibling module_reach_bare_import_control, which declares both probes exposed.

Checks

The SPEC block was parsed and compared with expected/check.json. Both probes are exposed on each side, and they match. Local cargo xtask check-fixture-contracts could not run because the container disk allowance was full (No space left on device). Hosted CI is the authority.


Generated by Claude Code


Devin Review

… 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
@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!

@coderabbitai

coderabbitai Bot commented Nov 8, 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 5 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 152 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: fdb37963-b5bb-4d8d-b5af-a2e7b333c216
Commits

Reviewing files that changed from the base of the PR and between f7b7f2f and 846014e.

Files selected for processing: 1

  • fixtures/module_reach_control_qualified/SPEC.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@EffortlessSteven EffortlessSteven self-assigned this Nov 8, 2026

@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 — 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

@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: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

EffortlessSteven pushed a commit that referenced this pull request Nov 8, 2026
…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
@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

ripr static exposure check

Commit 846014e850aa · run · advisory, static evidence only (not a mutation run).

#ripr agent static-advisory base=f7b7f2f0aa0f8810d004016d3f8f4441c838d9b0 findings=0 gaps=0
done=no changed behavior found in scope; static advisory, not runtime proof

Took 1s.

Copy link
Copy Markdown
Member Author

Merged as 6e974ac. Required Ripr Rust Small Result was green on the head (846014e).

The non-required Rust-only feature lane was red for a reason unrelated to this one-line SPEC.md change: cli_reference_matches_the_binary (crates/ripr/tests/cli_reference_doc.rs:139) reports docs/CLI_REFERENCE.md is stale on main (job). This diff touches neither the CLI nor that doc. I'm filing it separately.


Generated by Claude Code

Copy link
Copy Markdown
Member Author

FYI: #13774, which makes the same one-line SPEC change, merged as 8e74baf. Main now declares return_value:438cae72 -> exposed, so this PR's diff against main should be empty. I'm leaving the disposition to its owner.


Generated by Claude Code

EffortlessSteven pushed a commit that referenced this pull request Nov 8, 2026
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
EffortlessSteven pushed a commit that referenced this pull request Nov 8, 2026
…fixture fix)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UNUoLVHnMQXBm6voKj1B8e
EffortlessSteven pushed a commit that referenced this pull request Nov 8, 2026
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
EffortlessSteven added a commit that referenced this pull request Nov 8, 2026
#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
EffortlessSteven pushed a commit that referenced this pull request Nov 8, 2026
EffortlessSteven added a commit that referenced this pull request Nov 8, 2026
…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>
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