Prompt for inferring what sub-goal the agent is pursuing given the current state, observation, action, and overall goal.
Implements g_t = f(s_t, o_t, a_t, G) — conditioning subgoal inference
on the derived state ensures the inferred intent reflects accumulated context,
not just the immediate observation.
Returns structured output via chat_structured/3 using a Zoi schema.
Summary
Functions
@spec schema() :: Zoi.Type.t()