OSSS.ai.orchestration.planning.planner¶
OSSS.ai.orchestration.planning.planner
¶
PlanningRule
¶
Bases: Protocol
STRICT (no backwards compatibility):
Every rule MUST implement:
apply(*, exec_state: dict[str, Any], request: dict[str, Any]) -> ExecutionPlan | None
Planner
¶
STRICT Planner:
- Only entrypoint: plan(exec_state=..., request=...) -> ExecutionPlan
- Rules evaluated in order; first match wins.