43 lines
1.7 KiB
Markdown
43 lines
1.7 KiB
Markdown
# T0.1: Repo Scaffold
|
|||
|
|
|
||
|
|
## Scope
|
||
|
|
Create directory structure, `go.mod`, empty stubs for all packages.
|
||
|
|
|
||
|
|
## Implementation Checklist
|
||
|
|
- [ ] `go.mod`: module `github.com/rockliang/poimen/workflows`, Go 1.21+
|
||
|
|
- [ ] `statemachine/types.go`: empty package stub (will fill in T0.2)
|
||
|
|
- [ ] `statemachine/signals.go`: empty package stub
|
||
|
|
- [ ] `statemachine/orchestrator.go`: empty package stub, func placeholder
|
||
|
|
- [ ] `statemachine/taskunit.go`: empty package stub, func placeholder
|
||
|
|
- [ ] `action/planner.go`: empty package stub
|
||
|
|
- [ ] `action/implementer.go`: empty package stub
|
||
|
|
- [ ] `action/judge.go`: empty package stub
|
||
|
|
- [ ] `action/git.go`: empty package stub
|
||
|
|
- [ ] `action/skills.go`: empty package stub
|
||
|
|
- [ ] `action/integration_test.go`: empty package stub
|
||
|
|
- [ ] `action/lessons.go`: empty package stub
|
||
|
|
- [ ] `action/llm/client.go`: empty package stub
|
||
|
|
- [ ] `prompts/registry.go`: empty package stub
|
||
|
|
- [ ] `prompts/planner/default.tmpl`: empty text file
|
||
|
|
- [ ] `prompts/judge/default.tmpl`: empty text file
|
||
|
|
- [ ] `prompts/implementer/default.tmpl`: empty text file
|
||
|
|
- [ ] `internal/config/config.go`: empty package stub
|
||
|
|
- [ ] `internal/lock/flock.go`: empty package stub
|
||
|
|
- [ ] `cmd/worker/main.go`: `func main()` stub
|
||
|
|
- [ ] `cmd/starter/main.go`: `func main()` stub
|
||
|
|
- [ ] `tests/taskunit_workflow_test.go`: empty test file
|
||
|
|
- [ ] `tests/orchestrator_workflow_test.go`: empty test file
|
||
|
|
|
||
|
|
## Verification
|
||
|
|
```bash
|
||
|
|
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 0
|
||
|
|
- `ls -R` shows all directories match PLAN.md §Directory Structure
|
||
|
|
- No compilation errors or warnings
|