Each task includes: - Scope: what to build - Implementation: code sketches + details - Verification: concrete test criteria - Done criteria: acceptance checklist
1.7 KiB
1.7 KiB
T0.1: Repo Scaffold
Scope
Create directory structure, go.mod, empty stubs for all packages.
Implementation Checklist
go.mod: modulegithub.com/rockliang/poimen/workflows, Go 1.21+statemachine/types.go: empty package stub (will fill in T0.2)statemachine/signals.go: empty package stubstatemachine/orchestrator.go: empty package stub, func placeholderstatemachine/taskunit.go: empty package stub, func placeholderaction/planner.go: empty package stubaction/implementer.go: empty package stubaction/judge.go: empty package stubaction/git.go: empty package stubaction/skills.go: empty package stubaction/integration_test.go: empty package stubaction/lessons.go: empty package stubaction/llm/client.go: empty package stubprompts/registry.go: empty package stubprompts/planner/default.tmpl: empty text fileprompts/judge/default.tmpl: empty text fileprompts/implementer/default.tmpl: empty text fileinternal/config/config.go: empty package stubinternal/lock/flock.go: empty package stubcmd/worker/main.go:func main()stubcmd/starter/main.go:func main()stubtests/taskunit_workflow_test.go: empty test filetests/orchestrator_workflow_test.go: empty test file
Verification
cd /Users/rockliang/workplace/Poimen/workflows
go build ./...
# Command should succeed with no errors
# All directories should exist as listed above
Done Criteria
go build ./...succeeds with exit code 0ls -Rshows all directories match PLAN.md §Directory Structure- No compilation errors or warnings