AP2.3f: Restschuld ? uiFeatures, Route-Registry und slice-bewusste Mutationen.
Deploy Development / deploy (push) Successful in 46s
Test Suite / pytest-backend (push) Failing after 3m9s
Test Suite / k6 /api/health Baseline (push) Has been skipped
Test Suite / playwright-smoke (push) Has been skipped
Test Suite / lint-backend (push) Successful in 3s
Test Suite / compose-smoke (push) Has been skipped
Deploy Development / deploy (push) Successful in 46s
Test Suite / pytest-backend (push) Failing after 3m9s
Test Suite / k6 /api/health Baseline (push) Has been skipped
Test Suite / playwright-smoke (push) Has been skipped
Test Suite / lint-backend (push) Successful in 3s
Test Suite / compose-smoke (push) Has been skipped
Archetyp-Profile und Seitenlogik auf Operating Context migriert; methodUiDefaults nur noch Fallback. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
44fda7beb9
commit
c79bfa844f
16 files changed
+432
-300
No files matched your search
@@ -1,4 +1,4 @@
|
||||
"""UI-Profile für Initiative-Archetypen — migriert aus methodUiDefaults.js (AP2.3a)."""
|
||||
"""UI-Profile für Initiative-Archetypen — AP2.3a / AP2.3f."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
@@ -37,6 +37,17 @@ _SUPPORT_QUEUE_PROCESS = (
|
||||
{"key": "control", "to": "/control/status", "label": "Kontrolle", "mode": "control"},
|
||||
)
|
||||
|
||||
_CONTENT_PROCESS = (
|
||||
{"key": "gates", "to": "/plan/gates", "label": "Kapitel", "mode": "plan"},
|
||||
{"key": "work", "to": "/work/today", "label": "Ausführen", "mode": "work"},
|
||||
{"key": "control", "to": "/control/status", "label": "Kontrolle", "mode": "control"},
|
||||
)
|
||||
|
||||
_DISPUTE_PROCESS = (
|
||||
{"key": "work", "to": "/work/today", "label": "Ausführen", "mode": "work"},
|
||||
{"key": "control", "to": "/control/status", "label": "Kontrolle", "mode": "control"},
|
||||
)
|
||||
|
||||
_COMMON_OM_SLICES = (
|
||||
"actions",
|
||||
"blockers",
|
||||
@@ -53,15 +64,25 @@ GENERIC_UI_PROFILE: dict[str, Any] = {
|
||||
"controlDefaultRoute": "/control/status",
|
||||
"planOutlineKeys": None,
|
||||
"workNavKeys": None,
|
||||
"dataSlices": ["actions", "backlog", "roadmap", "projects", "blockers", *_COMMON_OM_SLICES[1:]],
|
||||
"dataSlices": [
|
||||
"actions",
|
||||
"backlog",
|
||||
"roadmap",
|
||||
"projects",
|
||||
"blockers",
|
||||
*_COMMON_OM_SLICES[1:],
|
||||
],
|
||||
"enabledModes": ["plan", "work", "control"],
|
||||
"uiFeatures": {},
|
||||
}
|
||||
|
||||
INITIATIVE_UI_PROFILES: dict[str, dict[str, Any]] = {
|
||||
"initiative.generic": dict(GENERIC_UI_PROFILE),
|
||||
"initiative.product": {
|
||||
"processSteps": list(_PRODUCT_PROCESS),
|
||||
"planDefaultRoute": "/plan/inbox",
|
||||
"workDefaultRoute": "/work/sprint",
|
||||
"workDefaultRouteWithoutActiveWorkCycle": "/work/today",
|
||||
"controlDefaultRoute": "/control/status",
|
||||
"planOutlineKeys": ["profile", "inbox", "sprint", "gates"],
|
||||
"workNavKeys": ["sprint", "today", "mine"],
|
||||
@@ -78,6 +99,10 @@ INITIATIVE_UI_PROFILES: dict[str, dict[str, Any]] = {
|
||||
"steering_methods",
|
||||
],
|
||||
"enabledModes": ["plan", "work", "control"],
|
||||
"uiFeatures": {
|
||||
"continuousProductWorkMode": True,
|
||||
"steeringSnapshotOnWorkSprint": True,
|
||||
},
|
||||
},
|
||||
"initiative.linear_project": {
|
||||
"processSteps": list(_LINEAR_PROCESS),
|
||||
@@ -98,6 +123,9 @@ INITIATIVE_UI_PROFILES: dict[str, dict[str, Any]] = {
|
||||
"steering_methods",
|
||||
],
|
||||
"enabledModes": ["plan", "work", "control"],
|
||||
"uiFeatures": {
|
||||
"criticalPathControl": True,
|
||||
},
|
||||
},
|
||||
"initiative.maturity_journey": {
|
||||
"processSteps": list(_MATURITY_PROCESS),
|
||||
@@ -117,6 +145,7 @@ INITIATIVE_UI_PROFILES: dict[str, dict[str, Any]] = {
|
||||
"steering_methods",
|
||||
],
|
||||
"enabledModes": ["plan", "work", "control"],
|
||||
"uiFeatures": {},
|
||||
},
|
||||
"initiative.program": {
|
||||
"processSteps": list(_PROGRAM_PROCESS),
|
||||
@@ -138,6 +167,7 @@ INITIATIVE_UI_PROFILES: dict[str, dict[str, Any]] = {
|
||||
"steering_methods",
|
||||
],
|
||||
"enabledModes": ["plan", "work", "control"],
|
||||
"uiFeatures": {},
|
||||
},
|
||||
"initiative.support_queue": {
|
||||
"processSteps": list(_SUPPORT_QUEUE_PROCESS),
|
||||
@@ -153,6 +183,7 @@ INITIATIVE_UI_PROFILES: dict[str, dict[str, Any]] = {
|
||||
"steering_methods",
|
||||
],
|
||||
"enabledModes": ["plan", "work", "control"],
|
||||
"uiFeatures": {},
|
||||
},
|
||||
"initiative.recurring_program": {
|
||||
"processSteps": list(_MATURITY_PROCESS),
|
||||
@@ -169,6 +200,44 @@ INITIATIVE_UI_PROFILES: dict[str, dict[str, Any]] = {
|
||||
"steering_methods",
|
||||
],
|
||||
"enabledModes": ["plan", "work", "control"],
|
||||
"uiFeatures": {},
|
||||
},
|
||||
"initiative.content_project": {
|
||||
"processSteps": list(_CONTENT_PROCESS),
|
||||
"planDefaultRoute": "/plan/gates",
|
||||
"workDefaultRoute": "/work/today",
|
||||
"controlDefaultRoute": "/control/status",
|
||||
"planOutlineKeys": ["profile", "gates", "inbox", "work"],
|
||||
"workNavKeys": ["today", "mine"],
|
||||
"dataSlices": [
|
||||
"actions",
|
||||
"roadmap",
|
||||
"blockers",
|
||||
"evidence",
|
||||
"decisions",
|
||||
"reviews",
|
||||
"steering_methods",
|
||||
],
|
||||
"enabledModes": ["plan", "work", "control"],
|
||||
"uiFeatures": {},
|
||||
},
|
||||
"initiative.dispute_case": {
|
||||
"processSteps": list(_DISPUTE_PROCESS),
|
||||
"planDefaultRoute": "/plan/profile",
|
||||
"workDefaultRoute": "/work/today",
|
||||
"controlDefaultRoute": "/control/status",
|
||||
"planOutlineKeys": ["profile", "work"],
|
||||
"workNavKeys": ["today", "mine"],
|
||||
"dataSlices": [
|
||||
"actions",
|
||||
"blockers",
|
||||
"evidence",
|
||||
"decisions",
|
||||
"reviews",
|
||||
"steering_methods",
|
||||
],
|
||||
"enabledModes": ["plan", "work", "control"],
|
||||
"uiFeatures": {},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -58,6 +58,16 @@ def register() -> None:
|
||||
label="Verfahren / Konflikt",
|
||||
description="Reaktive Steuerung, Fristen, Entscheidungen",
|
||||
next_action_strategy_key="default",
|
||||
data_slices=frozenset(
|
||||
{
|
||||
"actions",
|
||||
"blockers",
|
||||
"evidence",
|
||||
"decisions",
|
||||
"reviews",
|
||||
"steering_methods",
|
||||
}
|
||||
),
|
||||
compatible_archetype_keys=frozenset({"initiative.dispute_case"}),
|
||||
)
|
||||
register_stub_method(
|
||||
@@ -65,5 +75,16 @@ def register() -> None:
|
||||
label="Kapitel-Entwicklung",
|
||||
description="Inhaltliche Progression, Reviews",
|
||||
next_action_strategy_key="default",
|
||||
data_slices=frozenset(
|
||||
{
|
||||
"actions",
|
||||
"roadmap",
|
||||
"blockers",
|
||||
"evidence",
|
||||
"decisions",
|
||||
"reviews",
|
||||
"steering_methods",
|
||||
}
|
||||
),
|
||||
compatible_archetype_keys=frozenset({"initiative.content_project"}),
|
||||
)
|
||||
Reference in new issue
Block a user