PlannerCandidate
PlannerCandidate =
DeepReadonly<GridResponse> |DeepReadonly<TilingResponse>
Defined in: packages/engine/src/lib/planner/candidate.ts:31
The raw plan a planner produces: the plan result for the request’s layout
mode, tagged type: 'plan', before the Engine heals and validates it. A
grid request expects a GridResponse; a tiling request a TilingResponse.
A stage that parses model output (GridModelOutput or
TilingModelOutput) stamps the tag itself; validation rejects a result
whose type is missing or unknown.
A candidate is immutable. Validation results are cached per candidate object, so a stage that wants a different plan must return a new object rather than edit one it received or already validated.