summaryrefslogtreecommitdiff
path: root/internal/cli/root.go
diff options
context:
space:
mode:
authorClaudomator Agent <agent@claudomator>2026-07-11 07:46:30 +0000
committerClaudomator Agent <agent@claudomator>2026-07-11 07:46:30 +0000
commit5caa21a204b6eec9362583dc237afa775e1f40d8 (patch)
tree7cbcccd1daacad78bd4c7e2ddf3d2f2616baa20b /internal/cli/root.go
parent204fe6c536d5d3bca2cb712f66b1d63054807dac (diff)
docs: fix workflow diagram — webhook and spawn_subtask don't auto-submit to pool
- GitHub webhook (createCIFailureTask) only calls store.CreateTask with PENDING state; it never calls Pool.Submit. Previous diagram said "creates task + auto-runs" which was wrong. - spawn_subtask (both role= and no-role= variants) only calls store.CreateTask with PENDING state via storeChannel.SpawnSubtask. The pool is not called. Previous diagram labelled this "Pool.Submit() for new child/sibling" which was wrong. - Both spawn_subtask variants always set parent_task_id. The "sibling with depends_on" description for the role= case was misleading. - propose_epic and propose_role_config are storage-only writes with no connection to the pool at all. Previous diagram drew arrows from these to executor.Pool; removed and replaced with a STORAGE node. - Added explicit note that PENDING children need a separate /run call (scripts/start-next-task, StoryOrchestrator.spawnRoleTask, or manual). - StoryOrchestrator's spawnRoleTask correctly creates + QUEUED + Pool.Submit in one step; that path remains accurate. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/cli/root.go')
0 files changed, 0 insertions, 0 deletions