open-coleslaw 0.3.1 → 0.4.0

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,17 +13,19 @@ 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 analyzes your request
16
+ → Orchestrator dispatched (Agent tool)
17
17
  → Convenes Architecture + Engineering + Product leaders
18
- → Leaders hold a structured meeting (2-3 rounds per agenda item)
19
- → PRD meeting minutes generated
20
- → Plan presented to you for approval
21
- → You: "OK"
22
- Tasks compacted Workers hired → Code implemented
18
+ → Leaders hold a structured meeting
19
+ → PRD meeting minutes saved to docs/open-coleslaw/
20
+ → Plan Mode activated you review the implementation plan
21
+ → You approve
22
+ Implementer agents write the code
23
23
  → Results reported
24
24
  ```
25
25
 
26
- You never call a tool. You never pick a department. You never manage an agent. The orchestrator handles everything. If agents need your input on an important decision, they `@mention` you.
26
+ 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.
27
+
28
+ Meeting minutes are saved to `docs/open-coleslaw/` in your project, so you can always refer back to past decisions.
27
29
 
28
30
  ## Installation
29
31
 
@@ -51,52 +53,62 @@ You should see the orchestrator agent being dispatched and a meeting starting au
51
53
  Every request follows this flow. No exceptions.
52
54
 
53
55
  ```
54
- Prompt → Orchestrator → Meeting → PRD Minutes → Your Approval → Implement
56
+ Prompt → Orchestrator → Meeting → Minutes → Plan ModeApprove → Implement
55
57
  ```
56
58
 
57
59
  1. **Orchestrator dispatched** — analyzes your request, selects departments
58
- 2. **Meeting convened** — leaders discuss in structured rounds
59
- 3. **PRD minutes generated** — decisions, action items, technical specs
60
- 4. **Plan presented** — you review and approve (or request changes)
61
- 5. **Tasks compacted** — minutes converted to actionable tasks per department
62
- 6. **Workers hired** — each leader deploys workers in parallel
60
+ 2. **Meeting convened** — leaders discuss via Agent tool
61
+ 3. **PRD minutes saved** — to `docs/open-coleslaw/` in your project
62
+ 4. **Plan Mode activated** — implementation plan presented in native Plan Mode UI
63
+ 5. **You review and approve** — or request changes (chains a follow-up meeting)
64
+ 6. **Implementer agents dispatched** — write code following the approved plan
63
65
  7. **Results reported** — final output delivered to you
64
66
 
65
- If you want changes mid-plan, the orchestrator chains a follow-up meeting.
66
-
67
67
  ## The Agent Hierarchy
68
68
 
69
69
  ```
70
- ┌─────────────────┐
71
- │ Orchestrator │ ← Your proxy (NOT a CEO)
72
- │ (claude-opus) │ Decides, but asks you
73
- └────────┬────────┘ for important calls
74
- ┌───────────┼───────────┐
75
-
76
- ┌─────────┐ ┌─────────┐ ┌─────────┐
77
- Arch │ │ Eng │ │ QA │ ← Leaders meet & discuss
78
- Leader │ │ Leader │ │ Leader │ Then hire their own workers
79
- └────┬────┘ └────┬────┘ └────┬────┘
80
- ┌──┴──┐ ┌───┼───┐ ┌──┴──┐
81
- W1 W2│ │W3 W4 W5│ │W6 │ ← Workers execute in parallel
82
- └─────┘ └───────┘ └─────┘
70
+ ┌─────────────────┐
71
+ │ Orchestrator │ ← Your proxy
72
+ │ (claude-opus) │
73
+ └────────┬────────┘
74
+ ┌─────────────┼─────────────┐
75
+
76
+ ┌──────────┐ ┌──────────┐ ┌──────────┐
77
+ Architect│ │ Engineer │ │ QA │ ← Specialists discuss
78
+ └──────────┘ └──────────┘ └──────────┘
79
+
80
+ Plan Mode → User approves
81
+
82
+ ┌─────────────┼─────────────┐
83
+ ▼ ▼ ▼
84
+ ┌────────┐ ┌────────┐ ┌────────┐
85
+ │Worker 1│ │Worker 2│ │Worker N│ ← Parallel implementation
86
+ └────────┘ └────────┘ └────────┘
87
+
88
+ Verify
89
+ / \
90
+ Pass Fail → Re-meeting
91
+
92
+ Done (or next MVP)
83
93
  ```
84
94
 
85
- **5 Departments**: Architecture, Engineering, QA, Product, Research
95
+ **5 Specialists**: Architect, Engineer, QA, Product Manager, Researcher
86
96
 
87
- Each leader autonomously decides how many workers to hire based on task complexity.
97
+ Work is done in **MVP cycles**: meeting plan workers verify → repeat.
88
98
 
89
99
  ## What's Inside
90
100
 
91
- ### 14 MCP Tools (orchestrator calls these — you never do)
101
+ ### 16 MCP Tools (orchestrator calls these — you never do)
92
102
 
93
103
  | Tool | What It Does |
94
104
  |------|-------------|
95
- | `start-meeting` | Convenes department leaders for a structured discussion |
105
+ | `start-meeting` | Creates a meeting record, recommends departments |
106
+ | `add-transcript` | Saves a leader's discussion input |
107
+ | `generate-minutes` | Converts transcripts into PRD meeting minutes |
96
108
  | `get-meeting-status` | Checks meeting progress and agent states |
97
109
  | `get-minutes` | Retrieves PRD-format meeting minutes |
98
110
  | `compact-minutes` | Converts minutes into actionable tasks per department |
99
- | `execute-tasks` | Deploys workers to implement tasks in parallel |
111
+ | `execute-tasks` | Returns structured task list for implementer agents |
100
112
  | `get-task-report` | Shows execution results per department |
101
113
  | `get-agent-tree` | Displays the full agent hierarchy |
102
114
  | `respond-to-mention` | Handles decisions the agents need from you |
@@ -107,6 +119,18 @@ Each leader autonomously decides how many workers to hire based on task complexi
107
119
  | `get-cost-summary` | Tracks spending per agent, meeting, department |
108
120
  | `chain-meeting` | Links meetings — output of one feeds into the next |
109
121
 
122
+ ### 7 Agents (dispatched via Agent tool)
123
+
124
+ | Agent | Role |
125
+ |-------|------|
126
+ | `orchestrator` | Your proxy — manages the full MVP cycle |
127
+ | `architect` | System design, API contracts, schemas |
128
+ | `engineer` | Implementation feasibility, code quality |
129
+ | `qa` | Testing strategy, security, edge cases |
130
+ | `product-manager` | Requirements, user stories, prioritization |
131
+ | `researcher` | Codebase exploration, prior art |
132
+ | `worker` | Writes code (N workers dispatched in parallel) |
133
+
110
134
  ### 7 Skills
111
135
 
112
136
  | Skill | Purpose |
package/dist/index.js CHANGED
@@ -528,7 +528,7 @@ var DEPARTMENT_REGISTRY = /* @__PURE__ */ new Map([
528
528
  {
529
529
  name: "architecture",
530
530
  description: "Responsible for system design, schema definitions, API surface design, and dependency analysis. The architecture department plans before code is written \u2014 it produces blueprints, not implementations.",
531
- leaderRole: "arch-leader",
531
+ leaderRole: "architect",
532
532
  workerTypes: ["schema-designer", "api-designer", "dependency-analyzer"],
533
533
  allowedTools: DEPARTMENT_TOOLS.architecture
534
534
  }
@@ -538,7 +538,7 @@ var DEPARTMENT_REGISTRY = /* @__PURE__ */ new Map([
538
538
  {
539
539
  name: "engineering",
540
540
  description: "Responsible for writing, modifying, and refactoring production code. Engineering owns feature development, bug fixes, and code quality improvements.",
541
- leaderRole: "eng-leader",
541
+ leaderRole: "engineer",
542
542
  workerTypes: ["feature-dev", "bug-fixer", "refactorer"],
543
543
  allowedTools: DEPARTMENT_TOOLS.engineering
544
544
  }
@@ -548,7 +548,7 @@ var DEPARTMENT_REGISTRY = /* @__PURE__ */ new Map([
548
548
  {
549
549
  name: "qa",
550
550
  description: "Responsible for test creation, test execution, security auditing, and performance testing. QA ensures deliverables meet acceptance criteria and do not introduce regressions.",
551
- leaderRole: "qa-leader",
551
+ leaderRole: "qa",
552
552
  workerTypes: ["test-writer", "test-runner", "security-auditor", "perf-tester"],
553
553
  allowedTools: DEPARTMENT_TOOLS.qa
554
554
  }
@@ -558,7 +558,7 @@ var DEPARTMENT_REGISTRY = /* @__PURE__ */ new Map([
558
558
  {
559
559
  name: "product",
560
560
  description: "Responsible for requirements analysis, user-flow mapping, and stakeholder alignment. Product translates user intent into well-scoped, actionable requirements for other departments.",
561
- leaderRole: "pm-leader",
561
+ leaderRole: "product-manager",
562
562
  workerTypes: ["requirements-analyzer", "user-flow-mapper"],
563
563
  allowedTools: DEPARTMENT_TOOLS.product
564
564
  }
@@ -568,7 +568,7 @@ var DEPARTMENT_REGISTRY = /* @__PURE__ */ new Map([
568
568
  {
569
569
  name: "research",
570
570
  description: "Responsible for codebase exploration, documentation search, benchmarking, and knowledge gathering. Research produces facts and context that inform decisions made by other departments.",
571
- leaderRole: "research-leader",
571
+ leaderRole: "researcher",
572
572
  workerTypes: ["code-explorer", "doc-searcher", "benchmark-runner"],
573
573
  allowedTools: DEPARTMENT_TOOLS.research
574
574
  }
@@ -1318,11 +1318,11 @@ function detectPriority(text) {
1318
1318
  return "medium";
1319
1319
  }
1320
1320
  var LEADER_ROLE_FOR_DEPT = {
1321
- architecture: "arch-leader",
1322
- engineering: "eng-leader",
1323
- qa: "qa-leader",
1324
- product: "pm-leader",
1325
- research: "research-leader"
1321
+ architecture: "architect",
1322
+ engineering: "engineer",
1323
+ qa: "qa",
1324
+ product: "product-manager",
1325
+ research: "researcher"
1326
1326
  };
1327
1327
  var Compactor = class {
1328
1328
  /**