2026-07-05 17:24:17 +02:00
|
|
|
"""Bootstrap NextAction strategies."""
|
|
|
|
|
|
|
|
|
|
from __future__ import annotations
|
|
|
|
|
|
2026-07-12 12:34:36 +02:00
|
|
|
from steering.strategies.next_action.agile_iteration import (
|
|
|
|
|
register_agile_iteration_strategy,
|
|
|
|
|
)
|
2026-07-10 10:44:38 +02:00
|
|
|
from steering.strategies.next_action.continuous_product import (
|
|
|
|
|
continuous_product_strategy,
|
|
|
|
|
register_continuous_product_strategy,
|
|
|
|
|
)
|
2026-07-05 17:24:17 +02:00
|
|
|
from steering.strategies.next_action.default_strategy import default_strategy
|
2026-07-12 12:04:40 +02:00
|
|
|
from steering.strategies.next_action.maturity_progression import (
|
|
|
|
|
register_maturity_progression_strategy,
|
|
|
|
|
)
|
2026-07-05 17:24:17 +02:00
|
|
|
from steering.strategies.next_action.product_milestone_driven import (
|
|
|
|
|
product_milestone_strategy,
|
|
|
|
|
)
|
2026-07-10 10:44:38 +02:00
|
|
|
from steering.strategies.next_action.program_delivery import (
|
|
|
|
|
program_delivery_strategy,
|
|
|
|
|
register_program_delivery_strategy,
|
|
|
|
|
)
|
2026-07-12 12:04:40 +02:00
|
|
|
from steering.strategies.next_action.queue_pull import register_queue_pull_strategy
|
|
|
|
|
from steering.strategies.next_action.recurring_control import (
|
|
|
|
|
register_recurring_control_strategy,
|
|
|
|
|
)
|
2026-07-05 17:24:17 +02:00
|
|
|
from steering.strategies.next_action.registry import (
|
|
|
|
|
get_next_action_strategy,
|
|
|
|
|
register_next_action_strategy,
|
|
|
|
|
)
|
2026-07-12 12:04:40 +02:00
|
|
|
from steering.strategies.next_action.sequential_dependency import (
|
|
|
|
|
register_sequential_dependency_strategy,
|
|
|
|
|
)
|
2026-07-05 17:24:17 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
def register_builtin_strategies() -> None:
|
|
|
|
|
for strategy in (default_strategy, product_milestone_strategy):
|
|
|
|
|
if not get_next_action_strategy(strategy.key):
|
|
|
|
|
register_next_action_strategy(strategy)
|
2026-07-10 10:44:38 +02:00
|
|
|
register_program_delivery_strategy()
|
|
|
|
|
register_continuous_product_strategy()
|
2026-07-12 12:04:40 +02:00
|
|
|
register_sequential_dependency_strategy()
|
|
|
|
|
register_maturity_progression_strategy()
|
|
|
|
|
register_recurring_control_strategy()
|
|
|
|
|
register_queue_pull_strategy()
|
2026-07-12 12:34:36 +02:00
|
|
|
register_agile_iteration_strategy()
|