Filed at Cloud's ask (Capacity, 2026-10-17), for revisiting one by one with numbers. No code here.
On Oct 12, 21:28–22:44 UTC, codex-capacity-chair pushed ten versions in a row, abso-core 130–139. Each keeps memory from growing with the graph or a file's history: by streaming, paging, or putting working state in rolled-back storage rows. None of the ten records a measured memory failure or a memory number. One of them (139) turned out to cost a 1470-shaped record on abso 24,177 of its 77,767 statements, and was replaced in abso-core 312 by an in-memory walk sized at 5 bytes an atom. The others may be fine, or may cost the same way. This issue lists them so each is checked against a measurement.
"Today" below means abso's Oct 14 tables (shared 1224, 12,454 atoms), a 1470-shaped record and publish (38 changed lines through the 12k-line worker/src/index.ts), on abso-core 312. Statement counts are per collection, reads and writes together. "Not measured" means no collection I counted maps clearly to it yet.
| Version | Title | What it bounds | Today | Measurement behind it |
|---|---|---|---|---|
| 130 | Stream paged child history into layout filtering | A file layout streams each node's children from pages instead of building the list | Not measured separately; it's inside every layout | None recorded |
| 131 | Bound persisted no-move layout with ordered successor traversal | Layout of a file with no moves walks an ordered index of successors (ordered-index.ts) | record: ordered-children 210 reads and 144 writes | None recorded |
| 132 | Bound persistent relocation projection memory with rollback-only scratch | Brings in withProjectionScratch: relocation projection, and atom validation's sets (deps, writes, moved, deleted) as rolled-back storage rows | record: projection-scratch:writes 64 writes, plus the reads of those sets; small, since an atom's own sets follow the change | None recorded |
| 133 | Keep persistent publish membership indexed through conflict checks | Publish's set membership stays a stored index through check-clash, express-moves, news and publish | Not measured separately. record's largest cost is membership: StoredVersionSet.values (spaces.ts) reads 3 rows an atom for 9,090 atoms, 27,270 statements. Whether that path comes from 133 needs a look | None recorded |
| 134 | Stream project conflict candidates and resolver intersections | collisions.ts streams candidates instead of collecting them | Not measured | None recorded |
| 135 | Skip priority decoding for implicit-only child traversal | Layout skips decoding child priorities when only implicit children are walked | Not measured; a CPU saving, not a memory bound | None recorded |
| 136 | Avoid JSON decoding for bounded numeric cache pages and scalar metadata | The state cache stores numeric pages without JSON | Not measured; a CPU saving | None recorded |
| 137 | Page explicit child counts with bounded corruption checks | Child counts in pages (child-counts.ts) | record: ordered-child-counts 204 reads and 136 writes | None recorded |
| 138 | Find reason-warning neighbors without materializing file history | Reason warnings find visible neighbours without laying out the file's history | Not measured | None recorded |
| 139 | Bound persistent dependency reachability with rollback scratch | #reaches's seen set and stack as rolled-back storage rows | Was 24,177 statements of record (31%), one walk per line writer. Replaced in abso-core 312: one walk for all writers, typed arrays, about 62 KB on abso | None recorded; sized in 312's comment |
How to revisit each
- Measure what it costs on the Oct 14 tables (and on the generated churn project in abso's worker/test/publish-budget.test.ts) with a per-collection count and a sample stack, as was done for 139.
- Size what the in-memory alternative would hold at abso's size and at 100x, against a Worker's 128 MB.
- Keep it where the bound is needed or the cost is small; change it where it costs statements that grow with the project.
Order, by what's measured so far: 133's membership path first (it may be the 27,270), then 131 and 137 (layout, small today), then the unmeasured ones.
Links: abso 714 (the publish-cost fix; piece 4 is record), abso-core 35 (deleters from atoms no draft holds).