mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-12 02:37:45 +08:00
fix: Resolve workflow conflicts and template path issues
- Fix agent responsibility conflict in workflow execute command - Resolve template file path expansion issues in update script - Add comprehensive module documentation 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -131,8 +131,8 @@ Task(subagent_type="code-developer",
|
|||||||
IMPORTANT:
|
IMPORTANT:
|
||||||
1. Execute flow control steps in sequence with error handling
|
1. Execute flow control steps in sequence with error handling
|
||||||
2. Accumulate context through step chain
|
2. Accumulate context through step chain
|
||||||
3. Create comprehensive summary with 'Outputs for Dependent Tasks' section
|
3. Provide detailed completion report for summary generation
|
||||||
4. Update TODO_LIST.md upon completion",
|
4. Mark task as completed - system will auto-generate summary and update TODO_LIST.md",
|
||||||
description="Execute task with flow control step processing")
|
description="Execute task with flow control step processing")
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@@ -40,22 +40,22 @@ update_module_claude() {
|
|||||||
if [ "$module_path" = "." ]; then
|
if [ "$module_path" = "." ]; then
|
||||||
# Root directory
|
# Root directory
|
||||||
layer="Layer 1 (Root)"
|
layer="Layer 1 (Root)"
|
||||||
template_path="~/.claude/workflows/cli-templates/prompts/dms/claude-layer1-root.txt"
|
template_path="$HOME/.claude/workflows/cli-templates/prompts/dms/claude-layer1-root.txt"
|
||||||
analysis_strategy="--all-files"
|
analysis_strategy="--all-files"
|
||||||
elif [[ "$clean_path" =~ ^[^/]+$ ]]; then
|
elif [[ "$clean_path" =~ ^[^/]+$ ]]; then
|
||||||
# Top-level directories (e.g., .claude, src, tests)
|
# Top-level directories (e.g., .claude, src, tests)
|
||||||
layer="Layer 2 (Domain)"
|
layer="Layer 2 (Domain)"
|
||||||
template_path="~/.claude/workflows/cli-templates/prompts/dms/claude-layer2-domain.txt"
|
template_path="$HOME/.claude/workflows/cli-templates/prompts/dms/claude-layer2-domain.txt"
|
||||||
analysis_strategy="@{*/CLAUDE.md}"
|
analysis_strategy="@{*/CLAUDE.md}"
|
||||||
elif [[ "$clean_path" =~ ^[^/]+/[^/]+$ ]]; then
|
elif [[ "$clean_path" =~ ^[^/]+/[^/]+$ ]]; then
|
||||||
# Second-level directories (e.g., .claude/scripts, src/components)
|
# Second-level directories (e.g., .claude/scripts, src/components)
|
||||||
layer="Layer 3 (Module)"
|
layer="Layer 3 (Module)"
|
||||||
template_path="~/.claude/workflows/cli-templates/prompts/dms/claude-layer3-module.txt"
|
template_path="$HOME/.claude/workflows/cli-templates/prompts/dms/claude-layer3-module.txt"
|
||||||
analysis_strategy="@{*/CLAUDE.md}"
|
analysis_strategy="@{*/CLAUDE.md}"
|
||||||
else
|
else
|
||||||
# Deeper directories (e.g., .claude/workflows/cli-templates/prompts)
|
# Deeper directories (e.g., .claude/workflows/cli-templates/prompts)
|
||||||
layer="Layer 4 (Sub-Module)"
|
layer="Layer 4 (Sub-Module)"
|
||||||
template_path="~/.claude/workflows/cli-templates/prompts/dms/claude-layer4-submodule.txt"
|
template_path="$HOME/.claude/workflows/cli-templates/prompts/dms/claude-layer4-submodule.txt"
|
||||||
analysis_strategy="--all-files"
|
analysis_strategy="--all-files"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user