{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/docs\/plan-form-components-refactoring.md",
"offset": 548,
"limit": 40
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/docs\/plan-form-components-refactoring.md",
"content": "```\n\n**Option B: Config-Sync via Cron**\n```bash\n# \/opt\/scripts\/sync-collections-config.py\n# Liest aus DB, schreibt config.py\n```\n\n**Empfehlung:** Option A - direkte DB-Abfrage für Konsistenz.\n\n### 0b.10 Migrations-Schritte (Collection-Verwaltung)\n\n1. [ ] Tabelle `rag_collections` in `ki_dev` erstellen\n2. [ ] `CollectionRepository` erstellen\n3. [ ] `QdrantService::syncCollections()` implementieren\n4. [ ] Route `\/ressourcen\/collections` anlegen\n5. [ ] `RessourcenController::collectionsIndex()` implementieren\n6. [ ] View `\/ressourcen\/collections\/index.php` erstellen\n7. [ ] Sync-Button implementieren\n8. [ ] Bearbeiten-Funktionalität\n9. [ ] Initial-Sync durchführen\n10. [ ] `ChatController` auf `CollectionRepository` umstellen\n11. [ ] `ContentController` auf `CollectionRepository` umstellen\n12. [ ] Partial `collections-select.php` erstellen\n13. [ ] Chat und Content auf Partial umstellen\n14. [ ] Python-Pipeline auf DB-Query umstellen\n15. [ ] Semantic Explorer auf Repository umstellen\n\n---\n\n## 0d. User-Präferenzen (Zentrale Defaults)\n\n### 0d.1 Architektur-Entscheidung\n\n**Gewählt: User-Profil in Datenbank**\n\n- Zentrale Tabelle `user_preferences`\n- Admin-Seite `\/ressourcen\/profil`\n- Sync über alle Geräte\n- Zukunftssicher für Multi-User",
"numLines": 40,
"startLine": 548,
"totalLines": 3947
}
}
}