Step 8: Polish — lint, clock abstraction, e2e test.
- golangci-lint config with errcheck, govet, staticcheck, errorlint - Fix all lint issues (unchecked error returns in cleanup paths, De Morgan) - Inject jonboulle/clockwork into Garden for deterministic timestamps - Add manifest.NewWithTime() for clock-aware initialization - E2e lifecycle test: init → add → checkpoint → modify → status → restore → verify - Update CLAUDE.md, PROJECT_PLAN.md, PROGRESS.md Phase 1 (local) is now complete. All 9 CLI commands implemented and tested. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -86,11 +86,11 @@ Depends on Step 5.
|
||||
|
||||
## Step 8: Polish
|
||||
|
||||
- [ ] Lint setup (golangci-lint config)
|
||||
- [ ] Clock abstraction: inject `jonboulle/clockwork` into Garden for deterministic timestamp tests
|
||||
- [ ] End-to-end test: init → add → checkpoint → modify file → status → restore → verify
|
||||
- [ ] Ensure `go vet ./...` and `go test ./...` pass clean
|
||||
- [ ] Update CLAUDE.md, ARCHITECTURE.md, PROGRESS.md
|
||||
- [x] Lint setup (golangci-lint config)
|
||||
- [x] Clock abstraction: inject `jonboulle/clockwork` into Garden for deterministic timestamp tests
|
||||
- [x] End-to-end test: init → add → checkpoint → modify file → status → restore → verify
|
||||
- [x] Ensure `go vet ./...` and `go test ./...` pass clean
|
||||
- [x] Update CLAUDE.md, ARCHITECTURE.md, PROGRESS.md
|
||||
|
||||
## Future Steps (Not Phase 1)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user