simulatecraft.planning.planner¶
simulatecraft.planning.planner
¶
Hierarchical plan generation & re-planning. Optional: brains without long-horizon needs can ignore this module entirely.
LLM calls are injected as callables, keeping this module dependency-free.
Planner
¶
Holds the current plan; delegates generation/checking to injected policies.
Source code in src/simulatecraft/planning/planner.py
maybe_replan
async
¶
True when the checker says reality contradicts the plan.