3 Commits
Author SHA1 Message Date
Guoliang ChenandClaude Mythos 5.2 71d13b5fbe Release 0.66.2: every source file names its author
ci / checks (push) Successful in 1m0s
ci / corpus (push) Successful in 18s
ci / linux (push) Successful in 6m4s
release / build-and-publish (push) Successful in 5m31s
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]>
2026-11-24 12:11:09 -08:00
lucioandClaude Fable 5 5e4aa7bd6f Incremental indexing + the edge tables: one file changed, one file merged
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]>
2026-08-27 14:35:27 -07:00
lucioandClaude Fable 5 01c76067e8 LSP §9c: textDocument/codeLens — instantiation counts that jump
One lens per module and interface declaration: 'no/1/N instantiations',
counting instantiation sites workspace-wide through the one census the
server has — hierarchy.rs's walk, refactored so the batch is the
primitive (callers_of_each over one sources() pass; incoming is now a
one-element batch, behavior byte-identical, amortization pinned by a
corpus ratio test that fails if it goes linear). Clicking runs
lucisv.showInstantiations through the existing executeCommand path,
answering the site locations and pushing window/showDocument (first
site, takeFocus, selection) when the client can take it; the zero-count
lens is display-only. workspace/codeLens/refresh rides each reindex
after the progress bar comes down, capability-gated, once per rescan.

42 tests added (dev 33 + QA 9): count agreement with incomingCalls,
the absolute census policies pinned at the lens layer (multi-instance
statements are one site, textual recursion, both ifdef arms, name
collisions), one-sources()-read-per-request, showDocument/applyEdit
response independence, and grep-derived ground truth on a real corpus
file. The instantiation-edge-table request is now a concrete
vlog_semantic Handshake — two features pay the walk it would delete.

docs/features/code-lens/README.md

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-08-26 16:41:34 -07:00