Artifacts Associated With Ticket f16b31e0b602dd8ff89fa1c619f086c2e0c02e6b
Ticket change [6e1fc03850] (rid 1421) by tmp-ops on 2026-08-20 20:49:24:
- Untracked field cmimetype: "text/x-markdown"
- comment initialized to:
fossil rebuilds the tcl repository in about a minute, in-process. Our full replay of the same data takes hours: zit frames streams every census byte through a subprocess, artifacts are JSON-wrapped and persisted through JetStream, the consumer pulls 256 messages at a time, and each batch pays FTS, ticket-doc, contributor and filechange refresh work. The event bus exists for INCREMENTAL multi-node sync (0001 section 4). A local rebuild is pure derivation and does not need the bus: Reindex can read `zit frames` directly into Fold — parse, batch, fold, then set the publisher cursor to the stream end so incremental sync resumes normally. Same artifacts, same idempotent folds, no serialization/persistence round-trip, no 1GiB/1hr live-tail loss window. Target invariant: a full reindex of the largest store completes in minutes, not hours. Measured floor to beat: fossil rebuild of tcl about 60s; zit ls --no-cache (full manifest materialization) 23s. Related: the per-batch refreshTicketDoc/refreshContributor work is quadratic-ish over a bulk replay and could be deferred to a single pass at round end during rebuild.
- status initialized to: "Open"
- title initialized to:
Full reindex takes hours; a direct frames-to-fold path should make it minutes
Ticket change [6f038c50e2] (rid 1477) by tmp-ops on 2026-08-21 12:14:59:
- icomment:
Superseded and delivered via fa69d59bb2: direct frames-to-fold landed, then crosslink consumption. Final numbers there.
- mimetype: "text/x-markdown"
- status changed to: "Fixed"
- icomment:
Ticket change [55ffebf6b5] (rid 12479) by zeitgeist on 2026-09-24 00:53:08:
- Untracked field number: "44"