Skip to content

Commit 118dfa2

Browse files
barkainclaude
andcommitted
docs: repoint stale workflow_orchestrator.md refs to commands/delegate.md
The orphan system-prompts/workflow_orchestrator.md was deleted in the previous commit. Update the four secondary docs that still referenced it. CHANGELOG entry left untouched (historical record). - ARCHITECTURE_QUICK_REFERENCE.md: troubleshooting checklist + multi-step workflow example now point at inject_all.py and the slash command. - environment-variables.md: Related links collapsed to commands/delegate.md. - plan-explore-parallel-processing.md: 4 architectural references updated. - validation-schema.md: Related Documentation pointer updated. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 35fc5f5 commit 118dfa2

4 files changed

Lines changed: 9 additions & 11 deletions

File tree

docs/ARCHITECTURE_QUICK_REFERENCE.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ rm -f .claude/state/team_mode_active .claude/state/team_config.json
472472

473473
### Multi-Step Not Detected
474474

475-
- [ ] Is workflow_orchestrator.md appended? Use `--append-system-prompt`
475+
- [ ] Is the SessionStart hook installed? Check `ls ~/.claude/hooks/SessionStart/inject_all.py` — it injects `orchestrator_stub.md` which routes multi-step work through `/workflow-orchestrator:delegate`.
476476
- [ ] Does task have multi-step indicators?
477477
- Sequential connectors: "and then", "with", "including"
478478
- Multiple verbs: "create", "test", "verify"
@@ -535,9 +535,8 @@ rm -f .claude/state/team_mode_active .claude/state/team_config.json
535535
### Multi-Step Workflow
536536

537537
```bash
538-
# Append orchestrator and run workflow
539-
claude --append-system-prompt "$(cat ~/.claude/system-prompts/workflow_orchestrator.md)" \
540-
"Create calculator.py with tests and verify they pass"
538+
# Invoke the orchestrator via slash command — it loads commands/delegate.md on demand.
539+
/workflow-orchestrator:delegate Create calculator.py with tests and verify they pass
541540
```
542541

543542
### Debug Mode

docs/environment-variables.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,8 +537,7 @@ Wave complete
537537

538538
### Related
539539

540-
- See [Concurrency Limits](../system-prompts/workflow_orchestrator.md#concurrency-limits) for detailed execution rules
541-
- See [Workflow Orchestrator](../system-prompts/workflow_orchestrator.md) for task planning guidance
540+
- See [`commands/delegate.md`](../commands/delegate.md) for the full orchestrator logic, wave scheduling, and team-mode execution rules.
542541

543542
---
544543

docs/plan-explore-parallel-processing.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Parallel Explore Agents for Large Data Processing
22

3-
**Status:** Implemented via 3-step routing in `workflow_orchestrator.md`. Read-only breadth tasks are handled by spawning parallel Explore agents or codebase-context-analyzer directly.
3+
**Status:** Implemented via 3-step routing in `commands/delegate.md`. Read-only breadth tasks are handled by spawning parallel Explore agents or codebase-context-analyzer directly.
44

55
## Background
66

@@ -95,7 +95,7 @@ The distinction: **depth** tasks go to specialized agents, **breadth** tasks go
9595

9696
## Changes Required
9797

98-
### 1. `system-prompts/workflow_orchestrator.md` (Planning Instructions section)
98+
### 1. `commands/delegate.md` (Planning Instructions section)
9999

100100
**Add Explore to Available Specialized Agents table:**
101101

@@ -128,7 +128,7 @@ REQUIRED: Large data processing workflows MUST include a final aggregation wave.
128128

129129
Add: "Explore agents use Haiku (cheap, fast). Higher concurrency is acceptable for Explore-only waves."
130130

131-
### 2. `system-prompts/workflow_orchestrator.md`
131+
### 2. `commands/delegate.md`
132132

133133
**Add Explore Agent Execution section:**
134134

@@ -215,7 +215,7 @@ Example Task invocation for Explore:
215215

216216
### Implementation (Completed)
217217

218-
1. **3-step routing in `workflow_orchestrator.md`**
218+
1. **3-step routing in `commands/delegate.md`**
219219
- Step 1: Write detection (skip direct Explore routing if write indicators found)
220220
- Step 2: Breadth task detection (single verb + broad scope)
221221
- Step 3: Route decision (parallel Explore agents, plan mode, or direct execution)

docs/validation-schema.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ This file demonstrates:
746746
## Related Documentation
747747

748748
- **Validation System Implementation:** `docs/phase-b-validation-implementation.md`
749-
- **Workflow Orchestration:** `system-prompts/workflow_orchestrator.md`
749+
- **Workflow Orchestration:** `commands/delegate.md`
750750
- **Delegation Architecture:** `CLAUDE.md` (Architecture Overview section)
751751
- **State Management:** `.claude/state/` directory structure
752752

0 commit comments

Comments
 (0)