Skip to content
Skills Library
Programming · Automation

pure-lsp-launch-engine

/pure-lsp-launch-engine

Launches the Pure LSP bridge scoped to legend-engine with defaults baked in - the go-to entrypoint for 'just start the LSP for legend-engine'. Brings the backend engine Server up by default so execute()/go() use real plan-generation; --no-backend opts out. Use when the user wants to start/launch/boot the Pure LSP for legend-engine with nothing unusual - unlike pure-lsp-connect, which attaches to a daemon that is already running.

Author
finos ↗
Licence
Apache-2.0
Last repository change
27.10.2026

Assessment and security

95/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content30 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 27.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What it does and when to use it

Launches the Pure LSP bridge scoped to legend-engine with defaults baked in - the go-to entrypoint for 'just start the LSP for legend-engine'. Brings the backend engine Server up by default so execute()/go() use real plan-generation; --no-backend opts out. Use when the user wants to start/launch/boot the Pure LSP for legend-engine with nothing unusual - unlike pure-lsp-connect, which attaches to a daemon that is already running.

Triggers from the description

just start the LSP for legend-engine
Original author description

Launches the Pure LSP bridge scoped to legend-engine with defaults baked in - the go-to entrypoint for 'just start the LSP for legend-engine'. Brings the backend engine Server up by default so execute()/go() use real plan-generation; --no-backend opts out. Use when the user wants to start/launch/boot the Pure LSP for legend-engine with nothing unusual - unlike pure-lsp-connect, which attaches to a daemon that is already running.

How it works

  1. Run the script
  2. It backgrounds itself, waits for ready, and warms welcome.pure — then returns
  3. Then
Original SKILL.md headings · 82 lines, 740 words
SKILL.md preview
---
name: pure-lsp-launch-engine
description: "Launches the Pure LSP bridge scoped to legend-engine with defaults baked in - the go-to entrypoint for 'just start the LSP for legend-engine'. Brings the backend engine Server up by default so execute()/go() use real plan-generation; --no-backend opts out. Use when the user wants to start/launch/boot the Pure LSP for legend-engine with nothing unusual - unlike pure-lsp-connect, which attaches to a daemon that is already running."
---

# Launch the Pure LSP for legend-engine (defaults baked in)

The real entrypoint for the common case: legend-engine-scoped LSP, backend engine Server on by
default, no per-run decisions. A thin wrapper over `pure-lsp-launch legend-engine`; for a scope the
project registry doesn't describe, build the `pure-lsp-server` command by hand per
`references/lsp-devloop-internals.md`.

## Run the script

```bash
pure-lsp-launch-engine [--port N] [--socket-port N] [--java PATH]
                       [--backend-server-host HOST] [--backend-server-port N] [--no-backend]
                       [--source legend-pure] [--full-source]
                       [extra args passed through to pure-lsp-server, e.g. --jvm-arg=-D...]
```

Defaults: `--port 8991`, `--socket-port 9100` (this shop's standing convention for `LegendLspServer`,
shared with `pure-lsp-connect`/`pure-lsp-restart`'s default), `--java` = plain `java` on `PATH` (JDK 17).
`$LEGEND_ENGINE_ROOT` defaults to the checkout containing the current directory.
Only legend-engine is source-rooted; legend-pure comes from the classpath jar and needs no checkout
or `$LEGEND_PURE_ROOT`. Add `--source legend-pure` to edit platform `.pure` live too (needs
`$LEGEND_PURE_ROOT`), or `--full-source` for the whole chain.

**Backend is on by default.** If nothing's listening on 127.0.0.1:9095 the script runs
`pure-backend-start` itself and wires the resulting `-Dlegend.test.server.*` jvm-args in, so
`execute()`/`go()` take the real plan-gen path. `--no-backend` gives a plain interpreted session. A
failed backend start aborts the launch rather than silently degrading to interpreted — so if you
want interpreted, ask for it explicitly.

Whenever the backend is wired in, `ExecPlan`/`PlanLocal`/`FullInteractiveExec` also default to
`true` — the same "3 trues" `legendLspServerConfig.json` sets for the engine-side config-driven
launcher of this same daemon. Plan-gen then runs locally against the live graph rather than the
backend's own jars, so a Pure-only edit is reflected immediately with no jar rebuild. Override any
of them with a trailing `--jvm-arg=-Dpure.options.X=...` — it lands after these defaults and wins.

Since the daemon it starts is on a fixed socket port, re-running this after a daemon on that port is
already up reconnects to the existing warm session (via `pure-lsp-server`'s own reconnect logic —
the same behavior `pure-lsp-connect` relies on) rather than double-booting a second JVM.

**If a bridge is already listening on the HTTP port, this script refuses to launch and exits 0**
after printing that bridge's `/health` (repo-roots, jvm-args, socket port) so you can see whether
it is the session you wanted. It does not try to start a second one: the bridge binds its HTTP port
before doing anything else, so a second launch dies instantly on `Address already in use` — and
this script would then poll that same port, get the EXISTING bridge's `ready`, and report a
successful launch while the configuration you just asked for was silently discarded. To run a
second independent session pass a free `--port`/`--socket-port`; to rebuild this one use
`pure-lsp-restart --socket-port 9100`.

## It backgrounds itself, waits for ready, and warms welcome.pure — then returns

Unlike a bare `pure-lsp-server` call this does **not** block your terminal. It launches the bridge
fully detached (`setsid nohup ... & disown`, so a process-group teardown can't reap it), polls
`pure-lsp status` until `ready`/`failed`, then pushes and compiles legend-engine's own `welcome.pure`
(`$LEGEND_ENGINE_ROOT/welcome.pure`) into the session overlay via `pure-lsp check` — **not** `go`, so
it's compiled and go()-ready but never executed — before printing a final summary and exiting. You
get your shell prompt (or tool call) back immediately with the bridge already running and warmed, no
separate verification call needed.

If `welcome.pure` doesn't exist yet, a minimal `go():Any[*]` wrapper is created for you — but only
when legend-engine's checkout actually `.gitignore`s it (true today), so this never leaves an
untracked file a later `git add -A` could sweep into a commit. If the checkout stopped ignoring it,
the launcher skips creation and tells you to add the ignore rule yourself.

Exit codes: `0` ready and warmed (or `welcome.pure` missing/failed to compile — that's a non-fatal
warning printed to stderr, not a failure, since the LSP itself is still usable), `1` bad args or
missing server jar/dependency dir, `3` the bridge never reached `ready` (or reported `failed`)
within the timeout — see the two log paths it prints.

Two separate logs, one writer each: `/tmp/pure_lsp_bridge_8991.log` (the Python bridge — argument
errors, classpath resolution, bind failures) and `/tmp/pure_lsp_server_8991.log` (the LSP daemon
JVM's own output). They used to be one file written by both, which meant a relaunch truncated the
log out from under the still-running daemon.

## Then

The shared dev-loop conventions (talking to the bridge, `welcome.pure`, database setup) are in
`references/lsp-devloop-usage-rules.md`.

Hand the resolved `--port` off to `pure-lsp-check`/`pure-lsp-go`/`pure-lsp status` for the actual
compile/execute work — `go()` is already warmed and ready to run against `welcome.pure` immediately.

Versions

The database has no other skills named pure-lsp-launch-engine.

Database snapshot: 13.11.2026 · package version 9a91256add55 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100pure-backend-start
    Starts (or confirms) the standalone legend-engine backend - engine Server + H2 + local metadata server on fixed ports 9095/9092 - so a Pure LSP started with -Dlegend.test.* routes execute()/go() through real plan-generation instead of the interpreted engine. Starts only the…
  • 100pure-lsp-status
    Checks whether the Legend Pure LSP dev-loop bridge is running and its current state — initializing/ready/failed, live compiler progress text, symbol/repository counts. Use whenever the user asks if the Pure LSP or pure-lsp bridge is up/running/ready, what it's currently doing,…
  • 100lsp
    Language server patterns: servers owned per view (ipc/lsp.ts, lsp/registry.ts, lsp/manager.ts, lsp/server.ts), document mirror and versions, request deadlines and cancellation, normalization of untrusted server output, WorkspaceEdit application and the renderer LSP editor…
  • 100setup-lsp
    Configures Language Server Protocol integration for Claude Code projects. Use when setting up LSP servers, verifying post-restart initialization, or troubleshooting broken LSP configurations.
  • 100lsp-setup
    Enable code intelligence (go-to-definition, find-references, hover, type info) for any programming language by installing and configuring an LSP server for Antigravity CLI (agy). Detects the OS, installs the right server, and generates the JSON configuration (user-level or…
  • 90lsp-maintain
    Diagnose and align Kode LSP behavior with the reference CLI (plugin-based .lsp.json, stdio-only, no install menus). Use when LSP results are missing, LSP is disabled, or you need to configure plugin LSP servers without telling the user to run menu-style install commands.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.