When ending a work session, complete the steps below. Work is NOT complete until git push succeeds.
MANDATORY WORKFLOW:
- Capture follow-up work - Note anything that still needs doing in the handoff.
- Run quality gates (if code changed) - Tests, linters, builds.
- PUSH TO REMOTE - This is MANDATORY:
git pull --rebase git push git status # MUST show "up to date with origin" - Clean up - Clear stashes, prune remote branches.
- Verify - All changes committed AND pushed.
- Hand off - Provide context for next session.
CRITICAL RULES:
- Work is NOT complete until
git pushsucceeds. - NEVER stop before pushing - that leaves work stranded locally.
- NEVER say "ready to push when you are" - YOU must push.
- If push fails, resolve and retry until it succeeds.