Skip to content

refactor(lsp): retire the transitional public riprAgent request surface and preserve only bounded private compatibility #3080

Closed

Description

@EffortlessSteven

Parents and current implementation

Problem

The first ripr/listActionableItems handler is real and tested, but it was built under the now-rejected assumption that a custom RIPR request namespace on the LSP transport would be the public generic-agent API.

Claude Code and Codex should not need to implement that request. Standard LSP owns editor integration; standard MCP owns coding-agent tools/resources.

The landed handler therefore needs an explicit disposition rather than permanent protocol hardening for its own sake.

Required outcome

Audit and migrate the experimental riprAgent runtime surface.

Inventory

At minimum classify:

experimental capability advertisement
ripr/listActionableItems handler and registration
request/success/error DTOs
custom protocol schemas and fixtures
VS Code consumers
collect/executeCommand compatibility consumers
docs/specs/support claims
generated capability manifests

Use one disposition per item:

remove
private_vscode_compatibility
internal_shared_service
migrate_to_standard_lsp
migrate_to_mcp
historical_fixture_only

Public capability correction

  • Generic initialize responses must not advertise riprAgent as a supported public agent protocol.
  • Release/support docs must not claim Claude Code, Codex, or ordinary LSP clients can use custom RIPR requests.
  • Custom snapshot_handles, continuations, request lists, or source-edit fields cannot imply standard-client support.
  • Capability/proof matrices distinguish private_compatibility from standard LSP and MCP support.

Shared-service extraction

Preserve useful semantics from the landed handler by routing its selection logic through provider-neutral application services:

bounded GapSummary selection
completed analysis snapshot/currentness
limitations and recovery
canonical item identity

Those services feed:

Private compatibility

Any retained custom request must:

  • be disabled or unadvertised to generic clients by default;
  • be version-bounded and explicitly private;
  • remain read-only;
  • have an owner and retirement condition;
  • never become stronger than standard LSP/MCP state;
  • avoid introducing new custom request families.

Required proof

  • generic standard-LSP initialize response contains no public generic-agent claim;
  • MCP conformance does not call or depend on ripr/* LSP methods;
  • VS Code supported paths continue through standard LSP or an explicitly private adapter;
  • removing the custom request leaves standard diagnostics/hover useful;
  • disabling the custom request does not break MCP status/list/detail tools;
  • stale generation identity cannot masquerade as a completed snapshot;
  • the fix(lsp): harden the landed listActionableItems handler and capability contract after #3012 #3032 branch/capability mutation experiment remains retained for the code that survives;
  • docs/schema/capability drift checks fail if the retired public claim returns.

Acceptance

  • Every experimental capability/request/schema/consumer has a checked disposition.
  • No public support claim depends on custom RIPR LSP methods.
  • Useful bounded-list semantics survive in the shared core and standard adapters.
  • Any retained custom route is private, weaker, read-only, and retirement-bound.
  • Standard LSP and MCP work independently when the custom route is disabled.
  • fix(lsp): harden the landed listActionableItems handler and capability contract after #3012 #3032’s final mutation evidence is either retained here or remains separately open.

Proof

cargo test -p ripr --lib lsp::agent_protocol -- --nocapture
cargo test -p ripr --lib lsp::list_actionable_items_tests -- --nocapture
cargo test -p ripr --test mcp_conformance -- --nocapture
cargo xtask check-capabilities
cargo xtask check-output-contracts
cargo xtask check-fixture-contracts
cargo xtask check-doc-artifacts
cargo xtask check-traceability
cargo xtask check-pr
git diff --check

Non-goals

Claim boundary

Completion removes the accidental public custom-protocol architecture while preserving useful implementation work behind shared services or bounded private compatibility. It does not itself complete standard LSP or MCP.

Activity

  1. added
    vscode
    status/blocked-repo
    on Aug 9, 2026
  2. coderabbitai commented on Aug 9, 2026

    @coderabbitai
    🔗 Related PRs

    #3071 - test(release): verify and receipt negative cases complete the corpus (#2824) [open]
    #3078 - release(denominator): adjudicate P..C to zero decisions for the 0.11.0 hard cut (#2825) [open]
    #3086 - fix(skills): resolve repaired review threads during merge prep (#3079) [open]


    📝 Issue Planner

    Check the box below or use the @coderabbitai plan command to generate an implementation plan and prompts that you can use with your favorite coding assistant.

    • Create Plan

    🧪 Issue enrichment is currently in open beta.

    You can configure auto-planning by selecting labels in the issue_enrichment configuration.

    To disable automatic issue enrichment, add the following to your .coderabbit.yaml:

    issue_enrichment:
      auto_enrich:
        enabled: false

    💬 Have feedback or questions? Drop into our discord!

  3. added
    status/needs-work
    on Aug 9, 2026
  4. changed the title [-]fix(lsp): converge the landed listActionableItems handler onto typed envelopes and immutable snapshots[/-] [+]refactor(lsp): retire the transitional public riprAgent request surface and preserve only bounded private compatibility[/+] on Aug 9, 2026
  5. removed
    status/blocked-repo
    on Aug 9, 2026
  6. added a commit that references this issue on Nov 2, 2026
    4c9a8c0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/needs-workvscode

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions