Documentation
¶
Overview ¶
Package planning turns researched UI maps into prioritized, deduplicated test scenarios through one model conversation per iteration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Planner ¶
type Planner struct {
LLM explore.LLM
// Knowledge optionally supplies operator hints matched to the
// screen; nil means no hints.
Knowledge explore.KnowledgeStore
}
Planner implements explore.Planner on top of one chat model.
func (*Planner) PlanNext ¶
func (p *Planner) PlanNext(ctx context.Context, request explore.PlanRequest) ([]explore.Scenario, error)
PlanNext asks the model for up to request.Budget scenarios grounded in the researched map, validates the reply, drops rejected and repeated entries, and stamps the survivors with style, start screen, and pending status.
type Style ¶
Style pairs a planning style name with the prompt directive that shapes one planning iteration.
func LookupStyle ¶
LookupStyle resolves a style name. Unknown names fall back to the normal style with known reported false so callers can note the miss.