- 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>
277 B
277 B
Test Coverage Gaps
Find untested code paths and write tests for them.
Process
go test -cover ./...to identify coverage- Focus on exported functions with 0% coverage
- Write tests using Good/Bad/Ugly naming
- Prioritise: error paths > happy paths > edge cases