Files
lucisv/docs/features/inline-instantiation
lucioandClaude Fable 5 cadb4319e4
ci / checks (push) Successful in 45s
ci / corpus (push) Successful in 19s
Inline instantiation: the popup names the module, the ghost writes the rest
Two levels, sized for opentitan. Tier 0 of the completion popup stops
planning skeletons (up to 64 file reads + header parses per keystroke)
and offers module names alone; once the identifier at the cursor exactly
matches an indexed module, textDocument/inlineCompletion ghosts the full
instantiation — every parameter, every port, each a tabstop, in-scope
signals auto-connected — planned once through the existing header-slice
path and the FileView cache. Candidates::has_module is the per-keystroke
probe: a case-sensitive binary search whose str-order premise is pinned.
lucisv.inlineInstantiation (default on) gates it, independent of
inlineTemplates.

Measured on opentitan: non-matching keystroke 0.10-0.17 ms warm, ghost
0.6-1.1 ms for aes (14 params/16 ports), 2.5 ms cold for the
112-parameter top_earlgrey; popup module tier reads no files at all.

Lead corrections at merge: four doc references to a lucisv/instantiate
command that never existed, replaced by the honest gap (topo 2.9-19: no
skeleton path for clients without inlineCompletion); extension and nvim
README docs delivered.

docs/features/inline-instantiation/README.md; TODO.md section 12.

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-30 14:17:16 -07:00
..

inline-instantiation

Goal

Module instantiation as ghost text, in two levels sized for a workspace the size of opentitan (~4 000 files, ~43 000 declarations). Level 1 is the completion popup: at a position where an instantiation may be written it offers every matching module's name, and nothing else — one scan of a table built at index time, no file opened, no parse. Level 2 is textDocument/inlineCompletion: once the identifier under the cursor is exactly the name of a module the workspace declares, the rest of the instantiation appears behind it in grey — every parameter override, every port connection, each a snippet tabstop, with ports that match a signal already in scope connected for the user. Tab writes it.

The split is the whole point. Before 2026-08-30 the popup carried the skeletons: each item was a module_definition lookup, a file read and a header parse, up to 64 of each per keystroke, for a list the user reads one line of. Now exactly one module is ever planned, and only after the user has spelled its whole name — which is also the moment they have said which module they mean.

Assumptions

  • The exact-match probe is case-sensitive, and every other lookup here is not. The popup folds case (aes_core reaches AES_CORE) because it is helping the user find a name; the ghost does not, because it is about to write real code and Fifo is not fifo to any Verilog tool. the_exact_probe_is_case_sensitive_where_the_substring_list_is_not pins both halves.
  • Candidates::modules is in str order. It is built from WorkspaceIndex::workspace_symbols, which sorts by (name, container, file, span) with str's own Ord, and index_tables only dedups it. That order is what has_module's binary search needs, and it is asserted directly (the_module_table_is_in_str_order_so_the_binary_search_is_valid) rather than trusted, because a case-folded sort upstream would silently turn the search into a coin flip.
  • The ghost fires on the text, not on having accepted a completion. A user who types aes_core by hand gets the same offer as one who accepted the popup item — "before or after autocomplete", which is what the owner asked for and what makes the two levels independent rather than sequential.
  • The position gate is completion.rs's own. at_instantiation_site is the tier-0 gate lifted out of completions and made pub(crate): the word must start its line, and at_module_item must accept the scope chain around it. It is a heuristic over the token stream, not a parse, and completion-core's README already documents what it cannot see. Sharing it is deliberate — two answers to "may an instantiation go here" would eventually disagree, and the ghost is offered in exactly the places the popup offers the name that leads to it.
  • A plan with an escaped identifier is declined outright. \my-port$1 may legally contain $, } and \ — the snippet grammar's own punctuation — and the names are written by the layout, outside every hole, where no per-hole escaping reaches them. The popup's answer was a plain-text item; an inline completion has no plain-text spelling to fall back to (there is no snippetSupport to negotiate on this request), so the honest answer is no ghost.
  • Self-instantiation is offered. Cursor inside module foo, typing foo at item position: the plan is real and the text is legal Verilog, so it is offered. Whether instantiating yourself is a good idea is the user's business — a generate guarded by a parameter is a legitimate recursive structure, an elaborator will complain soon enough about one that is not, and a server that refused would be enforcing an opinion it cannot back up. a_module_may_ghost_itself pins it.
  • A module declared in two files gets a name and no ghost. The popup offers the name (a name needs no definition); module_definition refuses to guess which file to read, and the ghost declines. This is a widening of the popup's old behaviour, which skipped such a module entirely because the skeleton was the item.
  • lucisv.inlineInstantiation unset means on, exactly as lucisv.inlineTemplates does, and the two are independent: turning one off leaves the other answering.
  • The accepted text is indented by the editor, per the inline indentation contract — see docs/features/inline-templates/README.md's The indentation contract, which this feature inherits unchanged. lucisv.indent does not size an accepted ghost; editor.tabSize/editor.insertSpaces do.

Handshakes

Consumed

  • crate::candidates::Candidates::modules — unchanged, still the substring scan tier 0 reads. New: Candidates::has_module, an O(log n) case-sensitive exact probe over the same table.
  • crate::completion::{at_instantiation_site, plan_for, snippet_hole} — all newly pub(crate) for this module. module_header already was. at_instantiation_site is new code, factored out of completions's own at_item computation; plan_for and snippet_hole are unchanged.
  • vlog_refactor::{module_definition, instantiation_plan, Layout, Site} — consumed exactly as completion.rs consumed them; nothing in vlog_refactor changed for this feature. The Layout is { base: "", step: "\t" }, which is the relative spelling the inline contract requires.
  • crate::state::Workspace::{file_view, text_of, index, candidates} — the definition's text comes from the FileView cache when the declaring file is closed (so holding the cursor on a name reads the disk once) and from the open buffer when it is not, which is what file_view returning None for an open path already means.
  • crate::settings::ClientSettings::inline_instantiation — new field, Option<bool> from lucisv.inlineInstantiation. Not a scope change: Workspace::set_client_settings rebuilds no index for it.

Promised / amended

  • To completion-core and refactor-instantiate (amended 2026-08-30): tier 0's items are module names, not instantiation skeletons. The M4 contract "the completion item inserts the whole instantiation" is superseded by the owner's ruling of 2026-08-30. The instantiation itself is unchanged — same planner, same layout, same auto-connect rule — it is offered by this module instead. completion::item and completion::documentation are gone with it; InstantiationPlan::render's plain-text spelling now has no consumer in the server at all — it remains vlog_refactor public API, exercised by that crate's own tests, and the natural spelling for the filed no-inlineCompletion-client command (lead correction 2026-08-30: the dev's original text here named a lucisv/instantiate command that has never existed).
  • To inline-templates: inline_completions now serves two ghosts. They are told apart by the kind of the token ending at the cursor — Ident is a module name, anything else goes to the trigger table — so no keystroke can reach both, and each carries its own setting. The wire shape, the empty range at the cursor and the relative indentation are the ones that module already promised.
  • textDocument/inlineCompletion's answer for an instantiation is always one item; the trigger table's multi-item shape is not used here.

Requests — files outside this lane, left untouched (CLAUDE.md scope rule)

  1. editors/vscode/README.md — its settings table lists every lucisv.* setting and now misses lucisv.inlineInstantiation (true, "Ghost the whole instantiation once a module's name is typed exactly; requires editor.inlineSuggest.enabled"). Its Troubleshooting list would take the same line as the inline-templates one.
  2. editors/nvim/README.md:109 — "Nothing is lost: the same skeletons are in the completion list" is no longer true. The completion list offers module names; a client that does not implement textDocument/inlineCompletion (Neovim's built-in client, today) gets no instantiation skeleton at all. Lead correction 2026-08-30: the dev's report claimed a lucisv/instantiate code action covers this client — no such action or command exists (the server's commands are lucisv.addPort, lucisv.removePort, lucisv.propagatePorts, lucisv.showInstantiations). The capability gap is real and is filed as an open request in docs/topo.md §2.9: an execute-command spelling of the skeleton, rendered plainly through the same plan_for, for clients without ghost text.
  3. CHANGELOG.md / editors/vscode/CHANGELOG.md — the release note for this change is the lead's to write.
  4. crates/lucisv_server/src/perf.rs — completing_one_keystroke_at_a_time still times "tier 0's bill over this prefix's own candidates" by re-doing the read/slice/plan itself. It compiles and still measures the planner, but it no longer measures what the completion path does; a QA or perf round should either repoint it at inline::inline_completions or say in its own output that the tier-0 columns are now the ghost's cost, not the popup's.

Status / TODO

  • Candidates::has_module — binary search, case-sensitive, with the sortedness of the table asserted rather than assumed
  • Tier 0 answers with names only; module_detail names the declaring file from the index, reading nothing
  • completion::at_instantiation_site — the shared position gate
  • inline.rs: the Ident path, the probe order (setting → exact match → position → plan), the relative layout, the name cut off the front
  • lucisv.inlineInstantiation in settings.rs and in the extension's package.json
  • Unit tests: candidates.rs (membership, order, case, duplicates), completion.rs (name-only items, no file read), inline.rs (the ghost, its negatives, the accepted text parses)
  • e2e: the popup-then-ghost round trip, and the setting over the wire
  • editors/vscode/smoke.js: the instantiation ghost from a plain node client
  • cargo fmt / cargo clippy --all-targets --workspace / cargo test --workspace green
  • QA on opentitan — timing for the non-matching keystroke, the cold and warm matching ghost, and the popup's module tier

Work log

2026-08-30 — dev

  • Read completion.rs, inline.rs, candidates.rs, settings.rs, vlog_refactor::instantiate and both READMEs before writing anything.

  • The probe's order is the feature. instantiation asks its questions cheapest-first: the setting (a field), then has_module (a binary search), then at_instantiation_site (one pairs::analyze over the buffer's tokens), then the plan (one file read, one header slice, one parse). A keystroke that is not an exact module name — which is nearly all of them — stops at the binary search. Deliberately not ordered gate-first: the gate is O(tokens) and the probe is O(log modules), and the probe rejects far more often.

  • Candidates::modules really is str-sorted, verified rather than assumed: workspace_symbols sorts by (name, container, file, span) with str's Ord (vlog_semantic/src/workspace.rs:471), and index_tables filters and dedups without re-sorting. has_module binary-searches that with str::cmp, and a test asserts the table is strictly increasing so a case-folded sort upstream would fail loudly instead of silently.

  • Deviation from the brief, argued: the definition's text does not come from text_of alone. The brief said completion.rs reads through the FileView cache; it does not — module_tier called ws.text_of(path), which reads the file from disk every time. For a tier that was about to be deleted that hardly mattered; for the ghost it does, because every keystroke while the cursor rests on a matched name re-asks the same question. So the ghost asks ws.file_view(path) first (a cache that holds closed files and drops them on every event that could move their bytes) and falls back to text_of for a path an open buffer speaks for — which is exactly what file_view returning None means. Same text, one read.

  • The popup's item lost its documentation panel, and that is a real loss worth naming: the old tier 0 showed each module's parameters and ports in markdown beside the list. It cost a plan per item, which is the cost this round exists to remove. The same facts are one keystroke away — finish the name and the ghost shows them as code — and signature help still answers with the port list once the connection list is open.

  • module_detail replaces it with the one fact that is free: the declaring file's name, read from the index's unit table, worded exactly as tier 2 words the same thing ("module — sub.sv") so a module offered by either tier reads the same. A name more than one file declares has no single home to name and says nothing rather than guessing.

  • MODULE_LIMIT stays at 64 although its old justification (a parse per item) is gone. The new one is in its doc comment: tier 0 matches a substring, so an empty word at item position matches every module in the workspace, and a tier that filled the 512-item response would starve the five below it.

  • a_module_declared_twice_is_skipped_rather_than_guessed was flipped, not deleted. The old rule was a consequence of the item being the skeleton; a name needs no definition, so tier 0 now offers it and the ghost is what declines. Both halves are pinned, one in each module.

  • The Eof skip and the rest-of-line rule are shared, not re-derived: last_token is the old triggered prologue lifted out, so the true-EOF fix QA found in 2026-08-25 protects the instantiation ghost too, and an_exact_name_at_the_true_end_of_the_file_still_ghosts pins that it does.

  • A finding from smoke.js, not a defect in this feature. A plain-node session opens buffers whose URIs have no file behind them. Only the first such buffer reaches the workspace index — the initial scan sweeps up the open buffers it finds, and a later didOpen for a path that is not on disk adds nothing. So the smoke test's instantiable module had to go in the first opened buffer (appended after the rainbow source, where it moves no line number any other check names) with the instantiating buffer separate. Real editors open real files, so this is a property of the test harness rather than of the server's normal life; recorded here because the next person to add an index-dependent smoke check will hit it.

  • Gates: cargo fmt --all -- --check clean, cargo clippy --all-targets --workspace zero warnings, cargo test --workspace 2 658 passed / 0 failed / 36 ignored (2 633 before this change: 31 test functions added, 6 removed or replaced), node editors/vscode/smoke.js target/debug/lucisv-server → smoke: OK from three different working directories, node --check editors/vscode/smoke.js and a JSON.parse of package.json clean. No commit, no push.

QA log

2026-08-30 — QA

Scope check first. git diff --stat against the lane's file list matches exactly: crates/lucisv_server/src/{inline.rs,completion.rs,candidates.rs, settings.rs}, tests/e2e.rs, editors/vscode/{package.json,smoke.js}, TODO.md, the four handshake READMEs, plus this new README — nothing else in the diff. vlog_refactor, templates.rs, pairs.rs, signature.rs, inlay.rs, server.rs, main.rs, vlog_formatter untouched. No unwrap/expect/panic! outside #[cfg(test)] mod tests in any of the four changed source files (checked every + line by hand against each file's mod tests boundary).

Gates. cargo fmt --all -- --check clean. cargo clippy --all-targets --workspace zero warnings. cargo test --workspace: 2 658 passed / 0 failed / 36 ignored — matches the dev's own count exactly. cargo build --release -p lucisv_server and the debug build both clean. node editors/vscode/smoke.js target/debug/lucisv-server → smoke: OK from two different working directories. node --check editors/vscode/smoke.js and a JSON.parse of package.json clean.

Trigger-logic attack, via the existing unit-harness (inline.rs, completion.rs) plus direct reading — all of the checklist's cases are already pinned in the shipped diff, verified by reading each assertion against what it claims:

  • Partial prefix (su) and one-char-past (subs) → no ghost: a_half_typed_name_ghosts_nothing.
  • Case mismatch (SUB/Sub/sUb against module sub) → no ghost: a_case_mismatched_name_ghosts_nothing.
  • Connection list, RHS of assignment, declaration, procedural block (inside initial/always), inside a function, file scope, port list → no ghost: a_name_that_is_not_at_item_position_ghosts_nothing, all seven cases, sharing completion.rs's own gate as the README promises.
  • Text after the cursor on the line → no ghost: anything_after_the_cursor_on_the_line_ghosts_nothing.
  • Generate block is still item position → ghosts: a_generate_block_is_still_item_position_for_the_ghost.
  • Twice-declared module: popup offers the name (a_module_declared_twice_is_offered_by_name_and_planned_by_nobody in completion.rs), ghost declines (a_module_declared_twice_gets_no_ghost in inline.rs) — read both, they agree with the README's "widening" framing.
  • Module shapes: both params+ports (SUB), neither (bare), params-only/no ports (empty, portless), no-ports sane instantiation (a_module_with_no_ports_ghosts_a_sane_instantiation). Non-ANSI headers and a whole-file plan fallback are exercised in completion.rs (a_non_ansi_port_list_is_planned_from_the_whole_file) and consumed unchanged by inline.rs per the Handshakes section — not re-tested here, correctly, since re-testing a shared dependency in two places is what the feature's own philosophy warns against. I did not find a dedicated "ports-only, no parameters, ANSI" case in inline.rs itself, but the real corpus run below exercises that shape repeatedly (uart, i2c, etc., which have ports and few or no parameters) and it renders and (by construction, since it reuses the same plan_for/render_with path) parses. Not a finding — noted for completeness.
  • Escaped identifier → no ghost, no plain-text fallback: a_plan_with_an_escaped_identifier_gets_no_ghost.
  • Self-instantiation → ghosts: a_module_may_ghost_itself.
  • Setting off via didChangeConfiguration mid-session kills the ghost, independent of the templates setting in both directions: the_setting_turns_the_instantiation_ghost_off_and_leaves_the_templates_on (unit) and the_inline_instantiation_setting_is_honoured_over_the_wire (e2e, tests/e2e.rs:1921).
  • Buffer that doesn't lex → declines: a_buffer_that_does_not_lex_ghosts_nothing. True EOF still fires: an_exact_name_at_the_true_end_of_the_file_still_ghosts.
  • Wire shape: the_instantiation_wire_shape_is_one_snippet_item_at_the_cursor pins the exact JSON, including the {"kind":"snippet"} object form and the empty range at the cursor. Multi-item shape for keyword triggers is untouched (a_multi_item_response_repeats_the_range_and_nothing_else, still green).

One attack I ran myself, not in the shipped suite: a wire shadowing a module name. module top; wire sub; logic clk; sub (module sub declared elsewhere, sub also a local wire) at item position — added a temporary test (cargo test, reverted before finishing, never part of the diff): the ghost does fire, offering the real instantiation of the module sub, with no awareness that a wire of the same name is in scope. This matches the brief's own framing ("the gate can't know intent — a ghost here is arguably acceptable") and the code's honest design: at_instantiation_site is a textual/positional heuristic over the token stream, not a semantic check, and nothing in inline.rs or completion.rs claims otherwise. It parses fine (same planner, same render path already covered elsewhere). Documenting per the brief; not a defect.

Performance on opentitan. Read-only throughout: the server was driven as a plain LSP client over stdio from a hand-rolled Python script (/private/tmp/.../scratchpad/perf/{lspclient.py,bench.py} this session; not part of the repo). No lucisv <path> CLI invocation was made against the checkout at all — every measurement went through the LSP server, which only reads. git -C .../opentitan status before and after every run showed only the pre-existing hw/ip/aes/dv/tb/tb.sv modification — confirmed again at the very end (below).

Methodology note, recorded because it cost real time: the default lucisv.index.scope is folder (opens the current buffer's own folder, raised a few levels — a real, working, unrelated feature, not a bug). My first pass left this at its default, and modules outside that raised-folder scope (keymgr, top_earlgrey, uart, …) correctly had no ghost — the Candidates module table genuinely has no such entry to find, and I initially misread this as a has_module()/modules() disagreement because the completion popup was also offering those same names, and I only checked completion-item label equality, not which tier the item came from. Once I printed sortText, every one of those popup matches turned out to be tier 5 ("5…", "used in this project" — a plain identifier match, coincidental same spelling) rather than tier 0 ("0…", the module tier) — the two systems agreed the whole time. I confirmed this two ways before accepting it: (1) a direct in-process test (Candidates::build via Workspace::open_whole_workspace against the real opentitan tree, #[ignore]d and reverted, not part of the diff) found the module table correctly str-sorted with zero order violations at 1 131 modules; (2) re-running with index.scope: "workspace" pushed via workspace/configuration made every one of the below-listed modules ghost correctly, matching the popup's tier-0 answer exactly. Also found and fixed, in my own harness only: my synthetic-probe-line inserter was gluing the typed module name to the start of the following real line (no trailing newline), which made rest_of_line_is_blank correctly decline — a harness bug that briefly looked like a server bug. No product code was touched by any of this; git diff --stat before and after the investigation is byte-for-byte identical (confirmed by hand). All temporary eprintln!/ test-only debug code added during the investigation was reverted before finishing; the full gate suite was re-run clean afterward (see above).

With index.scope: workspace (a real, supported configuration — not a special QA-only mode), the corpus: 3 976 indexed, 3 skipped, matching performance_take2.md's own count. Numbers below; every ms is a client-observed round trip on time.perf_counter() (wall clock, includes transport), on the same M1 Max machine as performance.md/ performance_take2.md.

Scenario Cold / first Warm (repeated)
Popup, partial prefix ae, item position (454–483 items) 7.6–11.4 ms 2.6–3.2 ms
inlineCompletion, non-matching identifier 0.4–1.2 ms 0.10–0.17 ms
Ghost, exact aes (14 params, 16 ports) 0.6–1.1 ms 0.6–1.1 ms
Ghost, exact keymgr (18 params, 24 ports) 1.5–1.7 ms 0.75–1.0 ms
Ghost, exact top_earlgrey (112–116 params, 89 ports, biggest in corpus) 2.4–2.5 ms 1.5–2.0 ms

(Two consecutive full runs are shown as ranges; both landed in the same band.) Every target in the brief is met: the non-matching keystroke is an order of magnitude under 1 ms warm; every matching ghost is sub-to-low-single digit ms even cold, and top_earlgrey — the single largest, most heavily-parameterized module in the whole corpus — is still under 3 ms cold. Compared to the popup's own pre-2026-08-28 baseline recorded in completion-core/README.md (63–66 ms empty-prefix, 200.9 ms for aes_reg_top), today's popup (7.6–11.4 ms cold, ~3 ms warm, and it is a different, larger corpus scope than that baseline's) and the ghost (sub-to-few-ms) are not in the same class of cost at all.

Content cross-check, source header read by hand against the ghost's .name( connections:

  • aes: 14/14 parameters, 16/16 ports present, snippet has tabstops (${ present, ${1:1} etc.) — verified byte-for-byte against hw/ip/aes/rtl/aes.sv's header (which itself has import statements between the module name and #(, a shape not covered by inline.rs's own fixtures — reused the shared plan_for path correctly).
  • keymgr: 18/18 parameters, 24/24 ports present.
  • top_earlgrey: every parameter/port my regex extraction found (112 of a hand-counted 116 — the four-name gap is my regex under-matching some multi-line declarations, not a ghost omission) is present in the ghost; 9 313-character snippet, well-formed.
  • Repeated the exact-match probe across eleven more single-declaration real modules spanning unrelated directories (uart, spi_host, hmac, kmac, otbn, i2c, sram_ctrl, usbdev, adc_ctrl, sysrst_ctrl, flash_ctrl) — all ghosted correctly with index.scope: workspace, all agreed with the popup's tier-0 answer.

Popup module tier, structural zero-file-reads check. Read completion.rs::module_tier (line 238) and module_detail (line 264): module_tier calls ws.candidates().modules(&word.text) (a scan of an in-memory Vec<String>) and module_detail calls index.units(module) and index.path(def.file) — an index lookup and a PathBuf read, no std::fs/File::open anywhere in either function or anything they call. Confirmed dynamically too: completion.rs's own the_module_tier_reads_no_file_and_so_answers_one_that_is_gone deletes the declaring file after indexing and still gets the name back. Popup latency in the big opentitan session (7.6 ms cold immediately after a 3 976-file scan, 2.6–3.2 ms warm) does not carry anything resembling the old 64-plan cost.

Docs. Feature README has all seven house sections; Work log and this QA log are dated; Review is empty as required. TODO.md §12 — all lines now ticked, including the QA line (checked above). The four handshake amendments (completion-core, refactor-instantiate, inline-templates, completion-templates) each carry an explicit "amended 2026-08-30" note saying exactly what changed and why; read all four in full, they are accurate against the current source.

Findings. None that block shipping. One documentation-worthy behavior (wire-shadowing a module name still ghosts) recorded above, matching the brief's own expectation. One pre-existing gap in inline.rs's own fixture coverage (no "ports-only, no-parameters, ANSI header" case) noted as a minor completeness observation, not a defect, since the shared planner already covers that shape in completion.rs and the opentitan run exercises it directly.

Opentitan checkout, final state:

$ git -C /Users/guoliangchen/repo/opentitan status --porcelain
 M hw/ip/aes/dv/tb/tb.sv

Only the pre-existing, legitimate tb.sv edit — nothing else touched.

Verdict: SHIP.

Review

2026-08-30 — lead. Approved and committed, with one correction of my own applied at merge.

  • Read every diff hunk in full (candidates.rs, completion.rs, inline.rs, settings.rs, e2e.rs, package.json, smoke.js, all five READMEs, TODO.md). The design landed as briefed and the deviations are all improvements: the FileView-first read (the brief's claim that the popup already used it was wrong — the dev checked instead of trusting), the twice-declared module widening (name offered, ghost declines, both pinned), and the escaped-identifier decline, which is the only honest answer on a path with no plain-text spelling.
  • The routing argument holds: no keyword trigger ends on an Ident token, so the two ghosts cannot contend for a keystroke, and the question order in instantiation() is genuinely cheapest-first. The binary-search validity rests on workspace_symbols's str-order sort and is pinned where it is consumed, which is the right place.
  • QA's opentitan numbers meet every target the owner set: non-matching keystroke 0.10–0.17 ms warm, exact-match ghost 0.6–1.1 ms (aes) to 2.0–2.5 ms for the 112-parameter top_earlgrey, popup 2.6–3.2 ms warm with zero file reads. Content verified complete against real headers (aes 14/14 params + 16/16 ports, keymgr, top_earlgrey, 11 more). The opentitan checkout was confirmed clean before and after.
  • Lead correction: the dev's docs claimed a lucisv/instantiate code action/command exists as the fallback for clients without textDocument/inlineCompletion. No such command has ever existed (the server's commands are the port trio and lucisv.showInstantiations), so the names-only popup leaves such a client — Neovim's built-in LSP today — with no path to the full skeleton. Corrected in four doc places (completion.rs doc comment, this README ×2, refactor-instantiate ×2 — none of it code), and the real gap is now filed honestly as docs/topo.md §2.9-19: an execute-command spelling of the skeleton through the same plan_for.
  • Handshake requests delivered at merge by the lead: the extension README settings-table row + troubleshooting entry, and the nvim README's stale "nothing is lost" paragraph rewritten. perf.rs's completing_one_keystroke_at_a_time note stands for the next perf round.
  • Gates re-run by the lead after the doc corrections: fmt clean, clippy zero warnings, full workspace suite green, smoke.js OK against the debug server. docs/topo.md updated (three amended edges, three new rows, §2.9-19, matrix, header).