• v0.59.0
    ci / checks (push) Successful in 1m27s
    ci / corpus (push) Successful in 34s
    release / build-and-publish (push) Successful in 7m16s
    Stable

    lucio released this 2026-09-29 02:12:33 -07:00 | 63 commits to master since this release

    MCP read-only mode

    PLAN §11, the owner's request of 2026-09-29: one binary, two modes.
    (docs/features/mcp-read-only.)

    • lucisv-mcp --read-only offers exactly the five read tools —
      hierarchy, find, outline, read, check, in that order, with the
      same descriptions and schemas as full mode. The model-visible catalogue is
      1 797 bytes (budget ≤ 1 800) and the instructions 297 bytes (≤ 300), both
      pinned by tests/read_only.rs.
    • The mode filters the tool registry: tools/call of rename, port,
      edit_item or format is the unknown-tool error (-32602,
      unknown tool: rename (the server runs --read-only)); no edit handler is
      reachable. Resources answer as in full mode.
    • No write inside a root, whatever is called: a test snapshots every
      path, size and mtime (directories too) of a fixture copy, calls every
      full-catalogue tool name (the four edits with valid edit arguments, which
      a control test shows do write in full mode) and every resource, and finds
      the snapshot unchanged after the server exits. The server's own index
      store under --index-cache is still written (outside the roots unless
      --index-cache names a directory inside one).
    • Full mode is byte-identical to 0.58.0 on the wire (initialize,
      tools/list); only the usage line gains [--read-only].
    • Extension: setting lucisv.mcp.mode ("full" default, "read-only")
      — the definition gains --read-only and the label becomes
      lucisv read-only (<folder>); a change of the setting re-announces the
      servers. lucisv: Copy MCP server config follows it (server key
      lucisv-ro, args ending --read-only, the message names the mode).
    • editors/vscode/mcp_smoke.js <binary> --read-only smokes the mode (five
      tools, one hierarchy, rename refused, files untouched);
      tools/release.sh runs both smokes on the host binary and on the one
      embedded in the package.
    • hierarchy caps at 300 instances, 100 with peek; peek lines no
      longer count toward the cap (census round 5: prim_fifo_sync up with
      peek showed 20 of 77 instantiations). Without peek the answer is
      unchanged.
    Downloads