agent/pkg/lib/task/code/review.md
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

516 B

Code Review Task

Review all changed files for bugs, security issues, and convention violations.

Process

  1. Run git diff --name-only origin/main..HEAD to find changed files
  2. Read each changed file
  3. Check against the conventions in review/conventions.md
  4. Rate each finding by confidence (0-100, report >= 50)
  5. Output findings by severity

Output

[SEVERITY] file.go:LINE (confidence: N)
Description of the issue.
Suggested fix.

End with: X critical, Y high, Z medium, W low findings.