Snider
|
53482cb0c8
|
feat: workspace templates via Extract — Gosod pattern for agent dispatch
- Move pkg/prompts/lib → pkg/lib (prompt, task, flow, persona, workspace)
- New lib.go: unified package with ExtractWorkspace() using text/template
- Workspace templates: default, security, review — .tmpl files with data injection
- prep.go: uses lib.ExtractWorkspace() + detect helpers for language/build/test
- prompts.go: thin re-export wrapper for backwards compat
Co-Authored-By: Virgil <virgil@lethean.io>
|
2026-03-18 14:03:06 +00:00 |
|
Snider
|
e7b47bf1a0
|
feat: TaskBundle — task file + directory of additionals
Pattern: task name maps to file + bundle directory
task/code/review.md ← the task definition
task/code/review/ ← additional context files
conventions.md ← checklist
severity.md ← rating guide
plan.yaml ← structured phases
TaskBundle("code/review") returns (main, bundle, err)
where bundle is map[filename]content of everything in review/.
Agent name maps to lib path:
core:agent-task-code-review → lib/task/code/review + review/
Converted code/ tasks from YAML plans to markdown task prompts
with optional bundles. Simplifier gets patterns.md bundle.
Co-Authored-By: Virgil <virgil@lethean.io>
|
2026-03-17 22:48:56 +00:00 |
|