From 6c83cecdee2ead1863c11316c92514ed1fbce297 Mon Sep 17 00:00:00 2001 From: WiFiLabel Date: Fri, 23 Oct 2026 10:30:36 -0400 Subject: [PATCH] Keep the ship-loop rule local and out of git. --- .cursor/rules/ship-loop.mdc | 24 ------------------------ .gitignore | 3 +++ 2 files changed, 3 insertions(+), 24 deletions(-) delete mode 100644 .cursor/rules/ship-loop.mdc diff --git a/.cursor/rules/ship-loop.mdc b/.cursor/rules/ship-loop.mdc deleted file mode 100644 index 22f31e8..0000000 --- a/.cursor/rules/ship-loop.mdc +++ /dev/null @@ -1,24 +0,0 @@ ---- -description: Ship loop for WiFiLabel/label-toolkit. Use when opening a PR, reviewing, merging, or verifying an npm release. -alwaysApply: false ---- - -# Ship loop - -Start from the latest `origin/main`: fetch, check out `main`, hard-reset to that tip, then branch. Do not reuse a stale local `main`. - -Remote must be `github.com/WiFiLabel/label-toolkit`. No `mosvov/` fork. Do not change git config. Every commit, including the merge, uses: - -```bash -GIT_AUTHOR_NAME=WiFiLabel GIT_AUTHOR_EMAIL=hello@wifilabel.com \ -GIT_COMMITTER_NAME=WiFiLabel GIT_COMMITTER_EMAIL=hello@wifilabel.com \ - git commit -``` - -`git log -1 --format='%an %ae %cn %ce'` must print `WiFiLabel hello@wifilabel.com` twice. - -- Open the PR on `WiFiLabel/label-toolkit`. -- Review the full diff. Fix every finding in a new WiFiLabel commit. Review the fixes. -- Merge only when CI is green and no finding is still open. Merge locally with `--no-ff`, then push `main`. If `main` is protected, `gh pr merge --merge` and confirm the change commits are still WiFiLabel. -- Wait for CI on `main`. The Release workflow publishes when that CI succeeds and no changeset file is left. -- Verify every package that should have changed (version, homepage, keywords, README), not one sample. Registry lag means wait and re-fetch. A real miss means a new branch from latest `main` and the same loop again. diff --git a/.gitignore b/.gitignore index 8a90cc5..b21f007 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,9 @@ c/examples/esp-idf-basic/sdkconfig.old c/examples/esp-idf-basic/managed_components/ c/examples/esp-idf-basic/dependencies.lock .DS_Store + +# Local ship-loop rule. Kept on disk, not in git. +.cursor/rules/ship-loop.mdc apps/tools/.next/ apps/tools/test-results/ apps/tools/playwright-report/