Skip to content

fix(main): rebless CLI reference for repair/continue --json, plus fixture SPEC class line - #13778

Merged
EffortlessSteven merged 3 commits into
mainfrom
claude/project-thread-4w7hvy
Nov 8, 2026
Merged

EffortlessSteven merged 3 commits into
mainfrom
claude/project-thread-4w7hvy

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Nov 8, 2026 •

Copy link
Copy Markdown
Member

🤖 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.

  1. cli_reference_doc test (new): feat(cli): accept --json on ripr repair and ripr continue (#11584, partial) #13718 added --json to the help for ripr repair and ripr 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.md is now stale, and cargo test -p ripr --test cli_reference_doc fails, as seen in the Rust-only feature lane on this PR. This PR regenerates the file with RIPR_BLESS_CLI_REFERENCE=1. The diff only adds the two --json usage and option entries.
  2. check-fixture-contracts: fix(classify): settle a module-path wrapper entry through the shared call identity (#13625) #13668 left one stale expected-class line in fixtures/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

  • ordinary feature, analyzer, editor, docs, spec, fixture, badge, dependency, or repo-ops development for ripr-swarm

Source-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_doc passes on main.

Evidence

  • On this head, merged with main a3edbf9: RIPR_BLESS_CLI_REFERENCE=1 cargo test -p ripr --test cli_reference_doc reblesses, then passes with 2 tests.
  • cargo xtask check-fixture-contracts passes.

Generated by Claude Code

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

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

@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 38 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: da551680-6fea-464d-bffd-98cb739621ec
Commits

Reviewing files that changed from the base of the PR and between a3edbf9 and 06a26b2.

Files selected for processing: 2

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

@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 06a26b2db7eb · run · advisory, static evidence only (not a mutation run).

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

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 EffortlessSteven changed the title fix(fixtures): align module_reach_control_qualified SPEC class with #13625 (main precommit red) fix(main): rebless CLI reference for repair/continue --json, plus fixture SPEC class line 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 06a26b2 changes two files.

  • docs/CLI_REFERENCE.md: generated by the repository's bless command from the current binary. The diff only adds the --json usage token and option text that #13718 introduced for repair and continue. After reblessing, cli_reference_doc passes 2/2.
  • Fixture SPEC line: identical to #13773. check-fixture-contracts passes.

There are no product code changes.


Generated by Claude Code

EffortlessSteven commented Nov 8, 2026 •

Copy link
Copy Markdown
Member Author

#13773 merged as 6e974ac with the same one-line expected-classes fix, and #13771 is closed.

[Edit: This PR is now superseded. This PR now also regenerates docs/CLI_REFERENCE.md, which fixes the separate cli_reference_doc break on main (#13793). It still carries a needed fix, so it should stay open and land. The SPEC line is identical to main's, so it should merge cleanly.]


Generated by Claude Code

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