Commit Graph
2 Commits
Author SHA1 Message Date
ruv b531aa9279 perf(console): incremental transcript parsing, kit-seq runner, tsc clean for specs (ADR-473)
A transcript that grew is parsed from where its last parse ended, not from its
first line: checked resume (head + anchor), unfinished last line taken back,
bounded ring and id set, LRU memo, tail windows by unique anchor. Reference
parsers untouched and used as the oracle by a seeded property test plus
mutation checks. Refresh warms the parse memo for the search (400k chars a tick).

scripts/kit-seq.sh runs the 25 kit tests one file at a time in a temp copy;
scripts/typecheck.sh makes tsc find the ambient types in a fresh worktree; the
specs' type errors are fixed (sources of other lanes listed in the report).

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 19:16:55 -04:00
ruv 15933793f1 perf(console): fix per-frame transcript re-parse, quadratic journal fold, repeated tail reads; add workflow and autopilot benchmarks (ADR-467)
Frame 64 ms -> 0.06 ms, drill/search frames 1.4 s -> 0.1 ms, foldJournal 100k events 15 s -> 53 ms,
unchanged journal not replayed, unchanged oversized transcripts not re-read. Digests identical before/after.

Co-Authored-By: RuFlo <ruv@ruv.net>
2026-10-06 01:12:01 -04:00