Skip to content

docs(capabilities): define on-demand lsp contract - #259

Closed
627150795 wants to merge 1 commit into
openpi-dev:mainfrom
627150795:docs/issue-163-on-demand-lsp
Closed

docs(capabilities): define on-demand lsp contract#259
627150795 wants to merge 1 commit into
openpi-dev:mainfrom
627150795:docs/issue-163-on-demand-lsp

Conversation

@627150795

Copy link
Copy Markdown
Contributor

Problem

OpenPI optional capabilities are loaded explicitly and remain stable for the Session, but the repository currently has no LSP client or server contract. An LSP integration could otherwise start processes implicitly, widen file access, or expose an unbounded protocol surface.

Value

Define a Pi-native boundary for a future on-demand LSP capability: explicit activation, session/workspace ownership, read/write separation, cancellation and cleanup, bounded results, and fail-closed behavior.

Approach

  • Add docs/design/ON_DEMAND_LSP_CAPABILITY_CONTRACT.md.
  • Keep LSP loading separate from server startup and separate read queries from future write operations.
  • Specify path containment, trust/configuration, timeout, cancellation, crash, cleanup, and model-visible evidence rules.
  • Mark the document as a design-only first pass; no LSP runtime, dependency, or current capability list is changed.

Validation

  • git diff --check
  • bun run lint
  • bun run typecheck

Impact

Documentation only. Text search and read-only git inspection remain the supported search capabilities. This is a focused first pass for #163 and does not claim an LSP runtime is implemented.

Addresses #163

@tt-a1i

tt-a1i commented Aug 29, 2026

Copy link
Copy Markdown
Collaborator

Thank you for writing down this candidate. We are closing it under the future-capability disposition in #277. The PR remains the preserved research source, but OpenPI will not promote a protocol-only or candidate design into a repository contract before there is an active implementation or experiment with a fixed owner, revision, verifier, and acceptance evidence. This is not a content rejection, and no rebase is requested. Restart the work from the linked source Issue when that evidence frontier is ready.

@tt-a1i tt-a1i closed this Aug 29, 2026
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