refactor(code-review): add rename detection to git change discovery

Step-01 substep-4:
- Use git diff -M to detect renamed/moved files
- Include deleted, renamed files in git_changed_files
- Adversarial reviewer needs to see deletions (e.g., critical code removed)
- Downstream steps will handle these appropriately (documented in implementation-notes)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
This commit is contained in:
Alex Verkhovsky 2026-01-05 05:54:32 -08:00
parent 59c58b2e2c
commit 71a1c325f7
1 changed files with 3 additions and 3 deletions

View File

@ -70,11 +70,11 @@ Check if git repository exists.
```bash ```bash
git status --porcelain git status --porcelain
git diff --name-only git diff -M --name-only
git diff --cached --name-only git diff -M --cached --name-only
``` ```
Compile `git_changed_files` = union of modified, staged, and new files. Compile `git_changed_files` = union of modified, staged, new, deleted, and renamed files.
### 5. Cross-Reference Story vs Git ### 5. Cross-Reference Story vs Git