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
show on this site's /mcp
CLI
abso show 265 --json
JSON
/christopher/abso-core/versions/265?format=json

Pipelines take uses: review (abso issue 688): a built-in step with no settings of its own, where a model reads the version's diff and leaves notes on it. The server picks the model and the caps; abso's runner does the work. Tests: src/pipeline/test/pipeline.test.ts, 26 pass.

of shared·approvals-page··Not checked

Version 264 · Files at version 265

2 files, 16 lines added, 1 removed.

--- a/src/pipeline/pipeline.ts
+++ b/src/pipeline/pipeline.ts
@@ -74,7 +74,7 @@
7474 | { readonly ok: true; readonly file: PipelineFile }
7575 | { readonly ok: false; readonly problems: readonly Problem[] };
7676
77−export const BUILT_INS = ["deploy", "preview", "notify", "npm-publish"] as const;
77+export const BUILT_INS = ["deploy", "preview", "notify", "npm-publish", "review"] as const;
7878export type BuiltIn = (typeof BUILT_INS)[number];
7979
8080/** Each built-in step's own settings, beside the keys every job has. */
@@ -84,6 +84,8 @@
8484 notify: ["to"],
8585 // The npm packages it may publish, from the .tgz files its from: job kept, and the dist-tag (latest if none).
8686 "npm-publish": ["packages", "tag"],
87+ // A model reads the version's diff and leaves notes on it (abso issue 688). The server picks the model and the caps.
88+ review: [],
8789};
8890
8991/** An npm dist-tag: npm refuses one that reads as a version, so it starts with a letter. */
--- a/src/pipeline/test/pipeline.test.ts
+++ b/src/pipeline/test/pipeline.test.ts
@@ -252,6 +252,19 @@
252252 has(ps, "pipelines.p.jobs.c.packages[2]", /isn't an npm package name/);
253253 });
254254
255+ it("review: a step with no settings of its own; the server picks the model (abso issue 688)", () => {
256+ const read = checkPipelines(one({ review: { uses: "review" } }, { only: ["shared"] }));
257+ ok(read);
258+ const job = read.ok ? read.file.pipelines[0]!.jobs.find((j) => j.name === "review") : undefined;
259+ assert.equal(job?.uses, "review");
260+ assert.deepEqual(job?.with, {});
261+ const ps = problems(
262+ checkPipelines(one({ a: { uses: "review", model: "x" }, b: { uses: "review", abso: "writer" } })),
263+ );
264+ has(ps, "pipelines.p.jobs.a.model", /./);
265+ has(ps, "pipelines.p.jobs.b.abso", /a uses step runs on the server/);
266+ });
255268 it("abso: a run job may ask for a reader or writer key; a writer key only where secrets may go", () => {
256269 const read = checkPipelines(one({ a: { run: "abso status", abso: "reader" }, b: { run: "true" } }));
257270 ok(read);