Unified · Split
| @@ -10,6 +10,9 @@ Stable contracts live here. Current setup and server mechanics are in · 9 unmodified lines | |||
| 10 | package script. Never use `bun test`. | 10 | package script. Never use `bun test`. |
| 11 | - Use the narrowest meaningful verification while iterating. Merge-ready gates | 11 | - Use the narrowest meaningful verification while iterating. Merge-ready gates |
| 12 | are `bun run format:check`, `lint`, `typecheck`, and `test`. | 12 | are `bun run format:check`, `lint`, `typecheck`, and `test`. |
| 13 | - e2e is slow. Avoid running it often during development: optimize for | ||
| 14 | iteration speed first, then test. Save e2e for when the change is settled, | ||
| 15 | and run the narrowest scenario rather than the full suite. | ||
| 13 | - Run `bun run format` before a PR and include only files owned by the branch. | 16 | - Run `bun run format` before a PR and include only files owned by the branch. |
| 14 | - User-visible work requires a specific e2e run, a browsable dev instance, and | 17 | - User-visible work requires a specific e2e run, a browsable dev instance, and |
| 15 | the recording or trace showing what to inspect. Add a scenario when none | 18 | the recording or trace showing what to inspect. Add a scenario when none |