mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-13 02:41:50 +08:00
fix: Pass session context to agents for proper TODO_LIST and summary management
- Update workflow:execute.md to inject session context paths into agent prompts - Modify code-developer.md to require and use session context for TODO_LIST updates - Update task:execute.md to include session_context structure in JSON template - Enhance action-planning-agent.md to use provided session paths for plan generation - Fix code-review-test-agent.md to reference session context for review summaries Resolves issue where agents couldn't locate workflow directory for TODO_LIST.md updates and summary creation. Agents now receive explicit paths instead of assuming defaults. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -62,14 +62,16 @@ Break work into 3-5 logical implementation stages with:
|
||||
- Estimated complexity and time requirements
|
||||
|
||||
### 2. Implementation Plan Creation
|
||||
Generate `IMPL_PLAN.md` in `.workflow/WFS-[session-id]/` directory:
|
||||
Generate `IMPL_PLAN.md` using session context directory paths:
|
||||
- **Session Context**: Use workflow directory path provided by workflow:execute
|
||||
- **Stage-Based Format**: Simple, linear tasks
|
||||
- **Hierarchical Format**: Complex tasks (>5 subtasks or >3 modules)
|
||||
- **CRITICAL**: Always use session context paths, never assume default locations
|
||||
|
||||
### 3. Task Decomposition (Complex Projects)
|
||||
For tasks requiring >5 subtasks or spanning >3 modules:
|
||||
- Create detailed task breakdown and tracking
|
||||
- Generate TODO_LIST.md for progress monitoring
|
||||
- Generate TODO_LIST.md for progress monitoring using provided session context paths
|
||||
- Use hierarchical structure (max 3 levels)
|
||||
|
||||
### 4. Document Generation
|
||||
|
||||
Reference in New Issue
Block a user