docs: Welle 2 — Roadmap v0.2, ADPs, AP1.2c Assignment
Deploy Development / deploy (push) Successful in 44s
Test Suite / pytest-backend (push) Successful in 1m23s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 18s
Test Suite / playwright-smoke (push) Successful in 12s
Deploy Development / deploy (push) Successful in 44s
Test Suite / pytest-backend (push) Successful in 1m23s
Test Suite / lint-backend (push) Successful in 1s
Test Suite / compose-smoke (push) Has been skipped
Test Suite / k6 /api/health Baseline (push) Successful in 18s
Test Suite / playwright-smoke (push) Successful in 12s
Corrected MVP Roadmap v0.2, Recovery Plan v0.2, Gap Analysis v0.2, Target State Implementation Map. ADPs für RoadmapItem/Quality Gates und Operational Actor Interface (Vibe-Coder). Handover v0.2 und Sprint-Auftrag AP1.2c IA-Skeleton.
This commit is contained in:
1 parent
8c31802662
commit
2796965aed
13 files changed
+1189
-15
No files matched your search
@@ -1,6 +1,8 @@
|
||||
# Jinkendo Kairo
|
||||
## Sprint 0 – Vibe-Coder Handover v0.1
|
||||
|
||||
> **⚠ Superseded (2026-07-05):** Verwende [`Sprint0_Vibe_Coder_Handover_v0.2.md`](Sprint0_Vibe_Coder_Handover_v0.2.md).
|
||||
|
||||
Status: Übergabedokument
|
||||
Stand: 2026-07-04
|
||||
|
||||
|
||||
@@ -0,0 +1,119 @@
|
||||
# Jinkendo Kairo
|
||||
## Vibe-Coder Handover v0.2
|
||||
|
||||
**Status:** Übergabedokument für Coding-Agenten & Vibe-Coder
|
||||
**Stand:** 2026-07-05
|
||||
**Ersetzt:** `Sprint0_Vibe_Coder_Handover_v0.1.md` (Foundation-only)
|
||||
**Vision:** `Kairo_Vision_and_Product_Direction_v0.2.md`
|
||||
|
||||
---
|
||||
|
||||
## 1. Auftrag
|
||||
|
||||
Baue **keinen** weiteren Omnibus-CRUD-Screen.
|
||||
|
||||
Baue Kairo als **Program Director** mit:
|
||||
|
||||
1. **Workspace** — Portfolio aller Initiativen
|
||||
2. **Initiative-Übersicht** — operative Steuerung (Alltag)
|
||||
3. **Unterseiten** — Pflege und Anlage
|
||||
4. **Operational API** (später AP1.7) — dieselbe Logik für Agent-Actors
|
||||
|
||||
---
|
||||
|
||||
## 2. Verbindliche Dokumente (Lesereihenfolge)
|
||||
|
||||
1. `docs/product/Kairo_Vision_and_Product_Direction_v0.2.md`
|
||||
2. `docs/product/Kairo_Canonical_Operating_Model_v0.2.md`
|
||||
3. `docs/product/Kairo_Implementation_Truth_Table_v0.1.md`
|
||||
4. `docs/product/Kairo_Corrected_MVP_Roadmap_v0.2.md`
|
||||
5. `docs/sprints/Sprint1_AP1_2c_IA_Skeleton_Assignment_v0.1.md` ← **nächster Code-Auftrag**
|
||||
6. `docs/architecture/ADP_AP1_0_Steering_Foundation_Scope_Lock_v0.1.md`
|
||||
7. `CLAUDE.md` + `.cursor/rules/kairo-architecture.mdc`
|
||||
|
||||
---
|
||||
|
||||
## 3. IA — drei Ebenen
|
||||
|
||||
```text
|
||||
/workspace Portfolio aller Initiativen
|
||||
/initiatives/:id Initiative-Übersicht (Steuerung, read-heavy)
|
||||
/initiatives/:id/plan Plan (Shell → AP1.4 Daten)
|
||||
/initiatives/:id/execution Ausführung / Arbeitspakete
|
||||
/initiatives/:id/inbox Backlog
|
||||
/initiatives/:id/journey Journey (Shell → AP1.6)
|
||||
/initiatives/:id/actions/:actionId Arbeitspaket-Detail
|
||||
```
|
||||
|
||||
**Regel:** Übersicht = navigieren + steuern. CRUD = Unterseiten oder Modal.
|
||||
|
||||
---
|
||||
|
||||
## 4. Vibe-Coder als Actor
|
||||
|
||||
- Agent = `actors.actor_type = 'agent'`
|
||||
- Keine Sonder-Endpoints ohne `/api/operational/` (AP1.7)
|
||||
- Bis AP1.7: bestehende REST-APIs mit Actor-Session **nur** wenn Capability passt — Spec in `ADP_Operational_Actor_Interface_Vibe_Coder_v0.1.md`
|
||||
|
||||
### Typischer Agent-Loop (Ziel)
|
||||
|
||||
```text
|
||||
1. GET operational/context?initiative_id=
|
||||
2. GET operational/next-action?initiative_id=
|
||||
3. … arbeiten …
|
||||
4. PATCH operational/actions/{id}/status
|
||||
5. POST operational/evidence (optional)
|
||||
6. POST operational/blockers (wenn nötig)
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 5. Harte Guardrails
|
||||
|
||||
Nicht erlaubt:
|
||||
|
||||
- InitiativeDetail Omnibus erweitern
|
||||
- Inline-Formulare auf Workspace oder Initiative-Übersicht
|
||||
- Parallele Steuerungslogik außerhalb `backend/steering/`
|
||||
- Neue OM-Tabellen ohne ADP (Scope Lock)
|
||||
- Gate `reached` per API ohne Verify
|
||||
- Prompt/KI/MCP produktiv
|
||||
|
||||
---
|
||||
|
||||
## 6. Arbeitsweise pro Paket
|
||||
|
||||
1. Assignment lesen
|
||||
2. Kurzplan
|
||||
3. Implementieren (minimaler Diff)
|
||||
4. Tests (Pi-pytest wo DB)
|
||||
5. Truth Table + Gap Analysis aktualisieren
|
||||
6. Version bump
|
||||
7. Abweichung → ADP
|
||||
|
||||
---
|
||||
|
||||
## 7. Nächste Pakete
|
||||
|
||||
| Reihenfolge | Paket |
|
||||
|-------------|-------|
|
||||
| 1 | AP1.2c IA-Skeleton |
|
||||
| 2 | AP1.2 Signals |
|
||||
| 3 | AP0.10d Validation (PO) |
|
||||
| 4 | AP1.4 RoadmapItem (nach ADP-Freigabe) |
|
||||
| 5 | AP1.7 Operational API |
|
||||
|
||||
---
|
||||
|
||||
## 8. Erfolg
|
||||
|
||||
Du bist auf dem richtigen Weg wenn:
|
||||
|
||||
- PO auf Initiative-**Übersicht** steuern kann ohne zu pflegen
|
||||
- Workspace alle Vorhaben orientiert
|
||||
- Vibe-Coder wissen welche API kommt
|
||||
- Docs und Code dieselbe IA zeigen
|
||||
|
||||
---
|
||||
|
||||
*v0.1 Handover bleibt historisch für Sprint-0-Foundation.*
|
||||
@@ -0,0 +1,169 @@
|
||||
# AP1.2c — IA-Skeleton (Workspace, Initiative-Übersicht, Unterseiten)
|
||||
## Implementierungsauftrag v0.1
|
||||
|
||||
**Status:** bereit zur Umsetzung (nach DOC Welle 2)
|
||||
**Stand:** 2026-07-05
|
||||
**Vision:** `Kairo_Vision_and_Product_Direction_v0.2.md` §7
|
||||
**Recovery:** `Kairo_MVP_Usability_Recovery_Plan_v0.2.md`
|
||||
**Vorgänger:** AP1.1b ✓ (Redirect-Ziel)
|
||||
**Zielversion:** `0.12.0-ap1.2c` · **kein** Schema-Change
|
||||
|
||||
---
|
||||
|
||||
## Ziel
|
||||
|
||||
**Informationsarchitektur umsetzen** — ohne neues Fachmodell:
|
||||
|
||||
- Workspace = Portfolio aller Initiativen
|
||||
- Initiative-Übersicht = operative Steuerung (read-heavy)
|
||||
- Unterseiten = Pflege (bestehende Sektionen **verschieben**, nicht duplizieren)
|
||||
- Next-Action-Widget konfigurierbar auf Workspace **und** Initiative-Übersicht
|
||||
|
||||
---
|
||||
|
||||
## Scope Lock
|
||||
|
||||
- **Keine** neuen Tabellen
|
||||
- **Keine** RoadmapItem / Gate-Logik
|
||||
- **Keine** Portfolio-Priorität (AP1.8)
|
||||
- **Keine** `/api/operational/` (AP1.7)
|
||||
- Steering nur bestehende APIs
|
||||
|
||||
---
|
||||
|
||||
## Teil A — Routing (React Router)
|
||||
|
||||
Neue Routen:
|
||||
|
||||
```text
|
||||
/ Workspace (überarbeiten)
|
||||
/initiatives/:id InitiativeOverviewPage (neu)
|
||||
/initiatives/:id/plan InitiativePlanPage (Shell + MilestonesSection verschoben)
|
||||
/initiatives/:id/execution InitiativeExecutionPage (ActionsHub)
|
||||
/initiatives/:id/inbox InitiativeInboxPage (BacklogSection)
|
||||
/initiatives/:id/journey InitiativeJourneyPage (Shell: Decisions/Reviews read)
|
||||
/actions/:id ActionDetailPage (Modal-Alternative: volle Seite)
|
||||
```
|
||||
|
||||
Redirect:
|
||||
|
||||
```text
|
||||
/initiatives/:id/detail → /initiatives/:id (falls alte Links)
|
||||
```
|
||||
|
||||
Alte `InitiativeDetailPage` → deprecate; Inhalt auf neue Pages **verteilen**.
|
||||
|
||||
---
|
||||
|
||||
## Teil B — Workspace (Portfolio)
|
||||
|
||||
### B1 — Initiative-Portfolio-Widget
|
||||
|
||||
- Kacheln oder kompakte Liste **aller** Initiativen des Tenants
|
||||
- Pro Karte: Titel, Lifecycle-Badge, Method-Label, Kurzsignal (blockiert count, attention)
|
||||
- Klick → `/initiatives/:id`
|
||||
- Daten: bestehende `listInitiatives` + optional Snapshot-Summary (light endpoint oder parallel fetch — **kein** neues Backend nötig wenn Client parallel 5 Snapshots vermeidet: nur Initiative-Felder + counts aus workspace summary erweitern wenn nötig)
|
||||
|
||||
### B2 — Next-Action-Widget (Workspace-Instanz)
|
||||
|
||||
- Wiederverwendbare Komponente `NextActionWidget`
|
||||
- Props: `scope: 'portfolio' | 'initiative'`, `initiativeId?`, `limit`, `filters`
|
||||
- Portfolio: `/api/workspace/next-actions`
|
||||
- Initiative: Snapshot `next_actions` oder Initiative-scoped API
|
||||
|
||||
### B3 — Layout-Registry
|
||||
|
||||
- Widget konfigurierbar in Workspace-Layout (bestehende View/Widget Registry AP0.6 erweitern — minimal: feste Slots wenn Registry zu schwer)
|
||||
|
||||
---
|
||||
|
||||
## Teil C — Initiative-Übersicht (read-heavy)
|
||||
|
||||
Neue `InitiativeOverviewPage`:
|
||||
|
||||
| Block | Quelle | Bearbeitung |
|
||||
|-------|--------|-------------|
|
||||
| Breadcrumb + Titel | initiative | — |
|
||||
| Steering Hero | SteeringSnapshotPanel (read) | Methode wählen ✓ |
|
||||
| Next-Action-Widget | scope=initiative | — |
|
||||
| Roadblocker-Zusammenfassung | snapshot counts | Link → execution |
|
||||
| Meilenstein-Horizont | snapshot | Link → plan |
|
||||
| Nav-Karten | — | Links zu Unterseiten |
|
||||
|
||||
**Keine** Backlog/Blocker/Evidence-Listen inline. **Keine** Create-Formulare.
|
||||
|
||||
---
|
||||
|
||||
## Teil D — Unterseiten (Pflege verschieben)
|
||||
|
||||
| Page | Inhalt (aus InitiativeDetailPage) |
|
||||
|------|-----------------------------------|
|
||||
| Plan | `MilestonesSection` (+ später Roadmap) |
|
||||
| Execution | `InitiativeActionsHub` |
|
||||
| Inbox | `BacklogSection` |
|
||||
| Journey | Shell + `DecisionsSection`, `ReviewsSection` read; Recurring optional |
|
||||
|
||||
Blockers/Evidence: primär am **ActionDetailPage**; vorhabenweite Blocker in Execution oder Inbox Sub-Sektion.
|
||||
|
||||
---
|
||||
|
||||
## Teil E — Action Detail
|
||||
|
||||
- Route `/actions/:id` oder `/initiatives/:id/actions/:actionId`
|
||||
- ActionHubCard-Inhalt + volle Bearbeitung (ActionForm)
|
||||
- Verknüpfte Blocker/Evidence/Reviews CRUD
|
||||
|
||||
---
|
||||
|
||||
## Teil F — Shared Components
|
||||
|
||||
- `NextActionWidget.jsx`
|
||||
- `InitiativeNavTabs.jsx` oder Subnav
|
||||
- `InitiativePortfolioGrid.jsx`
|
||||
- CSS: bestehende steering/action-hub Styles
|
||||
|
||||
---
|
||||
|
||||
## Teil G — Tests
|
||||
|
||||
- Frontend: Smoke-Routes rendern (vitest optional minimal)
|
||||
- Backend: keine Pflicht (kein Schema)
|
||||
- Manuell: Navigation Workspace → Initiative → Plan → Execution
|
||||
|
||||
---
|
||||
|
||||
## Akzeptanzkriterien
|
||||
|
||||
- [ ] Workspace zeigt **alle** Initiativen als Portfolio
|
||||
- [ ] Initiative-Übersicht ohne CRUD-Listen (nur Steuerung + Links)
|
||||
- [ ] Next-Action-Widget auf Workspace **und** Initiative-Übersicht
|
||||
- [ ] Unterseiten erreichbar; Pflege funktioniert dort
|
||||
- [ ] Alte Omnibus-URL redirected oder ersetzt
|
||||
- [ ] Version `0.12.0-ap1.2c`
|
||||
- [ ] Truth Table aktualisiert
|
||||
|
||||
---
|
||||
|
||||
## Nicht-Scope
|
||||
|
||||
- RoadmapItem
|
||||
- Portfolio-Priorität Feld
|
||||
- Journey-Timeline visual
|
||||
- Agent API
|
||||
- operating_phase (→ AP1.2)
|
||||
|
||||
---
|
||||
|
||||
## Empfohlene Reihenfolge Implementierung
|
||||
|
||||
1. Routing + leere Shell-Pages
|
||||
2. InitiativeOverviewPage (Snapshot + Next Action)
|
||||
3. Execution/Inbox/Plan (Sektionen verschieben)
|
||||
4. Workspace Portfolio
|
||||
5. NextActionWidget extrahieren
|
||||
6. ActionDetailPage
|
||||
7. Redirect + alte Page entfernen
|
||||
|
||||
---
|
||||
|
||||
*Parallel empfohlen: AP1.2 (operating_phase entfernen) — kleiner Backend-PR vor oder nach 2c.*
|
||||
Reference in new issue
Block a user