AP2.0: Archetyp-Katalog, Method-Stubs und sichtbare Steuerung in Kontrolle.
Deploy Development / deploy (push) Successful in 46s
Test Suite / pytest-backend (push) Failing after 2m2s
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 2m2s
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
PO-Dokumente (ADP v0.2, MVP v0.3) und Minimal Complete Slice: Registry-Methoden, Initiative/Project-Spiegel, Default-Methode bei Anlage, Lagebild mit Archetyp und Guidance. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
21d948634e
commit
3bd983297b
30 files changed
+2093
-52
No files matched your search
@@ -0,0 +1,70 @@
|
||||
"""Shared registration helper for AP2.0 method stubs."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from steering.lifecycle.states import STANDARD_LIFECYCLE_STEPS
|
||||
from steering.methods.registry import MethodDefinition, get_method, register_method
|
||||
|
||||
_PRODUCT_LIKE_STEPS = (
|
||||
"intake",
|
||||
"method_selection",
|
||||
"structure_setup",
|
||||
"planning",
|
||||
"action_selection",
|
||||
"assignment",
|
||||
"waiting",
|
||||
"result_intake",
|
||||
"validation",
|
||||
"review",
|
||||
"adaptation",
|
||||
"closure",
|
||||
)
|
||||
|
||||
_LIGHT_STEPS = (
|
||||
"intake",
|
||||
"structure_setup",
|
||||
"action_selection",
|
||||
"assignment",
|
||||
"waiting",
|
||||
"review",
|
||||
"adaptation",
|
||||
"closure",
|
||||
)
|
||||
|
||||
|
||||
def register_stub_method(
|
||||
*,
|
||||
key: str,
|
||||
label: str,
|
||||
description: str,
|
||||
next_action_strategy_key: str = "default",
|
||||
lifecycle_steps: tuple[str, ...] | None = None,
|
||||
) -> None:
|
||||
if get_method(key):
|
||||
return
|
||||
register_method(
|
||||
MethodDefinition(
|
||||
key=key,
|
||||
version="0.1.0",
|
||||
label=label,
|
||||
description=description,
|
||||
default_lifecycle_steps=lifecycle_steps or STANDARD_LIFECYCLE_STEPS,
|
||||
next_action_strategy_key=next_action_strategy_key,
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
def register_product_like_method(
|
||||
*,
|
||||
key: str,
|
||||
label: str,
|
||||
description: str,
|
||||
next_action_strategy_key: str,
|
||||
) -> None:
|
||||
register_stub_method(
|
||||
key=key,
|
||||
label=label,
|
||||
description=description,
|
||||
next_action_strategy_key=next_action_strategy_key,
|
||||
lifecycle_steps=_PRODUCT_LIKE_STEPS,
|
||||
)
|
||||
@@ -0,0 +1,50 @@
|
||||
"""AP2.0a — remaining method stubs."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from steering.methods.registrations._helpers import register_stub_method
|
||||
|
||||
|
||||
def register() -> None:
|
||||
register_stub_method(
|
||||
key="maturity_progression",
|
||||
label="Reifegrad-Entwicklung",
|
||||
description="Stufen, Routinen, historische Entwicklung",
|
||||
next_action_strategy_key="default",
|
||||
)
|
||||
register_stub_method(
|
||||
key="sequential_dependency",
|
||||
label="Sequenzielle Abhängigkeit",
|
||||
description="Graph-Pfade, kritischer Pfad (read model)",
|
||||
next_action_strategy_key="default",
|
||||
)
|
||||
register_stub_method(
|
||||
key="recurring_control",
|
||||
label="Rhythmus-Steuerung",
|
||||
description="Dauerprogramm, fällig/überfällig, Abweichungen",
|
||||
next_action_strategy_key="default",
|
||||
)
|
||||
register_stub_method(
|
||||
key="queue_pull",
|
||||
label="Inbox / Queue",
|
||||
description="Pull oder Empfehlung aus Queue",
|
||||
next_action_strategy_key="default",
|
||||
)
|
||||
register_stub_method(
|
||||
key="agile_iteration",
|
||||
label="Iterations-Zeitbox",
|
||||
description="Sprint/work_cycle Profil auf Product/Programm",
|
||||
next_action_strategy_key="default",
|
||||
)
|
||||
register_stub_method(
|
||||
key="dispute_procedure",
|
||||
label="Verfahren / Konflikt",
|
||||
description="Reaktive Steuerung, Fristen, Entscheidungen",
|
||||
next_action_strategy_key="default",
|
||||
)
|
||||
register_stub_method(
|
||||
key="chapter_based_progression",
|
||||
label="Kapitel-Entwicklung",
|
||||
description="Inhaltliche Progression, Reviews",
|
||||
next_action_strategy_key="default",
|
||||
)
|
||||
@@ -0,0 +1,14 @@
|
||||
"""Built-in method: continuous_product — AP2.0a."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from steering.methods.registrations._helpers import register_product_like_method
|
||||
|
||||
|
||||
def register() -> None:
|
||||
register_product_like_method(
|
||||
key="continuous_product",
|
||||
label="Produkt (kontinuierlich)",
|
||||
description="Kontinuierlicher Betrieb — Ist zuerst, Plan als Orientierung",
|
||||
next_action_strategy_key="continuous_product",
|
||||
)
|
||||
@@ -0,0 +1,14 @@
|
||||
"""Built-in method: program_delivery — AP2.0a."""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from steering.methods.registrations._helpers import register_product_like_method
|
||||
|
||||
|
||||
def register() -> None:
|
||||
register_product_like_method(
|
||||
key="program_delivery",
|
||||
label="Programm (begrenzt)",
|
||||
description="Meilenstein- und gate-orientierte Steuerung mit Abschluss",
|
||||
next_action_strategy_key="program_delivery",
|
||||
)
|
||||
Reference in new issue
Block a user