@@ -89,7 +89,7 @@ Scoped guides:
|
89 | 89 | |
90 | 90 | ## Gates |
91 | 91 | |
92 | | -- Pre-commit hook: staged format/lint, then `pnpm check:changed --staged`; docs/markdown-only skips changed-scope check; `FAST_COMMIT=1` skips changed-scope check only. |
| 92 | +- Pre-commit hook: staged format/lint, then `pnpm check:changed --staged`; docs/markdown-only skips changed-scope check; `FAST_COMMIT=1` / `scripts/committer --fast` skips changed-scope check only. |
93 | 93 | - Changed lanes: |
94 | 94 | - core prod => core prod typecheck + core tests |
95 | 95 | - core tests => core test typecheck/tests only |
@@ -101,6 +101,7 @@ Scoped guides:
|
101 | 101 | - Landing on `main`: verify touched surface near landing; default bar is `pnpm check` + `pnpm test` when feasible. |
102 | 102 | - Hard build gate: run/pass `pnpm build` before push if build output, packaging, lazy/module boundaries, or published surfaces can change. |
103 | 103 | - Do not land related failing format/lint/type/build/tests. If failures are unrelated on latest `origin/main`, say so and give scoped proof. |
| 104 | +- Fast commit escape hatch: use `scripts/committer --fast "<msg>" <file...>` only after the exact staged change set was already validated with equal-or-stronger gates, or after rerunning an isolated flaky failure with proof. State the gates/proof in handoff. |
104 | 105 | - CI architecture gate: `check-additional`; local equivalent `pnpm check:architecture`. |
105 | 106 | - Config docs drift: `pnpm config:docs:gen/check` |
106 | 107 | - Plugin SDK API drift: `pnpm plugin-sdk:api:gen/check` |
@@ -151,7 +152,7 @@ Scoped guides:
|
151 | 152 | |
152 | 153 | ## Git |
153 | 154 | |
154 | | -- Use `scripts/committer "<msg>" <file...>`; stage only intended files. |
| 155 | +- Use `scripts/committer "<msg>" <file...>`; stage only intended files. Use `--fast` only under the Gates escape-hatch rule above. |
155 | 156 | - Commits: conventional-ish, concise/action-oriented. Group related changes. |
156 | 157 | - No manual stash/autostash unless explicitly requested. No branch/worktree changes unless requested. |
157 | 158 | - No merge commits on `main`; rebase on latest `origin/main` before push. |
|