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 36 to 37

Compare

+8 −8 in 8 places
Lines 100–106 at 37 (were 100–106 at 36)
100100 check = pf.file.build === "" ? pf.file.check : `${pf.file.build} && ${pf.file.check}`;
101101 }
102102 if (check !== undefined) {
103− // Your draft on newest shared, as it would land, must pass the check (#37, Builder 1):
103+ // Your draft on newest shared, as it would land, must pass the check (#37):
104104 // two changes that each passed alone turned shared red twice. Sync first, then run it in the box.
105105 const say = env.writeErr ?? env.write;
106106 // Known to have no prep: refuse before syncing and running (#37, Artist 1). Unknown: the run below tells.
Lines 126–132 at 37 (were 126–132 at 36)
126126 };
127127 }
128128 if (synced.text) say(`${synced.text}\n`);
129− // Paths the sync wouldn't write (safety.ts) don't block: the check just ran without them (Cloud).
129+ // Paths the sync wouldn't write (safety.ts) don't block: the check just ran without them.
130130 if ((sj.refused?.length ?? 0) > 0)
131131 say(
132132 `abso: the sync didn't write these: ${sj.refused!.map((r) => r.path).join(", ")}; the check runs without them.\n`,
Lines 137–143 at 37 (were 137–143 at 36)
137137 if (box !== undefined) flags.set("box", box);
138138 const ran = await runRun({ positionals: [check], flags }, { ...env, runKind: "publish-check" });
139139 // No prep and a package-lock: the box had no node_modules, so the check can't be trusted either way
140− // (#37, Builder 1: npx tsc fetched an unrelated, deprecated tsc package).
140+ // (#37: npx tsc fetched an unrelated, deprecated tsc package).
141141 if ((ran.json as { prep?: string | null }).prep === null && existsSync(join(root, "package-lock.json"))) {
142142 return {
143143 exit: EXIT.refused,
Lines 146–152 at 37 (were 146–152 at 36)
146146 };
147147 }
148148 if ((ran.exit ?? 0) !== 0) {
149− // Whose is it? Run the check once more on shared alone, at the version just synced to (#36, Builder 6:
149+ // Whose is it? Run the check once more on shared alone, at the version just synced to (#36:
150150 // stopped by someone else's red test, nothing said whose). One extra run, only when the check fails.
151151 const recent = (await api.log({ agent: config.agent }, 5)).versions;
152152 const newest = recent[0]?.version;
Lines 397–403 at 37 (were 397–403 at 36)
397397 answer.changes === 0
398398 ? await alreadyInShared(root, api, config.agent, recorded.paths, answer.version)
399399 : `Published version ${answer.version}.${merged.length > 0 ? ` ${mergedText(merged)}` : ""}`;
400− // The check ran on shared as it was; what landed since went in unchecked (Cloud).
400+ // The check ran on shared as it was; what landed since went in unchecked.
401401 const moved =
402402 checked && merged.length > 0
403403 ? [
Lines 409–415 at 37 (were 409–415 at 36)
409409 ...pre,
410410 what,
411411 ...moved,
412− // --check alone was skipped for a queue that turned out not to be on: the answer, not the draft's avcs.json, says (Cloud).
412+ // --check alone was skipped for a queue that turned out not to be on: the answer, not the draft's avcs.json, says.
413413 ...(skippedCheck
414414 ? [
415415 `It landed directly, with no check: your avcs.json says "queue": true, but shared's doesn't yet, so the merge queue isn't on and --check alone was skipped. abso ci ${answer.version} shows CI's result once it has run.`,
Lines 441–447 at 37 (were 441–447 at 36)
441441 json: { collisions, recorded: recorded.sent },
442442 };
443443 }
444− // Lines both sides changed, still as the sync left them (#37, Builder 1): publishing would put both in shared.
444+ // Lines both sides changed, still as the sync left them (#37): publishing would put both in shared.
445445 if (collisions.length > 0 && collisions.every((c) => c.untouched)) {
446446 return {
447447 exit: EXIT.refused,
Lines 586–592 at 37 (were 586–592 at 36)
586586}
587587
588588/**
589− * Several files marked against one version (#37, Builder 6: twenty tool
589+ * Several files marked against one version (#37: twenty tool
590590 * scripts muted twice at once): if that version already does what yours do,
591591 * one settle takes theirs in all of them.
592592 */
MCP
compare on this site's /mcp
CLI
abso diff 36 37 client/src/publish-commands.ts --json
JSON
/christopher/abso-core/compare/36..37?file=client%2Fsrc%2Fpublish-commands.ts&format=json