Repository navigation
skills: lucidlint LSP update procedure; placement test for new skills - #59
Conversation
- NEW lucidlint-lsp-update: update the installed LSP in one pass (release bundle -> install path -> kill clients) and verify the SERVED version with an initialize handshake; warns off the unrelated '~/.local/bin/lucid-lint' prose linter whose name collides. - update-skills: the placement test — who needs the information, and where will they be standing? Cross-repo operational knowledge belongs in a harness skill; a tool repo's own docs are invisible to client-repo agents. (A complete LSP-update procedure was written into the tool repo's docs, unreadable by exactly the agents who needed it.) - lucidlint-workflow: install guidance no longer pins a pre-PyPI commit; points at the release wheels and the LSP-update skill.
PR Reviewer Guide 🔍(Review updated until commit b8207bf)Here are some key observations to aid the review process:
✅ Resolved findingsskills/lucidlint-workflow/SKILL.md:24-30Compliance Issue The multi-line code block (lines 27-30) is a runnable script that should be moved to an examples/ file and referenced, per docs/writing-documentation.md: "Code in code files, not inline in docs. A doc that contains a multi-line code block (config file, script, workflow) should move that code to a separate file and reference it." Makefile:47Compliance Issue The PR does not confirm that tools/lucidlint-lsp-update.sh:37Possible Issue The skills/lucidlint-lsp-update/SKILL.md:38Possible Issue The skills/lucidlint-lsp-update/SKILL.md:41Possible Issue The skills/lucidlint-lsp-update/SKILL.md:26-27Possible Issue The skills/lucidlint-lsp-update/SKILL.md:27-28Possible Issue The |
Embedding a version in a skill rots silently (the lucidlint-workflow install section pinned a pre-PyPI commit and nothing detected it). lucidlint-workflow now resolves the latest release wheel at run time; lucidlint-lsp-update derives VER from the latest release tag by default (pin only to repeat an install); update-skills gains the anti-pattern: never embed per-release facts — teach the lookup.
Standalone PR ReviewPR-Agent could not safely update the persistent review. This standalone result will not replace the canonical review. PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
…te length
Review findings. pkill -f matched any cmdline containing the string (including
the invoking shell); the anchored full-path pattern matches only the LSP
servers. The initialize handshake omitted the required Content-Type header and
sized the body with ${#INIT} (characters) instead of bytes — wrong for any
multi-byte payload. update-skills gains the concrete run-time-lookup example
the reviewer asked for.
|
Persistent review updated to latest commit 6136b90 |
|
Persistent review updated to latest commit 1e60d73 |
|
Persistent review updated to latest commit 3e87c18 |
PR Code Suggestions ✨No code suggestions found for the PR. |
|
Addressing the three ACTIVE findings in the persistent review on 3e87c18 (two now fixed by ea2c57a, one declined with evidence): initialize handshake sent empty params — fixed in ea2c57a.
PR does not confirm |
|
Persistent review updated to latest commit ea2c57a |
…of naming its directory
|
Persistent review updated to latest commit c92cd2b |
|
Persistent review updated to latest commit bb3762d |
PR Code Suggestions ✨No code suggestions found for the PR. |
…pdate-and-placement # Conflicts: # skills/lucidlint-workflow/SKILL.md
|
Persistent review updated to latest commit b8207bf |
PR Code Suggestions ✨No code suggestions found for the PR. |
User description
New skill: lucidlint-lsp-update
The update procedure is a tool now, not prose:
tools/lucidlint-lsp-update.sh(installed by
make installaslucidlint-lsp-update.sh) downloads therelease asset for the machine's architecture, replaces
~/.local/share/lucidlint/bin/lucidlint, kills the clients still serving theold rules, and prints what a stdio
initializehandshake answers. The skillnames the command and states the served version as the proof; it carries no
shell of its own.
Placement test added to update-skills
New skill decisions now pass: who needs this information, and where will
they be standing when they need it? Cross-repo operational knowledge
(updating a shared tool's installed component) belongs in a harness skill — a
tool repo's own docs are invisible to client-repo agents, which load their own
repo's context and never another repo's AGENTS.md.
Anti-patterns added for the two failures this PR came from: shell inside a
skill for the agent to execute, and restating a tool's decision as a prose
table.
lucidlint-workflow install section
Install is one pip line pinned to the v0.6.9 commit; the libcst aside and the
old pre-PyPI wording are gone.
Verification
make test: 60 docs scanned, 41 skills well-formed, links resolve, 18 tests OK."version":"0.6.9".make install(symlinks refreshed); restart omp to load the newskill — required for any skill change to take effect.
PR Type
Enhancement, Documentation
Description
Add lucidlint-lsp-update skill for one-pass LSP updates
Update lucidlint-workflow install guidance to release wheels
Add placement test to update-skills for cross-repo knowledge
Document gotchas: name collision and client restart requirements
Diagram Walkthrough
File Walkthrough
SKILL.md
New skill for lucidlint LSP updatesskills/lucidlint-lsp-update/SKILL.md
clients
SKILL.md
Add placement test for new skillsskills/update-skills/SKILL.md
SKILL.md
Update install guidance to release wheelsskills/lucidlint-workflow/SKILL.md