Repository Analysis

Light-Heart-Labs/DreamServer

Turn your PC, Mac, or Linux box into an AI server. LLM inference, chat UI, voice, agents, workflows, RAG, and image generation.

33.8 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Light-Heart-Labs/DreamServer, a Shell project with 3,028 GitHub stars. SynthScan v2.0 examined 207,551 lines of code across 999 source files, recording 3402 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 33.8 places this repository in the Strong 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).

33.8
Adjusted Score
33.8
Raw Score
100%
Time Factor
2026-07-14
Last Push
3.0K
Stars
Shell
Language
207.6K
Lines of Code
999
Files
3.4K
Pattern Hits
2026-07-14
Scan Date
0.06
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 58MEDIUM 1381LOW 1963

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 3402 distinct pattern matches across 21 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 Separators1318 hits · 4640 pts
SeverityFileLineSnippetContext
MEDIUMods/test-stack.sh2#=============================================================================COMMENT
MEDIUMods/test-stack.sh18#=============================================================================COMMENT
MEDIUMods/test-stack.sh110# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMods/test-stack.sh112# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMods/test-stack.sh120# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMods/test-stack.sh122# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMods/test-stack.sh128# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMods/test-stack.sh130# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMods/test-stack.sh157# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMods/test-stack.sh160# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMods/test-stack.sh169# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMods/test-stack.sh171# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMods/test-stack.sh199# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMods/test-stack.sh201# ═══════════════════════════════════════════════════════════════COMMENT
MEDIUMods/ods-update.sh629 # ── Step 1: rollback snapshot ─────────────────────────────────────────────COMMENT
MEDIUMods/ods-update.sh639 # ── Step 2: pull latest changes ───────────────────────────────────────────COMMENT
MEDIUMods/ods-update.sh648 # ── Step 3: migrations ────────────────────────────────────────────────────COMMENT
MEDIUMods/ods-update.sh18#==============================================================================COMMENT
MEDIUMods/ods-update.sh20#==============================================================================COMMENT
MEDIUMods/ods-update.sh43#==============================================================================COMMENT
MEDIUMods/ods-update.sh45#==============================================================================COMMENT
MEDIUMods/ods-update.sh430#==============================================================================COMMENT
MEDIUMods/ods-update.sh432#==============================================================================COMMENT
MEDIUMods/ods-update.sh498#==============================================================================COMMENT
MEDIUMods/ods-update.sh500#==============================================================================COMMENT
MEDIUMods/ods-update.sh552#==============================================================================COMMENT
MEDIUMods/ods-update.sh554#==============================================================================COMMENT
MEDIUMods/ods-update.sh615#==============================================================================COMMENT
MEDIUMods/ods-update.sh617#==============================================================================COMMENT
MEDIUMods/ods-update.sh664 # ── Step 4: restart services ──────────────────────────────────────────────COMMENT
MEDIUMods/ods-update.sh689 # ── Step 5: health-check with timeout ────────────────────────────────────COMMENT
MEDIUMods/ods-update.sh697 # ── Step 6: record new version ────────────────────────────────────────────COMMENT
MEDIUMods/ods-update.sh713#==============================================================================COMMENT
MEDIUMods/ods-update.sh715#==============================================================================COMMENT
MEDIUMods/ods-update.sh812#==============================================================================COMMENT
MEDIUMods/ods-update.sh814#==============================================================================COMMENT
MEDIUMods/ods-update.sh844#==============================================================================COMMENT
MEDIUMods/ods-update.sh846#==============================================================================COMMENT
MEDIUMods/ods-update.sh937#==============================================================================COMMENT
MEDIUMods/ods-update.sh939#==============================================================================COMMENT
MEDIUMods/ods-update.sh985#==============================================================================COMMENT
MEDIUMods/ods-update.sh987#==============================================================================COMMENT
MEDIUMods/install-core.sh2# ============================================================================COMMENT
MEDIUMods/install-core.sh4# ============================================================================COMMENT
MEDIUMods/install-core.sh15# ============================================================================COMMENT
MEDIUMods/install-core.sh19#=============================================================================COMMENT
MEDIUMods/install-core.sh21#=============================================================================COMMENT
MEDIUMods/install-core.sh40#=============================================================================COMMENT
MEDIUMods/install-core.sh42#=============================================================================COMMENT
MEDIUMods/install-core.sh63#=============================================================================COMMENT
MEDIUMods/install-core.sh65#=============================================================================COMMENT
MEDIUMods/install-core.sh90#=============================================================================COMMENT
MEDIUMods/install-core.sh92#=============================================================================COMMENT
MEDIUMods/install-core.sh299#=============================================================================COMMENT
MEDIUMods/install-core.sh301#=============================================================================COMMENT
MEDIUMods/install-core.sh307#=============================================================================COMMENT
MEDIUMods/install-core.sh309#=============================================================================COMMENT
MEDIUMods/docker-compose.base.yml9# ============================================COMMENT
MEDIUMods/docker-compose.base.yml11# ============================================COMMENT
MEDIUMods/docker-compose.base.yml19 # ============================================COMMENT
1258 more matches not shown…
Hyper-Verbose Identifiers1251 hits · 1069 pts
SeverityFileLineSnippetContext
LOWods/bin/ods-host-agent.py118def _ensure_windows_resolver_pyyaml(python_cmd: str) -> None:CODE
LOWods/bin/ods-host-agent.py249def _detect_docker_network_gateway(network_name: str) -> str:CODE
LOWods/bin/ods-host-agent.py283def _detect_docker_bridge_gateway() -> str:CODE
LOWods/bin/ods-host-agent.py533def validate_core_recreate_ids(service_ids: list[str]) -> tuple[bool, str]:CODE
LOWods/bin/ods-host-agent.py567def _post_install_core_recreate(service_id: str) -> None:CODE
LOWods/bin/ods-host-agent.py651def _local_model_name_from_gguf(gguf_file: str) -> str:CODE
LOWods/bin/ods-host-agent.py656def _local_gguf_filename_from_id(model_id: str) -> str | None:CODE
LOWods/bin/ods-host-agent.py669def _resolve_local_gguf_filename(model_id: str, models_dir: Path) -> str | None:CODE
LOWods/bin/ods-host-agent.py1140def _service_has_docker_container(service_id: str) -> tuple[bool, str]:CODE
LOWods/bin/ods-host-agent.py1189def _narrow_install_pull_flags(flags: list, service_id: str) -> list:CODE
LOWods/bin/ods-host-agent.py1207def _narrowed_compose_set_resolves(narrowed_flags: list, service_id: str,CODE
LOWods/bin/ods-host-agent.py1258def _fail_stale_update_status(data: dict) -> dict:CODE
LOWods/bin/ods-host-agent.py1400 def _write_tailscale_status_payload(self, payload: dict, source: str):CODE
LOWods/bin/ods-host-agent.py1424 def _find_native_tailscale_cli(self) -> str | None:CODE
LOWods/bin/ods-host-agent.py1441 def _try_native_tailscale_status(self) -> bool:CODE
LOWods/bin/ods-host-agent.py1681 def _handle_invalidate_compose_cache(self):CODE
LOWods/bin/ods-host-agent.py1849 def _handle_network_wifi_scan(self):CODE
LOWods/bin/ods-host-agent.py1920 def _handle_network_wifi_connect(self):CODE
LOWods/bin/ods-host-agent.py1985 def _handle_network_wifi_forget(self):CODE
LOWods/bin/ods-host-agent.py2351 def _handle_extension_compose_toggle(self, activate: bool):CODE
LOWods/bin/ods-host-agent.py2409 def _handle_extension_sync_config(self):CODE
LOWods/bin/ods-host-agent.py3434 def _handle_model_download_cancel(self):CODE
LOWods/bin/ods-host-agent.py4033def _lemonade_completion_ready(host: str, port: str, gguf_file: str) -> bool:CODE
LOWods/bin/ods-host-agent.py4057def _is_windows_host_lemonade(env: dict) -> bool:CODE
LOWods/bin/ods-host-agent.py4069def _restart_windows_lemonade(env: dict):CODE
LOWods/bin/ods-host-agent.py4328def _patch_hermes_model_config(STRING
LOWods/bin/ods-host-agent.py4500def _launch_native_llama_server(env_path: Path, llama_bin: Path, llama_log: Path, pid_file: Path):STRING
LOWods/bin/ods-host-agent.py4548def _compose_restart_llama_server(env: dict):STRING
LOWods/bin/ods-mdns.py161def _direct_ports_lan_reachable(env: dict[str, str]) -> bool:CODE
LOWods/tests/test-fedora-strix-compat.py49def test_amd_dockerfile_arg_scope() -> None:CODE
LOWods/tests/test-fedora-strix-compat.py63def test_selinux_labels_on_relative_bind_mounts() -> None:CODE
LOWods/tests/test-fedora-strix-compat.py83def test_ods_doctor_all_backend_wildcard() -> None:CODE
LOWods/tests/test-fedora-strix-compat.py89def test_token_spy_key_wiring() -> None:CODE
LOWods/tests/test-runtime-config-wiring.py16def test_linux_installer_uses_renderer_with_fallback() -> None:CODE
LOWods/tests/test-runtime-config-wiring.py24def test_bootstrap_upgrade_uses_renderer_with_fallback() -> None:CODE
LOWods/tests/test-runtime-config-wiring.py32def test_host_agent_uses_renderer_with_fallback() -> None:CODE
LOWods/tests/test_todo_fixes.py30def test_vad_patch_single_line_transcribe_call() -> None:CODE
LOWods/tests/test_todo_fixes.py43def test_vad_patch_multiline_transcribe_call() -> None:CODE
LOWods/tests/test_todo_fixes.py60def test_vad_patch_is_idempotent_when_kwargs_already_exist() -> None:CODE
LOWods/tests/test_todo_fixes.py72def test_vad_patch_uses_rightmost_paren_for_nested_single_line_call() -> None:STRING
LOWods/tests/test-assign-gpus.py57 def test_model_too_large_errors(self):CODE
LOWods/tests/test-assign-gpus.py67 def test_no_topology_analysis_needed(self):CODE
LOWods/tests/test-assign-gpus.py81 def test_omitting_llama_server_does_not_crash(self):CODE
LOWods/tests/test-assign-gpus.py85 def test_llama_server_assigned_even_when_omitted(self):CODE
LOWods/tests/test-assign-gpus.py90 def test_only_requested_services_plus_llama(self):CODE
LOWods/tests/test-assign-gpus.py94 def test_explicit_llama_server_unchanged(self):CODE
LOWods/tests/test-assign-gpus.py107 def test_model_fits_one_gpu_rank_first_takes_pair(self):CODE
LOWods/tests/test-assign-gpus.py113 def test_model_fits_one_gpu_strategy_colocated(self):CODE
LOWods/tests/test-assign-gpus.py118 def test_model_fits_one_gpu_services_share_last(self):CODE
LOWods/tests/test-assign-gpus.py123 def test_model_fits_one_gpu_pipeline(self):CODE
LOWods/tests/test-assign-gpus.py131 def test_model_needs_both_gpus_strategy_colocated(self):CODE
LOWods/tests/test-assign-gpus.py135 def test_model_needs_both_gpus_llama_gets_both(self):CODE
LOWods/tests/test-assign-gpus.py139 def test_model_needs_both_gpus_services_share_llamas_last(self):CODE
LOWods/tests/test-assign-gpus.py144 def test_model_needs_both_gpus_llama_pipeline(self):CODE
LOWods/tests/test-assign-gpus.py212 def test_model_fits_one_gpu_picks_phb_pair(self):CODE
LOWods/tests/test-assign-gpus.py220 def test_model_fits_one_gpu_colocated(self):CODE
LOWods/tests/test-assign-gpus.py225 def test_model_fits_one_gpu_pipeline(self):CODE
LOWods/tests/test-assign-gpus.py232 def test_model_fits_one_gpu_no_gpu_idle(self):CODE
LOWods/tests/test-assign-gpus.py236 def test_model_needs_two_gpus_colocated(self):CODE
LOWods/tests/test-assign-gpus.py240 def test_model_needs_two_gpus_picks_phb_pair(self):CODE
1191 more matches not shown…
Cross-Language Confusion45 hits · 238 pts
SeverityFileLineSnippetContext
HIGHods/bin/ods-host-agent.py3836 # Lemonade returns {"status":"ok","model_loaded":null}COMMENT
HIGHods/bin/ods-host-agent.py4148$cacheBin = if ($userProfile) { Join-Path (Join-Path (Join-Path $userProfile ".cache") "lemonade") "bin" } else { $null CODE
HIGHods/bin/ods-host-agent.py3993 Lemonade returns {"status": "ok", "model_loaded": null} when healthySTRING
HIGHods/tests/test-perplexica-entrypoint.py46 sample = 'g.push({content:k,metadata:{url:a,title:j}})'CODE
HIGHods/tests/test-perplexica-entrypoint.py53 assert patched == 'g.push({content:k.slice(0,30000),metadata:{url:a,title:j}})'CODE
HIGH…xtensions/services/dashboard-api/routers/extensions.py493 # `deploy: { resources: null }` or `resources: { reservations: null }`COMMENT
HIGHods/extensions/services/dashboard-api/routers/talk.py571 "status": "ok", "warning": null}STRING
HIGH…nsions/services/dashboard-api/tests/test_extensions.py2643 ' "phase_label": "stale", "error": null,'CODE
HIGH…nsions/services/dashboard-api/tests/test_extensions.py2091 """Strict regression for the audit-flagged bug: `deploy: { resources: null }`.STRING
HIGH…nsions/services/dashboard-api/tests/test_extensions.py2111 """Defense-in-depth: `resources: { reservations: null }`.STRING
HIGH…ns/services/dashboard-api/tests/test_model_activate.py40 body = '{"status": "ok", "model_loaded": null}'CODE
HIGH…ns/services/dashboard-api/tests/test_model_activate.py54 """model_loaded=false is unusual but non-null, so should be True."""STRING
HIGH…ns/services/dashboard-api/tests/test_model_activate.py59 """model_loaded="" is non-null, so should be True."""STRING
HIGHods/extensions/services/token-spy/main.py2067 totalCost += d.total_cost || 0;CODE
HIGHods/extensions/services/token-spy/main.py2068 totalInput += d.total_input_tokens || 0;CODE
HIGHods/extensions/services/token-spy/main.py2069 totalOutput += d.total_output_tokens || 0;CODE
HIGHods/extensions/services/token-spy/main.py2070 totalTurns += d.turns || 0;CODE
HIGHods/extensions/services/token-spy/main.py2071 totalCacheRead += d.total_cache_read || 0;CODE
HIGHods/extensions/services/token-spy/main.py2072 totalCacheWrite += d.total_cache_write || 0;CODE
HIGHods/extensions/services/token-spy/main.py2154 { label: 'Input', data: sorted.map(u => u.input_tokens || 0), color: '#58a6ff' },CODE
HIGHods/extensions/services/token-spy/main.py2155 { label: 'Output', data: sorted.map(u => u.output_tokens || 0), color: '#f0883e' },CODE
HIGHods/extensions/services/token-spy/main.py2156 { label: 'Cache Read', data: sorted.map(u => u.cache_read_tokens || 0), color: '#3fb950' },CODE
HIGHods/extensions/services/token-spy/main.py2157 { label: 'Cache Write', data: sorted.map(u => u.cache_write_tokens || 0), color: '#da3633' },CODE
HIGHods/extensions/services/token-spy/main.py2167 cacheRead += (u.cache_read_tokens || 0);CODE
HIGHods/extensions/services/token-spy/main.py2168 cacheWrite += (u.cache_write_tokens || 0);CODE
HIGHods/extensions/services/token-spy/main.py2169 input += (u.input_tokens || 0);CODE
HIGHods/extensions/services/token-spy/main.py2170 output += (u.output_tokens || 0);CODE
HIGHods/extensions/services/token-spy/main.py2172 const total = cacheRead + cacheWrite + input + output || 1;CODE
HIGHods/extensions/services/token-spy/main.py2202 const cost = u.estimated_cost_usd || 0;CODE
HIGHods/extensions/services/token-spy/main.py2205 totalData.push({x: ts, y: runningTotal});CODE
HIGHods/extensions/services/token-spy/main.py2206 if (running[u.agent] !== undefined) {CODE
HIGHods/extensions/services/token-spy/main.py1943let tokensChart = null, breakdownChart = null, costChart = null, historyChart = null, cumulativeChart = null;CODE
HIGHods/extensions/services/token-spy/main.py1964 window._scl = sessions.reduce((max, s) => Math.max(max, s.session_char_limit || 200000), 200000);CODE
HIGHods/extensions/services/token-spy/main.py1989 if (n == null) return '\\u2014';CODE
HIGHods/extensions/services/token-spy/main.py1996 if (n == null) return '$0.00';CODE
HIGHods/extensions/services/token-spy/main.py2036 const limit = s.session_char_limit || 200000;CODE
HIGHods/extensions/services/token-spy/main.py2102 points: agentData.map(u => ({x: parseTs(u.timestamp), y: u.estimated_cost_usd || 0})),CODE
HIGHods/extensions/services/token-spy/main.py2126 points: agentData.map(u => ({x: parseTs(u.timestamp), y: u.conversation_history_chars || 0})),CODE
HIGHods/extensions/services/token-spy/main.py2138 { value: window._scl || 200000, color: '#f0883e', label: fmt(window._scl || 200000) + ' (~' + fmt(Math.round((windCODE
HIGHods/extensions/services/token-spy/main.py2139 { value: (window._scl || 200000) * 2.5, color: '#da3633', label: fmt((window._scl || 200000) * 2.5) + ' (~' + fmt(CODE
HIGHods/extensions/services/token-spy/main.py2273 window._scl = s.session_char_limit || 200000;CODE
HIGHods/extensions/services/token-spy/main.py2300 if (cfg.session_char_limit != null) {CODE
HIGHods/extensions/services/token-spy/main.py2319 if (!el) return null;CODE
HIGHods/extensions/services/token-spy/main.py2329 if (!h4 || h4.textContent === 'Global Defaults') return;CODE
HIGHods/extensions/services/token-spy/main.py2355 window._scl = body.session_char_limit || window._scl;CODE
Over-Commented Block209 hits · 201 pts
SeverityFileLineSnippetContext
LOWods/test-stack.sh1#!/bin/bashCOMMENT
LOWods/ods-update.sh1#!/bin/bashCOMMENT
LOWods/docker-compose.intel.yml1# ODS — Intel Arc GPU Overlay (SYCL backend)COMMENT
LOWods/docker-compose.lemonade-external.yml1# ODS - external Lemonade SDK runtime overlayCOMMENT
LOWods/docker-compose.multigpu-amd.yml1# ODS — AMD Multi-GPU OverlayCOMMENT
LOWods/test-install.sh1#!/bin/bashCOMMENT
LOWods/install-core.sh1#!/bin/bashCOMMENT
LOWods/install-core.sh221 --no-openclaw) ENABLE_OPENCLAW=false; OPENCLAW_EXPLICIT=true; shift ;;COMMENT
LOWods/docker-compose.arc.yml1# ODS — Intel Arc GPU Overlay (oneAPI SYCL, build-from-source)COMMENT
LOWods/docker-compose.base.yml101 # links into the install.COMMENT
LOWods/docker-compose.base.yml221 # aligned with ods-proxy and ods-mdns so invite QR codes point atCOMMENT
LOWods/docker-compose.base.yml241 # routing collapses our model id down to whatever's loaded).COMMENT
LOWods/ods-uninstall.sh181 systemctl --user disable --now "$unit" 2>/dev/null || trueCOMMENT
LOWods/ods-uninstall.sh201# spawn the Metal binary directly and track it via a PID file. If the fileCOMMENT
LOWods/ods-uninstall.sh281 mkdir -p "$MODELS_BACKUP"COMMENT
LOWods/bin/ods-host-agent.py1821 _update_thread.start()COMMENT
LOWods/bin/ods-host-agent.py2441 returnCOMMENT
LOWods/bin/ods-host-agent.py2941 # compose so we don't refetch images for every other installedCOMMENT
LOWods/bin/ods-host-agent.py3601 hermes_live_exists_for_context = hermes_live_config.exists()COMMENT
LOWods/config/ape/policy.yaml1# APE Policy ConfigurationCOMMENT
LOWods/config/openclaw/inject-token.js1// Inject gateway auth token into Control UI so it auto-connectsCOMMENT
LOWods/config/openclaw/inject-token.js41// ON, so device auth defaults to ON regardless of bind mode. Disabling it is anCOMMENT
LOWods/tests/test-service-registry.sh1#!/bin/bashCOMMENT
LOWods/tests/test-openclaw-device-auth-default.sh1#!/bin/bashCOMMENT
LOWods/tests/test-preflight.sh1#!/bin/bashCOMMENT
LOWods/tests/test-jetson-detection.sh1#!/bin/bashCOMMENT
LOWods/tests/test-doc-links.sh1#!/usr/bin/env bashCOMMENT
LOWods/tests/test-tier-map.sh1#!/bin/bashCOMMENT
LOWods/tests/test-extension-integration.sh1#!/bin/bashCOMMENT
LOWods/tests/test-openclaw-inject-token.sh1#!/bin/bashCOMMENT
LOWods/tests/test-hardware-compatibility.sh1#!/bin/bashCOMMENT
LOWods/tests/test-bind-address-sweep.sh1#!/bin/bashCOMMENT
LOWods/tests/test-validate-env.sh1#!/bin/bashCOMMENT
LOWods/tests/test-network-security.sh1#!/bin/bashCOMMENT
LOWods/tests/test-hooks.sh1#!/bin/bashCOMMENT
LOWods/tests/test-bootstrap-openclaw-compose-guard.sh1#!/usr/bin/env bashCOMMENT
LOWods/tests/test-bootstrap-openclaw-compose-guard.sh61 echo ""; echo "Result: $PASSED passed, $FAILED failed"; exit 1COMMENT
LOWods/tests/test-fleet-multi-distro-keep-going.sh1#!/usr/bin/env bashCOMMENT
LOWods/tests/test-gpu-apple.sh1#!/usr/bin/env bashCOMMENT
LOWods/tests/test-ods-test.sh1#!/bin/bashCOMMENT
LOWods/tests/fleet-external-lemonade-e2e.sh1#!/usr/bin/env bashCOMMENT
LOWods/tests/test-multi-distro.sh1#!/bin/bashCOMMENT
LOWods/tests/test-ods-config-secret-mask.sh1#!/usr/bin/env bashCOMMENT
LOWods/tests/test-secret-security.sh1#!/bin/bashCOMMENT
LOWods/tests/test-macos-host-agent-verification.sh1#!/usr/bin/env bashCOMMENT
LOWods/tests/smoke/installer-env-smoke.sh1#!/bin/bashCOMMENT
LOWods/tests/contracts/test-ods-doctor.sh1#!/usr/bin/env bashCOMMENT
LOW…tests/contracts/test-windows-hermes-config-patching.sh1#!/usr/bin/env bashCOMMENT
LOWods/tests/contracts/test-overlay-map-coherence.sh1#!/usr/bin/env bashCOMMENT
LOWods/tests/contracts/test-windows-lemonade-swap-wait.sh1#!/usr/bin/env bashCOMMENT
LOWods/tests/contracts/test-windows-lemonade-swap-wait.sh21# full model cannot be proven, it must restore the previous active configCOMMENT
LOWods/tests/reproducers/langfuse-uid-check.sh1#!/usr/bin/env bashCOMMENT
LOWods/docs/TAILSCALE.md61# 1. Generate an auth key.COMMENT
LOWods/docs/TAILSCALE.md101# "hostname": "ods",COMMENT
LOWods/docs/HERMES-SSO.md41# 3. Generate an owner card from the dashboardCOMMENT
LOWods/docs/HERMES.md141# 1. Pick a published upstream image tag.COMMENT
LOWods/extensions/library/templates/compose-gpu-swap.yaml1# =============================================================================COMMENT
LOWods/extensions/library/templates/compose-gpu-swap.yaml21# extensions/services/my-service/COMMENT
LOWods/extensions/library/templates/compose-gpu-swap.yaml61# compose.amd.yaml — AMD ROCm overlay (same file, different name)COMMENT
LOWods/extensions/library/templates/compose-gpu-swap.yaml81# # The container user must belong to the video and render groups on the host.COMMENT
149 more matches not shown…
Structural Annotation Overuse78 hits · 137 pts
SeverityFileLineSnippetContext
LOWods/bin/ods-host-agent.py2930 # Step 1: Setup hook (if requested). The helper is a no-opCOMMENT
LOWods/bin/ods-host-agent.py2939 # Step 2: Pull (best-effort — failure is non-fatal if cached image exists).COMMENT
LOWods/bin/ods-host-agent.py3045 # Step 4: SuccessCOMMENT
LOWods/bin/ods-host-agent.py3048 # Step 5: Post-install core recreate (best-effort, non-fatal).COMMENT
LOWods/bin/ods-host-agent.py2011 # Step 1: resolve and verify this is a Wi-Fi profile. Use -t forCOMMENT
LOWods/bin/ods-host-agent.py2051 # Step 2: type-confirmed Wi-Fi → safe to delete.COMMENT
LOWods/bin/ods-host-agent.py2977 # Step 3: StartCOMMENT
LOWods/docs/EXTENSIONS.md45### Step 1: Create the extension directoryCOMMENT
LOWods/docs/EXTENSIONS.md55### Step 2: Create the manifestCOMMENT
LOWods/docs/EXTENSIONS.md68### Step 3: Create the compose fragmentCOMMENT
LOWods/docs/EXTENSIONS.md95### Step 4: ValidateCOMMENT
LOWods/docs/EXTENSIONS.md114### Step 5: Test itCOMMENT
LOWods/docs/WINDOWS-INSTALL-WALKTHROUGH.md21## Step 1: Enable WSL2COMMENT
LOWods/docs/WINDOWS-INSTALL-WALKTHROUGH.md41## Step 2: Install GPU DriversCOMMENT
LOWods/docs/WINDOWS-INSTALL-WALKTHROUGH.md61## Step 3: Install Docker DesktopCOMMENT
LOWods/docs/WINDOWS-INSTALL-WALKTHROUGH.md79## Step 4: Run ODS InstallerCOMMENT
LOWods/docs/WINDOWS-INSTALL-WALKTHROUGH.md170## Step 5: Verify InstallationCOMMENT
LOWods/docs/WINDOWS-INSTALL-WALKTHROUGH.md201## Step 6: Run DiagnosticsCOMMENT
LOWods/docs/WINDOWS-WSL2-GPU-GUIDE.md45### Step 1: Enable WSL2COMMENT
LOWods/docs/WINDOWS-WSL2-GPU-GUIDE.md60### Step 2: Install Docker DesktopCOMMENT
LOWods/docs/WINDOWS-WSL2-GPU-GUIDE.md68### Step 3: Install NVIDIA DriversCOMMENT
LOWods/docs/WINDOWS-WSL2-GPU-GUIDE.md78### Step 4: Run ODS InstallerCOMMENT
LOWods/docs/WINDOWS-TROUBLESHOOTING-GUIDE.md103### Step 1: Check Your Windows VersionCOMMENT
LOWods/docs/WINDOWS-TROUBLESHOOTING-GUIDE.md113### Step 2: Install WSL2 (Windows Subsystem for Linux)COMMENT
LOWods/docs/WINDOWS-TROUBLESHOOTING-GUIDE.md131### Step 3: Install Docker DesktopCOMMENT
LOWods/docs/WINDOWS-TROUBLESHOOTING-GUIDE.md145### Step 4: Install NVIDIA DriversCOMMENT
LOWods/docs/WINDOWS-TROUBLESHOOTING-GUIDE.md157### Step 5: Run ODS InstallerCOMMENT
LOWods/docs/WINDOWS-TROUBLESHOOTING-GUIDE.md175### Step 6: Wait for Model DownloadCOMMENT
LOWods/docs/WINDOWS-TROUBLESHOOTING-GUIDE.md191### Step 7: Access Your AICOMMENT
LOW…ashboard/src/components/__tests__/SetupWizard.test.jsx79 // Step 4: type a name so Next becomes enabledCOMMENT
LOW…/extensions/services/dashboard/src/pages/FirstBoot.jsx302// Step 1 - Welcome / setup labelCOMMENT
LOW…/extensions/services/dashboard/src/pages/FirstBoot.jsx351// Step 2 - First userCOMMENT
LOW…/extensions/services/dashboard/src/pages/FirstBoot.jsx407// Step 3 - Stack pickerCOMMENT
LOW…/extensions/services/dashboard/src/pages/FirstBoot.jsx472// Step 4 - Confirm & finishCOMMENT
LOWods/extensions/services/token-spy/filters.py228 # Step 1: Separate system messages from conversation messagesCOMMENT
LOWods/extensions/services/token-spy/filters.py237 # Step 2: Group conversation messages into atomic unitsCOMMENT
LOWods/extensions/services/token-spy/filters.py242 # Step 3: Apply max_pairs — keep only the N most recent unitsCOMMENT
LOWods/extensions/services/token-spy/filters.py249 # Step 4: Drop old tool calls from older unitsCOMMENT
LOWods/extensions/services/token-spy/filters.py281 # Step 6: Flatten units back into message listCOMMENT
LOWods/extensions/services/token-spy/filters.py286 # Step 7: Apply always_keep_last_n safety — ensure the last N raw messagesCOMMENT
LOWods/extensions/services/token-spy/filters.py268 # Step 5: Truncate tool result content in all kept messagesCOMMENT
LOWods/extensions/services/token-spy/filters.py301 # Step 8: Apply max_total_chars if setCOMMENT
LOWods/installers/macos/install-macos.sh2047 # Step 2: skip if already cached.COMMENT
LOWods/installers/macos/install-macos.sh2051 # Step 3: POST to trigger download.COMMENT
LOWods/installers/macos/install-macos.sh2061 # Step 4: verify the model is actually cached.COMMENT
LOWods/installers/macos/install-macos.sh2034 # Step 1: wait briefly for the models API to be ready (max 15s).COMMENT
LOWods/installers/lib/detection.sh618 # Step 1: Is there even NVIDIA hardware on this machine?COMMENT
LOWods/installers/lib/detection.sh625 # Step 2: Ensure a driver package is installedCOMMENT
LOWods/installers/lib/detection.sh657 # Step 3: Try loading the module — see why it failsCOMMENT
LOWods/installers/lib/detection.sh671 # Step 4: If it's not a Secure Boot issue, bail outCOMMENT
LOWods/installers/lib/detection.sh677 # Step 5: Secure Boot is blocking the module — ensure it's properly signedCOMMENT
LOWods/installers/lib/detection.sh749 # Step 6: Try loading — if MOK key is already enrolled, this works immediatelyCOMMENT
LOWods/installers/lib/detection.sh760 # Step 7: MOK key needs firmware enrollment — one reboot requiredCOMMENT
LOWods/installers/phases/11-services.sh955 # Step 1: start any containers already in Created stateCOMMENT
LOWods/installers/phases/11-services.sh957 # Step 2: wait for services to stabilize, then compose passCOMMENT
LOWods/installers/phases/11-services.sh960 # Step 3: catch any stragglers from the second passCOMMENT
LOWods/installers/phases/12-health.sh451 # Step 1: wait briefly for the models API to be ready. Whisper's /healthCOMMENT
LOWods/installers/phases/12-health.sh466 # Step 2: skip download if already cached.COMMENT
LOWods/installers/phases/12-health.sh470 # Step 3: POST to trigger download. Log stdout/stderr to install log.COMMENT
LOWods/installers/phases/12-health.sh480 # Step 4: verify the model is actually cached. POST can return 200COMMENT
18 more matches not shown…
Excessive Try-Catch Wrapping119 hits · 114 pts
SeverityFileLineSnippetContext
MEDIUMods/bin/ods-host-agent.py870def _thread_target() -> None:CODE
MEDIUMods/bin/ods-host-agent.py1723def _handle_update_check(self):CODE
MEDIUMods/bin/ods-host-agent.py2726def restart_container_later():CODE
LOWods/bin/ods-host-agent.py3054 except Exception:CODE
LOWods/bin/ods-host-agent.py881 except Exception:CODE
LOWods/bin/ods-host-agent.py890 except Exception:CODE
LOWods/bin/ods-host-agent.py1633 except Exception as exc:CODE
LOWods/bin/ods-host-agent.py1812 except Exception as exc:CODE
LOWods/bin/ods-host-agent.py2614 except Exception as exc:CODE
LOWods/bin/ods-host-agent.py2667 except Exception as exc:CODE
LOWods/bin/ods-host-agent.py2737 except Exception as exc:CODE
LOWods/bin/ods-host-agent.py2757 except Exception as exc:CODE
LOWods/bin/ods-host-agent.py3073 except Exception:CODE
LOWods/bin/ods-host-agent.py3122 except Exception as exc:CODE
LOWods/bin/ods-host-agent.py3425 except Exception as exc:CODE
LOWods/bin/ods-host-agent.py3926 except Exception as exc:CODE
LOWods/tests/test-service-registry.sh203 except Exception:CODE
LOWods/tests/test-openclaw-device-auth-default.sh54except Exception: print("__MISSING__")CODE
LOWods/tests/test-templates.sh88 except Exception:CODE
LOWods/tests/dashboard-load-test.py62 except Exception as e:CODE
LOWods/tests/dashboard-load-test.py87 except Exception as e:CODE
LOWods/tests/validate-agent-templates.py139 except Exception as exc: # noqa: BLE001 - diagnostic script should continueCODE
LOWods/extensions/library/services/bark/server.py175 except Exception as e:CODE
LOWods/extensions/library/services/bark/server.py197 except Exception as e:CODE
LOWods/extensions/library/services/bark/test_server.py177 except Exception as e:CODE
LOWods/extensions/library/services/bark/test_server.py274 except Exception as e:CODE
MEDIUMods/extensions/library/services/bark/test_server.py173def make_request():CODE
MEDIUMods/extensions/library/services/bark/test_server.py270def load_and_check():CODE
LOWods/extensions/services/ape/main.py420 except Exception: # pragma: no cover - best effortCODE
LOWods/extensions/services/ape/main.py426 except Exception as e:CODE
LOWods/extensions/services/ape/main.py77except Exception: # pragma: no cover - platform dependentCODE
LOWods/extensions/services/ape/main.py214 except Exception as e:CODE
LOWods/extensions/services/ape/main.py281 except Exception: # pragma: no cover - non-serialisable argsCODE
LOWods/extensions/services/ape/main.py404 except Exception as e: # corrupt / partial file → start clean, keep fileCODE
LOWods/extensions/services/ape/main.py705 except Exception as e:CODE
LOWods/extensions/services/ape/main.py1040 except Exception as e:CODE
LOWods/extensions/services/dashboard-api/hermes_bridge.py195 except Exception: # pragma: no cover — best-effort cleanupCODE
LOWods/extensions/services/dashboard-api/hermes_bridge.py199 except Exception: # pragma: no coverCODE
LOWods/extensions/services/dashboard-api/hermes_bridge.py215 except Exception:CODE
LOWods/extensions/services/dashboard-api/hermes_bridge.py220 except Exception:CODE
LOWods/extensions/services/dashboard-api/hermes_bridge.py287 except Exception: # pragma: no cover — keep sweeper alive on bugsCODE
LOWods/extensions/services/dashboard-api/main.py957 except Exception:CODE
LOWods/extensions/services/dashboard-api/main.py1614 except Exception:CODE
LOWods/extensions/services/dashboard-api/routers/voice.py31 except Exception:CODE
LOWods/extensions/services/dashboard-api/routers/voice.py43 except Exception:CODE
LOWods/extensions/services/dashboard-api/routers/setup.py179 except Exception as exc: # noqa: BLE001 — sentinel contract requires *some* terminal signalCODE
LOWods/extensions/services/dashboard-api/routers/gpu.py555 except Exception: # Broad catch: background task must survive transient failuresCODE
LOWods/extensions/services/dashboard-api/routers/talk.py212 except Exception:CODE
LOW…s/extensions/services/dashboard-api/routers/privacy.py76 except Exception:CODE
LOWods/extensions/services/token-spy/db_postgres.py137 except Exception:CODE
LOWods/extensions/services/token-spy/db_postgres.py210 except Exception:CODE
LOWods/extensions/services/token-spy/main.py1011 except Exception as e:CODE
LOWods/extensions/services/token-spy/main.py1020 except Exception:CODE
LOWods/extensions/services/token-spy/main.py1508 except Exception as e:CODE
LOWods/extensions/services/token-spy/main.py405 except Exception as e:CODE
LOWods/extensions/services/token-spy/main.py459 except Exception as e:CODE
LOWods/extensions/services/token-spy/main.py756 except Exception as e:CODE
LOWods/extensions/services/token-spy/main.py788 except Exception as e:CODE
LOWods/extensions/services/token-spy/main.py797 except Exception:CODE
LOWods/extensions/services/token-spy/main.py984 except Exception as e:CODE
59 more matches not shown…
Deep Nesting112 hits · 94 pts
SeverityFileLineSnippetContext
LOWods/bin/ods-host-agent.py370CODE
LOWods/bin/ods-host-agent.py419CODE
LOWods/bin/ods-host-agent.py669CODE
LOWods/bin/ods-host-agent.py791CODE
LOWods/bin/ods-host-agent.py1045CODE
LOWods/bin/ods-host-agent.py4069CODE
LOWods/bin/ods-host-agent.py4600CODE
LOWods/bin/ods-host-agent.py1330CODE
LOWods/bin/ods-host-agent.py1636CODE
LOWods/bin/ods-host-agent.py1920CODE
LOWods/bin/ods-host-agent.py2071CODE
LOWods/bin/ods-host-agent.py2409CODE
LOWods/bin/ods-host-agent.py2903CODE
LOWods/bin/ods-host-agent.py3080CODE
LOWods/bin/ods-host-agent.py3139CODE
LOWods/bin/ods-host-agent.py3475CODE
LOWods/bin/ods-host-agent.py3934CODE
LOWods/bin/ods-host-agent.py2920CODE
LOWods/bin/ods-host-agent.py3246CODE
LOWods/bin/ods-host-agent.py3282CODE
LOWods/tests/dashboard-load-test.py38CODE
LOWods/tests/validate-agent-templates.py75CODE
LOWods/tests/test_mdns_subdomains.py45CODE
LOWods/tests/contracts/test-port-contracts.py55CODE
LOWods/extensions/services/ape/main.py293CODE
LOWods/extensions/services/ape/main.py409CODE
LOWods/extensions/services/ape/main.py482CODE
LOWods/extensions/services/ape/main.py790CODE
LOWods/extensions/services/ape/main.py1011CODE
LOWods/extensions/services/dashboard-api/hermes_bridge.py257CODE
LOWods/extensions/services/dashboard-api/hermes_bridge.py321CODE
LOWods/extensions/services/dashboard-api/config.py55CODE
LOWods/extensions/services/dashboard-api/config.py316CODE
LOWods/extensions/services/dashboard-api/config.py410CODE
LOWods/extensions/services/dashboard-api/settings.py178CODE
LOW…xtensions/services/dashboard-api/performance_oracle.py866CODE
LOWods/extensions/services/dashboard-api/gpu.py37CODE
LOWods/extensions/services/dashboard-api/gpu.py144CODE
LOWods/extensions/services/dashboard-api/gpu.py257CODE
LOWods/extensions/services/dashboard-api/gpu.py487CODE
LOWods/extensions/services/dashboard-api/gpu.py660CODE
LOWods/extensions/services/dashboard-api/main.py137CODE
LOWods/extensions/services/dashboard-api/main.py268CODE
LOWods/extensions/services/dashboard-api/main.py427CODE
LOWods/extensions/services/dashboard-api/main.py591CODE
LOWods/extensions/services/dashboard-api/main.py1368CODE
LOWods/extensions/services/dashboard-api/main.py1370CODE
LOWods/extensions/services/dashboard-api/helpers.py564CODE
LOWods/extensions/services/dashboard-api/helpers.py610CODE
LOWods/extensions/services/dashboard-api/helpers.py676CODE
LOWods/extensions/services/dashboard-api/helpers.py748CODE
LOWods/extensions/services/dashboard-api/helpers.py776CODE
LOWods/extensions/services/dashboard-api/helpers.py847CODE
LOWods/extensions/services/dashboard-api/helpers.py880CODE
LOW…s/extensions/services/dashboard-api/user_extensions.py19CODE
LOWods/extensions/services/dashboard-api/routers/models.py81CODE
LOWods/extensions/services/dashboard-api/routers/models.py413CODE
LOWods/extensions/services/dashboard-api/routers/models.py514CODE
LOW…s/extensions/services/dashboard-api/routers/updates.py38CODE
LOW…s/extensions/services/dashboard-api/routers/updates.py273CODE
52 more matches not shown…
Modern AI Meta-Vocabulary25 hits · 81 pts
SeverityFileLineSnippetContext
MEDIUMARCHITECTURE.md144### 5. RAG PipelineCOMMENT
MEDIUMCONTRIBUTORS.md36* [Tony363 (Tony Siu)](https://github.com/Tony363) — Raised dashboard-api test coverage to 95% with 3,500+ lines of teCOMMENT
MEDIUMods/config/n8n/06-rag-demo.json14 "content": "## RAG Demo\n\nThis is a template workflow for retrieval-augmented generation.\n\nCustomize the nodeCODE
MEDIUMods/config/n8n/rag-pipeline-trigger.json14 "content": "## RAG Pipeline Trigger\n\nThis is a template workflow for ingesting documents from a watched folderCODE
MEDIUMods/tests/test-phase-c-p1.sh94# Test RAG test endpointCOMMENT
MEDIUMods/tests/contracts/test-installer-contracts.sh179# RAG = qdrant (vector store) + embeddings (TEI). Both default fromCOMMENT
MEDIUMods/docs/PLATFORM-TRUTH-TABLE.md20## Release language guardrailsCOMMENT
MEDIUMods/docs/M1-OFFLINE-MODE.md60# Test local embeddings/RAG if enabled.COMMENT
MEDIUMods/docs/M1-OFFLINE-MODE.md104### Option 2: Configure Legacy OpenClaw for Local RAGCOMMENT
MEDIUMods/docs/INTEGRATION-GUIDE.md89### With RAG (Qdrant + Embeddings)COMMENT
MEDIUMods/extensions/library/services/crewai/compose.yaml1# CrewAI Studio — no-code multi-agent UI (https://github.com/strnad/CrewAI-Studio)COMMENT
MEDIUMods/scripts/showcase.sh174 echo -e "${YELLOW}Qdrant not running. Enable with: docker compose ps qdrant # RAG services start with the stackCODE
MEDIUMods/scripts/showcase.sh198 # Simple RAG demo using direct LLM (without full workflow for CLI demo)COMMENT
MEDIUMods/scripts/bootstrap-upgrade.sh1425 # the 8k context window. OpenCode hits the same wall.COMMENT
MEDIUMods/scripts/session-cleanup.sh11# The agent doesn't notice — it just gets a clean context window.COMMENT
MEDIUMods/scripts/demo-offline.sh164# ── Demo 3: RAG ──────────────────────────────────────COMMENT
MEDIUMods/installers/macos/lib/tier-map.sh12# Each tier maps to a specific GGUF quantization and context window.COMMENT
MEDIUMods/installers/macos/lib/tier-map.sh225# Hermes requires at least a 64K context window. Keep the fast-start model atCOMMENT
MEDIUMods/installers/lib/bootstrap-model.sh16# Hermes requires at least a 64K context window, so fast-start installs keepCOMMENT
MEDIUMods/installers/lib/tier-map.sh14# Each tier maps to a specific GGUF quantization and context window.COMMENT
MEDIUMods/installers/phases/09-offline.sh45# Use local RAG instead of web searchCOMMENT
MEDIUMods/installers/phases/09-offline.sh63# Use local RAG with Qdrant insteadCOMMENT
MEDIUMods/installers/phases/03-features.sh172 # RAG = qdrant (vector store) + embeddings (TEI). Both default fromCOMMENT
MEDIUMods/installers/phases/07-devtools.sh120 # ── OpenCode (local agentic coding platform) ──COMMENT
MEDIUMods/installers/phases/12-health.sh300# Perplexica auto-config: seed chat model + embedding model on first boot.COMMENT
Redundant / Tautological Comments51 hits · 77 pts
SeverityFileLineSnippetContext
LOWinstall.sh16# Check if ods directory existsCOMMENT
LOWods/ods-backup.sh687 # Check if running in ODS directoryCOMMENT
LOWods/ods-restore.sh633 # Check if running in ODS directoryCOMMENT
LOWods/ods-preflight.sh222 # Check if container is running but model still loadingCOMMENT
LOWods/tests/test-tts-full.sh27# Check if we got audio data (MP3 starts with ID3 or empty binary)COMMENT
LOWods/tests/test-phase-c-p1.sh55 # Check if values are hardcoded (static string detection)COMMENT
LOWods/tests/test-phase-c-p1.sh131 # Check if settings endpoint returns dataCOMMENT
LOWods/tests/test-phase-c-p1.sh145# Check if voice agent service is running properlyCOMMENT
LOWods/tests/test-hardware-compatibility.sh230# Check if installer validates disk spaceCOMMENT
LOWods/tests/test-network-security.sh107 # Check if ports are bound to localhost onlyCOMMENT
LOWods/tests/test-network-security.sh113 # Check if this is intentional (dashboard, API endpoints)COMMENT
LOWods/tests/benchmark-status-performance.sh25# Check if ods-cli existsCOMMENT
LOWods/tests/test-network-timeouts.sh53 # Check if timeout is present on the same line or nearbyCOMMENT
LOWods/tests/test-network-timeouts.sh60 # Check if timeout is on the same line (use grep -F for fixed string)COMMENT
LOWods/tests/test-stt-full.sh18# Check if we can generate a simple testCOMMENT
LOWods/tests/test-secret-security.sh303 # Check if there's allowlist validation to mitigate the riskCOMMENT
LOWods/tests/smoke/installer-env-smoke.sh337 # Check if it's defined anywhere elseCOMMENT
LOW…xtensions/services/dashboard-api/routers/extensions.py1801 # Check if service is still enabled (built-in or user extension)COMMENT
LOW…nsions/services/dashboard-api/tests/test_extensions.py3119 # Set updated_at to far in the past (well over 1 hour)COMMENT
LOWods/extensions/services/token-spy/db_postgres.py72 # Check if tenant existsCOMMENT
LOWods/extensions/services/token-spy/main.py1511 # Check if this agent needs an auto-resetCOMMENT
LOWods/extensions/services/token-spy/filters.py290 # Check if tail messages are already in filtered_convCOMMENT
LOWods/extensions/services/privacy-shield/pii_scrubber.py90 # Check if we've seen this PII beforeCOMMENT
LOWods/extensions/services/whisper/docker-entrypoint.sh59 # Check if VAD parameters already existCOMMENT
LOWods/scripts/migrate-config.sh9# ./migrate-config.sh check # Check if migration neededCOMMENT
LOWods/scripts/migrate-config.sh166# Check if migration is neededCOMMENT
LOWods/scripts/migrate-config.sh242 # Check if this migration is neededCOMMENT
LOWods/scripts/pre-download.sh194# Check if model is cachedCOMMENT
LOWods/scripts/validate.sh123 # Check if container is runningCOMMENT
LOWods/scripts/ods-test-functional.sh114 # Check if response contains "4" (the answer to 2+2)COMMENT
LOWods/scripts/ods-test-functional.sh200 # Check if response contains array of numbersCOMMENT
LOWods/scripts/session-cleanup.sh94 # Check if this session is activeCOMMENT
LOWods/scripts/validate-compose-stack.sh47# Check if docker/docker compose is availableCOMMENT
LOWods/scripts/ods-doctor.sh221 # Check if extension is enabledCOMMENT
LOWods/scripts/llm-cold-storage.sh55 # Check if any running process references this modelCOMMENT
LOWods/memory-shepherd/memory-shepherd.sh307 # Check if the agent exists in configCOMMENT
LOWods/installers/macos/install-macos.sh1283 # Check if process diedCOMMENT
LOWods/installers/macos/install-macos.sh1402 # Check if "apple" is not listed but service works on CPUCOMMENT
LOWods/installers/macos/lib/env-generator.sh700 # Check if Perplexica is respondingCOMMENT
LOWods/installers/macos/lib/env-generator.sh712 # Check if already configured for this served model.COMMENT
LOWods/installers/macos/lib/detection.sh103 # Check if docker CLI is availableCOMMENT
LOWods/installers/macos/lib/detection.sh127 # Check if Docker daemon is responsiveCOMMENT
LOWods/installers/lib/packaging.sh210# Check if a package is available in the reposCOMMENT
LOWods/installers/lib/background-tasks.sh85# Check if process is still runningCOMMENT
LOWods/installers/lib/background-tasks.sh163 # Check if still runningCOMMENT
LOWods/installers/lib/path-utils.sh83 # Check if path is emptyCOMMENT
LOWods/installers/lib/path-utils.sh89 # Check if parent directory exists and is writableCOMMENT
LOWods/installers/phases/13-summary.sh72 # Check if any background tasks are registeredCOMMENT
LOWods/installers/phases/11-services.sh439 # Check if model exists and verify integrityCOMMENT
LOWods/installers/phases/02-detection.sh237 # Check if upgrade succeededCOMMENT
LOW.github/workflows/autonomous-code-scanner.yml363 # Check if budget exceededCOMMENT
Self-Referential Comments21 hits · 68 pts
SeverityFileLineSnippetContext
MEDIUMods/docker-compose.lemonade-external.yml7# This file is intentionally not standalone. It is selected byCOMMENT
MEDIUMods/config/litellm/lemonade.yaml6 # This file is a template. The installer (06-directories.sh) generatesCOMMENT
MEDIUMods/tests/benchmark-status-performance.sh35 # Create a simple HTTP server that responds to health checksCOMMENT
MEDIUMods/tests/test-hooks.sh76# Create a test extension with both setup_hook and hooks.post_installCOMMENT
MEDIUMods/tests/test-restore-safety-ux.sh28# Create a minimal backup (manifest only, no data dirs)COMMENT
MEDIUMods/tests/test-doctor-command.sh123 # Create a mock report with failuresCOMMENT
MEDIUMods/tests/test-backup-integrity.sh25# Create a minimal fake ODS directory with some dataCOMMENT
MEDIUMods/tests/test-stt-full.sh14# Create a small test audio file (silence + tone)COMMENT
MEDIUMods/tests/test-disk-space-preflight.sh37# Create a minimal fake ODS dir with some data so the estimated size is > ~0COMMENT
MEDIUMods/tests/test-disk-space-preflight.sh57# Create a minimal backup directory for restore size estimationCOMMENT
MEDIUMods/extensions/library/templates/compose-template.yaml5# This file is merged into the compose stack via:COMMENT
MEDIUMods/extensions/templates/compose-template.yaml5# This file is merged into the compose stack via:COMMENT
MEDIUM…nsions/services/dashboard-api/tests/test_extensions.py421 # Create a broken user extension directory (no compose.yaml or compose.yaml.disabled)COMMENT
MEDIUM…nsions/services/dashboard-api/tests/test_extensions.py2568 # Create a real file and symlink compose.yaml to itCOMMENT
MEDIUM…nsions/services/dashboard-api/tests/test_extensions.py2590 # Create a real file and symlink the .disabled to itCOMMENT
MEDIUMods/extensions/services/dashboard/entrypoint.sh6# This file is generated by dashboard-api on first start.COMMENT
MEDIUMods/extensions/services/token-spy/db_postgres.py83 # Create the default tenantCOMMENT
MEDIUMods/scripts/ods-test-functional.sh218 # Create a simple test audio file or use existingCOMMENT
MEDIUMods/lib/service-registry.sh85 # Create the cache as a race-safe, private (mode 0600) temp file. ItsCOMMENT
MEDIUMods/lib/python-cmd.sh5# This file is sourced by other scripts, so it must not change the caller's shell options.COMMENT
MEDIUMods/installers/phases/04-requirements.sh296# This file is sourced by install-core.sh under `set -e`. Keep the phase'sCOMMENT
Verbosity Indicators34 hits · 63 pts
SeverityFileLineSnippetContext
LOWods/bin/ods-host-agent.py2930 # Step 1: Setup hook (if requested). The helper is a no-opCOMMENT
LOWods/bin/ods-host-agent.py2939 # Step 2: Pull (best-effort — failure is non-fatal if cached image exists).COMMENT
LOWods/bin/ods-host-agent.py3045 # Step 4: SuccessCOMMENT
LOWods/bin/ods-host-agent.py3048 # Step 5: Post-install core recreate (best-effort, non-fatal).COMMENT
LOWods/bin/ods-host-agent.py2011 # Step 1: resolve and verify this is a Wi-Fi profile. Use -t forCOMMENT
LOWods/bin/ods-host-agent.py2051 # Step 2: type-confirmed Wi-Fi → safe to delete.COMMENT
LOWods/bin/ods-host-agent.py2977 # Step 3: StartCOMMENT
LOW…ashboard/src/components/__tests__/SetupWizard.test.jsx79 // Step 4: type a name so Next becomes enabledCOMMENT
LOWods/extensions/services/token-spy/filters.py228 # Step 1: Separate system messages from conversation messagesCOMMENT
LOWods/extensions/services/token-spy/filters.py237 # Step 2: Group conversation messages into atomic unitsCOMMENT
LOWods/extensions/services/token-spy/filters.py242 # Step 3: Apply max_pairs — keep only the N most recent unitsCOMMENT
LOWods/extensions/services/token-spy/filters.py249 # Step 4: Drop old tool calls from older unitsCOMMENT
LOWods/extensions/services/token-spy/filters.py281 # Step 6: Flatten units back into message listCOMMENT
LOWods/extensions/services/token-spy/filters.py286 # Step 7: Apply always_keep_last_n safety — ensure the last N raw messagesCOMMENT
LOWods/extensions/services/token-spy/filters.py268 # Step 5: Truncate tool result content in all kept messagesCOMMENT
LOWods/extensions/services/token-spy/filters.py301 # Step 8: Apply max_total_chars if setCOMMENT
LOWods/installers/macos/install-macos.sh2047 # Step 2: skip if already cached.COMMENT
LOWods/installers/macos/install-macos.sh2051 # Step 3: POST to trigger download.COMMENT
LOWods/installers/macos/install-macos.sh2061 # Step 4: verify the model is actually cached.COMMENT
LOWods/installers/macos/install-macos.sh2034 # Step 1: wait briefly for the models API to be ready (max 15s).COMMENT
LOWods/installers/lib/detection.sh618 # Step 1: Is there even NVIDIA hardware on this machine?COMMENT
LOWods/installers/lib/detection.sh625 # Step 2: Ensure a driver package is installedCOMMENT
LOWods/installers/lib/detection.sh657 # Step 3: Try loading the module — see why it failsCOMMENT
LOWods/installers/lib/detection.sh671 # Step 4: If it's not a Secure Boot issue, bail outCOMMENT
LOWods/installers/lib/detection.sh677 # Step 5: Secure Boot is blocking the module — ensure it's properly signedCOMMENT
LOWods/installers/lib/detection.sh749 # Step 6: Try loading — if MOK key is already enrolled, this works immediatelyCOMMENT
LOWods/installers/lib/detection.sh760 # Step 7: MOK key needs firmware enrollment — one reboot requiredCOMMENT
LOWods/installers/phases/11-services.sh955 # Step 1: start any containers already in Created stateCOMMENT
LOWods/installers/phases/11-services.sh957 # Step 2: wait for services to stabilize, then compose passCOMMENT
LOWods/installers/phases/11-services.sh960 # Step 3: catch any stragglers from the second passCOMMENT
LOWods/installers/phases/12-health.sh451 # Step 1: wait briefly for the models API to be ready. Whisper's /healthCOMMENT
LOWods/installers/phases/12-health.sh466 # Step 2: skip download if already cached.COMMENT
LOWods/installers/phases/12-health.sh470 # Step 3: POST to trigger download. Log stdout/stderr to install log.COMMENT
LOWods/installers/phases/12-health.sh480 # Step 4: verify the model is actually cached. POST can return 200COMMENT
Unused Imports54 hits · 52 pts
SeverityFileLineSnippetContext
LOWods/bin/ods-host-agent.py12CODE
LOWods/bin/ods-mdns.py27CODE
LOWods/tests/test-fedora-strix-compat.py10CODE
LOWods/tests/test-runtime-config-wiring.py4CODE
LOWods/tests/test_todo_fixes.py4CODE
LOWods/tests/test-dependency-pins.py4CODE
LOWods/tests/test-perplexica-entrypoint.py4CODE
LOWods/tests/test-render-runtime-configs.py4CODE
LOWods/tests/validate-agent-templates.py11CODE
LOWods/tests/test_mdns_subdomains.py18CODE
LOWods/tests/test_setup_card.py72CODE
LOWods/tests/test_setup_card.py73CODE
LOWods/tests/contracts/test-hermes-worker-guardrails.py4CODE
LOWods/tests/contracts/test-ods-cli-contracts.py9CODE
LOWods/tests/contracts/test-port-contracts.py9CODE
LOWods/tests/contracts/test-network-exposure-contracts.py4CODE
LOWods/extensions/services/dashboard-api/hermes_bridge.py27CODE
LOW…s/extensions/services/dashboard-api/lemonade_client.py3CODE
LOWods/extensions/services/dashboard-api/gguf_inspector.py8CODE
LOW…xtensions/services/dashboard-api/performance_oracle.py12CODE
LOWods/extensions/services/dashboard-api/session_signer.py47CODE
LOWods/extensions/services/dashboard-api/routers/auth.py28CODE
LOW…ns/services/dashboard-api/routers/oauth_passthrough.py51CODE
LOW…xtensions/services/dashboard-api/routers/magic_link.py49CODE
LOWods/extensions/services/dashboard-api/routers/talk.py9CODE
LOWods/extensions/services/dashboard-api/routers/usage.py3CODE
LOW…services/dashboard-api/tests/test_oauth_passthrough.py5CODE
LOWods/extensions/services/dashboard-api/tests/conftest.py29CODE
LOW…ns/services/dashboard-api/tests/test_setup_sentinel.py10CODE
LOW…/extensions/services/dashboard-api/tests/test_usage.py3CODE
LOW…extensions/services/dashboard-api/tests/test_models.py3CODE
LOW…xtensions/services/dashboard-api/tests/test_routers.py3CODE
LOWods/extensions/services/token-spy/providers/__init__.py6CODE
LOWods/extensions/services/token-spy/providers/__init__.py7CODE
LOWods/extensions/services/token-spy/providers/__init__.py7CODE
LOWods/extensions/services/token-spy/providers/__init__.py8CODE
LOWods/extensions/services/token-spy/providers/__init__.py9CODE
LOW…tensions/services/token-spy/tests/test_usage_report.py3CODE
LOW…s/extensions/services/privacy-shield/key_management.py6CODE
LOWods/scripts/validate-generated-configs.py4CODE
LOWods/scripts/patch-hermes-config.py10CODE
LOWods/scripts/check-dependency-pins.py9CODE
LOWods/scripts/audit-extensions.py7CODE
LOWods/scripts/healthcheck.py46CODE
LOWods/scripts/validate-golden-paths.py4CODE
LOWods/scripts/build-installation-context.py25CODE
LOWods/scripts/generate-extensions-catalog.py9CODE
LOWods/scripts/validate-sim-summary.py27CODE
LOWods/scripts/render-runtime-configs.py9CODE
LOWods/scripts/generate-setup-card.py41CODE
LOWods/scripts/generate-setup-card.py348CODE
LOWods/scripts/select-model.py10CODE
LOWods/scripts/check-version-consistency.py4CODE
LOWods/scripts/maintainers/list-stale-branches.py9CODE
Synthetic Comment Markers8 hits · 45 pts
SeverityFileLineSnippetContext
HIGHods/config/n8n/llm-summarizer.json14 "content": "## LLM Summarizer\n\nThis is a template workflow for sending text or URLs to a webhook and getting aCODE
HIGH.claude/commands/deep-research.md527*Generated by Claude Code Deep Research with Rube MCP + PAL MCP*COMMENT
HIGH.claude/commands/code-review.md384*Generated by Claude Code Review with PAL MCP Consensus*COMMENT
HIGH.github/workflows/claude-review.yml390 Generated by Claude Code Review.CODE
HIGH.github/workflows/autonomous-code-scanner.yml1029 Types were generated by Claude Haiku 4.5 and applied via AST-based function lookup.CODE
HIGH.github/workflows/autonomous-code-scanner.yml1110 Docstrings were generated by Claude Haiku 4.5 and inserted via AST-based function lookup.CODE
HIGH.github/workflows/nightly-docs-update.yml305 Generated by Claude Code (claude-sonnet-4-6) | [Workflow Run](${{ github.server_url }}/${{ github.repositoryCODE
HIGH.github/workflows/nightly-code-review.yml249 Automated code improvements generated by Claude Code.CODE
Modern Structural Boilerplate31 hits · 31 pts
SeverityFileLineSnippetContext
LOWods/bin/ods-mdns.py72logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/dashboard-api/hermes_bridge.py41logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/dashboard-api/config.py11logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/dashboard-api/gguf_inspector.py15logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/dashboard-api/security.py11logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/dashboard-api/agent_monitor.py15logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/dashboard-api/gpu.py14logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/dashboard-api/main.py127logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/dashboard-api/helpers.py55logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/dashboard-api/helpers.py468def set_services_cache(statuses: list) -> None:CODE
LOWods/extensions/services/dashboard-api/session_signer.py58logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/dashboard-api/session_signer.py79def _set_secret_for_tests(value: str) -> None:CODE
LOW…s/extensions/services/dashboard-api/user_extensions.py12logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/dashboard-api/routers/auth.py39logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/dashboard-api/routers/models.py39logger = logging.getLogger(__name__)CODE
LOW…s/extensions/services/dashboard-api/routers/updates.py21logger = logging.getLogger(__name__)CODE
LOW…/extensions/services/dashboard-api/routers/features.py14logger = logging.getLogger(__name__)CODE
LOW…ns/services/dashboard-api/routers/oauth_passthrough.py66logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/dashboard-api/routers/voice.py9logger = logging.getLogger(__name__)CODE
LOW…extensions/services/dashboard-api/routers/templates.py11logger = logging.getLogger(__name__)CODE
LOW…xtensions/services/dashboard-api/routers/extensions.py40logger = logging.getLogger(__name__)CODE
LOW…xtensions/services/dashboard-api/routers/magic_link.py73logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/dashboard-api/routers/setup.py22logger = logging.getLogger(__name__)CODE
LOW…extensions/services/dashboard-api/routers/tailscale.py33logger = logging.getLogger(__name__)CODE
LOW…extensions/services/dashboard-api/routers/workflows.py17logger = logging.getLogger(__name__)CODE
LOW…extensions/services/dashboard-api/routers/resources.py17logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/dashboard-api/routers/gpu.py29logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/dashboard-api/routers/talk.py28logger = logging.getLogger(__name__)CODE
LOW…s/extensions/services/dashboard-api/routers/privacy.py17logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/token-spy/db_postgres.py20logger = logging.getLogger(__name__)CODE
LOWods/extensions/services/token-spy/providers/__init__.py11__all__ = [CODE
AI Slop Vocabulary9 hits · 31 pts
SeverityFileLineSnippetContext
MEDIUMods/config/openclaw/inject-token.js77 // (device auth ON). Deleting is more robust than setting false againstCOMMENT
MEDIUMods/tests/fleet-multi-distro.sh6# harness without pre-created per-distro containers.COMMENT
MEDIUMods/tests/test-bootstrap-upgrade-close-inherited-fds.sh5# opened (e.g. FD 9 from the fleet harness, or common FD 200 wrappers) for theCOMMENT
MEDIUMods/tests/test-docker-image-pull-retry.sh41 # Run in a clean bash so we can stub sleep/spin_task without affecting this test harness.COMMENT
MEDIUM…tests/contracts/test-windows-hermes-config-patching.sh115# delegated Windows installer. The fleet harness and public docs call theCOMMENT
MEDIUMods/extensions/services/dashboard-api/routers/agents.py16 """Get comprehensive agent monitoring metrics."""STRING
MEDIUM…ns/services/dashboard-api/tests/test_setup_sentinel.py115 # the test harness — but assert only the structural contract here soCOMMENT
MEDIUM…ns/services/dashboard-api/tests/test_setup_sentinel.py116 # this test stays robust against fixture changes.COMMENT
MEDIUMods/scripts/validate-env.sh83# .env parsing (robust)COMMENT
Example Usage Blocks15 hits · 29 pts
SeverityFileLineSnippetContext
LOWods/test-stack.sh8# Usage:COMMENT
LOWods/test-install.sh7# Usage:COMMENT
LOWods/tests/test-multi-distro.sh8# Usage:COMMENT
LOWods/tests/reproducers/langfuse-uid-check.sh13# Usage:COMMENT
LOWods/scripts/migrate-config.sh8# Usage:COMMENT
LOWods/scripts/extension-runtime-check.sh6# Usage:COMMENT
LOWods/scripts/validate-manifests.sh5# Usage:COMMENT
LOWods/scripts/pre-download.sh10# Usage:COMMENT
LOWods/scripts/ods-test.sh12# Usage:COMMENT
LOWods/scripts/upgrade-model.sh10# Usage:COMMENT
LOWods/scripts/llm-cold-storage.sh11# Usage:COMMENT
LOWods/scripts/linux-install-preflight.sh5# Usage:COMMENT
LOWods/lib/rsync.sh11# Usage:COMMENT
LOWods/installers/macos/ods-macos.sh8# Usage:COMMENT
LOWods/installers/macos/install-macos.sh11# Usage:COMMENT
Magic Placeholder Names4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHods/extensions/library/workflows/comfyui/README.md34 -H "X-API-Key: your-api-key" \CODE
HIGHods/extensions/library/workflows/comfyui/README.md66 -H "X-API-Key: your-api-key" \CODE
HIGHods/extensions/library/workflows/langflow/README.md32 -H "X-API-Key: your-api-key" \CODE
HIGHods/extensions/library/workflows/flowise/README.md32 -H "X-API-Key: your-api-key" \CODE
Fake / Example Data8 hits · 8 pts
SeverityFileLineSnippetContext
LOWods/docker-compose.base.yml132 "6":{"inputs":{"text":"placeholder","clip":["4",1]},"class_type":"CLIPTextEncode"},CODE
LOWods/config/extensions-catalog.json645 "default": "dummy-key",CODE
LOW…extensions/library/services/open-interpreter/server.py74interpreter.llm.api_key = "fake_key"CODE
LOW…extensions/library/services/open-interpreter/server.py97interpreter.llm.api_key = "fake_key"CODE
LOWods/extensions/library/services/dify/README.md37| `DIFY_OPENAI_API_KEY` | API key for OpenAI-compatible endpoint | `dummy-key` |CODE
LOWods/extensions/library/services/dify/manifest.yaml38 default: "dummy-key"CODE
LOW…ervices/dashboard-api/tests/test_performance_oracle.py236 (models_dir / "Qwen3.6-35B-A3B-UD-Q4_K_M.gguf").write_text("placeholder", encoding="utf-8")CODE
LOW…ons/services/privacy-shield/tests/test_pii_scrubber.py30 assert "user@example.com" not in resultCODE
AI Structural Patterns7 hits · 6 pts
SeverityFileLineSnippetContext
LOWods/extensions/services/dashboard-api/main.py1362CODE
LOWods/extensions/services/dashboard-api/helpers.py259CODE
LOWods/extensions/services/dashboard-api/routers/models.py727CODE
LOWods/extensions/services/dashboard-api/routers/models.py734CODE
LOWods/extensions/services/dashboard-api/routers/models.py750CODE
LOWods/extensions/services/dashboard-api/routers/models.py786CODE
LOW…ns/services/dashboard-api/tests/test_model_activate.py75CODE
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHods/extensions/services/token-spy/providers/registry.py30Get a provider instance by name. Creates a new instance with the given config. Does not cache instancesSTRING
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOW.github/scripts/generate-type-hints.py115 "original_signature": "def process_data(data, options=None):",CODE
LOW.github/scripts/generate-type-hints.py116 "typed_signature": "def process_data(data: List[dict], options: Optional[dict] = None) -> dict:",CODE