claude-symphony 0.2.3 → 0.2.6
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 +59 -291
- package/dist/cli/index.js +334 -684
- package/dist/hooks/ai-selector.js +0 -1
- package/dist/hooks/auto-checkpoint.js +0 -1
- package/dist/hooks/output-validator.js +0 -1
- package/dist/hooks/post-stage.js +0 -1
- package/dist/hooks/pre-stage.js +0 -1
- package/dist/hooks/session-start.js +0 -1
- package/package.json +11 -6
- package/scripts/README.md +94 -0
- package/scripts/{build-schema.ts → dev/build-schema.ts} +2 -2
- package/scripts/{migrate-yaml-to-jsonc.ts → dev/migrate-yaml-to-jsonc.ts} +1 -1
- package/scripts/memory-relay/orchestrator/claude-symphony-play +6 -6
- package/scripts/memory-relay/orchestrator/claude-wrapper.sh +1 -1
- package/scripts/memory-relay/orchestrator/orchestrator.sh +11 -9
- package/scripts/memory-relay/orchestrator/tmux-startup.sh +7 -7
- package/scripts/test/test-mcp-fallback.ts +407 -0
- package/scripts/test/test-pipeline.ts +428 -0
- package/scripts/test/test-quota-management.ts +417 -0
- package/scripts/user/rollback.ts +604 -0
- package/scripts/user/validate-env.ts +461 -0
- package/template/.claude/commands/codex.md +3 -9
- package/template/.claude/commands/gemini.md +3 -9
- package/template/.claude/hooks/ai-selector.sh +1 -2
- package/template/.claude/hooks/auto-checkpoint.sh +7 -2
- package/template/.claude/hooks/output-validator.sh +14 -2
- package/template/.claude/hooks/post-stage.sh +10 -5
- package/template/.claude/hooks/pre-stage.sh +9 -6
- package/template/.claude/hooks/session-start.sh +8 -2
- package/template/README.md +60 -0
- package/template/config/ai_collaboration.jsonc +1 -1
- package/template/config/auto_checkpoint.jsonc +1 -1
- package/template/config/context.jsonc +1 -1
- package/template/config/git.jsonc +1 -1
- package/template/config/memory_integration.jsonc +1 -1
- package/template/config/models.jsonc +1 -1
- package/template/config/output_validation.jsonc +1 -1
- package/template/config/pipeline.jsonc +1 -1
- package/template/config/tech_stack_presets.jsonc +1 -1
- package/template/docs/commands.md +88 -0
- package/template/docs/configuration.md +107 -0
- package/template/docs/getting-started.md +97 -0
- package/template/scripts/setup-stitch-mcp.ts +230 -0
- package/template/scripts/stitch-quota-monitor.ts +275 -0
- package/template/stages/01-brainstorm/inputs/project_brief_sample.md +123 -0
- package/template/stages/02-research/CLAUDE.md +0 -1
- package/template/stages/03-planning/CLAUDE.md +0 -1
- package/template/stages/04-ui-ux/CLAUDE.md +0 -1
- package/template/stages/05-task-management/CLAUDE.md +0 -1
- package/template/stages/06-implementation/CLAUDE.md +0 -1
- package/template/stages/07-refactoring/CLAUDE.md +0 -1
- package/template/stages/08-qa/CLAUDE.md +0 -1
- package/template/stages/09-testing/CLAUDE.md +0 -1
- package/template/stages/10-deployment/CLAUDE.md +0 -1
- package/dist/cli/index.js.map +0 -1
- package/dist/hooks/ai-selector.js.map +0 -1
- package/dist/hooks/auto-checkpoint.js.map +0 -1
- package/dist/hooks/output-validator.js.map +0 -1
- package/dist/hooks/post-stage.js.map +0 -1
- package/dist/hooks/pre-stage.js.map +0 -1
- package/dist/hooks/session-start.js.map +0 -1
- package/template/scripts/setup-stitch-mcp.sh +0 -118
- package/template/scripts/stitch-quota-monitor.sh +0 -213
- package/template/stages/10-deployment/prompts/.gitkeep +0 -0
- /package/template/stages/04-ui-ux/{prompts → inputs/moodboard/competitors}/.gitkeep +0 -0
- /package/template/stages/{05-task-management/prompts → 04-ui-ux/inputs/moodboard/inspirations}/.gitkeep +0 -0
- /package/template/{stages/06-implementation/prompts → state/checkpoints}/.gitkeep +0 -0
- /package/template/{stages/07-refactoring/prompts → state/collaborations}/.gitkeep +0 -0
- /package/template/{stages/08-qa/prompts → state/context}/.gitkeep +0 -0
- /package/template/{stages/09-testing/prompts → state/handoffs}/.gitkeep +0 -0
package/README.md
CHANGED
|
@@ -16,37 +16,18 @@ claude-symphony is a 10-stage software development workflow pipeline that orches
|
|
|
16
16
|
### Key Features
|
|
17
17
|
|
|
18
18
|
- **10-Stage Pipeline**: Complete development cycle from brainstorming to deployment
|
|
19
|
-
- **Multi-AI Orchestration**: Intelligent collaboration between Gemini, Claude, and Codex
|
|
20
|
-
- **Smart HANDOFF System**: Automatic context extraction
|
|
21
|
-
- **Auto-Checkpoint &
|
|
22
|
-
- **Pipeline Forking**: Branch exploration for architecture alternatives
|
|
23
|
-
- **Stage Personas**: Optimized AI behavior profiles per stage
|
|
24
|
-
- **Output Validation**: Automated quality checks
|
|
25
|
-
- **Epic Cycles**: User-defined stage range repetition with context preservation between cycles
|
|
26
|
-
- **Implementation Order**: Frontend-first or backend-first development approach with reference links
|
|
27
|
-
- **Requirements Refinement**: 4-level breakdown system (Epic → Feature → Task → Subtask) with INVEST validation
|
|
28
|
-
- **Moodboard UX**: Interactive design reference collection with Claude Vision/Figma MCP analysis
|
|
19
|
+
- **Multi-AI Orchestration**: Intelligent collaboration between Gemini, Claude, and Codex
|
|
20
|
+
- **Smart HANDOFF System**: Automatic context extraction and semantic compression
|
|
21
|
+
- **Auto-Checkpoint & Rollback**: Task-based triggers with partial rollback support
|
|
22
|
+
- **Pipeline Forking**: Branch exploration for architecture alternatives
|
|
23
|
+
- **Stage Personas**: Optimized AI behavior profiles per stage
|
|
24
|
+
- **Output Validation**: Automated quality checks
|
|
29
25
|
|
|
30
26
|
### Pipeline Stages
|
|
31
27
|
|
|
32
|
-
```
|
|
33
|
-
┌─────────────────────────────────────────────────────────────────────┐
|
|
34
|
-
│ claude-symphony Pipeline │
|
|
35
|
-
├─────────────────────────────────────────────────────────────────────┤
|
|
36
|
-
│ 01 Brainstorm → 02 Research → 03 Planning → 04 UI/UX │
|
|
37
|
-
│ Gemini Claude Gemini Gemini │
|
|
38
|
-
├─────────────────────────────────────────────────────────────────────┤
|
|
39
|
-
│ 05 Tasks → 06 Implement → 07 Refactor → 08 QA → 09 Test │
|
|
40
|
-
│ Claude Claude Codex Claude Codex │
|
|
41
|
-
├─────────────────────────────────────────────────────────────────────┤
|
|
42
|
-
│ 10 Deploy │
|
|
43
|
-
│ Claude │
|
|
44
|
-
└─────────────────────────────────────────────────────────────────────┘
|
|
45
|
-
```
|
|
46
|
-
|
|
47
28
|
| Stage | Name | AI Model | Mode |
|
|
48
29
|
|-------|------|----------|------|
|
|
49
|
-
| 01 | Brainstorming | Gemini + Claude | YOLO
|
|
30
|
+
| 01 | Brainstorming | Gemini + Claude | YOLO |
|
|
50
31
|
| 02 | Research | Claude | Plan Mode |
|
|
51
32
|
| 03 | Planning | Gemini | Plan Mode |
|
|
52
33
|
| 04 | UI/UX Planning | Gemini | Plan Mode |
|
|
@@ -57,9 +38,7 @@ claude-symphony is a 10-stage software development workflow pipeline that orches
|
|
|
57
38
|
| 09 | Testing & E2E | Codex | Sandbox + Playwright |
|
|
58
39
|
| 10 | CI/CD & Deployment | Claude | Headless |
|
|
59
40
|
|
|
60
|
-
##
|
|
61
|
-
|
|
62
|
-
### Quick Start with npx
|
|
41
|
+
## Quick Start
|
|
63
42
|
|
|
64
43
|
```bash
|
|
65
44
|
# Create a new project
|
|
@@ -70,102 +49,9 @@ cd my-project
|
|
|
70
49
|
# stages/01-brainstorm/inputs/project_brief.md
|
|
71
50
|
|
|
72
51
|
# Start development with Claude Code
|
|
73
|
-
/run-stage 01-brainstorm
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
### Using Claude Code
|
|
77
|
-
|
|
78
|
-
In Claude Code, all slash commands are available:
|
|
79
|
-
|
|
80
|
-
```
|
|
81
|
-
/status # Check pipeline status
|
|
82
|
-
/run-stage 01-brainstorm
|
|
83
|
-
/handoff # Create handoff document
|
|
84
|
-
/next # Move to next stage
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
## Quick Start
|
|
88
|
-
|
|
89
|
-
### Step-by-Step
|
|
90
|
-
|
|
91
|
-
```bash
|
|
92
|
-
# 1. Create project
|
|
93
|
-
npx claude-symphony my-saas-app
|
|
94
|
-
cd my-saas-app
|
|
95
|
-
|
|
96
|
-
# 2. Edit your project brief
|
|
97
|
-
# Open: stages/01-brainstorm/inputs/project_brief.md
|
|
98
|
-
|
|
99
|
-
# 3. Start brainstorming stage
|
|
100
|
-
# In Claude Code:
|
|
101
52
|
/brainstorm
|
|
102
|
-
|
|
103
|
-
# 4. Check status anytime
|
|
104
|
-
/status
|
|
105
|
-
|
|
106
|
-
# 5. Create handoff and move to next stage
|
|
107
|
-
/handoff
|
|
108
|
-
/next
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
### Project Brief Template
|
|
112
|
-
|
|
113
|
-
Edit `stages/01-brainstorm/inputs/project_brief.md`:
|
|
114
|
-
|
|
115
|
-
```markdown
|
|
116
|
-
## Project Name
|
|
117
|
-
my-saas-app
|
|
118
|
-
|
|
119
|
-
## One-line Description
|
|
120
|
-
[Describe your project in one line]
|
|
121
|
-
|
|
122
|
-
## Problem Definition
|
|
123
|
-
[What problem are you trying to solve?]
|
|
124
|
-
|
|
125
|
-
## Target Users
|
|
126
|
-
[Who are the main users?]
|
|
127
|
-
|
|
128
|
-
## Core Features (Draft)
|
|
129
|
-
1. [Feature 1]
|
|
130
|
-
2. [Feature 2]
|
|
131
|
-
3. [Feature 3]
|
|
132
53
|
```
|
|
133
54
|
|
|
134
|
-
## Encore Mode (Memory Relay)
|
|
135
|
-
|
|
136
|
-
Start Claude with automatic session handoff when context reaches 50%:
|
|
137
|
-
|
|
138
|
-
```bash
|
|
139
|
-
# Start Encore Mode session
|
|
140
|
-
claude-symphony play
|
|
141
|
-
|
|
142
|
-
# With bypass mode (auto-approve permissions)
|
|
143
|
-
claude-symphony play --auto
|
|
144
|
-
|
|
145
|
-
# Check status
|
|
146
|
-
claude-symphony play:status
|
|
147
|
-
|
|
148
|
-
# View logs
|
|
149
|
-
claude-symphony play:logs -f
|
|
150
|
-
|
|
151
|
-
# Stop orchestrator
|
|
152
|
-
claude-symphony play:stop
|
|
153
|
-
```
|
|
154
|
-
|
|
155
|
-
### Session Layout
|
|
156
|
-
|
|
157
|
-
```
|
|
158
|
-
+--------------+------------------------+
|
|
159
|
-
| | |
|
|
160
|
-
| Orchestrator | Claude (50%) |
|
|
161
|
-
| (50%) | |
|
|
162
|
-
| | |
|
|
163
|
-
+--------------+------------------------+
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
- **Orchestrator** (left): Monitors context and handles session handoffs
|
|
167
|
-
- **Claude** (right): Main workspace for development
|
|
168
|
-
|
|
169
55
|
## Commands
|
|
170
56
|
|
|
171
57
|
### CLI Commands
|
|
@@ -173,179 +59,29 @@ claude-symphony play:stop
|
|
|
173
59
|
| Command | Description |
|
|
174
60
|
|---------|-------------|
|
|
175
61
|
| `claude-symphony init` | Initialize a new project |
|
|
176
|
-
| `claude-symphony play` | Start Encore Mode
|
|
62
|
+
| `claude-symphony play` | Start Encore Mode (auto-handoff) |
|
|
177
63
|
| `claude-symphony play --auto` | Start with bypass mode |
|
|
178
|
-
| `claude-symphony play:status` | Show orchestrator status |
|
|
179
|
-
| `claude-symphony play:logs` | View relay logs |
|
|
180
|
-
| `claude-symphony play:stop` | Stop orchestrator |
|
|
181
64
|
| `claude-symphony status` | Show pipeline status |
|
|
182
|
-
| `claude-symphony stages` | List all stages |
|
|
183
65
|
|
|
184
|
-
### Core Commands
|
|
66
|
+
### Core Slash Commands
|
|
185
67
|
|
|
186
68
|
| Command | Description |
|
|
187
69
|
|---------|-------------|
|
|
188
70
|
| `/status` | Check pipeline status |
|
|
189
|
-
| `/stages` | List all stages |
|
|
190
|
-
| `/run-stage <id>` | Run specific stage |
|
|
191
71
|
| `/next` | Move to next stage |
|
|
192
72
|
| `/handoff` | Create handoff document |
|
|
193
73
|
| `/checkpoint` | Create checkpoint |
|
|
194
|
-
| `/restore` | Restore checkpoint |
|
|
195
|
-
| `/context` | Check context usage |
|
|
196
|
-
| `/init-project` | Initialize project |
|
|
197
|
-
|
|
198
|
-
### AI Commands
|
|
199
|
-
|
|
200
|
-
| Command | Description |
|
|
201
|
-
|---------|-------------|
|
|
202
|
-
| `/gemini <prompt>` | Send prompt to Gemini |
|
|
203
|
-
| `/codex <prompt>` | Send prompt to Codex |
|
|
204
|
-
|
|
205
|
-
### Multi-AI Commands
|
|
206
|
-
|
|
207
|
-
| Command | Description |
|
|
208
|
-
|---------|-------------|
|
|
209
|
-
| `/collaborate` | Run multi-AI collaboration (parallel, sequential, debate modes) |
|
|
210
|
-
| `/benchmark` | Compare AI model performance on tasks |
|
|
211
|
-
| `/fork` | Create/manage pipeline branches for exploration |
|
|
212
|
-
| `/validate` | Validate stage outputs against quality criteria |
|
|
213
74
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
| Command | Description |
|
|
217
|
-
|---------|-------------|
|
|
218
|
-
| `/epic` | Manage epic cycles (new, set-scope, set-count, history) |
|
|
219
|
-
| `/config order` | Set development order (frontend/backend/parallel) |
|
|
220
|
-
| `/moodboard` | Interactive design reference collection and analysis |
|
|
221
|
-
| `/refine` | Break down requirements (Epic → Feature → Task → Subtask) |
|
|
222
|
-
|
|
223
|
-
### Stage Shortcuts
|
|
224
|
-
|
|
225
|
-
| Stage | Command |
|
|
226
|
-
|-------|---------|
|
|
227
|
-
| 01-brainstorm | `/brainstorm` |
|
|
228
|
-
| 02-research | `/research` |
|
|
229
|
-
| 03-planning | `/planning` |
|
|
230
|
-
| 04-ui-ux | `/ui-ux` |
|
|
231
|
-
| 05-task-management | `/tasks` |
|
|
232
|
-
| 06-implementation | `/implement` |
|
|
233
|
-
| 07-refactoring | `/refactor` |
|
|
234
|
-
| 08-qa | `/qa` |
|
|
235
|
-
| 09-testing | `/test` |
|
|
236
|
-
| 10-deployment | `/deploy` |
|
|
237
|
-
|
|
238
|
-
## Configuration
|
|
239
|
-
|
|
240
|
-
Project configuration is stored in `config/pipeline.yaml` and other YAML files:
|
|
241
|
-
|
|
242
|
-
```yaml
|
|
243
|
-
claude_symphony:
|
|
244
|
-
version: "2.0.0"
|
|
245
|
-
|
|
246
|
-
paths:
|
|
247
|
-
project_root: "."
|
|
248
|
-
stages_output: "./stages"
|
|
249
|
-
state: "./state"
|
|
250
|
-
checkpoints: "./state/checkpoints"
|
|
251
|
-
|
|
252
|
-
ai:
|
|
253
|
-
gemini: true
|
|
254
|
-
codex: true
|
|
255
|
-
|
|
256
|
-
tmux:
|
|
257
|
-
gemini_session: "symphony-gemini"
|
|
258
|
-
codex_session: "symphony-codex"
|
|
259
|
-
output_timeout: 300
|
|
260
|
-
|
|
261
|
-
context:
|
|
262
|
-
warning: 60
|
|
263
|
-
action: 50
|
|
264
|
-
critical: 40
|
|
265
|
-
task_save_frequency: 5
|
|
266
|
-
|
|
267
|
-
git:
|
|
268
|
-
commit_language: "English"
|
|
269
|
-
auto_commit: true
|
|
270
|
-
```
|
|
75
|
+
See [template/docs/commands.md](template/docs/commands.md) for the complete command reference.
|
|
271
76
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
Each project created with `npx claude-symphony` is fully self-contained:
|
|
275
|
-
|
|
276
|
-
```
|
|
277
|
-
my-project/ # PROJECT_ROOT
|
|
278
|
-
├── .claude/ # Claude Code configuration
|
|
279
|
-
│ ├── commands/ # Slash commands (29 commands)
|
|
280
|
-
│ │ ├── epic.md # /epic - Epic cycle management
|
|
281
|
-
│ │ ├── moodboard.md # /moodboard - Design collection
|
|
282
|
-
│ │ ├── refine.md # /refine - Requirements refinement
|
|
283
|
-
│ │ ├── config.md # /config - Implementation order
|
|
284
|
-
│ │ ├── status.md # /status - Pipeline status
|
|
285
|
-
│ │ ├── collaborate.md # /collaborate - Multi-AI collaboration
|
|
286
|
-
│ │ └── ...
|
|
287
|
-
│ ├── hooks/ # Lifecycle hooks (8 hooks)
|
|
288
|
-
│ │ ├── pre-stage.sh
|
|
289
|
-
│ │ ├── post-stage.sh
|
|
290
|
-
│ │ ├── auto-checkpoint.sh
|
|
291
|
-
│ │ └── ...
|
|
292
|
-
│ ├── skills/ # AI skills (7 skills)
|
|
293
|
-
│ └── settings.json
|
|
294
|
-
├── stages/ # 10-stage pipeline
|
|
295
|
-
│ ├── 01-brainstorm/
|
|
296
|
-
│ │ ├── CLAUDE.md # Stage-specific AI instructions
|
|
297
|
-
│ │ ├── config.yaml
|
|
298
|
-
│ │ ├── prompts/
|
|
299
|
-
│ │ ├── inputs/
|
|
300
|
-
│ │ │ └── project_brief.md # Start here!
|
|
301
|
-
│ │ ├── outputs/ # Generated artifacts
|
|
302
|
-
│ │ └── HANDOFF.md
|
|
303
|
-
│ ├── 02-research/
|
|
304
|
-
│ └── ... (10 stages total)
|
|
305
|
-
├── config/ # Pipeline configuration (24 files)
|
|
306
|
-
│ ├── pipeline.yaml # Core pipeline settings
|
|
307
|
-
│ ├── context.yaml # Context management
|
|
308
|
-
│ ├── epic_cycles.yaml # Epic cycle configuration
|
|
309
|
-
│ ├── implementation_order.yaml # Dev order settings
|
|
310
|
-
│ ├── requirements_refinement.yaml # Refinement rules
|
|
311
|
-
│ ├── ui-ux.yaml # Moodboard & design settings
|
|
312
|
-
│ ├── ai_collaboration.yaml # Multi-AI collaboration
|
|
313
|
-
│ ├── models.yaml # AI model configuration
|
|
314
|
-
│ └── ...
|
|
315
|
-
├── state/ # Project state
|
|
316
|
-
│ ├── progress.json # Pipeline progress
|
|
317
|
-
│ ├── checkpoints/ # Recovery points
|
|
318
|
-
│ └── context/ # Context snapshots
|
|
319
|
-
├── scripts/ # Helper scripts (25 scripts)
|
|
320
|
-
│ ├── common.sh # Shared utilities
|
|
321
|
-
│ ├── epic-cycle.sh # Epic cycle management
|
|
322
|
-
│ ├── moodboard-manager.sh # Moodboard collection
|
|
323
|
-
│ ├── requirements-refine.sh # Requirements refinement
|
|
324
|
-
│ ├── ai-benchmark.sh # AI benchmarking
|
|
325
|
-
│ └── ...
|
|
326
|
-
├── CLAUDE.md # Main AI instructions
|
|
327
|
-
└── src/ # Source code (from stage 06)
|
|
328
|
-
```
|
|
329
|
-
|
|
330
|
-
## Design Patterns
|
|
331
|
-
|
|
332
|
-
1. **Sequential Workflow Architecture** - Sequential stage definition and auto-progression
|
|
333
|
-
2. **Stateless Orchestration** - Stateless context transfer via HANDOFF.md
|
|
334
|
-
3. **Orchestrator-Workers** - Parallel agent execution (Brainstorm stage)
|
|
335
|
-
4. **Proactive State Externalization** - External state file management
|
|
336
|
-
5. **State Machine Workflow** - State transition management (progress.json)
|
|
337
|
-
6. **Layered Configuration** - Hierarchical configuration structure
|
|
338
|
-
7. **Multi-AI Collaboration** - Parallel, sequential, and debate modes for AI coordination
|
|
339
|
-
8. **Pipeline Forking** - Branch exploration with merge capabilities
|
|
340
|
-
9. **Smart Context Management** - Semantic compression and AI memory integration
|
|
341
|
-
10. **Iterative Refinement Loops** - Epic cycles, requirements refinement, and moodboard feedback
|
|
342
|
-
11. **Hierarchical Decomposition** - 4-level requirement breakdown (Epic → Feature → Task → Subtask)
|
|
77
|
+
---
|
|
343
78
|
|
|
344
79
|
## Development
|
|
345
80
|
|
|
346
81
|
### Prerequisites
|
|
347
82
|
|
|
348
83
|
- Node.js >= 20.12.0
|
|
84
|
+
- pnpm (recommended) or npm
|
|
349
85
|
- tmux (for AI sessions)
|
|
350
86
|
|
|
351
87
|
### Setup
|
|
@@ -356,31 +92,63 @@ git clone https://github.com/znehraks/claude-symphony.git
|
|
|
356
92
|
cd claude-symphony
|
|
357
93
|
|
|
358
94
|
# Install dependencies
|
|
359
|
-
|
|
95
|
+
pnpm install
|
|
96
|
+
|
|
97
|
+
# Build
|
|
98
|
+
pnpm run build
|
|
360
99
|
|
|
361
100
|
# Test locally
|
|
362
|
-
node
|
|
101
|
+
node dist/cli/index.js init test-project
|
|
363
102
|
```
|
|
364
103
|
|
|
365
104
|
### Repository Structure
|
|
366
105
|
|
|
367
106
|
```
|
|
368
107
|
claude-symphony/
|
|
369
|
-
├──
|
|
370
|
-
│ └──
|
|
371
|
-
├──
|
|
108
|
+
├── src/ # Framework source code
|
|
109
|
+
│ └── cli/ # CLI implementation
|
|
110
|
+
├── dist/ # Compiled output
|
|
111
|
+
├── template/ # Project template (copied to user projects)
|
|
372
112
|
│ ├── .claude/ # Claude Code config
|
|
373
|
-
│ │ ├── commands/ # Slash commands
|
|
374
|
-
│ │ ├── hooks/ # Lifecycle hooks
|
|
375
|
-
│ │ └── skills/ # AI skills
|
|
113
|
+
│ │ ├── commands/ # Slash commands (30+)
|
|
114
|
+
│ │ ├── hooks/ # Lifecycle hooks (8)
|
|
115
|
+
│ │ └── skills/ # AI skills (7)
|
|
376
116
|
│ ├── stages/ # 10-stage pipeline
|
|
377
|
-
│ ├── config/ # Configuration files
|
|
378
|
-
│ ├── scripts/ # Helper scripts
|
|
117
|
+
│ ├── config/ # Configuration files (25+)
|
|
379
118
|
│ ├── state/ # State management
|
|
380
|
-
│
|
|
381
|
-
|
|
382
|
-
├──
|
|
383
|
-
|
|
119
|
+
│ ├── docs/ # End-user documentation
|
|
120
|
+
│ └── CLAUDE.md # Main AI instructions
|
|
121
|
+
├── schemas/ # JSON schemas for config validation
|
|
122
|
+
├── scripts/ # Development and runtime scripts
|
|
123
|
+
│ ├── dev/ # Framework development
|
|
124
|
+
│ ├── test/ # Test scripts
|
|
125
|
+
│ ├── user/ # End-user runtime scripts
|
|
126
|
+
│ └── memory-relay/ # Session orchestration
|
|
127
|
+
├── docs/ # Developer documentation
|
|
128
|
+
└── assets/ # Images and assets
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### Build Commands
|
|
132
|
+
|
|
133
|
+
| Command | Description |
|
|
134
|
+
|---------|-------------|
|
|
135
|
+
| `pnpm run build` | Build the CLI |
|
|
136
|
+
| `pnpm run dev` | Watch mode |
|
|
137
|
+
| `pnpm run typecheck` | Type checking |
|
|
138
|
+
| `pnpm run lint` | Lint source |
|
|
139
|
+
| `pnpm run test` | Run tests |
|
|
140
|
+
|
|
141
|
+
### Testing
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
# Run unit tests
|
|
145
|
+
pnpm run test
|
|
146
|
+
|
|
147
|
+
# Run with coverage
|
|
148
|
+
pnpm run test:coverage
|
|
149
|
+
|
|
150
|
+
# Test pipeline functionality
|
|
151
|
+
pnpm run test:pipeline
|
|
384
152
|
```
|
|
385
153
|
|
|
386
154
|
## Contributing
|