You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Open an issue first for anything non-trivial, so we can discuss the approach.
36
-
2.Fork, branch, and keep PRs focused — one feature or fix per PR.
74
+
2.Keep PRs focused — one feature or fix per PR.
37
75
3. Add or update tests for what you change. Bug fixes need a regression test.
38
-
4. Run `npm test` and make sure it passes.
39
-
5. Update docs that your change makes stale: `README.md` command tables, `CHANGELOG.md` (Added / Fixed / Changed), and `CLAUDE.md` if architecture changed.
76
+
77
+
## Definition of Done
78
+
79
+
Your PR is expected to meet the project's
80
+
[Definition of Done](CLAUDE.md#definition-of-done). In short:
81
+
82
+
-**`npm test` and `npx playwright test` both pass.**
83
+
-**Every user-facing command/feature ships with a Playwright e2e case** in the same
84
+
PR — a REPL command needs a `tests/*.spec.ts` case that types it and asserts the
85
+
rendered result. Unit coverage alone is not "done."
86
+
-**CI gates the merge** — the `unit` and `e2e` jobs must be green on your PR. CI runs
87
+
for fork PRs automatically; the suite needs no secrets.
0 commit comments