Run tests, then create a git commit for all current changes.
Steps:
- •Run
uv run pytest -vand confirm all tests pass. If any fail, stop and report the failures — do not commit. - •Run
git statusandgit diffto review all changes (staged and unstaged). - •Run
git log --oneline -5to see recent commit message style. - •Stage all relevant changed files by name (never use
git add .orgit add -A). Do not stage files that look like secrets (.env, credentials, etc.). - •Write a concise commit message (1-2 sentences) that focuses on the "why" not the "what". Follow the style of recent commits.
- •Commit with the message, appending:
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> - •Run
git statusto confirm the commit succeeded. - •Push to the remote with
git push.
If there are no changes to commit, say so and stop.