Repository navigation
ux(0.11): name one gap with one word across check, pilot and agent repair - #4520
Conversation
…pair `ripr check` reported a gap as `weakly_exposed` and `ripr pilot` reported the same gap as `weakly_gripped`, and the repair packet said "extend the nearest related test" while pilot named a new test to add. Both classes are published schema values, so the values stay. Human lines now lead with the plain word the check summary already uses (weak, unrevealed, no path, unknown) and keep the value beside it. The actionability reason text now matches the recommended new test. Goldens: 213 human.txt files re-blessed, formatting-only drift on the Static exposure and Why lines. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw
…-size-n0b0lc # Conflicts: # CHANGELOG.md
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Important Review skippedToo many files! This PR contains 454 files, which is 354 over the limit of 100. To get a review, reduce the PR to 100 files or fewer by splitting it into smaller PRs or changing its base branch. Upgrade to a paid plan to raise the limit. Usage-priced reviews support at most 300 files. ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (454)
You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Decision
- Needs reviewer attention before upstream: findings remain.
Confirmed findings
- Smell, not a bug: from_schema_value is pub(crate) on a non-exhaustive enum and silently returns None for unknown values. Two call sites pass arbitrary schema strings; a future drift between the JSON schema enum and the Rust enum would render the after-phase line in the legacy format without any test firing. The compiler-enforced neighbor test (grip_and_exposure_counterparts_share_one_plain_word) only covers known values.
Verification questions
- Confirm goldens re-blessed via cargo xtask goldens bless; SHA256 fields in boundary_gap fixture artifacts updated for the new reason text; this is content drift, not a buffer-active-view concern.
- Confirm active-view/buffer review posture: this PR touches no resizable buffer, ArrayBuffer, TypedArray, detach, or transfer code; all 447 changed files are docs/fixtures + a handful of human-wording Rust edits. No UB/active-view regression is plausible from this diff alone, but heavy sensors (miri, cargo-test, build) are still scheduled-late/skipped for this profile; a green miri run on ripr after merge would be the strongest confirmation, and is requested via proof_intents.
Refuted
- Box::from(slice)/Box::<[u8]>::from(slice) allocation-failure interaction with new human_label() String; refuted because: No Box::from(slice) introduced anywhere in the diff; human_label returns an owned String built from format! of &'static str + as_str(); caller-owned, no shared active view; allocation failure not raised by the diff or seeded thread.
- The new 'extend the nearest related test' -> 'add a focused test ... next to the nearest related test' reason is a tautological oracle / smoke-only repair recommendation.; refuted because: evidence_record.rs actionability_for only swaps the human reason string for the Ready/related_test arm; the actionability class, canonical_item.actionability, and the recommended_test/nearest_test_to_imitate/candidate_values fields (the actual oracle-bearing payload) are unchanged. The change is wording, not an assertion. RIPR-SPEC-0021 examples were updated in lockstep, so the schema contract is internally consistent.
- Plain-label mapping could let two distinct schema enums produce the same human line for different real-world states (e.g. intentionally-suppressed seam shown as 'unknown' exposure).; refuted because: The mapping is partial: StronglyGripped→exposed, WeaklyGripped→weak, Ungripped→no path, ReachableUnrevealed→unrevealed, PropagationUnknown→unknown, and the Intentional/Suppressed grips intentionally map to themselves ('intentional'/'suppressed'). ExposureClass does not have an Intentional/Suppressed variant, so there is no pair where the two scopes both classify the same situation with one suppressed intentionally and the other unknown.
Parked follow-ups
- plain_label()/human_label()/human_lead() return &'static str or owned String into &mut String; no slice/Box::from(slice) pattern; no allocation-failure path introduced.
- Plain words could collide with reserved developer identifiers (e.g. 'weak' as a Rust trait) in downstream tooling that parses human output. Today the lead is 'plain (schema_value, ...)' so the enum value is still parsed; downstream scripts that match on the schema value are unaffected. Worth a note but not a finding.
- Worker/async/GC detach/transfer boundary was not modified by this PR; lane scope is empty and no public-facing review item is warranted. Residual risk: if a follow-up surfaces these helper outputs into a wasm-bindgen worker, ensure human_label's owned String stays Send (it is, but verify at the FFI boundary).
Evidence gaps
- Model proof intent was rejected by deterministic validation.
|
On the ub-review smell ( Generated by Claude Code |
…-size-n0b0lc # Conflicts: # CHANGELOG.md # fixtures/python_adversarial_attribute_sink_other_receiver/expected/CHANGELOG.md # fixtures/python_adversarial_buffer_token/expected/CHANGELOG.md # fixtures/python_adversarial_default_value_overridden/expected/CHANGELOG.md # fixtures/python_adversarial_dict_field_sibling_key/expected/CHANGELOG.md # fixtures/python_adversarial_error_path_untaken_branch/expected/CHANGELOG.md # fixtures/python_adversarial_free_function_module_collision/expected/CHANGELOG.md # fixtures/python_adversarial_fstring_length_invariant_aggregate/expected/CHANGELOG.md # fixtures/python_adversarial_list_element_sibling_index/expected/CHANGELOG.md # fixtures/python_adversarial_local_assignment_operator_input/expected/CHANGELOG.md # fixtures/python_adversarial_method_owner_imported_unbound_receiver/expected/CHANGELOG.md # fixtures/python_adversarial_mock_call_not_value/expected/CHANGELOG.md # fixtures/python_adversarial_operator_delta_input_operand/expected/CHANGELOG.md # fixtures/python_adversarial_same_method_other_class/expected/CHANGELOG.md # fixtures/python_api_json_field_repair_gap/expected/CHANGELOG.md # fixtures/python_api_route_decorator_repair_gap/expected/CHANGELOG.md # fixtures/python_argparse_output_repair_gap/expected/CHANGELOG.md # fixtures/python_boundary_gap/expected/CHANGELOG.md # fixtures/python_broad_boolean_assertion/expected/CHANGELOG.md # fixtures/python_call_argument_shape/expected/CHANGELOG.md # fixtures/python_class_method_owner/expected/CHANGELOG.md # fixtures/python_cli_output_repair_gap/expected/CHANGELOG.md # fixtures/python_decorator_indirection_limit/expected/CHANGELOG.md # fixtures/python_dict_field_repair_gap/expected/CHANGELOG.md # fixtures/python_dynamic_dispatch_limit/expected/CHANGELOG.md # fixtures/python_dynamic_import_limit/expected/CHANGELOG.md # fixtures/python_error_path_shape/expected/CHANGELOG.md # fixtures/python_fixture_name_relation/expected/CHANGELOG.md # fixtures/python_metaclass_limit/expected/CHANGELOG.md # fixtures/python_metaprogramming_limit/expected/CHANGELOG.md # fixtures/python_method_owner/expected/CHANGELOG.md # fixtures/python_missing_import_graph_limit/expected/CHANGELOG.md # fixtures/python_mock_assert_called/expected/CHANGELOG.md # fixtures/python_mock_interaction_shape/expected/CHANGELOG.md # fixtures/python_mocked_module_limit/expected/CHANGELOG.md # fixtures/python_model_field_repair_gap/expected/CHANGELOG.md # fixtures/python_monkeypatch_module_limit/expected/CHANGELOG.md # fixtures/python_named_constant_boundary_repair_gap/expected/CHANGELOG.md # fixtures/python_no_config_repair_gap/expected/CHANGELOG.md # fixtures/python_no_projectable_owner/expected/CHANGELOG.md # fixtures/python_opaque_custom_helper_limit/expected/CHANGELOG.md # fixtures/python_parametrize_basic/expected/CHANGELOG.md # fixtures/python_parametrized_boundary_repair_gap/expected/CHANGELOG.md # fixtures/python_property_based_limit/expected/CHANGELOG.md # fixtures/python_pytest_oracle_shapes/expected/CHANGELOG.md # fixtures/python_pytest_raises/expected/CHANGELOG.md # fixtures/python_ranking_noise_control/expected/CHANGELOG.md # fixtures/python_rebound_constant_boundary_limit/expected/CHANGELOG.md # fixtures/python_related_test_name_similarity/expected/CHANGELOG.md # fixtures/python_same_line_duplicate_collapse/expected/CHANGELOG.md # fixtures/python_same_stem_sibling_owner_not_related/expected/CHANGELOG.md # fixtures/python_same_stem_test/expected/CHANGELOG.md # fixtures/python_src_layout_package_import/expected/CHANGELOG.md # fixtures/python_src_layout_repair_gap/expected/CHANGELOG.md # fixtures/python_substring_sink_alignment/expected/CHANGELOG.md # fixtures/python_test_placement_verify/expected/CHANGELOG.md # fixtures/python_unresolved_fixture_limit/expected/CHANGELOG.md # fixtures/python_unsupported_syntax_limit/expected/CHANGELOG.md
Candidate and journey relationshipsThis PR is a public human-copy/terminology candidate, not an analyzer-schema rename. If selected for 0.11, it feeds: Selection boundary#2766 should retain this as If included:
If deferred, final docs/help and #4600 must use the candidate's actual old wording and retain the measured terminology friction as a bounded non-claim. Do not evaluate #4600 against copy that is not in the installed candidate. |
Re-bless two new TypeScript fixtures from main with the plain-word lead. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw
|
Head 26aa545 merges current main (conflicts were CHANGELOG text and one fixture that main changed; two new TypeScript fixtures from main re-blessed with the same plain-word lead). Local: On the selection-boundary note: 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! |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
…-size-n0b0lc # Conflicts: # CHANGELOG.md
Devin review on #4520: the pilot Markdown ranked list and the targeted test brief still led with the bare schema value. Both now read 'weak (`weakly_gripped`)' / '- weak, weakly_gripped'; JSON fields keep the schema value alone. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw
…-size-n0b0lc # Conflicts: # CHANGELOG.md
…ne index Main at eb3a2e9..current fails 'cargo build -p ripr' (E0425): #4635 made the free line_for_offset #[cfg(test)] while #4593 added a non-test caller. Also apply cargo fmt to typescript/mod.rs from main. No-op once main carries its own fix. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw
…-size-n0b0lc # Conflicts: # fixtures/boundary_gap/expected/CHANGELOG.md # fixtures/mixed_rust_typescript_preview/expected/CHANGELOG.md # fixtures/ts_parse_depth_budget/expected/CHANGELOG.md # fixtures/ts_pkg_discovery_no_package/expected/CHANGELOG.md # fixtures/ts_repair_packet_wrong_family_oracle/expected/CHANGELOG.md # fixtures/typescript_adversarial_owner_identity_after_insertion/expected/CHANGELOG.md # fixtures/typescript_awaited_promise_reject/expected/CHANGELOG.md # fixtures/typescript_effect_probe_shapes/expected/CHANGELOG.md # fixtures/typescript_jest_vitest_assertion_facts/expected/CHANGELOG.md # fixtures/typescript_owner_kinds/expected/CHANGELOG.md # fixtures/typescript_probe_facts/expected/CHANGELOG.md # fixtures/typescript_static_limit_taxonomy/expected/CHANGELOG.md # fixtures/typescript_strict_actionability/expected/CHANGELOG.md
|
Head 04b2d7c, which is current with main e9ec4a4:
Local checks on this head:
CI was dispatched manually because branch pushes do not trigger Generated by Claude Code |
The #4520 schema-identity test requires the targeted-rerun example to track live CACHE_SCHEMA_VERSION. This leaf moved full classified evidence to 1.17 for Integration proposals. Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>
…wording Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018yB4cNGThJWBLhaxNgbSUf
… main Main reworded the related-test recommendation (#4520) and this branch adds source_subject to repo-exposure JSON, so the portable snapshots, their content_sha256, and the file digests agent-verify and agent-receipt pin are recomputed from production output. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014WDSj54AyARNwy6oUuYXnx
…minator (#4486) (#4499) * fix(analysis): keep name-only related tests from supplying the discriminator When another related test calls the changed code, a test related only because its name shares a changed word can no longer supply the credited oracle or confirm observation. Before, a test pinning ParseError::MalformedSource == ParseError::MalformedSource without calling try_parse made an uncaught mutation read exposed (#4486). Same-file and same-module tests keep crediting: they commonly reach private helpers through the module's entry point. Adds fixture proximity_name_oracle_not_credited and its honesty-corpus case. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018yB4cNGThJWBLhaxNgbSUf * fix(analysis): treat owner-named tests without a call as name-only An owner_named_test relation fires only when the test name contains the owner's name and no call, helper chain or assertion affinity ties it to the owner, so like weak_token_substring it cannot supply the credited oracle when another related test reaches the change. Exact-head review reproduced exposed with try_parse_variant_is_distinct; the fixture now carries that test. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018yB4cNGThJWBLhaxNgbSUf * fix(analysis): count only reach-bearing relations when withholding name-only oracles A same-file or same-module neighbour carries no reach (reach.rs treats it as proximity), so it no longer switches the name-only rule on. Share is_proximity_only with reveal.rs and add assertionless bystander controls. Document the rule in RIPR-SPEC-0094 and map its unit test. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018yB4cNGThJWBLhaxNgbSUf * style: order typescript module declarations as rustfmt expects Main fails cargo fmt --check: #4635 and #4526 each reordered mod declarations in typescript/mod.rs and the squashed combination is unformatted. Port the one-line rustfmt fix so this PR's Rust gates run; it no-ops once main carries it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018yB4cNGThJWBLhaxNgbSUf * fix(typescript): count the computed-title line without the test-only helper Main does not build outside cfg(test): #4593 added a computed-title call to the free line_for_offset(source, ..) helper, which #4635 made test-only when it moved callers to SourceText::line_for_offset. title_argument takes &str on the describe path, so count newlines in the prefix directly; computed titles are rare. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018yB4cNGThJWBLhaxNgbSUf * test: re-bless name-only fixture human output after #4520's gap-name wording Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018yB4cNGThJWBLhaxNgbSUf --------- Co-authored-by: Claude <noreply@anthropic.com>
…4544) (#4709) * fix(lsp): withhold gap artifacts computed for other source contents (#4544) `ripr lsp` projected gap diagnostics from gap-decision-ledger.json (and read actionable-gaps.json) without knowing which source state they were computed from, so after a branch switch, edit, or commit it placed the old gaps at their old lines on the new files and presented them as current. Producers now stamp a top-level `source_subject` (sha256 content digest of every file the records name: ledger anchor, repair-route target and related test; packet source, primary anchor and related test). `ripr reports gap-ledger` and `ripr first-pr --check-output` stamp the ledger from the selected root (a re-rendered ledger keeps its original stamp); `cargo xtask lane1-evidence-audit` stamps actionable-gaps.json. The shared validator `lsp::gap_artifacts::validate_gap_artifact` recomputes the digests and rejects the whole artifact as `stale_subject` (changed, deleted, or newly created file) or `unverifiable_subject` (missing, malformed, incomplete, or unreadable stamp, including artifacts from older builds). Rejections flow through the existing routes: run status stale/cache_limited, typed cache and gap_ledger component outcomes naming the regeneration command, workspace-status repair rows, and typed sentinels from the repair-packet and gap-context commands. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014WDSj54AyARNwy6oUuYXnx * fix(lsp): bind gap source_subject stamps to analysis-time bytes (#4544) Address review on #4709: - ripr check JSON and repo-exposure JSON stamp the files they name in the analysis run; the gap ledger and xtask actionable-gaps writers copy those digests via derive_source_subject and never hash the workspace. Without a usable input stamp they write source_subject_unavailable, which the LSP reports as unverifiable_subject. Re-rendering an unstamped ledger through --records stays unstamped. - One definition of the files a packet names (source_file, target_test, target_file, primary_anchor.file, related_test_or_observer as string, object or array), shared with xtask through a #[path] module so the writer and the LSP validator cannot drift. - Absolute record paths resolve against an absolutized root. - The limited scorecard fallback also carries the stamp disclosure. - The LSP source_subject test uses a Rust fixture so it holds in the lang-rust-only lane. - check.schema.json gains source_subject; 145 check.json goldens blessed; unchanged-after-attempt repo-exposure snapshots and their dependent verify/receipt digests refreshed. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014WDSj54AyARNwy6oUuYXnx * test(fixtures): refresh unchanged-after-attempt digests after merging main Main reworded the related-test recommendation (#4520) and this branch adds source_subject to repo-exposure JSON, so the portable snapshots, their content_sha256, and the file digests agent-verify and agent-receipt pin are recomputed from production output. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014WDSj54AyARNwy6oUuYXnx --------- Co-authored-by: Claude <noreply@anthropic.com>
… header words (#4777) * ux(0.11): name one gap with one word across check, pilot and agent repair `ripr check` reported a gap as `weakly_exposed` and `ripr pilot` reported the same gap as `weakly_gripped`, and the repair packet said "extend the nearest related test" while pilot named a new test to add. Both classes are published schema values, so the values stay. Human lines now lead with the plain word the check summary already uses (weak, unrevealed, no path, unknown) and keep the value beside it. The actionability reason text now matches the recommended new test. Goldens: 213 human.txt files re-blessed, formatting-only drift on the Static exposure and Why lines. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw * Pilot ranked rows and the targeted test brief lead with the plain word Devin review on #4520: the pilot Markdown ranked list and the targeted test brief still led with the bare schema value. Both now read 'weak (`weakly_gripped`)' / '- weak, weakly_gripped'; JSON fields keep the schema value alone. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw * Port fix for main's non-test build: title_argument uses SourceText line index Main at eb3a2e9..current fails 'cargo build -p ripr' (E0425): #4635 made the free line_for_offset #[cfg(test)] while #4593 added a non-test caller. Also apply cargo fmt to typescript/mod.rs from main. No-op once main carries its own fix. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw * ux(0.11): short human output by default for agent repair; plain check header words agent repair printed 9 to 13 KB of JSON to stdout on every phase. Each phase now prints a short human summary naming the seam, the movement and where the packet, receipt and verify documents were written; --json prints the previous stdout document unchanged, matching agent status. check's Analysis outcome and State lines lead with plain words and keep the id in parentheses. 339 check goldens re-blessed (formatting_only). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw * agent repair summaries name root-resolved files; before summary waits for publication Codex and Devin on #4777: the default after-phase summary printed target/ripr/... relative to the caller's cwd, not --root. Both phases now print root-resolved paths. The before-phase summary moves after attempt publication, so a refused publication never shows 'Repair prepared'; --json keeps printing the packet where it did. New cli_smoke test runs both phases from outside --root without --json. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw * Re-bless python_generated_file_excluded after main; pin new outcome header in preview test Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw * ux(0.11): Limitation lines lead with plain words (#4323) The analysis-outcome Limitation line printed kind, stage and recovery as bare snake_case tokens. Each now leads with plain words and keeps the token in parentheses; the path moves to '; file: <path>'. JSON unchanged. 7 goldens re-blessed (formatting_only). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw * Re-bless proximity_name_oracle_not_credited from main with the plain-word lines Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw * Re-bless rust_pyo3_cross_language_limit from main with the plain-word lines Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw * Re-bless ts_return_ternary_boundary from main with the plain-word lines Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw * test(agent): pass --json where a journey test parses the before-phase packet main added prepared_packet_continuation_cannot_resume_a_later_attempt_for_the_same_seam, which parses agent repair's before-phase stdout as the packet JSON. On this branch that document is behind --json, so the test now asks for it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw * Re-bless two fixtures from main with the plain-word lines Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw --------- Co-authored-by: Claude <noreply@anthropic.com>
* fix(output): one shared gap-vocabulary authority (#4381) The same weak-gap state was presented through per-surface private translation tables: the review front panel carried its own grip-to-exposure match, first_useful_action carried a second classification_from_sources table, and the WeaklyExposed hint composed its own discriminator sentence. This replaces those forks with one shared authority, output::gap_vocabulary: - exposure_counterpart / exposure_class_of / present_exposure_class: the only grip-to-exposure mapping; unknown tokens fail closed. - MISSING_DISCRIMINATOR_SENTENCE / MISSING_DISCRIMINATOR_LABEL: the canonical phrasing quoted by check, pilot, and agent surfaces. - Two source-scanning audit tests: no_per_surface_translation_forks (forbids new local match arms mapping grip to exposure tokens outside this module) and shared_sentence_is_quoted_not_retyped (forbids retyping the canonical sentence elsewhere). Decision (option B, recorded in docs/STATIC_EXPOSURE_MODEL.md): neither published schema token changes. weakly_exposed and weakly_gripped are both external contracts (JSON packets, SARIF, config [severity] keys, LSP diagnostic codes); PR #4520 already settled the human wording, and this PR settles that the mapping between the two vocabularies has exactly one home. Blast radius: 4 wiring files + new module + 2 re-blessed first-useful-action fixtures + 2 docs. No classification semantics changed; no JSON schema field names or versions changed. Local proof: cargo test -p ripr --lib (7309 passed; 2 pre-existing host-baseline failures unrelated to this claim: git-spawn premise and missing pwsh), clippy -D warnings clean, goldens check, and check-output-contracts / check-evidence-promotion-honesty / check-static-language / check-no-panic-family / check-allow-attributes / check-spec-format / check-doc-index / check-file-policy / check-covered-by / check-local-context / check-product-copy / check-executable-files all pass. Closes #4381 * refactor(output): route pilot label through shared authority; widen fork audit (#4381) Review follow-up on PR #4973: - pilot render (why_line and the Python repair card terminal block) names the missing value with MISSING_DISCRIMINATOR_LABEL from output::gap_vocabulary instead of retyping the label literal; output bytes are unchanged. - The no_per_surface_translation_forks audit now also covers pair-table entries and if-chain guards, and its doc comment states the guard's literal scope honestly (exotic encodings are review responsibility, not something a substring audit can prove absent). - The MISSING_DISCRIMINATOR_SENTENCE doc no longer overclaims that the pilot surface quotes the state sentence; it names which surfaces quote the sentence and which use the label. Proof: 195 tests across gap_vocabulary/pilot/first_useful_action pass; clippy -D warnings clean; goldens check pass. * fix(output): ungripped repair start must not claim related-test reach (#4381) Follow-up on the CodeRabbit review thread (and a correction to my earlier refutation of the identical Devin finding): an ungripped seam has reach == No by class definition, but classify_seam checks reach before missing_discriminators, so an ungripped card can still carry a named missing discriminator; and value_route_readiness turns Ready on a named discriminator plus a producer-admitted proposed test target, with no related-test requirement. Ungripped is headline-eligible, so such a card legitimately carries both repair_command and missing_discriminator. The shared reachability sentence ('a related test reaches this change…') would overclaim for that card. The old 'lacks a discriminator' wording did not assert reach; the new sentence does, so this PR introduced the overclaim. repair_start_report now renders neutral label-only wording when the card's grip_class presents as no_static_path, keyed through gap_vocabulary::exposure_class_of rather than a hardcoded token. Regression test: repair_start_for_ungripped_card_does_not_claim_related_test_reach pins the neutral wording, the named value, and unchanged actionability. Proof: 144 first_useful_action tests pass (fixture sentence path unchanged for the weak state), clippy -D warnings clean, goldens check pass.
Requested by Steven · project thread
Summary
Before: one gap had two names.
ripr checksaidStatic exposure: weakly_exposed,ripr pilotsaid(weakly_gripped), and the after phase saidweakly_gripped -> strongly_gripped. Cold agent walks (F5-6, rc-acceptance N22, d-rust-mcp) spent extra runs working out that these were the same gap. The repair packet's reason said "extend the nearest related test with the missing discriminator" while pilot andrecommended_testnamed a new test to add next to it.After: every human line leads with the plain word the
checksummary already uses (exposed, weak, unrevealed, no path, unknown) and keeps the schema value beside it:Static exposure: weak (weakly_exposed, warning, confidence 0.92)andWhy weak: ...inspected seam: 0d19... src/lib.rs:11 predicate_boundary in ... (weak, weakly_gripped)result for seam ...: weak -> exposed (weakly_gripped -> strongly_gripped, improved).Decision recorded:
weakly_exposed(probe class) andweakly_gripped(seam grip class) are both published schema values used in JSON, SARIF, config[severity]keys and LSP diagnostic codes. Neither value changes. The actionability enum valuesactionable_related_test_extensionandextend_related_testalso stay; only the humanreason/whytext changes, to agree with therecommended_testthe same packet carries ("place the new targeted test next to the producer-owned related test"). The shared words are defined once each (ExposureClass::plain_label,SeamGripClass::plain_label) and a unit test pins that counterpart classes share a word.docs/TERMINOLOGY.mdrecords the mapping.Swarm / Source Boundary
ripr-swarmSource-of-truth Links
Governing issue or accepted claim: 0.11 UX list item "mixed terms" (onboarding rewalk F5-6; rc-acceptance claim N22).
Acceptance delta (one sentence): check, pilot and agent repair name the same gap with the same plain word, and the packet no longer says "extend" where pilot says "add".
Candidate Relationships
Candidate branch:
claude/wording-output-size-n0b0lc. No equivalent open PR (searched open PRs forweakly_gripped).Scope
Single acceptance criterion: the same gap reads
weakin check, pilot and the after-phase line.Non-goals: renaming any schema value; the
ripr outcomereport wording; agent repair stdout size (separate PR).Support-tier Impact
reasontext)Policy Impact
Proof
Goldens: 213
human.txtfiles re-blessed withcargo xtask goldens bless <fixture> --reason "RIPR-SPEC-0122: ..."; every drift was classifiedformatting_onlyon the Static exposure / Why lines. Thefirst-useful-action/unchanged-after-attemptfixture set has its content and byte hashes updated for the new reason text.Claim Boundary
May claim: the human wording is consistent. Must not claim: grip and exposure classes are the same analysis; they are computed at different scopes and can disagree.
Rollback
Revert the squash commit; goldens revert with it.
Spec-Test-Code Traceability
analysis::seams::tests::grip_and_exposure_counterparts_share_one_plain_word, pilot terminal test, repair summary tests, cli_smoke assertionsdomain/classification.rs,analysis/seams.rs,output/human/sections.rs,output/pilot/render/*,cli/commands/agent.rs,output/evidence_record.rsStatic Language Check
killed,survived,untested,proven, andadequate.CI Economics
n/a
Engineering Check
panic,unwrap,expect,todo, orunimplementedin production code.🤖 Generated with Claude Code
https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw
Generated by Claude Code