Update Catalog Prompt Slots Migration and Documentation
Deploy Development / deploy (push) Successful in 43s
Test Suite / pytest-backend (push) Successful in 44s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / build-frontend (push) Successful in 16s
Test Suite / k6 /health Baseline (push) Successful in 35s
Test Suite / playwright-tests (push) Successful in 1m14s

- Modified migration 092 to clarify the purpose of the catalog prompt slots and removed unnecessary seed data, emphasizing that primary focus data is tenant-specific.
- Updated migration 094 to eliminate the full seed process, reflecting the decision to manage catalog prompt slots content through the admin UI or fallback mechanisms.
- Revised documentation to indicate the absence of migration seeds and the reliance on runtime fallbacks for catalog prompt slots, ensuring clarity for future development.
This commit is contained in:
Lars committed 2026-06-18 11:22:33 +02:00
1 parent 90e8f51566
commit 35fe31774b
4 files changed
+23 -260

No files matched your search

@@ -115,6 +115,8 @@ UNIQUE (catalog_kind, catalog_id, slot_key)
Neuer Katalog-Eintrag im Admin → **keine** Code-Änderung; Slots optional befüllen.
**Keine Migrations-Seeds:** Primärfokus und andere Stammdaten sind pro Umgebung unterschiedlich. Leere `catalog_prompt_slots` sind normal; zur Laufzeit greifen Namens-Fallbacks (`catalog_slot_fallbacks.py`) und die `description`-Spalte der Stammdaten.
---
## 7. Laufzeit-Architektur
@@ -162,7 +164,7 @@ Hardcodierte `SNIPPET_REGISTRY` — Proof of Concept für `catalog_guidance_bloc
### H2 — Slot-Modell (0.8.235) ✓
- [x] Tabellen `catalog_prompt_slot_types`, `catalog_prompt_slots`
- [x] Seed aus H1-Texten (Name-Match auf Stammdaten)
- [x] Seed aus H1-Texten (Name-Match auf Stammdaten) — **entfernt (095)**: keine Migrations-Seeds; Inhalte Admin oder `catalog_slot_fallbacks.py`
- [x] Resolver mit granularen Platzhaltern + Aggregat
- [x] Admin-API GET/PUT
- [x] `SNIPPET_REGISTRY` aus Laufzeit-Pfad entfernt