claude-code-workflow 6.3.49 → 6.3.51
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/.claude/commands/issue/new.md +1 -2
- package/.claude/commands/view.md +367 -0
- package/.claude/commands/workflow/unified-execute-with-file.md +807 -0
- package/.claude/skills/ccw-help/SKILL.md +72 -12
- package/.claude/skills/ccw-help/command.json +922 -520
- package/.claude/skills/ccw-help/index/all-agents.json +97 -0
- package/.claude/skills/ccw-help/index/all-commands.json +805 -0
- package/.claude/skills/ccw-help/index/by-category.json +833 -0
- package/.claude/skills/ccw-help/index/by-use-case.json +819 -0
- package/.claude/skills/ccw-help/index/command-relationships.json +160 -0
- package/.claude/skills/ccw-help/index/essential-commands.json +90 -0
- package/.claude/skills/ccw-help/scripts/auto-update.py +34 -0
- package/.claude/skills/skill-generator/SKILL.md +255 -208
- package/.claude/skills/skill-generator/phases/01-requirements-discovery.md +238 -228
- package/.claude/skills/skill-generator/phases/02-structure-generation.md +261 -262
- package/.claude/skills/skill-generator/phases/03-phase-generation.md +976 -969
- package/.claude/skills/skill-generator/phases/04-specs-templates.md +398 -398
- package/.claude/skills/skill-generator/phases/05-validation.md +417 -417
- package/.claude/skills/skill-generator/specs/cli-integration.md +131 -131
- package/.claude/skills/skill-generator/specs/execution-modes.md +399 -396
- package/.claude/skills/skill-generator/specs/reference-docs-spec.md +271 -0
- package/.claude/skills/skill-generator/specs/scripting-integration.md +265 -265
- package/.claude/skills/skill-generator/specs/skill-requirements.md +466 -466
- package/.claude/skills/skill-generator/templates/autonomous-action.md +91 -88
- package/.claude/skills/skill-generator/templates/autonomous-orchestrator.md +89 -89
- package/.claude/skills/skill-generator/templates/code-analysis-action.md +148 -149
- package/.claude/skills/skill-generator/templates/llm-action.md +367 -367
- package/.claude/skills/skill-generator/templates/script-template.md +79 -79
- package/.claude/skills/skill-generator/templates/sequential-phase.md +129 -129
- package/.claude/skills/skill-generator/templates/skill-md.md +134 -75
- package/.codex/prompts/UNIFIED_EXECUTE_COMPARISON.md +205 -0
- package/.codex/prompts/analyze-with-file.md +5 -2
- package/.codex/prompts/brainstorm-to-cycle.md +4 -3
- package/.codex/prompts/brainstorm-with-file.md +6 -2
- package/.codex/prompts/clean.md +7 -2
- package/.codex/prompts/compact.md +5 -3
- package/.codex/prompts/debug-with-file.md +6 -2
- package/.codex/prompts/execute.md +6 -2
- package/.codex/prompts/issue-execute.md +10 -2
- package/.codex/prompts/issue-new.md +390 -285
- package/.codex/prompts/lite-execute.md +8 -7
- package/.codex/prompts/lite-fix.md +6 -2
- package/.codex/prompts/lite-plan-a.md +6 -2
- package/.codex/prompts/lite-plan-b.md +6 -2
- package/.codex/prompts/lite-plan-c.md +6 -2
- package/.codex/prompts/unified-execute-with-file.md +722 -0
- package/.codex/skills/codex-issue-plan-execute/SKILL.md +239 -0
- package/.codex/skills/codex-issue-plan-execute/phases/actions/action-complete.md +173 -0
- package/.codex/skills/codex-issue-plan-execute/phases/actions/action-execute.md +220 -0
- package/.codex/skills/codex-issue-plan-execute/phases/actions/action-init.md +86 -0
- package/.codex/skills/codex-issue-plan-execute/phases/actions/action-list.md +165 -0
- package/.codex/skills/codex-issue-plan-execute/phases/actions/action-plan.md +170 -0
- package/.codex/skills/codex-issue-plan-execute/phases/orchestrator.md +210 -0
- package/.codex/skills/codex-issue-plan-execute/phases/state-schema.md +136 -0
- package/.codex/skills/codex-issue-plan-execute/prompts/execution-agent-system.md +136 -0
- package/.codex/skills/codex-issue-plan-execute/prompts/execution-agent.md +135 -0
- package/.codex/skills/codex-issue-plan-execute/prompts/planning-agent-system.md +107 -0
- package/.codex/skills/codex-issue-plan-execute/prompts/planning-agent.md +122 -0
- package/.codex/skills/codex-issue-plan-execute/specs/issue-handling.md +187 -0
- package/.codex/skills/codex-issue-plan-execute/specs/quality-standards.md +231 -0
- package/.codex/skills/codex-issue-plan-execute/specs/solution-schema.md +270 -0
- package/.codex/skills/codex-issue-plan-execute/specs/subagent-roles.md +268 -0
- package/ccw/dist/cli.d.ts.map +1 -1
- package/ccw/dist/cli.js +1 -0
- package/ccw/dist/cli.js.map +1 -1
- package/ccw/dist/commands/cli.d.ts +1 -0
- package/ccw/dist/commands/cli.d.ts.map +1 -1
- package/ccw/dist/commands/cli.js +74 -6
- package/ccw/dist/commands/cli.js.map +1 -1
- package/ccw/dist/core/routes/cli-routes.d.ts.map +1 -1
- package/ccw/dist/core/routes/cli-routes.js +16 -1
- package/ccw/dist/core/routes/cli-routes.js.map +1 -1
- package/ccw/dist/core/routes/help-routes.d.ts.map +1 -1
- package/ccw/dist/core/routes/help-routes.js +51 -1
- package/ccw/dist/core/routes/help-routes.js.map +1 -1
- package/ccw/dist/tools/cli-executor-core.d.ts.map +1 -1
- package/ccw/dist/tools/cli-executor-core.js +5 -3
- package/ccw/dist/tools/cli-executor-core.js.map +1 -1
- package/ccw/dist/tools/cli-executor-utils.d.ts +1 -0
- package/ccw/dist/tools/cli-executor-utils.d.ts.map +1 -1
- package/ccw/dist/tools/cli-executor-utils.js +3 -1
- package/ccw/dist/tools/cli-executor-utils.js.map +1 -1
- package/ccw/src/cli.ts +1 -0
- package/ccw/src/commands/cli.ts +77 -6
- package/ccw/src/core/routes/cli-routes.ts +16 -1
- package/ccw/src/core/routes/help-routes.ts +60 -1
- package/ccw/src/templates/dashboard-js/views/help.js +423 -1
- package/ccw/src/tools/cli-executor-core.ts +6 -3
- package/ccw/src/tools/cli-executor-utils.ts +5 -2
- package/package.json +1 -1
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ccw view
|
|
3
|
+
description: Dashboard - Open CCW workflow dashboard for managing tasks and sessions
|
|
4
|
+
category: general
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# CCW View Command
|
|
8
|
+
|
|
9
|
+
Open the CCW workflow dashboard for visualizing and managing project tasks, sessions, and workflow execution status.
|
|
10
|
+
|
|
11
|
+
## Description
|
|
12
|
+
|
|
13
|
+
`ccw view` launches an interactive web dashboard that provides:
|
|
14
|
+
- **Workflow Overview**: Visualize current workflow status and command chain execution
|
|
15
|
+
- **Session Management**: View and manage active workflow sessions
|
|
16
|
+
- **Task Tracking**: Monitor TODO items and task progress
|
|
17
|
+
- **Workspace Switching**: Switch between different project workspaces
|
|
18
|
+
- **Real-time Updates**: Live updates of command execution and status
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# Open dashboard for current workspace
|
|
24
|
+
ccw view
|
|
25
|
+
|
|
26
|
+
# Specify workspace path
|
|
27
|
+
ccw view --path /path/to/workspace
|
|
28
|
+
|
|
29
|
+
# Custom port (default: 3456)
|
|
30
|
+
ccw view --port 3000
|
|
31
|
+
|
|
32
|
+
# Bind to specific host
|
|
33
|
+
ccw view --host 0.0.0.0 --port 3456
|
|
34
|
+
|
|
35
|
+
# Open without launching browser
|
|
36
|
+
ccw view --no-browser
|
|
37
|
+
|
|
38
|
+
# Show URL without opening browser
|
|
39
|
+
ccw view --no-browser
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Options
|
|
43
|
+
|
|
44
|
+
| Option | Default | Description |
|
|
45
|
+
|--------|---------|-------------|
|
|
46
|
+
| `--path <path>` | Current directory | Workspace path to display |
|
|
47
|
+
| `--port <port>` | 3456 | Server port for dashboard |
|
|
48
|
+
| `--host <host>` | 127.0.0.1 | Server host/bind address |
|
|
49
|
+
| `--no-browser` | false | Don't launch browser automatically |
|
|
50
|
+
| `-h, --help` | - | Show help message |
|
|
51
|
+
|
|
52
|
+
## Features
|
|
53
|
+
|
|
54
|
+
### Dashboard Sections
|
|
55
|
+
|
|
56
|
+
#### 1. **Workflow Overview**
|
|
57
|
+
- Current workflow status
|
|
58
|
+
- Command chain visualization (with Minimum Execution Units marked)
|
|
59
|
+
- Live progress tracking
|
|
60
|
+
- Error alerts
|
|
61
|
+
|
|
62
|
+
#### 2. **Session Management**
|
|
63
|
+
- List active sessions by type (workflow, review, tdd)
|
|
64
|
+
- Session details (created time, last activity, session ID)
|
|
65
|
+
- Quick actions (resume, pause, complete)
|
|
66
|
+
- Session logs/history
|
|
67
|
+
|
|
68
|
+
#### 3. **Task Tracking**
|
|
69
|
+
- TODO list with status indicators
|
|
70
|
+
- Progress percentage
|
|
71
|
+
- Task grouping by workflow stage
|
|
72
|
+
- Quick inline task updates
|
|
73
|
+
|
|
74
|
+
#### 4. **Workspace Switcher**
|
|
75
|
+
- Browse available workspaces
|
|
76
|
+
- Switch context with one click
|
|
77
|
+
- Recent workspaces list
|
|
78
|
+
|
|
79
|
+
#### 5. **Command History**
|
|
80
|
+
- Recent commands executed
|
|
81
|
+
- Execution time and status
|
|
82
|
+
- Quick re-run options
|
|
83
|
+
|
|
84
|
+
### Keyboard Shortcuts
|
|
85
|
+
|
|
86
|
+
| Shortcut | Action |
|
|
87
|
+
|----------|--------|
|
|
88
|
+
| `R` | Refresh dashboard |
|
|
89
|
+
| `Cmd/Ctrl + J` | Jump to session search |
|
|
90
|
+
| `Cmd/Ctrl + K` | Open command palette |
|
|
91
|
+
| `?` | Show help |
|
|
92
|
+
|
|
93
|
+
## Multi-Instance Support
|
|
94
|
+
|
|
95
|
+
The dashboard supports multiple concurrent instances:
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
# Terminal 1: Workspace A on port 3456
|
|
99
|
+
ccw view --path ~/projects/workspace-a
|
|
100
|
+
|
|
101
|
+
# Terminal 2: Workspace B on port 3457
|
|
102
|
+
ccw view --path ~/projects/workspace-b --port 3457
|
|
103
|
+
|
|
104
|
+
# Switching workspaces on the same port
|
|
105
|
+
ccw view --path ~/projects/workspace-c # Auto-switches existing server
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
When the server is already running and you execute `ccw view` with a different path:
|
|
109
|
+
1. Detects running server on the port
|
|
110
|
+
2. Sends workspace switch request
|
|
111
|
+
3. Updates dashboard to new workspace
|
|
112
|
+
4. Opens browser with updated context
|
|
113
|
+
|
|
114
|
+
## Server Lifecycle
|
|
115
|
+
|
|
116
|
+
### Startup
|
|
117
|
+
|
|
118
|
+
```
|
|
119
|
+
ccw view
|
|
120
|
+
├─ Check if server running on port
|
|
121
|
+
│ ├─ If yes: Send switch-path request
|
|
122
|
+
│ └─ If no: Start new server
|
|
123
|
+
├─ Launch browser (unless --no-browser)
|
|
124
|
+
└─ Display dashboard URL
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
### Running
|
|
128
|
+
|
|
129
|
+
The dashboard server continues running until:
|
|
130
|
+
- User explicitly stops it (Ctrl+C)
|
|
131
|
+
- All connections close after timeout
|
|
132
|
+
- System shutdown
|
|
133
|
+
|
|
134
|
+
### Multiple Workspaces
|
|
135
|
+
|
|
136
|
+
Switching to a different workspace keeps the same server instance:
|
|
137
|
+
```
|
|
138
|
+
Server State Before: workspace-a on port 3456
|
|
139
|
+
ccw view --path ~/projects/workspace-b
|
|
140
|
+
Server State After: workspace-b on port 3456 (same instance)
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
## Environment Variables
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
# Set default port
|
|
147
|
+
export CCW_VIEW_PORT=4000
|
|
148
|
+
ccw view # Uses port 4000
|
|
149
|
+
|
|
150
|
+
# Set default host
|
|
151
|
+
export CCW_VIEW_HOST=localhost
|
|
152
|
+
ccw view --port 3456 # Binds to localhost:3456
|
|
153
|
+
|
|
154
|
+
# Disable browser launch by default
|
|
155
|
+
export CCW_VIEW_NO_BROWSER=true
|
|
156
|
+
ccw view # Won't auto-launch browser
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
## Integration with CCW Workflows
|
|
160
|
+
|
|
161
|
+
The dashboard is fully integrated with CCW commands:
|
|
162
|
+
|
|
163
|
+
### Viewing Workflow Progress
|
|
164
|
+
|
|
165
|
+
```bash
|
|
166
|
+
# Start a workflow
|
|
167
|
+
ccw "Add user authentication"
|
|
168
|
+
|
|
169
|
+
# In another terminal, view progress
|
|
170
|
+
ccw view # Shows execution progress in real-time
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
### Session Management from Dashboard
|
|
174
|
+
|
|
175
|
+
- Start new session: Click "New Session" button
|
|
176
|
+
- Resume paused session: Sessions list → Resume button
|
|
177
|
+
- View session logs: Click session name
|
|
178
|
+
- Complete session: Sessions list → Complete button
|
|
179
|
+
|
|
180
|
+
### Real-time Command Execution
|
|
181
|
+
|
|
182
|
+
- View active command chain execution
|
|
183
|
+
- Watch command transition through Minimum Execution Units
|
|
184
|
+
- See error alerts and recovery options
|
|
185
|
+
- View command output logs
|
|
186
|
+
|
|
187
|
+
## Troubleshooting
|
|
188
|
+
|
|
189
|
+
### Port Already in Use
|
|
190
|
+
|
|
191
|
+
```bash
|
|
192
|
+
# Use different port
|
|
193
|
+
ccw view --port 3457
|
|
194
|
+
|
|
195
|
+
# Or kill existing server
|
|
196
|
+
lsof -i :3456 # Find process
|
|
197
|
+
kill -9 <pid> # Kill it
|
|
198
|
+
ccw view # Start fresh
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### Dashboard Not Loading
|
|
202
|
+
|
|
203
|
+
```bash
|
|
204
|
+
# Try without browser
|
|
205
|
+
ccw view --no-browser
|
|
206
|
+
|
|
207
|
+
# Check server logs
|
|
208
|
+
tail -f ~/.ccw/logs/dashboard.log
|
|
209
|
+
|
|
210
|
+
# Verify network access
|
|
211
|
+
curl http://localhost:3456/api/health
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
### Workspace Path Not Found
|
|
215
|
+
|
|
216
|
+
```bash
|
|
217
|
+
# Use full absolute path
|
|
218
|
+
ccw view --path "$(pwd)"
|
|
219
|
+
|
|
220
|
+
# Or specify explicit path
|
|
221
|
+
ccw view --path ~/projects/my-project
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
## Related Commands
|
|
225
|
+
|
|
226
|
+
- **`/ccw`** - Main workflow orchestrator
|
|
227
|
+
- **`/workflow:session:list`** - List workflow sessions
|
|
228
|
+
- **`/workflow:session:resume`** - Resume paused session
|
|
229
|
+
- **`/memory:compact`** - Compact session memory for dashboard display
|
|
230
|
+
|
|
231
|
+
## Examples
|
|
232
|
+
|
|
233
|
+
### Basic Dashboard View
|
|
234
|
+
|
|
235
|
+
```bash
|
|
236
|
+
cd ~/projects/my-app
|
|
237
|
+
ccw view
|
|
238
|
+
# → Launches http://localhost:3456 in browser
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
### Network-Accessible Dashboard
|
|
242
|
+
|
|
243
|
+
```bash
|
|
244
|
+
# Allow remote access
|
|
245
|
+
ccw view --host 0.0.0.0 --port 3000
|
|
246
|
+
# → Dashboard accessible at http://machine-ip:3000
|
|
247
|
+
```
|
|
248
|
+
|
|
249
|
+
### Multiple Workspaces on Different Ports
|
|
250
|
+
|
|
251
|
+
```bash
|
|
252
|
+
# Terminal 1: Main project
|
|
253
|
+
ccw view --path ~/projects/main --port 3456
|
|
254
|
+
|
|
255
|
+
# Terminal 2: Side project
|
|
256
|
+
ccw view --path ~/projects/side --port 3457
|
|
257
|
+
|
|
258
|
+
# View both simultaneously
|
|
259
|
+
# → http://localhost:3456 (main)
|
|
260
|
+
# → http://localhost:3457 (side)
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
### Headless Dashboard
|
|
264
|
+
|
|
265
|
+
```bash
|
|
266
|
+
# Run dashboard without browser
|
|
267
|
+
ccw view --port 3000 --no-browser
|
|
268
|
+
echo "Dashboard available at http://localhost:3000"
|
|
269
|
+
|
|
270
|
+
# Share URL with team
|
|
271
|
+
# Can be proxied through nginx/port forwarding
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
### Environment-Based Configuration
|
|
275
|
+
|
|
276
|
+
```bash
|
|
277
|
+
# Script for CI/CD
|
|
278
|
+
export CCW_VIEW_HOST=0.0.0.0
|
|
279
|
+
export CCW_VIEW_PORT=8080
|
|
280
|
+
ccw view --path /workspace
|
|
281
|
+
|
|
282
|
+
# → Dashboard accessible on port 8080 to all interfaces
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
## Dashboard Pages
|
|
286
|
+
|
|
287
|
+
### Overview Page (`/`)
|
|
288
|
+
- Current workflow status
|
|
289
|
+
- Active sessions summary
|
|
290
|
+
- Recent commands
|
|
291
|
+
- System health indicators
|
|
292
|
+
|
|
293
|
+
### Sessions Page (`/sessions`)
|
|
294
|
+
- All sessions (grouped by type)
|
|
295
|
+
- Session details and metadata
|
|
296
|
+
- Session logs viewer
|
|
297
|
+
- Quick actions (resume/complete)
|
|
298
|
+
|
|
299
|
+
### Tasks Page (`/tasks`)
|
|
300
|
+
- Current TODO items
|
|
301
|
+
- Progress tracking
|
|
302
|
+
- Inline task editing
|
|
303
|
+
- Workflow history
|
|
304
|
+
|
|
305
|
+
### Workspace Page (`/workspace`)
|
|
306
|
+
- Current workspace info
|
|
307
|
+
- Available workspaces
|
|
308
|
+
- Workspace switcher
|
|
309
|
+
- Workspace settings
|
|
310
|
+
|
|
311
|
+
### Settings Page (`/settings`)
|
|
312
|
+
- Port configuration
|
|
313
|
+
- Theme preferences
|
|
314
|
+
- Auto-refresh settings
|
|
315
|
+
- Export settings
|
|
316
|
+
|
|
317
|
+
## Server Health Monitoring
|
|
318
|
+
|
|
319
|
+
The dashboard includes health monitoring:
|
|
320
|
+
|
|
321
|
+
```bash
|
|
322
|
+
# Check health endpoint
|
|
323
|
+
curl http://localhost:3456/api/health
|
|
324
|
+
# → { "status": "ok", "uptime": 12345 }
|
|
325
|
+
|
|
326
|
+
# Monitor metrics
|
|
327
|
+
curl http://localhost:3456/api/metrics
|
|
328
|
+
# → { "sessions": 3, "tasks": 15, "lastUpdate": "2025-01-29T10:30:00Z" }
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
## Advanced Usage
|
|
332
|
+
|
|
333
|
+
### Custom Port with Dynamic Discovery
|
|
334
|
+
|
|
335
|
+
```bash
|
|
336
|
+
# Find next available port
|
|
337
|
+
available_port=$(find-available-port 3456)
|
|
338
|
+
ccw view --port $available_port
|
|
339
|
+
|
|
340
|
+
# Display in CI/CD
|
|
341
|
+
echo "Dashboard: http://localhost:$available_port"
|
|
342
|
+
```
|
|
343
|
+
|
|
344
|
+
### Dashboard Behind Proxy
|
|
345
|
+
|
|
346
|
+
```bash
|
|
347
|
+
# Configure nginx reverse proxy
|
|
348
|
+
# Proxy http://proxy.example.com/dashboard → http://localhost:3456
|
|
349
|
+
|
|
350
|
+
ccw view --host 127.0.0.1 --port 3456
|
|
351
|
+
|
|
352
|
+
# Access via proxy
|
|
353
|
+
# http://proxy.example.com/dashboard
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
### Session Export from Dashboard
|
|
357
|
+
|
|
358
|
+
- View → Sessions → Export JSON
|
|
359
|
+
- Exports session metadata and progress
|
|
360
|
+
- Useful for record-keeping and reporting
|
|
361
|
+
|
|
362
|
+
## See Also
|
|
363
|
+
|
|
364
|
+
- **CCW Commands**: `/ccw` - Auto workflow orchestration
|
|
365
|
+
- **Session Management**: `/workflow:session:start`, `/workflow:session:list`
|
|
366
|
+
- **Task Tracking**: `TodoWrite` tool for programmatic task management
|
|
367
|
+
- **Workflow Status**: `/workflow:status` for CLI-based status view
|