Enhance Planning Intent Context and Stage Specification Finalization
Deploy Development / deploy (push) Successful in 42s
Test Suite / pytest-backend (push) Successful in 44s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Successful in 1m13s
Deploy Development / deploy (push) Successful in 42s
Test Suite / pytest-backend (push) Successful in 44s
Test Suite / lint-backend (push) Successful in 0s
Test Suite / build-frontend (push) Successful in 13s
Test Suite / k6 /health Baseline (push) Successful in 34s
Test Suite / playwright-tests (push) Successful in 1m13s
- Introduced `intent_context` and `semantic_brief` parameters in `try_llm_stage_specs` to improve context handling for stage specifications. - Updated `build_goal_analysis` to extract explicit exclusions from goal queries, enhancing constraint management. - Enhanced `roadmap_context_from_override` to enrich semantic briefs with path constraints and finalize stage specifications with intent context. - Incremented application version to reflect these updates.
This commit is contained in:
1 parent
3c12363b8f
commit
4ef3f00e6b
6 files changed
+464
-13
No files matched your search
@@ -225,7 +225,23 @@ Validierung: `progression_graph_planning_artifact.py` · Tests: `test_progressio
|
||||
|
||||
---
|
||||
|
||||
## 8. Fähigkeiten-Scoring-Anbindung
|
||||
## 8. Planungs-Intent (gemeinsam mit Trainingsplanung)
|
||||
|
||||
Modul: **`planning_intent_context.py`** — domänenneutral, wiederverwendbar in Phase G.
|
||||
|
||||
| Baustein | Progressionsgraph heute | Trainingsplanung (Phase G) |
|
||||
|----------|-------------------------|----------------------------|
|
||||
| `build_planning_intent_context` | Aus `goal_query`, Zielanalyse, Notizen | Aus `section_guidance`, Slot, Einheit |
|
||||
| `explicit_exclusions` | Negationen (`ohne/kein/nicht …`) | gleich |
|
||||
| `path_anti_patterns` | → jede `stage_spec.anti_patterns` | → Abschnitts-/Slot-Brief |
|
||||
| `path_success_criteria` | → `success_criteria` + Matching | → Slot-Erwartung |
|
||||
| `finalize_stage_specs_with_intent` | Nach heuristischer/LLM-Roadmap | Analog für Sektionen |
|
||||
|
||||
LLM: Migration **089** — Prompts `planning_progression_goal_analysis` + `planning_progression_stage_spec` erhalten `intent_context_json`; Ausschlüsse nicht erfinden, nur aus Anfrage übernehmen.
|
||||
|
||||
Matching: `anti_patterns` + `success_criteria` → `build_stage_match_brief` → Retrieval-Gate (Titel + Summary + Goal).
|
||||
|
||||
## 9. Fähigkeiten-Scoring-Anbindung
|
||||
|
||||
Modul: `planning_skill_expectations.py`
|
||||
|
||||
@@ -245,7 +261,7 @@ Integration:
|
||||
|
||||
---
|
||||
|
||||
## 9. KI-Lücken (Gap-Fill)
|
||||
## 10. KI-Lücken (Gap-Fill)
|
||||
|
||||
Flow:
|
||||
1. `roadmap_unfilled` / QA-Lücken → `gap_fill_offers`
|
||||
@@ -257,7 +273,7 @@ Kontext-Helfer: `frontend/src/utils/planningContextForExerciseAi.js`
|
||||
|
||||
---
|
||||
|
||||
## 10. Implementierungsstände (Phasen)
|
||||
## 11. Implementierungsstände (Phasen)
|
||||
|
||||
| Phase | Inhalt | Status | Version |
|
||||
|-------|--------|--------|---------|
|
||||
@@ -275,7 +291,7 @@ Kontext-Helfer: `frontend/src/utils/planningContextForExerciseAi.js`
|
||||
|
||||
---
|
||||
|
||||
## 11. Offenes Backlog (priorisiert)
|
||||
## 12. Offenes Backlog (priorisiert)
|
||||
|
||||
1. **UI-Überarbeitung** — Wizard mit 4 Schritten, progressive disclosure (Briefing unten)
|
||||
2. **Graph-Erweiterungsmodus** — Start ab gewähltem Knoten / letzter Sequenz
|
||||
@@ -292,13 +308,14 @@ Kern: Wizard ① Ziel & Start/Ziel → ② Roadmap → ③ Match → ④ Lücken
|
||||
|
||||
---
|
||||
|
||||
## 12. Tests
|
||||
## 13. Tests
|
||||
|
||||
| Datei | Abdeckung |
|
||||
|-------|-----------|
|
||||
| `test_planning_progression_roadmap.py` | Roadmap-Pipeline, Override, Start/Ziel |
|
||||
| `test_planning_exercise_path_builder.py` | Pfad-Annotierung, Skill-Expectations auf Steps |
|
||||
| `test_planning_skill_expectations.py` | Skill-Erwartungen, Scopes |
|
||||
| `test_planning_intent_context.py` | Intent-Kontext, finalize stage_specs |
|
||||
| `test_planning_exercise_path_ai_fill.py` | Gap-Fill, `expected_skills` in goal text |
|
||||
| `test_planning_exercise_form_context.py` | `planning_context`, Gap-Snapshot |
|
||||
| `test_progression_graph_planning_artifact.py` | JSONB-Artefakt-Validierung |
|
||||
@@ -306,7 +323,7 @@ Kern: Wizard ① Ziel & Start/Ziel → ② Roadmap → ③ Match → ④ Lücken
|
||||
|
||||
---
|
||||
|
||||
## 13. Dokumenten-Index (Drift vermeiden)
|
||||
## 14. Dokumenten-Index (Drift vermeiden)
|
||||
|
||||
| Frage | Primäre Quelle |
|
||||
|-------|----------------|
|
||||
@@ -322,7 +339,7 @@ Kern: Wizard ① Ziel & Start/Ziel → ② Roadmap → ③ Match → ④ Lücken
|
||||
|
||||
---
|
||||
|
||||
## 14. Changelog (Dokument)
|
||||
## 15. Changelog (Dokument)
|
||||
|
||||
| Datum | Änderung |
|
||||
|-------|----------|
|
||||
|
||||
Reference in new issue
Block a user