entireio / entireio/cli

Claude Code parallel Task subagents misattribute TodoWrite incremental checkpoints

Open
#2,062 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
5.1k
Forks
475
Avg merge
1d 11h
Merged PRs (30d)
178

Description

Summary

Incremental PostTodo checkpoints resolve the parent Task via FindActivePreTaskFile, which returns the most recently modified pre-task-*.json. That is correct for nested Tasks, but wrong for sibling parallel Tasks: every TodoWrite can land under the newer sibling's tool_use_id.

Claude PostToolUse hooks inside a subagent include agent_id, but SubagentCheckpointHookInput did not capture it.

Expected

Prefer agent_id → remembered task link over mtime heuristic when attributing incremental subagent checkpoints.

Notes

Tests previously only covered 0/1 pre-task files.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with SubagentCheckpointHookInput and the PostToolUse/TodoWrite checkpoint flow, then inspect FindActivePreTaskFile and the remembered task-link handling. Add coverage for sibling parallel Tasks with multiple pre-task files and verify each incremental checkpoint is attributed to the correct tool_use_id.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.