diff options
| author | Claudomator Agent <agent@claudomator.dev> | 2026-03-23 07:12:08 +0000 |
|---|---|---|
| committer | Claudomator Agent <agent@claudomator.dev> | 2026-03-23 07:12:08 +0000 |
| commit | b2e77009c55ba0f07bb9ff904d9f2f6cc9ff0ee2 (patch) | |
| tree | fd031bba34b186ef236600bee1f9ece34fb53109 /internal/api/validate_test.go | |
| parent | bc62c3545bbcf3f9ccc508cdc43ce9ffdb5dfad0 (diff) | |
feat: Phase 4 — story-aware execution, branch clone, story completion check, deployment status
- ContainerRunner: add Store field; clone with --reference when story has a
local project path; checkout story branch after clone; push to story branch
instead of HEAD
- executor.Store interface: add GetStory, ListTasksByStory, UpdateStoryStatus
- Pool.handleRunResult: trigger checkStoryCompletion when a story task succeeds
- Pool.checkStoryCompletion: transitions story to SHIPPABLE when all tasks done
- serve.go: wire Store into each ContainerRunner
- stories.go: update createStoryBranch to fetch+checkout from origin/master base;
add GET /api/stories/{id}/deployment-status endpoint
- server.go: register deployment-status route
- Tests: TestPool_CheckStoryCompletion_AllComplete/PartialComplete,
TestHandleStoryDeploymentStatus
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/api/validate_test.go')
0 files changed, 0 insertions, 0 deletions
