{"draft":null,"from":261,"to":262,"files":[{"path":"worker/project/project.ts","added":4,"removed":0,"diff":"--- a/worker/project/project.ts\n+++ b/worker/project/project.ts\n@@ -255,6 +255,8 @@\n const WRITER_CACHE_ROWS = 16_384;\n /** The biggest row the writer cache keeps (abso Capacity): an agent and all the news it was told can be 100 KB. */\n const WRITER_CACHE_ROW_BYTES = 16_384;\n+/** Old-form agent rows moved to told buckets at each write (abso Capacity): abso's 109 take about 28 writes. */\n+const OLD_TOLD_PER_WRITE = 4;\n export interface WriterSource {\n \treadonly generation: number;\n \treadonly logLength: number;\n@@ -1701,6 +1703,8 @@\n \t\tconst out = this.#pending;\n \t\tthis.#store.append(out);\n \t\tthis.#persistMutable();\n+\t\t// A few more agents' old told lists into their buckets at each write, until every row has moved (writer-agents.ts).\n+\t\tif (this.#agents instanceof WriterAgents) this.#agents.moveOldTold(OLD_TOLD_PER_WRITE);\n \t\tthis.#pending = [];\n \t\tthis.#stored += out.length;\n \t\tthis.#writeCheckpoint();"}],"unmatched":[]}