Skip to content

fix(vscode): probe resolved servers through standard LSP - #3191

Merged
EffortlessSteven merged 3 commits into
mainfrom
codex/1745-standard-lsp-probe
Aug 12, 2026
Merged

EffortlessSteven merged 3 commits into
mainfrom
codex/1745-standard-lsp-probe

Conversation

@EffortlessSteven

@EffortlessSteven EffortlessSteven commented Aug 12, 2026 •

Copy link
Copy Markdown
Member

Summary

  • gate resolved servers on a bounded framed standard-LSP initialize/shutdown/exit session after the existing version probe
  • require the active VS Code capability/command surface, validate JSON-RPC 2.0 envelopes, and preserve trust and fallback boundaries
  • cover real-server, framing, lifecycle, capability, encoding, identity, cleanup, and fallback behavior

Swarm / Source Boundary

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

Source-of-truth Links

Issue: Closes #1745

Exact candidate SHA: 80e16eeb476a06cd1af6168d81d23caf58a5b0b0

Scope

  • one pre-activation VS Code server compatibility seam

Scope Classification

  • One production behavior

Production delta:

  • resolved candidates must identify as a versioned ripr server and complete JSON-RPC 2.0 initialize/shutdown with UTF-16, saved synchronization, hover, code actions, pull diagnostics, workspace folders, and the full server command set before activation

Evidence/support delta:

  • typed required/optional evidence, adversarial envelopes/capability omissions, POSIX tree cleanup, archive-extracted binary identity, fallback proof, and governing SPEC traceability

Single acceptance criterion:

  • a version-only or incompatible candidate cannot become active, while a compatible packaged server can

Non-goals:

Support-tier Impact

  • changes a README, release, docs, CLI, JSON, editor, CI, or package claim

Claim/proof notes:

  • this establishes only the extension's exercised standard baseline; optional evidence does not claim feature universality

Policy Impact

  • process/network

Ledger or exception notes:

  • uses the existing bounded editor subprocess surface; failed probes terminate their process tree

Proof

npm --prefix editors/vscode ci
cargo xtask vscode-compile
RIPR_TEST_SERVER_PATH=target/debug/ripr.exe mocha --ui tdd out/test/suite/lsp_compatibility.test.js
cargo xtask vscode-package
tar -tf editors/vscode/dist/ripr-0.10.0.vsix | Select-String out/src/lspCompatibility.js
cargo xtask check-process-policy
cargo xtask check-output-contracts
cargo xtask check-capabilities
cargo xtask vscode-test-e2e
cargo xtask check-pr
git diff --check

Result, failures, or skipped proof:

  • cargo xtask vscode-compile passed
  • packaged Windows Electron compatibility proof: 31 passing, 1 POSIX-only pending; covers strict envelopes, archive identity, capabilities, fallback, and descendant death after every relevant terminal path
  • trust/no-spawn proof: 1 passing
  • the default E2E route archived the worktree-built server, extracted one exact member, verified built/extracted SHA-256 parity, and probed that extracted executable
  • vscode-package, precommit, check-process-policy, check-spec-format, check-spec-numbering, check-traceability, check-output-contracts, check-capabilities, check-workflows, and check-ci-lane-whitelist passed
  • local check-pr on the prior head reached full nonzero denominators: ripr library 4,164 passing; xtask 1,587 passing and 2 environment failures because local jq is unavailable (not candidate behavior); exact-head hosted rust and required routed GitHub-hosted/result checks passed
  • exact-head hosted Ubuntu VS Code proof passed with 171 passing / 1 unrelated packaged-trust clipboard case pending; it exercised the POSIX process-group regressions and archive-extracted server identity; exact-head Windows advisory also passed
  • codecov/patch is advisory failure at 40%; substantive exact-head review found the changed lifecycle/framing controls directly covered by 31 applicable Windows cases plus the hosted POSIX suite

Claim Boundary

  • The selected VS Code candidate satisfies the exercised standard LSP baseline before activation. This does not establish producer provenance, private protocol compatibility, or every optional LSP feature.

Rollback

  • Revert this PR to restore version-only candidate admission.

Spec-Test-Code Traceability

  • Tests: lsp_compatibility.test.ts, server_resolver_compatibility.test.ts, existing workspace trust runtime proof
  • Code: lspCompatibility.ts, serverResolver.ts
  • ADR/learning: docs/SERVER_PROVISIONING.md

Static Language Check

  • Static output avoids reserved outcome terms.
  • Unknowns include stop reasons where applicable.

CI Economics

  • LEM impact: n/a
  • Workflows touched: .github/workflows/ci.yml now lets the E2E runner stage/archive/extract the server instead of injecting an arbitrary path
  • Branch protection impact: none
  • Failure mode caught: version-successful processes that fail standard LSP activation
  • Cheaper signal considered: version-only probing is insufficient
  • Required lanes affected: existing extension gates
  • Advisory lanes affected: none
  • On-demand/release lanes affected: none
  • Labels that alter behavior: none
  • Artifact families affected: VSIX runtime JS
  • Rollback path: revert

Engineering Check

  • No new panic-family calls in production code.
  • No new panic-family calls in tests.
  • New non-Rust programming files use the existing VS Code TypeScript surface.
  • New process-spawn surface is bounded and terminates on failure.
  • Errors are reported with actionable typed context.
  • Public compatibility state is documented.

Gates

  • cargo xtask check-process-policy
  • cargo xtask check-output-contracts
  • cargo xtask check-capabilities

Extension changes:

  • cd editors/vscode && npm ci
  • cd editors/vscode && npm run compile
  • cd editors/vscode && npm run package

@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!

@coderabbitai

coderabbitai Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

@EffortlessSteven, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 22 minutes

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

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: cec65b9b-6708-4b68-8698-6b79640db40d

📥 Commits

Reviewing files that changed from the base of the PR and between 6fdecdf and 80e16ee.

📒 Files selected for processing (16)
  • .github/workflows/ci.yml
  • .ripr/traceability.toml
  • docs/SERVER_PROVISIONING.md
  • docs/specs/README.md
  • docs/specs/RIPR-SPEC-0129-editor-integration-contract.md
  • editors/vscode/src/lspCompatibility.ts
  • editors/vscode/src/serverResolver.ts
  • editors/vscode/test/suite/extension.test.ts
  • editors/vscode/test/suite/lsp_compatibility.test.ts
  • editors/vscode/test/suite/server_resolver_compatibility.test.ts
  • editors/vscode/test/suite/show_output_action.test.ts
  • editors/vscode/test/suite/testCompatibility.ts
  • editors/vscode/test/suite/workspace_root_picker.test.ts
  • editors/vscode/test/suite/workspace_trust_transition.test.ts
  • policy/process_allowlist.txt
  • xtask/src/main.rs

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.

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

reviewed_head_sha: 0dff800
integration_basis: origin/main 6fdecdf; pull/3191/head re-read immediately before this record and still exact
claim_boundary: Review is limited to #1745''s pre-activation standard-LSP compatibility admission. It does not establish #1879 provenance, private-protocol compatibility, universal optional-feature support, or release qualification.

changed_surfaces_and_semantic_owners_inspected:

  • Full 10-file diff, with lspCompatibility.ts as framing/lifecycle/capability owner, serverResolver.ts as candidate/fallback owner, and client.ts as the active consumer.
  • Initialize parameters, root/trust ordering, serverInfo/version evidence, fallback order, shutdown/exit, timeout cleanup, Windows shell behavior, stdout/stderr behavior, tests, package contents, SERVER_PROVISIONING.md, issue #1745, process policy, exact-head checks, reviews/comments.
  • Confirmed trust gating occurs before resolveServer; configured-path fail-closed behavior and managed/bundled/PATH order are unchanged.

blocking_findings:

  1. [admission/consumer mismatch] lspCompatibility.ts:247-255 admits a server when executeCommandProvider, workspace folders/configuration, and diagnostics support are absent, records those omissions only as booleans, and no production consumer reads compatibilityResult. The active client nevertheless sends workspace/executeCommand unconditionally at client.ts:924,1311,1632,1692,1829,1884 and installs a workspace/configuration consumer. The committed optional-omitted test positively proves this incompatible state is admitted, but there is no weaker-mode/feature-disable behavior. This does not satisfy #1745''s required-vs-optional contract: either require every actually exercised baseline capability/command or gate each consumer with typed weaker state and prove the rendered degradation.
  2. [cross-platform cleanup] probeVersion spawns without detached: process.platform !== ''win32'' while its timeout calls terminateProbeProcessTree. On POSIX, process.kill(-child.pid) only targets a process group whose id equals the child pid; this child inherits the extension''s process group, so the call falls through to killing only the immediate child. A wrong/hung --version wrapper can leave descendants running, contrary to the PR''s process-tree claim and #1745''s bounded failure requirement. Add a process-group-owning spawn (or equivalent platform authority) and a descendant-leak oracle, not only single-process fake servers.
  3. [required exact-head policy failure] Exact-head hosted CI fails check-process-policy: the new file has unallowlisted child_process (1) and cp.spawn (2). This is candidate-caused, not inherited clipboard noise. It causes Ripr Rust Small on GitHub Hosted, aggregate result, rust-tests-junit, and rust-coverage to fail/cancel with incomplete denominators (JUnit ran 5200/6069 before the policy test stopped it). Add the reviewed owner/reason entries and rerun the current-head gates.
  4. [standard framing oracle] The parser admits response objects without jsonrpc: "2.0"; JsonRpcMessage.jsonrpc is optional and never validated before initialize/shutdown results are consumed. Such a fake can pass the claimed standard JSON-RPC/LSP admission. Validate the envelope/version (and response shape for the active id/phase) and add a wrong/missing-jsonrpc rejection test.
  5. [spec/proof parity] This behavior closes #1745 and changes public editor compatibility, but the diff changes no RIPR-SPEC or traceability row. The PR body names only tests/code and a provisioning guide. Amend the applicable editor-integration spec/traceability authority and add an exact packaged-server oracle: the local test''s RIPR_TEST_SERVER_PATH accepts any executable and does not establish that the binary came from a packaged server archive.

non_blocking_suggestions:

  • Bound/drain stderr and bound --version stdout/stderr; today a chatty candidate can consume unbounded memory or fill the LSP stderr pipe and be classified as a timeout.
  • Consider correlating the --version result with initialize serverInfo.version, or explicitly document why divergent authorities are accepted.

refuted_or_stale_findings:

  • Workspace Trust is not bypassed: client.ts checks trust before resolution/probing.
  • Fallback after an incompatible bundled candidate is covered and preserves the existing channel order.
  • The PR body''s clipboard failure is not present in exact-head hosted evidence because the hosted vscode job was skipped. The changed files do not touch that assertion, but without a main/current-head paired run it is only writer-reported unrelated noise, not a confirmed inherited denominator.
  • The reported local check-pr outer timeout/BrokenPipe is incomplete proof, not a behavioral failure. Hosted CI instead supplies a concrete candidate-caused process-policy failure.

proof_and_ci_observed:

  • Read-only detached Windows worktree at exact head.
  • npm ci: passed (369 packages, 0 vulnerabilities).
  • Direct TypeScript npx tsc -p .: passed. The combined command later failed only because direct Node Mocha cannot load the VS Code host shim for the resolver test.
  • Focused LSP suite with RIPR_TEST_SERVER_PATH=C:\Code\Rust\ripr-swarm\target\debug\ripr.exe: 12 passing, including version-only, missing-hover/optional omission, encoding, wrong identity, timeout, malformed, partial, crash, nonzero, shutdown, and fallback cases.
  • VSIX produced from exact compiled JS with npx vsce package; it contains extension/out/src/lspCompatibility.js, serverResolver.js, extension.js, and package metadata.
  • Exact-head remote checks at inspection: 8 success, 4 failure, 10 skipped, 1 in progress, 1 queued. Security/dependency/source-of-truth passed; required routed Rust result failed due the candidate process-policy violation; vscode was skipped. No submitted reviews or inline review comments existed.

proof_or_review_missing:

  • No passing exact-head required denominator.
  • No exact-head hosted VS Code test/package job.
  • No packaged server-archive identity tying the binary exercised by the test to a package receipt.
  • No descendant cleanup test on POSIX.
  • No feature-disable proof for admitted optional omissions.
  • Automated substantive reviewers were unavailable/rate-limited; this record is the independent substantive review.

affected_currentness_dimensions:

  • source: exact PR head and live base stable at inspection
  • dependency/integration: based on current origin/main 6fdecdf; no base movement observed
  • generated/package: exact compiled VSIX inspected locally; no hosted package artifact
  • runtime/platform: Windows local runtime observed; POSIX process-group behavior is defective by construction and unproved remotely
  • policy/CI: exact-head required gates failing/incomplete

residual_assumptions_and_non_claims:

  • The local ripr.exe reports 0.10.0 and passes the probe, but its archive/package provenance was not established.
  • No conclusion is made about producer provenance, private riprAgent compatibility, every optional LSP feature, or the unrelated clipboard assertion.
  • I did not mutate the candidate or merge.

disposition: REPAIR_REQUIRED

@EffortlessSteven EffortlessSteven added the full-ci Run required, advisory, and release-like CI lanes. label Aug 12, 2026
@EffortlessSteven

Copy link
Copy Markdown
Member Author

Addressed every blocker from review 4920243425 at exact head befaf15: active-client capability/command omissions now fail admission; both probes own platform-correct process trees; process policy has explicit governed counts/rationale; JSON-RPC 2.0 envelopes and response payloads fail closed; RIPR-SPEC-0129 plus traceability govern the behavior; and the default E2E route probes a SHA-256-identical executable extracted from an archive-shaped package. Focused packaged/runtime proof: 19 passing, 1 POSIX-only pending on Windows; trust/no-spawn: 1 passing. Local check-pr reached 4,164 ripr tests passing and 1,587 xtask tests passing, with only two environment failures from missing jq. Fresh exact-head review remains required.

@codecov

codecov Bot commented Aug 12, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 79 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
xtask/src/main.rs 0.00% 79 Missing ⚠️

📢 Thoughts on this report? Let us know!

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

reviewed_head_sha: befaf15
integration_basis: live origin/main 23560f2; pull/3191/head re-read immediately before this record and remained exact. GitHub reports the draft mergeable; main has moved through #3187/#3190, with shared traceability/spec-index surfaces but no conflicting production owner.
claim_boundary: #1745 pre-activation standard-LSP admission only. This does not establish #1879 provenance, private-protocol compatibility, universal optional-feature support, or release qualification.

changed_surfaces_and_semantic_owners_inspected:

  • Full 16-file diff: lspCompatibility.ts framing/capability/lifecycle owner; serverResolver.ts version/channel admission owner; client.ts and the Rust LSP capability authority as consumers/producers; trust gate; process allowlist; SPEC-0129/index/traceability; CI route; xtask archive staging; tests and package path.
  • Reconciled the required standard surface against the active client/server: full saved sync, hover, code actions, pull diagnostics, workspace folders, UTF-16, and all seven currently consumed execute commands are now required. Resolve/work-done remain explicitly optional.
  • Confirmed untrusted startup reaches neither resolver nor process/client/watcher creation, managed fallback ordering remains bounded, both probe spawns own a POSIX process group and use taskkill /T on Windows, and default hosted E2E builds, ZIP-stages, single-member extracts, built/extracted SHA-compares, and probes that extracted server. The exact-head hosted vscode job passed and includes compile, VSIX package, and default E2E.

blocking_findings:

  1. [JSON-RPC response exclusivity] lspCompatibility.ts:139-163 and :314 accept any response having result OR error, then branch on the truthiness of error. JSON-RPC 2.0 requires exactly one of result and error. A response containing a valid result plus error:null is therefore admitted as compatible even though it is not a valid JSON-RPC response. The new wrong/missing-jsonrpc and missing-payload tests do not challenge both members or a malformed error member. Make response validation exclusive and structural for the active id/phase, and add the discriminating negative cases for initialize and shutdown.
  2. [process-tree boundedness is not established on exit paths] lspCompatibility.ts:86-110 only calls terminateProbeProcessTree while the direct child is still running; serverResolver.ts:250-260 never calls it on direct-child exit. Thus a wrong wrapper that spawns a descendant and then exits/crashes/nonzero (or returns version output and exits) leaves the descendant outside cleanup. The committed oracle proves only POSIX version-timeout descendants; the LSP timeout/crash/nonzero cases assert classification, not descendant death, and Windows has no descendant oracle for either probe. This falls short of the PR body claim that failed probes terminate their process tree and #1745's bounded-failure contract. Cleanup must cover direct-child exit/success as applicable, with descendant-leak oracles for both probe owners and Windows/POSIX behavior (or a clearly bounded platform authority).

non_blocking_suggestions:

  • Bound version-probe stdout/stderr and drain/bound LSP stderr so a chatty wrong binary cannot turn compatibility classification into memory/backpressure behavior.
  • Either correlate --version identity with initialize serverInfo.version or keep the non-correlation explicit as a non-claim.

refuted_or_stale_findings:

  • The prior capability/consumer mismatch, missing JSON-RPC version check, POSIX detached-spawn defect, process-policy violation, missing SPEC/traceability, and arbitrary direct-binary default E2E findings are repaired at this head.
  • Configuration is client-negotiated in initialize params; LSP defines no corresponding server capability to require. Workspace-folder server support is correctly required.
  • The exact seven execute-command requirements match the current Rust capability producer and active extension calls.
  • Trust no-spawn and resolver fallback remain intact.

proof_and_ci_observed:

  • Read-only detached Windows worktree at exact head; npm ci passed (369 packages, zero vulnerabilities). A local compile/focused combined attempt produced no denominator before its 60/120-second review budget expired, so it is not claimed as proof.
  • Writer record reports 19 passing / 1 Windows-only pending, explicit process-policy/spec/traceability gates, default archive extraction and digest parity, and full nonzero Rust/xtask denominators except two disclosed local jq environment failures.
  • Exact-head hosted evidence at posting: vscode SUCCESS (compile/package/default archive-backed E2E), required routed GitHub-hosted Rust and aggregate SUCCESS, msrv/future-clippy/security/source-of-truth/JUnit/coverage/UB SUCCESS. Main CI rust and Windows advisory were still IN_PROGRESS. codecov/patch is advisory FAILURE; it does not refute behavioral test coverage but also does not close the two findings above. No review threads existed.

proof_or_review_missing:

  • Strict result/error response-shape oracle and implementation.
  • Descendant-death proof for LSP and Windows, plus cleanup on direct-child exit paths.
  • Terminal exact-head main rust/windows-advisory denominators were not yet available at posting.

affected_currentness_dimensions:

  • source: exact remote head stable at posting
  • integration: live main 23560f2; production owners remain non-conflicting, shared traceability/index changes require normal merge-currentness reconciliation
  • generated/package/runtime: hosted vscode passed compile, VSIX package and the default archive-extracted server E2E; no downloadable VSIX artifact was published for independent byte inspection
  • platform: Windows implementation inspected; Ubuntu hosted E2E passed; explicit descendant proof remains incomplete as described
  • policy/CI: process policy repaired and required routed result passed; two long advisory/aggregate jobs still running

residual_assumptions_and_non_claims:

  • No claim about provenance, private riprAgent compatibility, every optional feature, MCP, or repair usefulness.
  • I did not mutate the candidate or merge.

disposition: REPAIR_REQUIRED

@EffortlessSteven

EffortlessSteven commented Aug 12, 2026 •

Copy link
Copy Markdown
Member Author

Repair for the exact-head findings in review #3191 (review) is published at 80e16eeb476a06cd1af6168d81d23caf58a5b0b0.

  • JSON-RPC admission now requires the active response id, no method, exactly one of result/error, a structurally valid integer-code/string-message error, a valid initialize result, and result: null for shutdown. The retained negatives include result + error: null, malformed initialize/shutdown errors, wrong ids, and non-null shutdown.
  • Version and LSP probes now share unconditional idempotent cleanup on every terminal path. POSIX retains a dedicated process group. Windows uses a kill-on-close Job Object established before the candidate starts, with raw stdio relay and an authenticated exit-code control record unavailable to the candidate; this preserves direct-child disposition while the job kills descendants after direct-child-first exit. taskkill /T remains only a current-wrapper fallback.
  • Descendant-death proof covers version success/nonzero and LSP crash, protocol failure, timeout, and normal shutdown. The packaged Windows Electron compatibility suite passed 31 tests with the single POSIX-only case pending; untrusted no-spawn passed 1/1.
  • VSIX packaging and process/spec/traceability/output/capability/workflow/precommit gates passed. The default E2E stages, extracts, digest-checks, and probes the worktree-built archive member.

A fresh independent exact-head review is still required; this comment does not self-approve the candidate.

@EffortlessSteven EffortlessSteven left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

reviewed_head_sha: 80e16ee
integration_basis: live origin/main f9644fb; exact hosted merge ref 7174fa1 merged this head into that main; pull/3191/head was re-read immediately before posting and remained exact
claim_boundary: #1745 pre-activation standard-LSP compatibility admission for the supported VS Code install-to-launch path. This does not establish #1879 download provenance, private riprAgent compatibility, universal optional-feature support, or release qualification.

changed_surfaces_and_semantic_owners_inspected:

  • Full 16-file diff: lspCompatibility.ts owns framing, admission and probe lifecycle; serverResolver.ts owns version/channel fallback; client.ts and Rust capabilities.rs are the active consumer/producer authorities; client trust gate owns no-spawn; xtask owns default archive staging/digest proof; SPEC-0129, index, traceability, process allowlist, workflow, tests and packaged VSIX were inspected.
  • Reconciled the required surface against active production consumers: FULL saved sync, hover, code actions, pull diagnostics, workspace folders, UTF-16, and all seven consumed execute commands are required. Only codeAction resolve/work-done progress remain optional.
  • Inspected current-main overlap and the hosted merge checkout. Main movement touches shared xtask/traceability/server internals but does not conflict with the extension probe owners or capability authority.

blocking_findings:

  • none

non_blocking_suggestions:

  • Bound version-probe stdout/stderr and drain/bound LSP stderr so a hostile chatty candidate cannot turn the bounded time window into unnecessary memory/backpressure.
  • Keep the absence of --version/serverInfo.version correlation explicit unless a later provenance claim needs one identity authority.

refuted_or_stale_findings:

  • The prior result/error-exclusivity blocker is repaired: active-id responses require jsonrpc 2.0, no method, exactly one result/error, structural integer-code/string-message errors, and shutdown result null. Missing/wrong version, wrong id, dual members, malformed errors, initialize error, and non-null shutdown were challenged.
  • The prior exit-path descendant blocker is repaired. Every version/LSP terminal path calls the same cleanup owner. POSIX probes own a detached process group and kill that group even after direct-child exit. Windows assigns the authenticated PowerShell wrapper to a kill-on-close Job before candidate spawn; descendants inherit it, the exit marker uses a random nonce removed from the candidate environment, and taskkill is addressed only to a still-current wrapper PID. Direct success/nonzero/crash/protocol/timeout and normal-shutdown descendant cases all reached terminal cleanup.
  • Trust no-spawn and channel fallback remain intact. The configured archive route requires the expected single executable member and built/extracted digest equality; the real-server test recomputes the exercised executable digest.
  • No unresolved review threads existed. codecov/patch is advisory failure (40%); it does not expose a missing behavioral oracle here because the changed control paths are directly exercised across 31 applicable compatibility cases on Windows and the hosted POSIX suite.

proof_and_ci_observed:

  • Reviewer-owned detached Windows worktree at exact head. npm ci passed (369 packages, zero vulnerabilities); npx tsc -p . passed.
  • Exact focused Windows Electron compatibility suite: 31 passing, 1 POSIX-only pending. It challenged malformed/dual/wrong-id JSON-RPC, version success/nonzero wrappers, LSP crash/protocol/timeout descendants, normal shutdown descendants, identity/capabilities, timeout and fallback. Workspace Trust Runtime: 1 passing with zero resolver/process/watcher/client work.
  • cargo xtask vscode-package passed. The exact VSIX contains package.json plus compiled lspCompatibility.js and serverResolver.js. Local real-server execution used a known ripr.exe and therefore is runtime/platform proof, not independent archive provenance proof.
  • Local check-process-policy, check-output-contracts, check-capabilities, check-spec-format, check-traceability, check-workflows and git diff --check all passed.
  • Exact-head hosted Ubuntu vscode passed on the current-main merge ref. Its default xtask route ZIP-staged/extracted ripr, exported the extracted path plus SHA-256, and the suite accepted that real packaged server. Denominator: 171 passing, 1 unrelated packaged-trust clipboard pending; all standard-LSP cases, including POSIX group cleanup, passed.
  • Exact-head remote checks are terminal: rust, routed GitHub-hosted/result, vscode, Windows advisory, JUnit, coverage, MSRV, future-clippy, source-of-truth, security/dependency, UB review and process/policy steps succeeded. Platform/docs route skips are expected; codecov/patch alone is advisory failure.

proof_or_review_missing:

  • No blocking proof is missing for the bounded claim. The local Windows run does not independently establish archive origin, and hosted Ubuntu does not exercise Windows Job Objects; together the hosted archive route plus exact-head Windows lifecycle run cover those distinct dimensions.

affected_currentness_dimensions:

  • source: exact remote head stable at posting
  • integration: hosted exact-head/current-main merge ref passed; GitHub reports draft and mergeable
  • generated/package: exact VSIX produced and inspected locally; hosted default archive-extracted executable passed digest-bound real-server admission
  • runtime/platform: Windows Job/wrapper behavior and trust tested locally; POSIX process groups and packaged server tested hosted
  • policy/CI: all required and substantive advisory checks terminal-success; advisory codecov/patch failed as classified above

residual_assumptions_and_non_claims:

  • Windows support assumes Windows PowerShell/.NET Add-Type and nested Job Object availability under the supported VS Code host environment; exact Electron proof exercised that environment here.
  • No claim is made about #1879 artifact provenance, private protocol compatibility, every optional LSP feature, MCP, repair usefulness, or release readiness.
  • I did not mutate the candidate or merge.

disposition: REVIEW_READY

@EffortlessSteven
EffortlessSteven marked this pull request as ready for review August 12, 2026 22:15
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@EffortlessSteven
EffortlessSteven merged commit 0fd57a6 into main Aug 12, 2026
26 of 27 checks passed
@EffortlessSteven
EffortlessSteven deleted the codex/1745-standard-lsp-probe branch August 12, 2026 22:16
@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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-ci Run required, advisory, and release-like CI lanes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(vscode): probe a managed server through standard LSP initialize before activation commits

1 participant