|
1 | 1 | # CCW - Claude Code Workflow CLI |
2 | | -NEW LINE |
3 | 2 |
|
4 | 3 | [](https://github.com/catlog22/Claude-Code-Workflow/releases) |
5 | 4 |
|
6 | 5 | A powerful command-line tool for managing Claude Code Workflow with native CodexLens code intelligence, multi-model CLI orchestration, and interactive dashboard. |
7 | 6 |
|
| 7 | +## What's New in v6.3 |
| 8 | + |
| 9 | +### Hook System Integration |
| 10 | +- **Soft Enforcement Stop Hook**: Never blocks - injects continuation messages for active workflows/modes |
| 11 | +- **Mode System**: Keyword-based mode activation with exclusive mode conflict detection |
| 12 | +- **Checkpoint/Recovery**: Automatic state preservation before context compaction |
| 13 | +- **PreCompact Hook**: Creates checkpoints with mutex to prevent concurrent operations |
| 14 | + |
8 | 15 | ## Installation |
9 | 16 |
|
10 | 17 | ```bash |
@@ -77,6 +84,44 @@ ccw view -o report.html |
77 | 84 | - **Dimension Analysis**: Findings by review dimension (Security, Architecture, Quality, etc.) |
78 | 85 | - **Tabbed Interface**: Switch between Workflow and Reviews tabs |
79 | 86 |
|
| 87 | +### Hook System |
| 88 | +- **Soft Enforcement Stop Hook**: Never blocks stops - injects continuation messages instead |
| 89 | +- **Mode System**: Keyword-based mode activation (`autopilot`, `ultrawork`, `swarm`, etc.) |
| 90 | +- **Checkpoint/Recovery**: Automatic state preservation before context compaction |
| 91 | +- **PreCompact Hook**: Creates checkpoints with mutex to prevent concurrent operations |
| 92 | +- **Exclusive Mode Detection**: Prevents conflicting modes from running concurrently |
| 93 | + |
| 94 | +## Quick Start with Hooks |
| 95 | + |
| 96 | +```bash |
| 97 | +# Configure hooks in .claude/settings.json |
| 98 | +{ |
| 99 | + "hooks": { |
| 100 | + "PreCompact": [ |
| 101 | + { |
| 102 | + "name": "Create Checkpoint", |
| 103 | + "command": "ccw hook precompact --stdin", |
| 104 | + "enabled": true |
| 105 | + } |
| 106 | + ], |
| 107 | + "Stop": [ |
| 108 | + { |
| 109 | + "name": "Soft Enforcement Stop", |
| 110 | + "command": "ccw hook stop --stdin", |
| 111 | + "enabled": true |
| 112 | + } |
| 113 | + ] |
| 114 | + } |
| 115 | +} |
| 116 | + |
| 117 | +# Use mode keywords in prompts |
| 118 | +"use autopilot to implement the feature" |
| 119 | +"run ultrawork on this task" |
| 120 | +"cancelomc" # Stops active modes |
| 121 | +``` |
| 122 | + |
| 123 | +See [docs/hooks-integration.md](docs/hooks-integration.md) for full documentation. |
| 124 | + |
80 | 125 | ## Dashboard Data Sources |
81 | 126 |
|
82 | 127 | The CLI reads data from the `.workflow/` directory structure: |
|
0 commit comments