
















@@ -86,6 +86,13 @@ Telegraph style. Root rules only. Read scoped `AGENTS.md` before subtree work.
8686- public SDK/plugin contract: extension prod/test too
8787- unknown root/config: all lanes
8888- Before handoff/push: `pnpm check:changed`. Tests-only: `pnpm test:changed`. Full prod sweep: `pnpm check`.
89+- Rebase sanity: after a green `pnpm check:changed`, a clean rebase onto current
90+`origin/main` does not require rerunning the full changed gate when the rebase
91+ has no conflicts and the branch diff is materially unchanged. Do a quick
92+`git status`, `git diff --check`, and diff/stat sanity check; rerun targeted or
93+ full checks only if conflict resolution, upstream overlap, generated drift,
94+ dependency/config changes, or touched-file content changes make the prior
95+ result stale.
8996- Landing on `main`: verify touched surface near landing. Default feasible bar: `pnpm check` + `pnpm test`.
9097- Hard build gate: `pnpm build` before push if build output, packaging, lazy/module boundaries, or published surfaces can change.
9198- Do not land related failing format/lint/type/build/tests. If unrelated on latest `origin/main`, say so with scoped proof.
@@ -132,7 +139,9 @@ Telegraph style. Root rules only. Read scoped `AGENTS.md` before subtree work.
132139- Commit via `scripts/committer "<msg>" <file...>`; stage intended files only. It formats staged files; still run gates.
133140- Commits: conventional-ish, concise, grouped.
134141- No manual stash/autostash unless explicit. No branch/worktree changes unless requested.
135-- `main`: no merge commits; rebase on latest `origin/main` before push.
142+- `main`: no merge commits; rebase on latest `origin/main` before push. Do not
143+ keep chasing `main` with repeated full gates after one green run plus a clean
144+ rebase sanity pass.
136145- User says `commit`: your changes only. `commit all`: all changes in grouped chunks. `push`: may `git pull --rebase` first.
137146- Do not delete/rename unexpected files; ask if blocking, else ignore.
138147- Bulk PR close/reopen >5: ask with count/scope.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。