open-coleslaw 0.3.2 → 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 +32 -24
- package/dist/index.js +10 -10
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -67,26 +67,34 @@ Prompt → Orchestrator → Meeting → Minutes → Plan Mode → Approve → Im
|
|
|
67
67
|
## The Agent Hierarchy
|
|
68
68
|
|
|
69
69
|
```
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
│
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
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)
|
|
85
93
|
```
|
|
86
94
|
|
|
87
|
-
**5
|
|
95
|
+
**5 Specialists**: Architect, Engineer, QA, Product Manager, Researcher
|
|
88
96
|
|
|
89
|
-
|
|
97
|
+
Work is done in **MVP cycles**: meeting → plan → workers → verify → repeat.
|
|
90
98
|
|
|
91
99
|
## What's Inside
|
|
92
100
|
|
|
@@ -115,13 +123,13 @@ Each leader autonomously decides how many workers to hire based on task complexi
|
|
|
115
123
|
|
|
116
124
|
| Agent | Role |
|
|
117
125
|
|-------|------|
|
|
118
|
-
| `orchestrator` | Your proxy — manages the full
|
|
119
|
-
| `
|
|
120
|
-
| `
|
|
121
|
-
| `qa
|
|
122
|
-
| `
|
|
123
|
-
| `
|
|
124
|
-
| `
|
|
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) |
|
|
125
133
|
|
|
126
134
|
### 7 Skills
|
|
127
135
|
|
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: "
|
|
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: "
|
|
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
|
|
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: "
|
|
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: "
|
|
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: "
|
|
1322
|
-
engineering: "
|
|
1323
|
-
qa: "qa
|
|
1324
|
-
product: "
|
|
1325
|
-
research: "
|
|
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
|
/**
|