{"draft":null,"from":237,"to":238,"files":[{"path":"src/engine/graph.ts","added":11,"removed":0,"diff":"--- a/src/engine/graph.ts\n+++ b/src/engine/graph.ts\n@@ -820,6 +820,16 @@\n \t\treturn this.#atoms.length;\n \t}\n \n+\t/**\n+\t * How many atoms this graph object has accepted since it was made (abso Capacity): in memory, so a cache over the\n+\t * graph can tell nothing was added without reading storage. A rolled-back add still counts, which only makes such a\n+\t * cache look again.\n+\t */\n+\tget accepted(): number {\n+\t\treturn this.#accepted;\n+\t}\n+\t#accepted = 0;\n+\n \t/** The id the next accepted atom must have. */\n \tnextId(): AtomId {\n \t\treturn atomId(this.#atoms.length);\n@@ -1530,6 +1540,7 @@\n \t\t\t\t\tthis.#lists ? this.#listReader(seq) : undefined,\n \t\t\t\t);\n \t\tthis.#atoms.push(this.#storage ? atom : frozen);\n+\t\tthis.#accepted++;\n \t\tlet lam = 0;\n \t\tfor (const d of deps) lam = Math.max(lam, this.lamport(d) + 1);\n \t\tif (this.#lamportPages) this.#lamportPages.push(lam);"}],"unmatched":[]}