- CLAUDE.md: 97->63 lines, drop dev-commands and Don't duplicates already covered by .claude/rules/* - git-pr.md, deploy.md: replace gh CLI with Forgejo MCP/curl - code-reviewer.md: fix mcp__postgres__ -> mcp__postgres-gendesign__ - tech-analyst.md: sonnet -> haiku - deep-code-reviewer.md: 391->135 lines, phase details split into .claude/agents/deep-review-phases/ (loaded on demand) - qa-tester, code-reviewer, deep-code-reviewer: add memory: project - ui-ux.md: split into ui-tokens/ui-conventions/ui-microcopy - scripts/claude-hooks/check-no-print.py + PostToolUse hook - .gitignore: explicit list (git whitelist limitation)
1.5 KiB
1.5 KiB
Deep Review — Phase 2: Cross-file impact analysis
Supporting reference. Это отличает deep от обычного review.
Для каждого изменённого файла из P0-P1 — найди что зависит от него:
# Кто импортирует изменённый module?
git grep -l "from app.services.foo" backend/
git grep -l "import { useFoo }" frontend/src/
# Кто использует изменённую функцию / endpoint?
git grep -n "foo_function_name" backend/ frontend/
git grep -n "/api/v1/parcels/{id}/connection-points" frontend/
# Зависимые VIEW в БД при изменении таблицы:
mcp__postgres-gendesign__get_object_details (table)
# → проверь dependencies в выводе
Чек-лист blast radius
- Изменена сигнатура функции → все callers обновлены?
- Удалён endpoint → frontend перестал его звать?
- Поменялась response shape → TanStack Query cache invalidate? TS types regen (
npm run codegen)? - Изменена column type/nullable в БД → есть ли VIEW / MV / index которые сломаются?
- Удалён column → есть ли scraper / Celery task который пишет туда?
- Изменён Celery task name / signature → producers обновлены?
- Удалён ENV var → есть ли deploy.yml / docker-compose / .env.example который ссылается?