Starter template for TypeScript / Effect libraries and tools.
| Surface | Examples | Limit |
|---|---|---|
| Evaluator | commitlint.config.ts, .github/workflows/ |
Read-only; never edit the instrument that grades work. |
| Doctrine | subtrees.toml |
Project law; edit only on deliberate direction. |
| Vendored | repos/** |
Read-only; updated via git subtree, never hand-edited. |
| Human approval | Releases, publishing, external credentials | User-confirmed only. |
| Editable | Workspace source, tests, documentation | Edit freely. |
| Doc | Trigger |
|---|---|
repos/constitution/CODING_STANDARDS.md and repos/constitution/REVIEW.md |
you plan, write, review or propose a test |
repos/constitution/GRADERS.md |
you build or change a check (a lint rule, CI job, hook, threshold or rubric) |
| ID | Rule | Gate |
|---|---|---|
START-1 |
Formatting passes dprint with no diffs | pnpm format:check |
START-2 |
Typechecking succeeds workspace-wide with no errors | pnpm typecheck |
START-3 |
All test suites pass | pnpm test |
START-4 |
CI passes on the pushed head; not run locally | CI: pnpm check:ci |
dprint comes from the dev shell (nix develop, the systemfsoftware/dprint flake input); scripts and hooks call bare dprint from PATH. There is no wrapper.
The publishable CLI lives under apps/; packages/ holds the published engine
and the private recipes fixture. turbo.json mirrors both roots' dist/** as
build outputs — verify with pnpm gate:dist.
Commit changes using conventional commits (<type>(<scope>): <subject>). Ensure the working tree is clean and pushed; CI runs pnpm check:ci, never run it locally.