Every tracked file that can carry a comment (880 of them) now opens with
"Author: Guoliang Chen, a Senior Digital Design Engineer" and closes with
"Author: Guoliang Chen. Lucisv is made by Guoliang Chen with love,
luciochen.com", in the file's own comment syntax. No behaviour change: the
diff outside the version bump and changelogs is comment lines only.
- tools/stamp_author.py: writes the lines; idempotent, `--check` lists
what is missing. Headers go under a shebang and under Markdown front
matter.
- Left alone: test fixtures, cases and snapshots (byte-exact inputs), JSON
and JSONL, logs, images, lockfiles, docs/site/dist (regenerated) and the
LICENSE files (already carry the copyright line).
- tools/linux_check.sh: --help reads its header from line 3, now that the
author line sits under the shebang.
- tools/gates.sh green on this tree: 5 545 tests, corpus 814/6 as before.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
Owner-requested round. WorkspaceIndex::update_file/remove_file replace
one file's contribution without reading or parsing anything else;
Server::reindex_one takes the fast path for a didSave of one held file
or a one-file watcher event (33 ms vs 1.5 s on the corpus, 45x), with
everything else — settings, scope, filelist, multi-file events —
keeping the full rebuild, pinned by a trigger-table test. FileIds stay
sorted positions by deliberate deviation: renumbering through the one
merge both finish and update_file end in makes build(W) byte-identical
to build(W minus F).update_file(F) — fingerprint equality, attacked by
QA across long interleaved sequences, disambiguation flips, define
shadowing and the ghost hunt (the affected-keys union reads old and
new records both). The per-file FileFacts the index retains are the
documented memory cost (~1.4 MB on the corpus).
The two oldest filed Handshakes land: instantiation and inheritance
edge tables, built by the byte-for-byte moved census walks, turn
codeLens counts (92 ms to 0.26 ms), incomingCalls and typeHierarchy
subtypes into lookups — census policies pinned unchanged at both the
consumers and now the source. Counts are as of the index, not of
unsaved keystrokes: the freshness delta is documented and pinned from
both sides. Saves no longer raise a progress bar; generation and lens
refresh still ride. Round 18's three inherited scope obligations are
pinned permanent.
36 tests added (dev 27 + QA 9). Left open, filed: wholesale republish,
Candidates re-derivation cost, incremental removal vs include
re-resolution.
docs/features/incremental-index/README.md
Co-Authored-By: Claude Fable 5 <[email protected]>
Owner-requested round. lucisv.index.maxFileSize (default 1 MiB, 0
disables, junk values fall back to the default — misparse must never
un-cap) skips walked files at one fs::metadata call before any read;
open buffers are always served uncapped, a cap change rescans like
exclude does, and the cap reads consistently through every sources()
consumer — documented per consumer, with the write-path warning gap
(a rename silently leaving a capped file stale) filed as a follow-up.
The indexing bar now counts: $/progress reports '137/860 path' with a
monotonic percentage over the post-exclude post-cap denominator,
throttled to ≤1000 reports per rescan with the last file always
reporting. Enabled by vlog_semantic's new IndexBuilder (add_file/
finish) with build() redefined as the loop over the newly-exported
index_order — the FileId ordering rule is now a call, not a comment.
QA proved both production callers order correctly; hardening the
builder against out-of-order future callers is round 18's acceptance
test. lucisv.index.logFiles (default on) streams 'indexing: path' and
cap-skip lines to the editor's Output panel at LOG level; the skip
count survives in the end message when logging is off. Measured
overhead ≈2.6% on the 860-file corpus; 0 corpus files exceed 1 MiB
and the default-capped index is pinned identical to uncapped.
21 tests added + QA's attack set + the lead's human_size boundary fix
('1024.0 KiB' can no longer be printed for a byte short of a MiB).
docs/features/indexing-ux/README.md
Co-Authored-By: Claude Fable 5 <[email protected]>
Every index rescan — the startup build included — now puts up a real
progress bar for clients that advertise window.workDoneProgress:
window/workDoneProgress/create with a fresh lucisv-index-N token, a
Begin titled 'Indexing Verilog workspace' (cancellable: false — nothing
in a single-threaded server can cancel; no percentage — the rescan is
one opaque call and an invented number would be a lie), the scan, then
End naming the indexed file count. The Option<ProgressToken> returned
by begin_indexing IS the capability gate, so an unpaired or uninvited
bar is structurally impossible; create answers ride the existing
ignored-response path with no risk to applyEdit routing (one shared id
counter). The startup build got the bar because initialize_finish
completes before Server::new — the same fact watcher registration
already relied on.
14 tests added (dev 10 + QA 4: watcher-after-bar ordering, both
response-interleaving directions, capability-off on the watcher/config
paths, rootless zero-count startup), all decoding real wire JSON for
the sequence, token type, title, and message.
docs/features/work-done-progress/README.md
Co-Authored-By: Claude Fable 5 <[email protected]>