Zero-Config Code Flow for Claude code & Codex
This report presents the forensic synthetic code analysis of UfoMiao/zcf, a TypeScript project with 6,075 GitHub stars. SynthScan v2.0 examined 137,335 lines of code across 582 source files, recording 227 pattern matches distributed across 6 syntactic categories. The overall adjusted score of 3.0 places this repository in the Likely human-written 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).
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.
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.
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.
The scanner identified 227 distinct pattern matches across 6 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …history/2026-01-09_001414_fix-toml-top-level-fields.md | 24 | ### Step 1: Refactor `updateTopLevelTomlFields()` function | COMMENT |
| LOW⚡ | …history/2026-01-09_001414_fix-toml-top-level-fields.md | 34 | ### Step 2: Add helper functions | COMMENT |
| LOW⚡ | …history/2026-01-09_001414_fix-toml-top-level-fields.md | 38 | ### Step 3: Write/update test cases | COMMENT |
| LOW⚡ | …history/2026-01-09_001414_fix-toml-top-level-fields.md | 48 | ### Step 4: Run tests to verify | COMMENT |
| LOW⚡ | .zcf/plan/history/ccometixline-statusline-config.md | 81 | ### Step 1: Type Definitions (2 min) | COMMENT |
| LOW⚡ | .zcf/plan/history/ccometixline-statusline-config.md | 85 | ### Step 2: Write Test Cases (5 min) | COMMENT |
| LOW⚡ | .zcf/plan/history/ccometixline-statusline-config.md | 89 | ### Step 3: Update Configuration Template (3 min) | COMMENT |
| LOW⚡ | .zcf/plan/history/ccometixline-statusline-config.md | 93 | ### Step 4: Implement Configuration Logic (5 min) | COMMENT |
| LOW⚡ | .zcf/plan/history/ccometixline-statusline-config.md | 97 | ### Step 5: Integration Testing (3 min) | COMMENT |
| LOW⚡ | .zcf/plan/history/ccometixline-statusline-config.md | 100 | ### Step 6: Documentation Updates (2 min) | COMMENT |
| LOW⚡ | .zcf/plan/history/ccr-skip-option.md | 16 | ### Step 1: Add i18n translations | COMMENT |
| LOW⚡ | .zcf/plan/history/ccr-skip-option.md | 20 | ### Step 2: Modify preset selection logic | COMMENT |
| LOW⚡ | .zcf/plan/history/ccr-skip-option.md | 25 | ### Step 3: Handle skip logic | COMMENT |
| LOW⚡ | .zcf/plan/history/ccr-skip-option.md | 30 | ### Step 4: Implement CCR restart and status check | COMMENT |
| LOW⚡ | .zcf/plan/history/ccr-skip-option.md | 35 | ### Step 5: Add configuration completion tips | COMMENT |
| LOW⚡ | .zcf/plan/history/ccr-skip-option.md | 39 | ### Step 6: Update tests | COMMENT |
| LOW | .zcf/plan/history/2026-01-12_091556_更新codex模型配置选项.md | 18 | ### Step 1: 更新 src/utils/features.ts | COMMENT |
| LOW | .zcf/plan/history/2026-01-12_091556_更新codex模型配置选项.md | 32 | ### Step 2: 更新 src/utils/code-tools/codex.ts | COMMENT |
| LOW | .zcf/plan/history/2026-01-12_091556_更新codex模型配置选项.md | 45 | ### Step 3: 更新 src/utils/code-tools/codex-config-switch.ts | COMMENT |
| LOW | .zcf/plan/history/2026-01-12_091556_更新codex模型配置选项.md | 58 | ### Step 4: 更新 src/commands/init.ts | COMMENT |
| LOW | .zcf/plan/history/2026-01-12_091556_更新codex模型配置选项.md | 69 | ### Step 5: 更新中文翻译文件 | COMMENT |
| LOW | .zcf/plan/history/2026-01-12_091556_更新codex模型配置选项.md | 91 | ### Step 6: 更新英文翻译文件 | COMMENT |
| LOW | .zcf/plan/history/2026-01-12_091556_更新codex模型配置选项.md | 113 | ### Step 7: 运行测试验证 | COMMENT |
| LOW | .zcf/plan/history/refactor-output-styles-to-common.md | 13 | ### Step 1: Create Common Output Styles Directory Structure | COMMENT |
| LOW | .zcf/plan/history/refactor-output-styles-to-common.md | 31 | ### Step 2: Update Claude Code Output Style Reference | COMMENT |
| LOW | .zcf/plan/history/refactor-output-styles-to-common.md | 43 | ### Step 3: Update Codex System Prompt Reference | COMMENT |
| LOW⚡ | .zcf/plan/history/refactor-output-styles-to-common.md | 56 | ### Step 4: Delete Duplicate Template Files | COMMENT |
| LOW⚡ | .zcf/plan/history/refactor-output-styles-to-common.md | 63 | ### Step 5: Update Documentation | COMMENT |
| LOW⚡ | .zcf/plan/history/refactor-output-styles-to-common.md | 70 | ### Step 6: Run Tests | COMMENT |
| LOW⚡ | …/history/2026-01-28_004229_remove-codex-chat-format.md | 11 | ### Step 1: Modify api-providers.ts | COMMENT |
| LOW⚡ | …/history/2026-01-28_004229_remove-codex-chat-format.md | 15 | ### Step 2: Modify codex-provider-manager.ts | COMMENT |
| LOW⚡ | …/history/2026-01-28_004229_remove-codex-chat-format.md | 19 | ### Step 3: Modify codex.ts | COMMENT |
| LOW⚡ | …/history/2026-01-28_004229_remove-codex-chat-format.md | 23 | ### Step 4: Modify codex-config-switch.ts | COMMENT |
| LOW⚡ | …/history/2026-01-28_004229_remove-codex-chat-format.md | 27 | ### Step 5: Modify init.ts | COMMENT |
| LOW⚡ | …/history/2026-01-28_004229_remove-codex-chat-format.md | 30 | ### Step 6: Update i18n files | COMMENT |
| LOW⚡ | …/history/2026-01-28_004229_remove-codex-chat-format.md | 34 | ### Step 7: Run tests | COMMENT |
| LOW | …cf/plan/history/codex-mcp-extra-fields-preservation.md | 39 | ### Step 1: Enhance Type Definition | COMMENT |
| LOW⚡ | …cf/plan/history/codex-mcp-extra-fields-preservation.md | 54 | ### Step 2: Modify parseCodexConfig Function | COMMENT |
| LOW⚡ | …cf/plan/history/codex-mcp-extra-fields-preservation.md | 61 | ### Step 3: Create TOML Field Formatter | COMMENT |
| LOW⚡ | …cf/plan/history/codex-mcp-extra-fields-preservation.md | 68 | ### Step 4: Modify renderCodexConfig Function | COMMENT |
| LOW⚡ | …cf/plan/history/codex-mcp-extra-fields-preservation.md | 75 | ### Step 5: Write Unit Tests | COMMENT |
| LOW⚡ | …cf/plan/history/codex-mcp-extra-fields-preservation.md | 84 | ### Step 6: Write Edge Case Tests | COMMENT |
| LOW⚡ | …cf/plan/history/codex-mcp-extra-fields-preservation.md | 93 | ### Step 7: Update Documentation | COMMENT |
| LOW⚡ | .zcf/plan/history/env-permission-config.md | 11 | ### Step 1: 创建简化的配置导入功能 | COMMENT |
| LOW⚡ | .zcf/plan/history/env-permission-config.md | 18 | ### Step 2: 更新国际化文本 | COMMENT |
| LOW⚡ | .zcf/plan/history/env-permission-config.md | 24 | ### Step 3: 更新功能模块 | COMMENT |
| LOW⚡ | .zcf/plan/history/env-permission-config.md | 29 | ### Step 4: 集成到菜单系统 | COMMENT |
| LOW | …26-01-12_085710_fix-issue-259-mcp-config-corruption.md | 39 | ### Step 1: Create codex-toml-updater.ts | COMMENT |
| LOW | …26-01-12_085710_fix-issue-259-mcp-config-corruption.md | 48 | ### Step 2: Modify API Call Sites (8 locations) | COMMENT |
| LOW | …26-01-12_085710_fix-issue-259-mcp-config-corruption.md | 62 | ### Step 3: Modify MCP Call Sites (3 locations) | COMMENT |
| LOW | …26-01-12_085710_fix-issue-259-mcp-config-corruption.md | 70 | ### Step 4: Verification | COMMENT |
| LOW⚡ | .zcf/plan/history/refactor-git-workflow-templates.md | 52 | ### Step 1: Create shared directory structure | COMMENT |
| LOW⚡ | .zcf/plan/history/refactor-git-workflow-templates.md | 56 | ### Step 2: Move English git workflow files | COMMENT |
| LOW⚡ | .zcf/plan/history/refactor-git-workflow-templates.md | 61 | ### Step 3: Move Chinese git workflow files | COMMENT |
| LOW⚡ | .zcf/plan/history/refactor-git-workflow-templates.md | 66 | ### Step 4: Delete duplicate files | COMMENT |
| LOW⚡ | .zcf/plan/history/refactor-git-workflow-templates.md | 72 | ### Step 5: Update workflow-installer.ts | COMMENT |
| LOW⚡ | .zcf/plan/history/refactor-git-workflow-templates.md | 77 | ### Step 6: Update documentation | COMMENT |
| LOW | .zcf/plan/history/refactor-sixStep-to-common.md | 21 | ### Step 1: Create common/workflow/sixStep template files ✅ | COMMENT |
| LOW | .zcf/plan/history/refactor-sixStep-to-common.md | 36 | ### Step 2: Modify workflow-installer.ts (Claude Code) ✅ | COMMENT |
| LOW | .zcf/plan/history/refactor-sixStep-to-common.md | 47 | ### Step 3: Modify codex.ts (Codex) ✅ | COMMENT |
| 47 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | .zcf/plan/history/exa-mcp-config-update.md | 13 | "EXA_API_KEY": "your-api-key-here" | CODE |
| HIGH | docs/ja-JP/advanced/api-providers.md | 120 | npx zcf init -s -p crazyrouter -k "your-api-key" | CODE |
| HIGH | docs/ja-JP/advanced/api-providers.md | 123 | npx zcf init -s -T codex -p crazyrouter -k "your-api-key" | CODE |
| HIGH | docs/ja-JP/features/mcp.md | 41 | export EXA_API_KEY="your-api-key" | CODE |
| HIGH | docs/zh-CN/advanced/troubleshooting.md | 112 | npx zcf init -s -t api_key -k "your-api-key" | CODE |
| HIGH | docs/zh-CN/advanced/api-providers.md | 120 | npx zcf init -s -p crazyrouter -k "your-api-key" | CODE |
| HIGH | docs/zh-CN/advanced/api-providers.md | 123 | npx zcf init -s -T codex -p crazyrouter -k "your-api-key" | CODE |
| HIGH | docs/zh-CN/features/mcp.md | 126 | export EXA_API_KEY="your-api-key" | CODE |
| HIGH | docs/en/advanced/troubleshooting.md | 112 | npx zcf init -s -t api_key -k "your-api-key" | CODE |
| HIGH | docs/en/advanced/api-providers.md | 120 | npx zcf init -s -p crazyrouter -k "your-api-key" | CODE |
| HIGH | docs/en/advanced/api-providers.md | 123 | npx zcf init -s -T codex -p crazyrouter -k "your-api-key" | CODE |
| HIGH | docs/en/advanced/api-providers.md | 185 | npx zcf init -s -T codex -p custom -k "your-api-key" \ | CODE |
| HIGH | docs/en/features/mcp.md | 126 | export EXA_API_KEY="your-api-key" | CODE |
| HIGH | src/utils/code-tools/CLAUDE.md | 347 | apiKey: 'your-api-key', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .zcf/plan/history/codex-fixes-summary.md | 20 | export async function runCodexSystemPromptSelection(): Promise<void> | CODE |
| LOW | .zcf/plan/history/codex-fixes-summary.md | 23 | export async function runCodexWorkflowSelection(): Promise<void> | CODE |
| LOW | .zcf/plan/history/Claude-Code-Multi-Config-TDD-Plan.md | 219 | function validateSkipPromptOptions(options: InitOptions): void { | CODE |
| LOW | .zcf/plan/history/Claude-Code-Multi-Config-TDD-Plan.md | 281 | async function convertToClaudeCodeProfile(config: ApiConfigDefinition): Promise<ClaudeCodeProfile> { | CODE |
| LOW | .zcf/plan/history/Claude-Code-Multi-Config-TDD-Plan.md | 490 | export async function handleInteractiveClaudeCodeSwitch(): Promise<void> { | CODE |
| LOW | .zcf/plan/history/Claude-Code-Multi-Config-TDD-Plan.md | 564 | async function handleClaudeCodeConfigSwitch(selectedConfig: string): Promise<void> { | CODE |
| LOW | .zcf/plan/history/Claude-Code-Multi-Config-TDD-Plan.md | 753 | export async function handleInteractiveClaudeCodeSwitch(): Promise<void> { | CODE |
| LOW | .zcf/plan/history/codex-windows-mcp-fix.md | 49 | function applyCodexPlatformCommand(config: CodexMcpService): void { | CODE |
| LOW | tests/CLAUDE.md | 57 | export function validateWorkflowInstallation(result: WorkflowInstallResult): boolean | CODE |
| LOW | tests/helpers/statusline-helpers.ts | 7 | export function createMockTemplateSettings(statusLine?: StatusLineConfig): ClaudeSettings { | CODE |
| LOW | tests/helpers/statusline-helpers.ts | 21 | export function createMockExistingSettings( | CODE |
| LOW | src/utils/ccometixline-config.ts | 83 | export function getCCometixLineConfigText(): string { | CODE |
| LOW | src/utils/statusline-validator.ts | 53 | export function getPlatformStatusLineConfig(): StatusLineConfig { | CODE |
| LOW | src/utils/simple-config.ts | 55 | export async function importRecommendedPermissions(): Promise<void> { | CODE |
| LOW | src/utils/installation-manager.ts | 46 | export async function handleMultipleInstallations( | CODE |
| LOW | src/utils/platform.ts | 160 | export function shouldUseSudoForGlobalInstall(): boolean { | CODE |
| LOW | src/utils/platform.ts | 438 | export function getRecommendedInstallMethods(codeType: CodeType): InstallMethod[] { | CODE |
| LOW | src/utils/installer.ts | 211 | export async function isLocalClaudeCodeInstalled(): Promise<boolean> { | CODE |
| LOW | src/utils/installer.ts | 267 | async function getInstallMethodFromConfig(codeType: CodeType): Promise<InstallMethod | 'npm-global' | 'native' | null> { | CODE |
| LOW | src/utils/installer.ts | 928 | export function displayVerificationResult(result: VerificationResult, codeType: CodeType): void { | CODE |
| LOW | src/utils/zcf-config.ts | 375 | function convertTomlToLegacyConfig(tomlConfig: ZcfTomlConfig): ZcfConfig { | CODE |
| LOW | src/utils/zcf-config.ts | 391 | function convertLegacyToTomlConfig(legacyConfig: ZcfConfig): ZcfTomlConfig { | CODE |
| LOW | src/utils/features.ts | 332 | export async function configureDefaultModelFeature(): Promise<void> { | CODE |
| LOW | src/utils/features.ts | 511 | export async function changeScriptLanguageFeature(currentLang: SupportedLang): Promise<SupportedLang> { | CODE |
| LOW | src/utils/features.ts | 541 | export async function configureCodexDefaultModelFeature(): Promise<void> { | CODE |
| LOW | src/utils/features.ts | 630 | export async function configureCodexAiMemoryFeature(): Promise<void> { | CODE |
| LOW | src/utils/features.ts | 721 | async function ensureLanguageDirectiveInAgents(aiOutputLang: string): Promise<void> { | CODE |
| LOW | src/utils/features.ts | 771 | async function updateCodexLanguageDirective(aiOutputLang: string): Promise<void> { | CODE |
| LOW | src/utils/features.ts | 818 | export async function configureEnvPermissionFeature(): Promise<void> { | CODE |
| LOW | src/utils/output-style.ts | 100 | export function setGlobalDefaultOutputStyle(styleId: string): void { | CODE |
| LOW | src/utils/output-style.ts | 119 | export function hasLegacyPersonalityFiles(): boolean { | CODE |
| LOW | src/utils/output-style.ts | 123 | export function cleanupLegacyPersonalityFiles(): void { | CODE |
| LOW | src/utils/claude-code-incremental-manager.ts | 27 | export async function configureIncrementalManagement(): Promise<void> { | CODE |
| LOW | src/utils/version-checker.ts | 77 | export async function getClaudeCodeInstallationSource(): Promise<{ | CODE |
| LOW | src/utils/version-checker.ts | 146 | export async function detectAllClaudeCodeInstallations(): Promise<ClaudeCodeInstallation[]> { | CODE |
| LOW | src/utils/version-checker.ts | 331 | export async function checkDuplicateInstallations(): Promise<{ | CODE |
| LOW | src/utils/version-checker.ts | 386 | async function performNpmRemovalAndActivateHomebrew( | CODE |
| LOW | src/utils/version-checker.ts | 459 | export async function handleDuplicateInstallations(skipPrompt: boolean = false): Promise<{ | CODE |
| LOW | src/utils/version-checker.ts | 595 | export async function isClaudeCodeInstalledViaHomebrew(): Promise<boolean> { | CODE |
| LOW | src/utils/version-checker.ts | 613 | export async function getHomebrewClaudeCodeVersion(): Promise<string | null> { | CODE |
| LOW | src/utils/version-checker.ts | 735 | export async function checkClaudeCodeVersionAndPrompt( | CODE |
| LOW | src/utils/config.ts | 437 | export async function promptApiConfigurationAction(): Promise<'modify-partial' | 'modify-all' | 'keep-existing' | null> | CODE |
| LOW | src/utils/workflow-installer.ts | 22 | export async function selectAndInstallWorkflows( | CODE |
| LOW | src/utils/workflow-installer.ts | 87 | async function installWorkflowWithDependencies( | CODE |
| LOW | src/utils/CLAUDE.md | 94 | export async function selectAndInstallWorkflows( | CODE |
| LOW | src/utils/cometix/CLAUDE.md | 101 | export async function configureCometixInteractive(): Promise<CometixConfig> | CODE |
| LOW | src/utils/code-tools/codex-config-switch.ts | 15 | export async function configureIncrementalManagement(): Promise<void> { | CODE |
| LOW | src/utils/code-tools/codex-platform.ts | 8 | export function applyCodexPlatformCommand(config: CodexMcpService): void { | CODE |
| LOW | src/utils/code-tools/codex.ts | 191 | function handleUninstallCancellation(): void { | CODE |
| LOW | src/utils/code-tools/codex.ts | 336 | export function migrateEnvKeyToTempEnvKey(): boolean { | CODE |
| LOW⚡ | src/utils/code-tools/codex.ts | 1106 | export async function runCodexWorkflowImportWithLanguageSelection( | CODE |
| LOW⚡ | src/utils/code-tools/codex.ts | 1135 | export async function runCodexSystemPromptSelection(skipPrompt = false): Promise<void> { | CODE |
| LOW | src/utils/code-tools/codex.ts | 1235 | export async function runCodexWorkflowSelection(options?: CodexFullInitOptions): Promise<void> { | CODE |
| LOW | src/utils/code-tools/codex.ts | 1694 | function ensureCodexAgentsLanguageDirective(aiOutputLang: AiOutputLanguage | string): void { | CODE |
| LOW | src/utils/code-tools/codex.ts | 1721 | function resolveCodexLanguageLabel(aiOutputLang: AiOutputLanguage | string): string { | CODE |
| LOW | src/utils/code-tools/codex-toml-updater.ts | 262 | export function batchUpdateCodexMcpServices( | CODE |
| LOW | src/utils/code-tools/codex-config-detector.ts | 18 | export function detectConfigManagementMode(): ConfigManagementMode { | CODE |
| LOW | src/utils/code-tools/codex-config-detector.ts | 66 | export function getAvailableManagementActions(config: CodexConfigData): string[] { | CODE |
| LOW | src/commands/config-switch.ts | 89 | async function listCodexProvidersWithDisplay(): Promise<void> { | CODE |
| LOW | src/commands/config-switch.ts | 170 | async function handleClaudeCodeDirectSwitch(target: string): Promise<void> { | CODE |
| 8 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …unit/utils/code-tools/codex-incremental-config.test.ts | 80 | // Step 1: Detect management mode | COMMENT |
| LOW⚡ | …unit/utils/code-tools/codex-incremental-config.test.ts | 90 | // Step 2: Add new provider | COMMENT |
| LOW | …unit/utils/code-tools/codex-incremental-config.test.ts | 101 | // Step 3: Edit existing provider | COMMENT |
| LOW | …unit/utils/code-tools/codex-incremental-config.test.ts | 120 | // Step 4: Delete a provider | COMMENT |
| LOW | src/utils/installer.ts | 734 | // Step 1: Check if command is accessible via which (directly in PATH) | COMMENT |
| LOW | src/utils/installer.ts | 751 | // Step 2: Command not in PATH, look for it in Homebrew paths (including Caskroom) | COMMENT |
| LOW | src/utils/installer.ts | 790 | // Step 3: Check Termux paths | COMMENT |
| LOW | src/utils/claude-code-incremental-manager.ts | 97 | // Step 1: Select API provider (custom or preset) | COMMENT |
| LOW | src/utils/code-tools/codex-config-switch.ts | 72 | // Step 1: Select API provider (custom or preset) | COMMENT |
| LOW⚡ | src/utils/code-tools/codex.ts | 1111 | // Step 1: Select AI output language (uses global config memory) | COMMENT |
| LOW⚡ | src/utils/code-tools/codex.ts | 1122 | // Step 2: Save AI output language to global config | COMMENT |
| LOW⚡ | src/utils/code-tools/codex.ts | 1126 | // Step 3: Continue with original workflow (system prompt + workflow selection) | COMMENT |
| LOW | src/utils/code-tools/codex.ts | 1486 | // Step 1: Select API provider (custom or preset) | COMMENT |
| LOW | src/utils/code-tools/codex.ts | 1819 | // Step 1: Mode selection | COMMENT |
| LOW⚡ | src/commands/init.ts | 276 | // Step 2: Read ZCF config once for multiple uses | COMMENT |
| LOW⚡ | src/commands/init.ts | 279 | // Step 3: Select code tool | COMMENT |
| LOW⚡ | src/commands/init.ts | 490 | // Step 4: Select AI output language | COMMENT |
| LOW⚡ | src/commands/init.ts | 493 | // Step 4: Check and handle Claude Code installation | COMMENT |
| LOW⚡ | src/commands/init.ts | 1025 | // Step 12: Save zcf config | COMMENT |
| LOW⚡ | src/commands/init.ts | 1034 | // Step 13: Success message | COMMENT |
| LOW | src/commands/init.ts | 568 | // Step 5: Handle existing config | COMMENT |
| LOW | src/commands/init.ts | 612 | // Step 6: Configure API (skip if only updating docs) | COMMENT |
| LOW | src/commands/init.ts | 794 | // Step 7: Execute the chosen action | COMMENT |
| LOW | src/commands/init.ts | 831 | // Step 8: Apply language directive to CLAUDE.md | COMMENT |
| LOW | src/commands/init.ts | 847 | // Step 9: Apply API configuration (skip if only updating docs) | COMMENT |
| LOW | src/commands/init.ts | 883 | // Step 10: Configure MCP services (skip if only updating docs) | COMMENT |
| LOW | src/commands/init.ts | 996 | // Step 11: CCometixLine installation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/unit/utils/mcp.test.ts | 216 | env: { EXA_API_KEY: 'placeholder' }, | CODE |
| LOW⚡ | tests/unit/utils/mcp.test.ts | 221 | const result = buildMcpServerConfig(baseConfig, 'test-api-key', 'placeholder', 'EXA_API_KEY') | CODE |
| LOW⚡ | tests/unit/utils/mcp.test.ts | 231 | env: { EXA_API_KEY: 'placeholder' }, | CODE |
| LOW⚡ | tests/unit/utils/mcp.test.ts | 237 | const result = buildMcpServerConfig(baseConfig, 'test-api-key', 'placeholder', 'EXA_API_KEY') | CODE |
| LOW | tests/unit/utils/claude-config.test.ts | 218 | const result = buildMcpServerConfig(configWithEnv, apiKey, 'placeholder', envVarName) | CODE |
| LOW | tests/utils/tools.test.ts | 158 | .mockResolvedValueOnce({ customArgs: '--name "John Doe" --age 25' }) | CODE |
| LOW | tests/utils/tools.test.ts | 165 | expect(mockExecuteCcusage).toHaveBeenCalledWith(['--name', 'John Doe', '--age', '25']) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .claude/skills/zcf-update-docs/SKILL.md | 281 | COMMENT | |
| LOW | docs/ja-JP/best-practices/tips.md | 21 | # 2 - ワークフローの導入 | COMMENT |
| LOW | docs/zh-CN/best-practices/tips.md | 21 | # 2 - 导入工作流 | COMMENT |
| LOW | docs/en/best-practices/tips.md | 21 | # 2 - Import Workflows | COMMENT |