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

277 B

Test Coverage Gaps

Find untested code paths and write tests for them.

Process

  1. go test -cover ./... to identify coverage
  2. Focus on exported functions with 0% coverage
  3. Write tests using Good/Bad/Ugly naming
  4. Prioritise: error paths > happy paths > edge cases