Skip to content

Commit 464af8e

Browse files
jwaldripclaude
andcommitted
refactor: remove operator and reflector hats and workflows
Remove the operator and reflector hats, their workflow definitions (operational, reflective), and all references from README, inject-context hook, reflect skill, and workflows.yml. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 95a9713 commit 464af8e

File tree

6 files changed

+2
-332
lines changed

6 files changed

+2
-332
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,6 @@ Select a workflow during `/elaborate`:
238238
| **default** | Standard development | planner, builder, reviewer |
239239
| **adversarial** | Security-focused with Red/Blue team | planner, builder, red-team, blue-team, reviewer |
240240
| **design** | UI/UX units producing design artifacts | planner, designer, reviewer |
241-
| **operational** | Development with operational setup | planner, builder, operator, reviewer |
242-
| **reflective** | Full lifecycle with reflection | planner, builder, operator, reflector, reviewer |
243241
| **hypothesis** | Scientific debugging | observer, hypothesizer, experimenter, analyst |
244242

245243
## Hats
@@ -261,8 +259,6 @@ All hats follow the [Agent SOP format](https://github.com/strands-agents/agent-s
261259
| Builder | Implement according to plan and criteria |
262260
| Reviewer | Verify implementation meets criteria |
263261
| Designer | Produce UI/UX design artifacts |
264-
| Operator | Execute operational setup tasks |
265-
| Reflector | Analyze outcomes and capture learnings |
266262
| Integrator | Cross-cutting integration concerns |
267263
| Test Writer | Write failing tests first |
268264
| Implementer | Make tests pass with minimal code |

plugin/hats/operator.md

Lines changed: 0 additions & 139 deletions
This file was deleted.

plugin/hats/reflector.md

Lines changed: 0 additions & 175 deletions
This file was deleted.

plugin/hooks/inject-context.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,8 +319,6 @@ if [ -z "$PHASE" ]; then
319319
HAT_FOR_PHASE=$(echo "$ITERATION_JSON" | han parse json hat -r --default "builder" 2>/dev/null || echo "builder")
320320
case "$HAT_FOR_PHASE" in
321321
planner) PHASE="elaboration" ;;
322-
operator) PHASE="operation" ;;
323-
reflector) PHASE="reflection" ;;
324322
*) PHASE="execution" ;;
325323
esac
326324
ITERATION_JSON=$(echo "$ITERATION_JSON" | han parse json-set phase "$PHASE" 2>/dev/null || echo "$ITERATION_JSON")

plugin/skills/reflect/SKILL.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,9 @@ Produce a structured analysis:
169169
| {gate} | {%} | {useful/noisy/misconfigured} |
170170
```
171171

172-
### Step 3: Don the Reflector Hat
172+
### Step 3: Analyze Outcomes
173173

174-
Load and follow the Reflector hat instructions from `hats/reflector.md`.
175-
176-
As the Reflector, analyze:
174+
Perform a structured reflection analysis. As the reflector, analyze:
177175

178176
1. **Execution patterns** - Which units went smoothly? Which required retries?
179177
2. **Criteria satisfaction** - How well were success criteria met? Any partial satisfaction?

plugin/workflows.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,6 @@ design:
2020
description: Design workflow for UI/UX units that produce design artifacts
2121
hats: [planner, designer, reviewer]
2222

23-
operational:
24-
description: Workflow with operational setup
25-
hats: [planner, builder, operator, reviewer]
26-
27-
reflective:
28-
description: Full lifecycle with reflection
29-
hats: [planner, builder, operator, reflector, reviewer]
30-
3123
hypothesis:
3224
description: Scientific debugging for investigating bugs
3325
hats: [observer, hypothesizer, experimenter, analyst]

0 commit comments

Comments
 (0)