Repository navigation
ux(0.11): short human output by default for agent repair; plain check header words - #4777
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
…-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
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
…-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
… 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
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
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 555 files, which is 455 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 (555)
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 |
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b6b12e0cf5
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
… 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
…-size-n0b0lc # Conflicts: # fixtures/python_generated_file_excluded/expected/CHANGELOG.md # fixtures/python_generated_file_excluded/expected/human.txt
…eader in preview test 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 # crates/ripr/src/cli/commands/agent.rs
…-size-n0b0lc # Conflicts: # CHANGELOG.md
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
…word 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
…-size-n0b0lc # Conflicts: # fixtures/error_variant_wrapper_wrong_receiver_pin/expected/CHANGELOG.md # fixtures/proximity_name_oracle_not_credited/expected/CHANGELOG.md # fixtures/tail_comparison_boundary/expected/CHANGELOG.md
…-size-n0b0lc # Conflicts: # docs/EXIT_CODES.md
… lines Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw
|
The This failure is not caused by this PR. The same test fails identically on Generated by Claude Code |
…-size-n0b0lc # Conflicts: # CHANGELOG.md # crates/ripr/src/cli/commands.rs # crates/ripr/src/cli/commands/agent.rs # fixtures/typescript_adversarial_render_unobserved_sink/expected/CHANGELOG.md
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw
… 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
…-size-n0b0lc # Conflicts: # CHANGELOG.md # fixtures/javascript_js_preview/expected/CHANGELOG.md # fixtures/javascript_jsx_preview/expected/CHANGELOG.md # fixtures/python_local_callable_binding/expected/CHANGELOG.md # fixtures/typescript_jest_vitest_assertion_facts/expected/CHANGELOG.md # fixtures/typescript_probe_facts/expected/CHANGELOG.md # fixtures/typescript_static_limit_taxonomy/expected/CHANGELOG.md
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw
Hosted goldens check failed on 639392a: live human output now says "findings below" and "a test gap to inspect or repair (top_gap)". Classes stay 0 exposed / 2 weakly_exposed; the predicate still names same_test_pairing_missing. Co-authored-by: Steven Zimmerman, CPA <EffortlessSteven@users.noreply.github.com>
🤖 Generated with Claude Code
https://claude.ai/code/session_01EYKNEXpmQUdzF5PrWPScjw
Summary
Before: every
ripr agent repairphase printed 9 to 13 KB of JSON to stdout, even when nobody asked for it. Humans and agents reading the terminal had to scroll past the packet or envelope to find the next command.ripr check's default output opened withAnalysis outcome: complete_with_findings (analysis complete).andState: preview_limited, which are internal state names.After:
agent repairprints a short human summary by default:Next, after the test edit: <cmd>;Result for seam ...: weak -> exposed (...), the test run,Next:, and the receipt and verify paths;--jsonprints the previous stdout document unchanged on every phase and refusal path. This matchesripr agent status --json.checkreadsAnalysis outcome: findings below (analysis complete; complete_with_findings).andState: a test gap to inspect or repair (top_gap). The id stays in parentheses.Decision recorded:
agent repairis new in 0.11, so no released stdout contract changes.--jsonfollows the existingagent statusconvention rather than TTY detection, so piped and terminal runs behave the same. On a typed refusal without--json, stdout stays empty and stderr names the cause, with the same exit code 3.Swarm / Source Boundary
ripr-swarmSource-of-truth Links
Governing issue or accepted claim: 0.11 UX list item "output size" (agent repair prints 9-13 KB of JSON unasked; check default uses internal state names).
Acceptance delta (one sentence): default
agent repairandcheckoutput is short and human, and the JSON is behind--json/--format json.Candidate Relationships
Candidate branch:
claude/wording-output-size-n0b0lc(follow-up to merged #4520). I searched open PRs foragent repair --jsonand found no equivalent.Scope
cli/agent.rs(flag),cli/commands/agent.rs(per-phase stdout),cli/mod.rs(before-phase next line),cli/help/agent.rs.analysis_outcome.rsandoutput/human/triage.rsplain labels;output/human.rsheader.Non-goals: changing any JSON document;
first-pr/start-herestate lines (own renderer); the before-phasenextblock and the other items the UX grind thread owns.Support-tier Impact
agent repair; humancheckheader)Policy Impact
Proof
Goldens: 339 files re-blessed (269 human.txt, 70 human-full.txt) with a
RIPR-SPEC-0122reason, all classifiedformatting_only, and only theAnalysis outcome:andState:lines changed. New unit test:agent_repair_json_flag_selects_the_stdout_document. The default-output tests were flipped to pin the summary, and cli_smoke calls pass--jsonwhere they parse the document.An independent read-only review of the candidate found no blockers. It traced every
--jsonpath to byte-identical output and ran before, after and diverged-HEAD refusal with and without--json. Its optional notes are applied:--jsonin the usage lines and docs, the EXIT_CODES exit-3 rule, and "no gap selected for repair".Claim Boundary
May claim: default human output is short and names where the JSON files are. Must not claim: any JSON document changed;
--jsonoutput is the same bytes the default used to print.Rollback
Revert the squash commit; goldens revert with it.
Spec-Test-Code Traceability
cli::agentparse tests,cli::commands::agentstdout tests,output::humanheader/state tests, cli_smokeStatic Language Check
killed,survived,untested,proven, andadequate.CI Economics
n/a
Engineering Check
panic,unwrap,expect,todo, orunimplementedin production code.Generated by Claude Code