Thanks for helping improve STAN! This project follows a services‑first, test‑first philosophy. Here’s how to get started locally.
Prereqs:
Clone and install:
git clone https://github.com/karmaniverous/stan.git
cd stan
npm i
Run the full test and validation suite:
npm run lint
npm run typecheck
npm run test
npm run build
npm run docs
npm run knip
If stan run
is temporarily broken while developing STAN itself, use the
bootstrap scripts as a stopgap to exercise the pipeline and generate the usual
artifacts (outputs and archive) without relying on the CLI:
Primary orchestrator (runs multiple tasks concurrently and then archives):
npm run bootstrap
This will:
.stan/output/*.txt
,.stan/output/archive.tar
.You can also run individual bootstrap tasks:
npm run bootstrap:typecheck
npm run bootstrap:lint
npm run bootstrap:test
npm run bootstrap:build
npm run bootstrap:docs
npm run bootstrap:archive
Note: these bootstrap scripts are for STAN development only (fallback tooling).
Consumers of STAN should use the CLI directly, e.g. stan run
.
.stan/system/stan.todo.md
updated with each change set and include a commit message (fenced) in chat replies.git checkout -b feature/your-change
lint
, typecheck
, test
, build
, docs
) pass locally.Open a GitHub issue with details or propose a design sketch in the PR description.