Repository navigation
feat(lsp): scaffold cloud/container/database/k8s LSP cartridges (batch 1 of remaining 11) - #4
Merged
Merged
Conversation
Batch 1 of 11 remaining polystack LSP scaffolds, following the shape proven by proof-lsp (boj-server-cartridges#3). All four manifests validate against the canonical cartridge-v1 schema; state="scaffolded"; polystack Elixir source preserved verbatim under _source-archive/. | Cartridge | Domain | Loopback | Backends | |----------------|------------|------------------|-----------------------------------------------------| | cloud-lsp | cloud | 127.0.0.1:5180 | aws, azure, gcp, digitalocean | | container-lsp | container | 127.0.0.1:5181 | docker, podman, nerdctl | | database-lsp | database | 127.0.0.1:5182 | postgresql, mysql, sqlite, redis, mongodb, neo4j | | k8s-lsp | container | 127.0.0.1:5183 | kubectl, helm, kustomize | Total polystack source archived: ~5609 LOC across 46 Elixir modules. Adapter / abi / ffi / panels directories carry .gitkeep placeholders. mod.js exports the manifest plus a start() that errors with a pointer to the port plan. Each cartridge's README.adoc lists the source files + LOC inventory. Remaining LSP scaffolds (7): git-lsp, iac-lsp, observe-lsp, queues-lsp, secrets-lsp, ssg-lsp + the poly-orchestrator-lsp → fleet-mcp redesign (separate concern, planned as PR 7 in session_2026_05_26_cartridge_extraction). Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
4 tasks done
hyperpolymath
added a commit
that referenced
this pull request
May 26, 2026
… (batch 2) (#5) Batch 2 of 11 remaining polystack LSP scaffolds. Completes the LSP-port coverage of the 10 polystack components (the 11th, poly-orchestrator-lsp, is a separate fleet-mcp redesign concern). Combined with #3 (proof-lsp pilot) and #4 (batch 1: cloud/container/database/k8s), this PR brings the LSP cartridge count from 0 → 11. | Cartridge | Domain | Loopback | Backends | |----------------|-----------------|------------------|-----------------------------------------------------------| | git-lsp | development | 127.0.0.1:5184 | github, gitlab, gitea, bitbucket | | iac-lsp | infrastructure | 127.0.0.1:5185 | opentofu, pulumi | | observe-lsp | observability | 127.0.0.1:5186 | prometheus, loki, grafana, jaeger | | queues-lsp | messaging | 127.0.0.1:5187 | nats, rabbitmq, redis_streams | | secrets-lsp | security | 127.0.0.1:5188 | vault, sops | | ssg-lsp | web | 127.0.0.1:5189 | hugo, mdbook, zola, hakyll, franklin, casket-ssg | ssg-lsp note: the polystack source includes `jekyll.ex` (preserved in _source-archive/), but Jekyll is banned estate-wide per the no-Jekyll policy. The new cartridge declares `casket-ssg` as the replacement backend; users with Jekyll projects should migrate per the policy. All 6 manifests validate against the canonical cartridge-v1 schema. state="scaffolded"; ~8243 LOC archived across the 6 _source-archive/ directories. Same shape as #3 + #4: cartridge.json + mod.js + README.adoc + .gitkeep placeholders in adapter/abi/ffi/panels/. Remaining LSP work: per-cartridge adapter implementations (Deno LSP server + per-backend subprocess managers), tracked as follow-up PRs per cartridge. The poly-orchestrator-lsp → fleet-mcp redesign remains as a separate PR. Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Batch 1 of 11 remaining polystack LSP scaffolds, following the shape proven by
proof-lsp(#3). Four new scaffolded cartridges, all schema-validated, allstate=scaffolded:cloud-lspcontainer-lspdatabase-lspk8s-lspTotal: ~5609 LOC archived across 46 Elixir modules under
_source-archive/elixir-lib/per cartridge.What this PR ships per cartridge
cartridge.json— schema-validated manifest, 5 LSP tools (initialize, diagnostic, hover, completion, executeCommand), per-cartridgebackendsarray, loopback portREADME.adoc— port plan + per-file LOC inventory of archived sourcemod.js— manifest export +start()error stub pointing to the port plan_source-archive/elixir-lib/— verbatim polystack sourceadapter/,abi/,ffi/,panels/with.gitkeepplaceholdersWhat this PR does not ship
Same as #3: working LSP adapters. The Deno port of each
lsp/server.ex+ per-method handlers + per-backend subprocess managers comes in per-cartridge follow-up PRs after #3 and this PR establish the scaffold pattern.Test plan
schemas/cartridge-v1.json(canonical, mirrored from standards#200)polystack/poly-*/lsp/lib/proof-lsp/(sibling cartridge from feat(proof-lsp): scaffold pilot LSP cartridge (PR 6/12) #3)Remaining LSP scaffolds (7)
git-lsp, iac-lsp, observe-lsp, queues-lsp, secrets-lsp, ssg-lsp + the
poly-orchestrator-lsp → fleet-mcpredesign (separate PR persession_2026_05_26_cartridge_extraction).References
tools/cartridge-minter/mint.ts— minter tool from feat(tools): cartridge-minter — scaffold new cartridges from minter.toml #2🤖 Generated with Claude Code