fix(review): address 4 Copilot comments

- Add model attribution to no-findings LGTM path
- Handle empty string from getModel() with .trim() || 'unknown'
- Add tests for {{model}} with args and empty model ID
- Fix doc contradiction: PR autofix pushes automatically from worktree

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
wenshao 2026-04-07 03:13:23 +08:00
parent a5cc2c38cb
commit 08a797cf76
4 changed files with 47 additions and 3 deletions

View file

@ -89,7 +89,7 @@ Found 3 issues with auto-fixable suggestions. Apply auto-fixes? (y/n)
- Fixes are applied using the `edit` tool (targeted replacements, not full-file rewrites)
- Per-file linter checks run after fixes to verify they don't introduce new issues
- For PR reviews, fixes are committed on the PR branch — you need to `git push` to update the PR
- For PR reviews, fixes are committed and pushed from the worktree automatically
- Nice to have and low-confidence findings are never auto-fixed
- For PR reviews, autofix operates in an isolated worktree — your working tree stays clean. Fixes are committed and pushed directly from the worktree.