From 0d56adfa76ad97d141cb3aac90bd89884b70cc99 Mon Sep 17 00:00:00 2001 From: Radwuan Abouzeid Date: Sat, 29 Aug 2026 16:13:11 -0500 Subject: [PATCH 1/2] Add npm run check aggregating the nine check scripts - package.json: add "check" chaining the nine *:check scripts with && - ci.yml: collapse the nine-line check step to npm run check - CONTRIBUTING.md: reference the one command in the merge-gates block golden stays a separate local-only gate. && short-circuits, so a failing script still names itself. Closes #6 --- .github/workflows/ci.yml | 13 ++----------- CONTRIBUTING.md | 4 +--- package.json | 1 + 3 files changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 99575de..2e90c37 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,18 +24,9 @@ jobs: cache: npm - run: npm ci - run: npx tsc --noEmit - # One step, one line each: the failing script's name is the failure. + # Aggregate; && short-circuits, so the failing script's own output names it. - name: check scripts - run: | - npm run landing:check - npm run epoch:check - npm run bind:check - npm run dedupe:check - npm run reentry:check - npm run unclaimed:check - npm run notify:check - npm run spawn:check - npm run scope:check + run: npm run check rust: name: rust (${{ matrix.os }}) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index fabd3dd..e6ed56c 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -24,9 +24,7 @@ These are the merge gates. CI runs all of them except `golden`: ```bash npx tsc --noEmit # TypeScript, strict cd src-tauri && cargo clippy --all-targets -- -D warnings && cargo test -npm run landing:check && npm run epoch:check && npm run bind:check \ - && npm run dedupe:check && npm run reentry:check && npm run unclaimed:check \ - && npm run notify:check && npm run spawn:check && npm run scope:check +npm run check ``` `npm run golden` is the extraction golden set. It shells out to the `claude` diff --git a/package.json b/package.json index 0dd0747..8a89bb0 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "tauri": "tauri", "reinstall": "sh scripts/reinstall.sh", "golden": "tsx scripts/golden.ts", + "check": "npm run landing:check && npm run epoch:check && npm run bind:check && npm run dedupe:check && npm run reentry:check && npm run unclaimed:check && npm run notify:check && npm run spawn:check && npm run scope:check", "landing:check": "tsx scripts/landing-check.ts", "epoch:check": "tsx scripts/epoch-check.ts", "bind:check": "tsx scripts/bind-check.ts", From 083efbe6943f04007979cfef00d87825e1e09ee6 Mon Sep 17 00:00:00 2001 From: Superlogicai Date: Sat, 5 Sep 2026 17:02:59 -1000 Subject: [PATCH 2/2] fix: fold clock:check and delta:check into npm run check MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Phase 14 added two new *:check scripts (clock, delta) that never made it into the aggregate — npm run check silently skipped them even though they're real merge gates per CLAUDE.md. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01HV9mm7Y9ManEFp7H4suHmF --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 240982c..dfde95e 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "tauri": "tauri", "reinstall": "sh scripts/reinstall.sh", "golden": "tsx scripts/golden.ts", - "check": "npm run landing:check && npm run epoch:check && npm run bind:check && npm run dedupe:check && npm run reentry:check && npm run unclaimed:check && npm run notify:check && npm run spawn:check && npm run scope:check", + "check": "npm run landing:check && npm run epoch:check && npm run bind:check && npm run dedupe:check && npm run reentry:check && npm run unclaimed:check && npm run notify:check && npm run spawn:check && npm run scope:check && npm run clock:check && npm run delta:check", "landing:check": "tsx scripts/landing-check.ts", "epoch:check": "tsx scripts/epoch-check.ts", "bind:check": "tsx scripts/bind-check.ts",