Repository navigation
fix(classify): settle a module-path wrapper entry through the shared call identity (#13625) - #13668
Conversation
…call identity (#13625) The return-value twin of a whole boolean tail read the asserted wrapper call only through direct_call_name, which refuses any path, so the qualified module-reach control stayed weakly_exposed while the bare-import control with the same diff read exposed. Accept a plain module-path spelling when the shared qualified_owner_calls_resolve authority settles it on the wrapper. Co-Authored-By: Claude Sonnet 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 50 minutes. View limit details
|
Resolve module_reach_control_qualified expected human.txt/CHANGELOG.md: keep exposed outcome from #13625; goldens check passes unchanged. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoNkcHb5xqvctzMo3
…pper (#13625) qualified_owner_calls_resolve admits every spelling of a non-free owner, so a method wrapper could otherwise borrow any plain-path X::name(..) call. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoNkcHb5xqvctzMo3
|
SOURCE_REVIEW_READY Head: d4e438b Independent review of 1d63044 (fresh-context subagent). Clean. 17 counterexample variants were run against the built ripr binary, and none of them were credited. They covered:
The positive control stays Latent finding, repaired in d4e438b. Local checks at d4e438b:
Accepted proof gap. No end-to-end negative fixture shows a different-function path being refused at this pin. Reach already declines those cases upstream, as the 17 variants show. Generated by Claude Code |
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY — head d4e438b
Two independent fresh-context reviews were run, one of the full diff at 1d63044 and one of the 1d63044..d4e438b delta. Details are in the PR conversation. Hosted CI has not run yet.
Generated by Claude Code
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoNkcHb5xqvctzMo3
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY — head c7f5610
Since d4e438b the only change is one new changelog.d fragment, which passes the fragment and static-language checks. Production code and tests are unchanged.
Generated by Claude Code
ripr static exposure checkCommit Took 59s. |
…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
…tled exposed class #13668 settled the qualified module-reach wrapper entry through the shared call identity (#13625) and regenerated expected/check.json to exposed, but left the expected-classes block at weakly_exposed, so check-fixture-contracts (#12928) fails on current main for any PR that touches fixtures. The block now matches the intended class stated in the same SPEC's Then section and in the regenerated check.json. No corpus pin held this probe at weakly_exposed; the honesty-corpus entry covers the predicate family with maximum_class exposed. Co-authored-by: Claude <noreply@anthropic.com>
… exposed (#13771) (#13773) #13668 re-blessed the fixture to exposed but left the SPEC expected-classes block at weakly_exposed; check-fixture-contracts (#13613) now compares them. Claude-Session: https://claude.ai/code/session_01UNUoLSoNkcHb5xqvctzMo3 Co-authored-by: Claude <noreply@anthropic.com>
…finding exposed (#13774) #13668 (#13625) made the qualified module-reach control read exposed, and its SPEC prose says so, but the expected-classes block added by #13613 (#12928) still declared weakly_exposed. The two merged independently and check-fixture-contracts now fails on main for every PR. Align the block with the intended class stated in the same SPEC. Claude-Session: https://claude.ai/code/session_01UNUoLXGWmKDBx3oMbDNGkJ Co-authored-by: Claude <noreply@anthropic.com>
…ts golden #13668 changed the fixture's expected check.json and prose to `exposed` but left the machine-checked class line at `weakly_exposed`, so check-fixture-contracts (added by #13613) fails on main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSZQNCvcBkuWYiSWaM
…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>
…ing (#9992) (#13432) * fix(python): withhold protocol credit after multiline receiver rebinding (#9992) * fix(fixtures): align module_reach_control_qualified SPEC with the settled exposed class #13668 settled the qualified module-reach wrapper entry through the shared call identity (#13625) and regenerated expected/check.json to exposed, but left the expected-classes block at weakly_exposed, so check-fixture-contracts (#12928) fails on current main for any PR that touches fixtures. The block now matches the intended class stated in the same SPEC's Then section and in the regenerated check.json. No corpus pin held this probe at weakly_exposed; the honesty-corpus entry covers the predicate family with maximum_class exposed. Co-authored-by: Claude <noreply@anthropic.com> * test(lsp): align the gap-corpus consumer pin with cache generation 1.175 CodeRabbit major: the LSP lifecycle corpus check still compared against 1.174 after the union recomposition bumped CACHE_SCHEMA_VERSION to 1.175. Corpus consumer and live cache identity now match. Co-authored-by: Claude <noreply@anthropic.com> * docs(review): reword attestation to satisfy check-static-language Co-authored-by: Claude <noreply@anthropic.com> * chore(corpus): follow the Rust cache generation to 1.175 Main's seam-cache line moved to 1.175 after this branch's rebase; the 21 Rust-only honesty-corpus pins moved with it. Judged fields are unchanged (the regeneration guard re-ran every subject at the current generation before this pin assertion). Co-authored-by: Claude <noreply@anthropic.com> --------- Co-authored-by: Claude <noreply@anthropic.com>
Requested by Steven Zimmerman · project thread
Governing issue or accepted claim: #13625
Acceptance delta (one sentence): The same changed behavior now classifies
exposedwhether the test reaches the wrapper by bare import or by a module-qualified path, somodule_reach_control_qualifiedandmodule_reach_bare_import_controlagree.Which side was wrong
The qualified fixture (
weakly_exposed) was the miss. The bare-importexposedis right on independent grounds: the test calls the wrapper at inputs 10 and 9, which straddle the10 <= qtyboundary, and the exactassert_eq!pins the wrapper's whole boolean return.wrapper_return_boundary_pinnedread the asserted entry only throughdirect_call_name, which refuses every path. It now also accepts a plain module-path spelling when the sharedqualified_owner_calls_resolveauthority settles that path on the wrapper. A path naming another module's same-named function is still refused.Local checks
cargo xtask precommit: passcargo xtask fixtures: pass (onlymodule_reach_control_qualifieddrifted; re-blessed with reason)cargo xtask goldens check: passpath_qualified_whole_call_reads_only_a_whole_plain_path_call: passHosted CI not yet run.
Generated by Claude Code