Skip to content

abso-core

Public

abso is version control for agents: the client, the engine and a server you can run on your own Cloudflare account.

Check passed
MCP
show on this site's /mcp
CLI
abso show 231 --json
JSON
/christopher/abso-core/versions/231?format=json

visibleWriters uses the writers the packed layout keeps (disk-first 2; abso Capacity).

of shared·capacity··Not checked

where asks each agent's view for its visible lines' writers in every file the draft touches. visibleWriters looked each one up again (graph.writerSeqOf), which on a stored graph read the line-atom pages: on typescript-rs that was 2.6 s of where's 4 s in SQLite. The packed layout already keeps them since 230 (visWriter).

On typescript-rs adopted fresh, cold: where 39,000 reads to 20,000 and 6.5 s to 3.8 s, matching replay.

Named tests: every engine test (288 of 288), where-many-agents, draft-reads-stored, authors-stored, packed-crossings, membership-pages, view-cache, files-reads, project (39 of 39); tsc and biome clean.

Version 230 · Files at version 231

1 file, 4 lines added, 1 removed.

--- a/src/engine/view.ts
+++ b/src/engine/view.ts
@@ -1002,7 +1002,10 @@
10021002 /** The seq of the atom that wrote each visible line, in order: lines() without ids or text. */
10031003 visibleWriters(path: string): number[] {
10041004 const graph = this.graph;
1005− return Array.from(this.#file(path).vis, (n) => graph.writerSeqOf(n));
1005+ const { vis, visWriter } = this.#file(path);
1006+ // The packed layout keeps them (abso Capacity): looking each up again read a page per few lines on a stored graph.
1007+ if (visWriter) return Array.from(visWriter);
1008+ return Array.from(vis, (n) => graph.writerSeqOf(n));
10061009 }
10071010
10081011 /** All projected text files, path -> text, in path order. Binary files are in `blobs()`. */