feat(structured-plan-mode): use native TaskCreate/TaskUpdate#14
Open
pemontto wants to merge 1 commit intoNikiforovAll:mainfrom
Open
feat(structured-plan-mode): use native TaskCreate/TaskUpdate#14pemontto wants to merge 1 commit intoNikiforovAll:mainfrom
pemontto wants to merge 1 commit intoNikiforovAll:mainfrom
Conversation
…TaskUpdate Use Claude Code's native task system (TaskCreate/TaskUpdate) instead of the deprecated TodoWrite for tracking phases and implementation tasks. This writes task state to ~/.claude/tasks/, enabling external viewers (claude-task-viewer, etc.) to display real-time progress. The .plans/ file structure is preserved as the source of truth for content. Native tasks serve as a lightweight index for external visibility and cross-session tracking. Key changes: - Phase 1-4 registered via TaskCreate at setup - Implementation tasks (T01-T0N) registered via TaskCreate in Phase 4 - Status updates in three places: task file, plan.md, native task system - Task dependencies expressed via TaskUpdate addBlockedBy
677c5a5 to
6365670
Compare
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.
Summary
TodoWritewith Claude Code's nativeTaskCreate/TaskUpdatesystem~/.claude/tasks/.plans/file structure is preserved as-is — native tasks are a lightweight index, not a replacementMotivation
Claude Code now has a native task system (
TaskCreate/TaskUpdate) that persists task state to~/.claude/tasks/{session-uuid}/{id}.json. External tools like claude-task-viewer read from this location to provide kanban boards and cross-session visibility.The current skill uses
TodoWrite, which is session-scoped and invisible to external tooling. This PR bridges the gap by registering plan phases and implementation tasks in the native system alongside the existing.plans/markdown files.What Changed
TodoWritefor phases 1-4TaskCreatefor phases 1-4TaskCreatefor each implementation task in Phase 4TodoWritestatus updatesTaskUpdatestatus transitions (in_progress/completed)~/.claude/tasks/for viewersNon-Changes
.plans/[feature-name]/directory structure: unchangedplan.mdcontent and format: unchangedassets/plan-template.mdandreferences/task-planning-guide.md: unchangedTest plan
/structured-plan-modeon a test feature, verify phases appear in~/.claude/tasks/.plans/directory and markdown files are still created as beforeTaskUpdatestatus transitions (in_progress, completed) are reflected in vieweraddBlockedByare correctly set