Repository navigation
fix(main): rebless CLI reference for repair/continue --json, plus fixture SPEC class line - #13778
Conversation
…13625 #13668 (#13625) settled the qualified wrapper's return_value probe to exposed and updated the prose, but left the SPEC expected-class line at weakly_exposed. The fixture-contract check from #13613 now fails precommit on main for every PR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg
|
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
Reviewed the one-line diff against main 2ac0c46. The golden expected/check.json records exposed for both probes, and SPEC.md line 17 already states that both read exposed per #13625. Only the expected-class line disagreed. After the change, cargo xtask check-fixture-contracts passes locally. No product code, golden or traceability changes.
Generated by Claude Code
|
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 38 minutes. View limit details
|
…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. |
#13718 added --json to `ripr repair` and `ripr continue` help while #13731 landed the generated-reference freshness test, so cli_reference_doc fails on main. Regenerated with RIPR_BLESS_CLI_REFERENCE=1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY
Head 06a26b2 changes two files.
docs/CLI_REFERENCE.md: generated by the repository's bless command from the current binary. The diff only adds the--jsonusage token and option text that #13718 introduced forrepairandcontinue. After reblessing,cli_reference_docpasses 2/2.- Fixture SPEC line: identical to #13773.
check-fixture-contractspasses.
There are no product code changes.
Generated by Claude Code
|
#13773 merged as 6e974ac with the same one-line [Edit: Generated by Claude Code |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLVHnMQXBm6voKj1B8e
Picks up #13778, which reblesses docs/CLI_REFERENCE.md after the repair/continue --json help change. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLUGWB1o9vpixujro7H
Resolve the docs/CLI_REFERENCE.md conflict with #13778 by regenerating it with RIPR_BLESS_CLI_REFERENCE=1 on the merged tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg
Main at 66784c9 lacks the completions entry: #13778 reblessed from a tree without #13667. Generated with RIPR_BLESS_CLI_REFERENCE=1; no CLI source differs from main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWwPp2QsskapES8KVk
Picks up #13778 (CLI reference rebless) that the hosted Rust tests on 74202fb were missing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLStdGD5SFJiwnVQVRW
#13778 reblessed docs/CLI_REFERENCE.md against a base without #13667, so main's cli_reference_doc test fails on the missing completions entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoNkcHb5xqvctzMo3
#13778 reblessed docs/CLI_REFERENCE.md against a base without #13667, so main's cli_reference_doc test fails on the missing completions entry. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLSoNkcHb5xqvctzMo3
ripr completions, so cli_reference_matches_the_binary fails
#13813
Takes main's regenerated CLI reference (#13778, #13811: --json and completions). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWwPp2QsskapES8KVk
…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>
…12610) (#12870) * fix(grip): refuse adapter-fed oracles on predicate boundaries (Closes #12610) When a related test supplies its own Err through a value-supplying adapter (.or(Err(..)) or .or(..).unwrap_err()), do not treat its exact-value oracle as discriminating a predicate_boundary seam on the same owner. Adds adapter_fed_assertion helpers in test_grip_evidence, an integration test mirroring adapter-fed-error, corpus expected_repo_seam_grip for n % 2 == 1, and a recaptured repo-exposure report. Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com> * fix(honesty): recapture adapter-fed-error report on merged main (#12610) * fix(grip): reuse the patterns.rs owner for adapter-fed refusal; witness it with a map_err subject (#12610) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmpGt2Cc9qVxZhACKk5 * fix(honesty): recapture adapter-fed-error report with the map_err subject (#12610) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SvmPmpGt2Cc9qVxZhACKk5 * Recapture honesty reports at cache 1.171 from a clean checkout (#12610) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWwPp2QsskapES8KVk * Restamp boundary_gap unchanged-after-attempt chain at cache 1.171 (#12610) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWwPp2QsskapES8KVk * Classify adapter-replaced error reads as relational on every seam (#12610) Route the refusal through the oracle classifier, the owning validator, instead of a predicate-boundary-only grip check; cover UFCS error reads, ignore diagnostic arguments, pin parse_remapped and n % 2 == 1 in the honesty corpus, and port the #12691 .or(Err(..)) regression test. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWwPp2QsskapES8KVk * Restamp boundary_gap unchanged-after-attempt chain at cache 1.172 (#12610) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWwPp2QsskapES8KVk * Re-cut seam cache to the assigned 1.175 / 0.177 slot (#12610) 1.172 to 1.174 are assigned to concurrent candidates (#12669, #12376, #12541). Version carriers and the boundary_gap chain are restamped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWwPp2QsskapES8KVk * Recapture honesty reports at cache 1.175 from a clean export (#12610) wrapper-fed-error: wrapped_masked's Result::or(..).unwrap_err() read now classifies as a weak relational check, so parse_wrapped Ok(n) and the id helper's return read weakly_gripped instead of strongly_gripped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWwPp2QsskapES8KVk * Restamp boundary_gap unchanged-after-attempt chain at cache 1.175 (#12610) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWwPp2QsskapES8KVk * Recapture honesty reports at cache 1.175 after merging main (#12610) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWwPp2QsskapES8KVk * Rebless CLI reference for ripr completions (#13667) Main at 66784c9 lacks the completions entry: #13778 reblessed from a tree without #13667. Generated with RIPR_BLESS_CLI_REFERENCE=1; no CLI source differs from main. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWwPp2QsskapES8KVk * Restamp boundary_gap unchanged-after-attempt chain at cache 1.175 (#12610) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWwPp2QsskapES8KVk * Recapture honesty reports at cache 1.175 after merging main (#12610) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLWwPp2QsskapES8KVk --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com> Co-authored-by: Claude <noreply@anthropic.com>
🤖 Generated with Claude Code
https://claude.ai/code/session_01UNUoLSoFodhRSfKyLdQTcg
Summary
Main has two independent breaks. Both come from PRs that were squash-merged without seeing each other.
cli_reference_doctest (new): feat(cli): accept --json on ripr repair and ripr continue (#11584, partial) #13718 added--jsonto the help forripr repairandripr continue. test(cli): keep the generated CLI reference current and free of internal references #13731 landed the generated-reference freshness test at the same time.docs/CLI_REFERENCE.mdis now stale, andcargo test -p ripr --test cli_reference_docfails, as seen in the Rust-only feature lane on this PR. This PR regenerates the file withRIPR_BLESS_CLI_REFERENCE=1. The diff only adds the two--jsonusage and option entries.check-fixture-contracts: fix(classify): settle a module-path wrapper entry through the shared call identity (#13625) #13668 left one stale expected-class line infixtures/module_reach_control_qualified/SPEC.md, and the check added in goldens: machine-check fixture expected classes against check.json (#12928) #13613 catches it. fix(fixtures): declare module_reach_control_qualified return_value as exposed (#13771) #13773 owns this fix. This PR carries the identical line only so that its own CI can pass. If fix(fixtures): declare module_reach_control_qualified return_value as exposed (#13771) #13773 lands first, that hunk merges to nothing.Swarm / Source Boundary
ripr-swarmSource-of-truth Links
Governing issue or accepted claim: #11584 (CLI reference follow-up to #13718); #13625 (fixture line, owned by #13773)
Acceptance delta (one sentence): The generated CLI reference matches the binary's help again, so
cli_reference_docpasses on main.Evidence
RIPR_BLESS_CLI_REFERENCE=1 cargo test -p ripr --test cli_reference_docreblesses, then passes with 2 tests.cargo xtask check-fixture-contractspasses.Generated by Claude Code