agent/pkg/agentic
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
..
auto_pr.go feat: auto-create PR on Forge after agent completion 2026-03-17 04:19:48 +00:00
dispatch.go refactor: simplify internals — consolidate, deduplicate, fix bugs 2026-03-17 19:35:15 +00:00
epic.go refactor: simplify internals — consolidate, deduplicate, fix bugs 2026-03-17 19:35:15 +00:00
events.go refactor: simplify internals — consolidate, deduplicate, fix bugs 2026-03-17 19:35:15 +00:00
ingest.go refactor: replace fmt.Errorf/os.* with go-io/go-log conventions 2026-03-16 21:48:31 +00:00
mirror.go fix: address code review findings (critical + high) 2026-03-17 19:12:06 +00:00
paths.go refactor: simplify internals — consolidate, deduplicate, fix bugs 2026-03-17 19:35:15 +00:00
paths_test.go feat: rewrite CLAUDE.md, add tests for agentic + prompts packages 2026-03-17 22:09:29 +00:00
plan.go refactor: simplify internals — consolidate, deduplicate, fix bugs 2026-03-17 19:35:15 +00:00
pr.go refactor: simplify internals — consolidate, deduplicate, fix bugs 2026-03-17 19:35:15 +00:00
prep.go refactor: move prompt templates from Go strings to embedded markdown 2026-03-17 22:14:39 +00:00
queue.go refactor: simplify internals — consolidate, deduplicate, fix bugs 2026-03-17 19:35:15 +00:00
remote.go fix: address all code review findings (medium + low) 2026-03-17 19:19:04 +00:00
remote_client.go feat(agent): v0.2.0 — HTTP daemon, remote dispatch, review queue, verify+merge 2026-03-17 17:45:04 +00:00
remote_status.go feat(agent): v0.2.0 — HTTP daemon, remote dispatch, review queue, verify+merge 2026-03-17 17:45:04 +00:00
resume.go fix: remove hardcoded paths, gitignore binaries 2026-03-17 18:13:44 +00:00
review_queue.go fix: address re-review findings — nil pointer, races, curl, clone error 2026-03-17 19:27:44 +00:00
scan.go refactor: simplify internals — consolidate, deduplicate, fix bugs 2026-03-17 19:35:15 +00:00
status.go fix: remove hardcoded paths, gitignore binaries 2026-03-17 18:13:44 +00:00
verify.go refactor: simplify internals — consolidate, deduplicate, fix bugs 2026-03-17 19:35:15 +00:00
watch.go refactor: simplify internals — consolidate, deduplicate, fix bugs 2026-03-17 19:35:15 +00:00