diff --git a/.claude/commands/laputa-done.md b/.claude/commands/laputa-done.md index 4adfd704..8af097ba 100644 --- a/.claude/commands/laputa-done.md +++ b/.claude/commands/laputa-done.md @@ -2,7 +2,13 @@ Mark a Laputa task as done: add completion comment, move to In Review, notify Brian, then self-dispatch the next task. -Run this after Phase 1 (Playwright) and Phase 2 (native app QA) both pass. +Run this after Phase 1 (Playwright) and Phase 2 (native app QA) both pass **and `git push origin main` has succeeded**. + +⚠️ A task is NOT done until the push succeeds. If the push is blocked by the pre-push hook (clippy, tests, CodeScene, build): +- Read the error +- Fix it (never use `--no-verify`) +- Commit the fix and push again +- Repeat until push exits with code 0 ## Steps diff --git a/CLAUDE.md b/CLAUDE.md index 83bd6733..dd3c0433 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -55,6 +55,7 @@ After both phases pass, run `/laputa-done ` → moves to In Review, not - Push directly to `main` — no PRs, no branches - Pre-push hook runs full check suite (build + tests + Playwright + CodeScene) +- **A task is NOT done until `git push origin main` succeeds.** If the hook blocks: read the error, fix it (clippy, tests, CodeScene, build), commit the fix, push again. Never use `--no-verify`. - **⛔ NEVER use --no-verify** ### TDD (mandatory)