MCP M7: the lean catalogue — nine tools, 3 440 model-visible bytes, no dry_run/paging, short answers
hierarchy (file:line per instance, peek), find (every declaration by name, refs + unresolved mentions), outline, read, check, rename, port, edit_item, format. Name lookup reaches every declaration the symbol tables hold (tools/declared.rs); rename of a generate-block label is refused (engine gap filed as topo §2.9 MCP-14). Text-only results, engine sentences made root-relative. Tests ported or deleted per the README; QA lane in tests/qa_m7.rs. Docs, smoke gate, release notes (0.58.0 unreleased) updated. Co-Authored-By: Claude Fable 5.1 <[email protected]>
This commit is contained in:
1 parent
edad66947f
commit
bfa8e98eb5
59 files changed
+4895
-7672
No files matched your search
+11
-8
@@ -247,6 +247,8 @@ newlines, stdout is protocol-only, stderr is human-only.
|
||||
|
||||
### 4.3 The tools
|
||||
|
||||
> **Superseded by §10 (the lean catalogue, 0.58).** Kept as the record of the 0.57 surface.
|
||||
|
||||
Inputs name things the way an agent already has them: a **file path**
|
||||
(absolute or root-relative), a **unit name**, a **line** (1-based) and
|
||||
optional **column**, or a **symbol name** with an optional **unit**. Outputs
|
||||
@@ -342,6 +344,8 @@ records MCP's own).
|
||||
|
||||
### 4.5 Rendering rules (the token budget is the product)
|
||||
|
||||
> **Superseded by §10.2.** Kept as the record of the 0.57 rules.
|
||||
|
||||
- Paths root-relative; a file named once per group, never per line.
|
||||
- Line numbers 1-based, columns 1-based, in `file:line:col` form.
|
||||
- Lists capped (`limit`, default 500 since feedback-2) with `… and N more` — the agent can
|
||||
@@ -532,15 +536,14 @@ Dropped from the catalogue (the engines stay in the CLI and the LSP):
|
||||
- Refusals are one sentence, `isError: true`, and when a name is unknown
|
||||
they list the near matches so the next call is right.
|
||||
|
||||
### 10.3 Instructions (≤ 400 bytes)
|
||||
### 10.3 Instructions (≤ 400 bytes; the shipped text, 398 bytes)
|
||||
|
||||
> lucisv-mcp answers from the SystemVerilog sources on disk (save first).
|
||||
> Use it before reading files: hierarchy for the instance tree and top
|
||||
> modules, find for where a name is declared and used, outline for a file
|
||||
> or a unit's ports, read for one item's source, check after edits. Edits
|
||||
> (rename, port, edit_item, format) are verified, all-or-nothing writes to
|
||||
> disk: call them like a file write, no dry run. Paths are root-relative,
|
||||
> lines 1-based.
|
||||
> lucisv-mcp reads the SystemVerilog on disk (save first). Use it before
|
||||
> reading files: hierarchy for instance trees and top modules, find for a
|
||||
> name's declarations and uses, outline for a file or unit's ports, read
|
||||
> for one item, check after edits. Edits (rename, port, edit_item, format)
|
||||
> are verified, all-or-nothing writes: trust them as file writes, no dry
|
||||
> run. Paths root-relative, lines 1-based.
|
||||
|
||||
### 10.4 What stays
|
||||
|
||||
|
||||
Reference in new issue
Block a user