Documentation
¶
Overview ¶
Package decisiontree maps user intent to agent execution strategies.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Tree ¶
func New ¶
func New() *Tree
New constructs the default decision tree, wiring root children that match common observability scenarios.
func (*Tree) Traverse ¶
func (t *Tree) Traverse(query string, ctx *model.AgentContext) []*Node
Traverse walks the tree depth-first and returns every node whose condition matches the query/context. The returned slice (applicable nodes) is fed to the coordinator to spawn agents, while CurrentPath/Decisions capture the rules that matched for auditing and metadata.
Click to show internal directories.
Click to hide internal directories.