Function: planOutline()
ts
function planOutline(store: PlanStore, planId: string): Promise<PlanOutline>;Defined in: src/batteries/orchestration/outline.ts:64
Build a flat outline of a plan: one entry per phase, plus a single entry for unphased nodes.
Parameters
| Parameter | Type | Description |
|---|---|---|
store | PlanStore | the plan store to read from. |
planId | string | the id of the plan to outline. |
Returns
Promise<PlanOutline>
the flat outline of the plan.
Remarks
Each PhaseEntry carries the exact surface forms a reader needs to fetch a slice — the phase name, the node ids, the tool names of every call node, an open-issue count, and a one-line summary. The outline is deliberately a single flat list with no second routing level; see the module doc for why.