{
  "feature_id": "F-144",
  "agent": "qa",
  "stage": "qa_gate",
  "verdict": "APPROVED",
  "summary": "reporting-snapshots.itest.ts 3/3 green against real PostgreSQL (migration applied 001→048 on a fresh DB); full unit suite green (DB itests skipped w/o TEST_DATABASE_URL, 0 regressions); tsc 0; boundaries 0 new; verify.sh green.",
  "checks": [
    {"item": "AC1/AC2/AC3 verified against real DB", "ok": true, "evidence": "reporting-snapshots.itest.ts 3 passed: columns/nullability/defaults, FK contype='f', pg_indexes index, INSERT backfill store_id=DEFAULT_STORE_ID + shipping_cents=0"},
    {"item": "Migration idempotency (re-run)", "ok": true, "evidence": "re-running up() is a no-op (IF NOT EXISTS + DO guard); applied clean on dev mercadodevida + recreated test DB"},
    {"item": "Reversibility", "ok": true, "evidence": "down() drops index/constraint/columns via IF EXISTS; schema-only rollback path documented"},
    {"item": "No regression (full suite)", "ok": true, "evidence": "tsc --noEmit 0 errors; reporting API/routes unchanged from F-143; orders_orders INSERT without explicit store_id still valid via column DEFAULT (AC7)"},
    {"item": "verify.sh", "ok": true, "evidence": "exit 0 (backlog 270 features valid, runtime consistent, 0 in_progress after close)"}
  ],
  "issues": []
}
