feat: Issue #28 complete - unified prompt system (Phase 4)
Cleanup & Documentation: - Removed deprecated components: PipelineConfigModal, PromptEditModal - Updated CLAUDE.md with Issue #28 summary - Kept old backend endpoints for backward-compatibility Summary of all 4 phases: ✅ Phase 1: DB Migration (unified schema) ✅ Phase 2: Backend Executor (universal execution engine) ✅ Phase 3: Frontend UI (consolidated interface) ✅ Phase 4: Cleanup & Docs Key improvements: - Unlimited dynamic stages (no hardcoded limit) - Multiple prompts per stage (parallel execution) - Base prompts (reusable) + Pipeline prompts (workflows) - Inline templates or references - JSON output enforceable - Cross-module correlations possible Ready for testing on dev.mitai.jinkendo.de
This commit is contained in:
1 parent
31e2c24a8a
commit
2f3314cd36
3 files changed
+48
-951
No files matched your search
@@ -56,7 +56,7 @@ frontend/src/
|
||||
└── technical/ # MEMBERSHIP_SYSTEM.md
|
||||
```
|
||||
|
||||
## Aktuelle Version: v9c (komplett) 🚀 Production seit 21.03.2026
|
||||
## Aktuelle Version: v9d + Issue #28 🚀 Development seit 25.03.2026
|
||||
|
||||
### Implementiert ✅
|
||||
- Login (E-Mail + bcrypt), Auth-Middleware alle Endpoints, Rate Limiting
|
||||
@@ -188,6 +188,53 @@ frontend/src/
|
||||
|
||||
📚 Details: `.claude/docs/technical/MEMBERSHIP_SYSTEM.md` · `.claude/docs/architecture/FEATURE_ENFORCEMENT.md`
|
||||
|
||||
### Issue #28: Unified Prompt System ✅ (Development 25.03.2026)
|
||||
|
||||
**AI-Prompts Flexibilisierung - Komplett überarbeitet:**
|
||||
|
||||
- ✅ **Unified Prompt System (4 Phasen):**
|
||||
- **Phase 1:** DB-Migration - Schema erweitert
|
||||
- `ai_prompts` um `type`, `stages`, `output_format`, `output_schema` erweitert
|
||||
- Alle Prompts zu 1-stage Pipelines migriert
|
||||
- Pipeline-Configs in `ai_prompts` konsolidiert
|
||||
- **Phase 2:** Backend Executor
|
||||
- `prompt_executor.py` - universeller Executor für base + pipeline
|
||||
- Dynamische Placeholder-Auflösung (`{{stage_N_key}}`)
|
||||
- JSON-Output-Validierung
|
||||
- Multi-stage parallele Ausführung
|
||||
- Reference (Basis-Prompts) + Inline (Templates) Support
|
||||
- **Phase 3:** Frontend UI Consolidation
|
||||
- `UnifiedPromptModal` - ein Editor für beide Typen
|
||||
- `AdminPromptsPage` - Tab-Switcher entfernt, Type-Filter hinzugefügt
|
||||
- Stage-Editor mit Add/Remove/Reorder
|
||||
- Mobile-ready Design
|
||||
- **Phase 4:** Cleanup & Docs
|
||||
- Deprecated Komponenten entfernt (PipelineConfigModal, PromptEditModal)
|
||||
- Old endpoints behalten für Backward-Compatibility
|
||||
|
||||
**Features:**
|
||||
- Unbegrenzte dynamische Stages (keine 3-Stage Limitierung mehr)
|
||||
- Mehrere Prompts pro Stage (parallel)
|
||||
- Zwei Prompt-Typen: `base` (wiederverwendbar) + `pipeline` (Workflows)
|
||||
- Inline-Templates oder Referenzen zu Basis-Prompts
|
||||
- JSON-Output erzwingbar pro Prompt
|
||||
- Cross-Module Korrelationen möglich
|
||||
|
||||
**Migrations:**
|
||||
- Migration 020: Unified Prompt System Schema
|
||||
|
||||
**Backend Endpoints:**
|
||||
- `POST /api/prompts/execute` - Universeller Executor
|
||||
- `POST /api/prompts/unified` - Create unified prompt
|
||||
- `PUT /api/prompts/unified/{id}` - Update unified prompt
|
||||
|
||||
**UI:**
|
||||
- Admin → KI-Prompts: Type-Filter (Alle/Basis/Pipeline)
|
||||
- Neuer Prompt-Editor mit dynamischem Stage-Builder
|
||||
- Inline editing von Stages + Prompts
|
||||
|
||||
📚 Details: `.claude/docs/functional/AI_PROMPTS.md`
|
||||
|
||||
## Feature-Roadmap
|
||||
|
||||
> 📋 **Detaillierte Roadmap:** `.claude/docs/ROADMAP.md` (Phasen 0-3, Timeline, Abhängigkeiten)
|
||||
|
||||
Reference in new issue
Block a user