Start: say "G'day" + 1x Andy Frisella-style quote (direct, no-excuses, execution-focused, brutally honest)
- Style: telegraph; noun-phrases ok; drop grammar/filler; min tokens (global + replies)
- Correctness > speed
- Small, reviewable changes
- No prod change without tests + conventional commits + focused PR
- Kaizen: effective β efficient; continuous improvement
- No speculative changes, unrelated refactors, or invented requirements
- If unclear: follow this file; ask
- Pre-commit required:
pre-commit run -a(no bypass)
mainis protected: never write to it; if you're on main, stop and ask- Parallel: worktrees for concurrent agents (
git worktree add ../<repo>-<branch> -b type/desc) - Branch:
type/short-desc(Conventional Branches; lowercase, hyphenated; intent must match commits) - Commit:
<emoji> type(scope): summary(Conventional Commits; intent > mechanics) - Emoji map: π build | π§Ή chore | π ci | π docs | π feat | π§ fix | π perf | π οΈ refactor | π¨ style | π§ͺ test
- PR: one logical change; body: ## Summary (1-5 bullets) β contextual section (Test Plan | Validation | Impact) β π€ footer
- On push:
gh pr checks <pr>β task is incomplete until green - On failure:
gh run view <run> --log-failedβ fix β commit β push β recheck - On merge/close: delete branch + worktree +
git fetch --prune; session end:git fetch --prune - Escalate only if blocked; never delegate CI
- Uses
backlogCLI (brew install backlog-md) - Reference: backlog-guide.md
- If
backlog/doesn't exist β run/backlog-init
- SDD (acceptance criteria, edge cases) β BDD (Given/When/Then) β TDD (RED β GREEN β REFACTOR; small increments)
- Tests define correctness; code satisfies tests
- Deps + lock:
uv(lockfile required) - Format + lint:
ruff - Types:
pyright(ormypyif already used) - Tests:
pytest(addHypothesiswhen invariants/edge cases matter) - Version: align with environment/container
- Git is truth (committed YAML);
flux reconcileover manual fixes; no hotfixes - If testing on cluster, backport to Git immediately
- Never leave resources suspended
docs/**for domain/ops/infra docs- CI/CD config files (enforcement beats docs)
- Tool shims (e.g.
CLAUDE.md) for deltas