37 lines
967 B
Python
37 lines
967 B
Python
|
|
"""Built-in method: product_milestone_driven — AP1.1."""
|
||
|
|
|
||
|
|
from __future__ import annotations
|
||
|
|
|
||
|
|
from steering.lifecycle.states import STANDARD_LIFECYCLE_STEPS
|
||
|
|
from steering.methods.registry import MethodDefinition, get_method, register_method
|
||
|
|
|
||
|
|
_PRODUCT_STEPS = (
|
||
|
|
"intake",
|
||
|
|
"method_selection",
|
||
|
|
"structure_setup",
|
||
|
|
"planning",
|
||
|
|
"action_selection",
|
||
|
|
"assignment",
|
||
|
|
"waiting",
|
||
|
|
"result_intake",
|
||
|
|
"validation",
|
||
|
|
"review",
|
||
|
|
"adaptation",
|
||
|
|
"closure",
|
||
|
|
)
|
||
|
|
|
||
|
|
|
||
|
|
def register() -> None:
|
||
|
|
if get_method("product_milestone_driven"):
|
||
|
|
return
|
||
|
|
register_method(
|
||
|
|
MethodDefinition(
|
||
|
|
key="product_milestone_driven",
|
||
|
|
version="0.1.0",
|
||
|
|
label="Produkt / Meilenstein",
|
||
|
|
description="Meilenstein-orientierte Steuerung für Produkt- und Projektentwicklung",
|
||
|
|
default_lifecycle_steps=_PRODUCT_STEPS,
|
||
|
|
next_action_strategy_key="product_milestone_driven",
|
||
|
|
)
|
||
|
|
)
|