Repository navigation
fix(lsp): name a client-appropriate refresh route in recovery hints (#9895) - #9977
Conversation
…9895) The component-outcome recovery (`retry ripr.refreshDiagnostics`, `run ripr.refreshDiagnostics for the full seam inventory`) named a VS Code palette command to every LSP client. Clients that did not advertise the `riprEditor` extension block now get the server-executed `ripr.refresh (workspace/executeCommand)` route in `ripr/analysisStatus` and the degradation log line; the editor client keeps the palette command. The MCP adapter never emitted the hint. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019ZHDKLVQqArSZrUFKSkREo
|
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! |
|
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 15 minutes. View limit details
Comment |
There was a problem hiding this comment.
Decision
- Needs verification checks before upstream.
Verification questions
- Confirm the new capability predicate treats any Some(ripr_editor) value as editor-integrated, even if its command data is absent or malformed.
- Confirm the focused unit and spawned-server tests exercise generic-client output and preserve editor-client output, but no test visibly checks a malformed riprEditor block against the generic route.
- Confirm the new predicate treats any syntactically retained riprEditor block as editor integration, including one that advertises no commands.
Refuted
- Changing the route changes the wire schema or server command registration.; refuted because: The diff preserves payload shape and storage, changing only recovery text; the generic route is described as the existing server-executed executeCommand route.
- The architecture change broadens capability semantics by treating any riprEditor block as sufficient for palette-command support.; refuted because: The implementation intentionally scopes this boundary to the negotiated extension block; command-specific validation remains governed by existing capability modeling.
- Fallback profiling on a poisoned feature store could expose the editor-only command.; refuted because: The fallback is explicitly ClientFeatureProfile::unsupported(), and recovery_for_client therefore selects the generic replacement.
Evidence gaps
- Model proof intent was rejected by deterministic validation.
- The failed ripr sensor provides executable evidence against the PR's local test claim, although the PR reports focused tests passing.
EffortlessSteven
left a comment
There was a problem hiding this comment.
REPAIR_REQUIRED at reviewed head 25c331f6fb96638404a4acc322aa2a2f7c8e5fca (independent real-stdio review, 2026-10-23).
[P1] Select the palette recovery by negotiated command support, not retained block presence.
Failure mode: ClientFeatureProfile::has_editor_integration (client_features.rs:247) returns ripr_editor.is_some(). The parser intentionally accepts {"version":"0.11.0"}, {"version":"0.11.0","commands":[]}, and {"version":"0.11.0","commands":["ripr.copyContext"]}. In actual ripr lsp --stdio sessions all three produce retry ripr.refreshDiagnostics in the completed seam component, embedded workspace status, and degradation warning, although this client has no refresh palette command. workspace/executeCommand for that suggested name returns -32602; ripr.refresh is registered and succeeds in every session.
Why here: SPEC-0143 states capability absence never implies support; SPEC-0129 already uses supports_client_command to distinguish advertised commands. A parsed editor block identifies an extension profile, not every command it can execute. The new unit test creates an empty command list and treats that as refresh support, so it encodes the gap.
Producer/consumer complication: the real VS Code riprExperimentalClientCapabilities currently advertises 35 commands and omits ripr.refreshDiagnostics, even though extension.ts:122 registers it and RiprClientController.refreshDiagnostics forwards to workspace/executeCommand: ripr.refresh. I executed source-extracted, type-stripped versions of that actual capability factory, registration expression, and refresh handler against the built server: the palette callback successfully completes a refresh. This is focused command-path proof, not full VS Code activation/e2e. A predicate-only fix would therefore also need the producer advertisement corrected (or choose the universally supported server recovery). Preserve the existing wire schema and command registrations.
Observed matrix (one clean successful control + 12 forced seam-failure sessions):
- absent block, empty object, null, scalar, missing version, malformed commands type, malformed command member: generic route, supported server refresh succeeds;
- version-only, empty commands, unrelated command only: wrong editor route;
- explicitly advertised refresh and actual editor producer: editor route; actual registered callback forwards successfully.
All 13 processes shutdown/exit with code 0. Both status surfaces and logs agree; each forced outcome has the current completed input identity, and findings remain published. Server executeCommand registration is unchanged; palette command remains client-only.
Executable evidence: locked default-feature build from a detached review-owned checkout, Rust 1.95.0 x86_64-unknown-linux-gnu; Cargo compiler-artifact selected /workspace/pr9977-proof/build/debug/ripr; SHA256 2a18fa3c60074c3c6bd69cc17233a630ec95a199afae84910ef1cf8d2e87708e. Command: node --no-warnings /workspace/pr9977-proof/probe.mjs; exit 0, complete transcripts and summary retained locally. These paths are locators; the exact payloads/results above are the portable evidence. Existing spawned-test execution is still pending its retained driver.
Integration: source ancestor is 8da9f7bd7e25e99d75e5b1c2e365322225a35b0b; current observed main is 592aa7473. No main delta in client_features, component_outcome, capabilities or VS Code client since that ancestor; local composition succeeds (tree 075ec4553f282607f9c9761cbb2dc788d6f58e08). GitHub merge ref 7aa642d8870c7d51745b906cf685080d9018afb4 instead has parents 0abe9d41f9e7dcdf439d020db793d5b202b704fa and the reviewed head, tree 0ac871e5b79a2bbd048ac6e99d666fdf11d778e7; it is not current-main proof.
Advisory-review correction: job 120458139869 reports ripr sensor failed/exit 2, cargo-test timed out at 900s, three proof intents rejected before planning, and a separate head-only proof pass. That is missing/advisory evidence, not an independently established failure of the PR's reported focused tests. Malformed known fields fail the whole editor block closed; they do not remain Some. The earlier refutation of the empty-command concern is contradicted by these sessions.
Current checks: required Ripr Rust Small Result absent, no merge-ready label, no active relevant qualification to duplicate; bot quota comments do not establish review. Ruleset 18845973 requires resolved threads, zero approvals and no bypass; classic branch-protection read is denied to this integration and remains unknown.
Owner / governing claim: existing PR candidate owner / #9895 refresh-hint slice.
Candidate: #9977 / 25c331f / identities above.
Review: blocking negotiated-support finding; no branch takeover or competing implementation.
Validation: build and 13 real sessions complete; existing spawned tests pending.
Dependency: same-candidate producer/predicate/test repair.
Next: retain Draft during one joined repair/proof/review wave, exercise negative payloads plus actual editor producer/handler, then refresh exact-head and remote composition review before requesting required qualification. No merge, release, deploy or protection change performed.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Supplemental independent verification checkpoint: REPAIR_REQUIRED at 25c331f6fb96638404a4acc322aa2a2f7c8e5fca.
I am reusing the independent negotiated-support finding, which appeared during this pass. My real-process observations agree: valid version-only, empty-command, and unrelated-command blocks retain the palette hint. Malformed known fields are rejected before has_editor_integration and receive the generic route. SPEC-0143's explicit-support rule makes the retained-block predicate insufficient. The actual editor advertisement's omission of its locally registered palette command needs to be considered in the same owner repair; it does not clear the predicate. No competing implementation or branch change was made.
Additional completed evidence:
cargo test --locked -p ripr --test lsp_seam_degradation_spawn spawned_server_with_invalid_seam_limit_degrades_seam_inventory_through_production_refresh -- --exact --nocapture: exit 0; 1 passed, 11 filtered. This supplies the previously pending production-path test receipt, including its healthy control and retained findings.- A separate bounded framed-stdio probe completed 13 sessions, all shutdown/exit 0: healthy control; absent, empty, scalar, missing/empty-version, malformed-command-type/member, oversized-command-list, and malformed-guard blocks; valid omitted, empty, and unrelated command lists. Both status surfaces and degradation logs agree. Failed and deferred hints were exercised for generic and empty-command profiles; all seven component payload keys remain present.
ripr.refreshis advertised and succeeds; forwardingripr.refreshDiagnosticsreturns -32602. - Initial deferred stimulus timed out because a clean open correctly reused the completed snapshot. That failed probe receipt is retained. Changing persisted fixture bytes reached the actual interactive-deferred path and passed; this is a harness correction, not an erased source failure.
- Linux / Rust 1.95.0; review-owned detached worktree, clean source tree
8c92bfd9a8a0d6349abb5eebe62abab68c690767; selected executable SHA256615d028fcf7a882f546a92a42391ebb1d3bff4b86fe03181a71c8e3587288a3c. No broad test or qualification replay.
Integration scope: observed GitHub merge object 7aa642d8 has parents 0abe9d41 + reviewed head and tree 0ac871e5; LSP/manifest/lock/config blobs match the candidate. This is source comparison, not current-main execution qualification.
Advisory job 120458139869 reports ripr exit 2, cargo-test timeout at 900s, rejected proof intents, and a separate head-only pass. Those do not establish failure of the PR's reported focused tests. The raw sensor artifact transfer failed; its detailed failure cause remains unverified.
Remaining boundary: my GET of the exact-head check-runs inventory through gh api returned Forbidden. That denied action was not retried or routed elsewhere. Required-check/protection completeness is unverified in this pass; no qualification request or merge was performed. Keep the current Draft and canonical owner; resume with the joined capability/producer/test repair, then independently review the new head.
|
Bounded isolated repair proposal for the existing candidate; not pushed, committed, or merged. Head re-read immediately before publication: This completes the local pending proof from review 5630481763. The supplemental review independently reports the same finding; its deferred-path coverage is supplemental rather than a rerun claimed here. Observed:
Proposal: remove the new presence-only accessor; use existing Artifact identities:
Local receipts: Owner / governing claim: existing candidate owner / #9895 refresh-hint slice. Portable isolated repair patch (relative to 25c331f)diff --git a/changelog.d/9895-refresh-hint-client-appropriate.md b/changelog.d/9895-refresh-hint-client-appropriate.md
index 3dd650700..bbfbe5855 100644
--- a/changelog.d/9895-refresh-hint-client-appropriate.md
+++ b/changelog.d/9895-refresh-hint-client-appropriate.md
@@ -3,5 +3,5 @@
command to other clients: the `recovery` field of `ripr/analysisStatus`
component outcomes and the degradation log line name the server-executed
`ripr.refresh (workspace/executeCommand)` route unless the client advertised
- the `riprEditor` extension block, in which case the palette command is kept
+ `ripr.refreshDiagnostics` in `riprEditor.commands`, in which case the palette command is kept
(#9895).
diff --git a/crates/ripr/src/lsp/client_features.rs b/crates/ripr/src/lsp/client_features.rs
index d8e7b390e..b5f1b50f3 100644
--- a/crates/ripr/src/lsp/client_features.rs
+++ b/crates/ripr/src/lsp/client_features.rs
@@ -239,14 +239,6 @@ impl ClientFeatureProfile {
}
}
- /// Whether the client advertised the RIPR editor extension block. Editor
- /// palette commands such as `ripr.refreshDiagnostics` exist only for such
- /// a client; every other client (including a malformed block that failed
- /// closed) is generic (#9895).
- pub(super) fn has_editor_integration(&self) -> bool {
- self.ripr_editor.is_some()
- }
-
/// Whether the negotiated client advertised `command` in its
/// `riprEditor.commands` block (#1776, RIPR-SPEC-0129). Client-executed
/// `ripr.*` commands (clipboard copies, related-test navigation) exist
diff --git a/crates/ripr/src/lsp/component_outcome.rs b/crates/ripr/src/lsp/component_outcome.rs
index 9254e42df..94fb49d3f 100644
--- a/crates/ripr/src/lsp/component_outcome.rs
+++ b/crates/ripr/src/lsp/component_outcome.rs
@@ -221,15 +221,15 @@ impl ComponentOutcome {
/// The recovery route as this client can act on it (#9895). The stored
/// route names the VS Code palette command `ripr.refreshDiagnostics`,
- /// which only exists when the RIPR editor extension registered it (the
- /// client advertised the `riprEditor` block). Every other LSP client is
+ /// which is available when the client explicitly advertised it in
+ /// `riprEditor.commands`. Every other LSP client is
/// pointed at the server-executed `ripr.refresh` command instead, which
/// the server registers for all clients. Capability absence never implies
/// support, so a pre-initialize or malformed-block profile gets the
/// generic route.
fn recovery_for_client(&self, client: &ClientFeatureProfile) -> Option<String> {
let recovery = self.recovery?;
- if client.has_editor_integration() {
+ if client.supports_client_command(EDITOR_REFRESH_COMMAND) {
return Some(recovery.to_string());
}
Some(recovery.replace(EDITOR_REFRESH_COMMAND, SERVER_REFRESH_ROUTE))
@@ -743,7 +743,7 @@ mod tests {
let mut profile = ClientFeatureProfile::unsupported();
profile.ripr_editor = Some(RiprEditorClientCapabilities {
version: "0.10.0".to_string(),
- commands: Vec::new(),
+ commands: vec!["ripr.refreshDiagnostics".to_string()],
guarded_test_edit: false,
});
profile
diff --git a/crates/ripr/tests/lsp_seam_degradation_spawn.rs b/crates/ripr/tests/lsp_seam_degradation_spawn.rs
index 2367251ba..0d50b2bfe 100644
--- a/crates/ripr/tests/lsp_seam_degradation_spawn.rs
+++ b/crates/ripr/tests/lsp_seam_degradation_spawn.rs
@@ -1061,3 +1061,145 @@ fn spawned_server_saved_edit_refresh_changes_identity_and_retires_obsolete_findi
require_retired_lib_findings(&lib_uri, &after)?;
shutdown_exit_and_wait(&mut session)
}
+
+/// Recovery text must name an actually negotiated client command (#9895).
+/// A version-only profile can parse successfully while supporting no command.
+#[test]
+fn spawned_server_refresh_recovery_requires_negotiated_command() -> Result<(), String> {
+ let fixture = seeded_git_fixture_root("refresh-capability-negotiation")?;
+ let root_uri = file_uri_for_fixture(&fixture.path)?;
+ let server_recovery = "retry ripr.refresh (workspace/executeCommand)";
+ let editor_recovery = "retry ripr.refreshDiagnostics";
+ let cases = [
+ ("absent", serde_json::json!({}), server_recovery),
+ (
+ "empty",
+ serde_json::json!({"experimental":{"riprEditor":{}}}),
+ server_recovery,
+ ),
+ (
+ "null",
+ serde_json::json!({"experimental":{"riprEditor":null}}),
+ server_recovery,
+ ),
+ (
+ "scalar",
+ serde_json::json!({"experimental":{"riprEditor":"yes"}}),
+ server_recovery,
+ ),
+ (
+ "version_only",
+ serde_json::json!({"experimental":{"riprEditor":{"version":"0.11.0"}}}),
+ server_recovery,
+ ),
+ (
+ "empty_commands",
+ serde_json::json!({"experimental":{"riprEditor":{"version":"0.11.0","commands":[]}}}),
+ server_recovery,
+ ),
+ (
+ "unrelated_command",
+ serde_json::json!({"experimental":{"riprEditor":{"version":"0.11.0","commands":["ripr.copyContext"]}}}),
+ server_recovery,
+ ),
+ (
+ "malformed_commands",
+ serde_json::json!({"experimental":{"riprEditor":{"version":"0.11.0","commands":"yes"}}}),
+ server_recovery,
+ ),
+ (
+ "malformed_member",
+ serde_json::json!({"experimental":{"riprEditor":{"version":"0.11.0","commands":[42]}}}),
+ server_recovery,
+ ),
+ (
+ "explicit_refresh",
+ serde_json::json!({"experimental":{"riprEditor":{"version":"0.11.0","commands":["ripr.refreshDiagnostics"]}}}),
+ editor_recovery,
+ ),
+ ];
+ let mut mismatches = Vec::new();
+ for (label, capabilities, expected) in cases {
+ let mut session = SpawnSession::spawn(Some(INVALID_SEAM_LIMIT))?;
+ let initialize = session.request("initialize", serde_json::json!({
+ "processId": null,
+ "rootUri": root_uri,
+ "initializationOptions": {"baseRef":"HEAD","checkMode":"instant","diagnosticProfile":"full"},
+ "capabilities": capabilities,
+ }))?;
+ let initialized = expect_result(&initialize, "initialize")?;
+ let commands = initialized["capabilities"]["executeCommandProvider"]["commands"]
+ .as_array()
+ .ok_or_else(|| format!("{label}: missing command registration"))?;
+ if !commands.contains(&serde_json::json!("ripr.refresh"))
+ || commands.contains(&serde_json::json!("ripr.refreshDiagnostics"))
+ {
+ return Err(format!(
+ "{label}: server/client command boundary changed: {commands:?}"
+ ));
+ }
+ session.notify("initialized", Some(serde_json::json!({})))?;
+ let (notifications, refresh) = collect_refresh(&mut session)?;
+ expect_result(&refresh, "ripr.refresh")?;
+ let statuses = analysis_status_params(¬ifications);
+ let status = statuses
+ .last()
+ .ok_or_else(|| format!("{label}: no status"))?;
+ completed_seam_identity(status)?;
+ let seam = status["components"]
+ .as_array()
+ .and_then(|components| {
+ components
+ .iter()
+ .find(|outcome| outcome["component"] == "seam_inventory")
+ })
+ .ok_or_else(|| format!("{label}: no seam outcome"))?;
+ if status["run_status"] != "limited"
+ || seam["state"] != "failed"
+ || seam["kind"] != "seam_inventory_failed"
+ {
+ return Err(format!(
+ "{label}: forcing did not reach the production outcome: {seam}"
+ ));
+ }
+ let workspace = session.request(
+ "workspace/executeCommand",
+ serde_json::json!({
+ "command":"ripr.collectWorkspaceStatus", "arguments":[]
+ }),
+ )?;
+ let workspace = expect_result(&workspace, "ripr.collectWorkspaceStatus")?;
+ if workspace["analysis_status"]["components"] != status["components"] {
+ return Err(format!(
+ "{label}: embedded and pushed component status differ"
+ ));
+ }
+ let warnings = log_messages_of_type(¬ifications, 2)
+ .into_iter()
+ .filter(|message| message.contains("seam_inventory failed"))
+ .collect::<Vec<_>>();
+ if seam["recovery"] != expected || warnings.len() != 1 || !warnings[0].contains(expected) {
+ mismatches.push(format!(
+ "{label}: expected {expected}; got {seam}; warnings {warnings:?}"
+ ));
+ }
+ let palette = session.request(
+ "workspace/executeCommand",
+ serde_json::json!({
+ "command":"ripr.refreshDiagnostics", "arguments":[]
+ }),
+ )?;
+ if palette["error"]["code"] != -32602 {
+ return Err(format!(
+ "{label}: client palette command became a server command: {palette}"
+ ));
+ }
+ let (_, retry) = collect_refresh(&mut session)?;
+ expect_result(&retry, "ripr.refresh after unsupported palette command")?;
+ shutdown_exit_and_wait(&mut session)?;
+ }
+ if !mismatches.is_empty() {
+ return Err(mismatches.join("\n"));
+ }
+ Ok(())
+}
diff --git a/docs/specs/RIPR-SPEC-0141-lsp-typed-component-degradation.md b/docs/specs/RIPR-SPEC-0141-lsp-typed-component-degradation.md
index a6b8d1091..1bd7d1c06 100644
--- a/docs/specs/RIPR-SPEC-0141-lsp-typed-component-degradation.md
+++ b/docs/specs/RIPR-SPEC-0141-lsp-typed-component-degradation.md
@@ -174,7 +174,7 @@ when the snapshot commits,
then the seam_inventory outcome is failed with kind seam_inventory_failed
and a bounded message and the recovery route retry ripr.refreshDiagnostics
(retry ripr.refresh (workspace/executeCommand) for a client without the
- riprEditor block, #9895),
+ ripr.refreshDiagnostics command in riprEditor.commands, #9895),
and the run status is limited,
and ordinary diff-scoped findings remain published with
findings_trustworthy: true,
diff --git a/editors/vscode/src/client.ts b/editors/vscode/src/client.ts
index 7f9da7eff..d4b496ba9 100644
--- a/editors/vscode/src/client.ts
+++ b/editors/vscode/src/client.ts
@@ -236,6 +236,7 @@ const RIPR_CLIENT_COMMANDS: readonly string[] = [
'ripr.openRelatedTest',
'ripr.openReport',
'ripr.openSettings',
+ 'ripr.refreshDiagnostics',
'ripr.restartServer',
'ripr.selectWorkspaceRoot',
'ripr.showOutput',
diff --git a/editors/vscode/test/suite/extension.test.ts b/editors/vscode/test/suite/extension.test.ts
index 9df695f16..74373d645 100644
--- a/editors/vscode/test/suite/extension.test.ts
+++ b/editors/vscode/test/suite/extension.test.ts
@@ -4516,6 +4516,7 @@ suite('Extension Smoke', () => {
'expected a non-empty extension version in the riprEditor block'
);
assert.ok(advertised.riprEditor.commands?.includes('ripr.showStatus'));
+ assert.ok(advertised.riprEditor.commands?.includes('ripr.refreshDiagnostics'));
// Guarded test edits are not implemented by this extension; the opt-in
// must stay explicitly false rather than absent-truthy.
assert.strictEqual(advertised.riprEditor.guardedTestEdit, false);Resource closeout (verified after the proof drivers ended): the detached review worktree and disposable Cargo/npm caches have been released. Original and proposal executable witnesses are retained in |
#9895) has_editor_integration was true for any riprEditor block, so version-only, empty-commands and unrelated-commands clients were told to run a palette command they cannot execute. Recovery now uses supports_client_command for ripr.refreshDiagnostics (RIPR-SPEC-0129/0143: absence never implies support) and otherwise names ripr.refresh (workspace/executeCommand). The VS Code extension now advertises ripr.refreshDiagnostics so it keeps the palette route. Adds a unit matrix over block shapes, a framed real-Backend test that the editor and generic clients see different routes (verified to fail when the backend stores the unsupported profile), and the spawned-server regression. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019ZHDKLVQqArSZrUFKSkREo
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
There was a problem hiding this comment.
Decision
- Needs one verification check before upstream.
Verification questions
- Confirm completion of all client-facing recovery routes is not established because sibling renderers outside the two changed production sites were not exhaustively enumerated.
Refuted
- Changing recovery text changes the wire schema or makes ripr.refreshDiagnostics a server command.; refuted because: The payload shape and stored outcome remain unchanged; only recovery text is projected, while the spawned test verifies ripr.refresh is registered and ripr.refreshDiagnostics is not.
- The route change alters the wire schema or turns the editor palette command into a server command.; refuted because: Only the recovery string is projected; executeCommandProvider still registers ripr.refresh, while the spawned test expects ripr.refreshDiagnostics execution to return -32602.
- Client projection may require duplicating route logic across status payload and degradation logging or alter the stored outcome contract.; refuted because: Both render paths delegate to ComponentOutcome::recovery_for_client; stored recovery and payload shape are unchanged, while backend supplies one negotiated profile snapshot.
- The generic server route is not registered as an executable command or cannot recover after the unsupported palette request.; refuted because: The spawned-server test asserts ripr.refresh is advertised, executes it successfully, and executes it again after the palette command returns -32602.
Evidence gaps
- Full Rust test proof is scheduled but its receipt was unavailable in the supplied packet.
- Model proof intent was rejected by deterministic validation.
- The planned cargo-test receipt is not yet available in the supplied review evidence.
- The available proof status is incomplete because ripr failed with exit code 2 and cargo-test evidence was still scheduled-late.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Current-head adoption review: source findings addressed; REVIEW_INCOMPLETE only for running qualification.
reviewed_head_sha: a274ec54c2dcc48046ab3c9c9d47884e832b67d4
integration_basis: PR contains 592aa7473c2af21c30dbf3ef414688a57a70937b; observed main d84b8bedcf172ec3c6d02d384f61f485a1ed1826. Observed hosted merge subject 5c85e8c4a47dac192424875c303b321c369160bb, tree 01dbf90313282296f4109cc8ce88d1e3afdbd3ff, parents 7edc032a62340ed3802419a42e4fabebc0b5f628 + reviewed head. Current local composition is conflict-free (tree 2c9958933e8d08b77ab5ef7fd7545adc4923f97b); unrelated main movement does not require branch churn.
The canonical commit adopts the negotiated-command predicate, the already-registered editor command advertisement, and the exact spawned regression from the bounded proposal. It additionally tests parser block shapes and both real-Backend routes. Compared with the proposal composition, changed production behavior is the same; differences in component_outcome are documentation and test additions. The old presence-only helper is removed. This addresses the P1 finding. No source branch mutation was made by this review.
The new advisory renderer question is now source-enumerated at this head:
- The three production palette-bearing stored recoveries are the deferred seam inventory (
diagnostics.rs:1343–1346), failed seam inventory (:1368–1373), and failed diff conversion (:1672–1677). Other component recoveries name their own configuration/artifact repair and remain unchanged. ComponentOutcomeis private to LSP and derives Clone/Debug, not Serialize. Runtime renderers arestatus_payload(component_outcome.rs:243–256) andlog_summary(:204–220), both throughrecovery_for_client. Runtime status construction isbackend.rs:2534; degradation logging is:5109.ripr/analysisStatuspublishes that shared status; both no-snapshot and snapshotripr.collectWorkspaceStatusbranches embedanalysis_status_payload_for_health(backend.rs:7427,7448). They do not serialize stored recoveries independently.- Remaining runtime
component_outcomesconsumers classify degradation/run status withis_degraded; they do not render recovery text. Direct raw recovery reads in diagnostics are under test cfg. Other snapshot occurrences are storage or cfg(test) fixtures, including the test-only consumed-source dump. - The VS Code limited-status component presenter consumes the projected recovery. Its canned deferred/status fallback names the locally registered palette action in the editor-only client. It is not a generic LSP transport renderer. The actual extension registration and forwarding callback remain unchanged; the producer now explicitly advertises the palette command.
- The server's seven executeCommand registrations and seven component-payload keys remain unchanged. The shared accessor checks exact command membership; absent/empty/malformed/unrelated capabilities cannot grant support. Profile-store poisoning still falls back to unsupported.
Proof scope: the original submitted-production regression failed behaviorally on version-only/empty/unrelated command cases; the proposal passed 13 spawned tests, 13 real-stdio cases, compile/package, and a compiled producer/controller path to the server with mocked VS Code host imports. Those are historical head-plus-proposal receipts, not relabeled as new-head execution. The adopted spawned test is byte-identical to that tested proposal; added parser/Backend controls are currently covered by the running exact-head hosted suite. The commit reports an unsupported-profile mutation control, which remains reported rather than independently re-executed here.
Current qualification: existing run 40000608300 attempt 1 is for this exact head; admission succeeded, required Rust gates are running. The workflow reference binds the hosted merge subject above; actual checkout/log/test receipts will be inspected before final clearance. The existing VS Code job in 40000608432 has passed npm install/compile/package and is executing xvfb-run -a npm run test:e2e. Full VS Code activation is not yet claimed. No duplicate build/CI was started.
blocking_findings: none remaining in inspected source/contract/test-oracle dimensions.
proof_or_review_missing: current required test and Result receipts; completed editor e2e receipt; final refreshed merge gates.
residual_assumptions_and_non_claims: no release/publication/deployment; historical mocked-host proof does not establish full editor activation. Unrelated #9895 sweep items remain outside this PR.
disposition: source review complete; wait for the existing qualification and inspect results, then issue final current-head REVIEW_READY or a concrete new finding before protected expected-head squash.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Terminal qualification reconciliation for a274ec54c2dcc48046ab3c9c9d47884e832b67d4: source/integration review has no newly found blocker; final merge disposition remains REVIEW_INCOMPLETE.
Reused adoption review 5632610792 and its renderer inventory. The earlier capability finding is repaired on the canonical successor; the obsolete private-proposal adoption wait no longer applies.
The existing required run 40000608300 is terminal:
- Rust gates job 120575740330 success. Its actual checkout log names
5c85e8c4a47dac192424875c303b321c369160bb, parents7edc032a62340ed3802419a42e4fabebc0b5f628+ reviewed head, tree01dbf90313282296f4109cc8ce88d1e3afdbd3ff. - Nextest: 20,245 tests run / 20,245 passed / 5 skipped. The new parser/component, real-Backend recovery, and negotiated-command spawned regression are present in the passing log. Doctests, strict Clippy, goldens, fixtures, corpora, and Schema producer sweep completed successfully.
- Schema sweep reports this executed merge commit and rows digest
a622346009a57d038dea158081e5bb046fc09da9540da3663ec4704d1819538d. Three runtime-only artifact rows were validated; authority-only rows remain authority-only with zero live artifacts. This is its configured gate pass, not a claim that every schema had runtime validation. - Ripr Rust Small Result job 120603315377 success, completed 19:06 UTC. Logs show admission success/admitted, GitHub-hosted result success,
pull_request/merge-ready, and workflow refrefs/pull/9977/merge. No new request or rerun was made. - Existing VS Code job 120575387527 has successful install/compile/package and actual
xvfb-run -a npm run test:e2esteps. The separate Perl-analysis failure is not an editor failure.
Current integration applicability: observed main cc72500387c0fb152d1dbd6b40784f2bd925b42a composes conflict-free with this head using the verified PR base 592aa7473; local composed tree a64b55f38df6c95d5dcc3e8011cc8ed745c44ec4. LSP, editor, dependency manifests/lock/config and relevant workflow blobs match the executed hosted merge subject. This is refreshed source composition, not another execution campaign.
Remaining delivery gaps:
- The inherited all-features Perl fact-index digest failures remain failed. Retain their canonical attribution in #10002 and repair ownership in #10007, currently open/Ready at
df5668c65e91e33a7e90faa8e81d4119a222028ewith separate independent review. No repair, golden repin, or qualification was duplicated here. - The earlier check-runs access denial is preserved. Inspection of these known run/jobs does not establish a complete required-check/protection inventory. No denied read or alternate access route was attempted.
- Canonical closer must reconcile every applicable required failure, dependencies and protections before final REVIEW_READY/protected expected-head squash. Baseline attribution alone does not authorize ignoring a required failure.
No source writes, branch changes, duplicate watch, dispatch, Ready transition, merge, release or deployment were performed. This receipt supplements the existing canonical owner/closer.
EffortlessSteven
left a comment
There was a problem hiding this comment.
Post-landing qualification closure: PR_MERGED; substantive review and required qualification complete (2026-10-23 19:15 UTC).
reviewed_head_sha: a274ec54c2dcc48046ab3c9c9d47884e832b67d4
integration_basis: executed hosted merge 5c85e8c4a47dac192424875c303b321c369160bb, parents 7edc032a62340ed3802419a42e4fabebc0b5f628 + reviewed head. The normal squash landed at 19:11:35 UTC as 0071b67cdab3eb6004910ab8ce6fccee31a129f5, parent cc72500387c0fb152d1dbd6b40784f2bd925b42a, tree a64b55f38df6c95d5dcc3e8011cc8ed745c44ec4. Git fetch, ancestry and whole-tree comparison confirm main contains exactly the previously inspected composition: nine files, 504 additions / 24 deletions. Another closer landed it during this verification; this record is post-landing, not a backdated pre-merge disposition. No merge write or duplicate CI was issued here.
inspected_surfaces_and_risks: reuse the current-head source/renderer review and original real-session negative controls. All three stored palette-bearing recovery producers feed the shared projected status/log renderers; pushed analysisStatus and both collectWorkspaceStatus branches use that shared result. The existing exact-membership accessor grants palette support only when advertised. The actual editor producer now advertises its existing registration; callback/server command routing, seven component keys and seven server registrations remain unchanged. Main movement changes no owning LSP/editor, manifest/lock, nextest, workflow or operating-contract blobs relative to the executed subject; source composition is refreshed without relabeling it as fresh execution.
blocking_findings: none.
refuted_or_stale_findings: original Some-presence P1 repaired by the canonical author; sibling-renderer question answered by the prior full inventory; previously missing terminal test/Result and editor-host receipts now inspected. Complete current Conversation/review inventory has no newer material finding; inline-thread read succeeds with zero threads.
proof_and_ci_observed:
- Required producer 120575740330, run 40000608300 attempt 1, actually checked out 5c85e8c. Rust 1.95.0;
cargo nextest run --workspace --profile ci: 20,245 run / 20,245 passed / 5 skipped, 162 binaries. The parser matrix, framed Backend recovery and spawned negotiated-command recovery controls all explicitly PASS. The spawned control preserves absent/empty/malformed/unrelated negatives, supported server refresh and post-rejection recovery. Required doctests, strict Clippy, all-target/all-feature checks, goldens, fixtures, corpora and configured schema sweep also succeeded. - Required Result 120603315377 succeeds on the exact head, app 15368. Its log shows admitted/success, GitHub-hosted producer success and actual pull_request/merge-ready route. Main exposes only this required context. Active main ruleset 18845973 requires resolved threads, zero approvals and no bypass. The administration-only classic protection detail remains unreadable; the harmless branch protection summary was successfully read. A blocked summary was not treated as a request for extra human approval.
- Hosted editor job: actual VS Code 1.143.1 Linux trusted extension host, 461 passing / 1 pending, plus separate real-server multi-root 1 passing, exits 0; install/compile/package succeed. Server archive SHA256
aa6deb3b2d2933eef69ba12797acf9f043977ba31d1b2a5f288f8d8cef2ba24e. Historical mocked-host callback proof remains separately scoped. - Fresh nextest/JUnit artifact 12524516661 is recorded with digest
7c16972ec6d39b142378b371ab08f054fde606c9f0a21336df5ad67d5e567db8. The complete producer log and fresh/nonzero-report gate were inspected. Raw XML was not independently parsed: connector transfer produced a file reference, but the task-shell download was denied by its proxy (403), not retried. Complete logs are retained locally.
proof_or_review_missing: no blocker for this bounded LSP claim. Other platforms and the pending untrusted clipboard case are not qualified by the Linux host receipt; Windows advisory remains active.
residual_assumptions_and_non_claims: inherited all-features Perl/analytics/coverage failures stay failed. Exact-base execution reproduces all three identical digests; #9977 changes none of those analysis/domain/output/dependency inputs and does not worsen that exposure. #10002 and the separate canonical repair #10007 retain that work. No validator weakening, release/deployment, umbrella #9895 completion or full all-features pass is claimed.
disposition: PR_MERGED, main verified; this LSP recovery-hint slice is delivered.
Summary
LSP component recovery text now names a command the negotiated client supports.
ripr.refreshDiagnosticsis retained only when the client explicitly advertises it incapabilities.experimental.riprEditor.commands; all other clients receiveripr.refresh (workspace/executeCommand).Version-only, empty-command, unrelated-command, absent and malformed capability blocks use the generic route. The VS Code extension now advertises its already-registered palette refresh command, whose callback continues to invoke the server's existing
ripr.refreshcommand.Source-of-truth Links
Proposal: none
Spec: RIPR-SPEC-0141; existing RIPR-SPEC-0129 and RIPR-SPEC-0143 capability contracts
ADR: none
Plan item: none
Governing issue or accepted claim: #9895, LSP client-appropriate refresh recovery slice only
Acceptance delta (one sentence): Status and degradation-log recovery text names the editor palette command only when explicitly negotiated, and otherwise names the executable server refresh route.
Candidate Relationships
Candidate branch (GitHub PR head is authoritative after publication): claude/9895-refresh-hint
Stack parent or prerequisite PR (if any): none
Proposed replacement of PR (if any; not yet accepted): none
Acceptance retained from a replaced candidate (if any): none
Accepted winner and losing candidate disposition (when decided): none; this is the existing canonical candidate
Scope
Production delta:
ComponentOutcome::recovery_for_clientuses the existingsupports_client_commandaccessor.ripr.refreshDiagnosticsto its capability advertisement.Evidence/support delta:
No wire schema, stored outcome, server-command registration, editor-command registration or MCP behavior changes. The remainder of #9895 is outside this slice.
Proof and current state
Canonical head:
a274ec54c2dcc48046ab3c9c9d47884e832b67d4.Current-head source review and renderer enumeration. Historical proposal and receipts.
Historical evidence is bound to its original subject: submitted-head spawned target 12 passed; the regression-only negative control failed on the three unsupported command cases; the isolated repair proposal passed 13 spawned tests and 13 real LSP cases. Proposal npm install/compile/package and compiled callback-to-server proof passed with mocked VS Code host imports. These are not new-head test receipts and do not establish full VS Code activation.
Current-head hosted evidence:
5c85e8c4a47dac192424875c303b321c369160bb; 20,245 nextest tests passed / 5 skipped, including the parser, framed Backend and negotiated-command spawned controls. Required doctests and the other configured gates passed. Required Result 120603315377 succeeded on the exact head. No duplicate request or rerun was made.5c85e8c4a47dac192424875c303b321c369160bb. VS Code 1.143.1 on Linux, trusted-host suite 461 passing / 1 pending (untrusted clipboard case), plus the separate real-server multi-root control 1 passing; host exits 0. Observed server archive SHA256aa6deb3b2d2933eef69ba12797acf9f043977ba31d1b2a5f288f8d8cef2ba24e. This is fresh hosted activation/registration evidence, separate from the historical mocked-host callback proof.7edc032a62340ed3802419a42e4fabebc0b5f628independently reproduces all three failures with identical digests (exit 101, 3 failed). No analysis/domain/output/dependency inputs differ between that base and this PR's hosted merge. Follow-up #10002 retains diagnosis and repair acceptance without weakening controls. These checks remain failed; their full all-features results are not called green. Coverage did execute and pass the new capability-parser and Backend recovery controls.Owner / governing claim: canonical candidate owner and review closer / #9895 refresh-hint slice.
Candidate: #9977 / a274ec5; qualified hosted merge 5c85e8c. Normal squash landed 2026-10-23 19:11:35 UTC as 0071b67cdab3eb6004910ab8ce6fccee31a129f5.
Review: capability finding repaired; source consumer and editor-host review complete. Final post-landing qualification receipt records current checks, protections, limits and full-tree readback. Another closer landed the PR during terminal verification; the final receipt is explicitly post-landing.
Validation: required producer and exact-head Result passed; 20,245 tests passed / 5 skipped; fresh trusted Linux editor suite passed with the one pending untrusted clipboard case retained. Exact-base Perl diagnostic completed; inherited failures remain failed in #10002, with separate repair #10007.
Dependency: no outstanding blocker for this LSP slice. Other #9895 acceptance and #10002 repair remain separate.
Next: PR_MERGED. Main ancestry and the entire squash tree were verified: parent cc72500, tree a64b55f38df6c95d5dcc3e8011cc8ed745c44ec4, exactly the reviewed nine-file composition. No release/deployment or routine post-merge qualification replay.
Rollback
Revert the squash commit. No persisted data or schema migration.
Static language and engineering