Skip to content

chore: add one npm run check for the nine check scripts - #16

Closed
zeiddata-dev wants to merge 1 commit into
SuperLogicAI:mainfrom
zeiddata-dev:chore/aggregate-check-script
Closed

chore: add one npm run check for the nine check scripts#16
zeiddata-dev wants to merge 1 commit into
SuperLogicAI:mainfrom
zeiddata-dev:chore/aggregate-check-script

Conversation

@zeiddata-dev

@zeiddata-dev zeiddata-dev commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Closes #6.

The nine check scripts were written out longhand in three places — ci.yml, CONTRIBUTING.md, and everyone's shell history. Change the set and you had to remember all three. This adds a single aggregate script and points the other two at it.

The constraint, verified rather than assumed

The issue flags that CI's nine-line step exists so the failing script's name is the failure. && preserves that. I checked instead of trusting it: appended a deliberate throw to bind-check.ts (3rd in the chain) and ran npm run check.

  • exit 1
  • > logic-loop@0.1.0 bind:check in the npm header, and the file path in the stack trace — the failing script names itself twice over
  • the six checks after it never ran

Then reverted the break; git status clean.

golden stays out

Untouched, as the issue requires. It shells out to the claude CLI and bills per run, so it remains a separate local-only gate.

One thing worth your eye

package.json has eleven *:check scripts, not nine. clock:check and delta:check (Phase 14) appear in neither ci.yml nor CONTRIBUTING.md.

I left them out to keep this PR to the issue as written — but it's worth naming that npm run check now reads as exhaustive while quietly skipping two, which is arguably a worse failure mode than the nine copied lines were. If that omission wasn't deliberate, say the word and I'll fold them in here or in a follow-up.

Verification

npx tsc --noEmit clean, npm run check passes 9/9 on this branch.

The nine check scripts were written out longhand in three places — ci.yml,
CONTRIBUTING.md, and everyone's shell history. Change the set and you had to
remember all three. This adds a single aggregate script and points the other two
at it.

The `&&` chain keeps the property the nine-line CI step was protecting: it stops
at the first failure, and the failing script still names itself. Verified by
breaking bind-check on purpose — exit 1, `bind:check` named in both the npm
header and the stack trace, and the six checks after it never ran.

`golden` deliberately stays out. It shells out to the claude CLI and bills per
run, so it remains a separate local-only gate.

One thing worth a maintainer's eye: package.json has eleven `*:check` scripts,
not nine. `clock:check` and `delta:check` (Phase 14) are in neither ci.yml nor
CONTRIBUTING, so they're left out here to keep this to the issue as written —
but `npm run check` now reads as exhaustive while quietly skipping two. Glad to
fold them in if that omission wasn't deliberate.

Closes SuperLogicAI#6

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WyeecwdT2gD3fxeWkJpTKa
@zeiddata-dev

Copy link
Copy Markdown
Contributor Author

Duplicate to #15. My apologies

@zeiddata-dev
zeiddata-dev deleted the chore/aggregate-check-script branch September 6, 2026 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a single npm run check that runs all nine check scripts

1 participant