docs: Archetyp-Vollspecs und Methodenkern vorlaeufig freigeben.
Deploy Development / deploy (push) Successful in 48s
Test Suite / pytest-backend (push) Failing after 3m23s
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

Decision-Lock, Spec-D-Methoden und C1-Massstab-Vollspecs als Zielbild; Steering-Registry/Compat und Horizon-Tests an die Normierung anbinden. Implementierungsausreichendheit bleibt bewusst offen.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-07-26 15:02:04 +02:00
1 parent 005b371ac0
commit 753f178b0c
48 files changed
+5113 -531

No files matched your search

@@ -32,7 +32,7 @@ def register() -> None:
description="Graph-Pfade, kritischer Pfad (read model)",
next_action_strategy_key="sequential_dependency",
data_slices=SLICES_OM_STANDARD,
compatible_archetype_keys="*",
compatible_archetype_keys=frozenset({"initiative.linear_project"}),
steering_elements=ELEM_NEXT
| frozenset({"critical_path", "gate_fulfillment"}),
ui_features=frozenset({"criticalPathControl"}),
@@ -50,26 +50,38 @@ def register() -> None:
)
register_stub_method(
key="queue_pull",
label="Inbox / Queue",
description="Pull oder Empfehlung aus Queue",
label="Inbox / Queue (Legacy)",
description="Pull oder Empfehlung aus Queue — abgelöst durch checklist_flow",
next_action_strategy_key="queue_pull",
data_slices=SLICES_QUEUE,
compatible_archetype_keys="*",
compatible_archetype_keys=frozenset({"initiative.support_queue"}),
steering_elements=ELEM_NEXT | frozenset({"queue_inbox"}),
graph_profile=LIGHT,
)
register_stub_method(
key="agile_iteration",
label="Iterations-Zeitbox",
description="Sprint/work_cycle Profil auf Product/Programm",
description="Sprint/work_cycle Profil — komponiert mit Primary-Methoden",
next_action_strategy_key="agile_iteration",
data_slices=SLICES_AGILE,
compatible_archetype_keys="*",
compatible_archetype_keys=frozenset(
{
"initiative.linear_project",
"initiative.product",
"initiative.recurring_program",
}
),
steering_elements=ELEM_NEXT | frozenset({"work_cycle_scope"}),
ui_features=frozenset({"steeringSnapshotOnWorkSprint"}),
graph_profile=STRICT,
method_role="modifier",
composes_with=frozenset({"continuous_product", "program_delivery"}),
composes_with=frozenset(
{
"continuous_product",
"sequential_dependency",
"recurring_control",
}
),
)
register_stub_method(
key="dispute_procedure",
@@ -38,8 +38,6 @@ def register() -> None:
{
"initiative.product",
"initiative.generic",
"initiative.linear_project",
"initiative.program",
}
),
steering_elements=ELEM_NEXT | frozenset({"gate_fulfillment"}),
+35
View File
@@ -66,9 +66,44 @@ def register_method(defn: MethodDefinition) -> None:
raise ValueError(f"Method already registered: {defn.key}")
if defn.steering_elements:
validate_steering_element_keys(defn.steering_elements)
if defn.method_role == "modifier" and not defn.composes_with:
raise ValueError(
f"Modifier method {defn.key} must declare composes_with primary keys"
)
_METHODS[defn.key] = defn
def validate_method_registry() -> None:
"""Post-bootstrap: strategy keys exist; composes_with targets are primary methods."""
from steering.strategies.next_action.registry import get_next_action_strategy
for method in _METHODS.values():
strategy_key = method.next_action_strategy_key
if strategy_key != "default" and not get_next_action_strategy(strategy_key):
raise ValueError(
f"Method {method.key} references unknown next_action_strategy: {strategy_key}"
)
for primary_key in method.composes_with:
primary = get_method(primary_key)
if not primary:
raise ValueError(
f"Method {method.key} composes_with unknown method: {primary_key}"
)
if primary.method_role != "primary":
raise ValueError(
f"Method {method.key} composes_with non-primary method: {primary_key}"
)
def list_composable_modifiers(primary_method_key: str) -> tuple[MethodDefinition, ...]:
"""Modifier methods that may compose with the given primary method."""
return tuple(
m
for m in _METHODS.values()
if m.method_role == "modifier" and primary_method_key in m.composes_with
)
def get_method(key: str) -> MethodDefinition | None:
return _METHODS.get(key)