1
0

[claude] Fix empty commits: require git add before commit in Kimi workflow (#1268) (#1288)

This commit is contained in:
2026-03-24 01:48:34 +00:00
parent 823216db60
commit cc8ed5b57d

View File

@@ -62,6 +62,9 @@ Per AGENTS.md roster:
- Run `tox -e pre-push` (lint + full CI suite)
- Ensure tests stay green
- Update TODO.md
- **CRITICAL: Stage files before committing** — always run `git add .` or `git add <files>` first
- Verify staged changes are non-empty: `git diff --cached --stat` must show files
- **NEVER run `git commit` without staging files first** — empty commits waste review cycles
---