{"version":265,"agent":"approvals-page","message":"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.","time":1792098402380,"timeIso":"2026-10-15T21:06:42.380Z","changes":2,"change":4052,"files":["src/pipeline/pipeline.ts","src/pipeline/test/pipeline.test.ts"],"draft":null,"diff":[{"path":"src/pipeline/pipeline.ts","added":3,"removed":1,"diff":"--- a/src/pipeline/pipeline.ts\n+++ b/src/pipeline/pipeline.ts\n@@ -74,7 +74,7 @@\n \t| { readonly ok: true; readonly file: PipelineFile }\n \t| { readonly ok: false; readonly problems: readonly Problem[] };\n \n-export const BUILT_INS = [\"deploy\", \"preview\", \"notify\", \"npm-publish\"] as const;\n+export const BUILT_INS = [\"deploy\", \"preview\", \"notify\", \"npm-publish\", \"review\"] as const;\n export type BuiltIn = (typeof BUILT_INS)[number];\n \n /** Each built-in step's own settings, beside the keys every job has. */\n@@ -84,6 +84,8 @@\n \tnotify: [\"to\"],\n \t// The npm packages it may publish, from the .tgz files its from: job kept, and the dist-tag (latest if none).\n \t\"npm-publish\": [\"packages\", \"tag\"],\n+\t// A model reads the version's diff and leaves notes on it (abso issue 688). The server picks the model and the caps.\n+\treview: [],\n };\n \n /** An npm dist-tag: npm refuses one that reads as a version, so it starts with a letter. */"},{"path":"src/pipeline/test/pipeline.test.ts","added":13,"removed":0,"diff":"--- a/src/pipeline/test/pipeline.test.ts\n+++ b/src/pipeline/test/pipeline.test.ts\n@@ -252,6 +252,19 @@\n \t\thas(ps, \"pipelines.p.jobs.c.packages[2]\", /isn't an npm package name/);\n \t});\n \n+\tit(\"review: a step with no settings of its own; the server picks the model (abso issue 688)\", () => {\n+\t\tconst read = checkPipelines(one({ review: { uses: \"review\" } }, { only: [\"shared\"] }));\n+\t\tok(read);\n+\t\tconst job = read.ok ? read.file.pipelines[0]!.jobs.find((j) => j.name === \"review\") : undefined;\n+\t\tassert.equal(job?.uses, \"review\");\n+\t\tassert.deepEqual(job?.with, {});\n+\t\tconst ps = problems(\n+\t\t\tcheckPipelines(one({ a: { uses: \"review\", model: \"x\" }, b: { uses: \"review\", abso: \"writer\" } })),\n+\t\t);\n+\t\thas(ps, \"pipelines.p.jobs.a.model\", /./);\n+\t\thas(ps, \"pipelines.p.jobs.b.abso\", /a uses step runs on the server/);\n+\t});\n+\n \tit(\"abso: a run job may ask for a reader or writer key; a writer key only where secrets may go\", () => {\n \t\tconst read = checkPipelines(one({ a: { run: \"abso status\", abso: \"reader\" }, b: { run: \"true\" } }));\n \t\tok(read);"}],"ci":null}