• v0.58.0
    ci / checks (push) Failing after 1m41s
    ci / corpus (push) Successful in 38s
    release / build-and-publish (push) Successful in 10m37s
    Stable

    lucio released this 2026-09-24 03:00:54 -07:00 | 67 commits to master since this release

    The lean MCP catalogue: nine tools, short answers, trusted writes

    The census (mcp_analysis.md) found the server right on every run and
    dearer than plain file reads on every small task: a 5 400-token catalogue
    read each session, answers carrying more than the question, and agents
    dry-running what they were told to trust. PLAN §10 is the owner's ruling:
    accuracy over breadth. (docs/features/mcp-lean-catalogue.)

    • Nine tools, in this order: hierarchy, find, outline, read,
      check, rename, port, edit_item, format.
      The model-visible
      catalogue (name, description, schema of every tool) is 3 440 bytes, was
      17.9 kB; the initialize instructions are 398 bytes. Both budgets
      (≤ 3 500 and ≤ 400) and the names and order are pinned by tests/wire.rs.
      No title, no structuredContent (a result is its text), no
      per-argument descriptions; the schemas are type (and enum) only.
    • hierarchy — without root: N files, M modules, K top and each
      top as name file:line; with root: the instance tree (depth 1–20,
      default 1), every instance at its instantiation site; up: every
      instantiation, all levels to depth; peek: each statement's source.
      Opentitan's top_earlgrey names 0.57.0's instance set, pinned.
    • find — every declaration of a name (or unit.name), macros
      included, as kind name file:line; refs adds each declaration's uses
      one file per line (file:120,133) and the unresolved mentions.
    • outline (file or unit), read (one item; design-wide
      without file), check (file:line:col severity message [rule],
      errors first, ok when clean — the 0.57.0 diagnostics line set).
    • rename (by name; file and name@LINE pick a declaration),
      port (add after after, or remove, in every instantiation),
      edit_item (replace, insert_before, insert_after, delete —
      the M4 verifier unchanged; delete has no force any more), format
      (a path, directory or glob; fix applies the safe lint fixes first; a
      file the formatter refuses is named, the rest written).
    • Census round 4 (mcp_analysis.md): on the same four OpenTitan tasks
      the lean server answered every run correctly, at parity with plain file
      tools on the whole-design questions (task a −1 %, task d −0.4 % over two
      runs) and +9…+10 % on the two small edits (was +15…+25 % in round 1).
    • Gone from the wire: dry_run, limit, offset, in, template,
      overrides, force, and the tools project_overview, list_units,
      unit_interface, read_item, search_symbols, defines, definition,
      references, diagnostics, fix_lint, expand_wildcard,
      convert_ports, organize_imports, inline_module, propagate_ports,
      remove_port, add_port, extract_module, replace_item,
      insert_item, delete_item, instantiate (the engines stay in the CLI
      and the language server). Answers are capped (300 lines; check 200)
      with one … and N more line.
    Downloads