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

Versions 44 to 318

Compare

+2 −4 in 3 places
Lines 4–10 at 318 (were 4–10 at 44)
44// is behind an interface (a CI runner on the server, a function in tests),
55// so this file holds only the rules agreed on #39:
66//
7−// - A batch is everything waiting, in order, up to `cap` (8).
7+// - A batch is everything waiting, in order (Christopher, Oct 14: no cap; it was 8).
88// - Pass: every publish in the batch lands, each as its own version.
99// - Fail: halve prefixes to find the passing prefix and the first publish
1010// that fails on top of it. That failing prefix is run once more; only a
Lines 45–50 at 318 (were 45–52 at 44)
4545}
4646
4747export interface RoundOptions {
48− /** The most publishes in one batch. */
49− readonly cap?: number;
5048 /** Whether shared's newest version fails the check now. */
5149 readonly sharedRed?: boolean;
5250 readonly now?: () => number;
Lines 90–96 at 318 (were 92–98 at 44)
9290 const waiting = engine.queue().items.length;
9391 if (waiting === 0) return { kind: "idle" };
9492 const now = options.now ?? Date.now;
95− const n = Math.min(Math.max(1, options.cap ?? 8), waiting);
93+ const n = waiting;
9694 let checks = 0;
9795 let output: string | undefined;
9896 /** The tree each prefix was checked as: a land or a pull goes ahead only on that same tree. */
MCP
compare on this site's /mcp
CLI
abso diff 44 318 worker/project/queue-driver.ts --json
JSON
/christopher/abso-core/compare/44..318?file=worker%2Fproject%2Fqueue-driver.ts&format=json