AI Slop Code Risk Monitor

nesquena/hermes-webui

SlopCodeMonitor badge for nesquena/hermes-webui Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

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

82.0 High pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for nesquena/hermes-webui, a Python project with 19,311 GitHub stars. SynthScan examined 828,894 lines of code across 2070 source files, recording 34909 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 82.0 (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.

82.0
Adjusted Signal
82.0
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
19.3K
Stars
Python
Language
828.9K
Lines of Code
2.1K
Files
34.9K
Pattern Hits
2026-10-31
Scan Date
3.41
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 70.7/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 87.5/100 · CRITICAL

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

Agent Over-Engineering Ratio 85.5/100 · CRITICAL

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

PR Review Velocity Impact 99.0/100 · CRITICAL

Which changes need focused human review? 34909 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 7057MEDIUM 2710LOW 25142

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 34909 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 Confusion6320 hits · 33778 pts
SeverityFileLineSnippetContext
HIGHtests/test_session_batch_delete_partial.py38 while (depth > 0 && i < src.length) {CODE
HIGH⚡tests/test_session_batch_delete_partial.py52const $ = () => null;CODE
HIGH⚡tests/test_session_batch_delete_partial.py54function showToast(msg, ms, kind) { calls.toasts.push({ msg, kind: kind || null }); }CODE
HIGH⚡tests/test_session_batch_delete_partial.py54function showToast(msg, ms, kind) { calls.toasts.push({ msg, kind: kind || null }); }CODE
HIGH⚡tests/test_session_batch_delete_partial.py54function showToast(msg, ms, kind) { calls.toasts.push({ msg, kind: kind || null }); }CODE
HIGH⚡tests/test_session_batch_delete_partial.py56function _readComposerModelPick() { return null; }CODE
HIGH⚡tests/test_session_batch_delete_partial.py59function _forgetComposerDraftLocalFallback(sid) { calls.drafts.push(sid); }CODE
HIGH⚡tests/test_session_batch_delete_partial.py61function _clearHandoffStorageForSession(sid) { calls.handoff.push(sid); }CODE
HIGH⚡tests/test_session_batch_delete_partial.py67async function loadSession(sid) { calls.loaded.push(sid); }CODE
HIGHtests/test_session_batch_delete_partial.py91 active: S.session && S.session.session_id,CODE
HIGHtests/test_session_batch_delete_partial.py96 process.stderr.write(String((e && e.stack) || e));CODE
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.py921 function $(id) { return null; }CODE
HIGH⚡tests/test_real_steer.py929 function showToast(key) { toasts.push(key); }CODE
HIGH⚡tests/test_real_steer.py936 saveCalls.push({sid, text, files: (Array.isArray(files)?files.filter(Boolean):[])});CODE
HIGH⚡tests/test_real_steer.py949 const draft = S.session && S.session.composer_draft ? S.session.composer_draft : null;CODE
HIGH⚡tests/test_real_steer.py949 const draft = S.session && S.session.composer_draft ? S.session.composer_draft : null;CODE
HIGH⚡tests/test_real_steer.py958 activeSessionStream: S.session && S.session.active_stream_id,CODE
HIGH⚡tests/test_real_steer.py960 })().catch(err => { console.log(JSON.stringify({error: String(err && err.message || err || 'failure')})); })CODE
HIGH⚡tests/test_real_steer.py960 })().catch(err => { console.log(JSON.stringify({error: String(err && err.message || err || 'failure')})); })CODE
HIGH⚡tests/test_real_steer.py1082 _uploadPendingFilesUpdateProgress('A', null);CODE
HIGH⚡tests/test_real_steer.py1085 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.py1058 return null;CODE
HIGHtests/test_real_steer.py1070 assert.strictEqual(barWrap.dataset.uploadSessionId, undefined);CODE
HIGHtests/test_real_steer.py1021 assert "_uploadPendingFilesUpdateProgress(sessionId,null)" in upload_bodySTRING
HIGH⚡tests/test_project_bindings_uigate_1008.py87globalThis.S = { activeProfile: 'default', session: null };CODE
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
6260 more matches not shown…
Hyper-Verbose Identifiers21174 hits · 18943 pts
SeverityFileLineSnippetContext
LOWbootstrap.py102def ensure_supported_platform() -> None:CODE
LOWbootstrap.py114def _agent_dir_from_hermes_cli() -> Path | None:CODE
LOWbootstrap.py169def _python_can_run_webui_and_agent(python_exe: str, agent_dir: Path | None = None) -> bool:CODE
LOWbootstrap.py196def ensure_python_has_webui_deps(python_exe: str, agent_dir: Path | None = None) -> str:CODE
LOWbootstrap.py512def _is_real_supervisor_value(name: str, value: str) -> bool:CODE
LOW⚡server.py206 def _drain_request_input_nonblocking(self, request) -> None:CODE
LOW⚡server.py259 def _reject_overflow_request_worker(self, request) -> None:CODE
LOWserver.py68 def _blocked_create_connection(address, *a, **kw):CODE
LOWserver.py541def _abort_if_already_serving(host: str, port: int) -> None:CODE
LOWtests/test_session_batch_delete_partial.py116def test_mixed_batch_delete_finishes_the_committed_ones(tmp_path):STRING
LOWtests/test_session_batch_delete_partial.py137def test_full_success_batch_delete_clears_selection(tmp_path):STRING
LOWtests/test_session_batch_delete_partial.py147def test_refusal_codes_map_to_user_facing_messages(tmp_path):STRING
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.py98 def test_get_label_for_model_helper_exists(self):CODE
LOW⚡tests/test_issues_907_908_909_model_dropdown.py104 def test_label_helper_capitalizes_bare_id(self):CODE
LOW⚡tests/test_issues_907_908_909_model_dropdown.py113 def test_label_helper_uses_catalog_when_available(self):CODE
LOWtests/test_issues_907_908_909_model_dropdown.py125 def test_label_helper_strips_at_prefix_for_lookup(self):CODE
LOWtests/test_issues_907_908_909_model_dropdown.py138 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.py1109 def test_cmd_steer_delivered_in_all_locales(self):CODE
LOW⚡tests/test_real_steer.py1115 def test_steer_leftover_queued_in_all_locales(self):CODE
LOW⚡tests/test_real_steer.py1128 def test_leftover_drain_call_in_streaming(self):CODE
LOW⚡tests/test_real_steer.py1138 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.py983 def test_send_busy_steer_accepts_file_only_input(self):STRING
LOW⚡tests/test_real_steer.py992 def test_upload_pending_files_can_preserve_staged_files_for_steer(self):STRING
LOW⚡tests/test_real_steer.py1002 def test_upload_pending_files_progress_bar_is_session_scoped(self):STRING
LOW⚡tests/test_real_steer.py1090 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.py869 def test_old_owner_steer_recovery_persistence_rejection_is_consumed(self):STRING
LOWtests/test_real_steer.py1025 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
21114 more matches not shown…
Decorative Section Separators2463 hits · 8332 pts
SeverityFileLineSnippetContext
MEDIUMdocker_init.bash530# ── Rebuilding the agent venv without ever losing a working one (#8113) ─────COMMENT
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.py67# ── #908: window._defaultModel updated on settings save ─────────────────────COMMENT
MEDIUM⚡tests/test_issues_907_908_909_model_dropdown.py93# ── #909: Injected default model label quality ───────────────────────────────COMMENT
MEDIUM⚡tests/test_real_steer.py1100# ── i18n keys ─────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_real_steer.py1122# ── 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
MEDIUM⚡tests/test_project_bindings_uigate_1008.py81# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_project_bindings_uigate_1008.py83# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_project_bindings_uigate_1008.py150# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_project_bindings_uigate_1008.py152# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/test_project_bindings_uigate_1008.py194# ---------------------------------------------------------------------------STRING
MEDIUM⚡tests/test_project_bindings_uigate_1008.py196# ---------------------------------------------------------------------------STRING
MEDIUMtests/test_project_bindings_uigate_1008.py213# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/test_project_bindings_uigate_1008.py215# ---------------------------------------------------------------------------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
MEDIUMtests/test_issue8517_shared_provider_instance.py217# ── GREEN before and after: no behaviour change for these users ─────────────COMMENT
MEDIUMtests/test_issue8517_shared_provider_instance.py259# ── the guard's own contract ────────────────────────────────────────────────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
2403 more matches not shown…
Empty Error Handlers606 hits · 2745 pts
SeverityFileLineSnippetContext
HIGHserver.py556except (ConnectionRefusedError, ConnectionResetError, OSError, socket.timeout):CODE
HIGHserver.py603except FileNotFoundError:CODE
HIGHserver.py203except Exception:CODE
HIGHserver.py315except OSError:CODE
HIGHserver.py319except OSError:CODE
HIGHserver.py379except Exception:CODE
HIGHserver.py234except OSError:CODE
HIGHserver.py239except Exception:CODE
HIGHserver.py268except Exception:CODE
HIGHserver.py326except OSError:CODE
HIGHserver.py266except Exception:CODE
HIGHserver.py331except OSError:CODE
HIGHserver.py405except _CLIENT_DISCONNECT_ERRORS:CODE
HIGHserver.py433except _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.py622except ValueError:CODE
HIGHtests/test_issue765_streaming_persistence.py600except Exception:CODE
HIGHtests/test_issue765_streaming_persistence.py738except Exception:CODE
HIGHtests/test_terminal_fd_leak.py78except Exception:CODE
HIGHtests/test_issue7295_cron_readers_no_global_lock.py454except threading.BrokenBarrierError: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/test_7855_goal_continuation_binding.py274except ValueError:CODE
HIGHtests/conftest.py1015except Exception:CODE
HIGHtests/conftest.py1063except Exception:CODE
HIGHtests/conftest.py1120except Exception:CODE
HIGHtests/conftest.py1370except Exception:CODE
HIGHtests/conftest.py1376except Exception:CODE
HIGHtests/conftest.py1565except Exception:CODE
HIGHtests/conftest.py1570except Exception:CODE
HIGHtests/conftest.py1582except Exception:CODE
HIGHtests/conftest.py1588except Exception:CODE
HIGHtests/conftest.py1595except Exception:CODE
HIGHtests/conftest.py1600except Exception:CODE
HIGHtests/conftest.py288except OSError:CODE
HIGHtests/conftest.py490except Exception:CODE
HIGHtests/conftest.py507except Exception:CODE
HIGHtests/conftest.py1318except Exception:CODE
HIGHtests/conftest.py1477except Exception:CODE
HIGHtests/conftest.py1577except Exception:CODE
HIGHtests/conftest.py791except OSError:CODE
HIGHtests/test_sprint28.py67except Exception:CODE
HIGHtests/browser_session_row_activation.py94except (urllib.error.URLError, OSError):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.py234except Exception:CODE
HIGHtests/test_gateway_sync.py265except Exception:CODE
HIGHtests/test_gateway_sync.py300except Exception:CODE
HIGHtests/test_gateway_sync.py360except Exception:CODE
HIGHtests/test_gateway_sync.py391except Exception:CODE
HIGHtests/test_gateway_sync.py434except Exception:CODE
HIGHtests/test_gateway_sync.py507except Exception:CODE
HIGHtests/test_gateway_sync.py784except Exception:CODE
HIGHtests/test_gateway_sync.py859except Exception:CODE
546 more matches not shown…
Excessive Try-Catch Wrapping1639 hits · 1301 pts
SeverityFileLineSnippetContext
LOWbootstrap.py69 except Exception as exc:CODE
LOWbootstrap.py350 except Exception:CODE
LOWbootstrap.py352 except Exception:CODE
LOWbootstrap.py451 except Exception as exc:CODE
LOWbootstrap.py959 except Exception as exc:CODE
LOWmanaged_agent_startup.py75 except Exception: # noqa: BLE001 - discovery is best-effort, never fatal hereCODE
LOWmanaged_agent_startup.py119 except Exception as exc: # noqa: BLE001 - SystemExit (relaunch/repair exit) still propagatesCODE
MEDIUMserver.py68def _blocked_create_connection(address, *a, **kw):CODE
MEDIUMserver.py200def _close_request_quietly(self, request) -> None:CODE
MEDIUMserver.py259def _reject_overflow_request_worker(self, request) -> None:CODE
MEDIUMserver.py285def process_request_thread(self, request, client_address):CODE
MEDIUMserver.py650def _start_watcher_safe():CODE
LOW⚡server.py203 except Exception:CODE
LOW⚡server.py215 except Exception:CODE
LOW⚡server.py255 except Exception:CODE
LOW⚡server.py266 except Exception:CODE
LOW⚡server.py268 except Exception:CODE
LOW⚡server.py653 except Exception as e:CODE
LOW⚡server.py661 except Exception as e:CODE
LOW⚡server.py669 except Exception as e:CODE
LOW⚡server.py676 except Exception as e:CODE
LOW⚡server.py682 except Exception as e:CODE
LOW⚡server.py730 except Exception:CODE
LOW⚡server.py735 except Exception:CODE
LOW⚡server.py740 except Exception:CODE
LOW⚡server.py745 except Exception:CODE
LOWserver.py189 except Exception:CODE
LOWserver.py239 except Exception:CODE
LOWserver.py280 except Exception:CODE
LOWserver.py365 except Exception:CODE
LOWserver.py379 except Exception:CODE
LOWserver.py401 except Exception:CODE
LOWserver.py407 except Exception:CODE
LOWserver.py429 except Exception:CODE
LOWserver.py435 except Exception:CODE
LOWserver.py469 except Exception as exc:CODE
LOWserver.py479 except Exception as exc:CODE
LOWserver.py494 except Exception:CODE
LOWserver.py527 except Exception:CODE
LOWserver.py595 except Exception as exc:CODE
LOWserver.py699 except Exception as e:CODE
LOWdocker_init.bash1024except Exception:CODE
LOWctl.sh825except 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
LOWtests/test_issue765_streaming_persistence.py140 except Exception:CODE
LOWtests/test_issue765_streaming_persistence.py325 except Exception as e:CODE
LOWtests/test_issue765_streaming_persistence.py600 except Exception:CODE
LOWtests/test_issue765_streaming_persistence.py603 except Exception as e:CODE
LOWtests/test_issue765_streaming_persistence.py738 except Exception:CODE
LOWtests/test_issue765_streaming_persistence.py741 except Exception as e:CODE
LOW⚡tests/test_terminal_fd_leak.py78 except Exception:CODE
MEDIUMtests/test_session_action_menu_focus.py69def test_deferred_parent_focus_never_rehomes_to_nested_fork_in_browser():CODE
MEDIUMtests/test_session_action_menu_focus.py308def test_session_action_menu_focus_lifecycle_in_browser():CODE
1579 more matches not shown…
Unused Imports825 hits · 698 pts
SeverityFileLineSnippetContext
LOWbootstrap.py4CODE
LOWmanaged_agent_startup.py3CODE
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_project_bindings_uigate_1008.py22CODE
LOWtests/test_run_journal_protocol_upgrade.py9CODE
LOWtests/test_issue5532_clear_truncation_watermark.py28CODE
LOWtests/test_project_bindings_round5_1010.py27CODE
LOWtests/test_issue4891_detail_header_visibility.py16CODE
LOWtests/test_issue8517_shared_provider_instance.py22CODE
LOWtests/test_issue8517_shared_provider_instance.py30CODE
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_issue8212_subpath_next_open_redirect.py30CODE
LOWtests/test_run_journal_seq_cache.py11CODE
LOWtests/test_media_message_snapshots.py16CODE
LOWtests/test_project_bindings_round14_1011.py25CODE
LOWtests/test_issue3987_imported_session_titles.py3CODE
LOWtests/test_issue7941_csp_remote_image_exfiltration.py16CODE
LOWtests/test_issue8524_docker_agent_uv_overrides.py15CODE
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_parse_cookie_junk_cookie.py1CODE
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
765 more matches not shown…
Cross-File Repetition130 hits · 650 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_issue7677_settle_and_measure_pass.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/browser_session_row_activation.py0poll ``expression`` with page.evaluate. the app's csp has no 'unsafe-eval', which playwright's interval-polled wait_for_STRING
HIGHtests/browser_terminal_screen_reader_mode.py0poll ``expression`` with page.evaluate. the app's csp has no 'unsafe-eval', which playwright's interval-polled wait_for_STRING
70 more matches not shown…
Deep Nesting754 hits · 532 pts
SeverityFileLineSnippetContext
LOWbootstrap.py29CODE
LOWbootstrap.py196CODE
LOWbootstrap.py357CODE
LOWbootstrap.py781CODE
LOWserver.py153CODE
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.py544CODE
LOWtests/test_issue765_streaming_persistence.py686CODE
LOWtests/test_issue765_streaming_persistence.py587CODE
LOWtests/test_issue765_streaming_persistence.py725CODE
LOWtests/test_korean_locale.py18CODE
LOWtests/test_issue8524_docker_agent_uv_overrides.py287CODE
LOWtests/test_issue3571_saved_prompts.py18CODE
LOWtests/test_large_text_paste_attachment.py22CODE
LOWtests/test_session_unread_dot_on_visit.py170CODE
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_7855_goal_continuation_binding.py52CODE
LOWtests/test_issue4598_composer_control_visibility.py69CODE
LOWtests/conftest.py309CODE
LOWtests/conftest.py536CODE
LOWtests/conftest.py936CODE
LOWtests/conftest.py1019CODE
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_webui_provider_routing_parity.py206CODE
LOWtests/test_profile_switch_ux.py20CODE
LOWtests/test_profile_switch_ux.py85CODE
LOWtests/test_smd_media_in_stream.py686CODE
694 more matches not shown…
Over-Commented Block635 hits · 360 pts
SeverityFileLineSnippetContext
LOWbootstrap.py481 )COMMENT
LOWbootstrap.py881 # Mirror the robust pattern from api/updates._schedule_restart:COMMENT
LOWmanaged_agent_startup.py101 # Activate dependencies without importing the application: api.config mustCOMMENT
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.bash261}COMMENT
LOWdocker_init.bash601 echo "!! If this is not an intentional local development checkout, switch the WebUI"COMMENT
LOWdocker_init.bash941# has no .git, so the Agent's bootstrap leaves the process alone. Agent imagesCOMMENT
LOWdocker_init.bash961 # taking mount edits on restart.COMMENT
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_project_bindings_round5_1010.py461# --- finding 4: the sweep's live-binding read shares the catalog lock --------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.py761 assert not errors, f"Checkpoint thread encountered errors: {errors}"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/test_7864_forwarded_for_startup_warning.py41 assert "HERMES_WEBUI_TRUSTED_PROXY_CIDRS" in warningCOMMENT
LOWtests/conftest.py121# Test state must NEVER live inside the real Hermes home (~/.hermes or anyCOMMENT
LOWtests/conftest.py201os.environ['HERMES_DISABLE_LAZY_INSTALLS'] = '1'COMMENT
LOWtests/conftest.py461 # in place and never restores it. In a sequential run the next test usuallyCOMMENT
LOWtests/conftest.py601 try:COMMENT
LOWtests/conftest.py621# Setting this here instead of in a fixture so it lands BEFORE any test-fileCOMMENT
LOWtests/conftest.py641#COMMENT
LOWtests/conftest.py661# regression like the one PR #1970 introduced where a new code path bypassedCOMMENT
LOWtests/conftest.py681# by AWS_EC2_METADATA_DISABLED, but allowed at the socketCOMMENT
LOWtests/conftest.py1181 test_skills = TEST_STATE_DIR / 'skills'COMMENT
LOWtests/conftest.py1241 for _model_env in ('HERMES_MODEL', 'OPENAI_MODEL', 'LLM_MODEL'):COMMENT
LOWtests/conftest.py1381# Several tests simulate "hermes_cli unavailable / CI without the package" byCOMMENT
LOWtests/conftest.py1401_REAL_HERMES_CLI = sys.modules.get("hermes_cli")COMMENT
LOWtests/conftest.py1501 sys.path[:] = _REAL_SYS_PATHCOMMENT
LOWtests/test_custom_provider_prefix_collisions.py1import sysCOMMENT
575 more matches not shown…
AI Slop Vocabulary88 hits · 222 pts
SeverityFileLineSnippetContext
MEDIUMbootstrap.py881 # Mirror the robust pattern from api/updates._schedule_restart:COMMENT
MEDIUMdocker_init.bash963 # bash 4 (macOS /bin/bash is 3.2, so the test harness there died with "badCOMMENT
LOWctl.sh134 # 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
MEDIUMtests/test_issue8524_docker_agent_uv_overrides.py49 # browser-harness pins pillow==12.3.0COMMENT
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/test_7855_goal_continuation_binding.py286 # happens AFTER the harness has printed every probe line, so the observedCOMMENT
MEDIUMtests/conftest.py1161 # 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_pwa_notification_controls.py57 # inside "async function name", so slicing at `start` would hand the harnessCOMMENT
MEDIUMtests/test_model_picker_no_search_autofocus.py160# These execute the real renderer against a minimal-DOM harness and prove itCOMMENT
MEDIUM⚡tests/test_model_picker_no_search_autofocus.py681 # NEW node or a user mid-word gets silently dropped to <body>. The harnessSTRING
MEDIUMtests/test_issue8228_image_data_uri_hash.py33# Lives in tests/ so the sharded CI suite actually runs it; the harness itself isCOMMENT
MEDIUMtests/test_issue7591_virtual_scroll_calibration.py403# Shared harness for the two COMPOSED render-path regressions below. It wires theSTRING
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_gateway_routing_footer_scope.py415// Master calls this at the end of renderMessages (#7591). The harness extractsCOMMENT
MEDIUMtests/test_gateway_routing_footer_scope.py500 # The harness embeds renderMessages(), which is ~110 KB of source. PassingSTRING
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.py1146 # The harness reuses one session key; another test's parked card wouldCOMMENT
MEDIUMtests/test_gateway_events_watchdog_7978.py2365 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.py510_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_delegation_status.py31# Real per-profile state.db harnessCOMMENT
MEDIUMtests/test_composer_capture_clear_race.py146 # token through this real helper, so the harness must run the real one.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_issue6594_last_used_model_fallback.py551 # Run through production composer and sidebar formatters in Node harnessCOMMENT
MEDIUMtests/test_issue6594_last_used_model_fallback.py1041# ponytail: isolated worker turn harness verifying route lifecycle (#7438)STRING
MEDIUMtests/test_pinned_tail_midstream_jitter.py209 # The call is typeof-guarded so a standalone renderMessages() node harness (which doesSTRING
MEDIUMtests/test_issue8517_memory_off_notice.py147 # The test harness's session ids carry the profile name; nothing else may.COMMENT
MEDIUMtests/test_7628_recovery_window_integrity.py122# ── node harness ─────────────────────────────────────────────────────────────COMMENT
MEDIUM⚡tests/test_issue5472_preserve_draft_on_failed_send.py182# continuation draft, so every harness that runs it must also run the REALCOMMENT
MEDIUMtests/test_issue5472_preserve_draft_on_failed_send.py202 # identifiable continuation draft, so the harness must run the REALCOMMENT
MEDIUMtests/test_issue500_message_list_virtualization.py108 This deliberately reuses issue #500's proven virtualization harness insteadCODE
MEDIUMtests/test_issue500_message_list_virtualization.py1510 (~30% WebContent CPU, issue #6654). The queued-rAF harness drives theCODE
MEDIUMtests/test_insights.py524 # on some Node 20 releases, where this harness's top-level `await` was aCOMMENT
MEDIUMtests/test_blank_live_turn_preserve_guard.py190 """#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
MEDIUMtests/test_issue8517_helper_and_boundary_memory.py46# ── P2: /api/session/compress after a UI switch (harness case aux_compress) ──COMMENT
28 more matches not shown…
Self-Referential Comments21 hits · 69 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.py3079 # 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/docker_first_start_race.sh45# Create a hermes-home volume holding SEED_FILES files and a git repository,COMMENT
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 Indicators34 hits · 63 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_7864_forwarded_ignored_per_record.py85 # Step 1: a direct client sending its own XFF.COMMENT
LOW⚡tests/test_7864_forwarded_ignored_per_record.py95 # Step 2: the operator's unallowlisted Docker-bridge proxy. No secondCOMMENT
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 Overuse33 hits · 60 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_7864_forwarded_ignored_per_record.py85 # Step 1: a direct client sending its own XFF.COMMENT
LOW⚡tests/test_7864_forwarded_ignored_per_record.py95 # Step 2: the operator's unallowlisted Docker-bridge proxy. No secondCOMMENT
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 Structural Boilerplate62 hits · 54 pts
SeverityFileLineSnippetContext
LOWserver.py108logger = logging.getLogger(__name__)CODE
LOWtests/browser_approval_first_click.py285def _settle_reconcile(page, timeout: float = 5.0) -> None: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/agent_health.py38logger = logging.getLogger(__name__)CODE
LOWapi/plugins.py21logger = logging.getLogger(__name__)CODE
LOWapi/auth.py22logger = logging.getLogger(__name__)CODE
LOWapi/auth.py1409def set_auth_cookie(handler, cookie_value) -> None:CODE
LOWapi/process_event_utils.py14logger = logging.getLogger(__name__)CODE
LOWapi/session_lifecycle.py45logger = logging.getLogger(__name__)CODE
LOWapi/run_journal.py35logger = logging.getLogger(__name__)CODE
LOWapi/config.py301logger = logging.getLogger(__name__)CODE
LOWapi/config.py13679def update_active_run(stream_id: str, **metadata) -> None:CODE
LOWapi/plugin_providers.py19logger = logging.getLogger(__name__)CODE
LOWapi/models.py57logger = logging.getLogger(__name__)CODE
LOWapi/run_drain.py38logger = logging.getLogger(__name__)CODE
LOWapi/run_drain.py349 def _settle_one(stream_id: str, ev: threading.Event) -> None: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.py14logger = logging.getLogger(__name__)CODE
LOWapi/gateway_delegation_wakeup.py39logger = logging.getLogger(__name__)CODE
LOWapi/agent_sessions.py11logger = logging.getLogger(__name__)CODE
LOWapi/onboarding.py35logger = logging.getLogger(__name__)CODE
LOWapi/updates.py44logger = logging.getLogger(__name__)CODE
LOWapi/background_process.py64logger = logging.getLogger(__name__)CODE
LOWapi/memory_profile_scope.py55logger = logging.getLogger(__name__)CODE
LOWapi/memory_profile_scope.py294def _set_memory_status(agent: Any, code: str) -> None: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
LOW⚡api/gateway_chat.py2271def _settle_delegation_reservation(session_id, stream_id, accepted: bool) -> None:CODE
LOWapi/gateway_chat.py47logger = logging.getLogger(__name__)CODE
LOWapi/gateway_chat.py2447def _settle_gateway_cancelled_turn(session_id, stream_id) -> None:CODE
LOWapi/rollback.py22logger = logging.getLogger(__name__)CODE
LOWapi/session_ops.py26logger = 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.py151def set_session_yolo_enabled(session_key: str, enabled: bool) -> None:CODE
LOWapi/route_approvals.py527def _settle_gateway_entry(entry, choice: str, reason: str | None = None) -> None:CODE
LOWapi/providers.py67logger = logging.getLogger(__name__)CODE
LOWapi/session_recovery.py46logger = 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/delegation_status.py42logger = logging.getLogger(__name__)CODE
LOWapi/streaming.py29logger = logging.getLogger(__name__)CODE
LOWapi/helpers.py17logger = logging.getLogger(__name__)CODE
LOWapi/gateway_restart.py22logger = logging.getLogger(__name__)CODE
LOWapi/commands.py13logger = logging.getLogger(__name__)CODE
LOW⚡api/profiles.py27logger = logging.getLogger(__name__)CODE
LOWapi/profiles.py541def 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
2 more matches not shown…
Modern AI Meta-Vocabulary26 hits · 54 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
MEDIUMtests/browser_approval_first_click.py61# ── server boot scaffolding (same shape as browser_conversation_lifecycle.py) ─COMMENT
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.py888 # 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.md888### 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.py12868 # agent token stream), an OOM risk with many tabs × long agentic turns. ThisCOMMENT
MEDIUMapi/config.py13125STREAM_REASONING_TEXT: dict = {} # stream_id -> reasoning trace accumulated during streaming (#1361 §A)CODE
MEDIUMapi/streaming.py2363# Structured markers the Hermes Agent stamps on synthetic scaffolding turns thatCOMMENT
MEDIUMapi/streaming.py3270 # synthetic-scaffolding flag convention already used elsewhere (#5334).COMMENT
MEDIUMapi/streaming.py5115 # Guard against chain-of-thought leakage, meta-reasoning, and trivial echo.COMMENT
MEDIUMapi/streaming.py5482 # agentic first-turn plans that are legitimate title candidates.COMMENT
MEDIUMapi/streaming.py11630 # Drop Hermes Agent internal verify-loop scaffolding (synthetic "prematureCOMMENT
MEDIUMapi/streaming.py17427 # Persist reasoning trace in the session so it survives reload.COMMENT
MEDIUMapi/streaming.py17551 # Persist context window data on the session so the context-ringCOMMENT
MEDIUMapi/streaming.py17553 # s.save() for the same reason as the reasoning trace above.COMMENT
MEDIUMapi/streaming.py17945 # Include context window data from the agent's compressor for the UI indicator.COMMENT
MEDIUMapi/streaming.py18007 # resolve the model's context window from metadata so the UI indicatorCOMMENT
MEDIUMapi/streaming.py18072 # (reasoning trace already attached + saved above, before s.save())COMMENT
MEDIUMapi/streaming.py19546 # Capture reasoning trace and live tool calls (#1361 §A + §B)COMMENT
MEDIUMapi/streaming.py19842 # #1361: Also persist reasoning trace and live tool calls that wereCOMMENT
Fake / Example Data45 hits · 38 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
LOW⚡tests/test_webui_gateway_chat_backend.py2166 monkeypatch.setenv(key, "placeholder") # registers the key so monkeypatch removes what the loader setsCODE
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
LOWtests/test_oidc_token_endpoint_auth.py27 "allow_values": ["user@example.com"],CODE
LOWtests/test_oidc_token_endpoint_auth.py60 lambda *_args, **_kwargs: {"sub": "user-1", "email": "user@example.com"},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.py1706 '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.py4416KEYLESS_CUSTOM_API_KEY = "dummy-key"CODE
AI Structural Patterns42 hits · 30 pts
SeverityFileLineSnippetContext
LOWtests/test_session_middle_click_new_tab.py612CODE
LOWtests/test_auto_compression_terminal_failure.py62CODE
LOWtests/test_auto_compression_terminal_failure.py474CODE
LOWtests/test_scroll_collapse_clamp_keeps_follow.py52CODE
LOWtests/test_webui_provider_routing_parity.py371CODE
LOWtests/test_gateway_sync.py132CODE
LOWtests/test_gateway_sync.py176CODE
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.py1057CODE
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.py48CODE
LOWtests/test_native_image_turn_display_context.py62CODE
LOWtests/test_issue5720_reasoning_owner.py18CODE
LOWtests/test_settlement_agent_reasoning_authoritative.py117CODE
LOWtests/test_settlement_agent_reasoning_authoritative.py159CODE
LOWtests/test_turn_usage_persisted_on_settle.py104CODE
LOWtests/test_issue5637_stale_anchor_guard.py369CODE
LOWtests/test_model_alias_routes.py937CODE
LOWapi/startup.py131CODE
LOWapi/startup.py204CODE
LOWapi/models.py10590CODE
LOWapi/models.py1771CODE
LOWapi/goals.py760CODE
LOWapi/agent_sessions.py750CODE
LOWapi/gateway_chat.py2993CODE
LOWapi/runtime_adapter.py314CODE
LOWapi/workspace_git.py180CODE
LOWapi/route_session_list_cache.py327CODE
LOWapi/streaming.py13667CODE
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.py1131 # Check if session store is emptyCOMMENT
LOW⚡api/config.py1141 # Check if SESSION_INDEX_FILE is absent, empty, or contains only {}|[]|nullCOMMENT
LOWapi/config.py11118 # Check if user has configured models in config.yaml —COMMENT
LOWapi/providers.py2993 # Check if actually authenticated via hermes_cli.COMMENT
LOWapi/streaming.py5071 # 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