ccg-workflow 1.7.73 → 1.7.74
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 +1 -1
- package/README.zh-CN.md +1 -1
- package/bin/codeagent-wrapper-darwin-amd64 +0 -0
- package/bin/codeagent-wrapper-darwin-arm64 +0 -0
- package/bin/codeagent-wrapper-linux-amd64 +0 -0
- package/bin/codeagent-wrapper-linux-arm64 +0 -0
- package/bin/codeagent-wrapper-windows-amd64.exe +0 -0
- package/bin/codeagent-wrapper-windows-arm64.exe +0 -0
- package/dist/cli.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/{ccg-workflow.DoPpjMJ6.mjs → ccg-workflow.Cj1gMkci.mjs} +1 -1
- package/package.json +1 -1
- package/templates/commands/spec-impl.md +6 -2
- package/templates/commands/spec-plan.md +5 -2
- package/templates/commands/spec-research.md +4 -2
package/README.md
CHANGED
package/README.zh-CN.md
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/cli.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import cac from 'cac';
|
|
3
3
|
import ansis from 'ansis';
|
|
4
|
-
import { z as diagnoseMcpConfig, A as isWindows, B as readClaudeCodeConfig, C as fixWindowsMcpConfig, D as writeClaudeCodeConfig, r as readCcgConfig, b as initI18n, a as i18n, s as showMainMenu, i as init, E as configMcp, F as version } from './shared/ccg-workflow.
|
|
4
|
+
import { z as diagnoseMcpConfig, A as isWindows, B as readClaudeCodeConfig, C as fixWindowsMcpConfig, D as writeClaudeCodeConfig, r as readCcgConfig, b as initI18n, a as i18n, s as showMainMenu, i as init, E as configMcp, F as version } from './shared/ccg-workflow.Cj1gMkci.mjs';
|
|
5
5
|
import 'inquirer';
|
|
6
6
|
import 'node:child_process';
|
|
7
7
|
import 'node:util';
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { c as changeLanguage, x as checkForUpdates, y as compareVersions, d as createDefaultConfig, e as createDefaultRouting, g as getCcgDir, f as getConfigPath, t as getCurrentVersion, v as getLatestVersion, j as getWorkflowById, h as getWorkflowConfigs, a as i18n, i as init, b as initI18n, l as installAceTool, m as installAceToolRs, k as installWorkflows, p as migrateToV1_4_0, q as needsMigration, r as readCcgConfig, s as showMainMenu, o as uninstallAceTool, n as uninstallWorkflows, u as update, w as writeCcgConfig } from './shared/ccg-workflow.
|
|
1
|
+
export { c as changeLanguage, x as checkForUpdates, y as compareVersions, d as createDefaultConfig, e as createDefaultRouting, g as getCcgDir, f as getConfigPath, t as getCurrentVersion, v as getLatestVersion, j as getWorkflowById, h as getWorkflowConfigs, a as i18n, i as init, b as initI18n, l as installAceTool, m as installAceToolRs, k as installWorkflows, p as migrateToV1_4_0, q as needsMigration, r as readCcgConfig, s as showMainMenu, o as uninstallAceTool, n as uninstallWorkflows, u as update, w as writeCcgConfig } from './shared/ccg-workflow.Cj1gMkci.mjs';
|
|
2
2
|
import 'ansis';
|
|
3
3
|
import 'inquirer';
|
|
4
4
|
import 'node:child_process';
|
package/package.json
CHANGED
|
@@ -13,6 +13,8 @@ description: '按规范执行 + 多模型协作 + 归档'
|
|
|
13
13
|
- **MANDATORY**: Request `unified diff patch` format from external models; they have zero write permission.
|
|
14
14
|
- Keep implementation strictly within `tasks.md` scope—no scope creep.
|
|
15
15
|
- Refer to `openspec/config.yaml` for conventions.
|
|
16
|
+
- **USER GUIDANCE RULE**: When suggesting next steps to the user, ALWAYS use CCG commands (`/ccg:spec-research`, `/ccg:spec-plan`, `/ccg:spec-impl`, `/ccg:spec-review`). NEVER suggest `/opsx:*` commands to the user. If OpenSpec CLI returns error messages referencing OPSX skills, translate them to CCG equivalents.
|
|
17
|
+
- **TASKS FORMAT RULE**: When generating or modifying `tasks.md`, ALL tasks MUST use checkbox format (`- [ ] X.Y description`). Heading+bullet format will cause OpenSpec CLI to parse 0 tasks and block the workflow.
|
|
16
18
|
|
|
17
19
|
**Steps**
|
|
18
20
|
1. **Select Change**
|
|
@@ -21,11 +23,12 @@ description: '按规范执行 + 多模型协作 + 归档'
|
|
|
21
23
|
- Run `openspec status --change "<change_id>" --json` to review tasks.
|
|
22
24
|
|
|
23
25
|
2. **Apply OPSX Change**
|
|
24
|
-
- Call `/opsx:apply` to enter implementation mode:
|
|
26
|
+
- Call `/opsx:apply` internally to enter implementation mode:
|
|
25
27
|
```
|
|
26
28
|
/opsx:apply
|
|
27
29
|
```
|
|
28
30
|
- This will load the change context and guide you through the tasks defined in `tasks.md`.
|
|
31
|
+
- **Note**: This is an internal call. If this step fails, guide the user to re-run `/ccg:spec-impl`.
|
|
29
32
|
|
|
30
33
|
3. **Identify Minimal Verifiable Phase**
|
|
31
34
|
- Review `tasks.md` and identify the **smallest verifiable phase**.
|
|
@@ -112,11 +115,12 @@ description: '按规范执行 + 多模型协作 + 归档'
|
|
|
112
115
|
|
|
113
116
|
10. **Archive on Completion**
|
|
114
117
|
- When ALL tasks in `tasks.md` are marked `[x]`:
|
|
115
|
-
- Call `/opsx:archive` to archive the change:
|
|
118
|
+
- Call `/opsx:archive` internally to archive the change:
|
|
116
119
|
```
|
|
117
120
|
/opsx:archive
|
|
118
121
|
```
|
|
119
122
|
- This merges spec deltas to `openspec/specs/` and moves change to archive.
|
|
123
|
+
- **Note**: This is an internal call. If archiving fails, guide the user to re-run `/ccg:spec-impl`.
|
|
120
124
|
|
|
121
125
|
**Reference**
|
|
122
126
|
- Check task status: `openspec status --change "<id>" --json`
|
|
@@ -13,6 +13,8 @@ description: '多模型分析 → 消除歧义 → 零决策可执行计划'
|
|
|
13
13
|
- Multi-model collaboration is **mandatory**: use both Codex and Gemini.
|
|
14
14
|
- If constraints cannot be fully specified, escalate to user or return to research phase.
|
|
15
15
|
- Refer to `openspec/config.yaml` for project conventions.
|
|
16
|
+
- **USER GUIDANCE RULE**: When suggesting next steps to the user, ALWAYS use CCG commands (`/ccg:spec-research`, `/ccg:spec-plan`, `/ccg:spec-impl`, `/ccg:spec-review`). NEVER suggest `/opsx:*` commands to the user. If OpenSpec CLI returns error messages referencing OPSX skills, translate them to CCG equivalents.
|
|
17
|
+
- **TASKS FORMAT RULE**: When generating or modifying `tasks.md`, ALL tasks MUST use checkbox format (`- [ ] X.Y description`). Heading+bullet format will cause OpenSpec CLI to parse 0 tasks and block the workflow.
|
|
16
18
|
|
|
17
19
|
**Steps**
|
|
18
20
|
1. **Select Change**
|
|
@@ -84,7 +86,7 @@ description: '多模型分析 → 消除歧义 → 零决策可执行计划'
|
|
|
84
86
|
- **Bounds**: Value ranges, size limits, rate constraints
|
|
85
87
|
|
|
86
88
|
5. **Update OPSX Artifacts**
|
|
87
|
-
- **BEFORE calling `/opsx:continue
|
|
89
|
+
- **BEFORE calling `/opsx:continue`** (internal skill call — do NOT expose this command to user), output a structured summary for OPSX context:
|
|
88
90
|
```markdown
|
|
89
91
|
## Planning Summary for OPSX
|
|
90
92
|
|
|
@@ -106,11 +108,12 @@ description: '多模型分析 → 消除歧义 → 零决策可执行计划'
|
|
|
106
108
|
- [High-level task breakdown ready for tasks.md]
|
|
107
109
|
```
|
|
108
110
|
|
|
109
|
-
- Then call `/opsx:continue` to generate next artifacts:
|
|
111
|
+
- Then call `/opsx:continue` internally to generate next artifacts:
|
|
110
112
|
```
|
|
111
113
|
/opsx:continue
|
|
112
114
|
```
|
|
113
115
|
- The OPSX skill will use the above summary to create specs.md, design.md, and tasks.md.
|
|
116
|
+
- **Note**: This is an internal call. If this step fails, guide the user to re-run `/ccg:spec-plan`.
|
|
114
117
|
|
|
115
118
|
6. **Context Checkpoint**
|
|
116
119
|
- Report current context usage.
|
|
@@ -15,6 +15,7 @@ description: '需求 → 约束集(并行探索 + OPSX 提案)'
|
|
|
15
15
|
- Each subagent context must be self-contained with independent output.
|
|
16
16
|
- Use `{{MCP_SEARCH_TOOL}}` to minimize grep/find operations.
|
|
17
17
|
- Do not make architectural decisions—surface constraints that guide decisions.
|
|
18
|
+
- **USER GUIDANCE RULE**: When suggesting next steps to the user, ALWAYS use CCG commands (`/ccg:spec-research`, `/ccg:spec-plan`, `/ccg:spec-impl`, `/ccg:spec-review`). NEVER suggest `/opsx:*` commands to the user. If OpenSpec CLI returns error messages referencing OPSX skills, translate them to CCG equivalents.
|
|
18
19
|
|
|
19
20
|
**Steps**
|
|
20
21
|
0. **MANDATORY: Enhance Requirement FIRST**
|
|
@@ -110,7 +111,7 @@ description: '需求 → 约束集(并行探索 + OPSX 提案)'
|
|
|
110
111
|
- Capture responses as additional constraints.
|
|
111
112
|
|
|
112
113
|
7. **Finalize OPSX Proposal**
|
|
113
|
-
- **BEFORE calling `/opsx:continue
|
|
114
|
+
- **BEFORE calling `/opsx:continue`** (internal skill call — do NOT expose this command to user), output a structured summary for OPSX context:
|
|
114
115
|
```markdown
|
|
115
116
|
## Research Summary for OPSX
|
|
116
117
|
|
|
@@ -130,11 +131,12 @@ description: '需求 → 约束集(并行探索 + OPSX 提案)'
|
|
|
130
131
|
- [List all user decisions from Step 6]
|
|
131
132
|
```
|
|
132
133
|
|
|
133
|
-
- Then call `/opsx:continue` to generate proposal artifact:
|
|
134
|
+
- Then call `/opsx:continue` internally to generate proposal artifact:
|
|
134
135
|
```
|
|
135
136
|
/opsx:continue
|
|
136
137
|
```
|
|
137
138
|
- The OPSX skill will use the above summary to write proposal.md.
|
|
139
|
+
- **Note**: This is an internal call. If this step fails, guide the user to re-run `/ccg:spec-research`.
|
|
138
140
|
|
|
139
141
|
8. **Context Checkpoint**
|
|
140
142
|
- Report current context usage.
|