package examples import ( "embed" "git.a-wan.net/alan/pipelines/internal/protocol" ) // Only checked-in Markdown examples are shipped. No runtime databases or user drafts. // //go:embed *.md var sources embed.FS var starters = []protocol.Template{ {Key: "task", Name: "Small code change", Description: "Make a focused change and independently review it. Leaves changes uncommitted."}, {Key: "research", Name: "Research", Description: "Research a question, then fact-check a cited report. Requires working web search/fetch tools."}, {Key: "summarize", Name: "Summarize documents", Description: "Summarize supplied local documents, then check fidelity and source references. Read-only."}, {Key: "compare", Name: "Compare options", Description: "Compare supplied options against explicit criteria, then check a decision brief. Read-only."}, {Key: "plan", Name: "Plan and checklist", Description: "Turn a goal into a practical plan, then check dependencies, risks and acceptance criteria. Read-only."}, {Key: "three-stage", Name: "Plan and implement", Description: "Plan a change, implement it, review and verify it, then commit it locally. Any language or file type."}, {Key: "review", Name: "Review", Description: "One read-only stage to review repository content and report findings."}, {Key: "debug", Name: "Debug", Description: "Reproduce a failure, find its cause, fix it, verify the fix, then commit locally."}, } func Catalog() []protocol.Template { result := make([]protocol.Template, 0, len(starters)) for _, item := range starters { data, _ := sources.ReadFile(item.Key + ".md") item.Source = string(data) // Schedules are saved run configurations, never starter definitions. item.Scheduled = false result = append(result, item) } return result }