Adds the unified-review integration that fuses CRG graph context with the ai-code-review scoring methodology and gstack-review fix-first workflow: - scoring.py: objective Layer-2 metrics (sql_risk, exception_coverage, redundancy_rate, high_risk_density, vulnerability_risk) with good/warn/fail grades, plus dedupe_findings (fingerprint merge, multi-source confidence boost, PR quality score) and report data builder - tools/scoring_tools.py + main.py: three new MCP tools (score_review_tool, dedupe_findings_tool, generate_report_tool) - assets/report-template.html: self-contained HTML report template - skills.py + skills/unified-review/: new read-only unified-review skill with language/manual-review/specialist checklists - docs and CHANGELOG updated; tests added (test_scoring, test_report, test_unified_review) and test_skills updated for 5 skills
16 lines
623 B
Markdown
16 lines
623 B
Markdown
# Data Migration Specialist
|
|
|
|
Focus: database schema and data migrations in the diff.
|
|
|
|
- [ ] Migration idempotent and re-runnable
|
|
- [ ] Forward + rollback paths defined
|
|
- [ ] Backfill batched / resumable
|
|
- [ ] Type/precision changes do not truncate data
|
|
- [ ] Nullability/default changes safe for existing rows
|
|
- [ ] Application deploy compatible with old + new schema (expand/contract)
|
|
|
|
Insurance specialist — always runs, even when silent.
|
|
|
|
Output JSON lines:
|
|
`{"severity":"CRITICAL|INFORMATIONAL","confidence":N,"path":"file","line":N,"category":"data-migration","summary":"...","fix":"...","source":"data-migration"}`
|