queue move ID in-review posts the review request as a Gitea comment and review record reads verdicts back, so reviews stop being files in docs/plans/reviews/. On a comment round, in-review to waiting-on-jason now needs every listed reviewer's approval for the current round, the same as in-review to done (Filbert r1 C1). scripts/gitea-api.sh reads the raw per-seat token files (lead decisions 37 to 39): config built and checked before curl starts, export attribute cleared, fixed base URL. test-queue.sh skips its live checks outside the canonical root. Darkwing authored. Filbert approved D r2 (cf1d3fd0) after r1 (a2dc2302) and corrected the plan (293747cd). Rocko reviewed the helper (e896192f, 2096b0a3), and Sage's lead check passed under decision 38. Manifest b402fb38, 19 files. Co-Authored-By: Claude Opus 5.5 <[email protected]>
14 lines
750 B
JavaScript
14 lines
750 B
JavaScript
// Child process for the SIGKILL tests. argv: SRC_DIR STEP REQUEST_JSON.
|
|
// Runs one mutation from the working directory and kills itself with
|
|
// SIGKILL when the write path reaches STEP (8.5). STEP#N kills at the Nth
|
|
// time the step is reached: a request's outcome write is its second lock.
|
|
import { join } from "node:path";
|
|
import { pathToFileURL } from "node:url";
|
|
|
|
const [src, spec, json] = process.argv.slice(2);
|
|
const [step, nth = "1"] = spec.split("#");
|
|
let seen = 0;
|
|
const store = await import(pathToFileURL(join(src, "store.mjs")).href);
|
|
store.mutate({ hook: (name) => { if (name === step && ++seen === Number(nth)) process.kill(process.pid, "SIGKILL"); } }, JSON.parse(json));
|
|
process.stdout.write("finished without reaching the step\n");
|