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
blame on this site's /mcp
CLI
abso blame worker/project/queue.ts --json
JSON
/christopher/abso-core/blame/worker/project/queue.ts?format=json
378 linesFirst import 88% · codex-capacity-chair 7% · engine 1% · rename 1% · speed 1% · autosettle 1% · pinch 1%Last change autosettle in version 211,

378 lines from 9 changes in 9 versions.

init0Start the project1// The merge queue: publishes to shared waiting for their batch's check.
2// Writes go through QueueHost; today the host is Project.
3
codex-capacity-chair143Add inactive disk projection provider and verified transactional readers (#16)Compare4import { type AtomId, buildAtom, type Graph, type ReadView } from "../../src/engine/index.ts";
codex-capacity-chair163Integrate reviewed disk-backed operations, queue and bounded read cachesCompare5import { unionOverlay } from "../../src/engine/state-source.ts";
autosettle211Settled 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.Compare6import { autoSettledOf } from "./autosettle.ts";
init0Start the project7import type { Pair } from "./collisions.ts";
8import { definedTwice } from "./definitions.ts";
speed160A held push keeps its message, and why tells every settle: the refusal stores the push's message; why on a line kept by abso settle --yours, --theirs or --both names the collision it was kept from, and both kinds of settle list the settler's held push with its reason; the settle's news and the change page carry it too, and a lone push's change now lists the refusals on its wayCompare9import { heldMessage, keptOf, lostLines } from "./markers.ts";
init0Start the project10import { clip } from "./news.ts";
11import { ProjectError } from "./project-error.ts";
engine25Read abso.json first, then avcs.json (abso 224, ask 238): one helper (projectFileIn) for the queue, files kept whole, reviewers and init; publish, init and git intake check both files the same way; when shared has both, abso.json counts and status says avcs.json is ignored (status answer projectFile, printed by abso status). .abso/ is kept out of projects like .avcs/. Old projects with only avcs.json work as before.Compare12import { projectFileIn } from "./project-helpers.ts";
init0Start the project13import type {
14 AgentState,
15 Blobs,
16 Collision,
17 Entry,
18 Modes,
19 PublishAnswer,
20 PullReason,
21 QueuedPublish,
22 Settled,
23} from "./project-types.ts";
24import { last, SHARED, type Space } from "./spaces.ts";
25import { treeHash } from "./tree.ts";
26import { modesOf } from "./view-changes.ts";
28/** What the merge queue needs from a project. */
29export interface QueueHost {
30 readonly graph: Graph;
31 checkerReady(): boolean;
codex-capacity-chair143Add inactive disk projection provider and verified transactional readers (#16)Compare32 sharedView(): ReadView;
codex-capacity-chair163Integrate reviewed disk-backed operations, queue and bounded read cachesCompare33 sharedOverlay?(atoms: readonly AtomId[]): ReadView;
34 sharedAgentOverlay?(agent: AgentState, atoms: readonly AtomId[]): ReadView;
init0Start the project35 queued(): readonly QueuedPublish[];
36 queuedId(): number;
37 checkingHas(id: number): boolean;
38 replaceChecking(ids: Iterable<number>): void;
39 uncheck(id: number): void;
40 needInit(): void;
41 shared(): Space;
42 setOf(space: Space): ReadonlySet<AtomId>;
codex-capacity-chair143Add inactive disk projection provider and verified transactional readers (#16)Compare43 view(set: ReadonlySet<AtomId>): ReadView;
init0Start the project44 agentSet(agent: AgentState): Set<AtomId>;
codex-capacity-chair143Add inactive disk projection provider and verified transactional readers (#16)Compare45 agentView(agent: AgentState): ReadView;
init0Start the project46 pairs(draft: readonly AtomId[], against: ReadonlySet<AtomId>, settled: ReadonlySet<AtomId>): Pair[];
codex-capacity-chair143Add inactive disk projection provider and verified transactional readers (#16)Compare47 describe(pair: Pair, yoursView: ReadView, theirsView: ReadView, spaceName: string): Collision;
48 touchedFiles(ids: Iterable<AtomId>, views: readonly ReadView[]): Set<string>;
init0Start the project49 refuse(
50 agent: AgentState,
51 space: Space,
52 via: "publish" | "land",
53 time: number,
54 collisions: Collision[],
55 entries: Entry[],
speed160A held push keeps its message, and why tells every settle: the refusal stores the push's message; why on a line kept by abso settle --yours, --theirs or --both names the collision it was kept from, and both kinds of settle list the settler's held push with its reason; the settle's news and the change page carry it too, and a lone push's change now lists the refusals on its wayCompare56 message?: string,
init0Start the project57 ): { ok: false; collisions: Collision[] };
58 currentChange(agent: AgentState, time: number): number | undefined;
59 nextAt(): number;
60 apply(entry: Entry): void;
61 agentOf(name: string): AgentState;
62 requireClosed(tie: { deps: readonly AtomId[] }, union: ReadonlySet<AtomId>): void;
63 newsForOthers(publisher: AgentState, space: Space, version: number, entries: Entry[]): void;
64 settledNews(agent: AgentState, version: number, settled: readonly Settled[], entries: Entry[]): void;
65 addressedNews(agent: AgentState, version: number, entries: Entry[]): void;
66 reviewNews(agent: AgentState, version: number, entries: Entry[]): void;
67 queueNews(agent: AgentState, items: readonly { key: string; text: string }[], entries: Entry[]): void;
68 flush(entries: Entry[]): void;
engine25Read abso.json first, then avcs.json (abso 224, ask 238): one helper (projectFileIn) for the queue, files kept whole, reviewers and init; publish, init and git intake check both files the same way; when shared has both, abso.json counts and status says avcs.json is ignored (status answer projectFile, printed by abso status). .abso/ is kept out of projects like .avcs/. Old projects with only avcs.json work as before.Compare71/** Whether shared's project file (abso.json, else avcs.json) turns the merge queue on (`"queue": true`). */
init0Start the project72export function queueOn(host: QueueHost): boolean {
73 if (!host.checkerReady()) return false;
engine25Read abso.json first, then avcs.json (abso 224, ask 238): one helper (projectFileIn) for the queue, files kept whole, reviewers and init; publish, init and git intake check both files the same way; when shared has both, abso.json counts and status says avcs.json is ignored (status answer projectFile, printed by abso status). .abso/ is kept out of projects like .avcs/. Old projects with only avcs.json work as before.Compare74 const file = projectFileIn(host.sharedView());
75 if (!file) return false;
init0Start the project76 try {
engine25Read abso.json first, then avcs.json (abso 224, ask 238): one helper (projectFileIn) for the queue, files kept whole, reviewers and init; publish, init and git intake check both files the same way; when shared has both, abso.json counts and status says avcs.json is ignored (status answer projectFile, printed by abso status). .abso/ is kept out of projects like .avcs/. Old projects with only avcs.json work as before.Compare77 return (JSON.parse(file.text) as { queue?: unknown }).queue === true;
init0Start the project78 } catch {
79 return false;
80 }
83/** With the queue on, nothing lands in shared unchecked; land and pluck don't go through the queue yet. */
84export function notQueuedYet(host: QueueHost, what: string): void {
85 if (queueOn(host))
86 throw new ProjectError(
87 "conflict",
rename100abso publish is now abso push, abso sync is now abso pull (abso 427) Commands, help, flags, messages, MCP tool names and descriptions, hook text, README, SKILL.md and tests say push and pull; "shared" stays the noun ("Pushed version N"). No aliases, no notices. A queued push that was "pulled" is now "turned back", so pull means one thing. push -f/--force/-u/--all/--tags and pull --rebase/--ff-only/--squash refuse with one plain line naming the abso way; push and pull take no remote or branch. Kept as stored: log entry kinds (publish, sync, pulled), HTTP route paths, the pipeline trigger on: publish, the yours (unpublished) marker, npm-publish.Compare88 `${what} doesn't go through the merge queue yet; switch to shared, take the changes into your draft, and push`,
init0Start the project89 );
92/** Atoms of every queued publish, or only other agents' with `except`. */
93export function queuedAtoms(host: QueueHost, except?: string): Set<AtomId> {
94 return new Set(
95 host
96 .queued()
97 .filter((q) => q.agent !== except)
98 .flatMap((q) => q.changes),
99 );
102/**
103 * Queue the agent's publish (#39). It is checked first against shared and
104 * every publish queued ahead of it, as if those had landed: lines both
105 * changed, and names defined twice, are refused now, so the queue only ever
106 * holds publishes that merge cleanly with each other.
107 */
108export function enqueue(
109 host: QueueHost,
110 agent: AgentState,
111 message: string,
112 time: number,
113 draft: readonly AtomId[],
114 resolves: readonly AtomId[],
115 entries: Entry[],
116): PublishAnswer {
117 const space = host.shared();
118 const mineQueued = queuedAtoms(host);
119 const changes = draft.filter((id) => !mineQueued.has(id));
120 if (changes.length === 0) return { ok: true, version: last(space), changes: 0 };
121 const ahead = queuedAtoms(host, agent.name);
122 const now = host.setOf(space);
123 if (ahead.size > 0) {
codex-capacity-chair163Integrate reviewed disk-backed operations, queue and bounded read cachesCompare124 const landed = unionOverlay(now, ahead);
125 const theirsView = host.sharedOverlay ? host.sharedOverlay([...ahead]) : host.view(landed);
126 const yoursView = host.sharedAgentOverlay
127 ? host.sharedAgentOverlay(agent, [...ahead])
128 : host.view(unionOverlay(landed, host.agentSet(agent)));
init0Start the project129 const queuedBy = (id: AtomId) => host.queued().find((q) => q.changes.includes(id));
codex-capacity-chair163Integrate reviewed disk-backed operations, queue and bounded read cachesCompare130 const collisions: Collision[] = host.pairs(changes, ahead, unionOverlay(landed, changes)).map((p) => {
init0Start the project131 const c = host.describe(p, host.agentView(agent), theirsView, agent.space);
132 const q = queuedBy(p.theirs);
133 return q ? { ...c, theirs: { ...c.theirs, agent: q.agent, message: q.message, queued: q.id } } : c;
134 });
135 const mine = new Set(changes);
136 for (const file of [...host.touchedFiles(changes, [yoursView])].sort()) {
137 if (!yoursView.hasFile(file)) continue;
138 for (const [name, defs] of definedTwice(yoursView, file)) {
139 const yours = defs.find((d) => d.lines.some((l) => mine.has(host.graph.line(l)!.atom)));
140 const theirs = defs.find((d) => d.lines.some((l) => ahead.has(host.graph.line(l)!.atom)));
141 if (!yours || !theirs) continue;
142 const q = queuedBy(host.graph.line(theirs.lines.find((l) => ahead.has(host.graph.line(l)!.atom))!)!.atom)!;
143 collisions.push({
144 kind: "duplicate",
145 name,
146 file,
pinch78Biome is silent: about 90 hints cleared. String joins as templates, dotted keys, unused imports, variables and a private method removed, optional chains (one kept boolean with === true), the preset field instead of the deprecated recommended. Two rules off where they don't fit: noExplicitAny in the hook modules, whose engine types come from the host, and noTemplateCurlyInString in tests, which hold source text as data.Compare147 yours: { lines: [yours.start + 1, yours.end], text: `${yours.text}\n` },
init0Start the project148 theirs: {
149 lines: [theirs.start + 1, theirs.end],
pinch78Biome is silent: about 90 hints cleared. String joins as templates, dotted keys, unused imports, variables and a private method removed, optional chains (one kept boolean with === true), the preset field instead of the deprecated recommended. Two rules off where they don't fit: noExplicitAny in the hook modules, whose engine types come from the host, and noTemplateCurlyInString in tests, which hold source text as data.Compare150 text: `${theirs.text}\n`,
init0Start the project151 agent: q.agent,
152 message: q.message,
153 version: last(space),
154 queued: q.id,
155 },
156 });
157 }
158 }
speed160A held push keeps its message, and why tells every settle: the refusal stores the push's message; why on a line kept by abso settle --yours, --theirs or --both names the collision it was kept from, and both kinds of settle list the settler's held push with its reason; the settle's news and the change page carry it too, and a lone push's change now lists the refusals on its wayCompare159 if (collisions.length > 0) return host.refuse(agent, space, "publish", time, collisions, entries, message);
init0Start the project160 }
161 const view = host.agentView(agent);
autosettle211Settled 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.Compare162 const auto = autoSettledOf(message);
init0Start the project163 const settled: Settled[] = agent.marked
164 .filter((r) => r.space === SHARED)
165 .map((r) => {
166 const lines = view.hasFile(r.file) ? view.lines(r.file).map((l) => l.text) : [];
167 const lost = lostLines(lines, r);
speed160A held push keeps its message, and why tells every settle: the refusal stores the push's message; why on a line kept by abso settle --yours, --theirs or --both names the collision it was kept from, and both kinds of settle list the settler's held push with its reason; the settle's news and the change page carry it too, and a lone push's change now lists the refusals on its wayCompare168 const held = heldMessage(agent, r.file);
autosettle211Settled 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.Compare169 const by = auto.get(r.file);
init0Start the project170 return {
171 file: r.file,
172 kept: keptOf(lines, r),
173 theirs: { agent: r.agent, version: r.version },
174 ...(lost.length > 0 ? { lost } : {}),
speed160A held push keeps its message, and why tells every settle: the refusal stores the push's message; why on a line kept by abso settle --yours, --theirs or --both names the collision it was kept from, and both kinds of settle list the settler's held push with its reason; the settle's news and the change page carry it too, and a lone push's change now lists the refusals on its wayCompare175 ...(held ? { held } : {}),
autosettle211Settled 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.Compare176 ...(by ? { auto: by } : {}),
init0Start the project177 };
178 });
179 const id = host.queuedId() + 1;
180 const entry: Entry = {
181 type: "queued",
182 agent: agent.name,
183 id,
184 message,
185 time,
186 changes,
187 resolves: [...resolves],
188 ...(settled.length > 0 ? { settled } : {}),
189 change: host.currentChange(agent, time) ?? host.nextAt(),
190 };
191 entries.push(entry);
192 host.apply(entry);
193 const queued = host.queued();
194 return {
195 ok: true,
196 queued: id,
197 position: queued.length,
198 ahead: queued.length - 1,
199 changes: changes.length,
200 ...(settled.length > 0 ? { settled } : {}),
201 };
204/** The merge queue now (#39): waiting publishes in order, and which are in the batch being checked. */
205export function queue(host: QueueHost): {
206 items: { id: number; agent: string; message: string; time: number; changes: number; checking: boolean }[];
207} {
208 return {
209 items: host.queued().map((q) => ({
210 id: q.id,
211 agent: q.agent,
212 message: q.message,
213 time: q.time,
214 changes: q.changes.length,
215 checking: host.checkingHas(q.id),
216 })),
217 };
220/** Mark the first `n` queued publishes as the batch being checked (0 ends it). Not logged. */
221export function queueChecking(host: QueueHost, n: number): number[] {
222 const ids = host
223 .queued()
224 .slice(0, Math.max(0, n))
225 .map((q) => q.id);
226 host.replaceChecking(ids);
227 return [...ids];
230/** Shared with the first `n` queued publishes on top (#39): the files a batch's check runs on, and their tree hash. */
231export function queueCandidate(
232 host: QueueHost,
233 n: number,
234): {
235 ids: number[];
236 files: Record<string, string>;
237 modes: Modes;
238 blobs: Blobs;
239 tree: string;
240} {
241 host.needInit();
242 const items = host.queued().slice(0, Math.max(0, n));
codex-capacity-chair163Integrate reviewed disk-backed operations, queue and bounded read cachesCompare243 const changes = items.flatMap((q) => q.changes);
codex-capacity-chair164Fix disk-backed historical paths, empty queues and canonical frame integrityCompare244 const view =
245 changes.length === 0
246 ? host.sharedView()
247 : host.sharedOverlay
248 ? host.sharedOverlay(changes)
249 : host.view(unionOverlay(host.setOf(host.shared()), changes));
init0Start the project250 const files = view.files();
251 const modes = modesOf(view);
252 const blobs = view.blobs();
253 return { ids: items.map((q) => q.id), files, modes, blobs, tree: treeHash({ files, modes, blobs }) };
256/**
257 * Land the first `n` queued publishes (#39), in order, each as its own
258 * version, after their batch passed. Each tells others what arrived, its
259 * author that it landed, and the authors of what it settled what it kept.
260 */
261export function queueLand(host: QueueHost, n: number, time: number): { versions: { id: number; version: number }[] } {
262 const entries: Entry[] = [];
263 const out: { id: number; version: number }[] = [];
264 try {
265 for (const q of host.queued().slice(0, Math.max(0, n))) {
266 const agent = host.agentOf(q.agent);
267 const space = host.shared();
codex-capacity-chair163Integrate reviewed disk-backed operations, queue and bounded read cachesCompare268 const union = unionOverlay(host.setOf(space), q.changes);
269 const view = host.sharedOverlay ? host.sharedOverlay(q.changes) : host.view(union);
270 const tie = buildAtom(view, {
init0Start the project271 author: q.agent,
272 message: q.message,
273 time,
274 needs: [...q.changes],
275 resolves: q.resolves.filter((id) => union.has(id)),
276 });
277 host.requireClosed(tie, union);
278 const version = last(space) + 1;
279 const entry: Entry = {
280 type: "publish",
281 agent: q.agent,
282 version,
283 message: q.message,
284 time,
285 changes: q.changes,
286 tie,
287 // The agent may have edited since it queued, so its draft isn't reset as an immediate publish's is.
288 rebase: false,
289 ...(q.settled ? { settled: q.settled } : {}),
290 queued: q.id,
291 change: q.change ?? host.nextAt(),
292 };
293 entries.push(entry);
294 host.apply(entry);
295 host.uncheck(q.id);
296 host.newsForOthers(agent, space, version, entries);
297 host.settledNews(agent, version, q.settled ?? [], entries);
298 host.addressedNews(agent, version, entries);
299 host.reviewNews(agent, version, entries);
300 host.queueNews(
301 agent,
rename100abso publish is now abso push, abso sync is now abso pull (abso 427) Commands, help, flags, messages, MCP tool names and descriptions, hook text, README, SKILL.md and tests say push and pull; "shared" stays the noun ("Pushed version N"). No aliases, no notices. A queued push that was "pulled" is now "turned back", so pull means one thing. push -f/--force/-u/--all/--tags and pull --rebase/--ff-only/--squash refuse with one plain line naming the abso way; push and pull take no remote or branch. Kept as stored: log entry kinds (publish, sync, pulled), HTTP route paths, the pipeline trigger on: publish, the yours (unpublished) marker, npm-publish.Compare302 [{ key: `landed ${q.id}`, text: `Your queued push "${clip(q.message)}" landed as version ${version}.` }],
init0Start the project303 entries,
304 );
305 out.push({ id: q.id, version });
306 }
307 } finally {
308 host.flush(entries);
309 }
310 return { versions: out };
313/**
314 * Take a queued publish out (#39): its check failed, or its author withdrew
315 * it. Its changes are simply still in its author's draft. Later queued
316 * publishes that build on its changes come out with it.
317 */
318export function queuePull(
319 host: QueueHost,
320 id: number,
321 reason: Exclude<PullReason, "depends">,
322 time: number,
323 output?: string,
324): { pulled: number[] } {
325 const entries: Entry[] = [];
326 const pulled: number[] = [];
327 try {
328 const first = host.queued().find((q) => q.id === id);
329 if (!first) throw new ProjectError("not-found", `nothing is queued with id ${id}`);
330 const gone = new Set<AtomId>();
331 for (const q of [...host.queued()]) {
332 const builds = q.id !== id && q.changes.some((c) => host.graph.atom(c).deps.some((d) => gone.has(d)));
333 if (q.id !== id && !builds) continue;
334 const why: PullReason = q.id === id ? reason : "depends";
335 const tail = output ? output.split("\n").slice(-20).join("\n").slice(-4000) : undefined;
336 const entry: Entry = { type: "pulled", id: q.id, time, reason: why, ...(tail ? { output: tail } : {}) };
337 entries.push(entry);
338 host.apply(entry);
339 for (const c of q.changes) gone.add(c);
340 pulled.push(q.id);
341 const said =
342 why === "failed"
343 ? `the project's check failed on it on top of version ${last(host.shared())}${tail ? `:\n${tail}` : ""}`
344 : why === "withdrawn"
345 ? "you withdrew it"
rename100abso publish is now abso push, abso sync is now abso pull (abso 427) Commands, help, flags, messages, MCP tool names and descriptions, hook text, README, SKILL.md and tests say push and pull; "shared" stays the noun ("Pushed version N"). No aliases, no notices. A queued push that was "pulled" is now "turned back", so pull means one thing. push -f/--force/-u/--all/--tags and pull --rebase/--ff-only/--squash refuse with one plain line naming the abso way; push and pull take no remote or branch. Kept as stored: log entry kinds (publish, sync, pulled), HTTP route paths, the pipeline trigger on: publish, the yours (unpublished) marker, npm-publish.Compare346 : `it builds on queued push ${id}, which was turned back`;
init0Start the project347 host.queueNews(
348 host.agentOf(q.agent),
349 [
350 {
351 key: `pulled ${q.id}`,
rename100abso publish is now abso push, abso sync is now abso pull (abso 427) Commands, help, flags, messages, MCP tool names and descriptions, hook text, README, SKILL.md and tests say push and pull; "shared" stays the noun ("Pushed version N"). No aliases, no notices. A queued push that was "pulled" is now "turned back", so pull means one thing. push -f/--force/-u/--all/--tags and pull --rebase/--ff-only/--squash refuse with one plain line naming the abso way; push and pull take no remote or branch. Kept as stored: log entry kinds (publish, sync, pulled), HTTP route paths, the pipeline trigger on: publish, the yours (unpublished) marker, npm-publish.Compare352 text: `Your queued push "${clip(q.message)}" was turned back: ${said}. Its changes are still in your draft.`,
init0Start the project353 },
354 ],
355 entries,
356 );
357 }
358 } finally {
359 host.flush(entries);
360 }
361 return { pulled };
364/** The agent withdraws its queued publishes (#39): refused while one is in the batch being checked. */
365export function unqueue(host: QueueHost, agentName: string, time: number): { pulled: number[] } {
366 const mine = host.queued().filter((q) => q.agent === agentName);
367 if (mine.length === 0) throw new ProjectError("not-found", `${agentName} has nothing queued`);
368 const busy = mine.find((q) => host.checkingHas(q.id));
369 if (busy)
370 throw new ProjectError(
371 "conflict",
rename100abso publish is now abso push, abso sync is now abso pull (abso 427) Commands, help, flags, messages, MCP tool names and descriptions, hook text, README, SKILL.md and tests say push and pull; "shared" stays the noun ("Pushed version N"). No aliases, no notices. A queued push that was "pulled" is now "turned back", so pull means one thing. push -f/--force/-u/--all/--tags and pull --rebase/--ff-only/--squash refuse with one plain line naming the abso way; push and pull take no remote or branch. Kept as stored: log entry kinds (publish, sync, pulled), HTTP route paths, the pipeline trigger on: publish, the yours (unpublished) marker, npm-publish.Compare372 `queued push ${busy.id} is being checked; it lands or is turned back in about a minute (abso drop takes it back after it lands)`,
init0Start the project373 );
374 const pulled: number[] = [];
375 for (const q of mine)
376 if (host.queued().some((x) => x.id === q.id)) pulled.push(...queuePull(host, q.id, "withdrawn", time).pulled);
377 return { pulled };