Enhance Planning Catalog Context Integration in Progression Path
Deploy Development / deploy (push) Successful in 45s
Test Suite / pytest-backend (push) Successful in 43s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m15s
Deploy Development / deploy (push) Successful in 45s
Test Suite / pytest-backend (push) Successful in 43s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 33s
Test Suite / playwright-tests (push) Successful in 1m15s
- Updated `PROJECT_STATUS.md` to reflect the addition of the Planning AI Progression Graph and its context in the roadmap. - Enhanced `DOMAIN_MODEL.md` with details on the new `planning_catalog_context` features, allowing trainers to manage curriculum stages and context. - Added tests in `test_planning_catalog_context.py` to validate the separation of LLM highlights from fix hints during QA processes. - Updated `HANDOVER.md` and `PLANNING_KI_ROADMAP.md` to reflect the latest app version and improvements in the planning context. - Enhanced frontend components to support the new planning catalog context, including updates to `ExerciseProgressionPathBuilder` and `ProgressionGraphEditor`. - Bumped version to 0.8.233 to reflect the new features and improvements.
This commit is contained in:
1 parent
6ab2f20f08
commit
f3710ac0a1
11 files changed
+643
-198
No files matched your search
@@ -1,7 +1,7 @@
|
||||
# Planungs-KI — Produkt-Roadmap
|
||||
|
||||
**Stand:** 2026-05-22
|
||||
**App-Version:** **0.8.217** — maßgeblich `backend/version.py`
|
||||
**App-Version:** **0.8.233** — maßgeblich `backend/version.py`
|
||||
|
||||
Diese Roadmap ergänzt die **Architektur-Refaktor-Roadmap** (`UMSETZUNGSPLAN_ROADMAP.md`) und gilt **nur für KI-gestützte Trainingsplanungsunterstützung**.
|
||||
|
||||
@@ -13,9 +13,10 @@ Diese Roadmap ergänzt die **Architektur-Refaktor-Roadmap** (`UMSETZUNGSPLAN_ROA
|
||||
## Strategische Entscheidung (verbindlich)
|
||||
|
||||
1. **Progressionsgraph:** Planung **vom Ziel rückwärts** (Roadmap-first), nicht Bibliothek-first.
|
||||
2. **Keine Gruppenanalyse** im Graphen — Kontext = Zieltext, Thema, Schrittanzahl, optional Graph-Kanten.
|
||||
3. **Trainingsplanung** (Einheit, Rahmen, Abschnitt): eigene Pipeline später, **mit** Gruppenkontext — siehe `AI_PLANNING_KI_MULTISTAGE_FORECAST.md` S0–S4.
|
||||
4. **Orchestrierung:** Workflow-**lite** jetzt (`planning_progression_roadmap.py`); Mitai Workflow-Engine **später**, wenn 2–3 Pipelines stabil sind.
|
||||
2. **Keine Gruppenanalyse** im Graphen — Kontext = Zieltext, Katalog-Dimensionen, Start/Ziel, Roadmap, optional Graph-Kanten.
|
||||
3. **Drei Schichten statt monolithischem Vokabular:** Katalog (DB) · Technik-Disambiguierung (Code, nur bei Technik-Themen) · Didaktik (Roadmap + LLM-QS).
|
||||
4. **Trainingsplanung** (Einheit, Rahmen, Abschnitt): eigene Pipeline (Phase G), **mit** Gruppenkontext — siehe `AI_PLANNING_KI_MULTISTAGE_FORECAST.md` S0–S4 und Ist-Doku §16.
|
||||
5. **Orchestrierung:** Workflow-**lite** jetzt (`planning_progression_roadmap.py`, `planning_exercise_path_builder.py`); Mitai Workflow-Engine **später**, wenn Phase G stabil ist.
|
||||
|
||||
---
|
||||
|
||||
@@ -27,84 +28,138 @@ Diese Roadmap ergänzt die **Architektur-Refaktor-Roadmap** (`UMSETZUNGSPLAN_ROA
|
||||
| A–C2 | Übungssuche | Voll-Library, Graph, Varianten | ✅ |
|
||||
| C3 | Progressionsgraph | Pfad-Builder (retrieval-first) | ✅ |
|
||||
| E–E3 | Progressionsgraph | Semantik, QA, Lücken-Angebote | ✅ |
|
||||
| **F0–F4** | Progressionsgraph | Roadmap-Pipeline, LLM, roadmap-first, UI Review | ✅ **0.8.204–209** |
|
||||
| **F0–F4** | Progressionsgraph | Roadmap-Pipeline, LLM, roadmap_first, UI Review | ✅ **0.8.204–209** |
|
||||
| **F5–F9** | Progressionsgraph | Start/Ziel, Gap-Prep, Skill-Expectations, Persistenz | ✅ **0.8.210–217** |
|
||||
| **F10** | Progressionsgraph | Stufen-Lernziel-Gate, kein blindes Rank-Fallback | ✅ **0.8.218** |
|
||||
| **F11–F12** | Progressionsgraph | Auto-Rematch, Spec-Refine, QS-Pipeline-Timing | ✅ **0.8.225–0.8.232** |
|
||||
| **F13–F14** | Progressionsgraph | Katalog-Kontext + GraphEditor-Workbench | ✅ **0.8.233** |
|
||||
| D | Übungs-Neuanlage | `planning_context` an `suggestExerciseAi` | ✅ **0.8.208** |
|
||||
| **UX** | Progressionsgraph | Wizard/Stepper statt Scroll-UI | 🔲 |
|
||||
| G | Trainingsplanung | Kontext-Pack Gruppe/Historie, S0–S4 | 🔲 |
|
||||
| H | Plattform | Mitai-Workflow-Engine (optional) | 🔲 Backlog |
|
||||
| **UX** | Progressionsgraph | Wizard/Stepper; PathBuilder-Parität Katalog | 🔲 |
|
||||
| **D′** | Progressionsgraph | Auto KI-Gap-Fill bei persistent leeren Slots | 🔲 Backlog |
|
||||
| **G** | Trainingsplanung | Kontext-Pack Gruppe/Historie, G0–G4 | 🔲 |
|
||||
| **H** | Plattform | Technik-Katalog konfigurierbar; Mitai-Workflow | 🔲 Backlog |
|
||||
|
||||
---
|
||||
|
||||
## Phase F — Progressions-Roadmap (aktiver Fokus)
|
||||
## Phase F — Progressions-Roadmap (abgeschlossen bis F14)
|
||||
|
||||
### F0 — Foundation (0.8.204)
|
||||
Details und Module: **`PLANNING_PROGRESSION_GRAPH_KI.md`**.
|
||||
|
||||
- [x] Spec `PLANNING_PROGRESSION_ROADMAP_SPEC.md`
|
||||
- [x] Modul `planning_progression_roadmap.py` (Pydantic, Pipeline-Skeleton)
|
||||
- [x] Migration **078** Prompt-Slugs (Zielanalyse, Roadmap)
|
||||
- [x] API: `include_roadmap_preview` auf `progression-path-suggest`
|
||||
- [x] Doku: HANDOVER, PLANNING_EXERCISE_SUGGEST_CONTEXT, MULTISTAGE_FORECAST
|
||||
### F0–F9 — (Kurz, siehe Ist-Doku)
|
||||
|
||||
### F1 — Deterministische Roadmap
|
||||
- [x] F0 Foundation (0.8.204) — Spec, Pipeline-Skeleton, Prompts 078
|
||||
- [x] F1 Deterministische Roadmap — Phase A/B/C heuristisch
|
||||
- [x] F2 LLM Roadmap (0.8.205) — Prompts 078/079
|
||||
- [x] F3 roadmap-first (0.8.206) — Match pro `stage_spec`, `roadmap_unfilled`
|
||||
- [x] F4 UI Review (0.8.207) — `roadmap_override`, Major Steps editierbar
|
||||
- [x] F5 Start/Ziel (0.8.210–214) — Prompt **087**, Zwei-Schritt-UI
|
||||
- [x] F6 Gap-KI-Kontext (0.8.212–214) — `ExerciseGapFillPrepModal`
|
||||
- [x] F7 Fähigkeiten-Scoring (0.8.215–216) — `planning_skill_expectations`
|
||||
- [x] F8 Stufen-Details UI (0.8.216) — editierbare `stage_specs`
|
||||
- [x] F9 Persistenz (0.8.217) — Migration **088** `planning_roadmap` JSONB
|
||||
|
||||
- [x] Phase A aus Semantic Brief
|
||||
- [x] Phase B: `micro_objectives` aus `development_arc` + Konsolidierung auf N
|
||||
- [x] Phase C: heuristische `stage_specs`
|
||||
- [ ] pytest für Konsolidierung
|
||||
### F10 — Stufen-Qualität (0.8.218)
|
||||
|
||||
### F2 — LLM Roadmap (0.8.205)
|
||||
- [x] Stufen-Lernziel-Gate — kein Rank-Fallback ohne Pass
|
||||
- [x] Anti-Pattern-Sanitizer, `stage_mismatch` → leerer Slot + Gap
|
||||
|
||||
- [x] Prompts **078/079** in `ai_prompts` — Code nur Slugs (`PROMPT_SLUG_*`)
|
||||
- [x] `include_llm_roadmap` + `load_and_render_ai_prompt` + JSON-Validierung
|
||||
- [x] Deterministischer Fallback wenn Prompt/OpenRouter fehlt
|
||||
- [ ] Response/UI: genutzte `prompt_slugs` sichtbar machen (Admin-Hinweis)
|
||||
### F11 — Auto-Optimierung (0.8.225–0.8.230)
|
||||
|
||||
### F3 — roadmap-first (0.8.206)
|
||||
- [x] `planning_path_rematch.py` — Rematch-Schleife für `rematch_slot` / `roadmap_unfilled`
|
||||
- [x] `planning_path_refine_stage.py` — Spec-Schärfung aus QS
|
||||
- [x] `planning_path_qa_pipeline.py` — mehrstufige QS
|
||||
|
||||
- [x] Retrieval pro `major_step` + `stage_spec` statt iterativem Pfad-Bau
|
||||
- [x] Gap-Angebote für unbesetzte Roadmap-Stufen (`roadmap_unfilled`)
|
||||
- [x] QA/Lücken an Roadmap gekoppelt (`roadmap_first_lite`: keine Brücken/Reorder zwischen Major Steps)
|
||||
### F12 — Pipeline-Timing & Sync (0.8.231–0.8.232)
|
||||
|
||||
### F4 — UI (0.8.207)
|
||||
- [x] Post-Match-Gate vor Rematch-Akzeptanz
|
||||
- [x] LLM Pfad-QS **nach** Rematch
|
||||
- [x] Gap-Offers vor `path_qa`-Summary
|
||||
- [x] Frontend: `applyMatchStepsToSlots` sync per `majorStepIndex`
|
||||
|
||||
- [x] Roadmap-Review im `ExerciseProgressionPathBuilder`
|
||||
- [x] Major Steps editierbar (Phase, Lernziel, Reihenfolge) vor Übungs-Match
|
||||
- [x] API `roadmap_only` + `roadmap_override`
|
||||
### F13 — Katalog-Kontext (0.8.233)
|
||||
|
||||
### F5 — Start/Ziel (0.8.210–214)
|
||||
- [x] `planning_catalog_context.py` — Fokus, Stil, Trainingsstil, Zielgruppe
|
||||
- [x] Merge in `PlanningTargetProfile` + Text-Signale
|
||||
- [x] Persistenz im Graph-Artefakt
|
||||
- [x] Technik-Gates nur bei `topic_type == "technique"`
|
||||
|
||||
- [x] Strukturierte Felder `start_situation`, `target_state`, `roadmap_notes`
|
||||
- [x] Prompt **087** `planning_progression_start_target`
|
||||
- [x] Priorität: Trainer > KI > Regex (`resolve_roadmap_structured_input`)
|
||||
- [x] Zwei-Schritt-UI: „Start/Ziel analysieren“ / „Roadmap vorschlagen“
|
||||
### F14 — GraphEditor Workbench (0.8.233)
|
||||
|
||||
### F6 — Gap-KI-Kontext (0.8.212–214)
|
||||
- [x] `ProgressionGraphEditor` — primäre UI für Roadmap + Match + Lücken
|
||||
- [x] Vier Planungskontext-Dropdowns im Editor
|
||||
- [x] `progressionGraphDraft.js` — Artefakt + API-Payload
|
||||
|
||||
- [x] `ExerciseGapFillPrepModal` vor KI-Call
|
||||
- [x] `planning_exercise_form_context.py` — Gap-Snapshot, `context_preview`
|
||||
- [x] Migration **085** — `planning_context` in Übungs-Prompts
|
||||
### Validierung (Referenz Mae Geri, 2026-05)
|
||||
|
||||
### F7 — Fähigkeiten-Scoring (0.8.215–216)
|
||||
| Phase | Pfad-QS | Ergebnis |
|
||||
|-------|---------|----------|
|
||||
| Vor Roadmap/KI | ~65 % | Lücken, falsche Reihenfolge, Off-Topic |
|
||||
| Nach Trainer-Roadmap + KI-Gap-Fill | **~88 % OK** | Vollständige Abdeckung; positive LLM-Hinweise |
|
||||
|
||||
- [x] `planning_skill_expectations.py` (Scopes: `progression_stage`, `progression_path`)
|
||||
- [x] Pro-Stufe-Retrieval + `path_skill_expectations` + UI-Tags
|
||||
- [x] `expected_skills` in Gap-Fill
|
||||
**Fazit:** Workbench + Katalog + Roadmap sind universell; Technik-Hardcoding allein reicht für Didaktik nicht.
|
||||
|
||||
### F8 — Stufen-Details UI (0.8.216)
|
||||
---
|
||||
|
||||
- [x] Editierbare `stage_specs` in `roadmap_override` (Belastung, Erfolgskriterien, Vermeiden)
|
||||
## UX — UI-Überarbeitung (offen)
|
||||
|
||||
### F9 — Persistenz (0.8.217)
|
||||
- [ ] Wizard mit 4 Schritten (Ziel & Katalog → Roadmap → Match → Lücken)
|
||||
- [ ] Progressive disclosure — Details in Panels
|
||||
- [ ] PathBuilder-Parität: gleiche Katalog-Dropdowns wie GraphEditor
|
||||
- [ ] QS-UI: positive LLM-Hinweise als Highlights
|
||||
- Briefing: `PLANNING_PROGRESSION_GRAPH_KI.md` §12
|
||||
|
||||
- [x] Migration **088** — `planning_roadmap` JSONB am Graph
|
||||
- [x] Laden/Speichern über `GET/PUT` Graph + Sequenz-Endpoint
|
||||
---
|
||||
|
||||
### UX — UI-Überarbeitung (offen)
|
||||
## Phase D′ — Auto Gap-Fill (Backlog)
|
||||
|
||||
- [ ] Wizard mit 4 Schritten (Ziel → Roadmap → Match → Lücken)
|
||||
- [ ] Progressive disclosure — Details in Panels, nicht alles gleichzeitig
|
||||
- [ ] Briefing: `PLANNING_PROGRESSION_GRAPH_KI.md` §10
|
||||
- [ ] Bei persistent `roadmap_unfilled` automatisch KI-Vorschlag vorbereiten (ohne manuelles Modal)
|
||||
- [ ] Governance: Trainer bestätigt vor Persistenz
|
||||
|
||||
---
|
||||
|
||||
## Phase G — Trainingsplanung (komplexere Domäne)
|
||||
|
||||
**Ziel:** Einheiten, Rahmen-Slots, Abschnitte und parallele Streams KI-gestützt planen — **ohne** zweite Retrieval-Welt.
|
||||
|
||||
### Wiederverwendung aus Progressionsgraph
|
||||
|
||||
| Baustein | Progressionsgraph | Trainingsplanung |
|
||||
|----------|-------------------|------------------|
|
||||
| `PlanningTargetProfile` | Curriculum-Query + Katalog | Einheit + Abschnitt + Slot + Katalog + Historie |
|
||||
| `planning_catalog_context` | Am Graph gespeichert | Pro Einheit / Slot / Voreinstellung |
|
||||
| `planning_skill_expectations` | `progression_stage`, `progression_path` | **`training_section`**, **`framework_slot`** |
|
||||
| `planning_exercise_retrieval` | Roadmap-Stufen-Match | `suggest_planning_exercises` — **bereits produktiv** |
|
||||
| `planning_path_qa_pipeline` | Curriculum-QS | Abschnitts-QS (Kohärenz, Streams) |
|
||||
| `planning_exercise_form_context` | Pfad-Lücken | Abschnitts-/Slot-Lücken |
|
||||
| Roadmap-Pipeline | Major Steps über Wochen | **Nicht 1:1** — Phasen/Streams + Vorlagen |
|
||||
|
||||
### Was Phase G neu braucht
|
||||
|
||||
- Gruppen-/Historie-Kontext-Pack (`AI_PLANNING_KI_MULTISTAGE_FORECAST` S0–S4)
|
||||
- Abschnitts-Didaktik — Dauer, Parallel-Streams, Coaching
|
||||
- Rahmen-Blueprint-Anbindung (`training_framework_programs`, Slot-Blueprints)
|
||||
- Eigene Orchestrierung pro Einheit (kein Curriculum über N Wochen)
|
||||
|
||||
### Integrations-Reihenfolge G0–G4
|
||||
|
||||
| Schritt | Inhalt | Abhängigkeit |
|
||||
|---------|--------|--------------|
|
||||
| **G0** | Katalog in Einheits-Editor → bestehende Suggest-Pipeline | F13 ✅ |
|
||||
| **G1** | Scope `training_section` + Skill-Erwartungen aktiv | F7 ✅ |
|
||||
| **G2** | Abschnitts-QS (Hint-Struktur wie Graph) | F11–F12 ✅ |
|
||||
| **G3** | Framework-Slot + Gap-Fill | G0, G1 |
|
||||
| **G4** | Gruppenkontext-Pack | G0–G3 |
|
||||
|
||||
**Nicht:** Roadmap-first-Loop 1:1 auf Trainingseinheit mappen.
|
||||
|
||||
Details: **`PLANNING_PROGRESSION_GRAPH_KI.md`** §16 · Domäne **`DOMAIN_MODEL.md`** §1–2.
|
||||
|
||||
---
|
||||
|
||||
## Phase H — Plattform (Backlog)
|
||||
|
||||
- [ ] Technik-Disambiguierung konfigurierbar (DB statt `_GERI_TECHNIQUES` in Code)
|
||||
- [ ] Mitai Workflow-Engine — erst wenn G0–G4 stabil
|
||||
|
||||
---
|
||||
|
||||
@@ -112,10 +167,10 @@ Diese Roadmap ergänzt die **Architektur-Refaktor-Roadmap** (`UMSETZUNGSPLAN_ROA
|
||||
|
||||
| Von | Nach | Hinweis |
|
||||
|-----|------|---------|
|
||||
| F2 | Enrichment / Skills | Bessere Roadmap bei technikspezifischen Skills |
|
||||
| F3 | F2 | LLM-Roadmap oder stabile heuristische B |
|
||||
| G | F4 | Trainingsplanung kann Roadmap aus Graph referenzieren |
|
||||
| H | G + F4 | Workflow-Engine lohnt bei verzweigten Planungsflows |
|
||||
| F13 | G0 | Katalog-Kontext in Einheitsplanung |
|
||||
| F7, F11 | G1, G2 | Skill-Expectations + QS-Muster |
|
||||
| F4, F9 | G3 | Graph-Roadmap kann Rahmen referenzieren |
|
||||
| G | H | Workflow-Engine lohnt bei verzweigten Planungsflows |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user