Commit all pending changes in logical groupings
Commit all changed files in logically connected groupings with detailed commit messages. Do not edit any code. Do not commit ephemeral files. Use ultrathink.
git status
git diff
Always flush the beads database and stage .beads/ so code and tracking stay in sync:
# Preferred:
./robot sync
# Fallback:
br sync --flush-only
git add .beads/
Group by:
Stage specific files — never git add -A blindly:
git add <specific-files>
git commit -m "$(cat <<'EOF'
<type>(<scope>): <short description>
<detailed body:>
- What was changed
- Why it was changed
- Any important implementation details
Co-Authored-By: Claude <[email protected]>
EOF
)"
Run the check commands specified in AGENTS.md's Quick Reference section. These vary by project and by development phase — use whatever applies (build, typecheck, lint, test):
# Example — use the actual commands from AGENTS.md, not these:
# npm run build (mockup phase)
# bun run typecheck (production phase)
# bun run lint (production phase)
If any check fails, fix the issue before proceeding. Do not commit broken code.
Do NOT run git push yourself. Send a message via MCP Agent Mail to the git manager summarizing what was committed and requesting a push. Include:
.env, .env.local — secretsnode_modules/, .next/, dist/, out/ — build artifacts and dependencies*.log files.DS_Store.beads/ alongside code — never separate them