sgit newsroom v0.1.29 · snapshot 2026-09-24

Reading room · vaults

Reading room / vaults · raw text

From vaults, a file in the seed packEverything on this sheet is the source site's own text; the newsroom's chrome is outside it.

The processor and its schedule

The processor reads pending entries from the append lane, folds them into views, commits the views, and marks the entries processed. The mechanics are simple: list with include_content: false, fetch in batches of up to 100, fold, commit, mark processed. Marking is idempotent, so a retried batch is safe.

The schedule is the open question.

TriggerForAgainst
Timer, for example every 15 minutesPredictable cost; views are never more than one interval staleWasteful when idle; can fall behind a burst
Pending-count threshold, for example at 500 pendingStays clear of the 1,000-per-token limit that refuses writesNeeds something watching the count
On demand, when somebody opens the replayNo work until it is needed; the freshest viewThe first open after a busy day is slow
End of sessionOne fold per agent session, a natural unitLong sessions leave long gaps

A starting default

A timer every 15 minutes, a threshold at 500 pending entries per lane, and an on-demand fold of whatever is pending when the replay opens. Then measure: how often each trigger fires, how long a fold takes, how stale the views were when people looked. Change the default when real usage says so.

One rule regardless of schedule

Capture must not fail silently. In broker and gateway mode, if the lane refuses an append, the entry is held locally and the broker accepts no further write operations until the lane accepts it again. The schedule can be lazy; capture cannot.