Repository navigation
fix(agent,lsp): close dead ends cold LLM agents hit in 0.11 (seam ids, dirty diffs, unrun tests, MCP, LSP nulls) - #4418
Conversation
…ight next step Four cold LLM-agent walks of 0.11 (Rust, Python, TypeScript CLI and Rust via MCP) hit the same two dead ends: - Three of four passed the `probe:...` finding id that `ripr check` prints to `ripr agent repair --seam-id`, got a bare "was not found", and spent about five calls before `agent status` pointed at pilot. The refusal (agent packet, agent start, and the repair transaction that wraps them) now says a probe id is a check finding id and names `ripr pilot --root .` as the seam-id source. `ripr agent --help` and `agent repair --help` say the same. - Four of four read the RIPR-SPEC-0112 note "uncommitted changes to tracked source were not analyzed" as "my new test was ignored" while the counts had already moved because of it. The note now says test files outside the diff are read from disk. - The LSP walk found the real hazard: a committed-history check reads each changed file from disk but places probes at committed line numbers, so an uncommitted edit inside a diff file (an inline test) dropped 6 probes to 3 with no signal. stderr now names each diff file that has uncommitted edits and the recovery (commit, or --worktree). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V7M1xLfhmCEbLNZiW1K65r
RC rehearsal: a focused test with a wrong expected value still finished
the Rust repair loop with movement `improved`, receipt `advisory` and
`agent status` `complete`, because the ordinary path never runs the
test (`verification.status: verification_not_run`). To a cold agent that
reads as a pass.
ripr still does not run the test (the ordinary path has no execution
authority; RIPR-SPEC-0135). Instead every surface an agent reads now
says so:
- after-phase stderr adds `test run: not run. This result is static
evidence only; a failing test can still show improved.`
- `agent status --json` (and the envelope's `agent_status`) gains a
top-level `test_run: {status: "not_run", test_file, next_step}` and
each issued receipt reading carries `verification_status`.
- `agent status` Markdown prints `Test run: not run.` under `Seam:`.
Proof: a new end-to-end test writes a failing boundary test, asserts the
static movement is still `improved`, and asserts all three surfaces.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V7M1xLfhmCEbLNZiW1K65r
A cold agent given only `ripr mcp --stdio` saw "bounded, read-only static workspace status" and nothing else: no statement that the server cannot analyze the diff and no route to what can. It left MCP by guessing `ripr --help`. Error paths gave no recovery either: an unusable root returned `isError: false` with only an error code, and an unknown tool or resource did not name the valid one. Within ADR 0022 (no new tools, no execution): - `initialize` instructions and the tool description say what RIPR asks, that this server does not analyze the diff, and name the CLI route (`ripr check --format json`, `ripr pilot --root .`, `ripr agent status --root . --json`). - An unavailable workspace adds a second text content item naming the cause and the recovery (restart with `--root <repository>`). - Unknown tool and resource errors name the valid one in the message and `error.data.available`. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V7M1xLfhmCEbLNZiW1K65r
…cs; no-unwrap test Self-review: the warning helper had been inserted between write_stdout_chunked's doc comment and its fn. Its test now uses the shared fixture git helper and returns Result (no-panic and process policies). Adds a unit test for singular/plural wording. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V7M1xLfhmCEbLNZiW1K65r
|
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 reachedNext included review available in 38 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (28)
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 |
- agent status: `test_run.status` is `not_recorded` and the text says the repair receipt records no test run, which stays true after a trust-bound verify phase writes its own verification receipt. - check: the edited-diff-file warning names only source files a language adapter routes, uses repository-relative unquoted paths, and matches the analyzed diff's whole-repository scope. - agent: the unknown seam-id hint names the caller's `--root`. - mcp: root error causes come from `RootErrorCode::cause`; an explicit root no longer claims an ancestor search. - docs: SPEC-0112 documents the warning; SPEC-0011 shows `test_run`. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V7M1xLfhmCEbLNZiW1K65r
…ce-0-11-ffhz6c # 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! |
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: 54f2c30a8c
ℹ️ 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".
…ral roots - The edited-diff-file warning no longer waits on the `--root`-scoped working-tree probe, since the analyzed diff covers the whole repository. - The seam-id hint binds the raw root like the LSP routes, so a literal backslash in a Unix path is not rewritten (#4287). - After-phase stderr says "test run: none recorded", matching agent status. - SPEC-0112 says extension routing can still name a disabled language's file. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V7M1xLfhmCEbLNZiW1K65r
…st names as given - The edited-diff-file warning reads `git diff --name-only -z` through the shared `parse_git_path_records` decoder, so a name git would C-quote keeps its real extension and is still named (unix regression test). - agent status `test_run.test_changed` replaces `test_file`: the receipt's value is whatever `--test` named, a path or a test identifier. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V7M1xLfhmCEbLNZiW1K65r
…ce-0-11-ffhz6c # Conflicts: # CHANGELOG.md # crates/ripr/src/cli/commands/check.rs
…es; list hidden gaps - `ripr.collectContext`, `ripr.collectEvidenceContext` and `ripr.collectRepairPacket` no longer return `null`. An unreadable argument or an id missing from the current snapshot is a -32602 InvalidParams error that quotes the accepted shapes; a repair packet with no source is a `not_actionable_or_incomplete` packet whose reason names both artifacts and the CLI route. - `ripr/listActionableItems` adds `selected`, `omitted` (capped at 200, `omitted_truncated`) and `hidden_gaps`/`hidden_gap_count`: candidate gaps the actionable profile never publishes because they have no repair route, such as a new function no test calls. Each `finding_id` is a valid `ripr.collectContext` argument. - `ripr help lsp` lists every server-executed command's arguments and how to publish hidden gaps (`[lsp] diagnostic_profile = "full"`). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V7M1xLfhmCEbLNZiW1K65r
hidden_gaps filtered raw findings, so one canonical gap could appear several times and a published group's other members could be listed as hidden. It also named the *_unknown classes as gaps. Filter the canonical-group primaries that publishing uses, and keep only weakly_exposed, reachable_unrevealed and no_static_path. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V7M1xLfhmCEbLNZiW1K65r
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V7M1xLfhmCEbLNZiW1K65r
|
I merged that main into 7461e57. Generated by Claude Code |
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V7M1xLfhmCEbLNZiW1K65r # Conflicts: # CHANGELOG.md
Resolve CHANGELOG conflict with #4418 by keeping both entries. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PUexfbnAYEAffQSAks38Yg
…3921) Codex P1 on #4484: #4418 was marked 'recorded above' with none of its user-visible changes listed, and the #4429 list missed changelog items. Each PR's CHANGELOG entry is now the named inventory, plus the source-only changes and the rows each one moves. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AYyUnjaq9zD4WsBujWEUpk
…pre-final sync carries them (#4484) Adds a §0.6 inventory of the post-cutoff changes the pre-final sync carries: #4418 (88f23ec), #4263 (56afd5f) and #4429 (0f356ff). It names each PR's CHANGELOG entry, the source-only changes, and the ledger rows and note bullets each one moves. Every movement is gated on a walk of the synced tree. Merged under Steven's standing swarm merge policy. The exact head 73d6c78 is green, has an exact-head COMMENT review with no blockers, has all threads resolved and has no conflict. The Gemini review is missing (out of quota). Policy: cmsg_01PNTtQgh6otzUAgrEbiwJapLDNSeHy8MdztUC5UgRC71w, cmsg_01PNTtQgh6otzUAgrEbiwJapJ9t7fvZRC8p2kQ3xWU9c3m, cmsg_01PNTtQgh6otzUAgrEbiwJapXkeTSSUZZxybErtNj3dtgQ. Refs #3921, #4410, #4227. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AYyUnjaq9zD4WsBujWEUpk
…iform transport liveness (#5276 #5277 #5278) (#5452) * fix(lsp): profile-withholding disclosure, reachable coarse ranges, uniform transport liveness #5276: the actionable profile's deliberate *_unknown exclusion (RIPR-SPEC- 0069, #4418) now carries a suppression disclosure on every agent-facing surface while staying excluded: listActionableItems gains withheld_unknown_count / withheld_unknown_findings / suppression_disclosure, ripr/analysisStatus gains withheld_findings with the diagnostic_profile=full recovery route, the pull channel emits the same one-line disclosure, and the completion log carries withheld_unknown=N. #5277: a coarse zero-width stored origin projects its stored line's full span instead of an unreachable start==end range, so the finding hover gate and editor squiggle work for refused/static_unknown findings. Numeric-only: no saved-line search replaces a coarse record. #5278: every ripr-issued server-to-client request is bounded by CLIENT_REQUEST_TIMEOUT (30s default, tunable through TransportBounds) so a client that never answers cannot pin a handler task and wedge tower-lsp-server's task pipeline into the alive-but-silent state a mid-session framing violation produced. Uniform documented contract: one bounded -32700, then prompt session end; recovery is a process restart. Discriminating tests fail on the old behavior (verified by stash-run): zero-width coarse ranges, the wedged mid-session server, and the old closed listActionableItems envelope shape. * fix(lsp): review repairs for #5452 — group-member withholding, bounded progress create, empty-workspace pull disclosure Review-thread repairs at head: - #5276 disclosure counts canonical-group MEMBERS of unpublished groups (chatgpt-codex P1 + devin): a canonical group whose primary is not visible under the actionable profile now discloses its unknown members through withheld_unknown_findings and the withheld_findings summary; canonical_group_members() is the shared borrow-based grouping authority. - #5278 also bounds the window/workDoneProgress/create round trip (devin + coderabbit): AnalysisProgressTracker::begin runs on the interactive refresh path inside the transport task pipeline, so an unanswered create now expires through the same drop-and-log path (client_request_timeout, 30s default). - The workspace pull names the withholding disclosure once per report even when zero documents are served (devin): the withheld-only workspace has no documents and may have no previous result ids. - docs/OUTPUT_SCHEMA.md registers the four new listActionableItems fields (devin). The 120-column line-span cap (coderabbit) is intentional and unchanged: line_span_range is the shared line-level span primitive (seam/gap diagnostics, ORIGIN_MAX_SPAN_WIDTH == MAX_LINE_SPAN_WIDTH), and a true line-width range would require the saved-line search the #4464 coarse record doctrine forbids; ripr.collectContext remains the route beyond it.
Requested by Steven · project thread
Summary
Five cold LLM agents with no prior ripr knowledge, working only from what the binary prints, drove swarm main
8e1801fthrough the task "check this PR, close the gap, get ripr to confirm". The runs covered Rust, Python and TypeScript via the CLI, Rust viaripr mcp --stdio, and a Cargo workspace viaripr lsp --stdio. All five finished. These were the dead ends that cost them the most.Before:
probe:...id thatripr checkprints toripr agent repair --seam-idand got a bare "not found".improved/advisory/complete, with nothing saying no test ran.ripr.collectContext,ripr.collectEvidenceContextandripr.collectRepairPacketanswerednullfor an unreadable argument, an unknown id, or no packet source, and VS Code rendered that as "ripr server did not respond".ripr/listActionableItemsnamed itself as the continuation route but returned only counts. A new function no test calls (the walk'sfragile_fee) had no LSP surface at all under the default profile.After:
probe:...id is a check finding id and namesripr pilot --root <the caller's root>.agent --helpsays where seam ids come from.ripr checkwarns on stderr (every format) when a source file in the committed diff also has uncommitted edits. The warning names the file (repository-relative, decoded from-zrecords) and the recovery.test run: none recorded.agent statusgainstest_run: {status: "not_recorded", test_changed, next_step}and per-receiptverification_status. Markdown printsTest run: none recorded.RootErrorCode::cause). Unknown tool and resource errors list what exists.-32602InvalidParams quoting the accepted shapes. A repair request with no packet source gets anot_actionable_or_incompletepacket whose reason names both artifacts and the CLI route.ripr/listActionableItems: it addsselected,omitted(capped at 200) andhidden_gaps(capped at 50).hidden_gapslists canonical gaps the actionable profile never publishes because they have no repair route, each with afinding_idthatcollectContextaccepts. On the walk sample,fragile_fee's gap now appears there.ripr help lsplists every command's arguments and[lsp] diagnostic_profile = "full".Walk journals:
/mnt/project-files/agent-experience/2026-09-28-cold-agent-walks/.Swarm / Source Boundary
ripr-swarmNone of the J hold paths are touched (
xtask/src/rust_judged_panel.rs,metrics/rust-judged-behavior-panel/**,.github/workflows/**,crates/ripr/src/app/pr_evidence.rs).Source-of-truth Links
RIPR-SPEC-0112, RIPR-SPEC-0011, RIPR-SPEC-0135, RIPR-SPEC-0069 (actionable profile), ADR 0022.
Candidate Relationships
Branch
claude/agent-experience-0-11-ffhz6c. Open PRs searched. #4419 (VS Code walk) fixed the other LSP findings. This PR takes the collect-command nulls and listActionableItems, as the coordinator split them. The repair packet readinganalysis_snapshot_staleduring a refresh is recorded as a 0.11 non-claim in #4426. main was merged in twice for CHANGELOG/check.rs conflicts, keeping both sides.Scope
Non-goals: running the focused test; reading diff files from
HEAD(efficacy lane); new MCP tools; classification changes; redesigning the repair-packet staleness gate.Scope Classification
Support-tier Impact
Policy Impact
None.
Proof
Discriminating tests:
check_base_names_edited_diff_files_git_would_quote(unix;src/quo"ted.rs)check_base_names_diff_files_with_uncommitted_editsagent_repair_after_a_failing_test_says_the_test_was_not_runroot_error_code_text_matches_its_wire_code_and_root_sourceexecute_command_context_commands_reject_unreadable_arguments_with_shapesexecute_command_collect_context_rejects_unknown_finding_with_invalid_paramsexecute_command_collect_repair_packet_without_a_packet_source_names_the_routelist_actionable_items_lists_omitted_items_up_to_the_caplist_actionable_items_names_gaps_the_actionable_profile_hides: two findings in one canonical gap count once, and astatic_unknownfinding is excluded. The old filter would report 4.Real-binary check: the LSP, driven over the walk's workspace sample, lists the
fragile_feepredicate inhidden_gaps, andcollectContextwith thatfinding_idreturns its packet.Review
hidden_gapsnow filters canonical-group primaries, as publishing does, so a gap counts once.weakly_exposed/reachable_unrevealed/no_static_path, not the*_unknownclasses.gap_id: ""plus a validseam_idgets an error namingseam_id. The outcome is unchanged.gap_idoncollectRepairPacketreturns the top packet.Claim Boundary
May claim that these dead ends now carry a named recovery or an explicit statement of what was not run, analyzed or published. Must not claim that
ripr checkanalyzes dirty diff files correctly, that ripr verifies the focused test, that MCP analyzes anything, or that hidden gaps are actionable.Rollback
Revert the squash commit. No goldens or schema files to re-bless.
Static Language Check
killed,survived,untested,proven, andadequate.Engineering Check
panic,unwrap,expect,todo, orunimplemented.crate::git.Gates
cargo xtask precommit🤖 Generated with Claude Code
https://claude.ai/code/session_01V7M1xLfhmCEbLNZiW1K65r