ccgx-workflow 1.0.0
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/LICENSE +22 -0
- package/README.md +469 -0
- package/README.zh-CN.md +466 -0
- package/bin/ccg.mjs +2 -0
- package/dist/cli.d.mts +1 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.mjs +173 -0
- package/dist/index.d.mts +1774 -0
- package/dist/index.d.ts +1774 -0
- package/dist/index.mjs +2029 -0
- package/dist/shared/ccgx-workflow.WgUzkiC3.mjs +5248 -0
- package/package.json +129 -0
- package/templates/commands/agents/assumptions-analyzer.md +129 -0
- package/templates/commands/agents/code-fixer.md +292 -0
- package/templates/commands/agents/codebase-mapper.md +152 -0
- package/templates/commands/agents/debug-session-manager.md +247 -0
- package/templates/commands/agents/debugger.md +111 -0
- package/templates/commands/agents/eval-auditor.md +171 -0
- package/templates/commands/agents/framework-selector.md +152 -0
- package/templates/commands/agents/get-current-datetime.md +29 -0
- package/templates/commands/agents/init-architect.md +114 -0
- package/templates/commands/agents/integration-checker.md +163 -0
- package/templates/commands/agents/interface-auditor.md +170 -0
- package/templates/commands/agents/nyquist-auditor.md +131 -0
- package/templates/commands/agents/pattern-mapper.md +111 -0
- package/templates/commands/agents/phase-runner.md +321 -0
- package/templates/commands/agents/plan-checker.md +255 -0
- package/templates/commands/agents/planner.md +320 -0
- package/templates/commands/agents/team-architect.md +186 -0
- package/templates/commands/agents/team-qa.md +121 -0
- package/templates/commands/agents/team-reviewer.md +157 -0
- package/templates/commands/agents/ui-ux-designer.md +573 -0
- package/templates/commands/agents/verifier.md +274 -0
- package/templates/commands/analyze.md +210 -0
- package/templates/commands/autonomous.md +792 -0
- package/templates/commands/cancel.md +132 -0
- package/templates/commands/clean-branches.md +117 -0
- package/templates/commands/codex-exec.md +404 -0
- package/templates/commands/commit.md +151 -0
- package/templates/commands/context.md +332 -0
- package/templates/commands/debate.md +165 -0
- package/templates/commands/debug.md +226 -0
- package/templates/commands/enhance.md +64 -0
- package/templates/commands/execute.md +380 -0
- package/templates/commands/init.md +123 -0
- package/templates/commands/optimize.md +217 -0
- package/templates/commands/plan.md +373 -0
- package/templates/commands/result.md +106 -0
- package/templates/commands/review.md +338 -0
- package/templates/commands/rollback.md +116 -0
- package/templates/commands/spec-impl.md +139 -0
- package/templates/commands/spec-init.md +101 -0
- package/templates/commands/spec-plan.md +210 -0
- package/templates/commands/spec-research.md +152 -0
- package/templates/commands/spec-review.md +120 -0
- package/templates/commands/status.md +206 -0
- package/templates/commands/team-exec.md +265 -0
- package/templates/commands/test.md +236 -0
- package/templates/commands/verify-work.md +338 -0
- package/templates/commands/verify.md +66 -0
- package/templates/commands/workflow.md +190 -0
- package/templates/commands/worktree.md +128 -0
- package/templates/hooks/ccg-context-monitor.js +159 -0
- package/templates/hooks/ccg-session-state.cjs +510 -0
- package/templates/hooks/ccg-statusline.js +142 -0
- package/templates/output-styles/abyss-command.md +56 -0
- package/templates/output-styles/abyss-concise.md +89 -0
- package/templates/output-styles/abyss-cultivator.md +302 -0
- package/templates/output-styles/abyss-ritual.md +70 -0
- package/templates/output-styles/engineer-professional.md +89 -0
- package/templates/output-styles/laowang-engineer.md +127 -0
- package/templates/output-styles/nekomata-engineer.md +120 -0
- package/templates/output-styles/ojousama-engineer.md +121 -0
- package/templates/prompts/claude/analyzer.md +59 -0
- package/templates/prompts/claude/architect.md +54 -0
- package/templates/prompts/claude/debugger.md +71 -0
- package/templates/prompts/claude/optimizer.md +73 -0
- package/templates/prompts/claude/reviewer.md +63 -0
- package/templates/prompts/claude/tester.md +69 -0
- package/templates/prompts/codex/analyzer.md +58 -0
- package/templates/prompts/codex/architect.md +54 -0
- package/templates/prompts/codex/debugger.md +74 -0
- package/templates/prompts/codex/optimizer.md +81 -0
- package/templates/prompts/codex/reviewer.md +73 -0
- package/templates/prompts/codex/tester.md +62 -0
- package/templates/prompts/gemini/analyzer.md +61 -0
- package/templates/prompts/gemini/architect.md +55 -0
- package/templates/prompts/gemini/debugger.md +78 -0
- package/templates/prompts/gemini/frontend.md +64 -0
- package/templates/prompts/gemini/optimizer.md +84 -0
- package/templates/prompts/gemini/reviewer.md +80 -0
- package/templates/prompts/gemini/tester.md +68 -0
- package/templates/rules/ccg-skill-routing.md +83 -0
- package/templates/rules/ccg-skills.md +71 -0
- package/templates/scripts/ccg-phase-runner-launcher.mjs +467 -0
- package/templates/scripts/invoke-model.mjs +949 -0
- package/templates/scripts/repatch-gemini-plugin.mjs +194 -0
- package/templates/skills/SKILL.md +92 -0
- package/templates/skills/domains/ai/SKILL.md +35 -0
- package/templates/skills/domains/ai/agent-dev.md +242 -0
- package/templates/skills/domains/ai/llm-security.md +288 -0
- package/templates/skills/domains/ai/prompt-and-eval.md +279 -0
- package/templates/skills/domains/ai/rag-system.md +542 -0
- package/templates/skills/domains/architecture/SKILL.md +43 -0
- package/templates/skills/domains/architecture/api-design.md +225 -0
- package/templates/skills/domains/architecture/caching.md +299 -0
- package/templates/skills/domains/architecture/cloud-native.md +285 -0
- package/templates/skills/domains/architecture/message-queue.md +329 -0
- package/templates/skills/domains/architecture/security-arch.md +297 -0
- package/templates/skills/domains/data-engineering/SKILL.md +208 -0
- package/templates/skills/domains/development/SKILL.md +47 -0
- package/templates/skills/domains/development/cpp.md +246 -0
- package/templates/skills/domains/development/go.md +323 -0
- package/templates/skills/domains/development/java.md +277 -0
- package/templates/skills/domains/development/python.md +288 -0
- package/templates/skills/domains/development/rust.md +313 -0
- package/templates/skills/domains/development/shell.md +313 -0
- package/templates/skills/domains/development/typescript.md +277 -0
- package/templates/skills/domains/devops/SKILL.md +40 -0
- package/templates/skills/domains/devops/cost-optimization.md +272 -0
- package/templates/skills/domains/devops/database.md +217 -0
- package/templates/skills/domains/devops/devsecops.md +198 -0
- package/templates/skills/domains/devops/git-workflow.md +181 -0
- package/templates/skills/domains/devops/observability.md +280 -0
- package/templates/skills/domains/devops/performance.md +336 -0
- package/templates/skills/domains/devops/testing.md +283 -0
- package/templates/skills/domains/frontend-design/SKILL.md +244 -0
- package/templates/skills/domains/frontend-design/agents/openai.yaml +4 -0
- package/templates/skills/domains/frontend-design/claymorphism/SKILL.md +121 -0
- package/templates/skills/domains/frontend-design/claymorphism/references/tokens.css +52 -0
- package/templates/skills/domains/frontend-design/component-patterns.md +202 -0
- package/templates/skills/domains/frontend-design/engineering.md +287 -0
- package/templates/skills/domains/frontend-design/glassmorphism/SKILL.md +142 -0
- package/templates/skills/domains/frontend-design/glassmorphism/references/tokens.css +32 -0
- package/templates/skills/domains/frontend-design/liquid-glass/SKILL.md +139 -0
- package/templates/skills/domains/frontend-design/liquid-glass/references/tokens.css +81 -0
- package/templates/skills/domains/frontend-design/neubrutalism/SKILL.md +145 -0
- package/templates/skills/domains/frontend-design/neubrutalism/references/tokens.css +44 -0
- package/templates/skills/domains/frontend-design/reference/color-and-contrast.md +132 -0
- package/templates/skills/domains/frontend-design/reference/interaction-design.md +195 -0
- package/templates/skills/domains/frontend-design/reference/motion-design.md +99 -0
- package/templates/skills/domains/frontend-design/reference/responsive-design.md +114 -0
- package/templates/skills/domains/frontend-design/reference/spatial-design.md +100 -0
- package/templates/skills/domains/frontend-design/reference/typography.md +133 -0
- package/templates/skills/domains/frontend-design/reference/ux-writing.md +107 -0
- package/templates/skills/domains/frontend-design/state-management.md +680 -0
- package/templates/skills/domains/frontend-design/ui-aesthetics.md +110 -0
- package/templates/skills/domains/frontend-design/ux-principles.md +156 -0
- package/templates/skills/domains/infrastructure/SKILL.md +201 -0
- package/templates/skills/domains/mobile/SKILL.md +225 -0
- package/templates/skills/domains/orchestration/SKILL.md +30 -0
- package/templates/skills/domains/orchestration/multi-agent.md +263 -0
- package/templates/skills/domains/security/SKILL.md +73 -0
- package/templates/skills/domains/security/blue-team.md +436 -0
- package/templates/skills/domains/security/code-audit.md +265 -0
- package/templates/skills/domains/security/pentest.md +226 -0
- package/templates/skills/domains/security/red-team.md +374 -0
- package/templates/skills/domains/security/threat-intel.md +372 -0
- package/templates/skills/domains/security/vuln-research.md +369 -0
- package/templates/skills/impeccable/adapt/SKILL.md +201 -0
- package/templates/skills/impeccable/animate/SKILL.md +176 -0
- package/templates/skills/impeccable/arrange/SKILL.md +126 -0
- package/templates/skills/impeccable/audit/SKILL.md +149 -0
- package/templates/skills/impeccable/bolder/SKILL.md +118 -0
- package/templates/skills/impeccable/clarify/SKILL.md +185 -0
- package/templates/skills/impeccable/colorize/SKILL.md +144 -0
- package/templates/skills/impeccable/critique/SKILL.md +203 -0
- package/templates/skills/impeccable/critique/reference/cognitive-load.md +106 -0
- package/templates/skills/impeccable/critique/reference/heuristics-scoring.md +234 -0
- package/templates/skills/impeccable/critique/reference/personas.md +178 -0
- package/templates/skills/impeccable/delight/SKILL.md +305 -0
- package/templates/skills/impeccable/distill/SKILL.md +123 -0
- package/templates/skills/impeccable/extract/SKILL.md +94 -0
- package/templates/skills/impeccable/harden/SKILL.md +357 -0
- package/templates/skills/impeccable/normalize/SKILL.md +72 -0
- package/templates/skills/impeccable/onboard/SKILL.md +248 -0
- package/templates/skills/impeccable/optimize/SKILL.md +268 -0
- package/templates/skills/impeccable/overdrive/SKILL.md +143 -0
- package/templates/skills/impeccable/polish/SKILL.md +205 -0
- package/templates/skills/impeccable/quieter/SKILL.md +104 -0
- package/templates/skills/impeccable/teach-impeccable/SKILL.md +72 -0
- package/templates/skills/impeccable/typeset/SKILL.md +117 -0
- package/templates/skills/orchestration/multi-agent/SKILL.md +533 -0
- package/templates/skills/run_skill.js +129 -0
- package/templates/skills/scrapling/SKILL.md +98 -0
- package/templates/skills/scrapling/references/api-quick-ref.md +127 -0
- package/templates/skills/scrapling/references/cookie-vault.md +56 -0
- package/templates/skills/scrapling/references/maintenance.md +79 -0
- package/templates/skills/scrapling/references/site-patterns.md +86 -0
- package/templates/skills/scrapling/references/troubleshooting.md +95 -0
- package/templates/skills/scrapling/templates/basic_fetch.py +19 -0
- package/templates/skills/scrapling/templates/parse_only.py +15 -0
- package/templates/skills/scrapling/templates/session_login.py +19 -0
- package/templates/skills/scrapling/templates/stealth_cloudflare.py +28 -0
- package/templates/skills/tools/extract-learnings/SKILL.md +77 -0
- package/templates/skills/tools/forensics/SKILL.md +89 -0
- package/templates/skills/tools/gen-docs/SKILL.md +116 -0
- package/templates/skills/tools/gen-docs/scripts/doc_generator.js +435 -0
- package/templates/skills/tools/health/SKILL.md +121 -0
- package/templates/skills/tools/lib/shared.js +98 -0
- package/templates/skills/tools/map-codebase/SKILL.md +118 -0
- package/templates/skills/tools/override-refusal/SKILL.md +53 -0
- package/templates/skills/tools/override-refusal/agents/openai.yaml +4 -0
- package/templates/skills/tools/override-refusal/scripts/refusal_rewriter.js +226 -0
- package/templates/skills/tools/verify-change/SKILL.md +143 -0
- package/templates/skills/tools/verify-change/scripts/change_analyzer.js +289 -0
- package/templates/skills/tools/verify-module/SKILL.md +130 -0
- package/templates/skills/tools/verify-module/scripts/module_scanner.js +171 -0
- package/templates/skills/tools/verify-quality/SKILL.md +163 -0
- package/templates/skills/tools/verify-quality/scripts/quality_checker.js +337 -0
- package/templates/skills/tools/verify-security/SKILL.md +146 -0
- package/templates/skills/tools/verify-security/scripts/security_scanner.js +283 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 fengshao1227 (original ccg-workflow v1.x – v3.x)
|
|
4
|
+
Copyright (c) 2026 wangzy <wzyxdwll@163.com> (ccgx-workflow, successor to ccg-workflow v3.x)
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
# ccgx-workflow — Claude × Codex × Gemini Multi-Model Collaboration
|
|
2
|
+
|
|
3
|
+
<div align="center">
|
|
4
|
+
|
|
5
|
+
[](https://www.npmjs.com/package/ccgx-workflow)
|
|
6
|
+
[](https://opensource.org/licenses/MIT)
|
|
7
|
+
[](https://claude.ai/code)
|
|
8
|
+
[]()
|
|
9
|
+
|
|
10
|
+
[简体中文](./README.zh-CN.md) | English
|
|
11
|
+
|
|
12
|
+
</div>
|
|
13
|
+
|
|
14
|
+
> **Project Lineage**
|
|
15
|
+
>
|
|
16
|
+
> `ccgx-workflow` is a deep rewrite of [`ccg-workflow`](https://www.npmjs.com/package/ccg-workflow) v3.x.
|
|
17
|
+
> The original project went unmaintained after 2026-05 (the original author's
|
|
18
|
+
> GitHub homepage went offline), leaving its multi-model collaboration users
|
|
19
|
+
> exposed to drift. This project re-architected from v4.0 onward:
|
|
20
|
+
> fresh-context subagent protocols, Plan-Critic-Verify quality tiers,
|
|
21
|
+
> OS-level three-layer process isolation, broker tx_id anti-drift,
|
|
22
|
+
> and 8 plugin patches with a one-shot repatch script.
|
|
23
|
+
>
|
|
24
|
+
> The `/ccg:*` slash command palette is **gesture-compatible** with the
|
|
25
|
+
> original — but the underlying architecture has been completely replaced.
|
|
26
|
+
> Original copyright is preserved under MIT, see [LICENSE](./LICENSE).
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## What Is It
|
|
31
|
+
|
|
32
|
+
A multi-model collaboration system where Claude Code orchestrates Codex (backend) and Gemini (frontend). Frontend tasks auto-route to Gemini, backend tasks to Codex, Claude handles orchestration and code review.
|
|
33
|
+
|
|
34
|
+
External models have **no write access** — they only return patches; Claude reviews before applying.
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
Claude Code (Orchestrator)
|
|
38
|
+
│
|
|
39
|
+
┌───┴───┐
|
|
40
|
+
↓ ↓
|
|
41
|
+
Codex Gemini
|
|
42
|
+
(Backend) (Frontend)
|
|
43
|
+
│ │
|
|
44
|
+
└───┬───┘
|
|
45
|
+
↓
|
|
46
|
+
Unified Patch
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Core Features
|
|
50
|
+
|
|
51
|
+
- **Zero-config model routing** — Frontend → Gemini / Backend → Codex, dispatched by phase frontmatter `Type:` field. No manual switching.
|
|
52
|
+
- **~30 `/ccg:*` slash commands** — Planning, execution, git workflow, code review, autonomous long-runs, async job triplet.
|
|
53
|
+
- **Three-tier quality gates** — `--quality=fast|triple|debate` toggles Plan-Critic-Verify collaboration depth.
|
|
54
|
+
- **Fresh-context subagent protocol** — `phase-runner` / `code-fixer` / `debug-session-manager` keep main-thread context ≤15%; the orchestrator only consumes ≤200-token summaries.
|
|
55
|
+
- **OS-level three-layer process isolation** — `Bash(claude -p --agent ccg/phase-runner)` replaces in-process sidechain; treats main-process RSS leak.
|
|
56
|
+
- **OPSX spec-driven** — Integrates [OPSX](https://github.com/fission-ai/opsx) to convert vague requirements into verifiable constraints, eliminating AI improvisation.
|
|
57
|
+
- **Plugin-first with wrapper fallback** — Uses official codex/gemini plugins when available; falls back to `codeagent-wrapper`.
|
|
58
|
+
|
|
59
|
+
---
|
|
60
|
+
|
|
61
|
+
## Quick Start
|
|
62
|
+
|
|
63
|
+
### Prerequisites
|
|
64
|
+
|
|
65
|
+
| Dependency | Required | Notes |
|
|
66
|
+
|------------|----------|-------|
|
|
67
|
+
| **Node.js 20+** | Yes | `ora@9.x` requires Node ≥ 20 |
|
|
68
|
+
| **Claude Code CLI** | Yes | [Install guide](#install-claude-code) |
|
|
69
|
+
| **jq** | Yes | Used for auto-authorization hook ([install](#install-jq)) |
|
|
70
|
+
| **codex@openai-codex plugin** | No | Enables backend Codex routing (strongly recommended) |
|
|
71
|
+
| **gemini@google-gemini plugin** | No | Enables frontend Gemini routing (strongly recommended) |
|
|
72
|
+
|
|
73
|
+
### Installation
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
npx ccgx-workflow
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
First run prompts for language (English / Chinese), API provider, MCP tooling — all interactive. CLI command name remains `ccg` (preserves muscle memory for legacy users).
|
|
80
|
+
|
|
81
|
+
### Install jq
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
# macOS
|
|
85
|
+
brew install jq
|
|
86
|
+
|
|
87
|
+
# Linux (Debian/Ubuntu)
|
|
88
|
+
sudo apt install jq
|
|
89
|
+
|
|
90
|
+
# Linux (RHEL/CentOS)
|
|
91
|
+
sudo yum install jq
|
|
92
|
+
|
|
93
|
+
# Windows
|
|
94
|
+
choco install jq # or: scoop install jq
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### Install Claude Code
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
npx ccgx-workflow menu # Select "Install Claude Code"
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Supports npm / homebrew / curl / powershell / cmd.
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## Enabling Multi-Model Collaboration (codex / gemini plugins)
|
|
108
|
+
|
|
109
|
+
ccgx-workflow calls codex and gemini through Claude Code's official plugin mechanism, **no longer relying on the legacy `codeagent-wrapper` binary**. Install plugins to unlock full dual-model parallel capability.
|
|
110
|
+
|
|
111
|
+
### Install (run inside Claude Code)
|
|
112
|
+
|
|
113
|
+
```
|
|
114
|
+
/plugin install codex@openai-codex
|
|
115
|
+
/plugin install gemini@google-gemini
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
The `@` suffix is the marketplace identifier. If a marketplace isn't configured, run `/help plugin` inside Claude Code to see local marketplace management commands, or refer to [Claude Code plugin docs](https://docs.claude.com/en/docs/claude-code/plugins).
|
|
119
|
+
|
|
120
|
+
> Upstream plugin repos (for troubleshooting / issue reports):
|
|
121
|
+
> - **codex**: `openai-codex` marketplace (Claude Code official)
|
|
122
|
+
> - **gemini**: [sakibsadmanshajib/gemini-plugin-cc](https://github.com/sakibsadmanshajib/gemini-plugin-cc)
|
|
123
|
+
|
|
124
|
+
### Verify
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
ls ~/.claude/plugins/cache/openai-codex/codex/
|
|
128
|
+
ls ~/.claude/plugins/cache/google-gemini/gemini/
|
|
129
|
+
# Should show version directories (e.g. 1.0.4 / 1.0.1)
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### ⚠️ Gemini plugin Windows Known Issues (patch strongly recommended)
|
|
133
|
+
|
|
134
|
+
`gemini@google-gemini` v1.0.1 has **8 spawn sites missing `windowsHide: true`** on Windows, causing:
|
|
135
|
+
|
|
136
|
+
- Brief cmd black flashes that steal application focus on every plugin call (high-frequency)
|
|
137
|
+
- ENOENT errors when ACP broker spawns `gemini.cmd` (serialized as `[object Object]` by plugin error handlers)
|
|
138
|
+
- Flashes during broker daemon startup, `gemini --version` health checks, `taskkill`, `where gemini`, etc.
|
|
139
|
+
|
|
140
|
+
**ccgx-workflow ships a one-shot repatch script** (idempotent, re-runnable):
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
node ~/.claude/.ccg/scripts/repatch-gemini-plugin.mjs
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
Behavior:
|
|
147
|
+
1. Auto-locates plugin version directory
|
|
148
|
+
2. Probes each patch site (string match)
|
|
149
|
+
3. Already-patched sites: `[SKIP]`; unpatched sites: `[APPLY]`
|
|
150
|
+
4. Prints broker-daemon-restart command on completion
|
|
151
|
+
|
|
152
|
+
⚠️ **Important**: After every `claude plugin update gemini@google-gemini`, the plugin update overwrites cache — **rerun the patch script**.
|
|
153
|
+
|
|
154
|
+
⚠️ **Restart broker daemon after patching** (old daemon still runs unpatched code):
|
|
155
|
+
|
|
156
|
+
```powershell
|
|
157
|
+
# Windows PowerShell
|
|
158
|
+
Get-CimInstance Win32_Process -Filter "Name='node.exe'" |
|
|
159
|
+
Where-Object { $_.CommandLine -match 'acp-broker' } |
|
|
160
|
+
ForEach-Object { Stop-Process -Id $_.ProcessId -Force }
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
Or simpler: `/plugin disable gemini@google-gemini` then `/plugin enable gemini@google-gemini`.
|
|
164
|
+
|
|
165
|
+
Root causes, temporary patches, and upstream paths for all 8 issues are documented in [`.ccg-migration/PLUGIN-PATCHES.md`](./.ccg-migration/PLUGIN-PATCHES.md). Upstream PR is in progress; once merged, the patch becomes a no-op.
|
|
166
|
+
|
|
167
|
+
---
|
|
168
|
+
|
|
169
|
+
## Relationship to ccg-workflow
|
|
170
|
+
|
|
171
|
+
ccgx-workflow is **not a fork**. The upstream `ccg-workflow` public release line stopped at v3.x and has been unmaintained since 2026-05. ccgx-workflow v1.0 was redesigned from scratch on top of v3.x (~3 days / 92 commits / 1141 new tests of dense iteration before stabilization).
|
|
172
|
+
|
|
173
|
+
### What's New (vs v3.x)
|
|
174
|
+
|
|
175
|
+
#### 🆕 New Commands
|
|
176
|
+
|
|
177
|
+
| Command | Description |
|
|
178
|
+
|---------|-------------|
|
|
179
|
+
| `/ccg:debate` | **Multi-round debate primitive** — codex propose ↔ gemini challenge ↔ codex respond, cap N rounds, schema-enforced retry protocol |
|
|
180
|
+
| `/ccg:status [job-id]` | **Async job triplet** — dashboard mode aggregates multi-phase progress / `--wait --timeout-ms` blocking / `--tail` streaming + 3-class stuck warnings |
|
|
181
|
+
| `/ccg:status --cancel <phase-id>` | Single-phase cooperative cancel + grace + kill-tree (Windows `taskkill /T /F` + POSIX `setsid` process group) |
|
|
182
|
+
| `/ccg:result <job-id>` | Final verdict / summary / artifacts; main thread receives ≤200-token summary |
|
|
183
|
+
| `/ccg:cancel <job-id>` | Abort active job: write `cancel.flag` cooperative → 5s grace → kill-tree |
|
|
184
|
+
| `/ccg:verify --gate=<name>` | **Unified verify entry** — consolidates v3.x's 4 separate `verify-{change,quality,security,module}` commands; `--gate=all` orchestrates all gates |
|
|
185
|
+
| `/ccg:verify-work` | **Session-based UAT + cold-start smoke injection** — UAT.md persists across `/clear` via frontmatter; git diff scans server/db/migrations to auto-inject cold-start tests |
|
|
186
|
+
|
|
187
|
+
#### 🚀 Enhanced Commands
|
|
188
|
+
|
|
189
|
+
| Command | v3.x | ccgx-workflow |
|
|
190
|
+
|---------|------|---------------|
|
|
191
|
+
| `/ccg:autonomous` | Sequential phases | **Wave topological parallelism** + cascade skip + max-concurrent batching; `--quality=fast/triple/debate` three-tier gates + per-phase frontmatter override |
|
|
192
|
+
| `/ccg:review` | Dual-model review | Adds `--fix --auto` worktree-isolated closed-loop fix (4-step transactional cleanup) |
|
|
193
|
+
| `/ccg:debug` | Single-step diagnosis | Manager + debugger **two-tier fresh-context** — multi-round falsifiable hypotheses + persistent session in `.context/debug/<slug>.md` |
|
|
194
|
+
| `/ccg:team` | 4 separate commands | 8-phase unified workflow + 7-role orchestration + Evaluator-Optimizer feedback loop (up to 2 auto-fix rounds for Critical) |
|
|
195
|
+
|
|
196
|
+
#### 🤖 New Agents (vs v3.x's 7)
|
|
197
|
+
|
|
198
|
+
**Fresh-context protocol group** (4 agents; main thread receives ≤200-token summary):
|
|
199
|
+
|
|
200
|
+
| Agent | Role |
|
|
201
|
+
|-------|------|
|
|
202
|
+
| `phase-runner` | Autonomous long-run phase implementer — `Bash(claude -p --agent ccg/phase-runner)` spawns OS-level subprocess; stream-json output flows to `.context/jobs/<id>/progress.jsonl` |
|
|
203
|
+
| `code-fixer` | review --fix closed-loop — git worktree isolation + 3-layer verification + atomic commit |
|
|
204
|
+
| `debug-session-manager` | Debug multi-round orchestrator — runs hypothesis loop in isolated context |
|
|
205
|
+
| `debugger` | Scientific-method hypothesis constructor — diagnostic specialist scheduled by manager |
|
|
206
|
+
|
|
207
|
+
**Specialist matrix** (8 agents, role × layer 2D dispatch):
|
|
208
|
+
|
|
209
|
+
| Agent | Role |
|
|
210
|
+
|-------|------|
|
|
211
|
+
| `assumptions-analyzer` | Assumption interrogator — enforces first-principles, lists evidence-free inferences and gaps |
|
|
212
|
+
| `pattern-mapper` | Codebase pattern scanner — gives builders precise "copy from here" anchors before implementation |
|
|
213
|
+
| `plan-checker` | Plan validator — 5-dimension GSD-derived strong checks + max-3-loop convergence; BLOCKERs return to planner |
|
|
214
|
+
| `nyquist-auditor` | Deep auditor — focuses on boundary conditions, concurrency races, error propagation chains, resource leaks |
|
|
215
|
+
| `verifier` | Delivery verifier — line-by-line requirement checklist, PASS/FAIL/PARTIAL matrix + Level 4 data-flow (FLOWING/STATIC/DISCONNECTED/HOLLOW_PROP) |
|
|
216
|
+
| `integration-checker` | Cross-module interface contract — finds format drift, stale callers, orphan exports |
|
|
217
|
+
| `framework-selector` | Tech stack selection review — current vs proposal contrast, must verify current can't solve before adopting proposal |
|
|
218
|
+
| `eval-auditor` | Evaluation closed-loop audit — sampling / control / metric gaming / falsifiability checks |
|
|
219
|
+
|
|
220
|
+
Plus the 7 core agents inherited from v3.x design (planner / ui-ux-designer / init-architect / get-current-datetime / team-architect / team-qa / team-reviewer), ccgx-workflow has **19 sub-agents total**.
|
|
221
|
+
|
|
222
|
+
#### 🔧 New Mechanisms / Infrastructure
|
|
223
|
+
|
|
224
|
+
| Mechanism | Description |
|
|
225
|
+
|-----------|-------------|
|
|
226
|
+
| **Three-tier quality gates** | `--quality=fast` (2 waves: impl + verify) / `triple` (4 waves: plan + critic + impl + verify, default) / `debate` (7 waves: + 3-round propose-challenge-respond, cap 3) |
|
|
227
|
+
| **Wave topological scheduling** | Kahn topological partition + cascade skip + max-concurrent batching; 30-40% wall-clock reduction; `--sequential` opt-out |
|
|
228
|
+
| **OS-level 3-layer process isolation** | Main `claude.exe` → `Bash(claude -p)` subprocess → optional plugin process group; treats v3.x main-process RSS leak (uni-iam workload measured at 23GB → ccgx target < 8GB) |
|
|
229
|
+
| **Broker tx_id anti-drift** | Each spawn injects `CCG_BROKER_TX_ID` (`crypto.randomUUID`); 8-field strict schema in broker.log; 100k spawns 0 collisions / 2k concurrent 0 misattribution (measured) |
|
|
230
|
+
| **`context_budget` frontmatter hard-cap** | 4 main orchestrators declare `context_budget: orchestrator-15`; forbidden to slurp builder stdout |
|
|
231
|
+
| **`.context/<phase>/{CONTEXT,SUMMARY}.md`** | Phase-scoped state machine; main thread reads frontmatter only (< 200 tokens/phase) |
|
|
232
|
+
| **`.context/codebase/` 7-file contract** | codebase-mapper agent 4-way parallel scan (STACK/INTEGRATIONS/ARCHITECTURE/STRUCTURE/CONVENTIONS/TESTING/CONCERNS) |
|
|
233
|
+
| **Silent fallback governance** | verify wave Bash-direct invocation (architectural elimination) + debate retry protocol schema enforcement (4 violation classes: parse-failed / insufficient-attempts / missing-reason / silent-success) |
|
|
234
|
+
| **Scope reduction detection** | plan-checker dim 7b — detects "v1 / simplified / static-first / wire-up-later" keywords + 80% overlap match against original requirements; BLOCKER on mismatch |
|
|
235
|
+
| **commit-msg-review git hook** | Opt-in pre-commit-msg hook with 3 heuristics (filename ⊆ staged / phase tag ↔ staged paths / op type ↔ diff) |
|
|
236
|
+
| **ground-truth-sampler** | autonomous startup samples plugin/skill/agent list to `.context/ground-truth/latest.json`; phase-runner prompt enforces Read |
|
|
237
|
+
| **interface-auditor specialist** | autonomous verify wave (triple/debate tiers) adds 3rd spawn — 5 checks: SSoT-violation / leftover / magic-string-vs-ground-truth / unverified assumption / API drift |
|
|
238
|
+
| **Gemini plugin Windows repatch** | `~/.claude/.ccg/scripts/repatch-gemini-plugin.mjs` — one-shot patch for 8 spawn bugs, idempotent and re-runnable |
|
|
239
|
+
| **Auto-generated fixtures** | `scripts/regen-fixtures.ts` + `tests/fixtures/ground-truth/*.sample.json`; prevents inline mock drift from real interfaces |
|
|
240
|
+
| **pipeline-check helper** | `pnpm pack` + tarball audit + missing-file detection; prevents "templates in git but missing from npm tarball" incidents |
|
|
241
|
+
|
|
242
|
+
#### 📦 Skill Ecosystem
|
|
243
|
+
|
|
244
|
+
ccgx-workflow inherits the **Skill Registry** mechanism (frontmatter-driven auto command generation) with:
|
|
245
|
+
|
|
246
|
+
- **Quality gates** — 4: verify-{change, quality, security, module} (still callable as skills after merging into `/ccg:verify`)
|
|
247
|
+
- **Tool skills** — 6: gen-docs / health / map-codebase / extract-learnings / forensics / override-refusal
|
|
248
|
+
- **Domain knowledge bundles** — 10 categories, ~21 SKILL.md (security / architecture / devops / ai / development / frontend-design, etc.; all `user-invocable: false`, keyword-routed auto-Read)
|
|
249
|
+
- **Impeccable UI/UX toolkit** — 20 (adapt / animate / arrange / audit / bolder / clarify / colorize / critique / delight / distill / extract / harden / normalize / onboard / optimize / overdrive / polish / quieter / typeset, etc.; optional install)
|
|
250
|
+
- **scrapling**: web scraping with Cloudflare / WAF bypass
|
|
251
|
+
- **orchestration/multi-agent**: coordination SKILL
|
|
252
|
+
|
|
253
|
+
Total: **47 SKILL.md files** + 50+ supporting markdowns = 100+ skill files.
|
|
254
|
+
|
|
255
|
+
### Comparison Table
|
|
256
|
+
|
|
257
|
+
Core differences at a glance:
|
|
258
|
+
|
|
259
|
+
| Dimension | `ccg-workflow` v3.x | `ccgx-workflow` v1.0 |
|
|
260
|
+
|-----------|----------------------|----------------------|
|
|
261
|
+
| Maintenance | Stalled after 2026-05; author offline | Actively maintained; PRs welcome |
|
|
262
|
+
| Main-thread context | No explicit budget | `context_budget` frontmatter hard-cap + fresh-context subagent protocol |
|
|
263
|
+
| Multi-model gates | Single orchestration | **Three-tier flag** `--quality=fast/triple/debate` (Plan-Critic-Verify) |
|
|
264
|
+
| Autonomous long-runs | Sequential phases | **Wave topological parallel** + cascade skip + cap scheduling |
|
|
265
|
+
| Process isolation | In-process sidechain | **OS-level 3 layers** (`Bash(claude -p)` subprocess + plugin process group) |
|
|
266
|
+
| Broker anti-drift | — | **broker tx_id** crypto sign + 8-field strict schema |
|
|
267
|
+
| Gemini Windows patch | Manual edit of 8 source sites | **Built-in one-shot repatch script**, idempotent |
|
|
268
|
+
| Silent fallback | — | verify wave Bash-direct invocation + debate retry protocol schema enforcement |
|
|
269
|
+
| Test count | 168 | **1309** |
|
|
270
|
+
| Command palette | 35 (incl. deprecated) | ~30 (consolidated) |
|
|
271
|
+
| Subagents | 7 | **19** (4 fresh-context + 8 specialist matrix + others) |
|
|
272
|
+
| Binary dependency | Go binary 16.3 MB | **Node single-file ~200 KB** |
|
|
273
|
+
| License | MIT | MIT (dual copyright: original author + maintainer) |
|
|
274
|
+
| `/ccg:*` palette | — | **Fully compatible** — zero migration cost |
|
|
275
|
+
|
|
276
|
+
### Migration
|
|
277
|
+
|
|
278
|
+
See [MIGRATION-FROM-CCG-WORKFLOW.md](./MIGRATION-FROM-CCG-WORKFLOW.md). One-liner:
|
|
279
|
+
|
|
280
|
+
```bash
|
|
281
|
+
npm uninstall -g ccg-workflow # if installed globally
|
|
282
|
+
npx ccgx-workflow # reinitialize
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
`/ccg:*` commands, `.context/` state, `.ccg/roadmap.md` are all preserved — no code changes or project state rebuild required.
|
|
286
|
+
|
|
287
|
+
---
|
|
288
|
+
|
|
289
|
+
## Commands
|
|
290
|
+
|
|
291
|
+
### Development Workflow
|
|
292
|
+
|
|
293
|
+
| Command | Description | Models |
|
|
294
|
+
|---------|-------------|--------|
|
|
295
|
+
| `/ccg:workflow` | Full 6-phase workflow (auto-routes frontend/backend) | Codex + Gemini |
|
|
296
|
+
| `/ccg:plan` | Multi-model planning (Phase 1-2) | Codex + Gemini |
|
|
297
|
+
| `/ccg:execute` | Multi-model execution (Phase 3-5) | Codex + Gemini + Claude |
|
|
298
|
+
| `/ccg:codex-exec` | Codex full execution (plan → code → review) | Codex + multi-model review |
|
|
299
|
+
| `/ccg:autonomous` | Cross-phase long-run (`--quality=fast/triple/debate`) | phase-runner + Plan-Critic-Verify |
|
|
300
|
+
| `/ccg:context` | Project context management (.context/ init, log, compress, history) | Claude |
|
|
301
|
+
| `/ccg:enhance` | Built-in prompt enhancement | Claude |
|
|
302
|
+
|
|
303
|
+
### Analysis & Quality
|
|
304
|
+
|
|
305
|
+
| Command | Description | Models |
|
|
306
|
+
|---------|-------------|--------|
|
|
307
|
+
| `/ccg:analyze` | Technical analysis | Codex + Gemini |
|
|
308
|
+
| `/ccg:debug` | Diagnosis + fix (manager + debugger fresh-context two-tier) | debug-session-manager |
|
|
309
|
+
| `/ccg:optimize` | Performance optimization | Codex + Gemini |
|
|
310
|
+
| `/ccg:test` | Test generation | Auto-routed |
|
|
311
|
+
| `/ccg:review` | Code review (auto git diff + `--fix --auto` worktree closed loop) | Codex + Gemini + code-fixer |
|
|
312
|
+
| `/ccg:verify --gate=<change\|quality\|security\|module\|all>` | Unified verify gate | Claude |
|
|
313
|
+
| `/ccg:verify-work` | Orchestrator + session-based UAT + cold-start smoke | Claude |
|
|
314
|
+
| `/ccg:debate` | Multi-round propose/challenge/respond primitive (cap N rounds) | Codex + Gemini |
|
|
315
|
+
|
|
316
|
+
### Async Job Triplet
|
|
317
|
+
|
|
318
|
+
| Command | Description |
|
|
319
|
+
|---------|-------------|
|
|
320
|
+
| `/ccg:status [job-id]` | List or query job (`--wait --timeout-ms` blocking; dashboard mode) |
|
|
321
|
+
| `/ccg:status --tail <job-id>` | stream-json + single-line overwrite + 3-class stuck warnings |
|
|
322
|
+
| `/ccg:status --cancel <phase-id>` | Single-phase cooperative cancel + grace + kill-tree |
|
|
323
|
+
| `/ccg:result <job-id>` | Final verdict / summary / artifacts |
|
|
324
|
+
| `/ccg:cancel <job-id>` | Abort active job |
|
|
325
|
+
|
|
326
|
+
### OPSX Spec-Driven
|
|
327
|
+
|
|
328
|
+
| Command | Description |
|
|
329
|
+
|---------|-------------|
|
|
330
|
+
| `/ccg:spec-init` | Initialize OPSX environment |
|
|
331
|
+
| `/ccg:spec-research` | Requirements → constraints |
|
|
332
|
+
| `/ccg:spec-plan` | Constraints → zero-decision plan |
|
|
333
|
+
| `/ccg:spec-impl` | Execute plan + archive |
|
|
334
|
+
| `/ccg:spec-review` | Dual-model cross-review |
|
|
335
|
+
|
|
336
|
+
### Agent Teams
|
|
337
|
+
|
|
338
|
+
| Command | Description |
|
|
339
|
+
|---------|-------------|
|
|
340
|
+
| `/ccg:team` | **Unified workflow (recommended)** — 8-phase 7-role end-to-end |
|
|
341
|
+
| `/ccg:team research <args>` | Requirements → constraints |
|
|
342
|
+
| `/ccg:team plan <args>` | Constraints → parallel impl plan |
|
|
343
|
+
| `/ccg:team review [git-range]` | Dual-model cross-review |
|
|
344
|
+
| `/ccg:team-exec` | Spawn Builder teammates for parallel coding |
|
|
345
|
+
|
|
346
|
+
> **Prerequisite**: Enable `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1` in `settings.json`.
|
|
347
|
+
|
|
348
|
+
### Git Tools
|
|
349
|
+
|
|
350
|
+
| Command | Description |
|
|
351
|
+
|---------|-------------|
|
|
352
|
+
| `/ccg:commit` | Smart conventional commit |
|
|
353
|
+
| `/ccg:rollback` | Interactive rollback |
|
|
354
|
+
| `/ccg:clean-branches` | Clean merged branches |
|
|
355
|
+
| `/ccg:worktree` | Worktree management |
|
|
356
|
+
|
|
357
|
+
### Project Setup
|
|
358
|
+
|
|
359
|
+
| Command | Description |
|
|
360
|
+
|---------|-------------|
|
|
361
|
+
| `/ccg:init` | Initialize project CLAUDE.md |
|
|
362
|
+
|
|
363
|
+
---
|
|
364
|
+
|
|
365
|
+
## Configuration
|
|
366
|
+
|
|
367
|
+
### Directory Layout
|
|
368
|
+
|
|
369
|
+
```
|
|
370
|
+
~/.claude/
|
|
371
|
+
├── commands/ccg/ # ~30 slash commands
|
|
372
|
+
├── agents/ccg/ # 19 sub-agents
|
|
373
|
+
├── skills/ccg/ # Quality gates + 10 domain bundles + impeccable + orchestration
|
|
374
|
+
├── bin/codeagent-wrapper # Fallback path (when plugins absent)
|
|
375
|
+
└── .ccg/
|
|
376
|
+
├── config.toml
|
|
377
|
+
├── scripts/
|
|
378
|
+
│ └── repatch-gemini-plugin.mjs # ⭐ one-shot patch
|
|
379
|
+
└── prompts/
|
|
380
|
+
├── codex/ # 6 Codex expert prompts
|
|
381
|
+
└── gemini/ # 7 Gemini expert prompts
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
### Environment Variables
|
|
385
|
+
|
|
386
|
+
In `~/.claude/settings.json` under `"env"`:
|
|
387
|
+
|
|
388
|
+
| Variable | Description | Default | When to change |
|
|
389
|
+
|----------|-------------|---------|----------------|
|
|
390
|
+
| `CODEAGENT_POST_MESSAGE_DELAY` | Wait after Codex completion (sec) | `5` | Set to `1` if Codex hangs |
|
|
391
|
+
| `CODEX_TIMEOUT` | wrapper execution timeout (sec) | `7200` | Increase for very long tasks |
|
|
392
|
+
| `BASH_DEFAULT_TIMEOUT_MS` | Claude Code Bash timeout (ms) | `120000` | Increase if commands time out |
|
|
393
|
+
| `BASH_MAX_TIMEOUT_MS` | Claude Code Bash max timeout (ms) | `600000` | Increase for long builds |
|
|
394
|
+
|
|
395
|
+
### MCP
|
|
396
|
+
|
|
397
|
+
```bash
|
|
398
|
+
npx ccgx-workflow menu # Select "Configure MCP"
|
|
399
|
+
```
|
|
400
|
+
|
|
401
|
+
**Code retrieval** (pick one):
|
|
402
|
+
- **fast-context** (recommended) — Windsurf Fast Context, AI-powered, no full-repo indexing
|
|
403
|
+
- **ace-tool** — `search_context` ([official](https://augmentcode.com/) / [community proxy](https://acemcp.heroman.wtf/))
|
|
404
|
+
- **ContextWeaver** — Local hybrid search, requires SiliconFlow API Key (free)
|
|
405
|
+
|
|
406
|
+
**Optional**: Context7 (auto-installed, library docs) / Playwright / DeepWiki / Exa.
|
|
407
|
+
|
|
408
|
+
---
|
|
409
|
+
|
|
410
|
+
## Update / Uninstall
|
|
411
|
+
|
|
412
|
+
```bash
|
|
413
|
+
# Update
|
|
414
|
+
npx ccgx-workflow@latest # npx users
|
|
415
|
+
npm install -g ccgx-workflow@latest # global npm users
|
|
416
|
+
|
|
417
|
+
# Uninstall
|
|
418
|
+
npx ccgx-workflow # select "Uninstall"
|
|
419
|
+
npm uninstall -g ccgx-workflow # global npm users need this extra step
|
|
420
|
+
```
|
|
421
|
+
|
|
422
|
+
---
|
|
423
|
+
|
|
424
|
+
## FAQ
|
|
425
|
+
|
|
426
|
+
### Codex CLI 0.80.0 process does not exit
|
|
427
|
+
|
|
428
|
+
In `--json` mode, Codex doesn't auto-exit after output completion.
|
|
429
|
+
|
|
430
|
+
**Fix**: Set `CODEAGENT_POST_MESSAGE_DELAY=1`.
|
|
431
|
+
|
|
432
|
+
### I'm coming from ccg-workflow — does ccgx-workflow drop in?
|
|
433
|
+
|
|
434
|
+
Yes. `/ccg:*` palette is fully compatible. `.context/` state and `.ccg/roadmap.md` are preserved. See [MIGRATION-FROM-CCG-WORKFLOW.md](./MIGRATION-FROM-CCG-WORKFLOW.md).
|
|
435
|
+
|
|
436
|
+
### Why is the CLI command `ccg` and not `ccgx`?
|
|
437
|
+
|
|
438
|
+
Preserving `ccg` keeps legacy aliases, scripts, and docs working with zero changes — `/ccg:*` palette and the `ccg` CLI are both muscle memory. The package name `ccgx-workflow` exists to disambiguate the npm namespace; the CLI binary remains `ccg`.
|
|
439
|
+
|
|
440
|
+
### What happens to the Gemini patch when upstream fixes it?
|
|
441
|
+
|
|
442
|
+
ccgx-workflow tracks upstream plugin versions. Once fixes land upstream, the repatch script auto-skips already-fixed sites via probe detection (`[SKIP]`) — no side effects. A ccgx-workflow release will mark "upstream fixed, patch is now a no-op" at that point.
|
|
443
|
+
|
|
444
|
+
---
|
|
445
|
+
|
|
446
|
+
## Contributing
|
|
447
|
+
|
|
448
|
+
PRs and issues welcome. This project is MIT-licensed; submitting code constitutes consent to release under MIT.
|
|
449
|
+
|
|
450
|
+
- **Issues**: [GitHub Issues](https://github.com/wzyxdwll/ccgx-workflow/issues)
|
|
451
|
+
- **Discussions**: [GitHub Discussions](https://github.com/wzyxdwll/ccgx-workflow/discussions)
|
|
452
|
+
|
|
453
|
+
## Credits
|
|
454
|
+
|
|
455
|
+
ccgx-workflow stands on the shoulders of ccg-workflow. Thanks to fengshao1227 and the original contributors.
|
|
456
|
+
|
|
457
|
+
- [ccg-workflow](https://github.com/fengshao1227/ccg-workflow) v1.x – v3.x — original project (fengshao1227)
|
|
458
|
+
- [gsd-build/get-shit-done](https://github.com/gsd-build/get-shit-done/) — fresh-context subagent protocol, context monitor, code-fixer worktree closed loop, debug session manager — multiple architectural inspirations
|
|
459
|
+
- [cexll/myclaude](https://github.com/cexll/myclaude) — codeagent-wrapper inspiration
|
|
460
|
+
- [UfoMiao/zcf](https://github.com/UfoMiao/zcf) — git tooling inspiration
|
|
461
|
+
- [GuDaStudio/skills](https://github.com/GuDaStudio/skills) — routing design
|
|
462
|
+
|
|
463
|
+
## License
|
|
464
|
+
|
|
465
|
+
MIT — see [LICENSE](./LICENSE) (dual copyright: original author fengshao1227 + maintainer wangzy).
|
|
466
|
+
|
|
467
|
+
---
|
|
468
|
+
|
|
469
|
+
v1.0.0 | [Issues](https://github.com/wzyxdwll/ccgx-workflow/issues) | [Migration from ccg-workflow](./MIGRATION-FROM-CCG-WORKFLOW.md)
|