open-coleslaw 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,20 +13,26 @@ You type a prompt like *"Build me a balance game app"*. That's it.
13
13
  ```
14
14
  You: "Build me a balance game app"
15
15
 
16
- Orchestrator dispatched (Agent tool)
17
- → Kickoff meeting: planner breaks it into ordered MVPs
18
- For each MVP:
19
- Design meeting: round-robin, consensus-based termination
20
- PRD meeting minutes saved to docs/open-coleslaw/
21
- → Plan Mode activated — you review the implementation plan
22
- You approve
23
- Workers write the code in parallel
24
- Verifier runs tests/build
25
- Pass next MVP · Fail → verify-retry meeting
26
- All MVPs done final report
16
+ Phase A (orchestrator subagent)
17
+ → Kickoff meeting: planner breaks request into ordered MVPs
18
+ Design meeting for MVP-1: round-robin, consensus-based termination
19
+ PRD minutes saved to docs/open-coleslaw/
20
+ Returns { minutesPaths, mvps, plan }
21
+
22
+ Phase B (main Claude session)
23
+ Enters Plan Mode with the meeting's plan
24
+ You approve (or request changes → verify-retry meeting)
25
+ Workers write the code in parallel
26
+ Verifier runs tests / build
27
+ → Pass → next MVP · Fail → verify-retry meeting
28
+ → All MVPs done → final report
27
29
  ```
28
30
 
29
- You never call a tool. You never pick a department. You never manage an agent. The orchestrator handles everything — including entering **Plan Mode** so you can review the implementation plan in the native UI before any code is written.
31
+ Why 2 phases? `EnterPlanMode` only works in the main Claude session (not in
32
+ dispatched subagents). So the orchestrator handles meetings, the main session
33
+ handles Plan Mode + worker dispatch + verification.
34
+
35
+ You never call a tool. You never pick a department. You never manage an agent.
30
36
 
31
37
  Meeting minutes are saved to `docs/open-coleslaw/` in your project, so they persist even if you `/compact` or `/clear` your Claude Code context between MVPs.
32
38
 
@@ -51,20 +57,24 @@ Design a REST API for a todo app
51
57
 
52
58
  You should see the orchestrator agent being dispatched and a kickoff meeting starting automatically.
53
59
 
54
- ## The Pipeline
60
+ ## The Pipeline (2-phase)
55
61
 
56
- Every request follows this flow.
62
+ **Phase A the orchestrator subagent runs meetings:**
63
+ ```
64
+ Kickoff meeting (planner breaks request into MVPs)
65
+ for each MVP:
66
+ Design meeting → consensus → Minutes
67
+ ```
68
+ The orchestrator returns a structured `{ minutesPaths, mvps, plan }` result.
57
69
 
70
+ **Phase B — the main Claude session acts on the result:**
58
71
  ```
59
- Prompt
60
- → Orchestrator
61
- → Kickoff meeting (planner breaks request into MVPs)
62
- → for each MVP:
63
- Design meeting → consensus → Minutes → Plan Mode → Approve → Workers → Verify
64
- → Final report
72
+ EnterPlanMode → user approval → Workers (parallel) → Verifier → next MVP or retry
65
73
  ```
66
74
 
67
- Verification failure on an MVP doesn't abort the cycle — it opens a focused `verify-retry` meeting and re-plans the fix.
75
+ Verification failure on an MVP doesn't abort the cycle — the main session
76
+ dispatches the orchestrator again for a focused `verify-retry` meeting and
77
+ re-plans the fix.
68
78
 
69
79
  When the whole cycle ends the orchestrator touches a marker file, and the `Stop` hook checks your context usage. If you're over ~30%, it suggests running `/compact` or `/clear` before the next task. Minutes on disk mean you lose nothing.
70
80
 
@@ -175,10 +185,14 @@ Ask for a workflow that doesn't exist yet, and the orchestrator creates it — n
175
185
 
176
186
  | Tier | Model | Role |
177
187
  |------|-------|------|
178
- | Orchestrator | claude-opus (1M context) | Full-picture routing, delegation, judgment |
179
- | Leader (specialists) | claude-sonnet | Meetings, technical decisions |
180
- | Worker | claude-sonnet | Code, implementation |
181
- | Research Worker | claude-haiku | Quick lookups, exploration |
188
+ | Orchestrator (subagent) | inherits from user session | Meeting runner |
189
+ | Leader (specialists) | inherits from user session | Meeting participant |
190
+ | Worker | inherits from user session | Implementation |
191
+
192
+ **No model is hard-coded.** Every agent — orchestrator, specialists, workers —
193
+ runs on whatever model you've selected in your Claude Code session (Opus,
194
+ Sonnet, Haiku, or anything Anthropic ships next). Switch models with `/model`
195
+ and the whole pipeline follows.
182
196
 
183
197
  ## Philosophy
184
198
 
package/dist/index.js CHANGED
@@ -2195,15 +2195,18 @@ async function updatePluginGuide(registry) {
2195
2195
  "## Agent Tiers",
2196
2196
  "| Tier | Model | Role |",
2197
2197
  "|------|-------|------|",
2198
- "| Orchestrator | claude-opus-4-6 (1M) | Full-picture routing, delegation |",
2199
- "| Leader | claude-sonnet-4-6 | Meetings, technical decisions |",
2200
- "| Worker (impl) | claude-sonnet-4-6 | Code, implementation |",
2201
- "| Worker (research) | claude-haiku-4-5 | Quick lookups |",
2198
+ "| Orchestrator (subagent) | inherits from user session | Meeting runner |",
2199
+ "| Leader (specialist) | inherits from user session | Meeting participant |",
2200
+ "| Worker | inherits from user session | Implementation |",
2201
+ "",
2202
+ "No model is hard-coded \u2014 every agent runs on the model configured in the",
2203
+ "user's Claude Code session.",
2202
2204
  "",
2203
2205
  "## Departments",
2206
+ "- Planning: meeting facilitation, MVP decomposition, consensus",
2204
2207
  "- Architecture: system design, API, schema",
2205
2208
  "- Engineering: implementation, code quality",
2206
- "- QA: testing, security, performance",
2209
+ "- Verification: testing, security, performance, post-impl verification",
2207
2210
  "- Product: requirements, user stories",
2208
2211
  "- Research: codebase exploration, docs",
2209
2212
  "",