basalt / ai/src / buildPlanContext
Function: buildPlanContext()
> buildPlanContext(ctx): string
Defined in: ai/src/plan/context.ts:9
Compact, relevant-only project summary for the planner (spec §18 Context Engineering — never ship the whole project to the model). Surfaces exactly what the Architect needs to ground a plan: enabled capabilities, existing models and the generator's flags.
Parameters
ctx
Returns
string