diff --git a/backend/routers/operational.py b/backend/routers/operational.py index 4bec8ee..8607c55 100644 --- a/backend/routers/operational.py +++ b/backend/routers/operational.py @@ -100,15 +100,18 @@ def operational_context( raise HTTPException(status_code=404, detail="Vorhaben nicht gefunden") subset = { "initiative_id": snapshot.get("initiative_id"), - "title": snapshot.get("title"), - "status": snapshot.get("status"), + "title": snapshot.get("initiative_title"), + "status": snapshot.get("initiative_status"), "method_key": snapshot.get("method_key"), + "method_label": snapshot.get("method_label"), "archetype_key": snapshot.get("archetype_key"), "archetype_label": snapshot.get("archetype_label"), "steering_guidance": snapshot.get("steering_guidance"), - "lifecycle": snapshot.get("lifecycle"), + "lifecycle_state": snapshot.get("lifecycle_state"), + "lifecycle_label": snapshot.get("lifecycle_label"), "signals": snapshot.get("signals"), - "attention": snapshot.get("attention"), + "attention_items": snapshot.get("attention_items"), + "next_actions": snapshot.get("next_actions"), "active_work_cycle": snapshot.get("active_work_cycle"), } return _ok(ctx, subset)