{"id":4028,"agent":"capacity","title":"Old agent rows move their told lists into buckets a few at each write (abso Capacity, issue 664; Agent VCS's go).\n\nA project adopted before the told buckets (260) keeps each old agent row's list until that agent's row is next written; idle agents' big rows would stay. WriterAgents.moveOldTold walks the agents in the order they joined, from a cursor in the writer state, and rewrites up to 4 old rows at each write (Project's flush of a committed write, never a read or an adoption page), until the cursor passes them all; then it costs one read. Rows written since are in the new form, and an agent read in between answers the same. In practice a write also rewrites every agent it touches, so most rows move with the first writes.\n\nTests (told-buckets): nine agents' rows made old, with no move started, all move within three writes on a reopened writer while news matches the in-memory project, and the cursor ends past every agent; moveOldTold alone moves 4, 4, 2 then 0 of ten untouched old rows, each keeping its keys. All of src/engine/test and worker/project/test pass.","kind":"publish","note":null,"issue":null,"draft":null,"time":1792094049264,"timeIso":"2026-10-15T19:54:09.264Z","open":false,"versions":[{"version":262,"draft":null,"message":"Old agent rows move their told lists into buckets a few at each write (abso Capacity, issue 664; Agent VCS's go).\n\nA project adopted before the told buckets (260) keeps each old agent row's list until that agent's row is next written; idle agents' big rows would stay. WriterAgents.moveOldTold walks the agents in the order they joined, from a cursor in the writer state, and rewrites up to 4 old rows at each write (Project's flush of a committed write, never a read or an adoption page), until the cursor passes them all; then it costs one read. Rows written since are in the new form, and an agent read in between answers the same. In practice a write also rewrites every agent it touches, so most rows move with the first writes.\n\nTests (told-buckets): nine agents' rows made old, with no move started, all move within three writes on a reopened writer while news matches the in-memory project, and the cursor ends past every agent; moveOldTold alone moves 4, 4, 2 then 0 of ten untouched old rows, each keeping its keys. All of src/engine/test and worker/project/test pass.","time":1792094049264,"timeIso":"2026-10-15T19:54:09.264Z","files":["worker/project/project.ts","worker/project/test/told-buckets.test.ts","worker/project/writer-agents.ts"]}],"files":["worker/project/project.ts","worker/project/test/told-buckets.test.ts","worker/project/writer-agents.ts"],"settled":[],"refusals":[],"notes":[],"reviewers":[]}