Skip to content

feat(core,mcp,worker): add plan publication lane#63

Merged
NagyVikt merged 1 commit intomainfrom
agent/claude/add-plan-publication-lane-to-mcp-2026-04-25-13-23
Apr 25, 2026
Merged

feat(core,mcp,worker): add plan publication lane#63
NagyVikt merged 1 commit intomainfrom
agent/claude/add-plan-publication-lane-to-mcp-2026-04-25-13-23

Conversation

@NagyVikt
Copy link
Copy Markdown
Collaborator

Automated by gx branch finish (PR flow).

Compose a multi-task plan lane on top of the existing task-thread + spec
primitives. `task_plan_publish` writes a spec change document and opens
one task thread per sub-task on `spec/<slug>/sub-N` branches, linking them
via `metadata.parent_plan_slug`. `task_plan_list` returns a plan-level
rollup with status counts and a `next_available` list of unblocked sub-tasks.
`task_plan_claim_subtask` claims race-safely (scan-before-stamp inside a
SQLite transaction); on success it joins the caller and activates file
claims. `task_plan_complete_subtask` releases claims and unblocks
downstream sub-tasks. `GET /api/colony/plans` exposes the same rollup to
the worker. New observation kinds: `plan-subtask`, `plan-subtask-claim`.
No schema migration; the lane composes over existing primitives.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@NagyVikt NagyVikt merged commit e6c03f2 into main Apr 25, 2026
@NagyVikt NagyVikt deleted the agent/claude/add-plan-publication-lane-to-mcp-2026-04-25-13-23 branch April 25, 2026 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant