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 47 to 48

Compare

+11 −5 in 1 place
Lines 201–217 at 48 (were 201–211 at 47)
201201 `${checked ? "The check passed; " : ""}the publish may have reached the server before its answer was lost: abso status shows whether your draft was published.`,
202202 );
203203 const out = withLeftOut(reached, leftOut);
204− // --done: this publish finishes the work the start note named (#44): take the note back once it's published or queued.
205− const went =
206− (out.json as { version?: unknown; queued?: unknown }).version !== undefined ||
207− (out.json as { queued?: unknown }).queued !== undefined;
208− if (!bool(args, "done") || !went) return out;
204+ // --done: this publish finishes the work the start note named (#44): take the note back once it's published.
205+ // A publish still in the merge queue may yet be pulled, so its note and issue stay as they are until it lands.
206+ if (!bool(args, "done")) return out;
207+ const { version, queued, outcome } = out.json as { version?: unknown; queued?: unknown; outcome?: unknown };
208+ if (version === undefined) {
209+ if (queued === undefined || outcome === "pulled") return out;
210+ return {
211+ ...out,
212+ text: `${out.text}\nYour start note stays (--done): publish ${queued} hasn't landed yet. Once it has, abso start --done takes the note back and abso issue <N> --done closes the issue it names.`,
213+ };
214+ }
209215 // done (#54): the work is finished, so an issue the note named is closed with this change.
210216 await api.starting(null, undefined, { done: true });
211217 return {
MCP
compare on this site's /mcp
CLI
abso diff 47 48 client/src/publish-commands.ts --json
JSON
/christopher/abso-core/compare/47..48?file=client%2Fsrc%2Fpublish-commands.ts&format=json