2026-07-05 17:24:17 +02:00
|
|
|
"""Bootstrap NextAction strategies."""
|
|
|
|
|
|
|
|
|
|
from __future__ import annotations
|
|
|
|
|
|
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
|
|
|
|
|
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-05 17:24:17 +02:00
|
|
|
from steering.strategies.next_action.registry import (
|
|
|
|
|
get_next_action_strategy,
|
|
|
|
|
register_next_action_strategy,
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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()
|