li
aa689e89d0
fix: binary version check on update — force re-download when outdated
2026-03-25 22:01:40 +08:00
li
550a932c23
chore: bump version to 1.7.93
2026-03-25 15:35:41 +08:00
li
fc964a3229
chore: bump version to 1.7.92
2026-03-25 14:34:00 +08:00
li
7822a5f4b0
chore: bump version to 1.7.91
2026-03-25 13:56:45 +08:00
li
3abb80c3cd
chore: bump version to 1.7.90
2026-03-23 16:29:07 +08:00
li
d03d324828
fix: unified permissions.allow for all platforms, fix pattern matching
...
- Fix permission pattern: Bash(codeagent-wrapper*) → Bash(*codeagent-wrapper*)
- Fix spec-init <<< here-string triggering Claude Code security check
- Unify all platforms to use permissions.allow (remove Hook + jq dependency)
- Auto-migrate: clean up old Hook and old permission entries on upgrade
2026-03-20 14:36:24 +08:00
li
ec026ad8c9
fix: strict McpServerConfig type + mandatory typecheck in release flow
...
- Fix TS2345 in installer-mcp.ts by narrowing serverConfig to McpServerConfig
- Add pnpm typecheck + pnpm test as required pre-release checks in CLAUDE.md
2026-03-19 19:11:03 +08:00
li
aa53e9689b
fix: Gemini retry on failure, Codex must-wait, team-exec use real Agent Teams
...
- Add Gemini failure retry (2x, 5s interval) to all 20 command templates
- Add Codex must-wait rule to prevent skipping long-running Codex tasks
- Fix team-exec to use TeamCreate + TaskCreate + Agent(team_name=...) instead of plain Agent subagents
2026-03-19 18:52:33 +08:00
li
92e1e4251e
fix: correct run_skill.js path in SKILL.md for ccg namespace
...
The skill runner path was still pointing to ~/.claude/skills/run_skill.js
instead of ~/.claude/skills/ccg/run_skill.js after the v1.7.75 namespace
migration, causing quality gate invocations to fail.
2026-03-18 12:10:17 +08:00
li
371bc50f91
feat: dual-source binary download — GitHub + Cloudflare R2 mirror
...
GitHub Release (8s timeout) → Cloudflare R2 mirror (60s timeout) automatic
fallback. China users no longer suffer from GitHub download failures.
2026-03-17 11:25:24 +08:00
li
a722a8a7e9
fix: skip binary re-download during update when unchanged
...
- installBinaryFile() checks existing binary before downloading
- uninstallWorkflows() accepts preserveBinary option for updates
- update.ts verifies binary post-update with same red-box warning as init
- Extract shared verifyBinary() and showBinaryDownloadWarning() utils
2026-03-17 10:56:31 +08:00
li
c80f58b086
feat: VitePress documentation site with GitHub Pages deployment
...
- VitePress config with zh-CN (default) + English i18n
- 12 content pages: landing page + 5 guide pages per locale
- GitHub Actions workflow for auto-deploy on docs/** changes
- Logo SVG + local search enabled
- Homepage URL updated to https://fengshao1227.github.io/ccg-workflow/
2026-03-12 14:00:46 +08:00
li
d58968055c
chore: bump version to 1.7.83
2026-03-12 13:39:32 +08:00
li
6a02c169ab
feat: fast-context MCP integration + Gemini MCP sync v1.7.82
...
- Add Windsurf Fast Context as 4th code retrieval MCP option (recommended)
- Three-endpoint prompt injection: Claude rules + Codex AGENTS.md + Gemini GEMINI.md
- Add syncMcpToGemini() mirroring MCP servers to ~/.gemini/settings.json
- Support API Key optional + FC_INCLUDE_SNIPPETS mode selection
- Full install/uninstall/menu lifecycle support
2026-03-12 12:23:05 +08:00
li
aac119866d
fix: /ccg:commit context auto-archive from git diff, drop manual log dependency v1.7.81
...
- Context Phase 5 now analyzes git diff to generate ContextEntry
automatically — no longer requires manual session.log entries
- session.log content merged when present but not required
- .context/ missing: suggest init, don't block commit
- /ccg:context log demoted to optional (for manual notes only)
2026-03-11 23:53:47 +08:00
li
04460ad07e
feat: /ccg:context command + quality gate rules v1.7.80
...
- /ccg:context: 27th slash command — .context/ init, decision log,
compress, history for LLM context engineering
- /ccg:commit Context Compress Phase: auto-compress session.log →
history/commits.jsonl on commit, add Context-Id trailer
- 13 role prompts .context Awareness: Codex 6 + Gemini 7 prompts
inject .context/prefs/ reading instructions
- Quality Gate Rules: ~/.claude/rules/ccg-skills.md auto-trigger
rules for verify-security/quality/change/module + gen-docs
- E2E test timeout 5s → 15s for growing command count
2026-03-11 23:37:37 +08:00
li
052cbb63c7
fix: binary download retry + prominent failure warning v1.7.79
...
- downloadBinaryFromRelease: 3 retries + 60s AbortController timeout
- Binary failure downgraded to warning (commands + skills still install)
- init.ts: red box warning + manual download URL + placement path on failure
- update.ts: backup binary before uninstall, restore on failure
- update.ts: subprocess timeout 120s → 300s (slow networks / China GFW)
- installer.test.ts: contextweaver E2E timeout 5s → 30s
2026-03-11 20:58:04 +08:00
li
7c5609aea6
fix: Windows hook exit 255 — use permissions.allow instead v1.7.78
...
- Windows: auto-approve codeagent-wrapper via permissions.allow
(Hook depends on jq/grep/true which don't exist on Windows)
- macOS/Linux: keep existing Hook approach (works fine)
- Auto-migrate: remove old Hook on Windows upgrade
- Skip jq check on Windows (not needed with permissions.allow)
2026-03-11 17:07:27 +08:00
li
6a9edf4b0b
fix: resolve pre-existing typecheck + Go test failures
...
- menu.ts: ReturnType → InstanceType for Separator class (fixes tsc error)
- Remove @types/inquirer (inquirer v12 ships built-in types)
- executor_concurrent_test.go: add --dangerously-bypass-approvals-and-sandbox to expected args
- main_test.go: update version assertion 5.6.0 → 5.7.2
- ci.yml: restore typecheck + Go test steps (all passing now)
2026-03-11 12:22:08 +08:00
li
e88a085898
chore: bump version to 1.7.77
...
- Binary migration to GitHub Release (npm 16.3MB → 161KB)
- Actions CI for cross-compilation
- Fix migration test timeout (network download)
2026-03-10 22:32:08 +08:00
li
968cbedb8a
ci: migrate binaries to GitHub Release + Actions CI
...
- Add .github/workflows/build-binaries.yml (Go cross-compile → preset release)
- installer.ts: download from GitHub Release, fallback to local bin/
- package.json: exclude binaries from npm (16.3MB → 161KB)
- .gitignore: stop tracking bin/codeagent-wrapper-*
- git rm --cached 6 pre-compiled binaries
2026-03-10 22:26:14 +08:00
li
5769a1dbe6
docs: restructure README + add CONTRIBUTING.md + issue templates v1.7.76
...
- README: group 26 commands into 7 categories, add "Why CCG?" section,
move architecture diagram up, consolidate prerequisites, deduplicate
jq instructions, add "When to change" column for env vars, fold
settings.json and Hook config into <details>
- Add CONTRIBUTING.md with dev setup, PR workflow, commit conventions
- Add .github/ISSUE_TEMPLATE/ (bug report, feature request, good first issue)
- EN and ZH README mirrored (335 lines each, 13 sections)
2026-03-10 21:10:50 +08:00
li
aada7260fc
fix: skills namespace isolation — install to skills/ccg/ v1.7.75
...
- Install skills to ~/.claude/skills/ccg/ instead of ~/.claude/skills/
- Uninstall only removes skills/ccg/, preserving user's own skills
- Auto-migrate old v1.7.73-74 layout (tools/orchestration at root)
- Add 3 tests: namespace, uninstall isolation, migration (134 total)
2026-03-10 12:27:30 +08:00
li
96c4debe14
fix: Gemini CLI .env isolation + cross-compile v1.7.74
...
- Set cmd.Dir=$HOME for Gemini backend to prevent project .env from
overriding global API keys (gemini-cli#2493)
- Pass project directory via --include-directories flag instead
- Fix pre-existing Codex test env var name (CODEX_REQUIRE_APPROVAL)
- Cross-compile 6 platform binaries with -s -w strip flags
2026-03-09 17:02:43 +08:00
li
c7e758a503
chore: bump version to 1.7.73
...
feat: /ccg:codex-exec command - Codex full execution with multi-model review
feat: Skills system - 6 native skills (quality gates + multi-agent orchestration)
feat: context7 MCP auto-install (free library docs, no API key)
feat: syncMcpToCodex() - mirror CCG MCP servers to ~/.codex/config.toml
fix: --skip-mcp now correctly guards context7 + Codex sync
fix: skills install/uninstall path consistency
fix: skills template variable replacement after fs.copy()
fix: MCP sync passes through all fields (not just command/args/env)
fix: installedSkills count excludes root SKILL.md
fix: failure feedback for context7 and Codex sync
2026-03-09 15:06:58 +08:00
li
b6ce03effb
chore: bump version to 1.7.72
2026-03-09 12:24:07 +08:00
li
336cb34af4
chore: bump version to 1.7.71
2026-03-09 01:44:57 +08:00
li
1fe8795fdb
chore: v1.7.70 - menu UI overhaul + MCP defaults + repo cleanup
...
- Menu: ASCII Art "CCG" logo, double-line border, numbered shortcuts, CJK-aware alignment
- MCP: ace-tool as default (search_context works, enhance_prompt unavailable), proxy: acemcp.heroman.wtf
- Cleanup: remove 11 temp/cache files (1.md, verify-*.sh, .magi/, etc.)
- .gitignore: add .magi/, verify-*.sh, *_FIX.md, *_REFERENCE.md
2026-03-09 01:18:05 +08:00
li
00f0a74940
feat: i18n + codeagent-wrapper hook auto-authorization (v1.7.69)
...
- Add language selection on first install (zh-CN / English)
- Full i18n for init.ts, menu.ts, update.ts, cli-setup.ts
- Expand i18n/index.ts to 800+ lines with complete zh-CN/en translations
- Auto-install codeagent-wrapper PreToolUse hook in settings.json
- Detect jq availability and show install instructions if missing
- Rewrite README.md in English, move Chinese to README.zh-CN.md
- Add FAQ section with hook configuration guide
- Bump version to 1.7.69
2026-03-09 00:56:42 +08:00
li
ae5b9dfeaf
fix: update 命令全局安装死循环 + 测试覆盖率 38→130
...
修复:
- npm 全局安装用户本地工作流版本过旧时,update 错误推荐
`npm install -g`(包已最新),导致死循环。修正 performUpdate
的 isNewVersion 参数仅依赖 hasUpdate。
测试 (+92):
- version.test.ts: compareVersions 全场景 + 回归用例
- config.test.ts: createDefaultConfig/Routing 纯函数
- platform.test.ts: 平台检测、getMcpCommand、路径分隔符
- installer.test.ts: 注册表一致性、路由/liteMode 注入、
模板变量完整性、contextweaver E2E、卸载 E2E、
二进制安装、prompts 安装
2026-03-09 00:17:47 +08:00
li
6d1f742b2f
chore: bump version to 1.7.67
2026-03-07 14:00:59 +08:00
li
7b3ba20282
fix: spec-research 补全多模型并行调用模板
...
spec-research.md Step 4 缺少 run_in_background: true 指令和完整的
Bash 并行调用示例,导致 Codex/Gemini 串行执行而非并行。
补全为与 spec-plan/spec-impl 一致的并行调用格式。
2026-03-06 21:37:59 +08:00
li
ce30ba01db
chore: bump version to 1.7.65
...
包含 PR #68 的 MCP skip 模式修复 + 测试框架
2026-03-01 23:48:40 +08:00
风少1227
565d55af3f
Merge pull request #68 from ymdvsymd/claude/fix-mcp-skip-injection-01HvwiUv489c9WeoyhBB9yTq
...
fix: handle MCP 'skip' provider to prevent invalid tool name injection
2026-03-01 23:43:24 +08:00
li
bfb156c7c1
chore: v1.7.64 - 保持 CCG 封装纯粹性
...
移除 spec-* 模板中的 /opsx:xxx 引用,用户只需使用 /ccg:spec-* 命令即可
2026-03-01 20:38:52 +08:00
li
734b7996df
feat: v1.7.63 - 适配 OpenSpec 1.2
...
更新 spec-* 系列命令支持新版 OPSX 工作流:
- spec-init: 新增 Profile 系统 (core/custom) + AI 工具自动检测
- spec-research: 新增 /opsx:propose 一步到位选项
- spec-plan: 新增 /opsx:ff 快进模式提示
- spec-impl: 新增 /opsx:verify 验证步骤
- spec-review: 更新引用 (移除过时的 AGENTS.md)
2026-03-01 20:21:57 +08:00
Claude
68347e4a82
fix: handle MCP 'skip' provider in processTemplate to prevent invalid tool injection
...
When users select 'skip' (no MCP) during installation, the
injectConfigVariables function previously fell through to the else
branch, injecting non-existent `mcp__ace-tool__search_context` into
all 14 templates and 2 agent definitions.
This adds a dedicated 'skip' branch with a 4-stage replacement
strategy:
1. Remove MCP tool from agent frontmatter tools declarations
2. Replace code blocks containing MCP invocations with Glob+Grep
fallback guidance
3. Replace inline backtick references with `Glob + Grep`(MCP 未配置)
4. Safety net for any remaining bare references
Also introduces vitest and adds 29 test cases covering skip,
contextweaver, ace-tool providers, plus integration tests against
all real templates.
https://claude.ai/code/session_01HvwiUv489c9WeoyhBB9yTq
2026-02-28 15:28:48 +00:00
li
c0a4c820f9
chore: bump version to 1.7.62
...
升级 Gemini 模型:gemini-3-pro-preview → gemini-3.1-pro-preview (PR #65 by @23q3)
2026-02-27 14:33:08 +08:00
li
7f58785c7b
feat: v1.7.61 - Agent Teams 并行实施系列(team-research/team-plan/team-exec/team-review)
2026-02-10 04:49:38 +08:00
li
72853ad66d
chore: bump version to 1.7.59
2026-02-08 18:26:17 +08:00
li
661b5f0294
feat: v1.7.58 - 新增输出风格配置
...
- 新增「配置输出风格」菜单选项
- 内置 6 种风格:默认、专业工程师、猫娘、老王、大小姐、邪修
- 风格来源:code-abyss + zcf
2026-02-08 00:02:48 +08:00
li
df4a4f3514
feat: v1.7.57 - MCP扩展 + API配置 + 实用工具 + Claude Code安装
...
- 新增 ContextWeaver MCP(推荐)替代收费的 ace-tool
- 新增辅助工具 MCP:Context7/Playwright/DeepWiki/Exa
- 新增 API 配置(初始化+菜单),自动添加优化配置和权限白名单
- 新增实用工具:ccusage + CCometixLine
- 新增 Claude Code 安装(npm/homebrew/curl/powershell/cmd)
- MCP 配置菜单重构为代码检索+辅助工具两类
2026-02-07 23:51:11 +08:00
li
d95aa2ab44
fix: 修复 OpenSpec CLI 集成问题 (v1.7.56)
...
- 修正命令调用方式:使用 openspec CLI 而非 Skill(opsx:list)
- 修正命令语法:openspec new change (移除不支持的 --json)
- 统一命令名称:明确 openspec CLI vs /opsx: 斜杠命令
- 修复 5 个 spec 命令模板
- 验证所有 OpenSpec CLI 命令语法
- 新增 3 个文档和验证脚本
2026-02-01 14:54:07 +08:00
li
3e1393c2c6
chore: bump version to 1.7.55
2026-02-01 12:58:39 +08:00
li
4ab1cd34ae
fix: 修正 OpenSpec 安装包名称错误 (v1.7.54)
...
紧急修复 v1.7.53 中的错误:OPSX 不是独立包,而是 OpenSpec 的实验性工作流
修复内容:
- ✅ 修正安装包名称:@opsx/cli → @fission-ai/openspec
- ✅ 说明 OPSX = OpenSpec eXperimental workflow (v0.23.0+)
- ✅ /opsx: 命令通过安装 @fission-ai/openspec 获得
- ✅ 更新 spec-init.md 说明文本
技术说明:
- OPSX 是 OpenSpec 的实验性功能,不是独立 CLI 包
- 包名保持:@fission-ai/openspec
- 命令格式:/opsx:* (实验性) 和传统 OpenSpec 命令
2026-01-26 21:10:44 +08:00
li
90d1e9645d
fix: 完善 OPSX 命令迁移 (v1.7.53)
...
完整更新所有 5 个 spec-*.md 模板文件,修复 v1.7.52 中未完全更新的 OpenSpec CLI 遗留引用
变更内容:
- ✅ 完整替换所有 openspec 命令为 /opsx 命令
- ✅ 更新命令映射(list/show/status/new/validate/diff/schemas)
- ✅ 更新安装包引用:@fission-ai/openspec → @opsx/cli
- ✅ 修改 5 个模板文件:spec-impl/init/plan/research/review.md
2026-01-26 16:34:11 +08:00
li
03433481db
feat: upgrade to OPSX architecture and improve update workflow (v1.7.52)
2026-01-26 14:48:27 +08:00
li
9f76d7bba0
fix: 修复 CLI 默认语言为英文的问题 (v1.7.51)
...
- 将 cli-setup.ts 中所有命令描述从硬编码英文改为中文
- 修复 menu.ts 退出提示从 'Goodbye!' 改为 '再见!'
- 确保 npm 包安装后默认显示为中文界面
2026-01-25 21:00:31 +08:00
li
7d17663548
fix: 修正 workflow.md 会话复用语法说明 (v1.7.50)
...
- 将 `--resume xxx` 修正为 `resume xxx` 子命令语法
- 添加明确提示:是 `resume`,不是 `--resume`
2026-01-24 19:10:56 +08:00
li
4ef702ee09
fix: 添加 spec-*.md 模板文件到 npm 发布配置 (v1.7.49)
...
修复 spec 命令描述显示为英文的问题:
- package.json files 数组漏掉了 spec-init/research/plan/impl/review.md
- 安装时找不到模板走 placeholder 分支使用了 descriptionEn
2026-01-24 19:05:30 +08:00