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
activity on this site's /mcp
CLI
none: the JSON below is the answer
JSON
/christopher/abso-core/activity?before=3605&format=json
CP capacity

Version 221 · Packed layout follows lines written in another file (disk-first 2; abso Capacity).

3 files · More

Packed layout follows lines written in another file (disk-first 2; abso Capacity).

where {} on typescript-rs left 11 lines out of erasable_syntax.rs in cloud-ts-12's draft. cloud-ts-12 moved one block between files several times, wrote lines under its last line while it sat in uninitialized_props_forms.rs, then moved the block on. Those lines followed their parent with no move of their own. The packed layout read only the file's own lines and the files its moved-in lines were written in, so it never read them.

  • Each file's packed history also keeps the runs written in another file under one of its lines (file-crossings). The packed layout follows them until no new file turns up.
  • New adoptions write packed format 2. A graph packed at format 1 has no such list, so it lays files out line by line: correct, but slower until it is adopted again.
  • packed-crossings.test.ts moves c.ts to d.ts, adds a line in d.ts, moves d.ts to e.ts, and checks files, where and every draft's text against the in-memory project.

Named tests: packed-crossings, packed-files, state-source, draft-reads-stored, version-files, project-writer-storage, writer-adoption, moves, queued-moves, files-reads, move-reconstruction (60 of 60); tsc and biome clean.

src/engine/graph.ts, src/engine/view.ts, worker/project/test/packed-crossings.test.ts

AU autosettle

Version 220 · abso autosettle: see or change what the server does with a held push (abso-core 23)

5 files · More

abso autosettle: see or change what the server does with a held push (abso-core 23)

abso autosettle says the project's choice: Off, Advise, or Settle at a confidence. It also says when the gate is stopped and who changed it last. abso autosettle off|advise|settle [--at 0.3-0.95] changes it, which takes the owner's key (on staging, the shared token too); without --at the server keeps its own. On a server with no choice per project (the open server), it says the operator's AUTOSETTLE decides. A visitor folder refuses it.

Tried on project abso's Worker run locally (read, settle --at 0.7, advise, a bad word, --at 2) and on the open server. Tests: autosettle-command (words), visitor (the allow-list), typecheck clean.

client/src/api.ts, client/src/autosettle-commands.ts, client/src/main.ts, client/test/autosettle-command.test.ts, client/test/visitor.test.ts

CP capacity

Version 218 · why on a stored writer (disk-first 2; abso Capacity).

3 files · More

why on a stored writer (disk-first 2; abso Capacity).

  • A View reads atoms' numbers from their ids instead of reading each atom: building one from a plain set read every atom twice, and every mover once.
  • keptThrough, the settle a line was kept through, looks only among the atoms that write or take out the file's lines (graph.eachAtomIn), and lays out the file just before that settle from a lazy prefix of the view's set when that set is closed. It used to read every atom in the history and list all the earlier ones.
  • publishOf looks in shared before listing the named drafts, since listing them decodes each one's space.
  • view.ts loses #eachMover, unused since 215.

On abso's export, why for line 1 of issues/src/index.ts went from 41 s to 11 s on one opened writer, matching Project.load. The rest is trail's search for a moved line's origin among nearby changes.

Named tests: trail, named-drafts, files-reads, project, markers, version-files, draft-reads-stored, view, moves, drop (109 of 109); tsc and biome clean.

src/engine/view.ts, worker/project/blame.ts, worker/project/publish-of.ts

CP capacity

Version 217 · tree lists a version's files from the kept shapes, as pathsAt does since 216 (disk-first 2; abso Capacity). The tree at a version laid out every file only to list them. Not for an agent's tree, whose view has its draft on top. On abso's export the tree at head went from over 60 s to 225 ms (replay takes 41 s), and the tree at 612 takes 156 ms, both matching Project.load. version-files.test.ts now also checks the tree at every version against the in-memory project. Named tests: version-files, files-reads, project, draft-reads-stored, named-drafts (38 of 38); tsc clean.

3 files · More

tree lists a version's files from the kept shapes, as pathsAt does since 216 (disk-first 2; abso Capacity). The tree at a version laid out every file only to list them. Not for an agent's tree, whose view has its draft on top.

On abso's export the tree at head went from over 60 s to 225 ms (replay takes 41 s), and the tree at 612 takes 156 ms, both matching Project.load. version-files.test.ts now also checks the tree at every version against the in-memory project. Named tests: version-files, files-reads, project, draft-reads-stored, named-drafts (38 of 38); tsc clean.

worker/project/history.ts, worker/project/project.ts, worker/project/test/version-files.test.ts

CP capacity

Version 216 · Moves picked as walks reach them, and shared's file list from kept shapes (disk-first 2; abso Capacity), for abso's status, drafts and file list.

5 files · More

Moves picked as walks reach them, and shared's file list from kept shapes (disk-first 2; abso Capacity), for abso's status, drafts and file list.

  • view.ts: a view picks a moved line's relocation only when a walk to find a line's file reaches that line. That is #relocations' own pick, right whenever the walk goes on to a file's start, since only lines on a loop have their relocation set aside; a walk that comes back to a line it passed resolves every move as before. shareMoves now takes the other view's moves only when this view first needs all of them, such as for a layout, so a view that only finds a few lines' files never resolves them. weight() counts the picks.
  • pathindex.ts keptPaths: shared's files at a version, folded from version 0 over each version's kept files made and taken out, with no file laid out. Only on a stored writer, and only when every version up to it has a kept row that describes it; otherwise the version is laid out as before. pathsAt uses it.

On abso's export (81,855 entries, 1,224 versions), one opened project, answers matching Project.load:

  • status: 104 s to 5.8 s (under the profiler)
  • drafts: over 60 s to 5.7 s
  • files at head: over 60 s to 1.2 s
  • files at 612: 54 s to 0.3 s

version-files.test.ts now also checks the file list at every version against the in-memory project. 124 of 124 related tests pass; tsc clean.

src/engine/view.ts, worker/project/pathindex.ts, worker/project/project-status.ts, worker/project/project.ts, worker/project/test/version-files.test.ts

CP capacity

Version 215 · Moves resolved over the moved lines alone, and closure over a named draft's own atoms (disk-first 2; abso Capacity), for abso's status and drafts.

2 files · More

Moves resolved over the moved lines alone, and closure over a named draft's own atoms (disk-first 2; abso Capacity), for abso's status and drafts.

  • view.ts MoveSkeleton: once per graph, and extended as it grows, each mover's moved lines, each moved line's relocations, and for any node the nearest node above it that a move ever relocated (or its file's start), memoised up to 200,000 nodes. A view's relocations and its loop check now hop between moved lines instead of walking every moved line's file up to its start, and fileOf hops the same way. The per-view location memos are gone. On abso's export (1,687 moved lines, 972 movers), status went from 104 s to 41 s under the profiler; agent views no longer re-walk each base's moves.
  • project.ts #closed opens unions down to their closed parts. An agent in a named draft has the draft's atoms over a closed shared base, one union deeper than #closed looked, so it walked all of shared's atoms and their dependencies.

Tests: 97 of 97 across moves, relocation, projection-move-resolution, packed-files, view, drop, queued-moves, named-drafts, stored-closure, stored-membership, version-files, draft-reads-stored and writer storage. tsc clean.

src/engine/view.ts, worker/project/project.ts

DO docs

Version 214 · README brought up to date (abso-website issue 335, Christopher's ask through Agent VCS). Checked tonight: the server builds (wrangler deploy --dry-run) and runs locally (wrangler dev --local, /version, every other call refused until ABSO_TOKEN is set); the client builds from the root; init, two agents, a held push, pull, settle and push work against it. wrangler 4.150 needs Node 22 and the npm client Node 20, as written. Fixed: abso-core has no merge queue, so the full check runs on each new version of shared, in about 2 minutes on abso's CI, not 10; about 1,300 tests, not 1,200; and Settle now says what AUTOSETTLE does on your own server (versions 196 to 211).

1 file · More

README brought up to date (abso-website issue 335 · not public, Christopher's ask through Agent VCS). Checked tonight: the server builds (wrangler deploy --dry-run) and runs locally (wrangler dev --local, /version, every other call refused until ABSO_TOKEN is set); the client builds from the root; init, two agents, a held push, pull, settle and push work against it. wrangler 4.150 needs Node 22 and the npm client Node 20, as written. Fixed: abso-core has no merge queue, so the full check runs on each new version of shared, in about 2 minutes on abso's CI, not 10; about 1,300 tests, not 1,200; and Settle now says what AUTOSETTLE does on your own server (versions 196 to 211).

README.md

CP capacity

Version 212 · Draft reads on a stored writer (disk-first 2; abso Capacity): where, drafts, status and collisions on website's export.

10 files · More

Draft reads on a stored writer (disk-first 2; abso Capacity): where, drafts, status and collisions on website's export.

  • where looks deleted lines up by number (graph.deletedNumbers, View.fileOfNumber, View.lineNumberOf). It takes the agent's view once instead of once per line, since each read weighed every cached view. It finds the draft's lines by writer (View.visibleWriters), with no text or id read per line.
  • Draft files (overlaps.ts) go by number the same way.
  • An agent's view takes its base's resolved moves when both hold the same atoms that move lines (View.shareMoves checks this).
  • Draft collisions:
  • build the union view only when two drafts share a file;
  • work out each agent's touched files and its "shared now plus draft" view once;
  • find claimants among the drafts from the drafts' own keys (collisions.ts claimantsAmong) instead of walking each key's history;
  • have the definition rule keep a draft's uses, and the newer work's definitions, across partners.
  • A stored list read in order reads its length once, not before every element.

draft-reads-stored.test.ts checks where and collisions against the in-memory project. It covers edits, a whole file deleted, a line collision, one name defined twice, and bases before and after a move. 135 of 136 related tests pass; none fail.

On website's export (1,387 entries) the answers match Project.load:

  • status: 17 s to 4.5 s
  • where: over 60 s to 8.8 s
  • drafts: 14 s to 5.3 s
  • collisions: over 60 s to 54 s, measured under the profiler before the last two changes

src/engine/graph.ts, src/engine/state-source.ts, src/engine/view.ts, worker/project/collisions.ts, worker/project/definition-rule.ts, worker/project/draft-collisions.ts, worker/project/overlaps.ts, worker/project/project.ts, worker/project/test/draft-reads-stored.test.ts, worker/project/where.ts

AU autosettle

Version 211 · Settled automatically, on the record and in the other agent's news (abso-core 23)

8 files · More

Settled automatically, on the record and in the other agent's news (abso-core 23)

The client's re-push after settling by itself now ends its message with a fixed trailer, one line per file: 'Settled automatically (abso 19):' then '- <file>: kept <side>, confidence 0.81. <reason>' (or 'by a check in code'). autoTrailer writes it and autoSettledOf reads it back, both in worker/project/autosettle.ts. Publish and the merge queue put it on each settle record as settled[].auto {pick, by, confidence, reason}, so the website can mark the version. The other agent's news says 'X settled its collision with your version N in <file> automatically, as abso's model advised (confidence 0.81), pushing version V: ...' and still outlasts a sync.

Tests: autosettle.test.ts 9 (trailer round trip, news words), the client's settle/held tests 21, held-push, markers, project, same-line. Typecheck and server typecheck clean. Local open server under act: the trailer is written as above.

client/src/publish-commands.ts, scripts/autosettle/STORIES.md, worker/project/autosettle.ts, worker/project/news.ts, worker/project/project-types.ts, worker/project/publish.ts, worker/project/queue.ts, worker/project/test/autosettle.test.ts

ON onboard

Version 210 · Pipelines: a run job may set timeout, the seconds each of its steps may take (1 to 900, 300 when unset). JOB_TIMEOUT_DEFAULT and JOB_TIMEOUT_MAX are exported, and the job carries timeout when it is set. A timeout on a uses job, or one that isn't whole seconds in range, is refused with the reason. Tests: src/pipeline/test/pipeline.test.ts (25).

2 files · More

Pipelines: a run job may set timeout, the seconds each of its steps may take (1 to 900, 300 when unset). JOB_TIMEOUT_DEFAULT and JOB_TIMEOUT_MAX are exported, and the job carries timeout when it is set. A timeout on a uses job, or one that isn't whole seconds in range, is refused with the reason. Tests: src/pipeline/test/pipeline.test.ts (25).

src/pipeline/pipeline.ts, src/pipeline/test/pipeline.test.ts

ON onboard

Version 209 · Merge queue: no cap on a batch (Christopher, 10:10 PM CT Oct 14; Agent VCS's job). A batch is everything waiting, in order; it was 8 at a time. RoundOptions.cap is gone: no caller passed one (abso's index.ts and customer-queue-round.ts pass only sharedRed). A failing batch still halves to the push that fails. The customer queue's 32-checks-per-continuation bound is unchanged: halving a few hundred waiting pushes takes about a dozen. Tests: worker/project/test/queue-driver.test.ts (10), with ten landing on one check and a failing tenth-place batch past the old cap.

2 files · More

Merge queue: no cap on a batch (Christopher, 10:10 PM CT Oct 14; Agent VCS's job). A batch is everything waiting, in order; it was 8 at a time. RoundOptions.cap is gone: no caller passed one (abso's index.ts and customer-queue-round.ts pass only sharedRed).

A failing batch still halves to the push that fails. The customer queue's 32-checks-per-continuation bound is unchanged: halving a few hundred waiting pushes takes about a dozen. Tests: worker/project/test/queue-driver.test.ts (10), with ten landing on one check and a failing tenth-place batch past the old cap.

worker/project/queue-driver.ts, worker/project/test/queue-driver.test.ts

CP capacity

Version 208 · Compare on a stored writer takes its candidates from the kept version files of the versions between (abso Capacity): every file that differs between two shared versions changed in one between them. Before, it walked every atom either version's set holds. version-files.test.ts compares both ways, across a drop, against the in-memory project. On game's export, compare from 762 to 1525: 20 s to 5.4 s, same answer.

2 files · More

Compare on a stored writer takes its candidates from the kept version files of the versions between (abso Capacity): every file that differs between two shared versions changed in one between them. Before, it walked every atom either version's set holds. version-files.test.ts compares both ways, across a drop, against the in-memory project. On game's export, compare from 762 to 1525: 20 s to 5.4 s, same answer.

worker/project/test/version-files.test.ts, worker/project/version-log.ts

CP capacity

Version 207 · Each shared version's changed files kept as it lands (disk-first 2; abso Capacity, version-files.ts). A version's files are decided from what it touched: visible lines in and out per file, their texts' balance, a running count of each file's visible lines for made and taken out, and mode and blob; a version with moves, drops or a closure change, or whose lines in and out have the same texts, is laid out as before. Views of consecutive versions share resolved moves and where lines sit (View.shareMoves). PathIndex.keep records them, into the shapes table when the host gives one. version-files.test.ts checks log, path logs and every show against the in-memory project through edits, new and removed files, same text put back, a move and a drop. On game's export all 27 harness answers now match Project.load: the log 70 ms (was over 30 s), a path's history 0.56 s (was over 30 s), the tree 3.1-3.4 s (was over 30 s); adoption about 85 s; heap 14.4 MB at most.

6 files · More

Each shared version's changed files kept as it lands (disk-first 2; abso Capacity, version-files.ts). A version's files are decided from what it touched: visible lines in and out per file, their texts' balance, a running count of each file's visible lines for made and taken out, and mode and blob; a version with moves, drops or a closure change, or whose lines in and out have the same texts, is laid out as before.

Views of consecutive versions share resolved moves and where lines sit (View.shareMoves). PathIndex.keep records them, into the shapes table when the host gives one. version-files.test.ts checks log, path logs and every show against the in-memory project through edits, new and removed files, same text put back, a move and a drop.

On game's export all 27 harness answers now match Project.load: the log 70 ms (was over 30 s), a path's history 0.56 s (was over 30 s), the tree 3.1-3.4 s (was over 30 s); adoption about 85 s; heap 14.4 MB at most.

src/engine/view.ts, worker/project/pathindex.ts, worker/project/project.ts, worker/project/spaces.ts, worker/project/test/version-files.test.ts, worker/project/version-files.ts

CP capacity

Version 206 · Each file's line history packed (disk-first 2, lines by file; abso Capacity). A stored graph appends every line written in a file ([n, parent code, writer seq, k, replaces]) and its text, every delete of one of its lines, and every attribute set on it to that file's pages as atoms are added, a run at a time (storedLists appendAll). A view lays a file out from those pages in memory: membership checked once per atom, moves followed from the ones it already resolved, lines moved in from other files read from theirs. Same tree and order as before (packed-files.test.ts checks it against the in-memory graph through edits, deletes and moves). Graphs adopted before have no packs and lay out line by line as before; packFiles: false keeps that path for its tests. On game's export: first shared() 13 s to 2-3.6 s at 20,000 queries, warm 56-82 ms, pathsAt(head) 29-119 ms; files at a version 14 s to 3 s, compare 26 s to 11 s, a path's log 27 s to 4.5 s; every answer the harness finished matches Project.load.

5 files · More

Each file's line history packed (disk-first 2, lines by file; abso Capacity). A stored graph appends every line written in a file ([n, parent code, writer seq, k, replaces]) and its text, every delete of one of its lines, and every attribute set on it to that file's pages as atoms are added, a run at a time (storedLists appendAll). A view lays a file out from those pages in memory: membership checked once per atom, moves followed from the ones it already resolved, lines moved in from other files read from theirs. Same tree and order as before (packed-files.test.ts checks it against the in-memory graph through edits, deletes and moves). Graphs adopted before have no packs and lay out line by line as before; packFiles: false keeps that path for its tests. On game's export: first shared() 13 s to 2-3.6 s at 20,000 queries, warm 56-82 ms, pathsAt(head) 29-119 ms; files at a version 14 s to 3 s, compare 26 s to 11 s, a path's log 27 s to 4.5 s; every answer the harness finished matches Project.load.

src/engine/graph.ts, src/engine/state-source.ts, src/engine/test/packed-files.test.ts, src/engine/test/state-source.test.ts, src/engine/view.ts

CP capacity

Version 205 · Disk-first reads stop walking the whole history (disk-first 2, stage 1; abso Capacity). Shared's closure is kept on disk per version (spaces.ts indexClosure): the atoms a version needs beyond what it published, as events like membership's, with drops handled; views and Project.#closed trust a set marked closed, and over a closed stored base only a draft's own atoms are walked. A view resolves its moves once in memory (up to MOVED_LINES_KEPT, 20,000 moved lines) instead of again on disk for every file it lays out, and finds lines moved under a node from them. Graph.eachChildN skips the per-line children lookup when the paged child counts say none. On game's export (writer adopted, lock held): shared() went from not finishing in 8 minutes to 9-13 s cold and 0.15-0.25 s warm, 291,000 queries to 57,000; pathsAt(head) 0.1-0.2 s.

8 files · More

Disk-first reads stop walking the whole history (disk-first 2, stage 1; abso Capacity). Shared's closure is kept on disk per version (spaces.ts indexClosure): the atoms a version needs beyond what it published, as events like membership's, with drops handled; views and Project.#closed trust a set marked closed, and over a closed stored base only a draft's own atoms are walked. A view resolves its moves once in memory (up to MOVED_LINES_KEPT, 20,000 moved lines) instead of again on disk for every file it lays out, and finds lines moved under a node from them. Graph.eachChildN skips the per-line children lookup when the paged child counts say none. On game's export (writer adopted, lock held): shared() went from not finishing in 8 minutes to 9-13 s cold and 0.15-0.25 s warm, 291,000 queries to 57,000; pathsAt(head) 0.1-0.2 s.

src/engine/graph.ts, src/engine/state-source.ts, src/engine/test/visible-neighbours.test.ts, src/engine/view.ts, worker/project/project.ts, worker/project/spaces.ts, worker/project/test/stored-closure.test.ts, worker/project/test/stored-membership.test.ts

AU autosettle

Version 204 · Auto-settle switch (abso 19): on advises, act also has the client settle

6 files · More

Auto-settle switch (abso 19): on advises, act also has the client settle

AUTOSETTLE=on now only adds advice to a held push; AUTOSETTLE=act adds settle: true, and the client settles the collisions advised a side only then (ABSO_AUTOSETTLE=off still stops it). The whole server hook is one function, withAdvice(env, op, agent, request, answer), so a Worker calls it in one line: return json(a.status, await withAdvice(env, op, agent, body, a.body)). Tested: the switch test, held-push tests, and the local demo under on (held with advice) and act (settled and pushed).

client/src/api-answers.ts, client/src/publish-commands.ts, server/src/env.ts, server/src/router.ts, worker/project/autosettle.ts, worker/project/test/autosettle.test.ts

AU autosettle
AU autosettle

Version 202 · Auto-settle (#19): the client settles a held push by itself when the server advises keeping a side of every collision (Clef at 0.5 or more, or a check in code). It pulls, settles each file as advised (or takes the pull's own word-by-word merge when the file already holds the advised side), pushes again with what was kept and why in the message, and says how to check or change it. ABSO_AUTOSETTLE=off settles nothing by itself. Tried on a local open server: a timeout where theirs had yours settled to theirs by a code check; a typo both fixed settled to yours by Clef at 0.81 and pushed; a nesting limit set two ways stayed held for an agent.

1 file · More

Auto-settle (#19): the client settles a held push by itself when the server advises keeping a side of every collision (Clef at 0.5 or more, or a check in code). It pulls, settles each file as advised (or takes the pull's own word-by-word merge when the file already holds the advised side), pushes again with what was kept and why in the message, and says how to check or change it. ABSO_AUTOSETTLE=off settles nothing by itself. Tried on a local open server: a timeout where theirs had yours settled to theirs by a code check; a typo both fixed settled to yours by Clef at 0.81 and pushed; a nesting limit set two ways stayed held for an agent.

client/src/publish-commands.ts

AU autosettle

Version 201 · Auto-settle (#19): the open server's advice now comes from Clef, Cloudflare's decision model, by default. On project abso's 33 replayed past holds, Clef settled none wrong at confidence 0.5 or more, where the Llama text model was wrong once at 1.00 (it kept only theirs and would have dropped a 403 guard). A lean to one side under AUTOSETTLE_AT (0.5 unless set) is advice for an agent, marked unsure; AUTOSETTLE_MODEL picks clef-flash or a text model instead. Clef answers in about 0.3 s. The System One questions live in server/src/autosettle.ts, and scripts/autosettle/jev.ts asks Jev the same ones.

7 files · More

Auto-settle (#19): the open server's advice now comes from Clef, Cloudflare's decision model, by default. On project abso's 33 replayed past holds, Clef settled none wrong at confidence 0.5 or more, where the Llama text model was wrong once at 1.00 (it kept only theirs and would have dropped a 403 guard). A lean to one side under AUTOSETTLE_AT (0.5 unless set) is advice for an agent, marked unsure; AUTOSETTLE_MODEL picks clef-flash or a text model instead. Clef answers in about 0.3 s. The System One questions live in server/src/autosettle.ts, and scripts/autosettle/jev.ts asks Jev the same ones.

client/src/api-answers.ts, client/src/publish-commands.ts, scripts/autosettle/jev.ts, server/src/autosettle.ts, server/src/env.ts, server/src/router.ts, server/test/autosettle.test.ts

CP capacity

Version 200 · Project abso's memory, cut by a third (abso Capacity, prod abso hit its isolate memory limit at 7:20 and 7:25 PM CT). (1) The in-memory membership cache is one least-recently-used cache of 16 sets across every space, not up to 17 per space: each named draft cached whole copies of shared's set, 37 MB on prod abso with 106 drafts. Keyed by the space object, so a space rebuilt under the same name never gets old sets. (2) An agent keeps at most 200 unheard news lines (trimmed in batches of 50), the oldest dropped behind one line counting them: stopped agents kept every line, 7 MB. Measured on Engine's prod export of abso (81,855 entries) with measure-memory.ts --disk --reads: 96.6 MB after load before, 61.1 MB after; 105.3 MB after the heaviest reads before, 66.3 MB after. New tests membership-cache.test.ts and news-cap.test.ts.

6 files · More

Project abso's memory, cut by a third (abso Capacity, prod abso hit its isolate memory limit at 7:20 and 7:25 PM CT). (1) The in-memory membership cache is one least-recently-used cache of 16 sets across every space, not up to 17 per space: each named draft cached whole copies of shared's set, 37 MB on prod abso with 106 drafts.

Keyed by the space object, so a space rebuilt under the same name never gets old sets. (2) An agent keeps at most 200 unheard news lines (trimmed in batches of 50), the oldest dropped behind one line counting them: stopped agents kept every line, 7 MB.

Measured on Engine's prod export of abso (81,855 entries) with measure-memory.ts --disk --reads: 96.6 MB after load before, 61.1 MB after; 105.3 MB after the heaviest reads before, 66.3 MB after. New tests membership-cache.test.ts and news-cap.test.ts.

worker/project/apply-entry.ts, worker/project/news.ts, worker/project/spaces.ts, worker/project/test/membership-cache.test.ts, worker/project/test/news-cap.test.ts, worker/project/test/stored-membership.test.ts

AU autosettle

Version 199 · Auto-settle (#19): replay.ts rebuilds a past hold's three files with the engine from a project's raw log (the held agent's base plus its draft at the refused push, its base, theirs' version) and cuts them with git merge-file --diff3, as a pull would. On project abso's log it recovers 33 of 35 settled blocks.

1 file · More

Auto-settle (#19): replay.ts rebuilds a past hold's three files with the engine from a project's raw log (the held agent's base plus its draft at the refused push, its base, theirs' version) and cuts them with git merge-file --diff3, as a pull would. On project abso's log it recovers 33 of 35 settled blocks.

scripts/autosettle/replay.ts

AU autosettle

Version 198 · Auto-settle (#19): Clef, Cloudflare's decision model on Workers AI, as a settler. Clef takes Jev's System One request, so clef.ts sends jev.ts's own questions through the local Worker's new /system-one route, with the same code checks before and after. score.ts and settle-one.ts take --via clef (--model clef or clef-flash). Six local holds: 6 of 6 right, 0.4 to 0.6 s each.

5 files · More

Auto-settle (#19): Clef, Cloudflare's decision model on Workers AI, as a settler. Clef takes Jev's System One request, so clef.ts sends jev.ts's own questions through the local Worker's new /system-one route, with the same code checks before and after. score.ts and settle-one.ts take --via clef (--model clef or clef-flash). Six local holds: 6 of 6 right, 0.4 to 0.6 s each.

scripts/autosettle/clef.ts, scripts/autosettle/jev.ts, scripts/autosettle/score.ts, scripts/autosettle/settle-one.ts, scripts/autosettle/workers-ai/index.ts

AU autosettle

Version 197 · Auto-settle (#19): replay.ts recovers each past hold's lines from a project's raw log (the owner-only export): the held agent's draft edits up to its refused push, theirs' edits, and the groups that wrote the same lines, paired with the settle's blocks in file order. That recovers the held agent's side even when it kept theirs or edited by hand, which no version shows. Tried on a local hold where the agent kept theirs: before 100, yours 64, theirs 1000, all recovered.

1 file · More

Auto-settle (#19): replay.ts recovers each past hold's lines from a project's raw log (the owner-only export): the held agent's draft edits up to its refused push, theirs' edits, and the groups that wrote the same lines, paired with the settle's blocks in file order. That recovers the held agent's side even when it kept theirs or edited by hand, which no version shows.

Tried on a local hold where the agent kept theirs: before 100, yours 64, theirs 1000, all recovered.

scripts/autosettle/replay.ts

AU autosettle

Version 196 · Auto-settle (#19), step 3 behind a switch: the open server gives a held push a first opinion. With AUTOSETTLE=on and an AI binding (both off unless set), a held push's answer carries advice for each lines collision: keep yours, theirs or both, or needs an agent, with how many of 5 Workers AI samples agree and one line why. Checks in code run first and after (server/src/autosettle.ts), and the scripts now use the same ones. The client prints the advice under the collisions; the agent still settles. A model that fails leaves no advice and never fails the push's answer. server/test/autosettle.test.ts covers it with a stand-in for Workers AI.

7 files · More

Auto-settle (#19), step 3 behind a switch: the open server gives a held push a first opinion. With AUTOSETTLE=on and an AI binding (both off unless set), a held push's answer carries advice for each lines collision: keep yours, theirs or both, or needs an agent, with how many of 5 Workers AI samples agree and one line why.

Checks in code run first and after (server/src/autosettle.ts), and the scripts now use the same ones. The client prints the advice under the collisions; the agent still settles. A model that fails leaves no advice and never fails the push's answer. server/test/autosettle.test.ts covers it with a stand-in for Workers AI.

client/src/api-answers.ts, client/src/publish-commands.ts, scripts/autosettle/rules.ts, server/src/autosettle.ts, server/src/env.ts, server/src/router.ts, server/test/autosettle.test.ts

AU autosettle

Version 195 · Auto-settle (#19): score it on project abso's own past settles. extract.ts now finds each collided region with git's line diff (before theirs, theirs, the settle's result) instead of one span over the whole file. rules.ts turns down a keep-both that holds one statement in two versions (an import from the same module with different names): on abso's history the model picked keep both there at 1.00, which wouldn't have compiled.

2 files · More

Auto-settle (#19): score it on project abso's own past settles. extract.ts now finds each collided region with git's line diff (before theirs, theirs, the settle's result) instead of one span over the whole file. rules.ts turns down a keep-both that holds one statement in two versions (an import from the same module with different names): on abso's history the model picked keep both there at 1.00, which wouldn't have compiled.

scripts/autosettle/extract.ts, scripts/autosettle/rules.ts

WH whytrail

Version 194 · abso why follows code moved between files, and why's text for scripts

5 files · More

abso why follows code moved between files, and why's text for scripts

A line that a push wrote new while taking the same code out of another file (a file split in two, code moved and reindented) now leads back into the file it came from, and why counts that push as a move: 'Skipped 1 formatting change and 1 move since: version 430, moved from worker/project/project.ts; ...'. Code moved as it is already kept its lines and their history. Short lines, like a brace, aren't followed: they match too much.

whyText (client/src/history.ts) prints an answer as abso why does, for scripts that read an answer some other way. Long first lines of a push's message are cut to 100 characters in the skip note.

client/src/history-answers.ts, client/src/history.ts, worker/project/blame.ts, worker/project/test/trail.test.ts, worker/project/trail.ts

WH whytrail

Version 193 · abso why follows a line back past formatting to its reason, and names git commits

16 files · More

abso why follows a line back past formatting to its reason, and names git commits

why now lists a line's earlier changes, newest first, with what the line read before each. A change that rewrote a line left the line it replaced in the file's history; why pairs the two (same code formatted differently, the same code rewrapped, or the most similar line) and follows the pairs back. A change that only touched formatting (whitespace, line wrapping, quotes, trailing commas, line-end semicolons, parentheses around a lone arrow parameter) is skipped by default, and why names it: 'Skipped 1 formatting change since: version 366'. --all shows those too. --at <version> reads the line as it was at that version.

A push imported from git (client/scripts/import-git.ts, or a plain git push) names its commit and author in why and blame. import-git.ts now also records where the repository's issues are, from origin on GitHub or GitLab or --issues, and why says which issue #N in an imported message or line means. A project imported before this can say it once in abso.json: "gitIssues": "https://github.com/owner/repo/issues".

Closes issues 20 and 21's tool side.

client/README.md, client/scripts/import-git.ts, client/src/api.ts, client/src/git-origin.ts, client/src/history-answers.ts, client/src/history.ts, client/src/main.ts, client/test/fake-server.ts, client/test/why-trail.test.ts, server/src/engine-project.ts, worker/project/blame.ts, worker/project/http.ts, worker/project/project-api.ts, worker/project/project-helpers.ts, worker/project/test/trail.test.ts, worker/project/trail.ts

AU autosettle

Version 192 · Auto-settle (#19): code checks around the Workers AI pick. rules.ts settles in code when one side's lines are all in the other's, and turns down a keep-both that would repeat a line or set the same key twice (needs an agent instead). The Worker can take several samples and use their agreement as the confidence, since the model's own confidence swung 0.00 to 0.90 between identical runs.

3 files · More

Auto-settle (#19): code checks around the Workers AI pick. rules.ts settles in code when one side's lines are all in the other's, and turns down a keep-both that would repeat a line or set the same key twice (needs an agent instead). The Worker can take several samples and use their agreement as the confidence, since the model's own confidence swung 0.00 to 0.90 between identical runs.

scripts/autosettle/rules.ts, scripts/autosettle/workers-ai.ts, scripts/autosettle/workers-ai/index.ts

AU autosettle

Version 191 · Auto-settle (#19): a Workers AI settler. scripts/autosettle/workers-ai is a Worker (wrangler dev --port 8845) that asks Llama 3.3 70B, in JSON mode, for one of keep yours, keep theirs, keep both or needs an agent, plus a confidence and a one-line reason. settle-one and score use it by default (--via jev for Jev). On the commonmark hold (nesting 64 vs 1000) it picks needs an agent, 0.90, in 2.5 s.

6 files · More

Auto-settle (#19): a Workers AI settler. scripts/autosettle/workers-ai is a Worker (wrangler dev --port 8845) that asks Llama 3.3 70B, in JSON mode, for one of keep yours, keep theirs, keep both or needs an agent, plus a confidence and a one-line reason. settle-one and score use it by default (--via jev for Jev). On the commonmark hold (nesting 64 vs 1000) it picks needs an agent, 0.90, in 2.5 s.

scripts/autosettle/extract.ts, scripts/autosettle/score.ts, scripts/autosettle/settle-one.ts, scripts/autosettle/workers-ai.ts, scripts/autosettle/workers-ai/index.ts, scripts/autosettle/workers-ai/wrangler.jsonc

AU autosettle

Version 189 · Jev auto-settle prototype, step 1 (#19): scripts/autosettle asks Jev to pick keep yours, theirs, both, or needs an agent for each marker block, and scores it against past settles. Local scripts only; reads JEV_API_KEY, never prints it.

3 files · More

Jev auto-settle prototype, step 1 (#19): scripts/autosettle asks Jev to pick keep yours, theirs, both, or needs an agent for each marker block, and scores it against past settles. Local scripts only; reads JEV_API_KEY, never prints it.

scripts/autosettle/jev.ts, scripts/autosettle/score.ts, scripts/autosettle/settle-one.ts

SU submission

Version 187 · READMEs for a judge arriving cold: a title; the Workers Paid plan Artifacts needs; wrangler login, and deploy before secret put; what to do with no abso.dev account; how show names a file; how long check takes; the Windows path limit and the local Artifacts warning; the client ships as its bundle. From the judge dry run, Oct 14.

3 files · More

READMEs for a judge arriving cold: a title; the Workers Paid plan Artifacts needs; wrangler login, and deploy before secret put; what to do with no abso.dev account; how show names a file; how long check takes; the Windows path limit and the local Artifacts warning; the client ships as its bundle. From the judge dry run, Oct 14.

README.md, client/README.md, server/README.md

CA candidates
BG box-grants

Version 185 · abso init, init --org and org new from a signed-in box (abso 663). On a server this box is signed in to and with no token for it, abso init makes the project as the person who approved the box, through the server's POST /box/projects (the website's own create): its folder (up to 24 MB) is the first version, --public or --private picks visibility (private by default), --org makes it an organization's project, and one Idempotency-Key per folder (kept in .abso/init-key until it finishes) makes a retry the same project. The folder then joins at once with its own key from the box (--agent, else the box's name). abso org new <name> [--name] makes an organization through POST /box/orgs. abso box and login say 'all of yours, now and later' for a member-all grant. Without a box, init and init --org say to abso login. Tests: orgs, box, help; full suite passes.

6 files · More

abso init, init --org and org new from a signed-in box (abso 663). On a server this box is signed in to and with no token for it, abso init makes the project as the person who approved the box, through the server's POST /box/projects (the website's own create): its folder (up to 24 MB) is the first version, --public or --private picks visibility (private by default), --org makes it an organization's project, and one Idempotency-Key per folder (kept in .abso/init-key until it finishes) makes a retry the same project. The folder then joins at once with its own key from the box (--agent, else the box's name). abso org new <name> [--name] makes an organization through POST /box/orgs. abso box and login say 'all of yours, now and later' for a member-all grant. Without a box, init and init --org say to abso login. Tests: orgs, box, help; full suite passes.

client/src/box.ts, client/src/join-commands.ts, client/src/main.ts, client/src/orgs.ts, client/test/box.test.ts, client/test/orgs.test.ts

CCC codex-capacity-chair
CCC codex-capacity-chair

Version 181 · Batch changed text toward the 16 MiB push limit. Preserve pending old text and binary files in intermediate commits, retain intended deletions and parent ancestry, and leave single oversized files unsplit. Review 56 cleared the two-file change; disk-first activation remains off.

2 files · More

Batch changed text toward the 16 MiB push limit. Preserve pending old text and binary files in intermediate commits, retain intended deletions and parent ancestry, and leave single oversized files unsplit. Review 56 cleared the two-file change; disk-first activation remains off.

server/src/push.ts, server/test/push.test.ts

CCC codex-capacity-chair
CCC codex-capacity-chair
CCC codex-capacity-chair
OP open

Version 174 · Move the writer-storage long-atom test out of src/engine/test/graph-long-text.test.ts into server/test/writer-long-atom.test.ts. It imported server/src and server/test, which abso's pin on the tool (client, src, worker/project) doesn't carry, so the pin bump to 173 failed its typecheck and test there. Engine tests stay free of server/.

2 files · More

Move the writer-storage long-atom test out of src/engine/test/graph-long-text.test.ts into server/test/writer-long-atom.test.ts. It imported server/src and server/test, which abso's pin on the tool (client, src, worker/project) doesn't carry, so the pin bump to 173 failed its typecheck and test there. Engine tests stay free of server/.

server/test/writer-long-atom.test.ts, src/engine/test/graph-long-text.test.ts

N20 node20

Version 172 · Build the client for Node 20 instead of committing the build: npm run build writes client/bin/abso.mjs from client/abso.ts, and npm run pack:npm -- <version> packs that same build as the npm package @abso-cli/abso (it never publishes). The committed bundle and the check that kept it current are gone, so client changes need no rebuild. The READMEs give the build steps.

9 files · More

Build the client for Node 20 instead of committing the build: npm run build writes client/bin/abso.mjs from client/abso.ts, and npm run pack:npm -- <version> packs that same build as the npm package @abso-cli/abso (it never publishes). The committed bundle and the check that kept it current are gone, so client changes need no rebuild. The READMEs give the build steps.

.gitignore, README.md, abso.json, client/README.md, client/bin/abso.mjs, package.json, scripts/build-client.mjs, scripts/pack-npm.mjs, server/README.md

Older changes