Commit Graph

7 Commits

Author SHA1 Message Date
Sven (AAMOS AI) ec0b64efe8 feat(recipes): MIKRO KRAM-1 variera Krämig-titlar (behåll ~4 genuint krämiga) 2026-08-17 19:34:42 +07:00
Sven (AAMOS AI) 92b1ee54c6 content(seed): 5 svenska högtidsrecept (gravlax, toast skagen, julskinka, lussekatter, saffransbullar) (MIKRO INNEHÅLL-3) 2026-08-15 18:36:31 +07:00
Sven (AAMOS AI) 14a4fd85aa content(seed): tagga köttbullar (jul) + sill (jul/påsk) för högtidssök (MIKRO INNEHÅLL-1)
CI / Typecheck, test & build (push) Failing after 49s
2026-08-14 23:11:37 +07:00
Sven (AAMOS AI) c32a7e33c7 ci: trigga på master + formatfix inför Gitea Actions
CI / Typecheck, test & build (push) Failing after 2s
2026-08-13 17:25:14 +07:00
Sven (AAMOS AI) c60158801d gapfill: jordnötssmör-cellen fylld (4 recept) 2026-08-11 19:19:23 +07:00
Sven (AAMOS AI) 989c242d2c gapfill: importera nollcells-recept i seed 2026-08-11 06:42:09 +07:00
Sven (AAMOS AI) b1b6eb994c feat(seed): import 246 verified recipes as committed seed catalog
- Convert C:\Users\Public\cibello-verified-final-result.json to
  packages/database/src/seed/data/verified-recipes.ts (committed, hermetic).
- Replace/extend the 23 placeholder SEED_RECIPES via re-export.
- Upsert on slug with onConflictDoUpdate of ALL recipe fields.
- Hard-reject recipes with unmapped canonical ingredients (0 rejected this batch).
- Derive allergens and compute nutrition per portion from ingredients at seed time.
- Run food-safety lint; auto-patch 8 legacy raw-protein recipes with safe-cooking phrase.
- Resolve 4 suspected title duplicates via variantOfSlug.
- Guard brand name: creatorDisplayName uses BRAND.name, never JSON placeholder.
- Preserve verificationStatus (editorial/verified) and source-registry FKs.
- Extend allergen-invariant test to cover full 246-recipe catalog.
- Stabilise API tests by disabling file parallelism (flakiness from shared DB state).

Refs: seed pipeline, brand-guard, safety canary
2026-08-11 00:47:08 +07:00