AP1.5c: Rekursive Projects fuer Mega-Programme ohne Stream-Typ.
Deploy Development / deploy (push) Successful in 53s
Test Suite / pytest-backend (push) Successful in 1m42s
Test Suite / lint-backend (push) Successful in 2s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 21s
Test Suite / playwright-smoke (push) Successful in 14s

parent_project_id und container_kind ermoeglichen verschachtelte Projektstruktur; Arbeitspakete bleiben an Blatt-Projekten gebunden.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-07-06 08:38:58 +02:00
1 parent 6eeddfdc76
commit 4ca0a2c460
15 files changed
+947 -91

No files matched your search

@@ -6,7 +6,8 @@
**Ersetzt:** `Kairo_Corrected_MVP_Roadmap_v0.1.md`
**Vision:** `Kairo_Vision_and_Product_Direction_v0.2.md`
**Ist-Stand:** `Kairo_Implementation_Truth_Table_v0.1.md`
**PO-ADP:** `ADP_PO_Product_Layering_and_IA_Reset_v0.1.md`
**PO-ADP:** `ADP_PO_Product_Layering_and_IA_Reset_v0.1.md`
**Container-ADP:** `ADP_Recursive_Containers_and_Execution_Granularity_v0.1.md`
---
@@ -28,8 +29,8 @@
| Entscheidung | |
|--------------|--|
| AP1.4b Backend | ✓ behalten (Kriterien, Verify, Reopen) |
| Gate-UI-Politur (Modal, Graph-Workflow) | ⏸ **eingefroren** bis AP1.5 |
| Nächstes Code-Paket | **AP1.5** Hierarchie + Ausführung als Ist-Kern |
| Gate-UI-Politur (Modal, Graph-Workflow) | ⏸ **eingefroren** bis AP1.6 |
| Nächstes Code-Paket | **AP1.5c** rekursive Projects |
| Tab „Plan“ | fachlich **Gates / Zielzustände** — Umbenennung AP1.5b |
| Graph Engine AP1.4d | Gate-Kanten only — **kein** Lifecycle-Workflow |
@@ -37,6 +38,24 @@ Siehe `ADP_PO_Product_Layering_and_IA_Reset_v0.1.md`.
---
## 1.2 PO-Entscheidung 2026-07-06 — Rekursive Container & Task-Tiefe
**Auslöser:** Mega-Programme vs. normale Vorhaben; Granularität Mensch vs. Agent.
| Entscheidung | |
|--------------|--|
| Stream als eigener Typ | **Nein** — `Project` mit `parent_project_id` + optionalem `container_kind` |
| Project in Project | **Ja** — AP1.5c |
| Task → Subtask → … | **Ja** — `parent_task_id`; UI max. ~3 Ebenen; Schema tiefer für Agenten — AP1.5d |
| Nested Actions | **Optional** später (`wbs_driven` only); nicht Default |
| Steuerung pro Ebene | **Nein (Stufe 1)** — Initiative-Root; Action = Anker für Menschen |
Siehe `ADP_Recursive_Containers_and_Execution_Granularity_v0.1.md`.
**Reihenfolge:** AP1.5c → AP1.6 → AP1.5d
---
## 2. Phasenübersicht
```text
@@ -47,11 +66,12 @@ Phase C Dokumentation Welle 1–2 ✓
Phase D IA-Skeleton AP1.2 + AP1.2c ✓
Phase E Steering AP1.2, AP1.3 ◐
Phase F Gate-Backend AP1.4 + AP1.4b ✓ (Backend); UI minimal
Phase G **Ist-Hierarchie AP1.5** ← **NÄCHSTES CODE**
Phase H Plan/Ist-Verknüpfung AP1.6 geplant
Phase I Gate-Graph AP1.4d–4e nach AP1.5
Phase G Ist-Hierarchie AP1.5 ✓
Phase G2 Rekursive Container AP1.5c–5d ✓ 5c / → 5d nach AP1.6
Phase H Plan/Ist-Verknüpfung AP1.6 ← **NÄCHSTES CODE**
Phase I Gate-Graph AP1.4d–4e nach AP1.6
Phase J Portfolio & Kontext AP1.8 geplant
Phase K Agent Interface AP1.7 geplant
Phase K Agent Interface AP1.7 geplant (unverändert)
Phase L Validation AP0.10d (laufend PO) parallel
```
@@ -71,13 +91,15 @@ Phase L Validation AP0.10d (laufend PO) parallel
| AP1.2c | 0.12.0-ap1.2c | IA-Skeleton |
| AP1.4 | 0.13.0-ap1.4 | RoadmapItem / Gates Minimal |
| AP1.4b | 0.13.1-ap1.4b | Gate-Checkliste Backend + Detail-Route |
| AP1.5 | 0.14.0-ap1.5 | Project, Task flach, Ausführung-Tab |
| DOC PO | 2026-07-06 | ADP Product Layering & IA-Reset |
| DOC Container | 2026-07-06 | ADP Recursive Containers & Execution Granularity |
---
## 4. Nächste Pakete (verbindliche Reihenfolge — PO 2026-07-06)
### AP1.5 — Hierarchie & Ist-Ebene (**NÄCHSTES CODE-PAKET**)
### AP1.5 — Hierarchie & Ist-Ebene ✓
**Ziel:** Operativer Plan zwischen Gates — Project, Task, Ausführung-Tab; Gates optional nutzbar.
@@ -94,6 +116,22 @@ Phase L Validation AP0.10d (laufend PO) parallel
---
### AP1.5c — Rekursive Projects ✓
**Ziel:** Project-Baum für Mega-Programme; normale Vorhaben unverändert flach.
| Scope | |
|-------|--|
| `parent_project_id`, Zyklen-Check, max. Tiefe 5 |
| Optional `container_kind` (Label) |
| Baum-UI in Ausführung; Actions nur an Blatt-Projects |
| **Kein** eigener Steering-Context pro Project |
**ADP:** `ADP_Recursive_Containers_and_Execution_Granularity_v0.1.md`
**Version:** `0.14.1-ap1.5c`
---
### AP1.5b — IA-Begriffe Gates vs. Ausführung
| Scope | |
@@ -106,17 +144,35 @@ Phase L Validation AP0.10d (laufend PO) parallel
---
### AP1.6 — Plan/Ist-Verknüpfung & Journey
### AP1.6 — Plan/Ist-Verknüpfung & Journey (**NÄCHSTES CODE-PAKET**)
Backlog/Action → RoadmapItem; Decision-Spur; Journey-Timeline.
Backlog/Action/Project/Task → RoadmapItem; Decision-Spur; Journey-Timeline.
**Nach AP1.5** — Gates bekommen Bedeutung durch Ist-Bezug.
**Nach AP1.5c** — Gates bekommen Bedeutung durch Ist-Bezug (auch auf Project-Ebenen).
**Version:** `0.15.0-ap1.6`
---
### AP1.4c — Gate-UI-Politur ⏸ (eingefroren bis AP1.5)
### AP1.5d — Rekursive Tasks & Roll-up
**Ziel:** Task-Baum (`parent_task_id`); Mensch UI max. ~3 Ebenen; Agent tiefer.
| Scope | |
|-------|--|
| Migration `parent_task_id`, Cycle/Depth-Validation |
| Roll-up Status Action ↔ Task-Baum |
| Gate-Beitrag auf Blatt-Tasks (Fortsetzung AP1.6) |
| UI: Outline, collapsed default ab Tiefe 2 |
| **Kein** nested Action (Default) |
**ADP:** `ADP_Recursive_Containers_and_Execution_Granularity_v0.1.md`
**Nach AP1.6**
**Version:** `0.15.1-ap1.5d`
---
### AP1.4c — Gate-UI-Politur ⏸ (eingefroren bis AP1.6)
Modal Gate anlegen/bearbeiten; Checkliste-UX; Fortschritt in Liste.
@@ -134,7 +190,7 @@ Modal Gate anlegen/bearbeiten; Checkliste-UX; Fortschritt in Liste.
| Deprecate `sequencing_mode` am Item |
| Read Models: blocked, ready, fulfillment_ratio |
**Version:** `0.14.1-ap1.4d` (nach AP1.5)
**Version:** `0.15.2-ap1.4d` (nach AP1.6)
---
@@ -204,7 +260,7 @@ Criteria, Waive/Defer, Reopen, Detail-Route. Version `0.13.1-ap1.4b`
| Thema | Bis wann |
|-------|----------|
| Gate-UI-Politur (Modal, Graph-Workflow) | **Nach AP1.5** (PO 2026-07-06) |
| Gate-UI-Politur (Modal, Graph-Workflow) | **Nach AP1.6** (PO 2026-07-06) |
| Prompt/KI/MCP produktiv | Ist-Hierarchie + Plan/Ist |
| Method Designer UI | AP1.3+ |
| Gantt / Kalender | nach Plan/Ist |
@@ -230,12 +286,14 @@ MVP-nah wenn:
0.12.0-ap1.2c ✓ IA-Skeleton
0.13.0-ap1.4 ✓ RoadmapItem / Gates Backend
0.13.1-ap1.4b ✓ Gate-Checkliste Backend
0.14.0-ap1.5 → Hierarchie (Project, Task) — NÄCHSTES
0.15.0-ap1.6 → Journey / Plan-Ist
0.14.1-ap1.4d → Gate-Graph (nach AP1.5)
0.14.0-ap1.5 ✓ Hierarchie (Project, Task flach)
0.14.1-ap1.5c ✓ Rekursive Projects
0.15.0-ap1.6 → Journey / Plan-Ist — NÄCHSTES
0.15.1-ap1.5d → Rekursive Tasks / Roll-up
0.15.2-ap1.4d → Gate-Graph
0.16.0-ap1.7 → Agent Interface
0.17.0-ap1.8 → Portfolio + Kontext
```
---
*Siehe auch: `ADP_PO_Product_Layering_and_IA_Reset_v0.1.md`, `Sprint1_AP1_5_Hierarchy_Assignment_v0.1.md`, `Kairo_MVP_Usability_Recovery_Plan_v0.2.md`*
*Siehe auch: `ADP_Recursive_Containers_and_Execution_Granularity_v0.1.md`, `ADP_PO_Product_Layering_and_IA_Reset_v0.1.md`, `Sprint1_AP1_5_Hierarchy_Assignment_v0.1.md`, `Kairo_MVP_Usability_Recovery_Plan_v0.2.md`*
@@ -1,7 +1,7 @@
# Kairo — Implementation Truth Table v0.1
**Status:** living document — bei jedem AP aktualisieren
**Stand:** 2026-07-06 (nach AP1.5)
**Stand:** 2026-07-06 (nach AP1.5c)
**Zweck:** Ehrliche Trennung von **implementiert**, **teilweise**, **nur API/Schema**, **nur Dokumentiert**
Verhindert, dass Zielbild-Dokumente als Ist-Stand gelesen werden.
@@ -30,7 +30,7 @@ Verhindert, dass Zielbild-Dokumente als Ist-Stand gelesen werden.
| Capabilities | ✓ | Keine Objekt-Sichtbarkeit |
| Auth / Session | ✓ | |
| Audit (Auth/Admin) | ◐ | Nicht für alle OM-Events |
| Migrationen nummeriert | ✓ | Schema 013 |
| Migrationen nummeriert | ✓ | Schema 014 |
---
@@ -39,7 +39,7 @@ Verhindert, dass Zielbild-Dokumente als Ist-Stand gelesen werden.
| Element | Stand | Anmerkung |
|---------|-------|-----------|
| Initiative | ✓ | |
| Project | ◐ | AP1.5 GUI + API |
| Project | ◐ | AP1.5 + AP1.5c: Baum (`parent_project_id`), Blatt-Regel für Actions |
| Action | ✓ | UI: Arbeitspaket (interim Maßnahme) |
| ActionAssignment | ✓ | |
| BacklogItem | ✓ | |