Skip to content

T2564: Investigate and fix taskcore claim endpoint#70

Open
krandder wants to merge 10 commits into
mainfrom
task/T2564
Open

T2564: Investigate and fix taskcore claim endpoint#70
krandder wants to merge 10 commits into
mainfrom
task/T2564

Conversation

@krandder

Copy link
Copy Markdown
Contributor

Task 2564

Investigate and fix taskcore claim endpoint

Branch: task/T2564main

krandder and others added 10 commits March 10, 2026 18:02
When piping task output to head or similar commands, Node.js throws
EPIPE if the pipe closes before all output is written. This fix adds
an error handler on stdout that exits cleanly on EPIPE instead of
throwing an uncaught exception.

Test: task list | head -5 now exits with code 0 instead of EPIPE error
Coordinator/parent tasks delegate their work to child task branches.
verifyArtifacts() now returns passed:true immediately when task.children.length > 0,
with a reason explaining delegation. Includes a new test covering this case.
- Add plan-parse.ts: markdown plan parser with cost allocation
- Wire `task plan` and `task decompose plan` CLI commands
- Both parse checklist/ordered/bullet markdown into child tasks
- Cost allocation: explicit costs honored, remainder split evenly
- Support --file, --stdin, positional text, --strategy sequential|parallel
- 32 unit tests for parser and cost allocation (all passing)
- Update task-cli-spec.md with plan command documentation
- Update prompt guidance to surface plan command in decomposition phase

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-authored-by: codex.41 [OpenClaw] <codex.41@openclaw.ai>
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