agent/pkg
Snider 433deb1c30 refactor: split templates/ into prompts/, tasks/, flows/
Three distinct concepts in lib/:
  prompts/  — System prompts (PROMPT.md, HOW to work)
  tasks/    — Structured task plans (PLAN.md, WHAT to do)
  flows/    — Multi-phase workflows (orchestration)
  personas/ — Domain/role system prompts (WHO you are)

API updated:
  prompts.Prompt("coding")     — system prompt
  prompts.Task("bug-fix")      — task plan
  prompts.Flow("prod-push-polish") — workflow
  prompts.Template()           — backwards compat (searches both)

templates/ dir reserved for future output templates
(CodeRabbit report formatting, CLI output parsing, etc.)

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 22:26:46 +00:00
..
agentic refactor: move prompt templates from Go strings to embedded markdown 2026-03-17 22:14:39 +00:00
brain fix: address all code review findings (medium + low) 2026-03-17 19:19:04 +00:00
monitor refactor: simplify internals — consolidate, deduplicate, fix bugs 2026-03-17 19:35:15 +00:00
prompts refactor: split templates/ into prompts/, tasks/, flows/ 2026-03-17 22:26:46 +00:00