claude-code-workflow 6.3.12 → 6.3.13

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.
@@ -1,168 +1,141 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "title": "Issues JSONL Schema",
4
- "description": "Schema for each line in issues.jsonl (flat storage)",
5
- "type": "object",
6
- "required": ["id", "title", "status", "created_at"],
7
- "properties": {
8
- "id": {
9
- "type": "string",
10
- "description": "Issue ID (GH-123, ISS-xxx, DSC-001)"
11
- },
12
- "title": {
13
- "type": "string"
14
- },
15
- "status": {
16
- "type": "string",
17
- "enum": ["registered", "planning", "planned", "queued", "executing", "completed", "failed", "paused"],
18
- "default": "registered"
19
- },
20
- "priority": {
21
- "type": "integer",
22
- "minimum": 1,
23
- "maximum": 5,
24
- "default": 3,
25
- "description": "1=critical, 2=high, 3=medium, 4=low, 5=trivial"
26
- },
27
- "context": {
28
- "type": "string",
29
- "description": "Issue context/description (markdown)"
30
- },
31
- "source": {
32
- "type": "string",
33
- "enum": ["github", "text", "discovery"],
34
- "description": "Source of the issue"
35
- },
36
- "source_url": {
37
- "type": "string",
38
- "description": "Original source URL (for GitHub issues)"
39
- },
40
- "labels": {
41
- "type": "array",
42
- "items": { "type": "string" },
43
- "description": "Issue labels/tags"
44
- },
45
- "discovery_context": {
46
- "type": "object",
47
- "description": "Enriched context from issue:discover (only when source=discovery)",
48
- "properties": {
49
- "discovery_id": {
50
- "type": "string",
51
- "description": "Source discovery session ID"
52
- },
53
- "perspective": {
54
- "type": "string",
55
- "enum": ["bug", "ux", "test", "quality", "security", "performance", "maintainability", "best-practices"]
56
- },
57
- "category": {
58
- "type": "string",
59
- "description": "Finding category (e.g., edge-case, race-condition)"
60
- },
61
- "file": {
62
- "type": "string",
63
- "description": "Primary affected file"
64
- },
65
- "line": {
66
- "type": "integer",
67
- "description": "Line number in primary file"
68
- },
69
- "snippet": {
70
- "type": "string",
71
- "description": "Code snippet showing the issue"
72
- },
73
- "confidence": {
74
- "type": "number",
75
- "minimum": 0,
76
- "maximum": 1,
77
- "description": "Agent confidence score"
78
- },
79
- "suggested_fix": {
80
- "type": "string",
81
- "description": "Suggested remediation from discovery"
82
- }
83
- }
84
- },
85
- "affected_components": {
86
- "type": "array",
87
- "items": { "type": "string" },
88
- "description": "Files/modules affected"
89
- },
90
- "lifecycle_requirements": {
91
- "type": "object",
92
- "properties": {
93
- "test_strategy": {
94
- "type": "string",
95
- "enum": ["unit", "integration", "e2e", "manual", "auto"]
96
- },
97
- "regression_scope": {
98
- "type": "string",
99
- "enum": ["affected", "related", "full"]
100
- },
101
- "acceptance_type": {
102
- "type": "string",
103
- "enum": ["automated", "manual", "both"]
104
- },
105
- "commit_strategy": {
106
- "type": "string",
107
- "enum": ["per-task", "squash", "atomic"]
108
- }
109
- }
110
- },
111
- "bound_solution_id": {
112
- "type": "string",
113
- "description": "ID of the bound solution (null if none bound)"
114
- },
115
- "solution_count": {
116
- "type": "integer",
117
- "default": 0,
118
- "description": "Number of candidate solutions"
119
- },
120
- "created_at": {
121
- "type": "string",
122
- "format": "date-time"
123
- },
124
- "updated_at": {
125
- "type": "string",
126
- "format": "date-time"
127
- },
128
- "planned_at": {
129
- "type": "string",
130
- "format": "date-time"
131
- },
132
- "completed_at": {
133
- "type": "string",
134
- "format": "date-time"
135
- }
136
- },
137
- "examples": [
138
- {
139
- "id": "DSC-001",
140
- "title": "Fix: SQLite connection pool memory leak",
141
- "status": "registered",
142
- "priority": 1,
143
- "context": "Connection pool cleanup only happens when MAX_POOL_SIZE is reached...",
144
- "source": "discovery",
145
- "labels": ["bug", "resource-leak", "critical"],
146
- "discovery_context": {
147
- "discovery_id": "DSC-20251228-182237",
148
- "perspective": "bug",
149
- "category": "resource-leak",
150
- "file": "storage/sqlite_store.py",
151
- "line": 59,
152
- "snippet": "if len(self._pool) >= self.MAX_POOL_SIZE:\n self._cleanup_stale_connections()",
153
- "confidence": 0.85,
154
- "suggested_fix": "Implement periodic cleanup or weak references"
155
- },
156
- "affected_components": ["storage/sqlite_store.py"],
157
- "lifecycle_requirements": {
158
- "test_strategy": "unit",
159
- "regression_scope": "affected",
160
- "acceptance_type": "automated",
161
- "commit_strategy": "per-task"
162
- },
163
- "bound_solution_id": null,
164
- "solution_count": 0,
165
- "created_at": "2025-12-28T18:22:37Z"
166
- }
167
- ]
168
- }
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "title": "Issues JSONL Schema",
4
+ "description": "Schema for each line in issues.jsonl (flat storage)",
5
+ "type": "object",
6
+ "required": ["id", "title", "status", "created_at"],
7
+ "properties": {
8
+ "id": {
9
+ "type": "string",
10
+ "description": "Issue ID (GH-123, ISS-xxx, DSC-001)"
11
+ },
12
+ "title": {
13
+ "type": "string"
14
+ },
15
+ "status": {
16
+ "type": "string",
17
+ "enum": ["registered", "planning", "planned", "queued", "executing", "completed", "failed", "paused"],
18
+ "default": "registered"
19
+ },
20
+ "priority": {
21
+ "type": "integer",
22
+ "minimum": 1,
23
+ "maximum": 5,
24
+ "default": 3,
25
+ "description": "1=critical, 2=high, 3=medium, 4=low, 5=trivial"
26
+ },
27
+ "context": {
28
+ "type": "string",
29
+ "description": "Issue context/description (markdown)"
30
+ },
31
+ "source": {
32
+ "type": "string",
33
+ "enum": ["github", "text", "discovery"],
34
+ "description": "Source of the issue"
35
+ },
36
+ "source_url": {
37
+ "type": "string",
38
+ "description": "Original source URL (for GitHub issues)"
39
+ },
40
+ "labels": {
41
+ "type": "array",
42
+ "items": { "type": "string" },
43
+ "description": "Issue labels/tags"
44
+ },
45
+ "extended_context": {
46
+ "type": "object",
47
+ "description": "Minimal extended context for planning hints",
48
+ "properties": {
49
+ "location": {
50
+ "type": "string",
51
+ "description": "file:line format (e.g., 'src/auth.ts:42')"
52
+ },
53
+ "suggested_fix": {
54
+ "type": "string",
55
+ "description": "Suggested remediation"
56
+ },
57
+ "notes": {
58
+ "type": "string",
59
+ "description": "Additional notes (user clarifications or discovery hints)"
60
+ }
61
+ }
62
+ },
63
+ "affected_components": {
64
+ "type": "array",
65
+ "items": { "type": "string" },
66
+ "description": "Files/modules affected"
67
+ },
68
+ "lifecycle_requirements": {
69
+ "type": "object",
70
+ "properties": {
71
+ "test_strategy": {
72
+ "type": "string",
73
+ "enum": ["unit", "integration", "e2e", "manual", "auto"]
74
+ },
75
+ "regression_scope": {
76
+ "type": "string",
77
+ "enum": ["affected", "related", "full"]
78
+ },
79
+ "acceptance_type": {
80
+ "type": "string",
81
+ "enum": ["automated", "manual", "both"]
82
+ },
83
+ "commit_strategy": {
84
+ "type": "string",
85
+ "enum": ["per-task", "squash", "atomic"]
86
+ }
87
+ }
88
+ },
89
+ "bound_solution_id": {
90
+ "type": "string",
91
+ "description": "ID of the bound solution (null if none bound)"
92
+ },
93
+ "solution_count": {
94
+ "type": "integer",
95
+ "default": 0,
96
+ "description": "Number of candidate solutions"
97
+ },
98
+ "created_at": {
99
+ "type": "string",
100
+ "format": "date-time"
101
+ },
102
+ "updated_at": {
103
+ "type": "string",
104
+ "format": "date-time"
105
+ },
106
+ "planned_at": {
107
+ "type": "string",
108
+ "format": "date-time"
109
+ },
110
+ "completed_at": {
111
+ "type": "string",
112
+ "format": "date-time"
113
+ }
114
+ },
115
+ "examples": [
116
+ {
117
+ "id": "DSC-001",
118
+ "title": "Fix: SQLite connection pool memory leak",
119
+ "status": "registered",
120
+ "priority": 1,
121
+ "context": "Connection pool cleanup only happens when MAX_POOL_SIZE is reached...",
122
+ "source": "discovery",
123
+ "labels": ["bug", "resource-leak", "critical"],
124
+ "extended_context": {
125
+ "location": "storage/sqlite_store.py:59",
126
+ "suggested_fix": "Implement periodic cleanup or weak references",
127
+ "notes": null
128
+ },
129
+ "affected_components": ["storage/sqlite_store.py"],
130
+ "lifecycle_requirements": {
131
+ "test_strategy": "unit",
132
+ "regression_scope": "affected",
133
+ "acceptance_type": "automated",
134
+ "commit_strategy": "per-task"
135
+ },
136
+ "bound_solution_id": null,
137
+ "solution_count": 0,
138
+ "created_at": "2025-12-28T18:22:37Z"
139
+ }
140
+ ]
141
+ }
@@ -7,8 +7,9 @@
7
7
  "properties": {
8
8
  "id": {
9
9
  "type": "string",
10
- "description": "Unique solution identifier",
11
- "pattern": "^SOL-[0-9]+$"
10
+ "description": "Unique solution identifier: SOL-{issue-id}-{seq}",
11
+ "pattern": "^SOL-.+-[0-9]+$",
12
+ "examples": ["SOL-GH-123-1", "SOL-ISS-20251229-1"]
12
13
  },
13
14
  "description": {
14
15
  "type": "string",
@@ -40,7 +40,7 @@ ccw issue next
40
40
  This returns JSON with the full solution definition:
41
41
  - `item_id`: Solution identifier in queue (e.g., "S-1")
42
42
  - `issue_id`: Parent issue ID (e.g., "ISS-20251227-001")
43
- - `solution_id`: Solution ID (e.g., "SOL-20251227-001")
43
+ - `solution_id`: Solution ID (e.g., "SOL-ISS-20251227-001-1")
44
44
  - `solution`: Full solution with all tasks
45
45
  - `execution_hints`: Timing and executor hints
46
46
 
@@ -54,10 +54,10 @@ Expected solution structure:
54
54
  {
55
55
  "item_id": "S-1",
56
56
  "issue_id": "ISS-20251227-001",
57
- "solution_id": "SOL-20251227-001",
57
+ "solution_id": "SOL-ISS-20251227-001-1",
58
58
  "status": "pending",
59
59
  "solution": {
60
- "id": "SOL-20251227-001",
60
+ "id": "SOL-ISS-20251227-001-1",
61
61
  "description": "Description of solution approach",
62
62
  "tasks": [
63
63
  {
@@ -78,8 +78,8 @@ Build a file → solutions mapping:
78
78
 
79
79
  ```javascript
80
80
  fileModifications = {
81
- "src/auth.ts": ["SOL-001", "SOL-003"],
82
- "src/api.ts": ["SOL-002"]
81
+ "src/auth.ts": ["SOL-ISS-001-1", "SOL-ISS-003-1"],
82
+ "src/api.ts": ["SOL-ISS-002-1"]
83
83
  }
84
84
  ```
85
85
 
@@ -129,7 +129,7 @@ Group assignment:
129
129
  {
130
130
  "item_id": "S-1",
131
131
  "issue_id": "ISS-001",
132
- "solution_id": "SOL-001",
132
+ "solution_id": "SOL-ISS-001-1",
133
133
  "status": "pending",
134
134
  "execution_order": 1,
135
135
  "execution_group": "P1",
package/package.json CHANGED
@@ -1,83 +1,83 @@
1
- {
2
- "name": "claude-code-workflow",
3
- "version": "6.3.12",
4
- "description": "JSON-driven multi-agent development framework with intelligent CLI orchestration (Gemini/Qwen/Codex), context-first architecture, and automated workflow execution",
5
- "type": "module",
6
- "main": "ccw/src/index.js",
7
- "bin": {
8
- "ccw": "./ccw/bin/ccw.js",
9
- "ccw-mcp": "./ccw/bin/ccw-mcp.js"
10
- },
11
- "scripts": {
12
- "build": "tsc -p ccw/tsconfig.json",
13
- "start": "node ccw/bin/ccw.js",
14
- "test": "node --experimental-strip-types --test ccw/tests/*.test.js",
15
- "prepublishOnly": "npm run build && echo 'Ready to publish @dyw/claude-code-workflow'"
16
- },
17
- "keywords": [
18
- "claude",
19
- "workflow",
20
- "ai",
21
- "cli",
22
- "dashboard",
23
- "code-review",
24
- "automation",
25
- "development"
26
- ],
27
- "author": "dyw",
28
- "license": "MIT",
29
- "engines": {
30
- "node": ">=16.0.0"
31
- },
32
- "dependencies": {
33
- "@modelcontextprotocol/sdk": "^1.0.4",
34
- "better-sqlite3": "^11.7.0",
35
- "boxen": "^7.1.0",
36
- "chalk": "^5.3.0",
37
- "commander": "^11.0.0",
38
- "figlet": "^1.7.0",
39
- "glob": "^10.3.0",
40
- "gradient-string": "^2.0.2",
41
- "inquirer": "^9.2.0",
42
- "open": "^9.1.0",
43
- "ora": "^7.0.0",
44
- "zod": "^4.1.13"
45
- },
46
- "files": [
47
- "ccw/bin/",
48
- "ccw/dist/",
49
- "ccw/src/",
50
- ".claude/agents/",
51
- ".claude/commands/",
52
- ".claude/output-styles/",
53
- ".claude/workflows/",
54
- ".claude/scripts/",
55
- ".claude/prompt-templates/",
56
- ".claude/python_script/",
57
- ".claude/skills/",
58
- ".codex/",
59
- ".gemini/",
60
- ".qwen/",
61
- "codex-lens/src/codexlens/",
62
- "codex-lens/pyproject.toml",
63
- "ccw-litellm/src/ccw_litellm/",
64
- "ccw-litellm/pyproject.toml",
65
- "CLAUDE.md",
66
- "README.md"
67
- ],
68
- "repository": {
69
- "type": "git",
70
- "url": "git+https://github.com/catlog22/Claude-Code-Workflow.git"
71
- },
72
- "bugs": {
73
- "url": "https://github.com/catlog22/Claude-Code-Workflow/issues"
74
- },
75
- "homepage": "https://github.com/catlog22/Claude-Code-Workflow#readme",
76
- "devDependencies": {
77
- "@types/better-sqlite3": "^7.6.12",
78
- "@types/gradient-string": "^1.1.6",
79
- "@types/inquirer": "^9.0.9",
80
- "@types/node": "^25.0.1",
81
- "typescript": "^5.9.3"
82
- }
83
- }
1
+ {
2
+ "name": "claude-code-workflow",
3
+ "version": "6.3.13",
4
+ "description": "JSON-driven multi-agent development framework with intelligent CLI orchestration (Gemini/Qwen/Codex), context-first architecture, and automated workflow execution",
5
+ "type": "module",
6
+ "main": "ccw/src/index.js",
7
+ "bin": {
8
+ "ccw": "./ccw/bin/ccw.js",
9
+ "ccw-mcp": "./ccw/bin/ccw-mcp.js"
10
+ },
11
+ "scripts": {
12
+ "build": "tsc -p ccw/tsconfig.json",
13
+ "start": "node ccw/bin/ccw.js",
14
+ "test": "node --experimental-strip-types --test ccw/tests/*.test.js",
15
+ "prepublishOnly": "npm run build && echo 'Ready to publish @dyw/claude-code-workflow'"
16
+ },
17
+ "keywords": [
18
+ "claude",
19
+ "workflow",
20
+ "ai",
21
+ "cli",
22
+ "dashboard",
23
+ "code-review",
24
+ "automation",
25
+ "development"
26
+ ],
27
+ "author": "dyw",
28
+ "license": "MIT",
29
+ "engines": {
30
+ "node": ">=16.0.0"
31
+ },
32
+ "dependencies": {
33
+ "@modelcontextprotocol/sdk": "^1.0.4",
34
+ "better-sqlite3": "^11.7.0",
35
+ "boxen": "^7.1.0",
36
+ "chalk": "^5.3.0",
37
+ "commander": "^11.0.0",
38
+ "figlet": "^1.7.0",
39
+ "glob": "^10.3.0",
40
+ "gradient-string": "^2.0.2",
41
+ "inquirer": "^9.2.0",
42
+ "open": "^9.1.0",
43
+ "ora": "^7.0.0",
44
+ "zod": "^4.1.13"
45
+ },
46
+ "files": [
47
+ "ccw/bin/",
48
+ "ccw/dist/",
49
+ "ccw/src/",
50
+ ".claude/agents/",
51
+ ".claude/commands/",
52
+ ".claude/output-styles/",
53
+ ".claude/workflows/",
54
+ ".claude/scripts/",
55
+ ".claude/prompt-templates/",
56
+ ".claude/python_script/",
57
+ ".claude/skills/",
58
+ ".codex/",
59
+ ".gemini/",
60
+ ".qwen/",
61
+ "codex-lens/src/codexlens/",
62
+ "codex-lens/pyproject.toml",
63
+ "ccw-litellm/src/ccw_litellm/",
64
+ "ccw-litellm/pyproject.toml",
65
+ "CLAUDE.md",
66
+ "README.md"
67
+ ],
68
+ "repository": {
69
+ "type": "git",
70
+ "url": "git+https://github.com/catlog22/Claude-Code-Workflow.git"
71
+ },
72
+ "bugs": {
73
+ "url": "https://github.com/catlog22/Claude-Code-Workflow/issues"
74
+ },
75
+ "homepage": "https://github.com/catlog22/Claude-Code-Workflow#readme",
76
+ "devDependencies": {
77
+ "@types/better-sqlite3": "^7.6.12",
78
+ "@types/gradient-string": "^1.1.6",
79
+ "@types/inquirer": "^9.0.9",
80
+ "@types/node": "^25.0.1",
81
+ "typescript": "^5.9.3"
82
+ }
83
+ }