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

Merged
claude merged 1 commits from claude/issue-1268 into main 2026-03-24 01:48:35 +00:00

View File

@@ -62,6 +62,9 @@ Per AGENTS.md roster:
- Run `tox -e pre-push` (lint + full CI suite) - Run `tox -e pre-push` (lint + full CI suite)
- Ensure tests stay green - Ensure tests stay green
- Update TODO.md - 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
--- ---