Repository Analysis

NousResearch/hermes-agent

The agent that grows with you

38.4 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of NousResearch/hermes-agent, a Python project with 214,387 GitHub stars. SynthScan v2.0 examined 2,180,829 lines of code across 6000 source files, recording 61039 pattern matches distributed across 28 syntactic categories. The overall adjusted score of 38.4 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).

38.4
Adjusted Score
38.4
Raw Score
100%
Time Factor
2026-07-14
Last Push
214.4K
Stars
Python
Language
2.2M
Lines of Code
6.0K
Files
61.0K
Pattern Hits
2026-07-14
Scan Date
0.09
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 8HIGH 545MEDIUM 11247LOW 49239

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 61039 distinct pattern matches across 28 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 Separators10551 hits · 37274 pts
SeverityFileLineSnippetContext
MEDIUMhermes_constants.py956# ─── Well-Known Paths ─────────────────────────────────────────────────────────COMMENT
MEDIUMhermes_constants.py979# ─── Network Preferences ─────────────────────────────────────────────────────COMMENT
MEDIUMhermes_constants.py1024# ─── Streaming Response Constants ────────────────────────────────────────────COMMENT
MEDIUMsetup-hermes.sh2# ============================================================================COMMENT
MEDIUMsetup-hermes.sh4# ============================================================================COMMENT
MEDIUMsetup-hermes.sh18# ============================================================================COMMENT
MEDIUMsetup-hermes.sh269# ============================================================================COMMENT
MEDIUMsetup-hermes.sh270# ============================================================================COMMENT
MEDIUMsetup-hermes.sh272# ============================================================================COMMENT
MEDIUMsetup-hermes.sh62# ============================================================================COMMENT
MEDIUMsetup-hermes.sh64# ============================================================================COMMENT
MEDIUMsetup-hermes.sh129# ============================================================================COMMENT
MEDIUMsetup-hermes.sh131# ============================================================================COMMENT
MEDIUMsetup-hermes.sh165# ============================================================================COMMENT
MEDIUMsetup-hermes.sh167# ============================================================================COMMENT
MEDIUMsetup-hermes.sh187# ============================================================================COMMENT
MEDIUMsetup-hermes.sh189# ============================================================================COMMENT
MEDIUMsetup-hermes.sh325# ============================================================================COMMENT
MEDIUMsetup-hermes.sh327# ============================================================================COMMENT
MEDIUMsetup-hermes.sh344# ============================================================================COMMENT
MEDIUMsetup-hermes.sh346# ============================================================================COMMENT
MEDIUMsetup-hermes.sh398# ============================================================================COMMENT
MEDIUMsetup-hermes.sh400# ============================================================================COMMENT
MEDIUMsetup-hermes.sh417# ============================================================================COMMENT
MEDIUMsetup-hermes.sh419# ============================================================================COMMENT
MEDIUMrun_agent.py269# =========================================================================COMMENT
MEDIUMrun_agent.py271# =========================================================================COMMENT
MEDIUMrun_agent.py274# =========================================================================COMMENT
MEDIUMrun_agent.py278# =========================================================================COMMENT
MEDIUMrun_agent.py935 # ── Buffered retry/fallback status ────────────────────────────────────COMMENT
MEDIUMrun_agent.py1577 # ------------------------------------------------------------------COMMENT
MEDIUMrun_agent.py1579 # ------------------------------------------------------------------COMMENT
MEDIUMrun_agent.py4610 # ── Unified streaming API call ─────────────────────────────────────────COMMENT
MEDIUMrun_agent.py4800 # ── Per-turn primary restoration ─────────────────────────────────────COMMENT
MEDIUMtoolsets.py369 # ==========================================================================COMMENT
MEDIUMtoolsets.py376 # ==========================================================================COMMENT
MEDIUMhermes_logging.py161# ---------------------------------------------------------------------------COMMENT
MEDIUMhermes_logging.py163# ---------------------------------------------------------------------------COMMENT
MEDIUMhermes_logging.py179# ---------------------------------------------------------------------------COMMENT
MEDIUMhermes_logging.py181# ---------------------------------------------------------------------------COMMENT
MEDIUMhermes_logging.py215# ---------------------------------------------------------------------------COMMENT
MEDIUMhermes_logging.py217# ---------------------------------------------------------------------------COMMENT
MEDIUMhermes_logging.py255# ---------------------------------------------------------------------------COMMENT
MEDIUMhermes_logging.py257# ---------------------------------------------------------------------------COMMENT
MEDIUMhermes_logging.py411# ---------------------------------------------------------------------------COMMENT
MEDIUMhermes_logging.py413# ---------------------------------------------------------------------------COMMENT
MEDIUMhermes_logging.py550# ---------------------------------------------------------------------------COMMENT
MEDIUMhermes_logging.py560# ---------------------------------------------------------------------------COMMENT
MEDIUMmini_swe_runner.py64# ============================================================================COMMENT
MEDIUMmini_swe_runner.py66# ============================================================================COMMENT
MEDIUMmini_swe_runner.py626# ============================================================================COMMENT
MEDIUMmini_swe_runner.py628# ============================================================================COMMENT
MEDIUMmini_swe_runner.py113# ============================================================================STRING
MEDIUMmini_swe_runner.py115# ============================================================================STRING
MEDIUMmini_swe_runner.py153# ============================================================================STRING
MEDIUMmini_swe_runner.py155# ============================================================================STRING
MEDIUMcli.py1283# =============================================================================COMMENT
MEDIUMcli.py1285# =============================================================================COMMENT
MEDIUMcli.py2027# ============================================================================COMMENT
MEDIUMcli.py2029# ============================================================================COMMENT
10491 more matches not shown…
Hyper-Verbose Identifiers36317 hits · 31558 pts
SeverityFileLineSnippetContext
LOWbatch_runner.py101def _normalize_tool_error_counts(tool_error_counts: Dict[str, int]) -> Dict[str, int]:CODE
LOWbatch_runner.py732 def _scan_completed_prompts_by_content(self) -> set:CODE
LOWbatch_runner.py776 def _filter_dataset_by_completed(self, completed_prompts: set) -> Tuple[List[Dict], List[int]]:CODE
LOWhermes_constants.py33def reset_hermes_home_override(token: Token) -> None:CODE
LOWhermes_constants.py46def _get_platform_default_hermes_home() -> Path:CODE
LOWhermes_constants.py275def _candidate_node_command_names(command: str) -> list[str]:CODE
LOWhermes_constants.py334def hermes_managed_node_tree_present(home: Path | None = None) -> bool:CODE
LOWhermes_constants.py349def _heal_managed_node_windows() -> bool:CODE
LOWhermes_constants.py450def find_hermes_node_executable(command: str) -> str | None:CODE
LOWhermes_constants.py477def find_node_executable_on_path(command: str) -> str | None:CODE
LOWhermes_constants.py697def _iter_real_home_candidates(env: dict[str, str] | None = None) -> list[str]:CODE
LOWhermes_constants.py784def apply_subprocess_home_env(env: dict[str, str]) -> None:CODE
LOWhermes_constants.py882def translate_cwd_for_wsl_backend(cwd: str) -> str:CODE
LOWtoolset_distributions.py241def sample_toolsets_from_distribution(distribution_name: str) -> List[str]:CODE
LOWhermes_bootstrap.py161def activate_durable_lazy_target() -> None:CODE
LOWrun_agent.py986 def _emit_pending_fallback_notice(self) -> None:CODE
LOWrun_agent.py1039 def _disable_codex_reasoning_replay(CODE
LOWrun_agent.py1587 def _summarize_background_review_actions(CODE
LOWrun_agent.py2409 def _api_request_payload_for_hook(self, api_kwargs: Optional[Dict[str, Any]]) -> Dict[str, Any]:CODE
LOWrun_agent.py2982 def _format_turn_completion_explanation(turn_exit_reason: str) -> str:CODE
LOWrun_agent.py4034 def _replace_primary_openai_client(self, *, reason: str) -> bool:CODE
LOWrun_agent.py4653 def _record_streamed_assistant_text(self, text: str) -> None:CODE
LOWrun_agent.py4661 def _normalize_interim_visible_text(text: str) -> str:CODE
LOWrun_agent.py4666 def _interim_content_was_streamed(self, content: str) -> bool:CODE
LOWrun_agent.py5549 def _copy_reasoning_content_for_api(self, source_msg: dict, api_msg: dict) -> None:CODE
LOWrun_agent.py5554 def _reapply_reasoning_echo_for_provider(self, api_messages: list) -> int:CODE
LOWrun_agent.py5560 def _sanitize_tool_calls_for_strict_api(api_msg: dict, model: "str | None" = None) -> dict:CODE
LOWrun_agent.py5640 def _toolguard_controlled_halt_response(self, decision: ToolGuardrailDecision) -> str:CODE
LOWrun_agent.py5649 def _append_guardrail_observation(CODE
LOWrun_agent.py92def _session_source_for_agent(platform: Optional[str]) -> str:CODE
LOWrun_agent.py238def _is_ephemeral_scaffolding(msg: Any) -> bool:CODE
LOWrun_agent.py291def _pool_may_recover_from_rate_limit(pool) -> bool:CODE
LOWrun_agent.py329def _safe_session_filename_component(session_id: str) -> str:CODE
LOWrun_agent.py567 def _get_session_db_for_recall(self):CODE
LOWrun_agent.py618 def _transition_context_engine_session(CODE
LOWrun_agent.py761 def _ensure_lmstudio_runtime_loaded(self, config_context_length: Optional[int] = None) -> None:CODE
LOWrun_agent.py844 def _should_start_quiet_spinner(self) -> bool:CODE
LOWrun_agent.py863 def _should_emit_quiet_tool_messages(self) -> bool:CODE
LOWrun_agent.py1082 def _stream_diag_capture_response(CODE
LOWrun_agent.py1095 def _is_provider_stream_parse_error(self, error: BaseException) -> bool:CODE
LOWrun_agent.py1167 def _check_compression_model_feasibility(self) -> None:CODE
LOWrun_agent.py1172 def _replay_compression_warning(self) -> None:CODE
LOWrun_agent.py1215 def _resolved_api_call_timeout(self) -> float:CODE
LOWrun_agent.py1235 def _resolved_api_call_stale_timeout_base(self) -> tuple[float, bool]:CODE
LOWrun_agent.py1276 def _compute_non_stream_stale_timeout(self, api_payload: Any) -> float:CODE
LOWrun_agent.py1360 def _anthropic_prompt_cache_policy(CODE
LOWrun_agent.py1373 def _model_requires_responses_api(model: str) -> bool:CODE
LOWrun_agent.py1388 def _provider_model_requires_responses_api(CODE
LOWrun_agent.py1439 def _requested_output_cap_from_api_kwargs(api_kwargs: Any) -> Optional[int]:CODE
LOWrun_agent.py1453 def _has_content_after_think_block(self, content: str) -> bool:CODE
LOWrun_agent.py1482 def _has_natural_response_ending(content: str) -> bool:CODE
LOWrun_agent.py1523 def _should_treat_stop_as_truncated(CODE
LOWrun_agent.py1554 def _looks_like_codex_intermediate_ack(CODE
LOWrun_agent.py1629 def _build_memory_write_metadata(CODE
LOWrun_agent.py1647 def _apply_persist_user_message_override(self, messages: List[Dict]) -> None:CODE
LOWrun_agent.py1697 def _drop_trailing_empty_response_scaffolding(self, messages: List[Dict]) -> None:CODE
LOWrun_agent.py1755 def _flush_messages_to_session_db(self, messages: List[Dict], conversation_history: List[Dict] = None):CODE
LOWrun_agent.py1916 def _get_messages_up_to_last_assistant(self, messages: List[Dict]) -> List[Dict]:CODE
LOWrun_agent.py1947 def _format_tools_for_system_message(self) -> str:CODE
LOWrun_agent.py1952 def _convert_to_trajectory_format(self, messages: List[Dict[str, Any]], user_query: str, completed: bool) -> List[DiCODE
36257 more matches not shown…
Excessive Try-Catch Wrapping6738 hits · 5044 pts
SeverityFileLineSnippetContext
LOWbatch_runner.py299 except Exception as img_err:CODE
LOWbatch_runner.py381 except Exception as e:CODE
LOWbatch_runner.py706 except Exception as e:CODE
LOWbatch_runner.py771 except Exception as e:CODE
LOWbatch_runner.py978 except Exception as ckpt_err:CODE
LOWbatch_runner.py981 except Exception as e:CODE
LOWbatch_runner.py1012 except Exception as ckpt_err:CODE
LOWbatch_runner.py1281 except Exception as e:CODE
LOWbatch_runner.py1312 except Exception as e:CODE
LOWhermes_constants.py107 except Exception:CODE
LOWhermes_constants.py678 except Exception:CODE
LOWhermes_constants.py713 except Exception:CODE
LOWhermes_constants.py852 except Exception:CODE
LOWhermes_bootstrap.py180 except Exception:CODE
LOWrun_agent.py924 except Exception:CODE
LOWrun_agent.py932 except Exception:CODE
LOWrun_agent.py974 except Exception:CODE
LOWrun_agent.py983 except Exception:CODE
LOWrun_agent.py1034 except Exception:CODE
LOWrun_agent.py1036 except Exception:CODE
LOWrun_agent.py2382 except Exception:CODE
LOWrun_agent.py2392 except Exception:CODE
LOWrun_agent.py2399 except Exception:CODE
LOWrun_agent.py2972 except Exception:CODE
LOWrun_agent.py2977 except Exception:CODE
LOWrun_agent.py3326 except Exception as e:CODE
LOWrun_agent.py3330 except Exception:CODE
LOWrun_agent.py3339 except Exception:CODE
LOWrun_agent.py3457 except Exception:CODE
LOWrun_agent.py3461 except Exception:CODE
LOWrun_agent.py3463 except Exception:CODE
LOWrun_agent.py3472 except Exception:CODE
LOWrun_agent.py3494 except Exception:CODE
LOWrun_agent.py3500 except Exception:CODE
LOWrun_agent.py3506 except Exception:CODE
LOWrun_agent.py3517 except Exception:CODE
LOWrun_agent.py3519 except Exception:CODE
LOWrun_agent.py3528 except Exception:CODE
LOWrun_agent.py4025 except Exception as exc:CODE
LOWrun_agent.py4039 except Exception as exc:CODE
LOWrun_agent.py4648 except Exception:CODE
LOWrun_agent.py97 except Exception:CODE
LOWrun_agent.py588 except Exception as exc:CODE
LOWrun_agent.py611 except Exception as e:CODE
LOWrun_agent.py644 except Exception as exc:CODE
LOWrun_agent.py650 except Exception as exc:CODE
LOWrun_agent.py673 except Exception as exc:CODE
LOWrun_agent.py684 except Exception as exc:CODE
LOWrun_agent.py758 except Exception as exc:CODE
LOWrun_agent.py791 except Exception as err:CODE
LOWrun_agent.py889 except Exception:CODE
LOWrun_agent.py894 except Exception:CODE
LOWrun_agent.py906 except Exception:CODE
LOWrun_agent.py911 except Exception:CODE
LOWrun_agent.py962 except Exception:CODE
LOWrun_agent.py1005 except Exception:CODE
LOWrun_agent.py1150 except Exception:CODE
LOWrun_agent.py1408 except Exception:CODE
LOWrun_agent.py1913 except Exception as e:CODE
LOWrun_agent.py2177 except Exception:CODE
6678 more matches not shown…
Cross-Language Confusion290 hits · 1661 pts
SeverityFileLineSnippetContext
HIGHcli.py11135 "Fallback: pkg install python-numpy portaudio && python -m pip install sounddevice"CODE
HIGHcli.py11140 "Option 2: pkg install python-numpy portaudio && python -m pip install sounddevice"CODE
HIGHcli.py11454 _cprint(f" {_BOLD}Option 2: pkg install python-numpy portaudio && python -m pip install sounddeviceCODE
HIGHtools/schema_sanitizer.py29 {"$ref": "#/$defs/Foo", "default": null}STRING
HIGHtools/schema_sanitizer.py175 {"anyOf": [{"type": "string"}, {"type": "null"}], "default": null}STRING
HIGHtools/voice_mode.py57 return "pkg install python-numpy portaudio && python -m pip install sounddevice"CODE
HIGHtools/voice_mode.py205 " 3. Verify with: arecord -d 3 /tmp/test.wav && aplay /tmp/test.wav"CODE
HIGHtools/process_registry.py1009 f"kill -0 \"$(cat {quoted_pid_path} 2>/dev/null)\" 2>/dev/null; echo $?",CODE
HIGHtools/tts_tool.py1167 # tts.deepinfra block in DEFAULT_CONFIG to deep-merge over the null).COMMENT
HIGHtools/transcription_tools.py1677 # deep-merge over the null).COMMENT
HIGHtools/transcription_tools.py1786 di_config = stt_config.get("deepinfra") # may be None (YAML null)CODE
HIGHtools/browser_tool.py766 return "npm install -g agent-browser && agent-browser install"CODE
HIGHtools/browser_tool.py767 return "npm install -g agent-browser && agent-browser install --with-deps"CODE
HIGHtools/terminal_tool.py707 """Wrap `A && B &` (or `A || B &`) to `A && { B & }` at depth 0.STRING
HIGHtools/terminal_tool.py707 """Wrap `A && B &` (or `A || B &`) to `A && { B & }` at depth 0.STRING
HIGHtools/terminal_tool.py709 Bash parses ``A && B &`` with `&&` tighter than `&`, so it forks aSTRING
HIGHtools/terminal_tool.py710 subshell for the whole `A && B` compound and backgrounds it. InsideSTRING
HIGHtools/browser_supervisor.py114 xhr.open("GET", ENDPOINT + "?" + params.toString(), false); // syncCODE
HIGHtools/browser_supervisor.py115 xhr.send(null);CODE
HIGHtools/browser_supervisor.py116 if (xhr.status !== 200) return null;CODE
HIGHtools/browser_supervisor.py119 try { parsed = JSON.parse(body); } catch (e) { return null; }CODE
HIGHtools/browser_supervisor.py120 if (kind === "alert") return undefined;CODE
HIGHtools/browser_supervisor.py121 if (kind === "confirm") return Boolean(parsed && parsed.accept);CODE
HIGHtools/browser_supervisor.py123 if (!parsed || !parsed.accept) return null;CODE
HIGHtools/browser_supervisor.py126 return null;CODE
HIGHtools/browser_supervisor.py130 return null;CODE
HIGHtools/browser_camofox.py14 git clone https://github.com/jo-inc/camofox-browser && cd camofox-browserSTRING
HIGHtools/browser_camofox.py15 npm install && npm start # downloads Camoufox (~300MB) on first runSTRING
HIGHtools/file_operations.py2073 check = self._exec(f"test -e {self._escape_shell_arg(path)} && echo exists || echo not_found")CODE
HIGHtools/file_operations.py2081 f"test -d {self._escape_shell_arg(parent)} && echo yes || echo no"CODE
HIGHtools/file_operations.py870 result = self._exec(f"command -v {cmd} >/dev/null 2>&1 && echo 'yes'")CODE
HIGHtools/file_operations.py1022 'm="$(stat -c%a "$t" 2>/dev/null || stat -f%Lp "$t" 2>/dev/null || true)"; 'CODE
HIGHtools/file_operations.py1023 '[ -n "$m" ] && chmod "$m" "$tmp" 2>/dev/null || true; 'CODE
HIGHtools/code_execution_tool.py789 f"ls -1 {quoted_rpc_dir}/req_* 2>/dev/null || true",STRING
HIGHtools/code_execution_tool.py952 "command -v python3 >/dev/null 2>&1 && echo OK",STRING
HIGHtools/environments/local.py1091 prelude_parts.append(f"[ -r '{safe}' ] && . '{safe}' 2>/dev/null || true")CODE
HIGHtools/environments/modal.py113 "RUN rm -rf /usr/local/lib/python*/site-packages/pip* 2>/dev/null; "CODE
HIGHtools/environments/modal.py114 "python -m ensurepip --upgrade --default-pip 2>/dev/null || true",CODE
HIGHtools/environments/modal.py118 "RUN apt-get update -qq && apt-get install -y -qq python3 python3-venv > /dev/null 2>&1 || true"CODE
HIGHtools/environments/modal.py118 "RUN apt-get update -qq && apt-get install -y -qq python3 python3-venv > /dev/null 2>&1 || true"CODE
HIGHtools/environments/base.py417 f">> {_snap_tmp} 2>/dev/null || true\n"CODE
HIGHtools/environments/base.py425 f"builtin cd -- {_quoted_cwd} 2>/dev/null || true\n"CODE
HIGHtools/environments/base.py426 f"pwd -P > {_quoted_cwd_file} 2>/dev/null || true\n"CODE
HIGHtools/environments/base.py528 f"source {_quoted_snap} >/dev/null 2>&1 || true"CODE
HIGHtools/environments/base.py551 f"2>/dev/null || rm -f {_snap_tmp} 2>/dev/null || true"CODE
HIGHtools/environments/base.py555 parts.append(f"pwd -P > {_quoted_cwd_file} 2>/dev/null || true")CODE
HIGHhermes_cli/gateway.py4052 f"launchctl bootout {shlex.quote(target)} 2>/dev/null; "CODE
HIGHhermes_cli/gateway.py4056 f" launchctl bootstrap {shlex.quote(domain)} {shlex.quote(str(plist_path))} 2>/dev/null; "CODE
HIGHhermes_cli/skills_config.py30 Mirrors ``agent.skill_utils._normalize_string_set``: ``None`` (YAML null)STRING
HIGHhermes_cli/models.py821# "paidRecommendedCompactionModel": {modelName, ...} | null,COMMENT
HIGHhermes_cli/models.py822# "paidRecommendedVisionModel": {modelName, ...} | null,COMMENT
HIGHhermes_cli/models.py823# "freeRecommendedCompactionModel": {modelName, ...} | null,COMMENT
HIGHhermes_cli/models.py824# "freeRecommendedVisionModel": {modelName, ...} | null,COMMENT
HIGHhermes_cli/models.py1028 # paid tier → paid, then free (if paid field is null)COMMENT
HIGHhermes_cli/models.py1004 Returns ``None`` when every candidate is missing, null, or the fetchSTRING
HIGHhermes_cli/cron.py124 # job persisted with "repeat": null), so coalesce to {} rather thanCOMMENT
HIGHhermes_cli/service_manager.py795 f'chown hermes:hermes "$HERMES_HOME/logs/gateways" 2>/dev/null || true\n'CODE
HIGHhermes_cli/service_manager.py796 f'chown -R hermes:hermes "$log_dir" 2>/dev/null || true\n'CODE
HIGHhermes_cli/web_server.py14621 # Non-web origin (packaged Electron: file://, null, app://). TheCOMMENT
HIGHhermes_cli/web_server.py8490 return f'security delete-generic-password -s "Claude Code-credentials" 2>/dev/null; {rm_file}'CODE
230 more matches not shown…
Unused Imports1866 hits · 1617 pts
SeverityFileLineSnippetContext
LOWbatch_runner.py26CODE
LOWhermes_bootstrap.py50CODE
LOWrun_agent.py111CODE
LOWrun_agent.py111CODE
LOWrun_agent.py116CODE
LOWrun_agent.py136CODE
LOWrun_agent.py136CODE
LOWrun_agent.py136CODE
LOWrun_agent.py151CODE
LOWrun_agent.py157CODE
LOWrun_agent.py158CODE
LOWrun_agent.py159CODE
LOWrun_agent.py159CODE
LOWrun_agent.py159CODE
LOWrun_agent.py159CODE
LOWrun_agent.py159CODE
LOWrun_agent.py159CODE
LOWrun_agent.py167CODE
LOWrun_agent.py168CODE
LOWrun_agent.py168CODE
LOWrun_agent.py168CODE
LOWrun_agent.py168CODE
LOWrun_agent.py168CODE
LOWrun_agent.py168CODE
LOWrun_agent.py168CODE
LOWrun_agent.py168CODE
LOWrun_agent.py168CODE
LOWrun_agent.py168CODE
LOWrun_agent.py168CODE
LOWrun_agent.py200CODE
LOWrun_agent.py200CODE
LOWrun_agent.py200CODE
LOWrun_agent.py200CODE
LOWrun_agent.py200CODE
LOWrun_agent.py26CODE
LOWrun_agent.py1074CODE
LOWrun_agent.py1580CODE
LOWrun_agent.py1580CODE
LOWrun_agent.py1580CODE
LOWsetup.py1CODE
LOWcli.py52CODE
LOWcli.py171CODE
LOWcli.py171CODE
LOWcli.py171CODE
LOWcli.py18CODE
LOWcli.py13207CODE
LOWmcp_serve.py30CODE
LOWtools/schema_sanitizer.py37CODE
LOWtools/tool_search.py28CODE
LOWtools/vision_tools.py109CODE
LOWtools/web_tools.py45CODE
LOWtools/web_tools.py53CODE
LOWtools/web_tools.py53CODE
LOWtools/web_tools.py63CODE
LOWtools/web_tools.py63CODE
LOWtools/web_tools.py63CODE
LOWtools/web_tools.py71CODE
LOWtools/web_tools.py71CODE
LOWtools/web_tools.py75CODE
LOWtools/web_tools.py89CODE
1806 more matches not shown…
Deep Nesting1553 hits · 972 pts
SeverityFileLineSnippetContext
LOWbatch_runner.py125CODE
LOWbatch_runner.py244CODE
LOWbatch_runner.py642CODE
LOWbatch_runner.py732CODE
LOWbatch_runner.py776CODE
LOWbatch_runner.py810CODE
LOWhermes_constants.py450CODE
LOWrun_agent.py5839CODE
LOWrun_agent.py1009CODE
LOWrun_agent.py1755CODE
LOWrun_agent.py2098CODE
LOWrun_agent.py2127CODE
LOWrun_agent.py2528CODE
LOWrun_agent.py2557CODE
LOWrun_agent.py3428CODE
LOWrun_agent.py3717CODE
LOWrun_agent.py4425CODE
LOWrun_agent.py4612CODE
LOWrun_agent.py5153CODE
LOWrun_agent.py5279CODE
LOWrun_agent.py5312CODE
LOWrun_agent.py5434CODE
LOWtoolsets.py687CODE
LOWmini_swe_runner.py630CODE
LOWmini_swe_runner.py298CODE
LOWmini_swe_runner.py408CODE
LOWhermes_time.py37CODE
LOWcli.py120CODE
LOWcli.py360CODE
LOWcli.py1059CODE
LOWcli.py1350CODE
LOWcli.py1425CODE
LOWcli.py1645CODE
LOWcli.py1770CODE
LOWcli.py2173CODE
LOWcli.py2560CODE
LOWcli.py2823CODE
LOWcli.py3023CODE
LOWcli.py3136CODE
LOWcli.py15789CODE
LOWcli.py3685CODE
LOWcli.py4428CODE
LOWcli.py4933CODE
LOWcli.py5131CODE
LOWcli.py5253CODE
LOWcli.py5455CODE
LOWcli.py5622CODE
LOWcli.py6040CODE
LOWcli.py6410CODE
LOWcli.py6476CODE
LOWcli.py7025CODE
LOWcli.py7268CODE
LOWcli.py7504CODE
LOWcli.py7961CODE
LOWcli.py8433CODE
LOWcli.py9175CODE
LOWcli.py9441CODE
LOWcli.py9875CODE
LOWcli.py10188CODE
LOWcli.py10454CODE
1493 more matches not shown…
Cross-File Repetition193 hits · 965 pts
SeverityFileLineSnippetContext
HIGHhermes_cli/subcommands/update.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/prompt_size.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/auth.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/logout.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/backup.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/hooks.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/postinstall.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/config.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/version.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/whatsapp.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/webhook.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/profile.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/security.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/model.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/dump.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/setup.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/logs.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/debug.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/uninstall.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/login.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/import_cmd.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/doctor.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/gui.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/slack.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/status.py0``hermes status`` subcommand parser. extracted verbatim from ``hermes_cli/main.py:main()`` (god-file phase 2). handler iSTRING
HIGHhermes_cli/subcommands/plugins.py0``hermes claw`` subcommand parser. extracted from ``hermes_cli/main.py:main()`` (god-file phase 2 follow-up). handler inSTRING
HIGHhermes_cli/subcommands/skills.py0``hermes claw`` subcommand parser. extracted from ``hermes_cli/main.py:main()`` (god-file phase 2 follow-up). handler inSTRING
HIGHhermes_cli/subcommands/memory.py0``hermes claw`` subcommand parser. extracted from ``hermes_cli/main.py:main()`` (god-file phase 2 follow-up). handler inSTRING
HIGHhermes_cli/subcommands/tools.py0``hermes claw`` subcommand parser. extracted from ``hermes_cli/main.py:main()`` (god-file phase 2 follow-up). handler inSTRING
HIGHhermes_cli/subcommands/acp.py0``hermes claw`` subcommand parser. extracted from ``hermes_cli/main.py:main()`` (god-file phase 2 follow-up). handler inSTRING
HIGHhermes_cli/subcommands/mcp.py0``hermes claw`` subcommand parser. extracted from ``hermes_cli/main.py:main()`` (god-file phase 2 follow-up). handler inSTRING
HIGHhermes_cli/subcommands/insights.py0``hermes claw`` subcommand parser. extracted from ``hermes_cli/main.py:main()`` (god-file phase 2 follow-up). handler inSTRING
HIGHhermes_cli/subcommands/pairing.py0``hermes claw`` subcommand parser. extracted from ``hermes_cli/main.py:main()`` (god-file phase 2 follow-up). handler inSTRING
HIGHhermes_cli/subcommands/claw.py0``hermes claw`` subcommand parser. extracted from ``hermes_cli/main.py:main()`` (god-file phase 2 follow-up). handler inSTRING
HIGHplugins/platforms/dingtalk/adapter.py0plugin entry point — called by the hermes plugin system.STRING
HIGHplugins/platforms/discord/adapter.py0plugin entry point — called by the hermes plugin system.STRING
HIGHplugins/platforms/homeassistant/adapter.py0plugin entry point — called by the hermes plugin system.STRING
HIGHplugins/platforms/sms/adapter.py0plugin entry point — called by the hermes plugin system.STRING
HIGHplugins/platforms/feishu/adapter.py0plugin entry point — called by the hermes plugin system.STRING
HIGHplugins/platforms/telegram/adapter.py0plugin entry point — called by the hermes plugin system.STRING
HIGHplugins/platforms/raft/adapter.py0plugin entry point — called by the hermes plugin system.STRING
HIGHplugins/platforms/teams/adapter.py0plugin entry point — called by the hermes plugin system.STRING
HIGHplugins/platforms/slack/adapter.py0plugin entry point — called by the hermes plugin system.STRING
HIGHplugins/platforms/mattermost/adapter.py0plugin entry point — called by the hermes plugin system.STRING
HIGHplugins/platforms/matrix/adapter.py0plugin entry point — called by the hermes plugin system.STRING
HIGHplugins/platforms/email/adapter.py0plugin entry point — called by the hermes plugin system.STRING
HIGHplugins/platforms/whatsapp/adapter.py0plugin entry point — called by the hermes plugin system.STRING
HIGH…bsite/docs/developer-guide/adding-platform-adapters.md0plugin entry point — called by the hermes plugin system.STRING
HIGHplugins/platforms/discord/adapter.py0check if message reactions are enabled via config/env.STRING
HIGHplugins/platforms/telegram/adapter.py0check if message reactions are enabled via config/env.STRING
HIGHplugins/platforms/slack/adapter.py0check if message reactions are enabled via config/env.STRING
HIGHplugins/platforms/discord/adapter.py0wait for the quiet period then dispatch the aggregated text. uses a longer delay when the latest chunk is near telegram'STRING
HIGHplugins/platforms/wecom/adapter.py0wait for the quiet period then dispatch the aggregated text. uses a longer delay when the latest chunk is near telegram'STRING
HIGHplugins/platforms/telegram/adapter.py0wait for the quiet period then dispatch the aggregated text. uses a longer delay when the latest chunk is near telegram'STRING
HIGHplugins/platforms/ntfy/adapter.py0plugin entry point — called by the hermes plugin system at startup.STRING
HIGHplugins/platforms/simplex/adapter.py0plugin entry point — called by the hermes plugin system at startup.STRING
HIGHplugins/platforms/line/adapter.py0plugin entry point — called by the hermes plugin system at startup.STRING
HIGHplugins/platforms/simplex/adapter.py0wait for quiet period then dispatch aggregated text.STRING
HIGHplugins/platforms/matrix/adapter.py0wait for quiet period then dispatch aggregated text.STRING
HIGHplugins/platforms/whatsapp/adapter.py0wait for quiet period then dispatch aggregated text.STRING
133 more matches not shown…
Structural Annotation Overuse596 hits · 939 pts
SeverityFileLineSnippetContext
LOWhermes_state.py4768 # Step 2: Strip remaining (unmatched) FTS5-special characters. ``:`` isCOMMENT
LOWhermes_state.py4775 # Step 3: Collapse repeated * (e.g. "***") into a single one,COMMENT
LOWhermes_state.py4780 # Step 4: Remove dangling boolean operators at start/end that wouldCOMMENT
LOWhermes_state.py4785 # Step 5: Wrap unquoted dotted and/or hyphenated terms in doubleCOMMENT
LOWhermes_state.py4793 # Step 6: Restore preserved quoted phrasesCOMMENT
LOWhermes_state.py4742 # Step 1: Extract balanced double-quoted phrases and protect themCOMMENT
LOWtools/skills_hub.py1727 # Step 1: fetch the sitemap index → list of skill-sitemap URLs.COMMENT
LOWtools/skills_hub.py1749 # Step 2: fetch each skill sitemap and collect canonical "owner/repo/skill" IDs.COMMENT
LOWtools/skills_sync.py846 # Step 2: drop the manifest entry so next sync treats it as newCOMMENT
LOWtools/skills_sync.py851 # Step 3: run sync to re-baseline (or re-copy if we deleted)COMMENT
LOWtools/mcp_oauth_manager.py650 # Step 1: Did disk change? Picks up external refresh.COMMENT
LOWtools/mcp_oauth_manager.py659 # Step 2: No disk change — if the SDK can refreshCOMMENT
LOWtools/mcp_oauth_manager.py245 # Step 1: PRM discovery to learn the authorization_server URL.COMMENT
LOWtools/mcp_oauth_manager.py267 # Step 2: ASM discovery against the auth_server_url (orCOMMENT
LOWtools/yuanbao_tools.py372 # Step 2: Send text DM + mediaCOMMENT
LOWtools/yuanbao_tools.py382 # Step 3: Send media filesCOMMENT
LOWtools/yuanbao_tools.py324 # Step 1: Resolve user_id from group member list if not providedCOMMENT
LOWtools/send_message_tool.py1872 # Step 1: Get access tokenCOMMENT
LOWtools/send_message_tool.py1884 # Step 2: Send message via RESTCOMMENT
LOWtools/computer_use/cua_backend.py1253 # Step 1: enumerate on-screen windows to find target pid/window_id.COMMENT
LOWtools/computer_use/cua_backend.py1366 # Step 2: capture.COMMENT
LOWhermes_cli/auth.py7344 # Step 2: Show user the codeCOMMENT
LOWhermes_cli/auth.py7352 # Step 3: Poll for authorization codeCOMMENT
LOWhermes_cli/auth.py7275 # Step 1: Request device code. OpenAI's auth endpoint rate-limits thisCOMMENT
LOWhermes_cli/auth.py7387 # Step 4: Exchange authorization code for tokensCOMMENT
LOWhermes_cli/skills_config.py161 # Step 1: Select platformCOMMENT
LOWhermes_cli/skills_config.py165 # Step 2: Select mode — individual or by categoryCOMMENT
LOWhermes_cli/dingtalk_auth.py66 # Step 1: init → nonceCOMMENT
LOWhermes_cli/dingtalk_auth.py72 # Step 2: begin → device_code, verification_uri_completeCOMMENT
LOWhermes_cli/send_cmd.py230 # Step 1: dotenvCOMMENT
LOWhermes_cli/send_cmd.py254 # Step 2: bridge top-level config.yaml values into the environment soCOMMENT
LOWhermes_cli/web_server.py9442 # Step 1: request device codeCOMMENT
LOWhermes_cli/web_server.py9469 # Step 2: poll until authorizedCOMMENT
LOWhermes_cli/web_server.py9493 # Step 3: exchange authorization_code for tokensCOMMENT
LOWhermes_cli/model_setup_flows.py1909 # Step 1: Check / prompt for API keyCOMMENT
LOWhermes_cli/model_setup_flows.py1922 # Step 2: Auto-detect endpoint from key prefixCOMMENT
LOWhermes_cli/model_setup_flows.py1935 # Step 3: Model selection — show appropriate models for the endpointCOMMENT
LOWhermes_cli/setup.py2971 # Step 2: Terminal Backend — where commands run is a core decisionCOMMENT
LOWhermes_cli/setup.py2974 # Step 3: Apply defaults for everything elseCOMMENT
LOWhermes_cli/setup.py2979 # Step 4: Offer messaging gateway setupCOMMENT
LOWhermes_cli/setup.py2943 # Step 1: Nous Portal — OAuth login + model selection.COMMENT
LOWhermes_cli/tools_config.py1184 # Step 2: only the local browser provider actually needs Chromium onCOMMENT
LOWhermes_cli/tools_config.py1190 # Step 3: ensure the Chromium / headless-shell build agent-browserCOMMENT
LOWhermes_cli/tools_config.py1158 # Step 1: install the agent-browser npm package into node_modules/COMMENT
LOWhermes_cli/copilot_auth.py184 # Step 1: Request device codeCOMMENT
LOWhermes_cli/copilot_auth.py217 # Step 2: Show instructionsCOMMENT
LOWhermes_cli/copilot_auth.py224 # Step 3: Poll for completionCOMMENT
LOWhermes_cli/main.py3021 # Step 1: Provider selection.COMMENT
LOWhermes_cli/main.py3120 # Step 2: Provider-specific setup + model selectionCOMMENT
LOWhermes_cli/main.py8151 # Step 1: root install (no workspace recursion).COMMENT
LOWhermes_cli/main.py8172 # Step 2: install only the workspaces update needs (ui-tui, web).COMMENT
LOWplugins/platforms/dingtalk/adapter.py1054 # Step 1: Create card with STREAM callback typeCOMMENT
LOWplugins/platforms/dingtalk/adapter.py1082 # Step 2: Deliver card to the conversationCOMMENT
LOWplugins/platforms/dingtalk/adapter.py1122 # Step 3: Stream initial content. finalize=True closes theCOMMENT
LOWplugins/platforms/homeassistant/adapter.py150 # Step 1: Receive auth_requiredCOMMENT
LOWplugins/platforms/homeassistant/adapter.py157 # Step 2: Send authCOMMENT
LOWplugins/platforms/homeassistant/adapter.py163 # Step 3: Wait for auth_okCOMMENT
LOWplugins/platforms/homeassistant/adapter.py170 # Step 4: Subscribe to state_changed eventsCOMMENT
LOWplugins/platforms/feishu/feishu_comment.py1197 # Step 2: Parallel fetch -- doc meta + comment detailsCOMMENT
LOWplugins/platforms/feishu/feishu_comment.py1216 # Step 3: Build timeline based on comment typeCOMMENT
536 more matches not shown…
Over-Commented Block1264 hits · 836 pts
SeverityFileLineSnippetContext
LOWdocker-compose.windows.yml1#COMMENT
LOWsetup-hermes.sh1#!/bin/bashCOMMENT
LOWsetup-hermes.sh241 # (the direct deps in pyproject.toml are exact-pinned, butCOMMENT
LOW.hadolint.yaml1# hadolint configuration for the Hermes Agent Dockerfile.COMMENT
LOW.hadolint.yaml21 - DL3003COMMENT
LOWhermes_bootstrap.py81 os.environ.setdefault("PYTHONIOENCODING", "utf-8")COMMENT
LOWhermes_bootstrap.py181 # Bootstrap must never crash an entry point. If activation fails theCOMMENT
LOWrun_agent.py41import osCOMMENT
LOWrun_agent.py241 return isinstance(msg, dict) and any(COMMENT
LOWrun_agent.py261COMMENT
LOWrun_agent.py1781 if not self._session_db:COMMENT
LOWrun_agent.py1801 # assumes the live `messages` list is the original history plus aCOMMENT
LOWrun_agent.py4701 prepended_break = TrueCOMMENT
LOWrun_agent.py5701 """COMMENT
LOWtoolsets.py41 "read_file", "write_file", "patch", "search_files",COMMENT
LOWtoolsets.py361 ],COMMENT
LOWpyproject.toml21authors = [{ name = "Nous Research" }]COMMENT
LOWpyproject.toml61 # Interactive CLI (prompt_toolkit is used directly by cli.py)COMMENT
LOWpyproject.toml81 # (~108KB, no compiled extensions, no platform constraints), so unlike theCOMMENT
LOWpyproject.toml101 # macOS and Windows. It replaces POSIX-only idioms like `os.kill(pid, 0)`COMMENT
LOWpyproject.toml121 # shrink paths no-op, so an oversized image bakes into immutable history andCOMMENT
LOWpyproject.toml181 # Kept as a no-op back-compat alias — `ptyprocess` and `pywinpty` are nowCOMMENT
LOWpyproject.toml201# sse-starlette / HTTP-SSE stack (and by fastapi in the `web` extra). BeforeCOMMENT
LOWpyproject.toml261]COMMENT
LOWpyproject.toml281 # otherwise one quarantined PyPI release breaks every fresh install.COMMENT
LOWpyproject.toml321# `gateway.reset.header_default` (#27632, #35374, #23943).COMMENT
LOWhermes_logging.py41COMMENT
LOWhermes_logging.py541COMMENT
LOWcli.py761 passCOMMENT
LOWcli.py2061COMMENT
LOWcli.py2661 returnCOMMENT
LOWcli.py2861 resolved = path.resolve()COMMENT
LOWcli.py4041 self._interrupt_queue = queue.Queue()COMMENT
LOWcli.py4781 _m, _s = int(elapsed // 60), int(elapsed % 60)COMMENT
LOWcli.py7121 elif title is not None:COMMENT
LOWcli.py9201 # Slash commands don't count as "real user messages" for thisCOMMENT
LOWcli.py9581 # (the head's compressed output ends on assistant/tool).COMMENT
LOWcli.py10781 # Refresh the agent's tool list so the model can call new tools.COMMENT
LOWcli.py11001 self._tool_start_time = 0.0COMMENT
LOWcli.py13021 """COMMENT
LOWcli.py13181 _welcome_color = "#FFF8DC"COMMENT
LOWcli.py13481 if self._should_handle_model_command_inline(text, has_images=has_images):COMMENT
LOWcli.py15021 'approval-selected': '#FFD700 bold',COMMENT
LOWcli.py15061 # iTerm2, Windows Terminal). See #48309.COMMENT
LOWcli.py15081 # to suppress the deliberate "reserve vertical space" scroll-up.COMMENT
LOWcli.py15321 # while the agent was running and were never claimed byCOMMENT
LOWcli.py15421 except (TypeError, ValueError):COMMENT
LOWcli.py15461 # KeyboardInterrupt in MainThread. Windows Terminal / Win32COMMENT
LOWcli.py15481 # background thread spawns a .cmd subprocess, andCOMMENT
LOWcli.py16001 atexit.register(_run_cleanup)COMMENT
LOWcli.py16241COMMENT
LOWhermes_state.py141DEFAULT_DB_PATH = get_hermes_home() / "state.db"COMMENT
LOWhermes_state.py161# silently — /resume, /title, /history, /branch, kanban dispatcher, etc.COMMENT
LOWhermes_state.py441# before it runs — including ``PRAGMA journal_mode`` (which is why this tripsCOMMENT
LOWhermes_state.py941 Thread-safe for the common gateway pattern (multiple reader threads,COMMENT
LOWhermes_state.py961 # into tens of thousands of segments, so every MATCH must scan them allCOMMENT
LOWhermes_state.py1501 # backfills, index changes tied to a specific version step) stayCOMMENT
LOWhermes_state.py1621 # sessions.json so pre-migration gateway sessions areCOMMENT
LOWhermes_state.py2341 # Atomic per-session locks that prevent two compression paths fromCOMMENT
LOWhermes_state.py2661 model if has_accounted_usage else None,COMMENT
1204 more matches not shown…
Modern AI Meta-Vocabulary250 hits · 723 pts
SeverityFileLineSnippetContext
MEDIUMbatch_runner.py1054 # Check for invalid tool names (model hallucinations)COMMENT
MEDIUMrun_agent.py217# recovery scaffolding: the synthetic assistant "(empty)" turn and user nudgeCOMMENT
MEDIUMrun_agent.py252# list (e.g. by scaffolding rewind or in-place compaction) and garbage-COMMENT
MEDIUMrun_agent.py1707 # Pass 1: strip the flagged scaffolding messages themselves.COMMENT
MEDIUMrun_agent.py1720 # Pass 2: if we stripped scaffolding, rewind through any trailingCOMMENT
MEDIUMrun_agent.py1724 # result. Only runs when scaffolding was actually present — normalCOMMENT
MEDIUMrun_agent.py1839 # Never write ephemeral recovery scaffolding to the sessionCOMMENT
MEDIUMrun_agent.py2593 # Mirror the SQLite flush: ephemeral recovery scaffolding isCOMMENT
MEDIUMrun_agent.py3133 # each turn for repeatable testing, bypassing real headers. Throwaway scaffolding.COMMENT
MEDIUMtoolsets.py70 # Kanban multi-agent coordination — only in schema when the agent isCOMMENT
MEDIUMcli.py3801 # authoritative. This avoids conflicts in multi-agent setups whereCOMMENT
MEDIUMcli.py3914 # Ephemeral prefill messages (few-shot priming, never persisted)COMMENT
MEDIUMcli.py6231 # Warn if the configured model is a Nous Hermes LLM (not agentic)COMMENT
MEDIUMCONTRIBUTING.md220├── model_tools.py # Tool orchestration (thin layer over tools/registry.py)CODE
MEDIUMCONTRIBUTING.md249│ ├── terminal_tool.py # Terminal orchestration (sudo, env lifecycle, backends)CODE
MEDIUMmodel_tools.py1074 # downstream hook (pre/post, edit approval, guardrails) sees the realCOMMENT
MEDIUMmodel_tools.py450 # descriptions that don't actually exist, and hallucinates calls to them.COMMENT
MEDIUMmodel_tools.py497 # "prefer web_search or web_extract" which causes the model to hallucinateCOMMENT
MEDIUMAGENTS.md233├── model_tools.py # Tool orchestration, discover_builtin_tools(), handle_function_call()CODE
MEDIUMAGENTS.md1087## Kanban (multi-agent work queue)COMMENT
MEDIUMtools/voice_mode.py821# Whisper hallucination filterCOMMENT
MEDIUMtools/voice_mode.py823# Whisper commonly hallucinates these phrases on silent/near-silent audio.COMMENT
MEDIUMtools/voice_mode.py898 # Filter out Whisper hallucinations (common on silent/near-silent audio)COMMENT
MEDIUMtools/voice_mode.py842 # Non-English hallucinations (common on silence)COMMENT
MEDIUMtools/voice_mode.py854# Regex patterns for repetitive hallucinations (e.g. "Thank you. Thank you. Thank you.")COMMENT
MEDIUMtools/tts_tool.py225# context window. Users can override any of these viaCOMMENT
MEDIUMtools/tts_tool.py234 "gemini": 32000, # Gemini TTS has a 32k-token context window; char cap is conservativeCODE
MEDIUMtools/budget_config.py70# Fraction of a model's context window we allow a SINGLE tool result to occupyCOMMENT
MEDIUMtools/approval.py1732# Approval prompting + orchestrationCOMMENT
MEDIUMdocker/entrypoint.sh9# orchestration script that invokes it inside the container), forward toCOMMENT
MEDIUMhermes_cli/auth.py5202 # Skip Hermes models — they're not reliable for agentic tool-callingCOMMENT
MEDIUMhermes_cli/gateway.py4798 # is diagnostic scaffolding; cheap to keep on, costs nothing duringCOMMENT
MEDIUMhermes_cli/config.py1535 # See: https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.htmlCOMMENT
MEDIUMhermes_cli/config.py1535 # See: https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.htmlCOMMENT
MEDIUMhermes_cli/config.py1349 # model's context window (floor 20K, ceiling 500K) so large-context modelsCOMMENT
MEDIUMhermes_cli/config.py1394 # Tool loop guardrails nudge models when they repeat failed orCOMMENT
MEDIUMhermes_cli/config.py2176 # Context engine -- controls how the context window is managed whenCOMMENT
MEDIUMhermes_cli/config.py2235 # the parent's context window and trigger a compression/429 deathCOMMENT
MEDIUMhermes_cli/config.py2278 # injected at the start of every API call for few-shot priming.COMMENT
MEDIUMhermes_cli/config.py2716 # Kanban multi-agent coordination — controls the dispatcher loop thatCOMMENT
MEDIUMhermes_cli/config.py2741 # Profile assigned to the root/orchestration task after TriageCOMMENT
MEDIUMhermes_cli/config.py2794 # context window on every turn. When enabled, those tools are replacedCOMMENT
MEDIUMhermes_cli/models.py316 # Third-party agentic models hosted on build.nvidia.comCOMMENT
MEDIUMhermes_cli/models.py520 # Curated HF model list — only agentic models that map to OpenRouter defaults.COMMENT
MEDIUMhermes_cli/models.py2229# - "openrouter": curated list is already a hand-picked agentic subset ofCOMMENT
MEDIUMhermes_cli/models.py2411 # agentic catalog so ``/model`` matches what ``hermes model`` shows.COMMENT
MEDIUMhermes_cli/models.py2508 # agentic picks lead the picker instead of whatever the liveCOMMENT
MEDIUMhermes_cli/goals.py1073# GoalManager — the orchestration surface CLI + gateway talk toCOMMENT
MEDIUMhermes_cli/default_soul.py15# These templates contain no persona text -- they are pure comment scaffolding,COMMENT
MEDIUMhermes_cli/default_soul.py42 # block / trailing newline in some historical revisions; the bare scaffoldCOMMENT
MEDIUMhermes_cli/model_switch.py121# Non-agentic model warningCOMMENT
MEDIUMhermes_cli/model_switch.py1875 # `hermes model` picker deliberately shows ONLY the curated agenticCOMMENT
MEDIUMhermes_cli/model_setup_flows.py338 # shows only agentic models users recognize from OpenRouter.COMMENT
MEDIUMhermes_cli/model_setup_flows.py2672 # 1. models.dev registry (cached, filtered for agentic/tool-capable models)COMMENT
MEDIUMhermes_cli/kanban_diagnostics.py184 # which hallucination events are still "active" (no clean eventCOMMENT
MEDIUMplugins/platforms/matrix/adapter.py2659 # Prevents infinite reply loops in multi-agent shared roomsCOMMENT
MEDIUMplugins/memory/honcho/client.py331 # honcho_reasoning tool param (agentic). When false, always usesCOMMENT
MEDIUMplugins/google_meet/meet_bot.py447def run_bot() -> int: # noqa: C901 — orchestration, explicit branchesSTRING
MEDIUMplugins/web/parallel/provider.py20 # Optional: search mode (default "agentic"; also "fast" or "one-shot")STRING
MEDIUMplugins/web/parallel/provider.py26 PARALLEL_SEARCH_MODE=agentic # optional: agentic|fast|one-shotSTRING
190 more matches not shown…
Modern Structural Boilerplate504 hits · 488 pts
SeverityFileLineSnippetContext
LOWbatch_runner.py46logger = logging.getLogger(__name__)CODE
LOWrun_agent.py5635 def _set_tool_guardrail_halt(self, decision: ToolGuardrailDecision) -> None:CODE
LOWrun_agent.py40logger = logging.getLogger(__name__)CODE
LOWhermes_logging.py165def set_session_context(session_id: str) -> None:CODE
LOWhermes_time.py22logger = logging.getLogger(__name__)CODE
LOWcli.py5032 def set_voice_record_key_cache(self, raw_key: object) -> None:CODE
LOWcli.py47logger = logging.getLogger(__name__)CODE
LOWcli.py7569 def _setup_modal() -> None:CODE
LOWutils.py16logger = logging.getLogger(__name__)CODE
LOWhermes_state.py32logger = logging.getLogger(__name__)CODE
LOWhermes_state.py197def _set_last_init_error(msg: Optional[str]) -> None:CODE
LOWhermes_state.py1837 def set_expiry_finalized(self, session_id: str, finalized: bool = True) -> None:CODE
LOWhermes_state.py2324 def set_compression_fallback_streak(self, session_id: str, streak: int) -> None:CODE
LOWhermes_state.py2512 def update_system_prompt(self, session_id: str, system_prompt: str) -> None:CODE
LOWhermes_state.py2521 def update_session_model(self, session_id: str, model: str) -> None:CODE
LOWhermes_state.py6384 def set_meta(self, key: str, value: str) -> None:CODE
LOWmodel_tools.py35logger = logging.getLogger(__name__)CODE
LOWtools/schema_sanitizer.py43logger = logging.getLogger(__name__)CODE
LOWtools/voice_mode.py25logger = logging.getLogger(__name__)CODE
LOWtools/tool_search.py713__all__ = [CODE
LOWtools/vision_tools.py49logger = logging.getLogger(__name__)CODE
LOWtools/process_registry.py51logger = logging.getLogger(__name__)CODE
LOWtools/web_tools.py103logger = logging.getLogger(__name__)CODE
LOWtools/lazy_deps.py82logger = logging.getLogger(__name__)CODE
LOWtools/daemon_pool.py34__all__ = ["DaemonThreadPoolExecutor"]CODE
LOWtools/tts_tool.py58logger = logging.getLogger(__name__)CODE
LOWtools/tirith_security.py39logger = logging.getLogger(__name__)CODE
LOWtools/browser_dialog_tool.py25logger = logging.getLogger(__name__)CODE
LOWtools/path_security.py12logger = logging.getLogger(__name__)CODE
LOWtools/url_safety.py37logger = logging.getLogger(__name__)CODE
LOWtools/skills_hub.py43logger = logging.getLogger(__name__)CODE
LOWtools/write_approval.py55logger = logging.getLogger(__name__)CODE
LOWtools/clarify_gateway.py40logger = logging.getLogger(__name__)CODE
LOWtools/registry.py27logger = logging.getLogger(__name__)CODE
LOWtools/mcp_oauth.py55logger = logging.getLogger(__name__)CODE
LOWtools/mcp_oauth.py352 async def set_tokens(self, tokens: "OAuthToken") -> None:CODE
LOWtools/mcp_oauth.py384 async def set_client_info(self, client_info: "OAuthClientInformationFull") -> None:CODE
LOWtools/transcription_tools.py49logger = logging.getLogger(__name__)CODE
LOWtools/env_probe.py40logger = logging.getLogger(__name__)CODE
LOWtools/interrupt.py21logger = logging.getLogger(__name__)CODE
LOWtools/interrupt.py39def set_interrupt(active: bool, thread_id: int | None = None) -> None:CODE
LOWtools/async_delegation.py52logger = logging.getLogger(__name__)CODE
LOWtools/thread_context.py40logger = logging.getLogger(__name__)CODE
LOWtools/osv_check.py20logger = logging.getLogger(__name__)CODE
LOWtools/memory_tool.py49logger = logging.getLogger(__name__)CODE
LOWtools/__init__.py25__all__ = ["check_file_requirements"]CODE
LOWtools/skill_usage.py39logger = logging.getLogger(__name__)CODE
LOWtools/skill_usage.py657def set_state(skill_name: str, state: str) -> None:CODE
LOWtools/skill_usage.py672def set_pinned(skill_name: str, pinned: bool) -> None:CODE
LOWtools/credential_files.py31logger = logging.getLogger(__name__)CODE
LOWtools/cronjob_tools.py17logger = logging.getLogger(__name__)CODE
LOWtools/file_tools.py23logger = logging.getLogger(__name__)CODE
LOWtools/file_tools.py1578def _update_read_timestamp(filepath: str, task_id: str) -> None:CODE
LOWtools/blueprints.py39logger = logging.getLogger(__name__)CODE
LOWtools/blueprints.py41__all__ = [CODE
LOWtools/read_extract.py16__all__ = ["EXTRACTABLE_EXTENSIONS", "ExtractionError", "extract_document_text", "is_extractable_document"]CODE
LOWtools/skills_sync.py36logger = logging.getLogger(__name__)CODE
LOWtools/browser_cdp_tool.py27logger = logging.getLogger(__name__)CODE
LOWtools/debug_helpers.py33logger = logging.getLogger(__name__)CODE
LOWtools/browser_tool.py151logger = logging.getLogger(__name__)CODE
444 more matches not shown…
Self-Referential Comments133 hits · 430 pts
SeverityFileLineSnippetContext
MEDIUMcli.py1474 # Create the worktreeCOMMENT
MEDIUMcli.py14234 # Create the input area with multiline (Alt+Enter), autocomplete, and paste handlingCOMMENT
MEDIUMcli.py15048 # Create the applicationCOMMENT
MEDIUMcli.py15873 # Create an isolated worktree so this agent instance doesn't collideCOMMENT
MEDIUMtrajectory_compressor.py1469 # Create a temporary directory for processingCOMMENT
MEDIUMtrajectory_compressor.py1516 # Create a temp directory with sampled filesCOMMENT
MEDIUMtools/skill_manager_tool.py821 # Create the skill directoryCOMMENT
MEDIUMtools/discord_tool.py602 # Create a standalone threadCOMMENT
MEDIUMdocker/stage2-hook.sh77# Create the directory (and any missing parents) while we still have rootCOMMENT
MEDIUMhermes_cli/backup.py376 # Create the zipCOMMENT
MEDIUMhermes_cli/config.py1534 # Create a guardrail in the Bedrock console, then set the ID and version here.COMMENT
MEDIUMhermes_cli/cli_commands_mixin.py915 # Create the new session with parent link.COMMENT
MEDIUMplugins/platforms/matrix/adapter.py1173 # Create the HTTP API layer.COMMENT
MEDIUMplugins/platforms/matrix/adapter.py1181 # Create the client.COMMENT
MEDIUMplugins/platforms/whatsapp/adapter.py722 # Create a persistent HTTP session for all bridge communicationCOMMENT
MEDIUMplugins/memory/honcho/__init__.py448 # Create the remote session before running startup-only migration andCOMMENT
MEDIUMtests/test_tui_gateway_server.py4748 # Create a minimal PNG file with a space in its nameCOMMENT
MEDIUMtests/test_toolsets.py65 # Create a cycle: A includes B, B includes ACOMMENT
MEDIUMtests/test_mcp_serve.py186 # Create a mock SessionDB that reads from our test DBCOMMENT
MEDIUMtests/test_mcp_serve.py1094 # Create a mock SessionDB that reads our test DBCOMMENT
MEDIUMtests/test_hermes_state.py2403 # Create a recent sessionCOMMENT
MEDIUMtests/test_hermes_state.py4364 # Create a newer standalone session that should sort above the lineageCOMMENT
MEDIUMtests/test_timezone.py248 # Create a job with a NAIVE past timestamp (simulating pre-tz data)COMMENT
MEDIUMtests/test_timezone.py297 # Create an aware datetime in UTCCOMMENT
MEDIUMtests/test_timezone.py273 # Create a naive datetime — will be interpreted as system-local timeCOMMENT
MEDIUMtests/test_hermes_logging.py1119 # Create a stderr-like stream with ASCII encodingCOMMENT
MEDIUMtests/test_hermes_constants.py568 # Create a symlink with fewer path componentsCOMMENT
MEDIUMtests/honcho_plugin/test_session.py875 # Create a cached session so dialectic_query doesn't bail earlyCOMMENT
MEDIUMtests/tools/test_transcription_tools.py770 # Create a directory with a valid audio extensionCOMMENT
MEDIUMtests/tools/test_modal_bulk_upload.py182 # Create a minimal env without full __init__COMMENT
MEDIUMtests/tools/test_docker_find.py26 # Create a fake docker binary at a known pathCOMMENT
MEDIUMtests/tools/test_kanban_tools.py594 # Create a real child via the tool so it gets the worker-profileCOMMENT
MEDIUMtests/tools/test_browser_hardening.py228 # Create a snapshot that exceeds 8000 charsCOMMENT
MEDIUMtests/tools/test_browser_homebrew_paths.py365 # Create a mock Popen that captures the env dictCOMMENT
MEDIUMtests/tools/test_send_message_tool.py1406 # Create a test fileCOMMENT
MEDIUMtests/tools/test_tirith_security.py1021 # Create a fake executableCOMMENT
MEDIUMtests/tools/test_browser_orphan_reaper.py163 # Create a dir that doesn't match h_* or cdp_* patternCOMMENT
MEDIUMtests/tools/test_skill_view_traversal.py24 # Create a legitimate file inside the skillCOMMENT
MEDIUMtests/tools/test_skill_view_traversal.py29 # Create a sensitive file outside skills dir (simulating .env)COMMENT
MEDIUMtests/tools/test_browser_lightpanda.py187 # Create a tiny file simulating the Lightpanda placeholder PNGCOMMENT
MEDIUMtests/tools/test_browser_lightpanda.py203 # Create a larger file simulating a real Chrome screenshotCOMMENT
MEDIUMtests/tools/test_credential_files.py145 # Create a symlink pointing outside the skills treeCOMMENT
MEDIUMtests/tools/test_credential_files.py223 # Create a sensitive file one level above hermes_homeCOMMENT
MEDIUMtests/tools/test_credential_files.py238 # Create a fake sensitive file outside hermes_homeCOMMENT
MEDIUMtests/tools/test_credential_files.py254 # Create a file at an absolute pathCOMMENT
MEDIUMtests/tools/test_credential_files.py296 # Create a sensitive file outside hermes_homeCOMMENT
MEDIUMtests/tools/test_credential_files.py300 # Create a symlink inside hermes_home pointing outsideCOMMENT
MEDIUMtests/tools/test_docker_environment.py1498 # Create a directory that looks like a corrupted credential file pathCOMMENT
MEDIUMtests/tools/test_mcp_stability.py599 # Create a mock HermesCLI-like object with the needed attributesCOMMENT
MEDIUMtests/tools/test_skill_size_limits.py90 # Create a small skill firstCOMMENT
MEDIUMtests/tools/test_skill_size_limits.py107 # Create a skill near the limitCOMMENT
MEDIUMtests/tools/test_skill_size_limits.py147 # Create a supporting fileCOMMENT
MEDIUMtests/tools/test_vision_tools.py633 # Create a fake image file under a fake home directoryCOMMENT
MEDIUMtests/tools/test_vision_tools.py847 # Create a small 10x10 red PNGCOMMENT
MEDIUMtests/tools/test_vision_tools.py866 # Create a large image that will exceed 5 MB in base64COMMENT
MEDIUMtests/tools/test_vision_tools.py970 # Create a dummy fileCOMMENT
MEDIUMtests/tools/test_voice_mode.py962 # Create a file that doesn't match the patternCOMMENT
MEDIUMtests/tools/test_sync_back_backends.py216 # Create a fake control socket so cleanup tries the SSH exitCOMMENT
MEDIUMtests/tools/test_interrupt.py120 # Create a minimal mock agent with _interrupt_requested = TrueCOMMENT
MEDIUMtests/docker/test_container_restart.py81 # Create the profile + start its gateway. The Phase 4 hooksCOMMENT
73 more matches not shown…
Fake / Example Data266 hits · 246 pts
SeverityFileLineSnippetContext
LOWcli.py14981 'placeholder': '#888888 italic',CODE
LOWhermes_cli/auth.py548 "placeholder",CODE
LOWhermes_cli/web_server.py4830 "placeholder": str(raw.get("placeholder") or ""),CODE
LOWhermes_cli/web_server.py4972 "placeholder": field["placeholder"],CODE
LOWhermes_cli/web_server.py5224 "placeholder": field.placeholder,CODE
LOWhermes_cli/skin_engine.py889 "placeholder": f"{dim} italic",CODE
LOWplugins/platforms/feishu/adapter.py301 "placeholder",CODE
LOWplugins/platforms/slack/adapter.py233 "placeholder",CODE
LOWplugins/memory/holographic/store.py451 1. Capitalized multi-word phrases e.g. "John Doe"CODE
LOWoptional-skills/mlops/research/dspy/SKILL.md358print(result.person.name) # "John Doe"CODE
LOW…ional-skills/mlops/research/dspy/references/modules.md236print(result.person.name) # "John Doe"CODE
LOWoptional-skills/mlops/inference/outlines/SKILL.md78print(user.name) # "John Doe"CODE
LOWoptional-skills/mlops/instructor/SKILL.md70print(user.name) # "John Doe"CODE
LOWoptional-skills/mlops/instructor/SKILL.md636 "name": "John Doe",STRING
LOWoptional-skills/mlops/instructor/SKILL.md678 "name": "John Doe",CODE
LOWoptional-skills/productivity/here-now/SKILL.md140 -d '{"email": "user@example.com"}'CODE
LOWoptional-skills/productivity/here-now/SKILL.md149 -d '{"email":"user@example.com","code":"ABCD-2345"}'CODE
LOW…/user-guide/skills/bundled/creative/creative-sketch.md103- Realistic fake content — actual sentences, actual names, not "Lorem ipsum"CODE
LOW…user-guide/skills/bundled/creative/creative-pretext.md67- **Real source/text, not lorem ipsum.** The corpus should mean something. Short manifestos, poetry, real source code, aCODE
LOW…user-guide/skills/bundled/creative/creative-pretext.md217- [ ] Corpus is real prose, not lorem ipsum, and matches the demo's conceptCODE
LOW…ide/skills/bundled/productivity/productivity-notion.md332- **Email:** `{"email": "user@example.com"}`CODE
LOW…e/skills/bundled/productivity/productivity-nano-pdf.md61nano-pdf edit contract.pdf 2 "Change the client name from 'Acme Corp' to 'Acme Industries'"CODE
LOW…e/skills/bundled/productivity/productivity-airtable.md122- Exact match: `{Email}='user@example.com'`CODE
LOW…e/skills/bundled/productivity/productivity-airtable.md184 {"fields": {"Email": "user@example.com", "Status": "Active"}}CODE
LOW…s/user-guide/skills/optional/mlops/mlops-instructor.md87print(user.name) # "John Doe"CODE
LOW…s/user-guide/skills/optional/mlops/mlops-instructor.md653 "name": "John Doe",STRING
LOW…s/user-guide/skills/optional/mlops/mlops-instructor.md695 "name": "John Doe",CODE
LOW…ser-guide/skills/optional/mlops/mlops-research-dspy.md375print(result.person.name) # "John Doe"CODE
LOW…uide/skills/optional/mlops/mlops-inference-outlines.md95print(user.name) # "John Doe"CODE
LOW…/skills/optional/productivity/productivity-here-now.md154 -d '{"email": "user@example.com"}'CODE
LOW…/skills/optional/productivity/productivity-here-now.md163 -d '{"email":"user@example.com","code":"ABCD-2345"}'CODE
LOW…/user-guide/skills/bundled/creative/creative-sketch.md103- 真实的虚假内容——实际句子、实际姓名,而非"Lorem ipsum"CODE
LOW…user-guide/skills/bundled/creative/creative-pretext.md67- **使用真实语料,而非 lorem ipsum。** 语料库应有意义。短篇宣言、诗歌、真实源代码、发现的文本、库自身的 README —— 绝不用 `lorem ipsum`。CODE
LOW…user-guide/skills/bundled/creative/creative-pretext.md217- [ ] 语料库为真实散文,非 lorem ipsum,且与演示概念匹配CODE
LOW…ide/skills/bundled/productivity/productivity-notion.md332- **邮箱(Email):** `{"email": "user@example.com"}`CODE
LOW…e/skills/bundled/productivity/productivity-nano-pdf.md61nano-pdf edit contract.pdf 2 "Change the client name from 'Acme Corp' to 'Acme Industries'"CODE
LOW…e/skills/bundled/productivity/productivity-airtable.md122- 精确匹配:`{Email}='user@example.com'`CODE
LOW…e/skills/bundled/productivity/productivity-airtable.md184 {"fields": {"Email": "user@example.com", "Status": "Active"}}CODE
LOW…t/user-guide/skills/optional/mlops/mlops-instructor.md87print(user.name) # "John Doe"CODE
LOW…t/user-guide/skills/optional/mlops/mlops-instructor.md653 "name": "John Doe",STRING
LOW…t/user-guide/skills/optional/mlops/mlops-instructor.md695 "name": "John Doe",CODE
LOW…uide/skills/optional/mlops/mlops-inference-outlines.md95print(user.name) # "John Doe"CODE
LOW…/skills/optional/productivity/productivity-here-now.md154 -d '{"email": "user@example.com"}'CODE
LOW…/skills/optional/productivity/productivity-here-now.md163 -d '{"email":"user@example.com","code":"ABCD-2345"}'CODE
LOWtests/test_mcp_serve.py1258 db_path.write_text("placeholder")CODE
LOWtests/tools/test_website_policy.py399 monkeypatch.setenv("FIRECRAWL_API_KEY", "fake-key")CODE
LOWtests/tools/test_website_policy.py445 monkeypatch.setenv("FIRECRAWL_API_KEY", "fake-key")CODE
LOWtests/tools/test_website_policy.py489 monkeypatch.setenv("FIRECRAWL_API_KEY", "fake-key")CODE
LOWtests/tools/test_local_env_blocklist.py68 "OPENAI_API_KEY": "sk-fake-key",CODE
LOWtests/tools/test_local_env_blocklist.py69 "OPENROUTER_API_KEY": "or-fake-key",CODE
LOWtests/tools/test_local_env_blocklist.py70 "ANTHROPIC_API_KEY": "ant-fake-key",CODE
LOWtests/tools/test_delegate.py1819 def fake_key(base_url, provider_name=None):CODE
LOWtests/tools/test_delegate.py1825 with patch("agent.credential_pool.get_custom_provider_pool_key", side_effect=fake_key), \CODE
LOWtests/tools/test_browser_secret_exfil.py209 fake_key = "sk-" + "FAKESECRETVALUE1234567890ABCDEF"CODE
LOWtests/tools/test_browser_secret_exfil.py212 f"text: API Key: {fake_key}\n"CODE
LOWtests/tools/test_browser_secret_exfil.py240 fake_key = "sk-" + "ANOTHERFAKEKEY99887766554433"CODE
LOWtests/tools/test_browser_secret_exfil.py242 f"text: OPENAI_API_KEY={fake_key}\n"CODE
LOWtests/tools/test_browser_secret_exfil.py297 fake_token = "ghp_" + "FAKEGITHUBTOKEN12345678901234"CODE
LOWtests/tools/test_browser_secret_exfil.py300 f"text: Token: {fake_token}\n"CODE
LOWtests/tools/test_browser_secret_exfil.py333 fake_key = "sk-" + "SUPERVISORDIALOGSECRET1234567890"CODE
206 more matches not shown…
Magic Placeholder Names37 hits · 192 pts
SeverityFileLineSnippetContext
HIGHhermes_cli/auth.py545 "your_api_key",CODE
HIGHhermes_cli/auth.py547 "your-api-key",CODE
HIGHoptional-skills/devops/cli/references/authentication.md30export INFSH_API_KEY=your-api-keyCODE
HIGHoptional-skills/mlops/research/dspy/SKILL.md296 api_key="your-api-key", # Or set ANTHROPIC_API_KEY env varCODE
HIGHoptional-skills/mlops/research/dspy/SKILL.md308 api_key="your-api-key",CODE
HIGHoptional-skills/mlops/guidance/SKILL.md276 api_key="your-api-key" # Or set ANTHROPIC_API_KEY env varCODE
HIGHoptional-skills/mlops/guidance/SKILL.md285 api_key="your-api-key" # Or set OPENAI_API_KEY env varCODE
HIGHoptional-skills/mlops/guidance/references/backends.md28 api_key="your-api-key-here"CODE
HIGHoptional-skills/mlops/guidance/references/backends.md53 api_key="your-api-key",CODE
HIGHoptional-skills/mlops/guidance/references/backends.md95 api_key="your-api-key-here"CODE
HIGHoptional-skills/mlops/guidance/references/backends.md120 api_key="your-api-key",CODE
HIGHoptional-skills/mlops/pinecone/SKILL.md54pc = Pinecone(api_key="your-api-key")CODE
HIGHoptional-skills/mlops/qdrant/SKILL.md422 api_key="your-api-key"CODE
HIGH…onal-skills/mlops/qdrant/references/troubleshooting.md117 api_key="your-api-key"CODE
HIGHoptional-skills/mlops/inference/outlines/SKILL.md228 api_key="your-api-key"CODE
HIGH…skills/mlops/inference/outlines/references/backends.md381model = outlines.models.openai("gpt-4o-mini", api_key="your-api-key")CODE
HIGH…skills/mlops/inference/outlines/references/backends.md393 api_key="your-api-key", # Or set OPENAI_API_KEY env varCODE
HIGHoptional-skills/mlops/instructor/SKILL.md345 Anthropic(api_key="your-api-key")CODE
HIGHoptional-skills/mlops/instructor/SKILL.md363 OpenAI(api_key="your-api-key")CODE
HIGH…tional-skills/mlops/instructor/references/providers.md16 Anthropic(api_key="your-api-key")CODE
HIGH…/docs/user-guide/skills/optional/mlops/mlops-qdrant.md439 api_key="your-api-key"CODE
HIGH…s/user-guide/skills/optional/mlops/mlops-instructor.md362 Anthropic(api_key="your-api-key")CODE
HIGH…s/user-guide/skills/optional/mlops/mlops-instructor.md380 OpenAI(api_key="your-api-key")CODE
HIGH…ocs/user-guide/skills/optional/mlops/mlops-pinecone.md71pc = Pinecone(api_key="your-api-key")CODE
HIGH…ser-guide/skills/optional/mlops/mlops-research-dspy.md313 api_key="your-api-key", # Or set ANTHROPIC_API_KEY env varCODE
HIGH…ser-guide/skills/optional/mlops/mlops-research-dspy.md325 api_key="your-api-key",CODE
HIGH…ocs/user-guide/skills/optional/mlops/mlops-guidance.md293 api_key="your-api-key" # Or set ANTHROPIC_API_KEY env varCODE
HIGH…ocs/user-guide/skills/optional/mlops/mlops-guidance.md302 api_key="your-api-key" # Or set OPENAI_API_KEY env varCODE
HIGH…uide/skills/optional/mlops/mlops-inference-outlines.md245 api_key="your-api-key"CODE
HIGH…rrent/user-guide/skills/optional/mlops/mlops-qdrant.md439 api_key="your-api-key"CODE
HIGH…t/user-guide/skills/optional/mlops/mlops-instructor.md362 Anthropic(api_key="your-api-key")CODE
HIGH…t/user-guide/skills/optional/mlops/mlops-instructor.md380 OpenAI(api_key="your-api-key")CODE
HIGH…ent/user-guide/skills/optional/mlops/mlops-pinecone.md71pc = Pinecone(api_key="your-api-key")CODE
HIGH…ent/user-guide/skills/optional/mlops/mlops-guidance.md293 api_key="your-api-key" # 或设置 ANTHROPIC_API_KEY 环境变量CODE
HIGH…ent/user-guide/skills/optional/mlops/mlops-guidance.md302 api_key="your-api-key" # 或设置 OPENAI_API_KEY 环境变量CODE
HIGH…uide/skills/optional/mlops/mlops-inference-outlines.md245 api_key="your-api-key"CODE
HIGHtests/gateway/test_weak_credential_guard.py59 config = _make_gateway_config(Platform.SLACK, "your_api_key")CODE
AI Slop Vocabulary75 hits · 185 pts
SeverityFileLineSnippetContext
MEDIUMrun_agent.py577 # to write the fork's harness turn into the user's real session. RecallCOMMENT
MEDIUMrun_agent.py1775 # here would land its harness turn ("Review the conversation above andCOMMENT
LOWcli.py2673 # • None (some mocks / older PT builds) — just call the innerCOMMENT
MEDIUMpackage-lock.json16838 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
MEDIUMtrajectory_compressor.py1248 """Print comprehensive compression summary statistics."""STRING
MEDIUMhermes_state.py4500 # fix) shared the parent's session_id wrote its harness turn into thisCOMMENT
MEDIUMhermes_state.py4501 # real session. The harness is a user/system message instructing theCOMMENT
MEDIUMhermes_state.py4505 # actual task. Strip any such harness message AND the curator-modeCOMMENT
MEDIUMhermes_state.py225# Distinctive opening shared by both background-review harness promptsCOMMENT
MEDIUMhermes_state.py274 # The curator-mode reply to the harness prompt — drop it.COMMENT
MEDIUMhermes_state.py3427 # children), then recursively joins forward through robustCOMMENT
MEDIUMui-tui/src/lib/resizeCoalescer.test.ts83 // ~300ms / 30ms ≈ 10 reflows, not 30. Bound it loosely to stay robust.COMMENT
MEDIUMtools/browser_supervisor.py1113 # Parse query string for dialog metadata. Use urllib to be robust.COMMENT
LOWtools/kanban_tools.py646 # the write txn), so the worker can simply callCOMMENT
LOWtools/kanban_tools.py702 # this, a worker that learns kanban_complete is gated can just callCOMMENT
MEDIUMdocker/hermes-exec-shim.sh69# Reference it by absolute path so the drop is robust against PATHCOMMENT
MEDIUMhermes_cli/gateway.py4864 # Absolutely everything else: Exception, asyncio.CancelledError,COMMENT
LOWhermes_cli/models.py2019 # Already on openrouter, just return the resolved slugCOMMENT
LOWhermes_cli/web_server.py6086 pass # can't read disk config — just use the string formCODE
LOWhermes_cli/kanban.py1245 # dispatcher doesn't need to enumerate — we just pass the nameCOMMENT
MEDIUMhermes_cli/main.py5250 # robust even if the hook is somehow skipped.)COMMENT
MEDIUMplugins/platforms/discord/voice_mixer.py99 # Pad to a whole number of frames so looping is seamless and the finalCOMMENT
MEDIUMplugins/platforms/telegram/adapter.py7918 # Normalize mime_type for robust comparisons (some clients sendCOMMENT
MEDIUMplugins/kanban/dashboard/plugin_api.py2143# the simplest and most robust approach; it adds a fraction of a percentCOMMENT
MEDIUMoptional-skills/security/unbroker/scripts/autopilot.py235 # broker (the whole CA Data Broker Registry) -- the highest-leverage removal there is.COMMENT
MEDIUMoptional-skills/security/unbroker/scripts/registry.py74# Field label -> substring to locate its column on the header row (robust toCOMMENT
MEDIUMweb/src/components/ChatSessionList.tsx131 // "New chat" prefers ChatPage's robust handler (clears resume + forces aCOMMENT
MEDIUMweb/src/pages/SkillsPage.tsx149 // call signature supports it (clearer, and robust if a caller bypassesCOMMENT
MEDIUMwebsite/package-lock.json17671 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
MEDIUMtests/test_background_review_session_isolation.py39 # An assistant message that quotes the harness text is not itself a harness prompt.COMMENT
MEDIUMtests/test_background_review_session_isolation.py74 # If the message after the harness is a USER turn (not the curator reply),COMMENT
MEDIUMtests/tools/test_delegate.py2189 # Use tiny thresholds so the assertion is scheduler-robust in CI:COMMENT
MEDIUMtests/tools/test_delegate.py189 (regression for issue #43466's 'more robust variant' suggestion).STRING
MEDIUMtests/tools/test_computer_use.py2806 # contract that subagent-harness code can rely on.COMMENT
LOWtests/tools/test_env_probe.py154 # Should not raise, should just return ""COMMENT
MEDIUMtests/docker/test_gateway_run_supervised.py141 # harness profile has a configured model, but the want-intentCOMMENT
LOWtests/hermes_cli/test_codex_runtime_plugin_migration.py842 # We can't easily create one in the test, so just use a stable pathCOMMENT
LOWtests/hermes_cli/test_commands.py2217 # Both calls should succeed and just return the built-in set.COMMENT
LOWtests/hermes_cli/test_voice_wrapper.py289 # Should simply return None without raising.COMMENT
MEDIUMtests/plugins/test_hindsight_root_guard.py57 # sys.stderr write under the isolation harness, so assert on the log.COMMENT
LOWtests/plugins/test_langfuse_plugin.py166 # Each hook should just return; no exceptions.COMMENT
MEDIUMtests/plugins/transcription/check_parity_vs_main.py192 # so the harness can distinguish command-provider dispatch from aCOMMENT
MEDIUMtests/plugins/tts/check_parity_vs_main.py198 # This is the ONLY acceptable diff in the harness.STRING
MEDIUMtests/agent/test_codex_ttfb_watchdog.py49 # the test is robust to detection-logic changes elsewhere.COMMENT
LOWtests/agent/test_context_engine.py48 # Trivial: just return as-isCOMMENT
MEDIUMtests/agent/test_coding_context.py401# ── edit-format steering (per-model harness tuning) ──────────────────────────COMMENT
MEDIUMtests/acp/test_ping_suppression.py166 # Test harness reads agent output via this StreamReader:COMMENT
MEDIUMtests/gateway/conftest.py52 """Install a comprehensive telegram mock in sys.modules.STRING
MEDIUMtests/gateway/conftest.py102 """Install a comprehensive discord mock in sys.modules.STRING
MEDIUMtests/gateway/test_api_server.py1453 # the test robust against preview-formatter tweaks.COMMENT
MEDIUMtests/gateway/test_discord_double_dispatch.py31# The tests/gateway/conftest.py already installs a comprehensive discordCOMMENT
LOWtests/gateway/test_session_env.py29 # Can't use var.reset() without a token; just set back to sentinel.COMMENT
LOWtests/gateway/test_session_env.py241 # After clearing, the session key must not retain the value we just set.COMMENT
MEDIUM…sts/gateway/test_first_turn_session_meta_rebaseline.py56 proven #42039 harness but with a live cache + real transcript counter."""STRING
MEDIUMtests/gateway/test_discord_voice_mixer.py57 assert len(amb) % vm.FRAME_SIZE == 0 # frame-aligned for seamless loopCODE
LOWtests/gateway/test_slash_access_dispatch.py482 # If /history has aliases, use one. Otherwise just use /history.COMMENT
LOWtests/gateway/test_pairing.py315 # Approving with any code must just return None, not crash.COMMENT
MEDIUMagent/agent_init.py1324 # background skill/memory review fork so its harness turn can't leak intoCOMMENT
MEDIUMagent/coding_context.py170# steer those models toward a format their first-party harness never taughtCOMMENT
MEDIUMagent/error_classifier.py556 # Build a comprehensive error message string for pattern matching.COMMENT
15 more matches not shown…
Redundant / Tautological Comments144 hits · 165 pts
SeverityFileLineSnippetContext
LOWbatch_runner.py171 # Check if error field exists AND has a non-null valueCOMMENT
LOWhermes_constants.py143 # Check if this is a profile path: <root>/profiles/<name>COMMENT
LOWsetup-hermes.sh288 # Check if sudo is availableCOMMENT
LOWrun_agent.py1473 # Check if there's any non-whitespace content remainingCOMMENT
LOWcli.py5659 # Check if we're entering a reasoning block.COMMENT
LOWcli.py5683 # Check if this is a block boundary positionCOMMENT
LOWcli.py12490 # Check if user fired ANOTHER interrupt (Ctrl+C setsCOMMENT
LOWtrajectory_compressor.py773 # Check if compression neededCOMMENT
LOWtrajectory_compressor.py788 # Check if there's anything to compressCOMMENT
LOWtrajectory_compressor.py813 # Check if we have enough savingsCOMMENT
LOWtrajectory_compressor.py896 # Check if compression neededCOMMENT
LOWtrajectory_compressor.py911 # Check if there's anything to compressCOMMENT
LOWhermes_state.py4361 # Check if the current node has messages.COMMENT
LOWtools/vision_tools.py1394 # Check if vision model is availableCOMMENT
LOWtools/process_registry.py1007 # Check if process is still runningCOMMENT
LOWtools/web_tools.py1095 # Check if API keys are availableCOMMENT
LOWtools/skills_hub.py964 # Check if ANY entry lives under the target pathCOMMENT
LOWtools/fuzzy_match.py776 # Check if this block matchesCOMMENT
LOWtools/browser_tool.py1717 # Check if the daemon is still alive. ``os.kill(pid, 0)`` on WindowsCOMMENT
LOWtools/browser_tool.py2028 # Check if we already have a session for this taskCOMMENT
LOWtools/browser_tool.py2148 # Check if it's in PATH (global install)COMMENT
LOWtools/browser_tool.py2985 # Check if snapshot needs summarizationCOMMENT
LOWtools/browser_tool.py4046 # Check if screenshot file was createdCOMMENT
LOWtools/browser_tool.py4306 # Check if session exists (under lock), but don't remove yet -COMMENT
LOWtools/terminal_tool.py2287 # Check if this is an approval_required (gateway ask mode)COMMENT
LOWtools/skills_tool.py1221 # Read the file once — reused for platform check and main content belowCOMMENT
LOWtools/skills_tool.py1278 # Check if the skill is disabled by the userCOMMENT
LOWtools/skills_tool.py1366 # Read the file contentCOMMENT
LOWtools/skills_guard.py1123 # Check if source matches any trusted repo exactly, or a skill path insideCOMMENT
LOWtools/mcp_tool.py2810 # Check if shutdown was requested during the sleepCOMMENT
LOWtools/mcp_tool.py3998 # Check if the MCP tool itself returned an errorCOMMENT
LOWtools/file_operations.py2079 # Check if parent directory exists and list similar entriesCOMMENT
LOWtools/file_operations.py1101 # Check if file exists and get size (wc -c is POSIX, works on Linux + macOS)COMMENT
LOWtools/file_operations.py1115 # Check if file is too largeCOMMENT
LOWtools/file_operations.py1167 # Check if truncatedCOMMENT
LOWhermes_cli/backup.py511 # Check if all entries share a common first directoryCOMMENT
LOWhermes_cli/gateway.py5836 # Check if signal-cli is availableCOMMENT
LOWhermes_cli/config.py1093 # Set false to keep the evidence nudge terse.COMMENT
LOWhermes_cli/config.py1106 # Set true to force on everywhere, or false to disable.COMMENT
LOWhermes_cli/config.py1852 # Set 0 to disable the background refresh if it fights terminalCOMMENT
LOWhermes_cli/config.py1969 # Set this to True to re-enable the surfaces with the understandingCOMMENT
LOWhermes_cli/config.py2067 # Set explicitly to pin a backend:COMMENT
LOWhermes_cli/config.py2136 # Set false to keep STT for the agent while suppressing that user-facing echo.COMMENT
LOWhermes_cli/config.py3263 # Set 0 to disable.COMMENT
LOWhermes_cli/config.py5289 # Check if dict keys look like they should be list-entry fieldsCOMMENT
LOWhermes_cli/config.py8151 # Check if it's an API key (goes to .env)COMMENT
LOWhermes_cli/models.py1702 # Check if this provider has credentials availableCOMMENT
LOWhermes_cli/skills_hub.py539 # Check if any source hit GitHub API rate limitCOMMENT
LOWhermes_cli/skills_hub.py618 # Check if already installedCOMMENT
LOWhermes_cli/model_switch.py1300 # Check if the requested model matches the entry's modelCOMMENT
LOWhermes_cli/model_switch.py1718 # Check if any env var is setCOMMENT
LOWhermes_cli/model_switch.py1795 # Check if credentials existCOMMENT
LOWhermes_cli/web_server.py16693 # Check if this plugin provides tools that require authCOMMENT
LOWhermes_cli/cli_commands_mixin.py1685 # Display result in the CLI (thread-safe via patch_stdout).COMMENT
LOWhermes_cli/cli_commands_mixin.py1846 # Check if a Chromium-family browser is already serving CDP on the debug portCOMMENT
LOWhermes_cli/setup.py995 # Check if already installedCOMMENT
LOWhermes_cli/setup.py1141 # Check if already installedCOMMENT
LOWhermes_cli/setup.py1237 # Check if Docker is availableCOMMENT
LOWhermes_cli/setup.py1253 # Check if singularity/apptainer is availableCOMMENT
LOWhermes_cli/setup.py1312 # Check if modal SDK is installedCOMMENT
84 more matches not shown…
Verbosity Indicators103 hits · 165 pts
SeverityFileLineSnippetContext
LOWhermes_state.py4768 # Step 2: Strip remaining (unmatched) FTS5-special characters. ``:`` isCOMMENT
LOWhermes_state.py4775 # Step 3: Collapse repeated * (e.g. "***") into a single one,COMMENT
LOWhermes_state.py4780 # Step 4: Remove dangling boolean operators at start/end that wouldCOMMENT
LOWhermes_state.py4785 # Step 5: Wrap unquoted dotted and/or hyphenated terms in doubleCOMMENT
LOWhermes_state.py4793 # Step 6: Restore preserved quoted phrasesCOMMENT
LOWhermes_state.py4742 # Step 1: Extract balanced double-quoted phrases and protect themCOMMENT
LOWtools/skills_hub.py1727 # Step 1: fetch the sitemap index → list of skill-sitemap URLs.COMMENT
LOWtools/skills_hub.py1749 # Step 2: fetch each skill sitemap and collect canonical "owner/repo/skill" IDs.COMMENT
LOWtools/skills_sync.py846 # Step 2: drop the manifest entry so next sync treats it as newCOMMENT
LOWtools/skills_sync.py851 # Step 3: run sync to re-baseline (or re-copy if we deleted)COMMENT
LOWtools/mcp_oauth_manager.py650 # Step 1: Did disk change? Picks up external refresh.COMMENT
LOWtools/mcp_oauth_manager.py659 # Step 2: No disk change — if the SDK can refreshCOMMENT
LOWtools/mcp_oauth_manager.py245 # Step 1: PRM discovery to learn the authorization_server URL.COMMENT
LOWtools/mcp_oauth_manager.py267 # Step 2: ASM discovery against the auth_server_url (orCOMMENT
LOWtools/yuanbao_tools.py372 # Step 2: Send text DM + mediaCOMMENT
LOWtools/yuanbao_tools.py382 # Step 3: Send media filesCOMMENT
LOWtools/yuanbao_tools.py324 # Step 1: Resolve user_id from group member list if not providedCOMMENT
LOWtools/send_message_tool.py1872 # Step 1: Get access tokenCOMMENT
LOWtools/send_message_tool.py1884 # Step 2: Send message via RESTCOMMENT
LOWtools/computer_use/cua_backend.py1253 # Step 1: enumerate on-screen windows to find target pid/window_id.COMMENT
LOWtools/computer_use/cua_backend.py1366 # Step 2: capture.COMMENT
LOWhermes_cli/auth.py7344 # Step 2: Show user the codeCOMMENT
LOWhermes_cli/auth.py7352 # Step 3: Poll for authorization codeCOMMENT
LOWhermes_cli/auth.py7275 # Step 1: Request device code. OpenAI's auth endpoint rate-limits thisCOMMENT
LOWhermes_cli/auth.py7387 # Step 4: Exchange authorization code for tokensCOMMENT
LOWhermes_cli/skills_config.py161 # Step 1: Select platformCOMMENT
LOWhermes_cli/skills_config.py165 # Step 2: Select mode — individual or by categoryCOMMENT
LOWhermes_cli/dingtalk_auth.py66 # Step 1: init → nonceCOMMENT
LOWhermes_cli/dingtalk_auth.py72 # Step 2: begin → device_code, verification_uri_completeCOMMENT
LOWhermes_cli/send_cmd.py230 # Step 1: dotenvCOMMENT
LOWhermes_cli/send_cmd.py254 # Step 2: bridge top-level config.yaml values into the environment soCOMMENT
LOWhermes_cli/web_server.py9442 # Step 1: request device codeCOMMENT
LOWhermes_cli/web_server.py9469 # Step 2: poll until authorizedCOMMENT
LOWhermes_cli/web_server.py9493 # Step 3: exchange authorization_code for tokensCOMMENT
LOWhermes_cli/model_setup_flows.py1909 # Step 1: Check / prompt for API keyCOMMENT
LOWhermes_cli/model_setup_flows.py1922 # Step 2: Auto-detect endpoint from key prefixCOMMENT
LOWhermes_cli/model_setup_flows.py1935 # Step 3: Model selection — show appropriate models for the endpointCOMMENT
LOWhermes_cli/setup.py2971 # Step 2: Terminal Backend — where commands run is a core decisionCOMMENT
LOWhermes_cli/setup.py2974 # Step 3: Apply defaults for everything elseCOMMENT
LOWhermes_cli/setup.py2979 # Step 4: Offer messaging gateway setupCOMMENT
LOWhermes_cli/setup.py2943 # Step 1: Nous Portal — OAuth login + model selection.COMMENT
LOWhermes_cli/tools_config.py1184 # Step 2: only the local browser provider actually needs Chromium onCOMMENT
LOWhermes_cli/tools_config.py1190 # Step 3: ensure the Chromium / headless-shell build agent-browserCOMMENT
LOWhermes_cli/tools_config.py1158 # Step 1: install the agent-browser npm package into node_modules/COMMENT
LOWhermes_cli/copilot_auth.py184 # Step 1: Request device codeCOMMENT
LOWhermes_cli/copilot_auth.py217 # Step 2: Show instructionsCOMMENT
LOWhermes_cli/copilot_auth.py224 # Step 3: Poll for completionCOMMENT
LOWhermes_cli/main.py3021 # Step 1: Provider selection.COMMENT
LOWhermes_cli/main.py3120 # Step 2: Provider-specific setup + model selectionCOMMENT
LOWhermes_cli/main.py8151 # Step 1: root install (no workspace recursion).COMMENT
LOWhermes_cli/main.py8172 # Step 2: install only the workspaces update needs (ui-tui, web).COMMENT
LOWplugins/platforms/dingtalk/adapter.py1054 # Step 1: Create card with STREAM callback typeCOMMENT
LOWplugins/platforms/dingtalk/adapter.py1082 # Step 2: Deliver card to the conversationCOMMENT
LOWplugins/platforms/dingtalk/adapter.py1122 # Step 3: Stream initial content. finalize=True closes theCOMMENT
LOWplugins/platforms/homeassistant/adapter.py150 # Step 1: Receive auth_requiredCOMMENT
LOWplugins/platforms/homeassistant/adapter.py157 # Step 2: Send authCOMMENT
LOWplugins/platforms/homeassistant/adapter.py163 # Step 3: Wait for auth_okCOMMENT
LOWplugins/platforms/homeassistant/adapter.py170 # Step 4: Subscribe to state_changed eventsCOMMENT
LOWplugins/platforms/feishu/feishu_comment.py1197 # Step 2: Parallel fetch -- doc meta + comment detailsCOMMENT
LOWplugins/platforms/feishu/feishu_comment.py1216 # Step 3: Build timeline based on comment typeCOMMENT
43 more matches not shown…
Hallucination Indicators8 hits · 85 pts
SeverityFileLineSnippetContext
CRITICAL…tional-skills/mlops/training/axolotl/references/api.md658core.trainers.grpo.sampler.SequenceParallelRepeatRandomSampler.set_epoch(epoch)CODE
CRITICAL…tional-skills/mlops/training/axolotl/references/api.md1795core.trainers.grpo.trainer.AxolotlGRPOSequenceParallelTrainer.get_train_dataloader(CODE
CRITICAL…tional-skills/mlops/training/axolotl/references/api.md4690core.trainers.dpo.trainer.AxolotlDPOTrainer.push_to_hub(*args, **kwargs)CODE
CRITICAL…tional-skills/mlops/training/axolotl/references/api.md4892core.trainers.mixins.scheduler.SchedulerMixin.create_scheduler(CODE
CRITICALtests/run_agent/test_stream_stale_breaker_reset.py203 agent.client.chat.completions.create.assert_not_called()CODE
CRITICALtests/run_agent/test_run_agent.py3754 sent_msgs = agent.client.chat.completions.create.call_args.kwargs.get("messages", [])CODE
CRITICALtests/gateway/test_stream_consumer_thread_routing.py219 mock_client.im.v1.message.create.assert_called_once()CODE
CRITICALtests/gateway/test_stream_consumer_thread_routing.py273 mock_client.im.v1.message.create.assert_called_once()CODE
Docstring Block Structure16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHtoolset_distributions.py242 Sample toolsets based on a distribution's probabilities. Each toolset in the distribution has a % chance oSTRING
HIGHtools/vision_tools.py386 Download an image from a URL to a local destination (async) with retry logic. Args: image_url (strSTRING
HIGHtools/vision_tools.py1069 Analyze an image from a URL or local file path using vision AI. This tool accepts either an HTTP/HTTPS URLSTRING
HIGHtools/web_tools.py620 Search the web for information using available search API backend. This function provides a generic interface STRING
HIGHtools/web_tools.py748 Extract content from specific web pages using available extraction API backend. Returns clean page content (maSTRING
HIGHtools/terminal_tool.py2022 Execute a command in the configured terminal environment. Args: command: The command to execute STRING
HIGHhermes_cli/model_normalize.py248Detect the vendor slug from a bare model name. Uses the first hyphen-delimited token of the model name to look up STRING
HIGHhermes_cli/model_normalize.py328Translate a model name into the format the target provider's API expects. This is the primary entry point for modelSTRING
HIGHagent/auxiliary_client.py6470Centralized synchronous LLM call. Resolves provider + model (from task config, explicit args, or auto-detect), STRING
HIGHgateway/platforms/base.py697 Save raw image bytes to the cache and return the absolute file path. Args: data: Raw image bytes. STRING
HIGHgateway/platforms/base.py726 Download an image from a URL and save it to the local cache. Retries on transient failures (timeouts, 429, 5xxSTRING
HIGHgateway/platforms/base.py846 Download an audio file from a URL and save it to the local cache. Retries on transient failures (timeouts, 429STRING
HIGHgateway/platforms/base.py1554 Save raw document bytes to the cache and return the absolute file path. The cached filename preserves the origSTRING
HIGHgateway/platforms/yuanbao_media.py206 下载 URL 内容,返回 (bytes, content_type)。 Args: url: HTTP(S) URL max_size_mb: 最大允许大小(MB),超STRING
HIGHgateway/platforms/yuanbao_media.py368 调用 genUploadInfo 接口获取 COS 临时密钥及上传配置。 Args: app_key: 应用 Key(用于 X-ID 头) api_domain: ASTRING
HIGHgateway/platforms/yuanbao_media.py445 通过 httpx PUT 请求将文件上传到 COS。 使用临时凭证(tmpSecretId/tmpSecretKey/sessionToken)构建 HMAC-SHA1 签名。 Args: filSTRING
AI Structural Patterns98 hits · 61 pts
SeverityFileLineSnippetContext
LOWbatch_runner.py1147CODE
LOWbatch_runner.py532CODE
LOWrun_agent.py5839CODE
LOWrun_agent.py416CODE
LOWmini_swe_runner.py630CODE
LOWmini_swe_runner.py163CODE
LOWcli.py15789CODE
LOWcli.py3685CODE
LOWhermes_state.py1717CODE
LOWhermes_state.py2565CODE
LOWhermes_state.py3311CODE
LOWhermes_state.py3754CODE
LOWhermes_state.py6126CODE
LOWmodel_tools.py974CODE
LOWmodel_tools.py1025CODE
LOWtools/web_tools.py477CODE
LOWtools/session_search_tool.py619CODE
LOWtools/registry.py365CODE
LOWtools/cronjob_tools.py659CODE
LOWtools/file_tools.py1750CODE
LOWtools/file_tools.py1944CODE
LOWtools/terminal_tool.py1896CODE
LOWtools/terminal_tool.py2010CODE
LOWtools/skill_manager_tool.py1320CODE
LOWtools/image_generation_tool.py838CODE
LOWtools/file_operations.py1702CODE
LOWtools/delegate_tool.py1044CODE
LOWtools/discord_tool.py987CODE
LOWtools/environments/docker.py580CODE
LOWhermes_cli/auth.py5355CODE
LOWhermes_cli/auth.py6715CODE
LOWhermes_cli/auth.py7899CODE
LOWhermes_cli/model_switch.py1471CODE
LOWhermes_cli/web_server.py4001CODE
LOWhermes_cli/web_server.py4100CODE
LOWhermes_cli/kanban_swarm.py77CODE
LOWhermes_cli/kanban_db.py2387CODE
LOWhermes_cli/kanban_db.py2725CODE
LOWhermes_cli/kanban_db.py7174CODE
LOWhermes_cli/kanban_db.py7240CODE
LOWhermes_cli/main.py2000CODE
LOWhermes_cli/inventory.py111CODE
LOWplugins/platforms/matrix/adapter.py662CODE
LOWplugins/memory/honcho/__init__.py778CODE
LOWplugins/google_meet/process_manager.py84CODE
LOWplugins/video_gen/fal/__init__.py477CODE
LOWplugins/video_gen/xai/__init__.py429CODE
LOWplugins/observability/langfuse/__init__.py777CODE
LOWplugins/observability/langfuse/__init__.py826CODE
LOWplugins/observability/langfuse/__init__.py908CODE
LOWplugins/observability/langfuse/__init__.py1074CODE
LOW…tional-skills/security/godmode/scripts/godmode_race.py300CODE
LOWoptional-skills/security/unbroker/scripts/emailer.py170CODE
LOWoptional-skills/blockchain/evm/scripts/evm_client.py490CODE
LOW…anban-video-orchestrator/scripts/bootstrap_pipeline.py201CODE
LOW…anban-video-orchestrator/scripts/bootstrap_pipeline.py400CODE
LOW…anban-video-orchestrator/scripts/bootstrap_pipeline.py459CODE
LOWtests/tools/test_mcp_preflight_content_type.py57CODE
LOWtests/tools/test_mcp_tool.py2743CODE
LOW…ts/plugins/dashboard_auth/test_self_hosted_provider.py91CODE
38 more matches not shown…
Synthetic Comment Markers5 hits · 30 pts
SeverityFileLineSnippetContext
HIGH…ve/kanban-video-orchestrator/references/tool-matrix.md166 # - comfyui (AI-generated visuals)COMMENT
HIGH…er-guide/skills/bundled/creative/creative-humanizer.md590This skill is ported from [blader/humanizer](https://github.com/blader/humanizer) (MIT licensed), which is itself based CODE
HIGHskills/index-cache/lobehub_index.json1{"schemaVersion": 1, "agents": [{"author": "CSY2022", "createdAt": "2025-06-19", "homepage": "https://github.com/CSY2022CODE
HIGH…ls/creative/popular-web-designs/templates/replicate.md266- "Create a manifesto section on Replicate Dark (#202020) with 'Imagine what you can build.' at 128px rb-freigeist-neue CODE
HIGHskills/creative/humanizer/SKILL.md574This skill is ported from [blader/humanizer](https://github.com/blader/humanizer) (MIT licensed), which is itself based CODE
Example Usage Blocks14 hits · 23 pts
SeverityFileLineSnippetContext
LOWdocker-compose.windows.yml9# Usage:COMMENT
LOWsetup-hermes.sh8# Usage:COMMENT
LOWdocker-compose.yml4# Usage:COMMENT
LOWtools/registry.py775# Usage:COMMENT
LOWscripts/kill_modal.sh4# Usage:COMMENT
LOWscripts/dev-sandbox.sh10# Usage:COMMENT
LOWscripts/install.sh8# Usage:COMMENT
LOWscripts/run_tests.sh16# Usage:COMMENT
LOWscripts/lib/node-bootstrap.sh15# Usage:COMMENT
LOWskills/creative/comfyui/scripts/comfyui_setup.sh14# Usage:COMMENT
LOWskills/creative/p5js/scripts/render.sh5# Usage:COMMENT
LOWskills/creative/p5js/scripts/serve.sh5# Usage:COMMENT
LOWdatagen-config-examples/web_research.yaml6# Usage:COMMENT
LOWdatagen-config-examples/run_browser_tasks.sh17# Usage:COMMENT
AI Response Leakage3 hits · 18 pts
SeverityFileLineSnippetContext
HIGHoptional-skills/mlops/pytorch-fsdp/SKILL.md38**Pattern 2:** Distributed communication package - torch.distributed# Created On: Jul 12, 2017 | Last Updated On: Sep 04CODE
HIGH…user-guide/skills/optional/mlops/mlops-pytorch-fsdp.md55**Pattern 2:** Distributed communication package - torch.distributed# Created On: Jul 12, 2017 | Last Updated On: Sep 04CODE
HIGHskills/index-cache/lobehub_index.json1{"schemaVersion": 1, "agents": [{"author": "CSY2022", "createdAt": "2025-06-19", "homepage": "https://github.com/CSY2022CODE
Dead Code8 hits · 14 pts
SeverityFileLineSnippetContext
MEDIUM…/run_agent/test_28161_anthropic_stream_pool_cleanup.py128CODE
MEDIUMtests/run_agent/test_stream_stale_circuit_breaker.py107CODE
MEDIUMtests/gateway/test_discord_double_dispatch.py60CODE
MEDIUMtests/gateway/test_discord_double_dispatch.py81CODE
MEDIUMtests/gateway/test_discord_free_response.py70CODE
MEDIUMtests/gateway/test_discord_free_response.py95CODE
MEDIUMtests/gateway/test_discord_slash_commands.py752CODE
MEDIUMtests/gateway/test_discord_slash_commands.py771CODE
Cross-Language Confusion (JS/TS)1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHapps/desktop/src/lib/remend-tail.test.ts16 print(f"total: $\{cost}")CODE
Slop Phrases1 hit · 4 pts
SeverityFileLineSnippetContext
MEDIUMdatagen-config-examples/run_browser_tasks.sh57# Common options you can add:COMMENT
Overly Generic Function Names4 hits · 4 pts
SeverityFileLineSnippetContext
LOWmini_swe_runner.py408 def run_task(self, task: str) -> Dict[str, Any]:CODE
LOWtests/tools/test_patch_parser.py199+def helper():CODE
LOWtests/tools/test_patch_parser.py226 assert "def helper():" in file_ops.writtenCODE
LOWtui_gateway/server.py1246def handle_request(req: dict) -> dict | None:CODE
TODO Padding1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…darwinian-evolver/templates/custom_problem_template.py80 # TODO: implement. For prompt evolution this typically calls _prompt_llmCOMMENT