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:
parent
59c58b2e2c
commit
71a1c325f7
|
|
@ -70,11 +70,11 @@ Check if git repository exists.
|
|||
|
||||
```bash
|
||||
git status --porcelain
|
||||
git diff --name-only
|
||||
git diff --cached --name-only
|
||||
git diff -M --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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue