Repository navigation
perf(output): pin agent output byte budgets and cut two repeated blocks - #13674
Conversation
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLW1d2oqthhETQ8w8yG
|
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 31 minutes. View limit details
|
…ences (#13673) The check Hidden block printed a full 'ripr agent stub --root <abs> --seam-id' command (plus a PowerShell variant) under every row; it now prints each row's Test id and one command template. Agent brief warnings repeated the same ~170-byte omission sentence per seam; seams sharing a reason now share one sentence ('seams A at f:l, B at f:l are ...'), in both the full and streamed selectors. A single seam keeps its existing wording. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLW1d2oqthhETQ8w8yG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLW1d2oqthhETQ8w8yG
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLW1d2oqthhETQ8w8yG
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
SOURCE_REVIEW_READY Head: Independent fresh-context review (subagent, no stake, read-only) inspected: warning consumers (review_comments, first_useful_action, MCP, LSP, schemas: no parser of these sentences; single-seam fixtures unchanged), full vs streamed brief selector equivalence (both feed Local proof: Generated by Claude Code |
ripr static exposure checkCommit Took 339s. |
…shape (#13673) RIPR-SPEC-0010 now defines one warning per shared omission reason. The budget fixture hides a row that can start a test, and the test asserts that hidden rows carry only their test id with one shared stub template. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLW1d2oqthhETQ8w8yG
|
SOURCE_REVIEW_READY Head Generated by Claude Code |
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY for head 7134902
Independent fresh-context review covered warning consumers (review_comments, first_useful_action, MCP, LSP, schemas), full vs streamed brief selector equivalence, the Hidden-block TEST_ID template under shell_arg and PowerShell, plural grammar and budget robustness. The path-length finding was repaired by root normalization. Devin's three findings (spec wording, changelog, shape assertions) were repaired in this head and their threads resolved. Local focused tests, precommit and policy checks pass.
Generated by Claude Code
|
|
…-4vccto # Conflicts: # crates/ripr/src/output/human/triage.rs
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY for head 006c9f8
This head merges main into the reviewed 7134902. The only conflict was in triage.rs, where main added a collapse for identical consecutive Hidden rows. The resolution keeps both changes: rows are built into the per-row buffer, which now carries the Test id line instead of the full stub command, and the shared TEST_ID template is emitted once after the rows. Local: budget test (shape assertions plus 3,635 / 82,413 / 3,063 B against 3,900 / 88,000 / 3,300) and 420 focused lib tests (triage, output::human, agent_brief) pass.
Generated by Claude Code
|
The Rust gates run on 006c9f8 failed at Generated by Claude Code |
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY for head 9ab6297
This head is a conflict-free merge of current main into the reviewed 006c9f8. It brings in the #13773 fixture SPEC fix and leaves this PR's own files unchanged.
Generated by Claude Code
#13718 added --json to ripr repair and ripr continue without regenerating docs/CLI_REFERENCE.md, so cli_reference_matches_the_binary fails on main. Ported here so this PR's Rust-only feature lane is green. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLW1d2oqthhETQ8w8yG
|
The Rust-only feature lane on 9ab6297 failed Generated by Claude Code |
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY for head 94bc6a3
Since the reviewed 9ab6297, the only change is docs/CLI_REFERENCE.md, which was regenerated from the binary by the repository's bless command to repair the main-side break from #13718. The local cli_reference_doc test passes. The earlier source and oracle review of the Hidden template, grouped brief warnings and budget test carries over unchanged.
Generated by Claude Code
#13667 added `ripr completions` without regenerating docs/CLI_REFERENCE.md, so cli_reference_matches_the_binary fails on main 59ad478. Regenerated with RIPR_BLESS_CLI_REFERENCE=1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UNUoLW1d2oqthhETQ8w8yG
|
The Rust-only feature lane on 94bc6a3 failed Generated by Claude Code |
EffortlessSteven
left a comment
There was a problem hiding this comment.
SOURCE_REVIEW_READY for head fd7b52f
Since 94bc6a3, this head adds a merge of main (59ad478, no conflicts) and a docs/CLI_REFERENCE.md regeneration for the ripr completions command from #13667, produced by the repository's bless command. The local cli_reference_doc test passes. The earlier source and oracle review of the Hidden template, grouped brief warnings and budget test carries over unchanged.
Generated by Claude Code
|
FYI: #13812 reblesses Generated by Claude Code |
Requested by Steven Zimmerman · project thread
Summary
First slice of #13673 (agent-facing token footprint).
cli_smoke/agent_output_budget.rs: a five-gap diff with same-file tests through default humancheck(steady-state rerun),--format jsonand--format github, with the absolute root normalized to<root>so path length doesn't move the number. Ceilings are 3,900 / 88,000 / 3,300 B, about 7-8% above the measured 3,635 / 82,413 / 3,063 B. The test also asserts the Hidden-block shape: rows carry only aTest id:and one shared stub template follows.checkHidden block: rows that offered a stub printed a fullripr agent stub --root <abs> --seam-id <id>(+ PowerShell variant) each. They now printTest id: <id>and one shared template... --seam-id TEST_ID. Ambiguous-stub rows are unchanged; this composes with main's identical-row collapse.agent briefwarnings: seams sharing one omission reason share one sentence (seams A at f:l, B at f:l are ...) in both the full and streamed selectors. A single seam keeps the old wording. RIPR-SPEC-0010 documents the grouped form.Measured on a 5-gap repo: default
check4,022 → 3,805 B;agent brief --json12,021 → 11,419 B.Why pinned wording changed: the goal is token efficiency (#13673); repeated per-row sentences and commands are the cost. No consumer parses these strings (checked review_comments, first_useful_action, MCP, LSP, schemas).
Governing issue or accepted claim: #13673
Acceptance delta (one sentence): Agent-facing check output is byte-budgeted by a test and the Hidden-block stub commands and brief omission sentences are stated once instead of per row.
Evidence
cargo xtask precommitpass (before the latest main merge).agent_stub_compiles,check_dead_end_routes,printed_command_paste,cli_smokepass, exceptpilot_accepts_python_project_without_ripr_config, which fails locally with "git diff failed" (sandbox git environment, unrelated).Follow-ups in #13673: JSON fact dedupe (json-terse activation aliases, prepared); brief verification hoist after #13426.
🤖 Generated with Claude Code
https://claude.ai/code/session_01UNUoLW1d2oqthhETQ8w8yG