- After every change, run
npm testto make sure all existing tests pass. - Every new feature or bug fix must have test coverage before merging.
- Run
npx cypress runfor E2E tests when UI behavior changes.
- After every change, verify that README.md accurately reflects current functionality.
- If a feature was added, changed, or removed — update README accordingly.
- README is the public face of the project; it must always match what the code actually does.
- Run
npx vite buildafter changes — must compile without errors. - Restart
node server.jsafter build to serve updated dist.
- After every change, ask the user if they want to publish a new version to npm.
- Bump version in package.json (
npm version patch/minor/major), thennpm publish --otp=<code>. - User will provide the OTP code for npm 2FA.
- Make changes
npm test— all tests passnpx vite build— clean build- Manual verification on
http://localhost:9100 git commit+git push- Update Linear: move issue to Done + comment
- Ask user: "Publish to npm?"