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 211 to 212

Compare

+7 −2 in 2 places
Lines 1874–1879 at 212 (were 1874–1880 at 211)
18741874 draft: (agent) => this.#draft(agent as AgentState),
18751875 agentView: (agent) => this.#agentView(agent as AgentState),
18761876 view: (set) => this.#view(set),
1877− pairs: (draft, against, settled) => this.#pairs(draft, against, settled),
18781877 touchedFiles: (ids, views) => this.#touchedFiles(ids, views),
18791878 };
18801879 return this.#draftCollisionHost;
Lines 2718–2735 at 212 (were 2719–2730 at 211)
27192718 }
27202719
27212720 #agentView(agent: AgentState): ReadView {
2722− return this.#viewKeyed(this.#agentViewKey(agent), () => {
2721+ const view = this.#viewKeyed(this.#agentViewKey(agent), () => {
27232722 const base = this.#at(this.#spaceOf(agent), agent.base);
27242723 return base instanceof StableSet
27252724 ? new StableUnionSet(base, new StableOverlaySet(agent.mine))
27262725 : new Set([...base, ...agent.mine]);
27272726 });
2727+ // A draft that moves nothing resolves its moves as its base does (abso Capacity): take them from the base's view.
2728+ if (this.#writerStorage && agent.mine.length > 0 && view instanceof View) {
2729+ const base = this.#viewAt(this.#spaceOf(agent), agent.base);
2730+ if (base instanceof View) view.shareMoves(base);
2731+ }
2732+ return view;
27282733 }
27292734
27302735 /** An agent's view, keyed by what the set is made of, not by sorting every atom in it (#46): that cost more than the work. */
MCP
compare on this site's /mcp
CLI
abso diff 211 212 worker/project/project.ts --json
JSON
/christopher/abso-core/compare/211..212?file=worker%2Fproject%2Fproject.ts&format=json