- Fork/branch from
main. - Keep changes focused (stability, maintainability, or bounded feature increments).
- Run checks locally before opening a PR.
- Document behavior-impacting changes in README/ROADMAP/docs as needed.
npm ci
npm run devnpm run typecheck
npm test
npm run build- Prefer explicit TypeScript types over
any. - Avoid behavior changes in cleanup-only refactors.
- Keep scheduler/pattern behavior deterministic.
- When modifying persistence or patch schema, add migration-safe defaults and tests.
- Keep WebAudio graph operations predictable: connect/disconnect/cleanup should be symmetrical.
When adding or changing sequencing behavior, include deterministic tests for:
- pattern generation,
- event window bounds/order,
- overlap-dedupe parity,
- migration/fallback behavior if schema changes.
Update these when relevant:
README.mdfor runtime/setup changes,ROADMAP.mdfor milestone shifts,docs/status.mdfor current project state,docs/security-review.mdwhen introducing new risk surfaces.