M5: MCP, LSP, commands/skills #6

Open
darman wants to merge 4 commits from feature/m5 into feature/m4
Owner
  • LSP pool + diagnostics (harness-core::lsp seam, harness-lsp pool, harness-tools::diagnostics), surfaced in edit/write/bash/glob/grep output
  • rmcp stdio client + namespaced tool adapters
  • skills: SKILL.md parsing + skill tool
  • slash commands (command/*.md)
- LSP pool + diagnostics (`harness-core::lsp` seam, `harness-lsp` pool, `harness-tools::diagnostics`), surfaced in edit/write/bash/glob/grep output - rmcp stdio client + namespaced tool adapters - skills: `SKILL.md` parsing + skill tool - slash commands (`command/*.md`)
darman added 4 commits 2026-07-10 15:13:13 +00:00
Adds the DiagnosticsSource seam trait in harness-core::lsp (kept out of harness-tools so tools never link the LSP crate directly), and implements it in harness-lsp as a pool that lazily spawns one language server per file extension (rust-analyzer, typescript-language-server, gopls, pyright-langserver) only when the binary is on PATH. Adds harness-tools::diagnostics and wires diagnostics into edit/write/bash/glob/grep output.
Adds an rmcp-based stdio MCP client in harness-mcp plus adapters exposing a configured server's tools as namespaced harness-tools, with an echo-server fixture and integration test, and wiring through harness-app.
Adds harness-core::config::markdown to parse SKILL.md frontmatter/body, a skill tool in harness-tools to invoke them, and system-prompt wiring so available skills are advertised to the model. Includes the rustfmt pass over the M5 files touched by this and the preceding LSP/rmcp work.
Adds slash-command support: markdown command files under command/*.md, expansion in harness-app, and TUI input handling so typing /mycommand runs it.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/m5:feature/m5
git checkout feature/m5
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: darman/ai-harness#6