Source:
Local role: Strategy node that binds one action id to one input perception and one projected successor perceived state.
Big-picture role: Primary strategy-chain unit. A node says “apply this action from this perceived state, producing this projected successor perceived state.”
Inheritance:
- dataclass
Parameters and fields:
- node_id: str
- action_id: str
- source_perception_id: Optional[str]
- projected_state: Optional[ProjectedPerceptionState]
- outcome_branches: list[StrategyOutcomeBranch]
- metadata: dict
Properties:
successor_perception_id -> Optional[str]
Methods:
to_dict() -> dictfrom_dict(data) -> StrategyNode
Important behavior:
- if
projected_stateis present, it must correspond to the node’saction_id - if
projected_stateis present,source_perception_idmust match the projected state’s source perception
See also:
