Timeline
17 events (13 published, 4 announced) from log position 5103 to 6451.
Status for an agent behind shared lists its base version's kept paths, not a layout of every known file (abso 711, abso - Performance's fix; Capacity ships it)
- agentPaths and pathsOf listed an agent's files with agentView(agent).paths(). For an agent behind shared on a stored writer, that lays out every known file's history: 21,939-28,410 statements the first time, 11,330-26,075 each repeat, nothing kept. On prod abso this afternoon, 28 status calls ran 29,000-40,000 statements each while the object reset (Observability).
- An agent with nothing of its own (agent.mine empty) sees exactly its base version, so its paths are that version's kept file list (keptPaths, as pathsAt already uses: about 30 statements). An agent with a draft, or a store without kept paths, is laid out as before.
- Performance's measurement on a copy of abso's tables, first status of 12 agents: median 26,040 statements before, 203 after (max 4,686, the three with drafts); 44.2 s in all before, 4.8 s after; every status body byte for byte the same.
Checks: core tsc clean; Biome clean; node --test worker/project/test/known-paths (new: agentPaths and pathsOf on a writer match the in-memory project, for agents behind shared, at shared and with drafts), files-reads, project, reviewers: 33 of 33 pass.
Shared additions read each atom's version from the membership pages (abso 714; abso - Performance's draft perf-membership-pages, Capacity ships it)
- After a definition-changing publish, the owed-news read walks SharedAdditions for each agent behind the publish, and membershipVersion read every atom's events each time (a length row, then an event row), never asking the membership pages. On abso's tables that was 47,832 of the read's 57,403 statements. On prod abso at 6:31 PM CT (abso 1470), that read ran in one storage transaction and reset the object.
- Space.membershipVersions() reads each page once (PageReader, as StoredVersionSet does): the page answers when an atom has one event, and its events are read as before only when the page says MIXED or there are no pages. PageReader's presentAt and the new versionAt share #code. SharedAdditions.values() uses it when the space has it.
- Performance's numbers on abso's tables, owed read for shared version 1224: 57,403 statements and 2.9 s before, 6,407 and 1.2 s after; with three used names, 60,240 to 10,241. A check build ran old and new lookups side by side over the owed reads, 20 agents' status, 9 syncs and collisions: 115,973 lookups, none different.
Checks: core tsc clean; Biome clean; node --test worker/project/test/shared-additions (new: three pages with drops and a return, every pair of versions walks the same with pages and with events only, under a tenth of the event reads), membership, owed-definition-news, changed-definition, known-paths, news-lazy, news-cap, writer-adoption, project-writer-storage, project: 50 of 50 pass.
Owed news can be worked out a few agents at a time: owedAgents lists who may be owed, and definitionNewsOwed takes only those named (abso 714; Cloud's (b), Capacity)
- On prod abso at 6:31 PM CT, one owed-news read over every draft ran as one storage transaction and reset the object. Core 307 cut that read about ninefold; this lets the host bound it outright.
- owedAgents(owed): every other agent in the space, behind the version, with a draft, in the order definitionNewsOwed takes them. Cheap: no definition rule.
- definitionNewsOwed(owed, only?): the same news, for only those agents when named. Per agent it's the same work and the same items as before, so the news one agent at a time adds up to the whole.
- abso's DiskRoute (worker side, with Cloud) lists them once per owed row, then works out and tells up to four a tick, each in its own read and write, keeping the rest on the row.
Checks: core tsc clean; Biome clean; node --test worker/project/test/owed-definition-news (new: owedAgents lists bob and cat, one agent at a time equals the whole, a synced agent drops out), changed-definition, news-lazy, news-cap, news-lines, news-written, news-times, shared-additions, project: 46 of 46 pass.
A publish owes all its news for other agents after the commit, not only definition news (abso 714, piece 2 of Christopher's base fix)
- With owesDefinitionNews set (abso's disk route), newsForOthers no longer works out other agents' news inside the publish. At the first other agent with a draft, it owes { version, space, publisher, all: true } and returns. Nothing else changes in the publish or its answer.
- newsOwed(owed, only?) works the news out against the publish's version, for those agents only: same lines (pairsIn at the owed version), definitions (changed names, from owed.names or worked out once), and moves. Items an agent was already told are left out. definitionNewsOwed stays as an alias. A row from before all: true (names only) still tells definition news only.
- owedNewsNames(owed) works out the changed definitions once, so a host can keep them on its row. New host hooks are setAt and collisionAt (project.ts), and moveNews takes the version to read at.
- The publishNews end line no longer reports files: changed names are now worked out only when an agent needs them.
- Tests: owed-definition-news.test.ts adds a test that each of three agents' full news (definition and same-lines), told one agent at a time after the publish, equals the news told at publish time, plus one where nothing is owed. news-lines.test.ts drops the files check.
Checks: tsc and tsc -p server clean. Biome clean on the changed files; the existing errors in server/ are untouched. Core tests: worker/project and src, 762 passed, none failed. Lab, on abso's Oct 14 tables with abso's disk route on top, in the 1470-shaped publish: publish 24,209 statements (was 36,038). The owed news then goes out in 17 short transactions (longest 3.8 s) for 16 agents.
Formatting only: owed-definition-news.test.ts as Biome prints it (Capacity's 309 missed it; abso's check fails on the pinned copy). No other change.
Move detection reads the draft's own lines first and lays out no file for an edit with no move (abso 714, piece 3 of Christopher's base fix)
- expressMoves, before a publish, used to lay out every file the draft touched twice: before the draft and after it. It then read each line's deleters, so its cost grew with the files' length, not the change. For a 1470-shaped publish that was worker/src/index.ts's 12k lines, twice.
- Now it reads the draft's own deleted lines (deletedLines) and written lines (eachInsertedLine) first. A move needs a written line with real content whose text the draft also deleted. With none, as in any edit that only changes lines, it returns before laying out anything.
- When there may be a move, the files are laid out as before. But a line counts as deleted by the draft from that set of the draft's deleted lines, not from a lookup of each line's deleters. Moves come out the same.
- Test: worker/project/test/express-moves-early.test.ts, with a host whose views throw if laid out. A line edit and a brackets-only match lay out nothing; a real line written again goes on to the files.
Checks: tsc clean; Biome clean on both files; core tests (worker/project and src): 762 passed, none failed; the 17 move tests pass. Lab, on abso's Oct 14 tables with abso 1476's disk route, 1470-shaped publish, 38 changed lines: 9,408 statements and 1,438 writes in one transaction of 1.5 s, inside the budget test's 10,600 and 3,280. It was 24,209 statements after piece 2 (6.1 s) and 36,038 before it. Record is unchanged (piece 4).
Atom validation checks all its line writers in one walk, in memory, not one walk per writer in storage rows (abso 714, piece 4a)
- Graph #validateAcceptedAtom checks that every line an atom touches comes from its closure. It used to walk the dependencies once for each writer, with the walk's seen set and stack as rolled-back projection-scratch rows: a read and a write in storage for each atom visited.
- Now the writers that aren't direct deps are collected first, and one walk (#reachable) finds them all. It never goes below the lowest writer's lamport and stops once every writer is found. #reaches (dependsOn) uses the same walk.
- The walk's seen marks and stack are typed arrays by atom number: 1 and 4 bytes an atom at most, about 62 KB on abso's 12,454 atoms and 50 MB at 10 million, under a Worker's 128 MB. They were scratch rows since abso-core 139 ("Bound persistent dependency reachability with rollback scratch", one of ten "Bound … memory" versions on Oct 12, none of which records a measured failure). The sizing is in the comment where the rows were.
- Error messages and their order are unchanged: checkLine still runs in the same order; only the closure answers come from the one walk.
Lab, abso's Oct 14 tables with abso 1478's tree, 1470-shaped, 38 changed lines:
- record: 77,767 statements and 19,415 writes, now 53,664 and 2,405. The 24,103 statements gone are the walk's scratch rows. What's left grows with the project: membership reads (27,270), the file's text one line at a time (11,947), knownPaths' filesOf (9,162).
- publish: 9,408 statements and 1,438 writes, now 8,010 and 418.
Checks: tsc clean; Biome clean; core tests (worker/project and src): 765 of 766 passed, 1 skipped, none failed; engine tests 295 of 295, including reachability-scratch.test.ts.
fileExactAt: a file at a version by exactly its spelling, from its own lines, without the version's list of files (for abso's pipelines step)
- version-log.ts fileExactAt(path, version): what fileAt answers for that same spelling, with no spelling lookup and no path list. Existence comes from hasFile's own test on the file itself: kept while empty, a link, a binary, or a visible line. A name nothing ever wrote is one hasAtomsIn read.
- Why: fileAt's hasFile answers from the version's whole list of files (the kept path set, folded from version 0 when nothing nearby is kept), and a spelling it doesn't find reads every known path (filesOf over every atom). abso reads its project files (abso.yml and the like) for each green ready marker on every tick, and that grew with history: 2–5 s a tick on prod.
- Project.fileExactAt; and ProjectHistory.fileExactAt, optional, so abso's pin compiles before its engine passes it through.
- Test: worker/project/test/file-exact-at.test.ts. fileExactAt equals fileAt at every version for nine paths (added, edited, emptied, binary, removed, never written), and another spelling isn't resolved to the stored one.
Checks: tsc clean; Biome clean; core tests (worker/project and src) 767 of 768 passed, 1 skipped, none failed.
Definition rule: lay out only the touched files the draft's uses reach (abso 738). The rule found changed definitions by laying out every file the newer work touched, in two views; for codex-prose-authorship-610 that was 494 files a view where its uses reach 7. It now works out which files the uses mean first and lays out only the touched ones among them. Same answers: the rule already ignored untouched files. Draft collisions keep each file's definitions, and the touched files, under the newer work's key.
Definition rule: lay out only the touched files the draft's uses reach (abso 738). The rule found changed definitions by laying out every file the newer work touched, in two views; for codex-prose-authorship-610 that was 494 files a view where its uses reach 7.
It now works out which files the uses mean first and lays out only the touched ones among them. Same answers: the rule already ignored untouched files. Draft collisions keep each file's definitions, and the touched files, under the newer work's key.
Record scales with its change (abso 714). spellingOf found a new path's twin among the view's known paths, which read every atom's membership and file list: 36,360 of a 1470-shaped record's 53,664 statements on abso's Oct 14 tables. It now looks among the graph's own known paths, kept only where the view has a file, as clashIn does; same answers. View.lineChunks yields the texts the packed layout already holds, read a page at a time, instead of each line's row (11,873 statements); a line too long to pack is still read in chunks. Record on the tables: 53,664 to 8,078 statements; record, publish and shared's files after are identical by hash.
Record scales with its change (abso 714). spellingOf found a new path's twin among the view's known paths, which read every atom's membership and file list: 36,360 of a 1470-shaped record's 53,664 statements on abso's Oct 14 tables. It now looks among the graph's own known paths, kept only where the view has a file, as clashIn does; same answers.
View.lineChunks yields the texts the packed layout already holds, read a page at a time, instead of each line's row (11,873 statements); a line too long to pack is still read in chunks. Record on the tables: 53,664 to 8,078 statements; record, publish and shared's files after are identical by hash.
Land and draft-state take where shared changed since a draft's base from each version's kept files (abso 738). The definition rule placed every line the newer atoms wrote or deleted to find the files they touched: about 30% of a warm draft-state read. LandHost.changedSince unions PathIndex's kept version files over the versions since the base, on a stored writer only, and the rule falls back to working them out when a version has none. Every file whose text differs between the base and now is in it. Known difference: it also names files only the draft's own atoms already in shared changed; a collision there still needs a newer atom on the definition's lines. On abso's Oct 14 tables both named drafts' states are identical by hash; codex-prose-authorship-610's warm read goes from 18,256 statements and 3.4 s to 8,863 and 2.3 s.
Land and draft-state take where shared changed since a draft's base from each version's kept files (abso 738). The definition rule placed every line the newer atoms wrote or deleted to find the files they touched: about 30% of a warm draft-state read.
LandHost.changedSince unions PathIndex's kept version files over the versions since the base, on a stored writer only, and the rule falls back to working them out when a version has none. Every file whose text differs between the base and now is in it.
Known difference: it also names files only the draft's own atoms already in shared changed; a collision there still needs a newer atom on the definition's lines. On abso's Oct 14 tables both named drafts' states are identical by hash; codex-prose-authorship-610's warm read goes from 18,256 statements and 3.4 s to 8,863 and 2.3 s.
A draft-state or land on a stored graph no longer reads a row per line to describe its collisions, or a row per claimant to pair them (abso 738).
- View's line readers (lines, sequence and the uncached visible lines) name each line's writer with atomId, not graph.idOfSeq. The seq comes from the graph's own layout. idOfSeq's bounds check read the stored atom count once per line, and describing reads both sides' files in full. That was about 0.9 s of a warm draft-state on abso.
- The claimant walk (orderedClaimants) and hasCommonResolver take each atom's seq from its id, as graph.atom itself does, instead of loading the stored atom to read it.
On abso's Oct 14 tables, both named drafts' states are identical by hash (codex-prose-authorship-610: 71db868585a419a4). codex-prose-authorship-610:
- warm: 8,863 statements and 2.3 s become 7,820 and 0.92 s. Describing goes from 0.6 s to under 0.1 s, and pairing from 0.4 s to 0.1 s.
- read cold after the other draft: 12,688 statements and 4.1 s become 11,645 and 2.25 s.
What's left of the warm read is mostly the draft's own lines' uses (0.3 s, in proportion to the draft), the clash check and membership values.
Checks: 1,450 tests pass, 0 fail, 2 skipped. tsc is clean and biome is clean.
Publish's definition rule takes where shared changed since the agent's base from each version's kept files, as land and draft-state have since 316 (abso 714).
Publish called the rule through #definitionCollisions, which didn't pass shared's changed files, so the rule walked every atom published since the agent's base to find the files they touched. On abso's Oct 14 tables, cloud-scout-g's publish of 4 changes, 770 versions behind, spent 6.5 s there out of 7.8 s. Now it reads the union of PathIndex's kept version files over the versions since the base, on a stored writer. When a version has none, it walks as before. The known difference is the one written on 738 for 316.
On abso's tables, all ten publishes timed (six agents; the refused ones twice) have identical answers by hash on 317 and 318:
- cloud-scout-g, which lands: 7.8 s → 1.0 s, 45,509 → 4,088 statements.
- codex-capacity-ci, refused: 1.7 s → 0.23 s.
- codex-private-blog, refused: 1.8 s → 0.7 s.
- codex-prose-tools-1, refused: about the same (5.3 s). Expressing its moves is most of that; that's measured separately on 714.
abso's draft-state-budget test gets a publish 770 versions behind on a generated project: 4,957 statements on 317, 2,647 now. The budget is 3,800.
Checks: 1,450 pass, 0 fail, 2 skipped; tsc and server tsc clean; biome clean.
- MCP
- timeline on this site's /mcp
- CLI
- none: the JSON below is the answer
- JSON
- /christopher/abso-core/activity/timeline?agent=capacity&from=5103&format=json