agent/pkg
Snider a1c2ed2376 refactor: move prompt templates from Go strings to embedded markdown
Extract 4 hardcoded templates from prep.go raw strings into
pkg/prompts/lib/templates/ as markdown files:
- coding.md — main coding template with closeout sequence
- conventions.md — convention audit (report only)
- security.md — security review
- verify.md — PR verification
- default.md — fallback

prep.go now calls prompts.Template("coding") instead of
maintaining 120 lines of raw Go string literals.

Backticks now work properly in templates — no more
concatenation hacks for inline code formatting.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 22:14:39 +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: move prompt templates from Go strings to embedded markdown 2026-03-17 22:14:39 +00:00