An enhanced tool for CodexApp, striving to make Codex better to use and more comfortable 一个CodexApp的增强工具,努力让Codex变得更好用更舒服
This report presents the forensic synthetic code analysis of BigPizzaV3/CodexPlusPlus, a Rust project with 25,092 GitHub stars. SynthScan v2.0 examined 95,302 lines of code across 176 source files, recording 425 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 3.4 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 425 distinct pattern matches across 9 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 | tools/codex-wechat/codex_wechat.py | 341 | def resolve_app_server_command(codex: CodexConfig) -> str: | CODE |
| LOW⚡ | crates/codex-plus-core/tests/cdp_bridge.rs | 444 | assert!(script.contains("function assistantBubbleCandidates(")); | CODE |
| LOW⚡ | crates/codex-plus-core/tests/cdp_bridge.rs | 447 | assert!(script.contains("function latestMessageByDocumentOrder(")); | CODE |
| LOW⚡ | crates/codex-plus-core/tests/cdp_bridge.rs | 448 | assert!(script.contains("function clearPromptsForNewAssistant(")); | CODE |
| LOW | crates/codex-plus-core/tests/cdp_bridge.rs | 502 | assert!(script.contains("function pluginPatchDisabledInRelayMode()")); | CODE |
| LOW | crates/codex-plus-core/tests/cdp_bridge.rs | 524 | assert!(script.contains("function codexPluginUnlockStrategy()")); | CODE |
| LOW | docs/superpowers/plans/2026-05-22-upstream-worktree.md | 1003 | function setUpstreamWorktreeMessage(dialog, message, status = "idle") { | CODE |
| LOW | docs/superpowers/plans/2026-05-22-upstream-worktree.md | 1010 | async function loadUpstreamWorktreeDefaults(dialog) { | CODE |
| LOW | docs/superpowers/plans/2026-05-22-upstream-worktree.md | 1045 | function openUpstreamWorktreeDialog() { | CODE |
| LOW | docs/superpowers/plans/2026-05-22-upstream-worktree.md | 1171 | function upstreamWorktreeNativePayloadFromElement(element) { | CODE |
| LOW | docs/superpowers/plans/2026-05-22-upstream-worktree.md | 1191 | async function handleUpstreamWorktreeNativeCreate(event) { | CODE |
| LOW | docs/superpowers/plans/2026-05-22-upstream-worktree.md | 1211 | function installUpstreamWorktreeNativeAdapter() { | CODE |
| LOW | …perpowers/plans/2026-05-25-codex-context-management.md | 177 | function normalizeContextSelection(selection?: Partial<RelayContextSelection>): RelayContextSelection { | CODE |
| LOW | …perpowers/plans/2026-05-25-codex-context-management.md | 953 | function contextEntriesFromSettings(settings: BackendSettings): CodexContextEntries { | CODE |
| LOW⚡ | docs/superpowers/plans/2026-05-13-provider-sync.md | 43 | def test_settings_store_defaults_provider_sync_disabled(tmp_path): | CODE |
| LOW⚡ | docs/superpowers/plans/2026-05-13-provider-sync.md | 52 | def test_settings_store_saves_and_reloads_provider_sync(tmp_path): | CODE |
| LOW⚡ | docs/superpowers/plans/2026-05-13-provider-sync.md | 62 | def test_settings_store_ignores_malformed_json(tmp_path): | CODE |
| LOW | docs/superpowers/plans/2026-05-13-provider-sync.md | 193 | def test_provider_sync_updates_rollout_and_sqlite_to_current_provider(tmp_path): | CODE |
| LOW | docs/superpowers/plans/2026-05-13-provider-sync.md | 216 | def test_provider_sync_skips_when_lock_exists(tmp_path): | CODE |
| LOW | docs/superpowers/plans/2026-05-13-provider-sync.md | 227 | def test_provider_sync_prunes_backups_to_five(tmp_path): | CODE |
| LOW | docs/superpowers/plans/2026-05-13-provider-sync.md | 554 | def test_launch_and_inject_runs_provider_sync_before_launch_when_enabled(monkeypatch, tmp_path): | CODE |
| LOW | docs/superpowers/plans/2026-05-13-provider-sync.md | 568 | def test_launch_and_inject_skips_provider_sync_when_disabled(monkeypatch, tmp_path): | CODE |
| LOW | docs/superpowers/plans/2026-05-13-provider-sync.md | 657 | def test_handle_bridge_request_gets_backend_settings(monkeypatch, tmp_path): | CODE |
| LOW | docs/superpowers/plans/2026-05-13-provider-sync.md | 669 | def test_handle_bridge_request_sets_backend_settings(monkeypatch, tmp_path): | CODE |
| LOW | docs/superpowers/plans/2026-05-13-provider-sync.md | 734 | def test_renderer_script_has_backend_provider_sync_toggle(): | CODE |
| LOW | docs/superpowers/plans/2026-05-13-provider-sync.md | 783 | function refreshCodexPlusBackendToggles() { | CODE |
| LOW⚡ | …perpowers/plans/2026-05-22-upstream-branch-dropdown.md | 150 | function readUpstreamBranchSelection() { | CODE |
| LOW⚡ | …perpowers/plans/2026-05-22-upstream-branch-dropdown.md | 158 | function writeUpstreamBranchSelection(selection) { | CODE |
| LOW⚡ | …perpowers/plans/2026-05-22-upstream-branch-dropdown.md | 166 | function nativeBranchMenuCandidates() { | CODE |
| LOW⚡ | …perpowers/plans/2026-05-22-upstream-branch-dropdown.md | 176 | function installUpstreamBranchDropdownAdapter() { | CODE |
| LOW | …perpowers/plans/2026-05-22-upstream-branch-dropdown.md | 248 | async function loadUpstreamBranchDefaults(repoPath) { | CODE |
| LOW | …perpowers/plans/2026-05-22-upstream-branch-dropdown.md | 257 | function renderUpstreamBranchOption(menu, repoPath, ref) { | CODE |
| LOW | …perpowers/plans/2026-05-22-upstream-branch-dropdown.md | 269 | async function injectUpstreamBranchOptions() { | CODE |
| LOW | …perpowers/plans/2026-05-22-upstream-branch-dropdown.md | 338 | function upstreamWorktreePayloadFromSelection(trigger) { | CODE |
| LOW | …specs/2026-06-05-version-gated-plugin-unlock-design.md | 84 | function codexPluginUnlockStrategy() { ... } | CODE |
| LOW | …specs/2026-06-05-version-gated-plugin-unlock-design.md | 90 | function codexPluginUnlockStrategy() { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1480 | function codexFastServiceTierValue() { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1484 | function codexServiceTierFastModelListLabel() { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1488 | function normalizeCodexServiceTierModelName(model) { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1492 | function codexServiceTierModelFromValue(value, visited = new WeakSet(), depth = 0) { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1507 | function codexServiceTierCurrentModelName() { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1511 | function codexServiceTierModelForRequest(params, modelHint = "") { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1515 | function codexServiceTierFastSupportedForModel(modelName) { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1519 | function codexServiceTierFastUnsupportedMessage(modelName = codexServiceTierCurrentModelName()) { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1524 | function codexServiceTierMaybeLoadModelCatalog(force = false) { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1535 | function codexServiceTierFastAvailability(modelName = codexServiceTierCurrentModelName()) { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1543 | function codexServiceTierValueForMode(mode) { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1549 | function codexServiceTierDefaultModeForControlMode(controlMode, fallback = "inherit") { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1556 | function codexServiceTierControlModeForDefaultMode(defaultMode) { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1562 | function codexServiceTierEffectiveThreadMode(threadMode = "inherit", defaultMode = "inherit") { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1568 | function codexServiceTierValueForControlMode(controlMode, threadMode = "inherit", defaultMode = "inherit") { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1575 | function codexServiceTierEffectiveMode(value) { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1579 | function normalizeCodexThreadServiceTierMode(mode) { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1584 | function normalizeCodexServiceTierControlMode(mode) { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1589 | function serviceTierGlobalStatusMessage(serviceTier) { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1665 | function normalizeThreadServiceTierDraft(value) { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1673 | function codexThreadServiceTierOverride(threadId) { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1681 | function codexThreadServiceTierDraft() { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1688 | function setCodexThreadServiceTierOverride(threadId, mode) { | CODE |
| LOW⚡ | assets/inject/renderer-inject.js | 1960 | function codexServiceTierRequestMethods() { | CODE |
| 334 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | crates/codex-plus-core/assets/codex-models.json | 55 | "base_instructions": "You are Codex, a coding agent based on GPT-5. You and the user share one workspace, and your | CODE |
| MEDIUM⚡ | crates/codex-plus-core/assets/codex-models.json | 57 | "instructions_template": "You are Codex, a coding agent based on GPT-5. You and the user share one workspace, an | CODE |
| MEDIUM | crates/codex-plus-core/assets/codex-models.json | 407 | "base_instructions": "You are GPT-5.2 running in the Codex CLI, a terminal-based coding assistant. Codex CLI is an | CODE |
| MEDIUM⚡ | assets/codex-models.json | 1 | {"models":[{"slug":"gpt-5.5","display_name":"GPT-5.5","description":"Frontier model for complex coding, research, and re | CODE |
| MEDIUM⚡ | assets/codex-models.json | 1 | {"models":[{"slug":"gpt-5.5","display_name":"GPT-5.5","description":"Frontier model for complex coding, research, and re | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/codex-wechat/codex_wechat.py | 103 | except Exception: | CODE |
| LOW | tools/codex-wechat/codex_wechat.py | 385 | except Exception: | CODE |
| LOW | tools/codex-wechat/codex_wechat.py | 388 | except Exception: | CODE |
| LOW | tools/codex-wechat/codex_wechat.py | 401 | except Exception: | CODE |
| LOW | tools/codex-wechat/codex_wechat.py | 557 | except Exception as exc: | CODE |
| LOW | tools/codex-wechat/codex_wechat.py | 683 | except Exception as exc: | CODE |
| LOW | tools/codex-wechat/codex_wechat.py | 693 | except Exception: | CODE |
| LOW | tools/codex-wechat/codex_wechat.py | 743 | except Exception as exc: | CODE |
| LOW | tools/codex-wechat/codex_wechat.py | 755 | except Exception as exc: | CODE |
| LOW | docs/superpowers/plans/2026-05-13-provider-sync.md | 329 | except Exception: | CODE |
| LOW | docs/superpowers/plans/2026-05-13-provider-sync.md | 496 | except Exception: | CODE |
| MEDIUM | docs/superpowers/plans/2026-05-13-provider-sync.md | 109 | def load(self) -> BackendSettings: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | assets/codex-models.json | 1 | {"models":[{"slug":"gpt-5.5","display_name":"GPT-5.5","description":"Frontier model for complex coding, research, and re | CODE |
| MEDIUM⚡ | assets/codex-models.json | 1 | {"models":[{"slug":"gpt-5.5","display_name":"GPT-5.5","description":"Frontier model for complex coding, research, and re | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/codex-plus-core/assets/codex-models.json | 55 | "base_instructions": "You are Codex, a coding agent based on GPT-5. You and the user share one workspace, and your | CODE |
| LOW⚡ | crates/codex-plus-core/assets/codex-models.json | 57 | "instructions_template": "You are Codex, a coding agent based on GPT-5. You and the user share one workspace, an | CODE |
| LOW | crates/codex-plus-core/assets/codex-models.json | 407 | "base_instructions": "You are GPT-5.2 running in the Codex CLI, a terminal-based coding assistant. Codex CLI is an | CODE |
| LOW⚡ | assets/codex-models.json | 1 | {"models":[{"slug":"gpt-5.5","display_name":"GPT-5.5","description":"Frontier model for complex coding, research, and re | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/codex-wechat/codex_wechat.py | 233 | CODE | |
| LOW | tools/codex-wechat/codex_wechat.py | 697 | CODE | |
| LOW | tools/codex-wechat/codex_wechat.py | 763 | CODE | |
| LOW | tools/codex-wechat/codex_wechat.py | 496 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/codex-plus-core/src/computer_use_guard.rs | 1161 | } | COMMENT |
| LOW | apps/codex-plus-manager/src/i18n.ts | 1 | // Lightweight source-text-keyed i18n for the Codex++ manager UI. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/codex-wechat/codex_wechat.py | 10 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | assets/inject/renderer-inject.js | 6293 | for (const attribute of ["aria-label", "title", "placeholder"]) { | CODE |