Repository navigation
Description
Parents and prerequisites
- projection(lsp): deliver bounded RIPR evidence through standard diagnostics, hover, code actions, and commands #1603 — standard LSP diagnostics, hover, actions, and commands
- integration(vscode): make standard LSP server state the single authority and retire split-brain CLI/artifact fallbacks #1627 / integration(vscode): make standard LSP lifecycle and diagnostic identity the session-state authority #3081–integration(vscode): retire actionability/currentness artifact parsers after standard LSP cutover #3083 — VS Code single-authority migration
- slice(#1663 PR D): make CLI, standard LSP, VS Code, MCP, and compatibility consume one FixInstructionSummary #1895 — shared
FixInstructionSummary - slice(integration): project product CommandSpec through standard LSP commands and MCP tool results #3007 — shared
CommandSpecstandard adapters - refactor(lsp): retire the transitional public riprAgent request surface and preserve only bounded private compatibility #3080 — experimental custom-request disposition
Problem
The current ripr.collect* commands are useful owned compatibility surfaces for VS Code, but they must not remain an independent semantic implementation. They also must not be described as the public generic-agent protocol.
Standard LSP owns editor integration. Standard MCP owns coding-agent tools/resources. The collect commands may remain private/compatibility commands where standard LSP cannot yet express one owned UI interaction, but they consume the same application services and remain weaker than the standard public paths.
Required outcome
For every compatibility command:
ripr.collectWorkspaceStatus
ripr.collectRepairPacket
ripr.collectTopLimitation
ripr.collectReceiptStatus
ripr.collectContext
ripr.collectEvidenceContext
record one disposition:
replace_with_standard_lsp
private_vscode_compatibility
delegate_to_shared_service
deprecate
retire
Delegation contract
Every retained command routes through the same provider-neutral builders used by standard LSP and MCP for:
completed lifecycle/currentness
GapSummary and FixInstructionSummary
RepairPacket / RepairAttempt
limitations and recovery
CommandSpec
ReceiptStatus
No command may parse an LSP diagnostic, read the latest artifact, invoke a hidden CLI process, or reconstruct actionability independently.
Parity contract
For the same completed result, item, profile, and budget:
- canonical identities agree;
- freshness/staleness meaning agrees;
- readiness/instruction state agrees;
- target, edit boundary, limitations, command and receipt meaning agree;
- selected/omitted/total counts agree where applicable;
- only documented transport/presentation fields differ.
Failure contract
Compatibility commands preserve typed failures and recovery. They do not turn no-result, stale, limited, ambiguous, or unsupported states into null, empty success, or a stronger action.
Retention/deprecation policy
Every retained command names:
client/feature owner
supported server-version window
why standard LSP is insufficient today
weaker compatibility boundary
retirement condition
Clipboard/open-file commands remain user conveniences, not evidence or agent authority.
Required proof
- one fixture per retained command compares it with the shared standard-LSP/MCP service result;
- no compatibility command owns a duplicate builder;
- typed failures translate deterministically without log parsing;
- stale/static-limited states are never stronger;
- VS Code tests pass with experimental public custom requests disabled;
- generic standard-LSP and MCP clients do not invoke collect commands;
- removal experiment restoring one independent compatibility decision fails parity checks.
Acceptance
- Every collect command has a checked disposition.
- Retained commands delegate to shared services.
- Standard LSP remains the public editor interface.
- Standard MCP remains the public agent interface.
- Typed failures do not degrade to unexplained
null. - Private compatibility is explicit, bounded, and retirement-owned.
- VS Code behavior remains stable or is intentionally migrated.
Proof
cargo test -p ripr lsp_command_compatibility -- --nocapture
cargo test -p ripr --lib lsp::actions -- --nocapture
cargo test -p ripr --lib fix_instruction -- --nocapture
cargo test -p ripr --lib command_spec -- --nocapture
npm --prefix editors/vscode test
cargo xtask check-output-contracts
cargo xtask check-capabilities
cargo xtask check-traceability
cargo xtask check-pr
git diff --checkNon-goals
- no new analysis or actionability rule;
- no new custom public request;
- no source edit or command execution;
- no MCP implementation in the compatibility layer;
- no support promotion.
Claim boundary
Completion eliminates semantic duplication in owned editor compatibility surfaces. It does not create a public agent protocol or prove real-repository usefulness.
Activity
coderabbitai commentedon Jul 19, 2026
🔗 Related PRs
#3055 - fix(cli): give explain and context their flag suggestions [merged]
#3064 - feat(output): disclose that generated workflow commands assume bash (
#2963) [merged]#3069 - test(release): negative corpus harness with artifact-family cases (
#2824) [merged]#3071 - test(release): verify and receipt negative cases complete the corpus (
#2824) [merged]#3086 - fix(skills): resolve repaired review threads during merge prep (
#3079) [open]📝 Issue Planner
Check the box below or use the
@coderabbitai plancommand to generate an implementation plan and prompts that you can use with your favorite coding assistant.🧪 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:💬 Have feedback or questions? Drop into our discord!
EffortlessSteven commentedon Jul 19, 2026
Compatibility inventory additions
Include
ripr.refreshas the compatibility adapter for typedripr/refreshAnalysis; it must delegate to the same application handler and lifecycle semantics.Resolve
ripr.collectContextexplicitly because the typed request vocabulary currently hasgetEvidenceContextbut no exactgetContextequivalent. Choose one documented disposition:getEvidenceContextwith a compatibility projection;ripr/getContextmethod to the registry/spec; orDo not leave the mapping implicit. Update #1928's request/compatibility registry and #1925's command vocabulary accordingly.
EffortlessSteven commentedon Aug 1, 2026
Earnest review (2026-08-01)
STATUS: Open — bad premise (correctly dormant). No typed handlers exist to delegate to.
PLAN QUALITY: Good (correctly framed as post-Phase-2 in parent #1907).
ASSESSMENT:
backend.rs:3940-3962dispatches each collect command independently. No typedripr/workspaceStatushandler exists. Correctly ordered as last step of Phase 2 in parent.ACTION: Keep, add explicit "blocked on #1898/#1899 typed handlers" note.
[-]slice(#1605 PR C): prove collect* compatibility adapters delegate to typed riprAgent handlers[/-][+]slice(compatibility): make collect* commands delegate to shared services and standard LSP projections[/+]