T2564: Investigate and fix taskcore claim endpoint#70
Open
krandder wants to merge 10 commits into
Open
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task 2564
Investigate and fix taskcore claim endpoint
Branch:
task/T2564→main