Open-source, community-driven agent harness
This report presents the forensic synthetic code analysis of Hmbown/CodeWhale, a Rust project with 39,767 GitHub stars. SynthScan v2.0 examined 604,188 lines of code across 966 source files, recording 1388 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 3.8 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 1388 distinct pattern matches across 16 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 |
|---|---|---|---|---|
| MEDIUM⚡ | config.example.toml | 1 | # ╔══════════════════════════════════════════════════════════════════════════════╗ | COMMENT |
| MEDIUM⚡ | config.example.toml | 5 | # ╚══════════════════════════════════════════════════════════════════════════════╝ | COMMENT |
| MEDIUM⚡ | config.example.toml | 9 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 11 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 71 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 73 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 84 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 86 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 90 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 92 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 100 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 102 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 240 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 242 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 709 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 711 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 720 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 722 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 768 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 770 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 780 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 782 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 796 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 798 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 806 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 808 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 847 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 849 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 1140 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | config.example.toml | 1142 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 33 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 35 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 127 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 129 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 152 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 158 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 174 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 176 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 267 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 269 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 312 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 314 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 551 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 595 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 603 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 614 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 626 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 646 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 648 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 685 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 687 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 740 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 742 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 827 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 829 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 867 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 869 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 887 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 889 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | config.example.toml | 905 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| 295 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config.example.toml | 1 | # ╔══════════════════════════════════════════════════════════════════════════════╗ | COMMENT |
| LOW | config.example.toml | 21 | # `api_key` / `base_url` are | COMMENT |
| LOW | config.example.toml | 41 | # deepseek/deepseek-v4-pro — default OpenRouter DeepSeek model ID | COMMENT |
| LOW | config.example.toml | 61 | # mimo-v2.5-tts-voiceclone — Xiaomi MiMo voice-clone TTS model ID | COMMENT |
| LOW | config.example.toml | 81 | # current tier as a ⚡ chip. | COMMENT |
| LOW | config.example.toml | 101 | # Hotbar slots (#2061 / #2064) | COMMENT |
| LOW | config.example.toml | 121 | # | COMMENT |
| LOW | config.example.toml | 141 | # Optional list of additional instruction files concatenated into the | COMMENT |
| LOW | config.example.toml | 161 | # Override the env-var equivalent: `DEEPSEEK_MEMORY=on` | COMMENT |
| LOW | config.example.toml | 181 | COMMENT | |
| LOW | config.example.toml | 201 | # command = "cargo test" | COMMENT |
| LOW | config.example.toml | 221 | # # Path-based deny | COMMENT |
| LOW | config.example.toml | 241 | # External Sandbox Backend (pluggable remote execution) | COMMENT |
| LOW | config.example.toml | 261 | # sandbox_url = "http://localhost:8080" | COMMENT |
| LOW | config.example.toml | 281 | # Env override: DEEPSEEK_PREFER_BWRAP=true | COMMENT |
| LOW | config.example.toml | 301 | # max_depth = 1 # the agent may spawn sub-agents, but those may not spawn more | COMMENT |
| LOW | config.example.toml | 321 | # DeepSeek Anthropic-compatible: DEEPSEEK_API_KEY, DEEPSEEK_ANTHROPIC_BASE_URL | COMMENT |
| LOW | config.example.toml | 341 | # (or MODEL_API_BASE_URL), META_MODEL_API_MODEL (or MODEL_API_MODEL) | COMMENT |
| LOW | config.example.toml | 361 | # model = "deepseek-v4-pro" | COMMENT |
| LOW | config.example.toml | 381 | [providers.nvidia_nim] | COMMENT |
| LOW | config.example.toml | 401 | # insecure_skip_tls_verify = true # last resort for private gateways; prefer SSL_CERT_FILE | COMMENT |
| LOW | config.example.toml | 421 | # OpenRouter — multi-provider gateway (https://openrouter.ai) | COMMENT |
| LOW | config.example.toml | 441 | # # base_url = "https://token-plan-ams.xiaomimimo.com/v1" # Token Plan Europe / Amsterdam | COMMENT |
| LOW | config.example.toml | 461 | # api_key = "YOUR_FIREWORKS_API_KEY" | COMMENT |
| LOW | config.example.toml | 481 | # base_url = "https://api.arcee.ai/api/v1" | COMMENT |
| LOW | config.example.toml | 501 | COMMENT | |
| LOW | config.example.toml | 521 | # base_url = "http://localhost:30000/v1" | COMMENT |
| LOW | config.example.toml | 541 | # api_key = "YOUR_HF_TOKEN" | COMMENT |
| LOW | config.example.toml | 561 | # OpenAI-compatible curated gateway for Meituan's LongCat models. | COMMENT |
| LOW | config.example.toml | 581 | # OpenAI-compatible Chat Completions route. | COMMENT |
| LOW | config.example.toml | 601 | # model = "deepseek-ai/DeepSeek-V4-Pro" # or deepseek-ai/DeepSeek-V4-Flash | COMMENT |
| LOW | config.example.toml | 621 | # OPENAI_CODEX_ACCOUNT_ID / CODEX_ACCOUNT_ID, OPENAI_CODEX_AUTH_FILE, CODEX_HOME | COMMENT |
| LOW | config.example.toml | 641 | [providers.openmodel] | COMMENT |
| LOW | config.example.toml | 661 | # # 设置 METASO_API_KEY 或 [search] api_key 可提升额度 | COMMENT |
| LOW | config.example.toml | 681 | # METASO_API_KEY → metaso key fallback | COMMENT |
| LOW | config.example.toml | 701 | # policy is enforced (mirrors pre-v0.7.0 behavior). To opt in: | COMMENT |
| LOW | config.example.toml | 721 | # Skills (#140) | COMMENT |
| LOW | config.example.toml | 741 | # TUI | COMMENT |
| LOW | config.example.toml | 761 | # locale = "auto" # UI chrome language: auto | en | ja | zh-Hans | pt-BR | COMMENT |
| LOW | config.example.toml | 781 | # Vision Model Configuration (optional) | COMMENT |
| LOW | config.example.toml | 801 | max_retries = 3 | COMMENT |
| LOW | config.example.toml | 821 | # summed API usage. | COMMENT |
| LOW | config.example.toml | 861 | deepseek_v3_2_chat_prior = 3.9 | COMMENT |
| LOW | config.example.toml | 901 | api_key = "YOUR_NVIDIA_API_KEY" | COMMENT |
| LOW | config.example.toml | 921 | # include_summary = false # include elapsed time + cost in the notification body | COMMENT |
| LOW | config.example.toml | 941 | # | COMMENT |
| LOW | config.example.toml | 961 | # # `git add -A` would hang the TUI for hours. Set | COMMENT |
| LOW | config.example.toml | 981 | # python → pyright-langserver --stdio | COMMENT |
| LOW | config.example.toml | 1001 | # [lsp.custom.cs] | COMMENT |
| LOW | config.example.toml | 1021 | # ───────────────────────────────────────────────────────────────────────────────── | COMMENT |
| LOW | config.example.toml | 1041 | # enabled = true | COMMENT |
| LOW | config.example.toml | 1061 | # [[hooks.hooks]] | COMMENT |
| LOW | config.example.toml | 1081 | # CLI flag `--cors-origin URL` (repeatable) and env var | COMMENT |
| LOW | config.example.toml | 1101 | # # Custom plugin directory (defaults to `~/.codewhale/tools/`) | COMMENT |
| LOW | config.example.toml | 1121 | # "exec_shell" = { type = "script", path = "audit-exec-shell.sh" } | COMMENT |
| LOW | config.example.toml | 1141 | # Workflow automatic launch, approval, isolation, and activity (#4128) | COMMENT |
| LOW | config.example.toml | 1161 | # max_depth = 2 | COMMENT |
| LOW | config.example.toml | 1181 | # max_trust_level = "operator" | COMMENT |
| LOW | config.example.toml | 1201 | # # Fleet profiles define named agent configurations the roster can dispatch. | COMMENT |
| LOW | config.example.toml | 1221 | # [fleet.profiles.pr-reviewer] | COMMENT |
| 838 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL⚡ | crates/cli/src/lib.rs | 4893 | assert!(store.config.providers.deepseek.api_key.is_none()); | CODE |
| CRITICAL⚡ | crates/cli/src/lib.rs | 4894 | assert!(store.config.providers.openrouter.api_key.is_none()); | CODE |
| CRITICAL⚡ | crates/cli/src/lib.rs | 4895 | assert!(store.config.providers.novita.api_key.is_none()); | CODE |
| CRITICAL | crates/cli/src/lib.rs | 4166 | store.config.providers.deepseek.api_key.as_deref(), | CODE |
| CRITICAL | crates/cli/src/lib.rs | 4430 | store.config.providers.deepseek.api_key.as_deref(), | CODE |
| CRITICAL | crates/cli/src/lib.rs | 4467 | store.config.providers.arcee.api_key.as_deref(), | CODE |
| CRITICAL | crates/cli/src/lib.rs | 4474 | reloaded.config.providers.arcee.api_key.as_deref(), | CODE |
| CRITICAL | crates/cli/src/lib.rs | 4505 | store.config.providers.ollama.base_url.as_deref(), | CODE |
| CRITICAL | crates/cli/src/lib.rs | 4542 | assert!(store.config.providers.deepseek.api_key.is_none()); | CODE |
| CRITICAL | crates/cli/src/lib.rs | 4815 | store.config.providers.deepseek.api_key.as_deref(), | CODE |
| CRITICAL | crates/cli/src/lib.rs | 4854 | assert!(store.config.providers.deepseek.api_key.is_none()); | CODE |
| CRITICAL | crates/cli/src/lib.rs | 4855 | assert!(store.config.providers.fireworks.api_key.is_none()); | CODE |
| CRITICAL | crates/cli/src/lib.rs | 4927 | store.config.providers.openrouter.api_key.as_deref(), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | config.example.toml | 74 | # "off" — disables chain-of-thought (thinking.type = disabled) | COMMENT |
| MEDIUM⚡ | config.example.toml | 813 | # from the active model/context window. | COMMENT |
| MEDIUM⚡ | config.example.toml | 848 | # Capacity Controller (runtime pressure guardrails) | COMMENT |
| MEDIUM⚡ | config.example.toml | 1143 | # First-class knobs for automatic Workflow orchestration. When the table is | COMMENT |
| MEDIUM⚡ | config.example.toml | 1147 | # # Allow the parent agent to auto-launch Workflow for multi-agent work. | COMMENT |
| MEDIUM | config.example.toml | 400 | # context_window = 1000000 # set the gateway/model's real total context window | COMMENT |
| MEDIUM | config.example.toml | 1160 | # # Maximum nested Workflow / child-orchestration depth. | COMMENT |
| MEDIUM | CHANGELOG.md | 860 | (#2574); and context window and memory-pressure come from the resolved route | CODE |
| MEDIUM | HANDOFF_v0.8.68_completion.md | 107 | ### 7. Remove `todo_*` alias scaffolding (v0.9.0 gate) | COMMENT |
| MEDIUM | …rk_results/deepseek-anthropic-comparison-2026-06-24.md | 118 | ### 1.7 Operational guardrails added with the route | COMMENT |
| MEDIUM | crates/tui/CHANGELOG.md | 860 | (#2574); and context window and memory-pressure come from the resolved route | CODE |
| MEDIUM | crates/tui/src/core/engine/streaming.rs | 1 | //! Streaming response state and guardrails. | COMMENT |
| MEDIUM | crates/tui/src/tui/setup/model_draft.rs | 37 | /// tests can pin the guardrails. | COMMENT |
| MEDIUM | crates/tui/src/tui/setup/mod.rs | 3276 | /// or amend. Only the scaffold differs between guided and model drafts — the | COMMENT |
| MEDIUM | crates/tui/src/tui/setup/fleet_draft.rs | 157 | /// pin the guardrails. | COMMENT |
| MEDIUM | crates/tui/src/commands/groups/debug/balance.rs | 4 | //! this command explicit about being a scaffold so users do not mistake it for | COMMENT |
| MEDIUM | web/AGENT.md | 48 | ## Cost guardrails | COMMENT |
| MEDIUM | docs/LOCALIZATION.md | 36 | | Russian | `ru` | **planned** | **Next-priority locale.** No README yet; explicitly scoped for #3092. Latin+Cyrillic la | CODE |
| MEDIUM | docs/TUI_DOGFOOD_INTEGRATION_CHECK_2026-07-12.md | 67 | ### Transient red — sibling `runtime_contract` scaffold (recovered) | COMMENT |
| MEDIUM | docs/CONTRIBUTORS.md | 241 | **[nasus9527](https://github.com/nasus9527)** — VS Code extension scaffold | CODE |
| MEDIUM | docs/CHANGELOG_ARCHIVE.md | 2916 | (#645–#681, 28 PRs spanning features, fixes, and VS Code extension scaffolding). | CODE |
| MEDIUM | docs/CHANGELOG_ARCHIVE.md | 3851 | - **Reasoning-content replay telemetry, end-to-end (#30).** The chat-completions sanitizer now estimates replayed `reaso | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | config.example.toml | 251 | # sandbox_api_key = "YOUR_API_KEY" # Optional Bearer token sent with requests | COMMENT |
| HIGH⚡ | config.example.toml | 788 | # api_key = "YOUR_API_KEY" # Optional: defaults to main api_key | COMMENT |
| HIGH | docs/PROVIDERS.md | 163 | api_key = "YOUR_API_KEY" | CODE |
| HIGH | docs/SANDBOX.md | 205 | sandbox_api_key = "YOUR_API_KEY" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | crates/tui/tests/epic_acceptance_harness.rs | 18 | #[given("the acceptance harness is available")] | COMMENT |
| MEDIUM | crates/tui/tests/core_session_command_extraction.rs | 32 | #[when("the evaluation harness runs a shell command")] | COMMENT |
| MEDIUM | crates/tui/tests/core_session_command_extraction.rs | 67 | #[then("the harness completes successfully")] | COMMENT |
| MEDIUM | crates/tui/tests/eval_smoke_acceptance.rs | 39 | #[when("the evaluation harness runs a shell command")] | COMMENT |
| MEDIUM | crates/tui/src/main.rs | 839 | #[arg(long, default_value = "printf eval-harness")] | COMMENT |
| MEDIUM | crates/tui/src/main.rs | 842 | #[arg(long, default_value = "eval-harness")] | COMMENT |
| MEDIUM | crates/tui/src/llm_client/mod.rs | 3 | //! This module provides a unified interface for LLM providers with robust retry logic, | COMMENT |
| MEDIUM | web/package-lock.json | 11278 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", | CODE |
| MEDIUM | web/components/ticker.tsx | 6 | const doubled = [...items, ...items]; // seamless loop | CODE |
| MEDIUM | .github/workflows/ci.yml | 304 | # The eval harness is OS-independent prompt/composition checking; | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/tui/src/tui/translation.rs | 164 | "function calculateTotalRevenueForQuarterlyReport() { return; }" | CODE |
| LOW | crates/tui/src/repl/runtime.rs | 593 | def _normalize_dependency_mode(mode): | CODE |
| LOW | web/lib/facts-drift.ts | 70 | function deriveProvidersFromConfig(cfg: string): ProviderFact[] { | CODE |
| LOW | scripts/catalog_models_dev.py | 161 | def public_models_dev_document(data: dict[str, Any]) -> dict[str, Any]: | CODE |
| LOW | scripts/check-coauthor-trailers.py | 71 | def github_login_from_noreply(email: str) -> str | None: | CODE |
| LOW⚡ | scripts/test_check_coauthor_trailers.py | 41 | def test_rejects_cursor_trailer_on_non_harvested_commit(self) -> None: | CODE |
| LOW⚡ | scripts/test_check_coauthor_trailers.py | 47 | def test_rejects_cursor_trailer_on_harvested_commit(self) -> None: | CODE |
| LOW⚡ | scripts/test_check_coauthor_trailers.py | 52 | def test_allows_human_canonical_trailer(self) -> None: | CODE |
| LOW⚡ | scripts/test_check_coauthor_trailers.py | 57 | def test_allows_merge_commit_with_bot_trailer(self) -> None: | CODE |
| LOW | scripts/check-provider-registry.py | 104 | def parse_aliases_for_variant(source: str, enum_name: str, variant: str, context: str) -> set[str]: | CODE |
| LOW | scripts/check-provider-registry.py | 201 | def static_registry_provider_rows(providers_md: str) -> set[str]: | CODE |
| LOW | scripts/check-provider-registry.py | 250 | def report_provider_enum_drift( | CODE |
| LOW | scripts/check-provider-registry.py | 278 | def report_huggingface_coverage( | CODE |
| LOW | scripts/catalog_models_dev_test.py | 20 | def test_snapshot_check_validates_offline_seed(self) -> None: | CODE |
| LOW | scripts/catalog_models_dev_test.py | 32 | def test_scrub_drops_api_key_fields(self) -> None: | CODE |
| LOW | scripts/catalog_models_dev_test.py | 52 | def test_ensure_shape_rejects_empty_object(self) -> None: | CODE |
| LOW | scripts/catalog_models_dev_test.py | 59 | def test_public_document_drops_api_key(self) -> None: | CODE |
| LOW | scripts/catalog_models_dev_test.py | 72 | def test_refresh_write_cache_is_rejected_without_writing(self) -> None: | CODE |
| LOW | npm/codewhale/scripts/preflight-glibc.js | 52 | function detectBinaryRequiredGlibc(filePath) { | CODE |
| LOW | npm/codewhale/scripts/preflight-glibc.js | 94 | function glibcCompatibilityMessage(required, host) { | CODE |
| LOW | npm/codewhale/scripts/install.js | 116 | function shouldSkipOptionalPostinstall( | CODE |
| LOW | npm/codewhale/scripts/install.js | 1032 | async function adoptExistingBinaryIfValid(targetPath, assetName, version, getChecksums, marker) { | CODE |
| LOW | npm/codewhale/scripts/install.js | 1099 | function shouldIgnoreInstallFailure( | CODE |
| LOW | npm/codewhale/scripts/verify-release-assets.js | 34 | function packageVersionMatchesBinaryVersion(version) { | CODE |
| LOW | npm/codewhale/scripts/verify-release-assets.js | 38 | function assertPackageVersionMatchesBinaryVersion(version) { | CODE |
| LOW | npm/codewhale/scripts/verify-release-assets.js | 260 | async function verifyGitHubReleaseFreshness(repo, version, expectedAssets) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/tui/src/runtime_api.rs | 1718 | // Step 1: Try snapshot-based file rollback (patch_undo). | COMMENT |
| LOW⚡ | crates/tui/src/runtime_api.rs | 1726 | // Step 2: Remove the last conversation turn (undo_conversation). | COMMENT |
| LOW | crates/tui/src/tools/web_run.rs | 981 | // Step 1: fetch the HTML page to obtain the `vqd` token used by the images API. | COMMENT |
| LOW | crates/tui/src/tools/web_run.rs | 1013 | // Step 2: query the DuckDuckGo images JSON endpoint. | COMMENT |
| LOW | crates/tui/src/runtime_api/tests.rs | 4137 | // Step 1: Record initial model value (should be the default, since | COMMENT |
| LOW | crates/tui/src/runtime_api/tests.rs | 4156 | // Step 2: Persist a new model value to the config file. | COMMENT |
| LOW⚡ | crates/tui/src/runtime_api/tests.rs | 4169 | // Step 3: Verify in-memory state is NOT mutated by set_config alone. | COMMENT |
| LOW⚡ | crates/tui/src/runtime_api/tests.rs | 4177 | // Step 4: Also persist subagents_max_depth = 5 (below ceiling of 8). | COMMENT |
| LOW⚡ | crates/tui/src/runtime_api/tests.rs | 4181 | // Step 5: Reload — this must read from config_file (not default discovery). | COMMENT |
| LOW⚡ | crates/tui/src/runtime_api/tests.rs | 4188 | // Step 6: Verify in-memory state IS now updated after reload. | COMMENT |
| LOW | crates/cli/src/update.rs | 78 | // Step 1: Fetch latest release metadata | COMMENT |
| LOW | crates/cli/src/update.rs | 96 | // Step 2: Download the aggregated SHA256 checksum manifest if available | COMMENT |
| LOW | crates/cli/src/update.rs | 118 | // Step 3: Download and verify every colocated binary in the install. | COMMENT |
| LOW | crates/cli/src/update.rs | 166 | // Step 4: Replace binaries only after all downloads and the primary | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | crates/tui/src/runtime_api.rs | 1718 | // Step 1: Try snapshot-based file rollback (patch_undo). | COMMENT |
| LOW⚡ | crates/tui/src/runtime_api.rs | 1726 | // Step 2: Remove the last conversation turn (undo_conversation). | COMMENT |
| LOW | crates/tui/src/tools/web_run.rs | 981 | // Step 1: fetch the HTML page to obtain the `vqd` token used by the images API. | COMMENT |
| LOW | crates/tui/src/tools/web_run.rs | 1013 | // Step 2: query the DuckDuckGo images JSON endpoint. | COMMENT |
| LOW | crates/tui/src/runtime_api/tests.rs | 4137 | // Step 1: Record initial model value (should be the default, since | COMMENT |
| LOW | crates/tui/src/runtime_api/tests.rs | 4156 | // Step 2: Persist a new model value to the config file. | COMMENT |
| LOW⚡ | crates/tui/src/runtime_api/tests.rs | 4169 | // Step 3: Verify in-memory state is NOT mutated by set_config alone. | COMMENT |
| LOW⚡ | crates/tui/src/runtime_api/tests.rs | 4177 | // Step 4: Also persist subagents_max_depth = 5 (below ceiling of 8). | COMMENT |
| LOW⚡ | crates/tui/src/runtime_api/tests.rs | 4181 | // Step 5: Reload — this must read from config_file (not default discovery). | COMMENT |
| LOW⚡ | crates/tui/src/runtime_api/tests.rs | 4188 | // Step 6: Verify in-memory state IS now updated after reload. | COMMENT |
| LOW | crates/cli/src/update.rs | 78 | // Step 1: Fetch latest release metadata | COMMENT |
| LOW | crates/cli/src/update.rs | 96 | // Step 2: Download the aggregated SHA256 checksum manifest if available | COMMENT |
| LOW | crates/cli/src/update.rs | 118 | // Step 3: Download and verify every colocated binary in the install. | COMMENT |
| LOW | crates/cli/src/update.rs | 166 | // Step 4: Replace binaries only after all downloads and the primary | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | crates/tui/src/tui/notifications.rs | 464 | /// AI-generated notification text. Passing via `ARGV` avoids this | COMMENT |
| HIGH | crates/tui/src/tui/widgets/footer.rs | 148 | /// when width is 0. The result is the same visual width as requested (one | COMMENT |
| HIGH | docs/PROVIDERS.md | 259 | | `atlascloud` | `[providers.atlascloud]` | `ATLASCLOUD_API_KEY` | `ATLASCLOUD_BASE_URL`; default `https://api.atlasclou | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/examples/compose.toolbox.yml | 3 | # Usage: | COMMENT |
| LOW | scripts/v0867-setup-qa.sh | 11 | # Usage: | COMMENT |
| LOW | scripts/remote-smoke/aws-lightsail/provision.sh | 8 | # Usage: | COMMENT |
| LOW | scripts/remote-smoke/digitalocean/provision.sh | 12 | # Usage: | COMMENT |
| LOW | scripts/release/branch-hygiene.sh | 27 | # Usage: | COMMENT |
| LOW | scripts/release/app-server-smoke.sh | 17 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/tui/src/tools/verifier.rs | 957 | except Exception as exc: | CODE |
| LOW | crates/tui/src/repl/runtime.rs | 579 | except Exception as e: | CODE |
| LOW | crates/tui/src/repl/runtime.rs | 756 | except Exception: | CODE |
| LOW | crates/tui/src/repl/runtime.rs | 879 | except Exception: | CODE |
| LOW | crates/tui/src/repl/runtime.rs | 931 | except Exception as e: | CODE |
| MEDIUM | crates/tui/src/repl/runtime.rs | 752 | def _json_safe(value): | CODE |
| LOW | scripts/check-coauthor-trailers.py | 239 | except Exception as exc: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/catalog_models_dev.py | 27 | CODE | |
| LOW | scripts/measure-tool-catalog.py | 9 | CODE | |
| LOW | scripts/check-coauthor-trailers.py | 10 | CODE | |
| LOW | scripts/test_check_coauthor_trailers.py | 4 | CODE | |
| LOW | scripts/check-provider-registry.py | 15 | CODE | |
| LOW | scripts/catalog_models_dev_test.py | 4 | CODE | |
| LOW | scripts/check-readme-translations.py | 16 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | crates/tui/tests/cache_guard.rs | 157 | let long_context = "Lorem ipsum dolor sit amet. ".repeat(20); | CODE |
| LOW | crates/tui/tests/cache_guard.rs | 157 | let long_context = "Lorem ipsum dolor sit amet. ".repeat(20); | CODE |
| LOW | crates/tui/src/commands/groups/project/init.rs | 1094 | .args(["config", "user.email", "test@test.com"]) | CODE |
| LOW | crates/tui/src/commands/groups/project/init.rs | 1142 | .args(["config", "user.email", "test@test.com"]) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/catalog_models_dev.py | 173 | CODE | |
| LOW | scripts/check-coauthor-trailers.py | 153 | CODE | |
| LOW | scripts/check-provider-registry.py | 86 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | config.example.toml | 1148 | # # Set false to require an explicit `/workflow` opt-in. | COMMENT |
| LOW | scripts/release/install.sh | 113 | # Check if BIN_DIR is on PATH | COMMENT |