Documentation
¶
Overview ¶
Package coach provides per-task AI coaching tips before task execution. Unlike explain (which narrates what will happen), coaching is prescriptive: it gives the executor concrete advice on how to approach the task well, what to watch out for, and common pitfalls to avoid.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoachingSession ¶
type CoachingSession struct {
TaskID int `json:"task_id"`
TaskTitle string `json:"task_title"`
Tips []Tip `json:"tips"`
KeyQuestion string `json:"key_question"`
SuccessCriteria []string `json:"success_criteria"`
}
CoachingSession holds the full coaching output for a task.
func Coach ¶
func Coach(ctx context.Context, p provider.Provider, model string, task *pm.Task, plan *pm.Plan, workDir string) (*CoachingSession, error)
Coach generates a coaching session for the given task. model may be empty (the provider will use its default). workDir is used for future context injection but is currently informational.
Click to show internal directories.
Click to hide internal directories.