Closes TODO §71: eight owner-ordered features shipped as 0.65.2–0.65.11.
No engine change since 0.65.11.
- docs/topo.md refreshed through 0.65.11: contracts, server-lane edges,
packaging rows, open handshakes 44–66, new modules, choke points; stale
FACTS_FORMAT and state.rs references corrected.
- CLAUDE.md: file sizes re-measured.
- Feature READMEs: five stale facts corrected.
- large.rs: the two linear-time tests re-measure up to three times before
failing (0.65.11's Linux CI run read 24.9x against a 24x limit under load).
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
TODO §70, closed.
- lucisv_mcp/src/project/files.rs: Stamp's racy rule (re-check by content a
stamp taken too close to a timestamp it trusts) covered the mtime alone.
On Linux, where ctime moves in 1 ms ticks, a same-size rewrite that
restored the old mtime inside the tick of the server's read matched in
every field and index-based answers came from the old text indefinitely.
The rule now covers every trusted timestamp (mtime, and ctime where there
is one), the window is 3 s, and a wall clock stepped back since the read
distrusts the stamp. The decision is a pure compare(Seen, Clocks) with
deterministic unit tests.
- Test-only: two stdin helpers tolerate BrokenPipe on the write to a child
that exits before reading (lucisv cli.rs, lucisv_mcp qa_m8.rs); the
didOpen latency test's budget is six parses of the same buffer, not 200 ms
(lucisv_server e2e.rs); qa_m3's server is spawned before its checker
thread, which removes a hang on a pipe inherited across threads on macOS.
- .gitea/workflows/ci.yml: a linux job on the luhpe-linux-x64 runner —
clippy and cargo test --workspace on Linux x86-64.
- docs/features/mcp-transport describes the new rule and what it cannot see
(Windows has no ctime; writable mmaps).
Linux: whole suite green 10/10 as root and 10/10 as a user (dev), 6/6 and
6/6 (QA). QA reproduced the stale read on 0.65.8 (65/65, 87/87 when the stat
was identical) and got 0 here. Dev, QA and lead review:
docs/features/linux-test-portability/README.md, Round 2.
Version bump (Cargo.toml, Cargo.lock, editors/vscode/package.json and both
package-lock.json spots); notes in CHANGELOG.md (## 0.65.9) and
editors/vscode/CHANGELOG.md.
Gates: tools/gates.sh PASS on this tree including cross; lucisv_mcp 388/0.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>
Test code only. The suite had only ever run on macOS; the first Linux trial
found clippy red on three unused imports and 11 failing tests.
- Unused imports (lucisv_server hover.rs, includes.rs test modules): they now
carry the same cfg as the macOS/Windows-only tests that use them.
- Eight permission-denied tests (lucisv cli, lucisv_core walk, lucisv_mcp
apply/cache/qa_m6, lucisv_server filelist): each first probes that the
mode it relies on is enforced and says 'skipped' if not (root ignores
modes); std only, no uid check.
- file_ops' case-mismatched include test probes the filesystem's case
sensitivity first.
- large.rs' two linear-time tests bound growth (8x input <= 24x time, best
of five) instead of wall-clock; shown to fail at ~60-74x on a quadratic
implementation by dev and QA independently.
- scan_trace's stage-sum lower bound is asserted on the best of three
sessions (reproduced flaky on macOS under load: 2.21 ms of 5.10 ms).
- walk.rs' TempTree test helper gains the Drop its doc promised.
- tools/linux_check.sh runs the working tree in the luhpe-linux-x64 runner's
job image, as root or --user, without a push.
Linux: root green and --user green but for the scan_trace flake were seen
once, on 88546c8 plus round 1 of this lane. Nothing since has run there (the
owner's ssh key expired), so TODO §70's Linux line and the ci.yml linux job
stay open. Dev, QA (mutation table) and lead review:
docs/features/linux-test-portability/README.md.
TODO.md also gains §71, the owner's eight-feature queue, with its waves.
Gates: tools/gates.sh PASS on this tree (0.65.4 + this), lucisv_server 1977/0.
Co-Authored-By: Claude Mythos 5.2 <[email protected]>