AI Slop Code RIsk Monitor

nesquena/hermes-webui

Hermes WebUI: The best way to use Hermes Agent from the web or from your phone!

79.3 High pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for nesquena/hermes-webui, a Python project with 18,852 GitHub stars. SynthScan examined 679,199 lines of code across 1825 source files, recording 28386 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 79.3 (High pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

79.3
Adjusted Signal
79.3
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
18.9K
Stars
Python
Language
679.2K
Lines of Code
1.8K
Files
28.4K
Pattern Hits
2026-10-12
Scan Date
2.81
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 72.4/100 · HIGH

Can maintainers explain intent, assumptions, and trade-offs? 19068 finding(s).

Hallucinated Dependency & Supply Chain Risk 84.7/100 · CRITICAL

Are imports declared and package/API names verified? 5260 finding(s).

Agent Over-Engineering Ratio 86.5/100 · CRITICAL

Are wrappers, guards, and repeated structures necessary? 21792 finding(s).

PR Review Velocity Impact 98.6/100 · CRITICAL

Which changes need focused human review? 28386 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 0HIGH 5120MEDIUM 2150LOW 21116

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 28386 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. 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 configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Cross-Language Confusion4497 hits · 24818 pts
SeverityFileLineSnippetContext
HIGH⚡tests/test_real_steer.py593 appendChild(child){{this.children.push(child);}},CODE
HIGH⚡tests/test_real_steer.py596 querySelector(sel){{return null;}},CODE
HIGH⚡tests/test_real_steer.py601 getElementById(id){{return id==='msgInner'?inner:null;}},CODE
HIGH⚡tests/test_real_steer.py608 function showToast(key){{if(globalThis.__toasts)globalThis.__toasts.push(key);}}CODE
HIGH⚡tests/test_real_steer.py612 function _clearComposerDraft(sid,text,files){{if(globalThis.__draftClears)globalThis.__draftClears.push({{siCODE
HIGH⚡tests/test_real_steer.py621 let sendInput = null;CODE
HIGH⚡tests/test_real_steer.py622 let sendOptions = null;CODE
HIGH⚡tests/test_real_steer.py623 let apiPayload = null;CODE
HIGH⚡tests/test_real_steer.py633 globalThis.clearInflightState = sid => clearInflightCalls.push(sid);CODE
HIGH⚡tests/test_real_steer.py732 globalThis.clearInflightState = sid => clearInflightCalls.push(sid);CODE
HIGH⚡tests/test_real_steer.py734 globalThis.queueSessionMessage = (sid, payload) => queued.push({{sid, payload}});CODE
HIGH⚡tests/test_real_steer.py735 globalThis.updateQueueBadge = sid => queueBadges.push(sid);CODE
HIGH⚡tests/test_real_steer.py968 _uploadPendingFilesUpdateProgress('A', null);CODE
HIGH⚡tests/test_real_steer.py971 assert.strictEqual(barWrap.dataset.uploadSessionId, undefined);CODE
HIGHtests/test_real_steer.py363 assert "const ownerSid=(typeof S!=='undefined'&&S.session&&S.session.session_id)||null;" in bodyCODE
HIGHtests/test_real_steer.py424 let apiPayload = null;CODE
HIGHtests/test_real_steer.py425 let indicatorText = null;CODE
HIGHtests/test_real_steer.py473 let apiPayload = null;CODE
HIGHtests/test_real_steer.py474 let indicatorText = null;CODE
HIGHtests/test_real_steer.py521 let uploadOptions = null;CODE
HIGHtests/test_real_steer.py522 let apiPayload = null;CODE
HIGHtests/test_real_steer.py533 function _clearComposerDraft(sid,text,files){{draftClears.push({{sid,text,files}});}}CODE
HIGHtests/test_real_steer.py646 assert.strictEqual(S.activeStreamId, null);CODE
HIGHtests/test_real_steer.py647 assert.strictEqual(S.session.active_stream_id, null);CODE
HIGHtests/test_real_steer.py669 let apiPayload = null;CODE
HIGHtests/test_real_steer.py679 globalThis.clearInflightState = sid => clearInflightCalls.push(sid);CODE
HIGHtests/test_real_steer.py721 let apiPayload = null;CODE
HIGHtests/test_real_steer.py800 globalThis.clearInflightState = sid => clearInflightCalls.push(sid);CODE
HIGHtests/test_real_steer.py834 globalThis.clearInflightState = sid => clearInflightCalls.push(sid);CODE
HIGHtests/test_real_steer.py944 return null;CODE
HIGHtests/test_real_steer.py956 assert.strictEqual(barWrap.dataset.uploadSessionId, undefined);CODE
HIGHtests/test_real_steer.py907 assert "_uploadPendingFilesUpdateProgress(sessionId,null)" in upload_bodySTRING
HIGH⚡tests/test_sidebar_tab_visibility.py104 : null;STRING
HIGH⚡tests/test_sidebar_tab_visibility.py110 this.children.push(child);STRING
HIGH⚡tests/test_sidebar_tab_visibility.py113 querySelector: () => null,STRING
HIGH⚡tests/test_sidebar_tab_visibility.py147 _store: Object.create(null),STRING
HIGH⚡tests/test_sidebar_tab_visibility.py149 return Object.prototype.hasOwnProperty.call(this._store, k) ? this._store[k] : null;STRING
HIGH⚡tests/test_sidebar_tab_visibility.py157 querySelector: () => null,STRING
HIGH⚡tests/test_sidebar_tab_visibility.py161 global.$ = (id) => registry[id] || null;STRING
HIGH⚡tests/test_sidebar_tab_visibility.py171 apiCalls.push({ url: String(url), method: (opts.method || 'GET').toUpperCase(), body: opts.body || '' });STRING
HIGH⚡tests/test_sidebar_tab_visibility.py214 if (forceNoRestore) global._dashboardLastNonNeverMode = null;STRING
HIGH⚡tests/test_sidebar_tab_visibility.py223 chipText: chip && chip.textContent,STRING
HIGH⚡tests/test_sidebar_tab_visibility.py224 chipAriaChecked: chip && chip.getAttribute('aria-checked'),STRING
HIGH⚡tests/test_sidebar_tab_visibility.py225 chipIsOff: chip && chip.classList.contains('chip-off'),STRING
HIGHtests/test_sidebar_tab_visibility.py43 let inString = null;STRING
HIGHtests/test_sidebar_tab_visibility.py64 inString = null;STRING
HIGHtests/test_sidebar_tab_visibility.py134 const registry = Object.create(null);STRING
HIGHtests/test_sidebar_tab_visibility.py183 const normalized = _normalizeDashboardEnabledMode(saved && saved.enabled);STRING
HIGH⚡tests/test_6728_cron_running_sidebar.py60 let str = null;CODE
HIGH⚡tests/test_6728_cron_running_sidebar.py65 while (depth > 0 && i < src.length) {CODE
HIGH⚡tests/test_6728_cron_running_sidebar.py72 if (c === str) str = null;CODE
HIGHtests/test_6728_cron_running_sidebar.py118function _markSessionCompletionUnread(sid, messageCount, meta) { markCount += 1; markedSids.push(sid); }CODE
HIGHtests/test_6728_cron_running_sidebar.py123let S = { session: null, busy: false };CODE
HIGHtests/test_issue3635_profile_chip_active.py75 assert "(S.session && S.session.profile) || S.activeProfile" not in body, (CODE
HIGHtests/test_issue4749_steer_reason_and_recovery.py82 return (typeof LOCALES !== 'undefined' && LOCALES.en && LOCALES.en[key])CODE
HIGHtests/test_issue4749_steer_reason_and_recovery.py106 const n = _steerFailureMessageKey(null);CODE
HIGHtests/test_issue4749_steer_reason_and_recovery.py111 const u = _steerFailureMessageKey(undefined);CODE
HIGH⚡tests/test_issue4749_steer_reason_and_recovery.py175 appendChild(c) { this.children.push(c); },CODE
HIGH⚡tests/test_issue4749_steer_reason_and_recovery.py180 return null;CODE
HIGH⚡tests/test_issue4749_steer_reason_and_recovery.py187 inner.querySelector = (sel) => null; // no existing recovery barCODE
4437 more matches not shown…
Hyper-Verbose Identifiers17699 hits · 16311 pts
SeverityFileLineSnippetContext
LOWbootstrap.py101def ensure_supported_platform() -> None:CODE
LOWbootstrap.py117def _agent_dir_from_hermes_cli() -> Path | None:CODE
LOWbootstrap.py254def _python_can_run_webui_and_agent(python_exe: str, agent_dir: Path | None = None) -> bool:CODE
LOWbootstrap.py281def ensure_python_has_webui_deps(python_exe: str, agent_dir: Path | None = None) -> str:CODE
LOWbootstrap.py597def _is_real_supervisor_value(name: str, value: str) -> bool:CODE
LOW⚡server.py204 def _drain_request_input_nonblocking(self, request) -> None:CODE
LOW⚡server.py257 def _reject_overflow_request_worker(self, request) -> None:CODE
LOWserver.py68 def _blocked_create_connection(address, *a, **kw):CODE
LOWserver.py536def _abort_if_already_serving(host: str, port: int) -> None:CODE
LOWtests/test_session_events_http_integration.py61def test_session_events_bus_subscribe_unsubscribe_balance():CODE
LOWtests/test_session_events_http_integration.py82def test_session_events_sse_endpoint_handshake_succeeds(cleanup_test_sessions):CODE
LOWtests/test_session_events_http_integration.py149def test_session_events_sse_endpoint_survives_rapid_disconnect():CODE
LOWtests/test_session_events_http_integration.py182def test_session_events_handler_uses_disconnect_safe_errors_tuple():CODE
LOWtests/test_moa_virtual_provider_single_fanout.py87def test_virtual_moa_session_never_stacks_per_turn_moa_config(monkeypatch, tmp_path, body_extra):CODE
LOWtests/test_moa_virtual_provider_single_fanout.py102def test_legacy_agent_moa_session_keeps_per_turn_moa_config(monkeypatch, tmp_path):CODE
LOWtests/test_moa_virtual_provider_single_fanout.py112def test_slash_moa_on_regular_session_still_gets_moa_config(monkeypatch, tmp_path):CODE
LOWtests/test_moa_virtual_provider_single_fanout.py127def test_agent_has_moa_virtual_provider_probe(monkeypatch):CODE
LOW⚡tests/test_issues_907_908_909_model_dropdown.py97 def test_get_label_for_model_helper_exists(self):CODE
LOW⚡tests/test_issues_907_908_909_model_dropdown.py103 def test_label_helper_capitalizes_bare_id(self):CODE
LOW⚡tests/test_issues_907_908_909_model_dropdown.py112 def test_label_helper_uses_catalog_when_available(self):CODE
LOWtests/test_issues_907_908_909_model_dropdown.py124 def test_label_helper_strips_at_prefix_for_lookup(self):CODE
LOWtests/test_issues_907_908_909_model_dropdown.py137 def test_config_uses_label_helper_not_raw_split(self):CODE
LOW⚡tests/test_real_steer.py321 def test_cmd_steer_calls_endpoint(self):CODE
LOW⚡tests/test_real_steer.py328 def test_try_steer_calls_endpoint(self):CODE
LOW⚡tests/test_real_steer.py335 def test_try_steer_handles_fallback_without_cancelling(self):CODE
LOW⚡tests/test_real_steer.py345 def test_send_busy_steer_uses_try_steer(self):CODE
LOW⚡tests/test_real_steer.py352 def test_try_steer_uploads_pending_files_without_clearing_until_accepted(self):CODE
LOW⚡tests/test_real_steer.py995 def test_cmd_steer_delivered_in_all_locales(self):CODE
LOW⚡tests/test_real_steer.py1001 def test_steer_leftover_queued_in_all_locales(self):CODE
LOW⚡tests/test_real_steer.py1014 def test_leftover_drain_call_in_streaming(self):CODE
LOW⚡tests/test_real_steer.py1024 def test_leftover_drain_runs_before_done_event(self):CODE
LOWtests/test_real_steer.py104 def test_accepts_when_agent_cached_and_running(self, _clear_caches, monkeypatch):CODE
LOWtests/test_real_steer.py151 def test_gateway_owned_stream_without_cached_agent_queues_fallback(self, _clear_caches, monkeypatch):CODE
LOWtests/test_real_steer.py177 def test_agent_lacks_steer_method(self, _clear_caches):CODE
LOWtests/test_real_steer.py292 def test_empty_text_after_strip(self, _clear_caches):CODE
LOWtests/test_real_steer.py373 def test_file_steer_does_not_read_live_session_after_upload_await(self):CODE
LOWtests/test_real_steer.py388 def test_file_steer_upload_status_and_indicator_are_owner_scoped(self):CODE
LOWtests/test_real_steer.py404 def test_file_steer_indicator_omits_attachment_tool_note(self):CODE
LOWtests/test_real_steer.py787 async function runLateDeadFallbackDoesNotClearNewStream(){{CODE
LOW⚡tests/test_real_steer.py869 def test_send_busy_steer_accepts_file_only_input(self):STRING
LOW⚡tests/test_real_steer.py878 def test_upload_pending_files_can_preserve_staged_files_for_steer(self):STRING
LOW⚡tests/test_real_steer.py888 def test_upload_pending_files_progress_bar_is_session_scoped(self):STRING
LOW⚡tests/test_real_steer.py976 def test_pending_steer_leftover_listener(self):STRING
LOWtests/test_real_steer.py453 def test_attachment_only_steer_indicator_uses_file_label(self):STRING
LOWtests/test_real_steer.py501 def test_file_steer_targets_captured_session_when_user_switches_mid_upload(self):STRING
LOWtests/test_real_steer.py566 def test_dead_steer_fallback_clears_busy_state_and_recovery_sends_normally(self):STRING
LOWtests/test_real_steer.py911 def test_upload_progress_bar_hides_on_switch_and_reappears_on_owner_return(self):STRING
LOW⚡tests/test_issue4842_cli_sessions_streaming_freeze.py30def test_freeze_marker_none_when_idle(monkeypatch):CODE
LOW⚡tests/test_issue4842_cli_sessions_streaming_freeze.py35def test_freeze_marker_stable_for_same_streams(monkeypatch):CODE
LOW⚡tests/test_issue4842_cli_sessions_streaming_freeze.py45def test_freeze_marker_changes_when_stream_set_changes(monkeypatch):CODE
LOW⚡tests/test_issue4842_cli_sessions_streaming_freeze.py55def test_cache_key_stable_across_message_writes_while_streaming(monkeypatch, tmp_path):CODE
LOWtests/test_issue4842_cli_sessions_streaming_freeze.py91def test_streaming_ttl_wider_than_idle(monkeypatch):CODE
LOWtests/test_issue4842_cli_sessions_streaming_freeze.py102def test_structural_change_listener_clears_cli_cache(monkeypatch):CODE
LOWtests/test_issue697_mcp_tool_inventory.py34 def test_endpoint_returns_sanitized_registered_mcp_tools(self, mock_home, mock_cfg, mock_runtime):CODE
LOWtests/test_issue697_mcp_tool_inventory.py83 def test_schema_summary_uses_parameter_names_types_required_and_descriptions_only(self):CODE
LOWtests/test_issue697_mcp_tool_inventory.py97 def test_tool_summary_rejects_non_dict_schema_and_redacts_description(self):CODE
LOWtests/test_issue697_mcp_tool_inventory.py109 def test_system_settings_contains_searchable_global_mcp_tool_section(self):CODE
LOWtests/test_issue697_mcp_tool_inventory.py116 def test_panels_js_loads_tools_and_filters_name_server_description(self):CODE
LOWtests/test_surrogate_backup_restore.py20def test_journal_answer_restores_losslessly_from_actual_shrink_backup(char, duplicate, entry):CODE
LOWtests/test_surrogate_backup_restore.py69def test_surrogate_backup_does_not_override_intentional_shrink(tmp_path, char, marker):CODE
17639 more matches not shown…
Decorative Section Separators1963 hits · 6752 pts
SeverityFileLineSnippetContext
MEDIUM⚡mcp_server.py41# ── Ensure the repo root is on sys.path so api.* imports work ─────────────COMMENT
MEDIUM⚡mcp_server.py46# ── CLI: optional --profile override ──────────────────────────────────────COMMENT
MEDIUM⚡mcp_server.py53# ── Import webui canonical modules (after path setup) ─────────────────────COMMENT
MEDIUM⚡mcp_server.py195# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡mcp_server.py197# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡mcp_server.py388# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡mcp_server.py390# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmcp_server.py66# ── API auth state ─────────────────────────────────────────────────────────COMMENT
MEDIUMmcp_server.py79# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmcp_server.py81# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmcp_server.py120# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmcp_server.py122# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmcp_server.py248# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmcp_server.py250# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmcp_server.py450# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmcp_server.py452# ═════════════════════════════════════════════════════════════════════════==COMMENT
MEDIUMmcp_server.py467# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMmcp_server.py469# ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtests/test_issues_907_908_909_model_dropdown.py10# ── #907: Normalized dedup in _addLiveModelsToSelect ─────────────────────────COMMENT
MEDIUMtests/test_issues_907_908_909_model_dropdown.py66# ── #908: window._defaultModel updated on settings save ─────────────────────COMMENT
MEDIUM⚡tests/test_issues_907_908_909_model_dropdown.py92# ── #909: Injected default model label quality ───────────────────────────────COMMENT
MEDIUM⚡tests/test_real_steer.py986# ── i18n keys ─────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_real_steer.py1008# ── Leftover SSE delivery: streaming.py emits pending_steer_leftover ─────COMMENT
MEDIUMtests/test_real_steer.py99# ── Backend: the /api/chat/steer endpoint ─────────────────────────────────COMMENT
MEDIUMtests/test_real_steer.py299# ── Routing ───────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_real_steer.py310# ── Frontend: cmdSteer + busy-mode steer use the new endpoint ────────────COMMENT
MEDIUM⚡tests/test_workspace_blocked_roots_macos.py36# ── Blocked-roots set includes both literal and resolved forms ──────────────COMMENT
MEDIUM⚡tests/test_workspace_blocked_roots_macos.py55# ── /etc is rejected on both Linux and macOS ────────────────────────────────COMMENT
MEDIUM⚡tests/test_workspace_blocked_roots_macos.py76# ── /var is selectively blocked (system parts) but tmp carve-outs work ──────COMMENT
MEDIUM⚡tests/test_workspace_blocked_roots_macos.py111# ── Carve-out invariants ───────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_workspace_blocked_roots_macos.py130# ── Other roots: literal == resolved on both platforms ─────────────────────COMMENT
MEDIUMtests/test_workspace_blocked_roots_macos.py155# ── New macOS-specific blocked roots: /System and /Library ──────────────────COMMENT
MEDIUMtests/test_v050255_opus_followups.py37# ── 1: rollback checkpoint id validation ─────────────────────────────────────COMMENT
MEDIUMtests/test_v050255_opus_followups.py94# ── 2: redact_session_data settings.json read-once optimization ──────────────COMMENT
MEDIUMtests/test_v050255_opus_followups.py164# ── 3: voice mode session-id capture ─────────────────────────────────────────COMMENT
MEDIUMtests/test_v050255_opus_followups.py205# ── 4: rollback _inspect_checkpoint except tuple ─────────────────────────────COMMENT
MEDIUMtests/test_extension_sidecar_proxy.py1016# ── token-v1 proxy auth (§9.1/§9.2) ─────────────────────────────────────────COMMENT
MEDIUMtests/test_issue2565_reasoning_accumulation.py27# ── Issue 1: live reasoning segment reset at turn boundaries ─────────────────COMMENT
MEDIUM⚡tests/test_issue2565_reasoning_accumulation.py90# ── Issue 2: reasoning metadata renders as Worklog Thinking Card ─────────────COMMENT
MEDIUM⚡tests/test_issue2565_reasoning_accumulation.py130# ── Cross-cutting: done event still has the persist-on-done guard ────────────COMMENT
MEDIUMtests/test_resolve_model_provider_free_suffix.py22# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_resolve_model_provider_free_suffix.py25# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_resolve_model_provider_free_suffix.py38# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_resolve_model_provider_free_suffix.py40# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_resolve_model_provider_free_suffix.py118# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_resolve_model_provider_free_suffix.py133# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_issue5339_restart_stale_user_dedup.py132# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_issue5339_restart_stale_user_dedup.py134# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_issue5339_restart_stale_user_dedup.py486# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_issue5339_restart_stale_user_dedup.py488# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_issue5339_restart_stale_user_dedup.py536# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_issue5339_restart_stale_user_dedup.py538# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_issue569_579.py18# ── #569: docker UID/GID auto-detect ─────────────────────────────────────────COMMENT
MEDIUMtests/test_issue569_579.py120# ── #579: topbar message count already filters tool messages ──────────────────COMMENT
MEDIUMtests/test_issue4765_sessions_lru_eviction.py112# ─────────────────────────── config knob ────────────────────────────────────COMMENT
MEDIUMtests/test_issue4765_sessions_lru_eviction.py153# ─────────────────────────── invariant 1: eviction ──────────────────────────COMMENT
MEDIUMtests/test_issue4765_sessions_lru_eviction.py180# ────────────────────── invariant 2: never evict active ──────────────────────COMMENT
MEDIUMtests/test_issue4765_sessions_lru_eviction.py259# ───────────────── invariant 3: lazy reload + invariant 4: no data loss ──────COMMENT
MEDIUM⚡tests/test_media_message_snapshots.py198# ── resolve_media_ref / media_capture_allowed ──────────────────────────────COMMENT
MEDIUM⚡tests/test_media_message_snapshots.py603# ── display-metadata persistence (state.db ↔ sidecar merge) ────────────────COMMENT
1903 more matches not shown…
Empty Error Handlers510 hits · 2382 pts
SeverityFileLineSnippetContext
HIGHserver.py551except (ConnectionRefusedError, ConnectionResetError, OSError, socket.timeout):CODE
HIGHserver.py598except FileNotFoundError:CODE
HIGHserver.py201except Exception:CODE
HIGHserver.py313except OSError:CODE
HIGHserver.py317except OSError:CODE
HIGHserver.py232except OSError:CODE
HIGHserver.py237except Exception:CODE
HIGHserver.py266except Exception:CODE
HIGHserver.py324except OSError:CODE
HIGHserver.py264except Exception:CODE
HIGHserver.py329except OSError:CODE
HIGHserver.py402except _CLIENT_DISCONNECT_ERRORS:CODE
HIGHserver.py428except _CLIENT_DISCONNECT_ERRORS:CODE
HIGHmcp_server.py378except Exception:CODE
HIGHtests/test_session_events_http_integration.py121except Exception:CODE
HIGHtests/test_session_events_http_integration.py135except (ValueError, AssertionError):CODE
HIGHtests/test_sidebar_tab_visibility.py301except OSError:CODE
HIGHtests/test_issue765_streaming_persistence.py140except Exception:CODE
HIGHtests/test_issue765_streaming_persistence.py599except ValueError:CODE
HIGHtests/test_issue765_streaming_persistence.py577except Exception:CODE
HIGHtests/test_issue765_streaming_persistence.py715except Exception:CODE
HIGHtests/test_terminal_fd_leak.py78except Exception:CODE
HIGHtests/test_issue4746_extension_gallery.py546except OSError:CODE
HIGHtests/test_issue4746_extension_gallery.py564except OSError:CODE
HIGHtests/test_issue1094_provider_bugs.py70except Exception:CODE
HIGHtests/conftest.py886except Exception:CODE
HIGHtests/conftest.py934except Exception:CODE
HIGHtests/conftest.py991except Exception:CODE
HIGHtests/conftest.py1241except Exception:CODE
HIGHtests/conftest.py1247except Exception:CODE
HIGHtests/conftest.py1431except Exception:CODE
HIGHtests/conftest.py1436except Exception:CODE
HIGHtests/conftest.py1448except Exception:CODE
HIGHtests/conftest.py1454except Exception:CODE
HIGHtests/conftest.py1461except Exception:CODE
HIGHtests/conftest.py1466except Exception:CODE
HIGHtests/conftest.py409except Exception:CODE
HIGHtests/conftest.py426except Exception:CODE
HIGHtests/conftest.py1189except Exception:CODE
HIGHtests/conftest.py1343except Exception:CODE
HIGHtests/conftest.py1443except Exception:CODE
HIGHtests/test_sprint28.py67except Exception:CODE
HIGHtests/test_issue1499_keyless_onboarding.py357except Exception:CODE
HIGHtests/test_7506_full_cap_dead_endpoint.py38except (BrokenPipeError, ConnectionResetError):CODE
HIGHtests/test_issue1106_custom_providers_models.py9except Exception:CODE
HIGHtests/test_gateway_sync.py227except Exception:CODE
HIGHtests/test_gateway_sync.py258except Exception:CODE
HIGHtests/test_gateway_sync.py293except Exception:CODE
HIGHtests/test_gateway_sync.py353except Exception:CODE
HIGHtests/test_gateway_sync.py384except Exception:CODE
HIGHtests/test_gateway_sync.py427except Exception:CODE
HIGHtests/test_gateway_sync.py500except Exception:CODE
HIGHtests/test_gateway_sync.py777except Exception:CODE
HIGHtests/test_gateway_sync.py852except Exception:CODE
HIGHtests/test_gateway_sync.py892except Exception:CODE
HIGHtests/test_gateway_sync.py938except Exception:CODE
HIGHtests/test_gateway_sync.py978except Exception:CODE
HIGHtests/test_gateway_sync.py1026except Exception:CODE
HIGHtests/test_gateway_sync.py1129except Exception:CODE
HIGHtests/test_gateway_sync.py1151except Exception:CODE
450 more matches not shown…
Excessive Try-Catch Wrapping1420 hits · 1129 pts
SeverityFileLineSnippetContext
LOWbootstrap.py68 except Exception as exc:CODE
LOWbootstrap.py435 except Exception:CODE
LOWbootstrap.py437 except Exception:CODE
LOWbootstrap.py536 except Exception as exc:CODE
LOWbootstrap.py1015 except Exception as exc:CODE
LOWmanaged_agent_startup.py32 except Exception as exc: # noqa: BLE001 - SystemExit (relaunch/repair exit) still propagatesCODE
MEDIUMserver.py68def _blocked_create_connection(address, *a, **kw):CODE
MEDIUMserver.py198def _close_request_quietly(self, request) -> None:CODE
MEDIUMserver.py257def _reject_overflow_request_worker(self, request) -> None:CODE
MEDIUMserver.py283def process_request_thread(self, request, client_address):CODE
MEDIUMserver.py645def _start_watcher_safe():CODE
LOW⚡server.py201 except Exception:CODE
LOW⚡server.py213 except Exception:CODE
LOW⚡server.py253 except Exception:CODE
LOW⚡server.py264 except Exception:CODE
LOW⚡server.py266 except Exception:CODE
LOW⚡server.py648 except Exception as e:CODE
LOW⚡server.py656 except Exception as e:CODE
LOW⚡server.py663 except Exception as e:CODE
LOW⚡server.py670 except Exception as e:CODE
LOW⚡server.py676 except Exception as e:CODE
LOW⚡server.py740 except Exception:CODE
LOW⚡server.py745 except Exception:CODE
LOW⚡server.py750 except Exception:CODE
LOW⚡server.py755 except Exception:CODE
LOWserver.py187 except Exception:CODE
LOWserver.py237 except Exception:CODE
LOWserver.py278 except Exception:CODE
LOWserver.py363 except Exception:CODE
LOWserver.py368 except Exception:CODE
LOWserver.py398 except Exception:CODE
LOWserver.py404 except Exception:CODE
LOWserver.py424 except Exception:CODE
LOWserver.py430 except Exception:CODE
LOWserver.py464 except Exception as exc:CODE
LOWserver.py474 except Exception as exc:CODE
LOWserver.py489 except Exception:CODE
LOWserver.py522 except Exception:CODE
LOWserver.py590 except Exception as exc:CODE
LOWserver.py693 except Exception as e:CODE
LOWctl.sh757except Exception:CODE
LOW⚡mcp_server.py191 except Exception as e:CODE
LOW⚡mcp_server.py378 except Exception:CODE
LOWmcp_server.py101 except Exception:CODE
LOWmcp_server.py164 except Exception:CODE
LOWtests/test_session_events_http_integration.py121 except Exception:CODE
LOWtests/test_issue4749_steer_reason_and_recovery.py280 except Exception:CODE
LOWtests/test_issue2931_edge_tts_endpoint.py41 except Exception:CODE
MEDIUMtests/test_issue2931_edge_tts_endpoint.py38def payload(self):CODE
MEDIUMtests/test_issue765_streaming_persistence.py303def _save_worker():CODE
LOWtests/test_issue765_streaming_persistence.py140 except Exception:CODE
LOWtests/test_issue765_streaming_persistence.py306 except Exception as e:CODE
LOWtests/test_issue765_streaming_persistence.py577 except Exception:CODE
LOWtests/test_issue765_streaming_persistence.py580 except Exception as e:CODE
LOWtests/test_issue765_streaming_persistence.py715 except Exception:CODE
LOWtests/test_issue765_streaming_persistence.py718 except Exception as e:CODE
LOW⚡tests/test_terminal_fd_leak.py78 except Exception:CODE
LOWtests/test_session_action_menu_focus.py129 except Exception: # pragma: no cover - dependency missing pathCODE
LOWtests/test_session_action_menu_focus.py161 except Exception: # pragma: no cover - dependency missing pathCODE
MEDIUMtests/test_session_action_menu_focus.py126def test_session_action_menu_focus_lifecycle_in_browser():CODE
1360 more matches not shown…
Unused Imports721 hits · 618 pts
SeverityFileLineSnippetContext
LOWbootstrap.py4CODE
LOWmcp_server.py54CODE
LOWmcp_server.py55CODE
LOWmcp_server.py55CODE
LOWmcp_server.py55CODE
LOWmcp_server.py59CODE
LOWtests/test_real_steer.py20CODE
LOWtests/test_surrogate_backup_restore.py10CODE
LOWtests/test_zip_media_delivery.py12CODE
LOWtests/test_v050255_opus_followups.py27CODE
LOWtests/test_v050255_opus_followups.py29CODE
LOWtests/test_run_journal_protocol_upgrade.py9CODE
LOWtests/test_issue5532_clear_truncation_watermark.py28CODE
LOWtests/test_issue4891_detail_header_visibility.py16CODE
LOWtests/test_issue1257_llm_wiki_status.py1CODE
LOWtests/test_issue569_579.py11CODE
LOWtests/test_compaction_current_summary_fallback.py15CODE
LOWtests/test_visible_video_preload.py3CODE
LOWtests/test_run_journal_seq_cache.py11CODE
LOWtests/test_media_message_snapshots.py16CODE
LOWtests/test_issue3987_imported_session_titles.py3CODE
LOWtests/test_issue7941_csp_remote_image_exfiltration.py16CODE
LOWtests/test_issue5270_cli_webui_continuity.py1CODE
LOWtests/test_sprint49.py13CODE
LOWtests/test_update_checker.py11CODE
LOWtests/test_update_checker.py12CODE
LOWtests/test_update_checker.py13CODE
LOWtests/test_update_checker.py15CODE
LOWtests/test_gateway_watcher_idle_park.py12CODE
LOWtests/test_mcp_runtime_profile_scope.py13CODE
LOWtests/test_mcp_runtime_profile_scope.py26CODE
LOWtests/test_mcp_runtime_profile_scope.py28CODE
LOWtests/test_approval_sse.py14CODE
LOWtests/test_cli_session_tool_metadata.py3CODE
LOWtests/test_issue3260_self_hosted_providers_settings.py3CODE
LOWtests/test_wakeup_model_resolve_hang.py30CODE
LOWtests/test_agent_runtime_revision_guard.py3CODE
LOWtests/test_sprint40_ui_polish.py8CODE
LOWtests/test_sprint40_ui_polish.py10CODE
LOWtests/test_sprint40_ui_polish.py13CODE
LOWtests/test_metadata_save_wipe_1558.py21CODE
LOWtests/test_metadata_save_wipe_1558.py22CODE
LOWtests/test_empty_session_no_disk_write.py22CODE
LOWtests/test_empty_session_no_disk_write.py27CODE
LOWtests/test_issue7056_login_hides_password_form.py16CODE
LOWtests/test_bg_task_complete_focus_drop.py22CODE
LOWtests/test_issue1240_generic_cli_catalog_sync.py8CODE
LOWtests/test_issue1095_pasted_images.py8CODE
LOWtests/test_cancelled_history_real_producers.py7CODE
LOWtests/test_lineage_display_cache.py13CODE
LOWtests/test_anchor_fallback_ownership.py9CODE
LOWtests/test_cancelled_turn_status.py7CODE
LOWtests/test_session_channel_option_x.py12CODE
LOWtests/test_issue7361_turn_adoption_stamp.py22CODE
LOWtests/test_7792_terminal_row_parity.py19CODE
LOWtests/test_clarify_sse.py12CODE
LOWtests/test_partial_bloat_fix.py19CODE
LOWtests/test_issue3929_error_preserves_partial.py3CODE
LOWtests/test_claude_code_session_import.py1CODE
LOWtests/test_docker_docs_and_readonly.py20CODE
661 more matches not shown…
Cross-File Repetition112 hits · 560 pts
SeverityFileLineSnippetContext
HIGHtests/test_6728_cron_running_sidebar.py0function extractfunc(name) { const re = new regexp('function\\s+' + name + '\\s*\\('); const start = src.search(re); if STRING
HIGH…s/test_issue5638_user_row_intrinsic_height_collapse.py0function extractfunc(name) { const re = new regexp('function\\s+' + name + '\\s*\\('); const start = src.search(re); if STRING
HIGH…test_issue5744_nonvirtual_userrow_collapse_jumpback.py0function extractfunc(name) { const re = new regexp('function\\s+' + name + '\\s*\\('); const start = src.search(re); if STRING
HIGHtests/test_issue5637_stale_anchor_guard.py0function extractfunc(name) { const re = new regexp('function\\s+' + name + '\\s*\\('); const start = src.search(re); if STRING
HIGHtests/test_issue2051_duplicate_model_picker_entry.py0real source of the named ui.js functions — never a re-implementation.STRING
HIGHtests/test_issue2051_duplicate_assistant_answer.py0real source of the named ui.js functions — never a re-implementation.STRING
HIGHtests/test_issue2051_duplicate_interrupt_notice.py0real source of the named ui.js functions — never a re-implementation.STRING
HIGHtests/test_issue1154_fenced_code_leak.py0const fs = require('fs'); const src = fs.readfilesync(process.argv[2], 'utf8'); global.window = {}; global.document = { STRING
HIGHtests/test_issue1618_yaml_json_diff_newline_preserve.py0const fs = require('fs'); const src = fs.readfilesync(process.argv[2], 'utf8'); global.window = {}; global.document = { STRING
HIGHtests/test_issue1446_glued_heading_lift.py0const fs = require('fs'); const src = fs.readfilesync(process.argv[2], 'utf8'); global.window = {}; global.document = { STRING
HIGHtests/test_issue2881_workspace_chat_links.py0const fs = require('fs'); const src = fs.readfilesync(process.argv[2], 'utf8'); global.window = {}; global.document = { STRING
HIGHtests/test_issue2428_table_pipe_protection.py0const fs = require('fs'); const src = fs.readfilesync(process.argv[2], 'utf8'); global.window = {}; global.document = { STRING
HIGHtests/test_gateway_watcher_idle_park.py0create table sessions ( id text primary key, source text, session_source text, title text, model text, started_at real nSTRING
HIGHtests/test_gateway_watcher_resubscribe_fresh.py0create table sessions ( id text primary key, source text, session_source text, title text, model text, started_at real nSTRING
HIGHtests/test_issue5379_cron_project_optin.py0create table sessions ( id text primary key, source text, session_source text, title text, model text, started_at real nSTRING
HIGHtests/test_cross_profile_system_project_tagging.py0create table sessions ( id text primary key, source text, session_source text, title text, model text, started_at real nSTRING
HIGHtests/test_session_lineage_report.py0create table sessions ( id text primary key, source text, session_source text, title text, model text, started_at real nSTRING
HIGHtests/test_pr7555_cli_session_availability.py0create table sessions ( id text primary key, source text, session_source text, title text, model text, started_at real nSTRING
HIGHtests/test_issue3930_source_filter_pushdown.py0create table sessions ( id text primary key, source text, session_source text, title text, model text, started_at real nSTRING
HIGHtests/test_issue3506_memory_and_watcher.py0create table sessions ( id text primary key, source text, session_source text, title text, model text, started_at real nSTRING
HIGHtests/test_profile_home_resolve_caching.py0create table sessions ( id text primary key, source text, session_source text, title text, model text, started_at real nSTRING
HIGHtests/test_issue3585_cron_session_overflow.py0create table sessions ( id text primary key, source text, session_source text, title text, model text, started_at real nSTRING
HIGHtests/test_acp_session_sidebar_visibility.py0create table sessions ( id text primary key, source text, session_source text, title text, model text, started_at real nSTRING
HIGHtests/test_issue4842_cron_projection_perf.py0create table sessions ( id text primary key, source text, session_source text, title text, model text, started_at real nSTRING
HIGHtests/test_issue3586_cli_session_source_label.py0create table sessions ( id text primary key, source text, session_source text, title text, model text, started_at real nSTRING
HIGHtests/test_issue2628_cli_sessions_perf.py0create table sessions ( id text primary key, source text, session_source text, title text, model text, started_at real nSTRING
HIGHtests/test_issue1013_handoff_dock.py0create table sessions ( id text primary key, source text, session_source text, title text, model text, started_at real nSTRING
HIGHtests/test_issue5379_cron_project_optin.py0create table sessions ( id text primary key, title text, model text, message_count integer, started_at real, source textSTRING
HIGHtests/test_issue4385_cron_archive_reappears.py0create table sessions ( id text primary key, title text, model text, message_count integer, started_at real, source textSTRING
HIGHtests/test_issue3762_importable_rows_schema_guard.py0create table sessions ( id text primary key, title text, model text, message_count integer, started_at real, source textSTRING
HIGHtests/test_issue5455_listing_readonly_connection.py0create table sessions ( id text primary key, title text, model text, message_count integer, started_at real, source textSTRING
HIGHtests/test_issue3172_cron_session_limit.py0create table sessions ( id text primary key, title text, model text, message_count integer, started_at real, source textSTRING
HIGHtests/test_session_discoverability_repair.py0create table sessions ( id text primary key, title text, model text, message_count integer, started_at real, source textSTRING
HIGHtests/test_cron_session_title.py0create table sessions ( id text primary key, title text, model text, message_count integer, started_at real, source textSTRING
HIGHtests/test_issue3929_error_preserves_partial.py0redirect session_dir / session_index_file to an isolated temp dir.STRING
HIGHtests/test_issue1361_cancel_data_loss.py0redirect session_dir / session_index_file to an isolated temp dir.STRING
HIGHtests/test_issue1298_cancel_and_activity.py0redirect session_dir / session_index_file to an isolated temp dir.STRING
HIGHtests/test_issue1094_provider_bugs.py0stub hermes_cli so tests are deterministic and offline.STRING
HIGHtests/test_provider_management.py0stub hermes_cli so tests are deterministic and offline.STRING
HIGHtests/test_issue1500_lmstudio_env_var_alignment.py0stub hermes_cli so tests are deterministic and offline.STRING
HIGHtests/test_custom_provider_dict_models.py0stub hermes_cli so tests are deterministic and offline.STRING
HIGHtests/test_custom_providers_in_panel.py0stub hermes_cli so tests are deterministic and offline.STRING
HIGHtests/test_agent_max_turns_parity.py0return the source of the `_compute_agent_cache_signature()` helper. the signature blob used to be inlined in the streamiSTRING
HIGHtests/test_issue1897_profile_switch_agent_cache.py0return the source of the `_compute_agent_cache_signature()` helper. the signature blob used to be inlined in the streamiSTRING
HIGHtests/test_streaming_max_tokens_quota.py0return the source of the `_compute_agent_cache_signature()` helper. the signature blob used to be inlined in the streamiSTRING
HIGHtests/test_agent_max_turns_parity.py0return the `_json.dumps([...])` field list the signature hashes.STRING
HIGHtests/test_issue1897_profile_switch_agent_cache.py0return the `_json.dumps([...])` field list the signature hashes.STRING
HIGHtests/test_streaming_max_tokens_quota.py0return the `_json.dumps([...])` field list the signature hashes.STRING
HIGHtests/test_agent_max_turns_parity.py0return `(offset, source)` for every production signature call site. paren-balanced so the whole multi-line keyword-argumSTRING
HIGHtests/test_issue1897_profile_switch_agent_cache.py0return `(offset, source)` for every production signature call site. paren-balanced so the whole multi-line keyword-argumSTRING
HIGHtests/test_streaming_max_tokens_quota.py0return `(offset, source)` for every production signature call site. paren-balanced so the whole multi-line keyword-argumSTRING
HIGHtests/test_agent_max_turns_parity.py0return the single offset of a lifecycle marker in streaming.py.STRING
HIGHtests/test_issue1897_profile_switch_agent_cache.py0return the single offset of a lifecycle marker in streaming.py.STRING
HIGHtests/test_streaming_max_tokens_quota.py0return the single offset of a lifecycle marker in streaming.py.STRING
HIGHtests/test_agent_max_turns_parity.py0map each lifecycle region to the single signature call inside it. the regions are the initial send, the returned-error sSTRING
HIGHtests/test_streaming_max_tokens_quota.py0map each lifecycle region to the single signature call inside it. the regions are the initial send, the returned-error sSTRING
HIGHtests/test_issue1897_profile_switch_agent_cache.py0map each lifecycle region to the single signature call inside it. the regions are the initial send, the returned-error sSTRING
HIGHtests/test_issue_neuralwatt_env_key.py0force get_available_models() down its explicit env-var fallback path.STRING
HIGHtests/test_issue2025_xiaomi_env_key.py0force get_available_models() down its explicit env-var fallback path.STRING
HIGHtests/test_issue2720_bedrock_model_picker.py0force get_available_models() down its explicit env-var fallback path.STRING
52 more matches not shown…
Deep Nesting659 hits · 470 pts
SeverityFileLineSnippetContext
LOWbootstrap.py28CODE
LOWbootstrap.py281CODE
LOWbootstrap.py442CODE
LOWbootstrap.py845CODE
LOWserver.py151CODE
LOWmcp_server.py321CODE
LOWtests/test_session_events_http_integration.py25CODE
LOWtests/test_session_events_http_integration.py82CODE
LOWtests/test_issue5637_mobile_scroll_clamp_jumpback.py35CODE
LOWtests/test_issue5637_mobile_scroll_clamp_jumpback.py52CODE
LOWtests/test_run_journal_protocol_upgrade.py54CODE
LOWtests/test_issue3635_profile_chip_active.py29CODE
LOWtests/test_issue3635_profile_chip_active.py98CODE
LOWtests/test_issue3599_inline_thinking_extraction.py15CODE
LOWtests/test_issue4891_detail_header_visibility.py24CODE
LOWtests/test_issue4749_steer_reason_and_recovery.py268CODE
LOWtests/test_issue1431_toolsets_chip_responsive.py141CODE
LOWtests/test_issue3250_upward_scroll_intent_window.py15CODE
LOWtests/test_issue1731_upward_scroll_unpins.py22CODE
LOWtests/test_issue765_streaming_persistence.py521CODE
LOWtests/test_issue765_streaming_persistence.py663CODE
LOWtests/test_issue765_streaming_persistence.py564CODE
LOWtests/test_issue765_streaming_persistence.py702CODE
LOWtests/test_korean_locale.py18CODE
LOWtests/test_issue3571_saved_prompts.py18CODE
LOWtests/test_large_text_paste_attachment.py22CODE
LOWtests/test_session_unread_dot_on_visit.py145CODE
LOWtests/test_agent_runtime_revision_guard.py102CODE
LOWtests/test_bg_task_complete_focus_drop.py51CODE
LOWtests/test_cancelled_history_real_producers.py438CODE
LOWtests/test_cancelled_history_real_producers.py520CODE
LOWtests/test_issue6080_model_picker_reparent.py33CODE
LOWtests/test_anchor_fallback_ownership.py127CODE
LOWtests/test_anchor_fallback_ownership.py191CODE
LOWtests/test_session_channel_option_x.py23CODE
LOWtests/test_session_channel_option_x.py230CODE
LOWtests/test_session_channel_option_x.py259CODE
LOWtests/test_language_precedence.py55CODE
LOWtests/test_language_precedence.py122CODE
LOWtests/test_tars_scroll_reset_regressions.py8CODE
LOWtests/test_session_middle_click_new_tab.py37CODE
LOWtests/test_issue5514_composer_grow_scroll_pin.py47CODE
LOWtests/test_issue6067_artifact_paths.py35CODE
LOWtests/test_issue6067_artifact_paths.py116CODE
LOWtests/test_issue4598_composer_control_visibility.py69CODE
LOWtests/conftest.py228CODE
LOWtests/conftest.py455CODE
LOWtests/conftest.py807CODE
LOWtests/conftest.py890CODE
LOWtests/test_agent_max_turns_parity.py36CODE
LOWtests/test_issue4877_fresh_blank_boot_workspace_bind.py20CODE
LOWtests/test_issue1690_scroll_completion.py9CODE
LOWtests/test_issue1690_scroll_completion.py23CODE
LOWtests/test_scroll_collapse_clamp_keeps_follow.py32CODE
LOWtests/test_profile_switch_ux.py20CODE
LOWtests/test_profile_switch_ux.py85CODE
LOWtests/test_smd_media_in_stream.py686CODE
LOWtests/test_smd_media_in_stream.py744CODE
LOWtests/test_cancelled_successor_identity_proof.py54CODE
LOWtests/test_pwa_notification_controls.py52CODE
599 more matches not shown…
Over-Commented Block497 hits · 288 pts
SeverityFileLineSnippetContext
LOWbootstrap.py561 "under launchd / systemd / supervisord so the "COMMENT
LOWbootstrap.py921 f"Could not chdir to {server_cwd!r} before exec: {exc}"COMMENT
LOWserver.py701 print('', flush=True)COMMENT
LOWrequirements.txt1# Hermes Web UI -- minimal Python dependenciesCOMMENT
LOWpyproject.toml61 "static",COMMENT
LOWpyproject.toml81# prevention value lives.COMMENT
LOWdocker-compose.three-container.yml1# Three-container Docker Compose: Hermes Agent + Dashboard + WebUICOMMENT
LOWdocker-compose.three-container.yml21#COMMENT
LOWdocker-compose.three-container.yml61 # Gateway API server (port 8642). The WebUI's Tasks/cron health probeCOMMENT
LOWdocker-compose.three-container.yml121 container_name: hermes-webuiCOMMENT
LOWdocker-compose.three-container.yml141 environment:COMMENT
LOWdocker-compose.three-container.yml161 # NOTE: When using bind-mount volumes shared across containers, ALL containersCOMMENT
LOWdocker-compose.three-container.yml181COMMENT
LOWdocker-compose.yml1# Hermes WebUI — single-container Docker ComposeCOMMENT
LOWdocker-compose.yml21 volumes:COMMENT
LOWdocker-compose.yml41 # Where to store sessions, workspaces, and other state (default: ~/.hermes/webui)COMMENT
LOWdocker_init.bash61# identity the operator chose explicitly — including the legitimate value 1024,COMMENT
LOWdocker_init.bash221 fiCOMMENT
LOWdocker_init.bash461 echo ""COMMENT
LOWdocker_init.bash481 # it the same lifecycle as .deps_installed: both survive restarts and bothCOMMENT
LOWctl.sh521COMMENT
LOWdocker-compose.two-container.yml1# Two-container Docker Compose: Hermes Agent + Hermes WebUICOMMENT
LOWdocker-compose.two-container.yml21# → see https://github.com/sunnysktsang/hermes-suite for an all-in-one imageCOMMENT
LOWdocker-compose.two-container.yml61 # Expose agent source so the WebUI can install dependencies from itCOMMENT
LOWdocker-compose.two-container.yml101 - hermes-home:/home/hermeswebui/.hermesCOMMENT
LOWdocker-compose.two-container.yml121 # Match your host user's UID/GID for correct file permissions.COMMENT
LOWdocker-compose.two-container.yml141 # - HERMES_HOME_MODE=0640COMMENT
LOWstart.sh1#!/usr/bin/env bashCOMMENT
LOWstart.sh21# requires a password — better than exiting non-zero with `sudo: a passwordCOMMENT
LOWstart.sh61 exit 1COMMENT
LOWstart.sh121 *) _hermes_probe_host="${_hermes_host}" ;;COMMENT
LOWtests/test_resolve_model_provider_free_suffix.py121# The PR #1762 fix for #1744 skipped the rsplit-fallback when the providerCOMMENT
LOWtests/test_issue765_streaming_persistence.py741 assert data["active_stream_id"] is None, (COMMENT
LOWtests/test_media_message_snapshots.py761 # Transparent segments: original _getCachedRender line is preserved (sourceCOMMENT
LOWtests/test_session_channel_option_x.py521COMMENT
LOWtests/test_session_channel_option_x.py621 with bp.SESSION_CHANNELS_LOCK:COMMENT
LOWtests/test_session_channel_option_x.py841 assert '"event_id"' in fn_src or "'event_id'" in fn_src, (COMMENT
LOWtests/test_session_channel_option_x.py861# EventSource was ever created — the session stream stayed dead until the userCOMMENT
LOWtests/test_session_channel_option_x.py901# Bug: loadSession() tears down the live per-session SSE unconditionally at theCOMMENT
LOWtests/test_language_precedence.py281# maintainer cannot silently reintroduce the round-2 regressions:COMMENT
LOWtests/test_docker_docs_and_readonly.py161# `uv pip install "$_agent_src[all]"` invokes setuptools' egg_info build step,COMMENT
LOWtests/test_issue5514_composer_grow_scroll_pin.py541COMMENT
LOWtests/test_issue5514_composer_grow_scroll_pin.py641COMMENT
LOWtests/test_issue5514_composer_grow_scroll_pin.py741COMMENT
LOWtests/conftest.py121# Test state must NEVER live inside the real Hermes home (~/.hermes or anyCOMMENT
LOWtests/conftest.py181os.environ['HERMES_BASE_HOME'] = str(TEST_STATE_DIR)COMMENT
LOWtests/conftest.py381 # re-establishes its own profile so the leak is masked, but a test that onlyCOMMENT
LOWtests/conftest.py521 yieldCOMMENT
LOWtests/conftest.py541# imports trigger botocore initialisation.COMMENT
LOWtests/conftest.py561# Tests that need to verify execv WAS called still monkeypatch it themselvesCOMMENT
LOWtests/conftest.py581# an existing mock and tried to hit the real LM Studio host.COMMENT
LOWtests/conftest.py1061 # HERMES_WEBUI_STATE_DIR for their own purposes, but HERMES_WEBUI_TEST_STATE_DIRCOMMENT
LOWtests/conftest.py1101 # Github tokens (PR/issue tools shouldn't be exercised in tests)COMMENT
LOWtests/conftest.py1261# even after the module object itself is restored. That is the exact chronicCOMMENT
LOWtests/conftest.py1281# (test_v050259_sessiondb_fd_leak's `from hermes_state import SessionDB` failsCOMMENT
LOWtests/conftest.py1361 if _v is None:COMMENT
LOWtests/test_custom_provider_prefix_collisions.py1import sysCOMMENT
LOWtests/test_issue2518_active_provider_fallback.py161 ],COMMENT
LOWtests/test_issue2518_active_provider_fallback.py181# consulting the catalog — silently re-pointing the session at the wrongCOMMENT
LOWtests/test_mcp_server.py21# CI and the local test runner install the compatible dependency; minimalCOMMENT
437 more matches not shown…
AI Slop Vocabulary59 hits · 151 pts
SeverityFileLineSnippetContext
MEDIUMbootstrap.py937 # Mirror the robust pattern from api/updates._schedule_restart:COMMENT
LOWctl.sh127 # into the shell environment (including those just set by repo .env) areCOMMENT
MEDIUMtests/test_issue5532_clear_truncation_watermark.py40 """Point the session store at an isolated tmp dir (mirror #2914 harness)."""STRING
MEDIUMtests/test_media_message_snapshots.py766 # scene render chain is exercised by harness-extracted tests that wouldCOMMENT
MEDIUM⚡tests/test_session_unread_dot_on_visit.py38# Sibling harness scaffolding lives beside this file and is not on sys.path byCOMMENT
MEDIUM⚡tests/test_session_unread_dot_on_visit.py39# default; import it the same way the other node-harness tests do.COMMENT
MEDIUMtests/test_session_middle_click_new_tab.py641 # ReferenceError path that only exists in the harness.COMMENT
MEDIUMtests/test_session_middle_click_new_tab.py304 # harness must stub every closure free-var the branch touches:STRING
MEDIUMtests/test_session_middle_click_new_tab.py417 # harness must stub every closure free-var the branch touches.STRING
MEDIUM⚡tests/test_issue5514_composer_grow_scroll_pin.py559# harness leaves the reader stranded; with the preserve-scrollTop fix it does not.COMMENT
MEDIUMtests/conftest.py1032 # Stale servers from QA harness runs or prior test sessions causeCOMMENT
MEDIUMtests/test_scroll_collapse_clamp_keeps_follow.py17with controllable geometry, the same way the #4970 harness does.STRING
MEDIUMtests/test_7027_state_dir_uid_probe.py133# ── behavioural harness ───────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_runtime_adapter_seam.py557 assert "#### Slice 4c: Feature-flagged runner backend and restart/reattach harness" in rfcCODE
MEDIUMtests/test_runtime_adapter_seam.py589 assert "#### Slice 4e: Default-off runner chat-start route-selection harness" in rfcCODE
MEDIUMtests/test_runtime_adapter_seam.py626 assert "#### Slice 4g: Supervised local runner process harness gate" in rfcCODE
MEDIUM⚡tests/test_6710_panel_dismiss_and_artifact_open.py64 # behaviour under test for the reopen-during-read case, so the harnessCOMMENT
MEDIUM⚡tests/test_6710_panel_dismiss_and_artifact_open.py69 # real shipped code too, not a harness mirror.COMMENT
LOWtests/test_session_sidebar_cache.py615 # text-file state.db (a real sqlite connect would just return None here).COMMENT
MEDIUM⚡tests/test_5428_stale_client_recovery.py62# Node-backed behavioral harnessCOMMENT
MEDIUMtests/test_gateway_events_watchdog_7978.py164# ---------------------------------------------------------------- harness ---COMMENT
MEDIUMtests/test_gateway_events_watchdog_7978.py2190 except Exception as exc: # noqa: BLE001 - harness reporterCODE
MEDIUM⚡…test_6808_appearance_bootstrap_no_fabricated_choice.py110 # The harness must have actually run the bootstrap: it always paints.STRING
MEDIUMtests/test_mobile_layout.py498_BOOT_JS = BOOT # alias used by the lifecycle harnessSTRING
MEDIUM⚡…ts/test_issue1567_nous_picker_capacity_and_symmetry.py578 # robust against minor refactors of surrounding code.COMMENT
MEDIUM⚡tests/test_issue5960_cron_unread_profile_scope.py20# Sibling harness scaffolding lives beside this file and is not on sys.path byCOMMENT
MEDIUM⚡tests/test_issue5960_cron_unread_profile_scope.py21# default; import it the same way the other node-harness tests do.COMMENT
MEDIUMtests/_unread_store_helpers.py41# Declared from the module source so a harness cannot drift from the values theCOMMENT
MEDIUMtests/_unread_store_helpers.py89# Ready to interpolate into a node harness.COMMENT
MEDIUMtests/test_issue4856_android_scroll_regression.py138# ── #4970 low-delta wheel intent: behavioral node-harness ────────────────────COMMENT
MEDIUM⚡tests/test_issue4856_android_scroll_regression.py173 Mirrors the #4295 harness shape but injects the #4970 helpers so we canSTRING
MEDIUMtests/test_issue4856_android_scroll_regression.py858# ── Behavioral harness: execute the REAL _fixMobileScrollJank against a mockSTRING
MEDIUMtests/test_pinned_tail_midstream_jitter.py209 # The call is typeof-guarded so a standalone renderMessages() node harness (which doesSTRING
MEDIUMtests/test_7628_recovery_window_integrity.py122# ── node harness ─────────────────────────────────────────────────────────────COMMENT
MEDIUMtests/test_issue500_message_list_virtualization.py108 This deliberately reuses issue #500's proven virtualization harness insteadCODE
MEDIUMtests/test_issue500_message_list_virtualization.py1482 (~30% WebContent CPU, issue #6654). The queued-rAF harness drives theCODE
MEDIUMtests/test_blank_live_turn_preserve_guard.py182 """#6948 browser-lifecycle equivalent in the node harness: the fullSTRING
MEDIUMtests/test_issue7391_first_party_edge_tts_engine.py155 # explicitly or the harness hits ReferenceError.COMMENT
MEDIUMtests/test_issue7391_first_party_edge_tts_engine.py174 # profile. The harness pins activeProfile='default' and the old code omittedCOMMENT
MEDIUMtests/test_issue6414_programmatic_scroll_user_intent.py71// #7494: the inlined handler consults the targeting gate; this harness has noCOMMENT
MEDIUM…sts/test_issue1806_named_custom_provider_resolution.py1653# Each driver composes the harness the way its consumer needs it and returns theCOMMENT
MEDIUM…sts/test_issue1806_named_custom_provider_resolution.py4960# over the whole captured harness, so a leak through ANY field — bundle, errorCOMMENT
MEDIUM⚡tests/test_issue5364_skills_stats_thundering_herd.py37# Import harness (mirrors tests/test_issue4783_profile_skills_mtime_cache.py)COMMENT
MEDIUM⚡tests/test_issue4662_profile_switch_skeleton_static.py155 # window. Anchoring on the next function def keeps the assertion robust.COMMENT
MEDIUM⚡tests/test_cron_toast_notifications.py231# Node harness: drives the real startCronPolling tick with stubbed api /COMMENT
MEDIUM⚡tests/test_extension_theme_registration.py113# ── Layer 2: behavioral (Node harness drives the real functions) ─────────────COMMENT
MEDIUMtests/test_issue3162_ensure_messages_loaded.py23 # Balancing braces from the opening `{` is robust to any in-function growth.COMMENT
MEDIUMtests/test_issue1574_cron_profile_lock.py299 # Use fork only for the outer test harness so this pytest module does notCOMMENT
MEDIUMtests/test_optionz_liveview_perf.py591# jump). Reproduced deterministically with the controlled Playwright harness inCOMMENT
MEDIUMtests/test_7318_live_title_owner.py60 # node harness that drains without asserting also exits 0.STRING
MEDIUM⚡tests/test_issue5273_active_done_viewed_sync.py15# Sibling harness scaffolding lives beside this file and is not on sys.path byCOMMENT
MEDIUM⚡tests/test_issue5273_active_done_viewed_sync.py16# default; import it the same way the other node-harness tests do.COMMENT
MEDIUM⚡tests/test_issue2024_env_lock_skill_imports.py108 # Simple string check is sufficient and more robust than AST forCOMMENT
LOWtests/test_model_resolver.py1563 # which would overwrite the in-memory cfg we just set up.COMMENT
MEDIUMtests/test_issue5637_stale_anchor_guard.py121 # input actually advances _messageScrollInputGeneration in the harness.COMMENT
MEDIUM⚡tests/test_v050260_docker_invariants.py126# ── 4: docs/docker.md comprehensive guide ──────────────────────────────────COMMENT
MEDIUM⚡tests/test_cron_panel_intent_round5.py376# panel is switched after that. The harness therefore evaluates the block, thenCOMMENT
MEDIUMapi/gateway_chat.py1215 # observer (harness/test seam) is notified.COMMENT
MEDIUM⚡api/crash_visibility.py102 # Absolutely nothing a diagnostic writer may raise should propagate.COMMENT
Self-Referential Comments20 hits · 66 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_issue3957_profile_providers_models.py804 # Create a config.yaml with a custom provider that has key_envCOMMENT
MEDIUM⚡tests/test_issue1094_provider_bugs.py210 # Create a fake config.yaml with a provider keyCOMMENT
MEDIUMtests/test_issue570_permission.py24 # Create the file then make the parent unreadable so .exists() raises PermissionErrorCOMMENT
MEDIUMtests/test_gateway_sync.py2798 # Create a WebUI session with a known IDCOMMENT
MEDIUMtests/test_bootstrap_foreground.py514 # Create a non-executable file at the python pathCOMMENT
MEDIUMtests/test_v050257_opus_followups.py185 # Create a fake session fileCOMMENT
MEDIUMtests/test_symlink_cycle_detection.py184 # Create a symlink inside target that points back to workspaceCOMMENT
MEDIUMtests/test_session_sidecar_repair.py530 # Create an agent lockCOMMENT
MEDIUMtests/test_sprint14.py39 # Create a file firstCOMMENT
MEDIUMtests/test_issue893_cancel_preserves_partial.py87 # Create a session and a fake running streamCOMMENT
MEDIUMtests/test_workspace_upload.py650 # Create a zip with a malicious member pathCOMMENT
MEDIUM⚡tests/test_sprint11.py87 # Create a session with a custom model stringCOMMENT
MEDIUMtests/test_issue2698_isolated_hermes_home.py130 # Create a few test profilesCOMMENT
MEDIUM⚡tests/test_regressions.py323 # Create a session with a title so it shows in the listCOMMENT
MEDIUM⚡tests/test_session_index.py1496 # Create a valid index file so the incremental path is attemptedCOMMENT
MEDIUMtests/test_session_index.py309 # Create a new session C not in the indexCOMMENT
MEDIUMtests/test_media_inline.py1313 # Create a session so we can use /api/file/rawCOMMENT
MEDIUM⚡tests/test_issue1195_session_profile_routing.py43 # Create an existing profile directoryCOMMENT
MEDIUMscripts/lib/health_probe.sh23# This file is safe to `source` (defines functions only) and is also runnableCOMMENT
MEDIUM.github/workflows/native-windows-startup.yml43 # Create the WebUI venv. start.ps1 prefers $AgentDir\venv if itCOMMENT
Verbosity Indicators32 hits · 58 pts
SeverityFileLineSnippetContext
LOW⚡tests/test_7865_regate_round3.py442 // Step 2: "Save Settings". The server echoes the bare form back, andCOMMENT
LOW⚡tests/test_7865_regate_round3.py447 // Step 3: re-open and autosave again — the phantom-bar case.COMMENT
LOWtests/test_7865_regate_round3.py428 // Step 1: open with the bare default stored, picker shows the qualified one.COMMENT
LOW⚡tests/test_issue2914_truncation_watermark.py356 # Step 4: Undo — removes "light speed"COMMENT
LOW⚡tests/test_issue2914_truncation_watermark.py365 # Step 5: New turn — agent context should NOT include "triangle"COMMENT
LOWtests/test_issue2914_truncation_watermark.py281 # Step 1: Initial message "triangle"COMMENT
LOWtests/test_issue2914_truncation_watermark.py301 # Step 2: Edit "triangle" → "square" (new timestamp 200)COMMENT
LOWtests/test_issue2914_truncation_watermark.py330 # Step 3: New message "light speed"COMMENT
LOW⚡tests/test_approval_unblock.py165 # Step 1: streaming.py registers the notify callbackCOMMENT
LOW⚡tests/test_approval_unblock.py170 # Step 2: check_all_command_guards fires the callback and queues an entryCOMMENT
LOW⚡tests/test_approval_unblock.py187 # Step 3: user responds via /api/approval/respond → resolve_gateway_approvalCOMMENT
LOW⚡tests/test_approval_unblock.py191 # Step 4: agent thread is unblocked with the correct choiceCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py97 # Step 1: Truncate (edit) — keep 2 messages (first exchange)COMMENT
LOW⚡tests/test_watermark_advance_after_edit.py104 # Step 2: Send new message "square" — checkpoint advances watermarkCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py134 # Step 1: Truncate (edit) — keep 2 messages (first exchange)COMMENT
LOW⚡tests/test_watermark_advance_after_edit.py138 # Step 2: Send new message "square"COMMENT
LOW⚡tests/test_watermark_advance_after_edit.py145 # Step 3: Simulate state.db containing both original and edited messagesCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py155 # Step 4: Reload from disk (simulates session switch → switch back)COMMENT
LOW⚡tests/test_watermark_advance_after_edit.py164 # Step 5: Merge sidecar + state.db (what GET /api/session does)COMMENT
LOW⚡tests/test_watermark_advance_after_edit.py202 # Step 1: Truncate (edit) — keep 2 messagesCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py206 # Step 2: Send edited messageCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py211 # Step 3: Simulate assistant replyCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py215 # Step 4: Send second new turnCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py221 # Step 5: Simulate state.db with all messagesCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py233 # Step 6: Reload from diskCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py241 # Step 7: MergeCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py277 # Step 1: Retry — truncates to before "second"COMMENT
LOW⚡tests/test_watermark_advance_after_edit.py283 # Step 2: Send new messageCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py310 # Step 1: Undo — removes "second" and "reply2"COMMENT
LOW⚡tests/test_watermark_advance_after_edit.py316 # Step 2: Send new messageCOMMENT
LOW⚡tests/test_issue1633_models_cache_version_stamp.py369 # Step 4: cache rejected → caller will rebuild from live provider dataCOMMENT
LOWtests/test_issue1633_models_cache_version_stamp.py351 # Step 1: v0.50.281 writes cacheCOMMENT
Structural Annotation Overuse31 hits · 55 pts
SeverityFileLineSnippetContext
LOW⚡tests/test_7865_regate_round3.py447 // Step 3: re-open and autosave again — the phantom-bar case.COMMENT
LOWtests/test_7865_regate_round3.py428 // Step 1: open with the bare default stored, picker shows the qualified one.COMMENT
LOW⚡tests/test_issue2914_truncation_watermark.py356 # Step 4: Undo — removes "light speed"COMMENT
LOW⚡tests/test_issue2914_truncation_watermark.py365 # Step 5: New turn — agent context should NOT include "triangle"COMMENT
LOWtests/test_issue2914_truncation_watermark.py281 # Step 1: Initial message "triangle"COMMENT
LOWtests/test_issue2914_truncation_watermark.py301 # Step 2: Edit "triangle" → "square" (new timestamp 200)COMMENT
LOWtests/test_issue2914_truncation_watermark.py330 # Step 3: New message "light speed"COMMENT
LOW⚡tests/test_approval_unblock.py165 # Step 1: streaming.py registers the notify callbackCOMMENT
LOW⚡tests/test_approval_unblock.py170 # Step 2: check_all_command_guards fires the callback and queues an entryCOMMENT
LOW⚡tests/test_approval_unblock.py187 # Step 3: user responds via /api/approval/respond → resolve_gateway_approvalCOMMENT
LOW⚡tests/test_approval_unblock.py191 # Step 4: agent thread is unblocked with the correct choiceCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py97 # Step 1: Truncate (edit) — keep 2 messages (first exchange)COMMENT
LOW⚡tests/test_watermark_advance_after_edit.py104 # Step 2: Send new message "square" — checkpoint advances watermarkCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py134 # Step 1: Truncate (edit) — keep 2 messages (first exchange)COMMENT
LOW⚡tests/test_watermark_advance_after_edit.py138 # Step 2: Send new message "square"COMMENT
LOW⚡tests/test_watermark_advance_after_edit.py145 # Step 3: Simulate state.db containing both original and edited messagesCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py155 # Step 4: Reload from disk (simulates session switch → switch back)COMMENT
LOW⚡tests/test_watermark_advance_after_edit.py164 # Step 5: Merge sidecar + state.db (what GET /api/session does)COMMENT
LOW⚡tests/test_watermark_advance_after_edit.py202 # Step 1: Truncate (edit) — keep 2 messagesCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py206 # Step 2: Send edited messageCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py211 # Step 3: Simulate assistant replyCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py215 # Step 4: Send second new turnCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py221 # Step 5: Simulate state.db with all messagesCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py233 # Step 6: Reload from diskCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py241 # Step 7: MergeCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py277 # Step 1: Retry — truncates to before "second"COMMENT
LOW⚡tests/test_watermark_advance_after_edit.py283 # Step 2: Send new messageCOMMENT
LOW⚡tests/test_watermark_advance_after_edit.py310 # Step 1: Undo — removes "second" and "reply2"COMMENT
LOW⚡tests/test_watermark_advance_after_edit.py316 # Step 2: Send new messageCOMMENT
LOW⚡tests/test_issue1633_models_cache_version_stamp.py369 # Step 4: cache rejected → caller will rebuild from live provider dataCOMMENT
LOWtests/test_issue1633_models_cache_version_stamp.py351 # Step 1: v0.50.281 writes cacheCOMMENT
Modern AI Meta-Vocabulary25 hits · 51 pts
SeverityFileLineSnippetContext
MEDIUM⚡tests/test_session_unread_dot_on_visit.py38# Sibling harness scaffolding lives beside this file and is not on sys.path byCOMMENT
MEDIUM⚡tests/test_issue5960_cron_unread_profile_scope.py20# Sibling harness scaffolding lives beside this file and is not on sys.path byCOMMENT
MEDIUMtests/test_issue3831_watermark_clear.py148# --- The guardrails: the fix must NOT regress #2914/#3102 ---------------------COMMENT
MEDIUMtests/test_pr1341_context_window_persistence.py33 # Find the post-merge save block — anchored on the unique reasoning traceCOMMENT
MEDIUMtests/test_tool_limit_terminal_state.py760 # Synthetic scaffolding turn was still dropped, even after fallback injection.COMMENT
MEDIUM⚡tests/test_issue5273_active_done_viewed_sync.py15# Sibling harness scaffolding lives beside this file and is not on sys.path byCOMMENT
MEDIUMtests/test_issue5334_verification_stop_leak.py105 # No leftover synthetic scaffolding rows.COMMENT
MEDIUMtests/test_1003_preferences_autosave.py86 # We use a context window around the dom_id to find the listener.COMMENT
MEDIUMdocs/rfcs/stable-assistant-turn-anchors.md860### Phase 1: Internal anchor scaffoldCOMMENT
MEDIUM…cs/architecture/stable-assistant-turn-anchor-phase0.md15- The #3962 Phase 0 scaffold shipped through #3977 / v0.51.359: inventory theCODE
MEDIUMapi/config.py12079 # agent token stream), an OOM risk with many tabs × long agentic turns. ThisCOMMENT
MEDIUMapi/config.py12336STREAM_REASONING_TEXT: dict = {} # stream_id -> reasoning trace accumulated during streaming (#1361 §A)CODE
MEDIUMapi/streaming.py2125# Structured markers the Hermes Agent stamps on synthetic scaffolding turns thatCOMMENT
MEDIUMapi/streaming.py2897 # synthetic-scaffolding flag convention already used elsewhere (#5334).COMMENT
MEDIUMapi/streaming.py4585 # Guard against chain-of-thought leakage, meta-reasoning, and trivial echo.COMMENT
MEDIUMapi/streaming.py4952 # agentic first-turn plans that are legitimate title candidates.COMMENT
MEDIUMapi/streaming.py8986 # Drop Hermes Agent internal verify-loop scaffolding (synthetic "prematureCOMMENT
MEDIUMapi/streaming.py14550 # Persist reasoning trace in the session so it survives reload.COMMENT
MEDIUMapi/streaming.py14604 # Persist context window data on the session so the context-ringCOMMENT
MEDIUMapi/streaming.py14606 # s.save() for the same reason as the reasoning trace above.COMMENT
MEDIUMapi/streaming.py14992 # Include context window data from the agent's compressor for the UI indicator.COMMENT
MEDIUMapi/streaming.py15054 # resolve the model's context window from metadata so the UI indicatorCOMMENT
MEDIUMapi/streaming.py15119 # (reasoning trace already attached + saved above, before s.save())COMMENT
MEDIUMapi/streaming.py16376 # Capture reasoning trace and live tool calls (#1361 §A + §B)COMMENT
MEDIUMapi/streaming.py16590 # #1361: Also persist reasoning trace and live tool calls that wereCOMMENT
Modern Structural Boilerplate52 hits · 46 pts
SeverityFileLineSnippetContext
LOWserver.py108logger = logging.getLogger(__name__)CODE
LOW⚡tests/test_auth_password_hash_cache.py65 def _set_env_pw(self, pw: str) -> None:CODE
LOWtests/test_auth_password_hash_cache.py178 def _set_env_pw(self, pw: str) -> None:CODE
LOWapi/plugins.py21logger = logging.getLogger(__name__)CODE
LOWapi/auth.py22logger = logging.getLogger(__name__)CODE
LOWapi/auth.py1293def set_auth_cookie(handler, cookie_value) -> None:CODE
LOWapi/process_event_utils.py14logger = logging.getLogger(__name__)CODE
LOWapi/session_lifecycle.py41logger = logging.getLogger(__name__)CODE
LOWapi/config.py117logger = logging.getLogger(__name__)CODE
LOWapi/config.py12869def update_active_run(stream_id: str, **metadata) -> None:CODE
LOWapi/plugin_providers.py19logger = logging.getLogger(__name__)CODE
LOWapi/models.py52logger = logging.getLogger(__name__)CODE
LOWapi/terminal.py39def _set_nonblocking(fd: int) -> None:CODE
LOWapi/terminal.py386def _set_size(term: TerminalSession, rows: int, cols: int) -> None:CODE
LOWapi/goals.py12logger = logging.getLogger(__name__)CODE
LOWapi/agent_sessions.py11logger = logging.getLogger(__name__)CODE
LOWapi/onboarding.py35logger = logging.getLogger(__name__)CODE
LOWapi/updates.py41logger = logging.getLogger(__name__)CODE
LOWapi/background_process.py64logger = logging.getLogger(__name__)CODE
LOW⚡api/compression_continuation.py10logger = logging.getLogger(__name__)CODE
LOWapi/metering.py100 def set_pending_started_at(self, stream_id: str, pending_started_at) -> None:CODE
LOWapi/background.py9logger = logging.getLogger(__name__)CODE
LOWapi/auth_oidc.py24logger = logging.getLogger(__name__)CODE
LOWapi/skill_usage.py9logger = logging.getLogger(__name__)CODE
LOWapi/gateway_chat.py45logger = logging.getLogger(__name__)CODE
LOWapi/gateway_chat.py1824def _settle_gateway_cancelled_turn(session_id, stream_id) -> None:CODE
LOWapi/rollback.py22logger = logging.getLogger(__name__)CODE
LOWapi/session_ops.py24logger = logging.getLogger(__name__)CODE
LOWapi/session_events.py7logger = logging.getLogger(__name__)CODE
LOWapi/todo_state.py53logger = logging.getLogger(__name__)CODE
LOWapi/mcp_runtime.py27logger = logging.getLogger(__name__)CODE
LOWapi/route_approvals.py150def set_session_yolo_enabled(session_key: str, enabled: bool) -> None:CODE
LOWapi/route_approvals.py526def _settle_gateway_entry(entry, choice: str, reason: str | None = None) -> None:CODE
LOWapi/providers.py59logger = logging.getLogger(__name__)CODE
LOWapi/session_recovery.py45logger = logging.getLogger(__name__)CODE
LOWapi/workspace_git.py33logger = logging.getLogger(__name__)CODE
LOWapi/crash_visibility.py50__all__ = [CODE
LOWapi/gateway_watcher.py25logger = logging.getLogger(__name__)CODE
LOW⚡api/workspace.py708def set_last_workspace(path: str, profile: str | Path | None = None) -> None:CODE
LOWapi/workspace.py29logger = logging.getLogger(__name__)CODE
LOWapi/streaming.py29logger = logging.getLogger(__name__)CODE
LOWapi/helpers.py17logger = logging.getLogger(__name__)CODE
LOWapi/gateway_restart.py21logger = logging.getLogger(__name__)CODE
LOWapi/commands.py13logger = logging.getLogger(__name__)CODE
LOW⚡api/profiles.py27logger = logging.getLogger(__name__)CODE
LOWapi/profiles.py505def set_request_profile(name: str) -> None:CODE
LOWapi/shares.py36logger = logging.getLogger(__name__)CODE
LOWapi/state_sync.py26logger = logging.getLogger(__name__)CODE
LOWapi/oauth.py25logger = logging.getLogger(__name__)CODE
LOWapi/oauth.py668def _set_flow_status(flow_id: str, status: str, **fields: Any) -> None:CODE
LOWapi/worktrees.py15logger = logging.getLogger(__name__)CODE
LOWapi/dashboard_probe.py17logger = logging.getLogger(__name__)CODE
Fake / Example Data42 hits · 35 pts
SeverityFileLineSnippetContext
LOWtests/test_issue3957_profile_providers_models.py674 return "fake_token"CODE
LOWtests/test_issue3957_profile_providers_models.py727 return "fake_token"CODE
LOWtests/test_issue7056_login_hides_password_form.py148 "placeholder": "Password",CODE
LOWtests/test_pr7555_cli_session_availability.py882 db.write_text("placeholder", encoding="utf-8")CODE
LOW⚡tests/test_auth_sessions.py39 auth._sessions["fake_token"] = time.time() - 100CODE
LOW⚡tests/test_auth_sessions.py49 auth.verify_session("fake_token.fake_sig")CODE
LOW⚡tests/test_auth_sessions.py54 self.assertNotIn("fake_token", auth._sessions)CODE
LOW⚡tests/_layout_helpers.py290 var RAW_ATTRS = ["title", "aria-label", "placeholder"]CODE
LOWtests/test_runtime_model_observation.py47 writer.append_sse_event("runtime_model", malformed if malformed is not None else {"placeholder": True})CODE
LOWtests/test_issue3825_oidc_auth.py307 "allow_values": ["user@example.com"],CODE
LOWtests/test_issue3825_oidc_auth.py404 "allow_values": ["user@example.com"],CODE
LOWtests/test_issue2271_keyless_custom_provider.py18 assert api_key == "dummy-key"CODE
LOWtests/test_issue2271_keyless_custom_provider.py54 assert api_key == "dummy-key"CODE
LOWtests/test_sprint46.py73 "api_key": "fake-key",CODE
LOWtests/test_sprint46.py98 "api_key": "fake-key",CODE
LOWtests/test_mobile_scroll_jank.html166 addMessage(role,`Message ${i+1}: `+'Lorem ipsum dolor sit amet consectetur adipiscing elit. '.repeat(3));CODE
LOWtests/test_mobile_scroll_jank.html166 addMessage(role,`Message ${i+1}: `+'Lorem ipsum dolor sit amet consectetur adipiscing elit. '.repeat(3));CODE
LOWtests/test_login_locale_parity.py221 "placeholder",CODE
LOWtests/test_issue4836_manual_compression_recovery.py61 "api_key": "fake-key",CODE
LOWtests/test_issue4836_manual_compression_recovery.py86 "api_key": "fake-key",CODE
LOWtests/test_issue5331_index_only_ghost_cleanup.py144 routes.SESSIONS["sess-mem"] = "placeholder"CODE
LOWtests/test_issue5331_index_only_ghost_cleanup.py168 routes.SESSIONS["sess-3"] = "placeholder"CODE
LOW⚡…sts/test_issue1806_named_custom_provider_resolution.py2101# The second half of the same contract is ``dummy-key``. It asserts "thisCOMMENT
LOW…sts/test_issue1806_named_custom_provider_resolution.py1075# The same distinction gates ``dummy-key``: it is a statement that the endpointCOMMENT
LOW⚡…sts/test_issue1806_named_custom_provider_resolution.py1281 endpoint ``dummy-key`` instead — because the row carries no literalSTRING
LOW⚡…sts/test_issue1806_named_custom_provider_resolution.py1358 rotation at the previous authority; falling back to ``dummy-key`` drops theSTRING
LOW…sts/test_issue1806_named_custom_provider_resolution.py1315 """(b) ``dummy-key`` asserts "this endpoint is unauthenticated" — never a guess.STRING
LOW…sts/test_issue1806_named_custom_provider_resolution.py2153 ``dummy-key``.STRING
LOW…sts/test_issue1806_named_custom_provider_resolution.py2360 that as keyless is what let ``dummy-key`` be substituted for a genuinelySTRING
LOW…sts/test_issue1806_named_custom_provider_resolution.py2414 """The negative control: a genuinely unauthenticated endpoint keeps ``dummy-key``.STRING
LOW…sts/test_issue1806_named_custom_provider_resolution.py2558 is unauthenticated. ``dummy-key`` follows from the row, not from the keyedSTRING
LOW…sts/test_issue1806_named_custom_provider_resolution.py2950 so no ``dummy-key`` is substituted and the pair stays incomplete — and anSTRING
LOW⚡tests/test_redact_large_string_cache.py52 unit = "lorem ipsum dolor sit amet "CODE
LOW⚡tests/test_redact_large_string_cache.py52 unit = "lorem ipsum dolor sit amet "CODE
LOWtests/test_redact_large_string_cache.py123 text = ("see https://example.invalid/docs lorem ipsum " * 500) + _RUNTIME_TOKEN + " tail"CODE
LOW⚡tests/test_compression_phantom_barrier.py242 assert before["placeholder"] == "Type a message — it will queue and send after compression"STRING
LOW⚡tests/test_compression_phantom_barrier.py251 "placeholder": "Original placeholder",STRING
LOWtests/test_sensitive_prefilter_equivalence.py107 "https", "http", "user@example.com", "1234567890",CODE
LOWtests/test_update_banner_fixes.py1696 'api_key': 'fake-key',CODE
LOWtests/test_issue540_workspace_office_documents.py323 preview_office_document("budget.xlsx", b"placeholder")CODE
LOWtests/test_issue540_workspace_office_documents.py406 preview = preview_office_document("budget.xlsx", b"placeholder")CODE
LOWapi/config.py4016KEYLESS_CUSTOM_API_KEY = "dummy-key"CODE
AI Structural Patterns35 hits · 24 pts
SeverityFileLineSnippetContext
LOWtests/test_session_middle_click_new_tab.py612CODE
LOWtests/test_auto_compression_terminal_failure.py58CODE
LOWtests/test_auto_compression_terminal_failure.py356CODE
LOWtests/test_scroll_collapse_clamp_keeps_follow.py52CODE
LOWtests/test_gateway_sync.py125CODE
LOWtests/test_gateway_sync.py169CODE
LOWtests/test_6710_panel_dismiss_and_artifact_open.py234CODE
LOWtests/test_issue7396_key_cmd_cache.py97CODE
LOWtests/test_sprint42.py201CODE
LOWtests/test_sprint42.py294CODE
LOWtests/test_sprint42.py686CODE
LOWtests/test_sprint42.py1055CODE
LOWtests/test_issue3895_opencode_go_model_picker.py114CODE
LOWtests/test_session_lineage_metadata_api.py85CODE
LOWtests/test_issue1857_usage_overwrite.py80CODE
LOWtests/test_issue_progress_echo_dedupe.py76CODE
LOWtests/test_issue_progress_echo_dedupe.py244CODE
LOWtests/test_issue_progress_echo_dedupe.py426CODE
LOW…sts/test_issue1806_named_custom_provider_resolution.py510CODE
LOW…sts/test_issue1806_named_custom_provider_resolution.py1583CODE
LOWtests/test_issue4251_wakeup_model_picker_race.py54CODE
LOWtests/test_tool_limit_terminal_state.py18CODE
LOWtests/test_native_image_turn_display_context.py62CODE
LOWtests/test_settlement_agent_reasoning_authoritative.py117CODE
LOWtests/test_settlement_agent_reasoning_authoritative.py159CODE
LOWtests/test_issue5637_stale_anchor_guard.py368CODE
LOWtests/test_model_alias_routes.py937CODE
LOWapi/models.py9302CODE
LOWapi/models.py1463CODE
LOWapi/gateway_chat.py1928CODE
LOWapi/runtime_adapter.py314CODE
LOWapi/workspace_git.py180CODE
LOWapi/route_session_list_cache.py324CODE
LOWapi/streaming.py10955CODE
LOWapi/state_sync.py268CODE
Redundant / Tautological Comments10 hits · 12 pts
SeverityFileLineSnippetContext
LOWtests/test_onboarding_mvp.py18# Check if pyyaml is available — onboarding setup tests need it on the serverCOMMENT
LOWtests/test_sprint42.py828 # Check if this try imports hermes_stateCOMMENT
LOWtests/test_issue1139_password_remote.py75 # Check if pane has any input fields (not just buttons)COMMENT
LOWtests/test_sprint15.py137 # Assign session to projectCOMMENT
LOWtests/test_session_batch_select.py190 # Check if the key exists in the locale blockCOMMENT
LOW⚡api/config.py934 # Check if session store is emptyCOMMENT
LOW⚡api/config.py944 # Check if SESSION_INDEX_FILE is absent, empty, or contains only {}|[]|nullCOMMENT
LOWapi/config.py10395 # Check if user has configured models in config.yaml —COMMENT
LOWapi/providers.py2602 # Check if actually authenticated via hermes_cli.COMMENT
LOWapi/streaming.py4541 # Check if contains any function_calls/DSML marker (case-insensitive)COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHtests/test_issue3293_title_language_drift.py255# Japanese title for an English conversation would be generated as requestedCOMMENT
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMtests/test_gateway_events_watchdog_7978.py353CODE