Skip to content

fix(agent,lsp): close dead ends cold LLM agents hit in 0.11 (seam ids, dirty diffs, unrun tests, MCP, LSP nulls) - #4418

Merged
EffortlessSteven merged 13 commits into
mainfrom
claude/agent-experience-0-11-ffhz6c
Sep 28, 2026
Merged

EffortlessSteven merged 13 commits into
mainfrom
claude/agent-experience-0-11-ffhz6c

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

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 8e1801f through the task "check this PR, close the gap, get ripr to confirm". The runs covered Rust, Python and TypeScript via the CLI, Rust via ripr mcp --stdio, and a Cargo workspace via ripr lsp --stdio. All five finished. These were the dead ends that cost them the most.

Before:

  • 3 of 4 CLI/MCP agents passed the probe:... id that ripr check prints to ripr agent repair --seam-id and got a bare "not found".
  • 4 of 4 CLI agents read the RIPR-SPEC-0112 note as "my new test was ignored". The LSP agent found the real hazard: an uncommitted edit inside a committed diff file makes the check apply committed line numbers to edited content (6 probes silently became 3).
  • A focused test with a wrong expected value still ended the Rust repair loop at improved / advisory / complete, with nothing saying no test ran.
  • MCP said nothing about not analyzing the diff. An unusable root and an unknown tool name gave no recovery.
  • LSP: ripr.collectContext, ripr.collectEvidenceContext and ripr.collectRepairPacket answered null for an unreadable argument, an unknown id, or no packet source, and VS Code rendered that as "ripr server did not respond". ripr/listActionableItems named itself as the continuation route but returned only counts. A new function no test calls (the walk's fragile_fee) had no LSP surface at all under the default profile.

After:

  • The unknown-seam refusal says a probe:... id is a check finding id and names ripr pilot --root <the caller's root>. agent --help says where seam ids come from.
  • The SPEC-0112 note says test files outside the diff are still read from disk. ripr check warns 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 -z records) and the recovery.
  • After-phase stderr says test run: none recorded. agent status gains test_run: {status: "not_recorded", test_changed, next_step} and per-receipt verification_status. Markdown prints Test run: none recorded.
  • The MCP instructions and tool description say the server does not analyze the diff and name the CLI route. An unavailable root adds a cause and restart recovery (from RootErrorCode::cause). Unknown tool and resource errors list what exists.
  • LSP, collect commands: the three collect commands answer an unreadable argument or unknown id with -32602 InvalidParams quoting the accepted shapes. A repair request with no packet source gets a not_actionable_or_incomplete packet whose reason names both artifacts and the CLI route.
  • LSP, ripr/listActionableItems: it adds selected, omitted (capped at 200) and hidden_gaps (capped at 50). hidden_gaps lists canonical gaps the actionable profile never publishes because they have no repair route, each with a finding_id that collectContext accepts. On the walk sample, fragile_fee's gap now appears there. ripr help lsp lists 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

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

None 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 reading analysis_snapshot_stale during 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

  • CLI/stderr/help wording.
  • Additive agent status 0.1 fields.
  • MCP text.
  • LSP collect-command error/sentinel behavior and additive listActionableItems fields (closed-shape test updated).

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

  • Other: bundle of agent-facing routing fixes from one cold-agent walk, each with its own test

Support-tier Impact

  • CLI/stderr wording, agent status JSON (additive), MCP text, LSP executeCommand errors and listActionableItems fields. Docs in OUTPUT_SCHEMA, LLM_OPERATOR_GUIDE, LSP_AGENT_REPAIR_WORKFLOW, interop/mcp.md, SPEC-0011, SPEC-0112, CHANGELOG.

Policy Impact

None.

Proof

cargo xtask precommit    # EXIT 0 on a74e1aa, f34a14f and 6e80e31
cargo test -p ripr --lib -- lsp:: cli::help   # pass (lsp:: 714 on 6e80e31)
cargo test -p ripr --test lsp_lifecycle        # 26 passed
cargo test -p ripr --test mcp_stdio            # 3 passed
cargo test -p ripr --test cli_smoke -- check_base agent_packet_unknown_seam_id agent_repair_after_a_failing_test unanalyzed_working_tree   # pass

Discriminating tests:

  • check_base_names_edited_diff_files_git_would_quote (unix; src/quo"ted.rs)
  • check_base_names_diff_files_with_uncommitted_edits
  • agent_repair_after_a_failing_test_says_the_test_was_not_run
  • root_error_code_text_matches_its_wire_code_and_root_source
  • execute_command_context_commands_reject_unreadable_arguments_with_shapes
  • execute_command_collect_context_rejects_unknown_finding_with_invalid_params
  • execute_command_collect_repair_packet_without_a_packet_source_names_the_route
  • list_actionable_items_lists_omitted_items_up_to_the_cap
  • list_actionable_items_names_gaps_the_actionable_profile_hides: two findings in one canonical gap count once, and a static_unknown finding is excluded. The old filter would report 4.

Real-binary check: the LSP, driven over the walk's workspace sample, lists the fragile_fee predicate in hidden_gaps, and collectContext with that finding_id returns its packet.

Review

  • Agent/check/MCP commits: two exact-head LLM reviews (7d63582, then the fix delta) found no blockers, and every should-fix item is fixed.
  • Devin and Codex: findings on 54f2c30 are fixed or answered and resolved.
  • LSP commit f34a14f: an LLM review found no blockers. Its two should-fix items are fixed in 6e80e31:
    • hidden_gaps now filters canonical-group primaries, as publishing does, so a gap counts once.
    • It lists only weakly_exposed/reachable_unrevealed/no_static_path, not the *_unknown classes.
  • LSP nits left as is:
    • A gap_id: "" plus a valid seam_id gets an error naming seam_id. The outcome is unchanged.
    • An internal render failure or a poisoned root lock can still yield a not-found error or null despite the "never null" wording.
    • A non-string gap_id on collectRepairPacket returns the top packet.
    • Echoed ids keep control characters.
  • Missing, not clean: CodeRabbit (rate-limited) and Gemini (quota).
  • Not established locally: Windows and the full workspace run.

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 check analyzes 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

  • Static output avoids killed, survived, untested, proven, and adequate.

Engineering Check

  • No new panic, unwrap, expect, todo, or unimplemented.
  • Git probes go through crate::git.
  • Errors carry actionable context; client-supplied ids echoed in errors are truncated.
  • Public JSON changes documented in OUTPUT_SCHEMA.

Gates

  • cargo xtask precommit

🤖 Generated with Claude Code

https://claude.ai/code/session_01V7M1xLfhmCEbLNZiW1K65r

…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
@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 self-assigned this Sep 28, 2026
@coderabbitai

coderabbitai Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

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.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 5adc2ad5-72aa-4a34-bc8d-27196ecff252

📥 Commits

Reviewing files that changed from the base of the PR and between 2deeac5 and e4593da.

📒 Files selected for processing (28)
  • CHANGELOG.md
  • crates/ripr/src/analysis/diff/load.rs
  • crates/ripr/src/analysis/diff/mod.rs
  • crates/ripr/src/analysis/mod.rs
  • crates/ripr/src/app/agent_status.rs
  • crates/ripr/src/cli/commands/agent.rs
  • crates/ripr/src/cli/commands/check.rs
  • crates/ripr/src/cli/help.rs
  • crates/ripr/src/cli/help/agent.rs
  • crates/ripr/src/cli/help/core.rs
  • crates/ripr/src/lsp/backend.rs
  • crates/ripr/src/lsp/tests.rs
  • crates/ripr/src/mcp/mod.rs
  • crates/ripr/src/mcp/protocol.rs
  • crates/ripr/src/mcp/server.rs
  • crates/ripr/src/mcp/server/rpc.rs
  • crates/ripr/src/mcp/server/tests.rs
  • crates/ripr/src/output/agent_receipt.rs
  • crates/ripr/src/output/human.rs
  • crates/ripr/src/workspace_status.rs
  • crates/ripr/tests/cli_smoke.rs
  • crates/ripr/tests/mcp_stdio.rs
  • docs/LLM_OPERATOR_GUIDE.md
  • docs/LSP_AGENT_REPAIR_WORKFLOW.md
  • docs/OUTPUT_SCHEMA.md
  • docs/interop/mcp.md
  • docs/specs/RIPR-SPEC-0011-llm-work-loop.md
  • docs/specs/RIPR-SPEC-0112-disclose-unanalyzed-working-tree.md

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

- 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
@EffortlessSteven
EffortlessSteven marked this pull request as ready for review September 28, 2026 13:47
@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!

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-28T13:51:26.035330Z 54f2c30 Draft marked ready
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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 found 3 potential issues.

Devin Review

Comment thread crates/ripr/src/cli/commands/agent.rs Resolved
Comment thread crates/ripr/src/analysis/diff/load.rs Resolved
Comment thread crates/ripr/src/analysis/diff/load.rs Resolved

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread crates/ripr/src/analysis/diff/load.rs Resolved
Comment thread crates/ripr/src/app/agent_status.rs Resolved
…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
@EffortlessSteven EffortlessSteven changed the title fix(agent): close four dead ends cold LLM agents hit in 0.11 (seam ids, dirty diffs, unrun tests, MCP) fix(agent,lsp): close dead ends cold LLM agents hit in 0.11 (seam ids, dirty diffs, unrun tests, MCP, LSP nulls) Sep 28, 2026
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

Copy link
Copy Markdown
Member Author

Rust gates failed on a74e1aa at the goldens step. The failing fixture was oracle_confirmation_mixed human-full.txt, which was missing the Drill in: block. That is not caused by this PR. It comes from main combining #4421 (the new fixture) with #4411 (the Drill in: output). Main re-blessed the golden in #4426 (edb529e).

I merged that main into 7461e57. cargo xtask goldens check and cargo xtask precommit both pass locally on 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
@EffortlessSteven
EffortlessSteven merged commit 88f23ec into main Sep 28, 2026
24 checks passed
@EffortlessSteven
EffortlessSteven deleted the claude/agent-experience-0-11-ffhz6c branch September 28, 2026 16:16
EffortlessSteven pushed a commit that referenced this pull request Sep 28, 2026
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
EffortlessSteven pushed a commit that referenced this pull request Sep 28, 2026
…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
EffortlessSteven added a commit that referenced this pull request Sep 29, 2026
…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
EffortlessSteven added a commit that referenced this pull request Oct 4, 2026
…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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants