aboutsummaryrefslogtreecommitdiffstats
path: root/openspec/specs/editor-toolchain
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <tom@vanderlee.io>2026-09-21 14:37:21 +0200
committerGravatar Tom van der Lee <tom@vanderlee.io>2026-09-21 14:37:21 +0200
commite864d47eca98057890b356fc500f0cab05dc44f5 (patch)
tree978f22897b3b520ee166d0868254615e84c0c025 /openspec/specs/editor-toolchain
parent0c7b0c9d7dbb8193fc8e1089c51941e385abd933 (diff)
downloaddesktop-flake-e864d47eca98057890b356fc500f0cab05dc44f5.tar.gz
desktop-flake-e864d47eca98057890b356fc500f0cab05dc44f5.tar.bz2
desktop-flake-e864d47eca98057890b356fc500f0cab05dc44f5.zip
Mark fix-mason-installer-deps tasks done, sync specs, archive change
Manual verification (nix flake check, home-manager switch, Mason reinstall) confirmed on a Nix-capable host. Synced the new editor-toolchain capability into main specs and archived the change. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BBSd4VBfoKHjE1HR3P8kmn
Diffstat (limited to 'openspec/specs/editor-toolchain')
-rw-r--r--openspec/specs/editor-toolchain/spec.md45
1 files changed, 45 insertions, 0 deletions
diff --git a/openspec/specs/editor-toolchain/spec.md b/openspec/specs/editor-toolchain/spec.md
new file mode 100644
index 0000000..8320e61
--- /dev/null
+++ b/openspec/specs/editor-toolchain/spec.md
@@ -0,0 +1,45 @@
1# editor-toolchain Specification
2
3## Purpose
4
5Provisions, via the shared home-manager profile, the runtime toolchain that the
6externally Stow-managed Neovim/mason.nvim config depends on to install and run LSP
7servers, formatters, and debug adapters — without home-manager owning that editor
8config itself.
9
10## Requirements
11
12### Requirement: mason.nvim installer dependencies are provisioned
13The shared home-manager profile SHALL include a Node.js runtime (providing `npm`), a
14Python 3 interpreter (providing `python3`), and `unzip` on `PATH`, so that
15`mason.nvim`'s package installers can locate the tools they shell out to.
16
17#### Scenario: npm-based Mason package installs successfully
18- **WHEN** the shared home profile is activated and `mason.nvim` installs an
19 npm-based package (for example an LSP server distributed via npm)
20- **THEN** `mason.nvim`'s installer finds `npm` on `PATH` and the installation does
21 not fail with an `ENOENT`/"could not find executable" error for `npm`
22
23#### Scenario: Python-based Mason package installs successfully
24- **WHEN** the shared home profile is activated and `mason.nvim` installs a
25 Python-based package (for example `debugpy`)
26- **THEN** `mason.nvim`'s installer finds a `python3` interpreter on `PATH` and the
27 installation does not fail with a "no python3 installation found" error
28
29#### Scenario: Archive-based Mason package installs successfully
30- **WHEN** the shared home profile is activated and `mason.nvim` installs a package
31 distributed as a zip archive (for example `terraform-ls`)
32- **THEN** `mason.nvim`'s installer finds `unzip` on `PATH` and the installation does
33 not fail with an `ENOENT`/"could not find executable" error for `unzip`
34
35### Requirement: Editor toolchain packages do not manage editor configuration
36Packages provisioned by this capability SHALL supply only the underlying
37interpreters/tools that the externally-managed Neovim dotfiles config depends on;
38this capability SHALL NOT generate, own, or otherwise manage any Neovim
39configuration file (for example `init.lua` or plugin/LSP configuration).
40
41#### Scenario: No competing Neovim configuration is generated
42- **WHEN** the shared home profile provisions the editor toolchain packages
43- **THEN** no Neovim configuration file is created or managed by this capability —
44 the externally Stow-managed dotfiles config remains the sole owner of that
45 configuration