diff --git a/.claude/commands/update-memory-full.md b/.claude/commands/update-memory-full.md index b41fe106..1bc8647b 100644 --- a/.claude/commands/update-memory-full.md +++ b/.claude/commands/update-memory-full.md @@ -36,6 +36,7 @@ argument-hint: "[--tool gemini|qwen|codex] [--path ]" 4. **Depth-Parallel**: Same depth runs parallel (max 4 jobs), different depths sequential 5. **Safety Check**: Verify only CLAUDE.md files modified, revert if source files touched 6. **Independent Commands**: Each update is a separate bash() call +7. **No Background Bash Tool**: Never use `run_in_background` parameter in bash() calls; use shell `&` for parallelism ## Execution Workflow diff --git a/.claude/commands/update-memory-related.md b/.claude/commands/update-memory-related.md index d0aaf8b3..31ee036c 100644 --- a/.claude/commands/update-memory-related.md +++ b/.claude/commands/update-memory-related.md @@ -30,6 +30,7 @@ argument-hint: "[--tool gemini|qwen|codex]" 3. **Related Mode**: Update only changed modules and their parent contexts 4. **Depth-Parallel**: Same depth runs parallel (max 4 jobs), different depths sequential 5. **Safety Check**: Verify only CLAUDE.md files modified, revert if source files touched +6. **No Background Bash Tool**: Never use `run_in_background` parameter in bash() calls; use shell `&` for parallelism ## Execution Workflow diff --git a/CLAUDE.md b/CLAUDE.md index 1d951867..e9481241 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -70,6 +70,11 @@ For all CLI tool usage, command syntax, and integration guidelines: - Learn from existing implementations - Stop after 3 failed attempts and reassess +## Platform-Specific Guidelines + +### Windows Path Conversion for Bash Commands +- **Windows paths** must convert to Git Bash format: `C:\path` → `/c/path`, `D:\path` → `/d/path`, `\` → `/` +- **Relative paths** (starting with `.` or `..`) require no conversion #### **Content Uniqueness Rules**