Repository Analysis

fengshao1227/ccg-workflow

多模型协作工作流引擎 — /ccg:go 一个命令,AI 自动分析意图、选择策略、编排 Codex + Gemini + Claude 协作执行

7.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of fengshao1227/ccg-workflow, a Go project with 5,853 GitHub stars. SynthScan v2.0 examined 82,479 lines of code across 367 source files, recording 247 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 7.9 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

7.9
Adjusted Score
7.9
Raw Score
100%
Time Factor
2026-08-28
Last Push
5.9K
Stars
Go
Language
82.5K
Lines of Code
367
Files
247
Pattern Hits
2026-08-29
Scan Date
0.02
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 9MEDIUM 156LOW 82

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 247 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators139 hits · 447 pts
SeverityFileLineSnippetContext
MEDIUM…lls/tools/override-refusal/scripts/refusal_rewriter.js18// ─── 通用同意模板 ─────────────────────────────────────────COMMENT
MEDIUM…lls/tools/override-refusal/scripts/refusal_rewriter.js22// ─── CLI 参数解析 ─────────────────────────────────────────COMMENT
MEDIUM…lls/tools/override-refusal/scripts/refusal_rewriter.js40// ─── 跨平台 slug ─────────────────────────────────────────COMMENT
MEDIUM…lls/tools/override-refusal/scripts/refusal_rewriter.js46// ─── 环境检测 ─────────────────────────────────────────────COMMENT
MEDIUM…lls/tools/override-refusal/scripts/refusal_rewriter.js65// ─── Claude 会话定位 ─────────────────────────────────────COMMENT
MEDIUM…lls/tools/override-refusal/scripts/refusal_rewriter.js92// ─── Codex 会话定位 ──────────────────────────────────────COMMENT
MEDIUM…lls/tools/override-refusal/scripts/refusal_rewriter.js128// ─── JSONL 解析与回写 ─────────────────────────────────────COMMENT
MEDIUM…lls/tools/override-refusal/scripts/refusal_rewriter.js139// ─── 消息类型判断 ─────────────────────────────────────────COMMENT
MEDIUM…lls/tools/override-refusal/scripts/refusal_rewriter.js151// ─── 整体替换为同意模板 ──────────────────────────────────COMMENT
MEDIUM…lls/tools/override-refusal/scripts/refusal_rewriter.js163// ─── 主流程 ───────────────────────────────────────────────COMMENT
MEDIUMsrc/utils/installer-template.ts46// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-template.ts48// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-mcp.ts9// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-mcp.ts11// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-mcp.ts70// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-mcp.ts72// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-mcp.ts134// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-mcp.ts136// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-mcp.ts217// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-mcp.ts219// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-mcp.ts248// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-mcp.ts250// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-mcp.ts282// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-mcp.ts285// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts71// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts73// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts82// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts84// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts195// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts197// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts13// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts16// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts110// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts112// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts232// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts234// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts887// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts889// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts942// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts944// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts1035// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts1037// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts1125// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer.ts1127// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-data.ts3// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-data.ts5// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-data.ts36// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-data.ts39// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-data.ts42 // ── Smart Entry ──────────────────────────────────────COMMENT
MEDIUMsrc/utils/installer-data.ts45 // ── Independent Tools ────────────────────────────────COMMENT
MEDIUMsrc/utils/installer-data.ts49 // ── Git ──────────────────────────────────────────────COMMENT
MEDIUMsrc/utils/installer-data.ts55 // ── Spec (OpenSpec / OPSX) ───────────────────────────COMMENT
MEDIUMsrc/utils/installer-data.ts63// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-data.ts66// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-data.ts92// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-data.ts94// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-prompt.ts5// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/installer-prompt.ts7// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/skill-registry.ts14// ═══════════════════════════════════════════════════════COMMENT
MEDIUMsrc/utils/skill-registry.ts16// ═══════════════════════════════════════════════════════COMMENT
79 more matches not shown…
Structural Annotation Overuse42 hits · 76 pts
SeverityFileLineSnippetContext
LOWtemplates/codex/AGENTS.md200#### Step 1: 从 plan.md 拆分子任务COMMENT
LOWtemplates/codex/AGENTS.md206#### Step 2: 并行 spawn Layer 1COMMENT
LOWtemplates/codex/AGENTS.md224#### Step 3: Wait + Verify + CloseCOMMENT
LOWtemplates/codex/AGENTS.md238#### Step 4: Layer 2(有依赖的任务)COMMENT
LOWtemplates/codex/AGENTS.md242#### Step 5: 审查COMMENT
LOWtemplates/commands-legacy/codex-exec.md179### Step 1: Context VerificationCOMMENT
LOWtemplates/commands-legacy/codex-exec.md186### Step 2: ImplementationCOMMENT
LOWtemplates/commands-legacy/codex-exec.md196### Step 3: Self-VerificationCOMMENT
LOWtemplates/commands-legacy/enhance.md16### Step 1: 分析原始 PromptCOMMENT
LOWtemplates/commands-legacy/enhance.md24### Step 2: 增强 PromptCOMMENT
LOWtemplates/commands-legacy/enhance.md34### Step 3: 展示对比COMMENT
LOWtemplates/commands-legacy/enhance.md49### Step 4: 执行COMMENT
LOWtemplates/commands/agents/team-architect.md19### Step 1: 理解需求COMMENT
LOWtemplates/commands/agents/team-architect.md24### Step 2: 代码库扫描COMMENT
LOWtemplates/commands/agents/team-architect.md30### Step 3: 设计蓝图COMMENT
LOWtemplates/commands/agents/team-architect.md36### Step 4: 输出文件分配矩阵COMMENT
LOWtemplates/commands/agents/team-qa.md19### Step 1: 检测项目测试环境COMMENT
LOWtemplates/commands/agents/team-qa.md40### Step 2: 理解变更范围COMMENT
LOWtemplates/commands/agents/team-qa.md47### Step 3: 编写测试COMMENT
LOWtemplates/commands/agents/team-qa.md59### Step 4: 运行全量验证COMMENT
LOWtemplates/commands/agents/team-qa.md76### Step 5: 输出质量报告COMMENT
LOWtemplates/commands/agents/team-reviewer.md19### Step 1: 收集审查材料COMMENT
LOWtemplates/commands/agents/team-reviewer.md28### Step 2: 独立代码审查COMMENT
LOWtemplates/commands/agents/team-reviewer.md40### Step 3: 综合 Codex/Gemini 意见COMMENT
LOWtemplates/commands/agents/team-reviewer.md48### Step 4: 分级分类COMMENT
LOWtemplates/commands/agents/team-reviewer.md56### Step 5: 输出审查报告COMMENT
LOWtemplates/skills/impeccable/teach-impeccable/SKILL.md9## Step 1: Explore the CodebaseCOMMENT
LOWtemplates/skills/impeccable/teach-impeccable/SKILL.md22## Step 2: Ask UX-Focused QuestionsCOMMENT
LOWtemplates/skills/impeccable/teach-impeccable/SKILL.md47## Step 3: Write Design ContextCOMMENT
LOWtemplates/engine/strategies/full-collaborate.md175#### Step 1: 拆分子任务COMMENT
LOWtemplates/engine/strategies/full-collaborate.md181#### Step 2: 创建 Team(必须执行)COMMENT
LOWtemplates/engine/strategies/full-collaborate.md190#### Step 3: 并行 spawn Layer 1 BuildersCOMMENT
LOWtemplates/engine/strategies/full-collaborate.md210#### Step 4: 等待 Layer 1 → spawn Layer 2COMMENT
LOWtemplates/engine/strategies/full-collaborate.md216#### Step 5: spawn Reviewer 快检COMMENT
LOWtemplates/engine/strategies/full-collaborate.md229#### Step 6: shutdown + cleanupCOMMENT
LOWsrc/commands/init.ts193 // Step 0: Language selection (FIRST interactive step)COMMENT
LOWsrc/commands/update.ts253 // Step 1: Download latest packageCOMMENT
LOWsrc/commands/update.ts283 // Step 2: Auto-migrate from old directory structure (if needed)COMMENT
LOWsrc/commands/update.ts330 // Step 3: Back up existing files (move to *.ccg-update-bak)COMMENT
LOWsrc/commands/update.ts364 // Step 4: Install new workflows using the latest version via npxCOMMENT
LOWsrc/commands/update.ts377 // Step 5: Verify new installation actually produced filesCOMMENT
LOWsrc/commands/update.ts407 // Step 6: Cleanup or rollbackCOMMENT
Modern AI Meta-Vocabulary16 hits · 43 pts
SeverityFileLineSnippetContext
MEDIUMCHANGELOG.md224- **Claude review backend could block on tool permissions (#143)** — `codeagent-wrapper`'s claude backend only added `--CODE
MEDIUMCONTRIBUTING.md41│ └── skills/ # Quality gates + orchestrationCODE
MEDIUMCLAUDE.md609 │ ├── ai/ # Agent/RAG/LLM安全/Prompt工程CODE
MEDIUMtemplates/CLAUDE.md264### orchestration/multi-agent/COMMENT
MEDIUMtemplates/CLAUDE.md264### orchestration/multi-agent/COMMENT
MEDIUMtemplates/codex/config.toml11# multi_agent_v2: structured subagent orchestration with `wait` tool.COMMENT
MEDIUMtemplates/codex/hooks/ccg-workflow.py157 # --- Cross-phase guardrails ---COMMENT
MEDIUMtemplates/skills/SKILL.md33| **Multi-Agent** | Multi-agent coordination and task decomposition | [Multi-Agent](#multi-agent-orchestration) |CODE
MEDIUMtemplates/skills/SKILL.md33| **Multi-Agent** | Multi-agent coordination and task decomposition | [Multi-Agent](#multi-agent-orchestration) |CODE
MEDIUMtemplates/skills/domains/ai/rag-system.md6# 🔮 丹鼎秘典 · RAG 系统 (Retrieval-Augmented Generation)COMMENT
MEDIUMtemplates/skills/domains/ai/rag-system.md8## RAG 架构COMMENT
MEDIUMtemplates/skills/domains/ai/rag-system.md407## 完整 RAG PipelineCOMMENT
MEDIUMtemplates/skills/domains/ai/rag-system.md421# 对话式 RAGCOMMENT
MEDIUMtemplates/skills/domains/ai/rag-system.md464## 高级 RAG 模式COMMENT
MEDIUMtemplates/skills/domains/ai/rag-system.md466### Self-RAG(自我反思)COMMENT
MEDIUMtemplates/skills/domains/ai/agent-dev.md83## RAG 系统COMMENT
Magic Placeholder Names5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHCHANGELOG.md1284 "GEMINI_API_KEY": "your-api-key",CODE
HIGHCHANGELOG.md1285 "GOOGLE_API_KEY": "your-api-key"CODE
HIGHtemplates/skills/domains/ai/rag-system.md252co = cohere.Client("YOUR_API_KEY")CODE
HIGH…ills/seo-page-builder/references/firecrawl-workflow.md94export FIRECRAWL_API_KEY=fc-YOUR-API-KEYCODE
HIGHsrc/utils/mcp.ts119 placeholder: string = 'YOUR_API_KEY',CODE
Cross-Language Confusion4 hits · 18 pts
SeverityFileLineSnippetContext
HIGHtemplates/skills/bt-panel/bt_deploy.py29 --restart 'cd /www/wwwroot/myapp.example.com && pm2 restart myapp'STRING
HIGHtemplates/skills/bt-panel/bt_deploy.py136 f"{Path(remote).parent} {Path(remote).name} && echo BACKUP_OK || echo NO_TARGET",CODE
HIGHtemplates/skills/bt-panel/bt_deploy.py191 f"--strip-components=1 && echo EXTRACT_OK"CODE
HIGHtemplates/skills/bt-panel/bt_client.py620 f'[ -z "$BIN" ] && BIN=$(command -v mysql 2>/dev/null) || true; 'CODE
Verbosity Indicators7 hits · 11 pts
SeverityFileLineSnippetContext
LOWsrc/commands/init.ts193 // Step 0: Language selection (FIRST interactive step)COMMENT
LOWsrc/commands/update.ts253 // Step 1: Download latest packageCOMMENT
LOWsrc/commands/update.ts283 // Step 2: Auto-migrate from old directory structure (if needed)COMMENT
LOWsrc/commands/update.ts330 // Step 3: Back up existing files (move to *.ccg-update-bak)COMMENT
LOWsrc/commands/update.ts364 // Step 4: Install new workflows using the latest version via npxCOMMENT
LOWsrc/commands/update.ts377 // Step 5: Verify new installation actually produced filesCOMMENT
LOWsrc/commands/update.ts407 // Step 6: Cleanup or rollbackCOMMENT
Unused Imports10 hits · 10 pts
SeverityFileLineSnippetContext
LOWtemplates/codex/hooks/ccg-workflow.py12CODE
LOWtemplates/codex/hooks/ccg-workflow.py13CODE
LOWtemplates/codex/hooks/ccg-workflow.py15CODE
LOWtemplates/codex/hooks/ccg-workflow.py16CODE
LOWtemplates/skills/bt-panel/bt_deploy.py38CODE
LOWtemplates/skills/bt-panel/bt_deploy.py41CODE
LOWtemplates/skills/bt-panel/bt_deploy.py43CODE
LOWtemplates/skills/bt-panel/bt_deploy.py50CODE
LOWtemplates/skills/bt-panel/bt_client.py36CODE
LOWtemplates/skills/bt-panel/bt_client.py39CODE
Excessive Try-Catch Wrapping8 hits · 9 pts
SeverityFileLineSnippetContext
LOWtemplates/codex/hooks/ccg-workflow.py63 except Exception:CODE
LOWtemplates/codex/hooks/ccg-workflow.py108 except Exception:CODE
LOWtemplates/codex/hooks/ccg-workflow.py261 except Exception:CODE
MEDIUMtemplates/codex/hooks/ccg-workflow.py228def main():CODE
LOWtemplates/skills/domains/security/red-team.md43 except Exception as e:CODE
LOW…plates/skills/seo-page-builder/scripts/onpage-audit.py218 except Exception as e:CODE
LOW…plates/skills/seo-page-builder/scripts/onpage-audit.py246 except Exception:CODE
LOW…plates/skills/seo-page-builder/scripts/onpage-audit.py272 except Exception:CODE
Over-Commented Block5 hits · 5 pts
SeverityFileLineSnippetContext
LOWcodeagent-wrapper/procgroup_unix.go1//go:build !windowsCOMMENT
LOWcodeagent-wrapper/parser.go101 // Kimi Code CLI (kimi -p --output-format stream-json) emits OpenAI-shapedCOMMENT
LOWtemplates/codex/config.toml1# CCG Codex Project ConfigurationCOMMENT
LOWtemplates/skills/domains/seo/seo-growth.md201## Why [audience] uses [tool]COMMENT
LOWsrc/utils/installer-template.ts101 processed = processed.replace(/\{\{ROUTING_MODE\}\}/g, routingMode)COMMENT
Hyper-Verbose Identifiers6 hits · 5 pts
SeverityFileLineSnippetContext
LOWsrc/utils/installer-template.ts256export function replaceHomePathsInTemplate(content: string, installDir: string): string {CODE
LOWsrc/utils/installer-mcp.ts302async function getCcgMcpServersFromClaude(): Promise<Record<string, any>> {CODE
LOWsrc/utils/installer.ts186async function downloadBinaryFromRelease(binaryName: string, destPath: string): Promise<boolean> {CODE
LOWsrc/utils/installer.ts470async function installSkillGeneratedCommands(ctx: InstallContext): Promise<void> {CODE
LOWsrc/utils/installer.ts783export function showBinaryDownloadWarning(binDir: string): void {CODE
LOWsrc/commands/config-mcp.ts129async function handleInstallContextWeaver(): Promise<void> {CODE
Deep Nesting3 hits · 3 pts
SeverityFileLineSnippetContext
LOWtemplates/codex/hooks/ccg-workflow.py68CODE
LOWtemplates/skills/bt-panel/bt_client.py472CODE
LOW…plates/skills/seo-page-builder/scripts/onpage-audit.py262CODE
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWtemplates/skills/bt-panel/bt_client.py179 def _update_cookies(self, response) -> None:CODE
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…dsense-site-auditor/references/adsense-requirements.md54| ADS-CONTENT-04 | High | Site must not be under construction, empty, or built only to display ads. | Check live pages, CODE