You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: resolve multi-perspective parallel search design ambiguity in analyze-with-file
Two issues fixed:
1. Default perspective selection now auto-recommends Technical + Architectural
when dimensions >= 2, instead of always defaulting to single comprehensive
view (which caused Phase B to never trigger).
2. Phase B pseudocode replaced forEach sequential pattern with explicit
parallel Agent() call pattern — all perspective agents must be launched
in the same response block for concurrent execution.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .claude/commands/workflow/analyze-with-file.md
+25-12Lines changed: 25 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -230,31 +230,45 @@ Do NOT write files.
230
230
}
231
231
```
232
232
233
-
**Phase B — Perspective Deep-Dive** (parallel, only for multi-perspective, max 4):
233
+
**Phase B — Perspective Deep-Dive** (PARALLEL, only for multi-perspective, max 4):
234
234
Each perspective agent receives shared Layer 1 results, performs only Layer 2-3 on its relevant subset.
235
235
Skip if single-perspective (single mode proceeds directly to Step 2CLI analysis with Layer 1 results).
236
236
237
+
**CRITICAL — Parallel Execution**: Launch ALL perspective Agent() calls in the SAME response block so Claude Code executes them concurrently. DoNOT use a loop that waits for each agent before starting the next.
| **Domain Expert** | Gemini | Domain patterns, best practices, standards | Industry knowledge |
733
746
734
-
User multi-selects up to 4 in Phase 1, default: single comprehensive view.
747
+
User multi-selects up to 4 in Phase 1. Default: if dimensions >= 2, pre-select Technical + Architectural; if dimensions == 1, single comprehensive view.
0 commit comments