Repository Analysis

HKUDS/OpenHarness

"OpenHarness: Open Agent Harness with a Built-in Personal Agent--Ohmo!"

45.9 Strong AI signal View on GitHub
45.9
Adjusted Score
45.9
Raw Score
100%
Time Factor
2026-05-27
Last Push
13,321
Stars
Python
Language
92,899
Lines of Code
458
Files
2721
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 17HIGH 33MEDIUM 557LOW 2114

Pattern Findings

2721 matches across 15 categories. Click a row to expand file-level details.

Decorative Section Separators529 hits · 1777 pts
SeverityFileLineSnippet
MEDIUMtests/test_hooks_skills_plugins_real.py53# ====================================================================
MEDIUMtests/test_hooks_skills_plugins_real.py59# ====================================================================
MEDIUMtests/test_hooks_skills_plugins_real.py136# ====================================================================
MEDIUMtests/test_hooks_skills_plugins_real.py142# ====================================================================
MEDIUMtests/test_hooks_skills_plugins_real.py230# ====================================================================
MEDIUMtests/test_hooks_skills_plugins_real.py235# ====================================================================
MEDIUMtests/test_hooks_skills_plugins_real.py333# ====================================================================
MEDIUMtests/test_hooks_skills_plugins_real.py339# ====================================================================
MEDIUMtests/test_hooks_skills_plugins_real.py486# ====================================================================
MEDIUMtests/test_hooks_skills_plugins_real.py491# ====================================================================
MEDIUMtests/test_hooks_skills_plugins_real.py603# ====================================================================
MEDIUMtests/test_hooks_skills_plugins_real.py605# ====================================================================
MEDIUMtests/test_real_large_tasks.py85# ====================================================================
MEDIUMtests/test_real_large_tasks.py91# ====================================================================
MEDIUMtests/test_real_large_tasks.py161# ====================================================================
MEDIUMtests/test_real_large_tasks.py167# ====================================================================
MEDIUMtests/test_real_large_tasks.py289# ====================================================================
MEDIUMtests/test_real_large_tasks.py295# ====================================================================
MEDIUMtests/test_real_large_tasks.py410# ====================================================================
MEDIUMtests/test_real_large_tasks.py416# ====================================================================
MEDIUMtests/test_real_large_tasks.py33# ====================================================================
MEDIUMtests/test_real_large_tasks.py35# ====================================================================
MEDIUMtests/test_real_large_tasks.py658# ====================================================================
MEDIUMtests/test_real_large_tasks.py663# ====================================================================
MEDIUMtests/test_real_large_tasks.py508# ====================================================================
MEDIUMtests/test_real_large_tasks.py515# ====================================================================
MEDIUMtests/test_real_large_tasks.py758# ====================================================================
MEDIUMtests/test_real_large_tasks.py760# ====================================================================
MEDIUMtests/test_untested_features.py101# ====================================================================
MEDIUMtests/test_untested_features.py103# ====================================================================
MEDIUMtests/test_untested_features.py562# ====================================================================
MEDIUMtests/test_untested_features.py564# ====================================================================
MEDIUMtests/test_untested_features.py646# ====================================================================
MEDIUMtests/test_untested_features.py648# ====================================================================
MEDIUMtests/test_untested_features.py718# ====================================================================
MEDIUMtests/test_untested_features.py720# ====================================================================
MEDIUMtests/test_untested_features.py39# ====================================================================
MEDIUMtests/test_untested_features.py41# ====================================================================
MEDIUMtests/test_untested_features.py146# ====================================================================
MEDIUMtests/test_untested_features.py148# ====================================================================
MEDIUMtests/test_untested_features.py179# ====================================================================
MEDIUMtests/test_untested_features.py181# ====================================================================
MEDIUMtests/test_untested_features.py239# ====================================================================
MEDIUMtests/test_untested_features.py241# ====================================================================
MEDIUMtests/test_untested_features.py390# ====================================================================
MEDIUMtests/test_untested_features.py392# ====================================================================
MEDIUMtests/test_untested_features.py443# ====================================================================
MEDIUMtests/test_untested_features.py445# ====================================================================
MEDIUMtests/test_untested_features.py492# ====================================================================
MEDIUMtests/test_untested_features.py494# ====================================================================
MEDIUMtests/test_untested_features.py540# ====================================================================
MEDIUMtests/test_untested_features.py542# ====================================================================
MEDIUMtests/test_untested_features.py598# ====================================================================
MEDIUMtests/test_untested_features.py600# ====================================================================
MEDIUMtests/test_untested_features.py620# ====================================================================
MEDIUMtests/test_untested_features.py622# ====================================================================
MEDIUMtests/test_untested_features.py806# ====================================================================
MEDIUMtests/test_untested_features.py808# ====================================================================
MEDIUMtests/test_untested_features.py294# ====================================================================
MEDIUMtests/test_untested_features.py296# ====================================================================
469 more matches not shown…
Hyper-Verbose Identifiers1320 hits · 1309 pts
SeverityFileLineSnippet
LOWohmo/session_storage.py95def load_latest_for_session_key(workspace: str | Path | None, session_key: str) -> dict[str, Any] | None:
LOWohmo/session_storage.py193 def load_latest_for_session_key(self, session_key: str) -> dict[str, Any] | None:
LOWohmo/memory.py179def create_memory_command_backend(workspace: str | Path | None = None) -> MemoryCommandBackend:
LOWohmo/runtime.py69def build_ohmo_backend_command(
LOWohmo/cli.py140def _format_provider_profile_label(info: dict[str, object]) -> str:
LOWohmo/cli.py327def _run_gateway_config_wizard(workspace: str | Path) -> GatewayConfig:
LOWohmo/cli.py371def _print_gateway_config_summary(config: GatewayConfig) -> None:
LOWohmo/cli.py410def _configure_gateway_logging(workspace: str | Path | None = None) -> None:
LOWohmo/group_registry.py50def save_managed_group_record(
LOWohmo/group_registry.py80def load_managed_group_record(
LOWohmo/workspace.py234def get_gateway_restart_notice_path(workspace: str | Path | None = None) -> Path:
LOWohmo/gateway/service.py168 async def _publish_pending_restart_notice(self) -> None:
LOWohmo/gateway/service.py321def _iter_workspace_gateway_pids(workspace: str | Path | None = None) -> list[int]:
LOWohmo/gateway/config.py29def build_channel_manager_config(config: GatewayConfig) -> Config:
LOWohmo/gateway/provider_commands.py13def handle_gateway_provider_command(args: str, *, workspace: str | Path | None) -> tuple[str, bool]:
LOWohmo/gateway/provider_commands.py55def handle_gateway_model_command(args: str, *, workspace: str | Path | None) -> tuple[str, bool]:
LOWohmo/gateway/bridge.py176 async def _prepare_group_prompt_message(
LOWohmo/gateway/bridge.py372def _build_group_agent_prompt(raw_request: str) -> str:
LOWohmo/gateway/bridge.py386def _normalize_feishu_group_policy(value: str | None) -> str:
LOWohmo/gateway/runtime.py1047def _history_has_image_blocks(messages: list[ConversationMessage]) -> bool:
LOWohmo/gateway/runtime.py1051def _strip_image_blocks_from_engine_history(engine) -> None:
LOWohmo/gateway/runtime.py1059def _strip_image_blocks_from_messages(messages: list[ConversationMessage]) -> list[ConversationMessage]:
LOWohmo/gateway/runtime.py1063def _strip_image_blocks_from_message(message: ConversationMessage) -> ConversationMessage:
LOWohmo/gateway/runtime.py134 def _handle_gateway_scoped_command(self, command_name: str, args: str) -> tuple[str, bool] | None:
LOWohmo/gateway/runtime.py740 def _set_group_request_context(
LOWohmo/gateway/runtime.py768 def _restore_group_request_context(bundle: RuntimeBundle, previous: object) -> None:
LOWohmo/gateway/runtime.py784def _sanitize_snapshot_messages(raw_messages: object) -> list[dict[str, object]] | None:
LOWohmo/gateway/runtime.py823def _format_tool_media_caption(event: ToolExecutionCompleted, media: list[str]) -> str:
LOWohmo/gateway/runtime.py836def _sanitize_group_command_prompts(messages: list[ConversationMessage]) -> list[ConversationMessage]:
LOWohmo/gateway/runtime.py841def _sanitize_group_command_prompt(message: ConversationMessage) -> ConversationMessage:
LOWohmo/gateway/runtime.py855def _format_group_command_history_note(prompt: str) -> str:
LOWohmo/gateway/runtime.py863def _sanitize_group_command_metadata(raw_metadata: object) -> object:
LOWohmo/gateway/runtime.py874def _sanitize_group_command_metadata_value(value: object) -> object:
LOWohmo/gateway/runtime.py992def _build_inbound_user_message(message: InboundMessage) -> ConversationMessage:
LOWohmo/gateway/runtime.py1018def _should_retry_without_image_input(error_message: str, messages: list[ConversationMessage]) -> bool:
LOWohmo/gateway/runtime.py1180def _prefers_chinese_progress(content: str) -> bool:
LOWfrontend/terminal/src/clipboardImage.ts90async function readWindowsClipboardImage(): Promise<ClipboardImageRead | null> {
LOWtests/conftest.py11async def _reset_background_task_manager():
LOWtests/test_hooks_skills_plugins_real.py61async def task_hook_blocks_model_adapts():
LOWtests/test_hooks_skills_plugins_real.py144async def task_model_invokes_skill_tool():
LOWtests/test_hooks_skills_plugins_real.py237async def task_plugin_skill_in_agent_loop():
LOWtests/test_hooks_skills_plugins_real.py341async def task_hook_gates_writes_skill_guides():
LOWtests/test_hooks_skills_plugins_real.py493async def task_swarm_teammates_use_skills():
LOWtests/test_real_large_tasks.py93async def task_security_audit_with_hooks():
LOWtests/test_real_large_tasks.py169async def task_coordinator_code_review():
LOWtests/test_real_large_tasks.py297async def task_migration_plan_with_memory():
LOWtests/test_real_large_tasks.py665async def task_refactor_with_session():
LOWtests/test_untested_features.py650async def test_combined_hooks_skills_agent():
LOWtests/test_untested_features.py722async def test_full_swarm_autoagent():
LOWtests/test_platforms.py8def test_detect_platform_recognizes_wsl():
LOWtests/test_platforms.py17def test_detect_platform_recognizes_windows():
LOWtests/test_platforms.py25def test_windows_capabilities_disable_swarm_mailbox_and_sandbox():
LOWtests/test_merged_prs_on_autoagent.py153async def task_memory_research_autoagent():
LOWtests/test_merged_prs_on_autoagent.py327async def task_session_resume_autoagent():
LOWtests/test_merged_prs_on_autoagent.py412async def task_cron_autoagent_maintenance():
LOWtests/test_bridge/test_session_flow.py14async def test_bridge_session_writes_output_in_cwd(tmp_path: Path):
LOWtests/test_bridge/test_session_flow.py25def test_bridge_secret_and_url_flow():
LOWtests/test_bridge/test_core.py13def test_work_secret_roundtrip():
LOWtests/test_bridge/test_core.py26async def test_spawn_session_and_kill(tmp_path: Path):
LOWtests/test_bridge/test_core.py34async def test_spawn_session_merges_stderr_into_stdout(monkeypatch, tmp_path: Path):
1260 more matches not shown…
Unused Imports488 hits · 470 pts
SeverityFileLineSnippet
LOWohmo/session_storage.py3
LOWohmo/memory.py3
LOWohmo/runtime.py3
LOWohmo/prompts.py3
LOWohmo/cli.py3
LOWohmo/group_registry.py3
LOWohmo/workspace.py3
LOWohmo/gateway/service.py3
LOWohmo/gateway/config.py3
LOWohmo/gateway/models.py3
LOWohmo/gateway/provider_commands.py3
LOWohmo/gateway/bridge.py3
LOWohmo/gateway/notify.py3
LOWohmo/gateway/runtime.py3
LOWohmo/gateway/router.py3
LOWohmo/gateway/group_tool.py3
LOWtests/conftest.py3
LOWtests/test_hooks_skills_plugins_real.py9
LOWtests/test_real_large_tasks.py9
LOWtests/test_untested_features.py10
LOWtests/test_platforms.py3
LOWtests/test_merged_prs_on_autoagent.py9
LOWtests/test_bridge/test_session_flow.py3
LOWtests/test_bridge/test_core.py3
LOWtests/test_install/test_windows_alias.py3
LOWtests/test_tasks/test_manager.py3
LOWtests/test_tools/test_image_generation_tool.py3
LOWtests/test_tools/test_web_fetch_tool.py3
LOWtests/test_tools/test_mcp_auth_tool.py3
LOWtests/test_tools/test_integration_flows.py3
LOWtests/test_tools/test_core_tools.py3
LOWtests/test_tools/test_image_to_text_tool.py3
LOWtests/test_tools/test_task_tools.py3
LOWtests/test_swarm/test_registry.py3
LOWtests/test_swarm/test_permission_sync.py3
LOWtests/test_swarm/test_imports.py3
LOWtests/test_swarm/test_lockfile.py3
LOWtests/test_swarm/test_mailbox.py3
LOWtests/test_swarm/test_spawn_utils.py3
LOWtests/test_swarm/test_subprocess_backend.py3
LOWtests/test_swarm/test_in_process.py3
LOWtests/test_swarm/test_team_lifecycle.py3
LOWtests/test_swarm/test_worktree.py3
LOWtests/test_swarm/test_types.py3
LOWtests/test_utils/test_fs.py3
LOWtests/test_utils/test_helpers.py3
LOWtests/test_utils/test_shell.py3
LOWtests/test_commands/test_registry.py3
LOWtests/test_commands/test_command_flows.py3
LOWtests/test_autopilot/test_verification.py3
LOWtests/test_memory/test_memdir.py3
LOWtests/test_memory/test_claude_runtime_memory.py3
LOWtests/test_coordinator/test_coordinator_mode.py3
LOWtests/test_coordinator/test_agent_definitions.py3
LOWtests/test_channels/test_telegram_security.py1
LOWtests/test_channels/test_base.py1
LOWtests/test_channels/test_feishu_security.py3
LOWtests/test_plugins/test_lifecycle_flow.py3
LOWtests/test_plugins/test_loader.py3
LOWtests/test_services/test_compact.py3
428 more matches not shown…
Excessive Try-Catch Wrapping195 hits · 203 pts
SeverityFileLineSnippet
LOWohmo/gateway/service.py228 except Exception as exc:
LOWohmo/gateway/service.py331 except Exception:
LOWohmo/gateway/service.py356 except Exception:
LOWohmo/gateway/bridge.py292 except Exception as exc: # pragma: no cover - gateway failure path
LOWohmo/gateway/bridge.py357 except Exception:
LOWohmo/gateway/runtime.py473 except Exception:
LOWohmo/gateway/runtime.py792 except Exception:
LOWohmo/gateway/runtime.py1012 except Exception:
LOWohmo/gateway/group_tool.py95 except Exception as exc:
LOWohmo/gateway/group_tool.py121 except Exception as exc:
LOWtests/test_hooks_skills_plugins_real.py620 except Exception as e:
LOWtests/test_real_large_tasks.py781 except Exception as e:
LOWtests/test_untested_features.py94 except Exception as e:
LOWtests/test_merged_prs_on_autoagent.py649 except Exception as e:
LOWscripts/test_harness_features.py229 except Exception as exc:
LOWscripts/test_real_skills_plugins.py336 except Exception as exc:
LOWscripts/test_react_tui_redesign.py177 except Exception as exc:
LOWscripts/test_tui_interactions.py192 except Exception as exc:
LOWscripts/test_cli_flags.py147 except Exception as exc:
LOWscripts/test_docker_sandbox_e2e.py639 except Exception as exc:
LOWscripts/test_headless_rendering.py133 except Exception as exc:
LOWscripts/test_headless_rendering.py156 except Exception as exc:
MEDIUMsrc/openharness/cli.py1894 print(f"Error: {exc}", file=sys.stderr)
MEDIUMsrc/openharness/cli.py2104 print(f"Error: {exc}", file=sys.stderr)
MEDIUMsrc/openharness/cli.py1636 print(f"Error: {exc}", file=sys.stderr)
MEDIUMsrc/openharness/cli.py1690 print(f"Error: {exc}", file=sys.stderr, flush=True)
MEDIUMsrc/openharness/cli.py1736 print(f"Error: {exc}", file=sys.stderr)
MEDIUMsrc/openharness/cli.py1921 print("Error: domain cannot be empty.", file=sys.stderr, flush=True)
MEDIUMsrc/openharness/cli.py1931 print(f"Error: {exc}", file=sys.stderr, flush=True)
MEDIUMsrc/openharness/cli.py1998 print(f"Error: {exc}", file=sys.stderr)
MEDIUMsrc/openharness/cli.py2085 print(f"Error: {exc}", file=sys.stderr)
MEDIUMsrc/openharness/cli.py2332 print("Error: --dry-run does not support --continue/--resume yet.", file=sys.stderr)
MEDIUMsrc/openharness/cli.py2338 print("Error: -p/--print requires a prompt value, e.g. -p 'your prompt'", file=sys.stderr)
MEDIUMsrc/openharness/cli.py2433 print("Error: -p/--print requires a prompt value, e.g. -p 'your prompt'", file=sys.stderr)
LOWsrc/openharness/cli.py465 except Exception as exc: # pragma: no cover - defensive diagnostic path
LOWsrc/openharness/cli.py1741 except Exception:
LOWsrc/openharness/ui/runtime.py87 except Exception:
LOWsrc/openharness/ui/runtime.py201 except Exception as exc:
LOWsrc/openharness/ui/runtime.py246 except Exception:
LOWsrc/openharness/ui/runtime.py491 except Exception:
MEDIUMsrc/openharness/ui/runtime.py198def _safe_resolve_auth():
LOWsrc/openharness/ui/backend_host.py201 except Exception as exc: # pragma: no cover - defensive protocol handling
LOWsrc/openharness/ui/react_launcher.py18 except Exception:
LOWsrc/openharness/swarm/team_lifecycle.py665 except Exception:
LOWsrc/openharness/swarm/subprocess_backend.py99 except Exception as exc:
LOWsrc/openharness/swarm/in_process.py273 except Exception:
LOWsrc/openharness/swarm/in_process.py306 except Exception:
LOWsrc/openharness/swarm/in_process.py312 except Exception:
LOWsrc/openharness/tasks/manager.py372 except Exception:
LOWsrc/openharness/tools/agent_tool.py83 except Exception as exc:
LOWsrc/openharness/tools/mcp_auth_tool.py65 except Exception as exc: # pragma: no cover - defensive
LOWsrc/openharness/tools/image_to_text_tool.py119 except Exception as exc:
LOWsrc/openharness/tools/image_generation_tool.py114 except Exception as exc:
LOWsrc/openharness/tools/send_message_tool.py55 except Exception as exc:
LOWsrc/openharness/coordinator/agent_definitions.py888 except Exception:
LOWsrc/openharness/coordinator/agent_definitions.py942 except Exception:
LOWsrc/openharness/auth/storage.py107 except Exception as exc:
LOWsrc/openharness/auth/storage.py137 except Exception as exc:
LOWsrc/openharness/auth/storage.py159 except Exception as exc:
LOWsrc/openharness/auth/flows.py113 except Exception:
135 more matches not shown…
Hallucination Indicators17 hits · 180 pts
SeverityFileLineSnippet
CRITICALtests/test_utils/test_helpers.py5from openharness.utils.helpers import get_data_path, safe_filename, split_message
CRITICALsrc/openharness/channels/impl/matrix.py41from openharness.utils.helpers import safe_filename
CRITICALsrc/openharness/channels/impl/telegram.py17from openharness.utils.helpers import split_message
CRITICALsrc/openharness/channels/impl/discord.py15from openharness.utils.helpers import split_message
CRITICALsrc/openharness/channels/impl/mochat.py19from openharness.utils.helpers import get_data_path
CRITICALsrc/openharness/channels/impl/feishu.py18from openharness.utils.helpers import safe_filename
CRITICALsrc/openharness/channels/impl/feishu.py545 response = self._client.im.v1.message_reaction.create(request)
CRITICALsrc/openharness/channels/impl/feishu.py806 response = self._client.im.v1.image.create(request)
CRITICALsrc/openharness/channels/impl/feishu.py834 response = self._client.im.v1.file.create(request)
CRITICALsrc/openharness/channels/impl/feishu.py855 response = self._client.im.v1.message_resource.get(request)
CRITICALsrc/openharness/channels/impl/feishu.py888 response = self._client.im.v1.message_resource.get(request)
CRITICALsrc/openharness/channels/impl/feishu.py975 response = self._client.im.v1.message.reply(request)
CRITICALsrc/openharness/channels/impl/feishu.py986 response = self._client.im.v1.message.create(request)
CRITICALsrc/openharness/channels/impl/feishu.py1027 response = self._client.im.v1.chat.create(request)
CRITICALsrc/openharness/channels/impl/feishu.py1054 response = self._client.im.v1.chat.update(request)
CRITICALsrc/openharness/channels/impl/feishu.py1180 lark.api.contact.v3.GetUserRequest.builder()
CRITICALsrc/openharness/channels/impl/feishu.py1185 response = self._client.contact.v3.user.get(request)
Cross-Language Confusion27 hits · 151 pts
SeverityFileLineSnippet
HIGHtests/test_hooks_skills_plugins_real.py413 command='echo "$TOOL_INPUT" | grep -q "config.py" && exit 1 || exit 0',
HIGHtests/test_hooks_skills_plugins_real.py420 command='echo "$TOOL_INPUT" | grep -q "config.py" && exit 1 || exit 0',
HIGHtests/test_real_large_tasks.py427 os.system(f"cd {repo} && git init -q && git checkout -b main 2>/dev/null")
HIGHtests/test_real_large_tasks.py461 os.system(f"cd {repo} && git add -A && git commit -q -m 'initial commit'")
HIGHtests/test_untested_features.py574 os.system(f"cd {repo} && git init && git commit --allow-empty -m 'init' 2>/dev/null")
HIGHtests/test_untested_features.py205 command='echo "$TOOL_INPUT" | grep -q "rm " && exit 1 || exit 0',
HIGHtests/test_merged_prs_on_autoagent.py433 "command": "cd /home/tangjiabin/AutoAgent && ruff check autoagent/"},
HIGHtests/test_merged_prs_on_autoagent.py435 "command": "cd /home/tangjiabin/AutoAgent && python -m pytest tests/ -q"},
HIGHtests/test_merged_prs_on_autoagent.py437 "command": "cd /home/tangjiabin/AutoAgent && grep -r TODO autoagent/ | wc -l"},
HIGHtests/test_merged_prs_on_autoagent.py585 "command": "cd /home/tangjiabin/AutoAgent && ruff check autoagent/",
HIGHtests/test_permissions/test_checker.py32 command="npm init -y && npm install next react react-dom",
HIGHtests/test_autopilot/test_verification.py37 "pytest && evil",
HIGHtests/test_autopilot/test_verification.py38 "pytest || evil",
HIGHtests/test_autopilot/test_verification.py56 {"command": "cd frontend && npm ci && tsc --noEmit", "shell": True},
HIGHtests/test_autopilot/test_verification.py60 assert cmd.raw == "cd frontend && npm ci && tsc --noEmit"
HIGHtests/test_autopilot/test_verification.py185 "commands": [{"command": "cd x && y", "shell": True}],
HIGHtests/test_autopilot/test_verification.py191 assert seen["target"] == "cd x && y"
HIGHtests/test_prompts/test_environment.py42 # Create a git repo (cross-platform: use subprocess, not os.system with /dev/null)
HIGHscripts/test_docker_sandbox_e2e.py417 ["bash", "-c", "timeout 3 bash -c 'echo > /dev/tcp/8.8.8.8/53' 2>&1 || exit 1"],
HIGHscripts/test_docker_sandbox_e2e.py439 ["bash", "-c", "getent hosts github.com 2>/dev/null && echo DNS_OK || echo DNS_FAIL"],
HIGHscripts/test_docker_sandbox_e2e.py439 ["bash", "-c", "getent hosts github.com 2>/dev/null && echo DNS_OK || echo DNS_FAIL"],
HIGHsrc/openharness/coordinator/coordinator_mode.py419{_AGENT_TOOL_NAME}({{ prompt: "Fix the null pointer in src/auth/validate.ts:42. The user field on Session (src/auth/type
HIGHsrc/openharness/coordinator/coordinator_mode.py452{_SEND_MESSAGE_TOOL_NAME}({{ to: "xyz-456", message: "Fix the null pointer in src/auth/validate.ts:42. The user field is
HIGHsrc/openharness/coordinator/coordinator_mode.py512 {_SEND_MESSAGE_TOOL_NAME}({{ to: "agent-a1b", message: "Fix the null pointer in src/auth/validate.ts:42. Add a null ch
HIGHsrc/openharness/coordinator/agent_definitions.py425 "current_usage": null,
HIGHsrc/openharness/coordinator/agent_definitions.py426 "used_percentage": null,
HIGHsrc/openharness/sandbox/docker_image.py16RUN apt-get update && apt-get install -y --no-install-recommends \\
Deep Nesting101 hits · 83 pts
SeverityFileLineSnippet
LOWohmo/runtime.py147
LOWohmo/runtime.py188
LOWohmo/cli.py147
LOWohmo/cli.py194
LOWohmo/gateway/runtime.py901
LOWtests/test_hooks_skills_plugins_real.py34
LOWtests/test_real_large_tasks.py65
LOWtests/test_untested_features.py68
LOWtests/test_untested_features.py183
LOWtests/test_merged_prs_on_autoagent.py82
LOWscripts/local_system_scenarios.py222
LOWscripts/e2e_smoke.py694
LOWscripts/e2e_smoke.py759
LOWscripts/test_docker_sandbox_e2e.py588
LOWsrc/openharness/cli.py333
LOWsrc/openharness/cli.py1402
LOWsrc/openharness/cli.py2113
LOWsrc/openharness/personalization/rules.py49
LOWsrc/openharness/personalization/extractor.py78
LOWsrc/openharness/ui/runtime.py621
LOWsrc/openharness/ui/runtime.py777
LOWsrc/openharness/ui/backend_host.py92
LOWsrc/openharness/ui/backend_host.py250
LOWsrc/openharness/ui/backend_host.py682
LOWsrc/openharness/ui/backend_host.py274
LOWsrc/openharness/ui/app.py92
LOWsrc/openharness/ui/app.py177
LOWsrc/openharness/ui/app.py121
LOWsrc/openharness/ui/app.py240
LOWsrc/openharness/ui/textual_app.py327
LOWsrc/openharness/ui/textual_app.py436
LOWsrc/openharness/ui/output.py56
LOWsrc/openharness/swarm/in_process.py196
LOWsrc/openharness/swarm/permission_sync.py1035
LOWsrc/openharness/tools/grep_tool.py105
LOWsrc/openharness/tools/config_tool.py28
LOWsrc/openharness/tools/glob_tool.py98
LOWsrc/openharness/tools/image_generation_tool.py318
LOWsrc/openharness/coordinator/agent_definitions.py695
LOWsrc/openharness/coordinator/agent_definitions.py905
LOWsrc/openharness/auth/storage.py166
LOWsrc/openharness/auth/manager.py116
LOWsrc/openharness/auth/manager.py186
LOWsrc/openharness/plugins/loader.py320
LOWsrc/openharness/plugins/loader.py479
LOWsrc/openharness/plugins/loader.py621
LOWsrc/openharness/plugins/loader.py691
LOWsrc/openharness/permissions/checker.py75
LOWsrc/openharness/hooks/executor.py64
LOWsrc/openharness/prompts/claudemd.py8
LOWsrc/openharness/prompts/context.py102
LOWsrc/openharness/api/provider.py97
LOWsrc/openharness/api/client.py98
LOWsrc/openharness/api/client.py165
LOWsrc/openharness/api/codex_client.py77
LOWsrc/openharness/api/codex_client.py253
LOWsrc/openharness/api/codex_client.py358
LOWsrc/openharness/api/openai_client.py81
LOWsrc/openharness/api/openai_client.py315
LOWsrc/openharness/commands/registry.py445
41 more matches not shown…
Self-Referential Comments8 hits · 23 pts
SeverityFileLineSnippet
MEDIUMtests/test_hooks_skills_plugins_real.py163 # Create a skill file that gives specific instructions
MEDIUMtests/test_hooks_skills_plugins_real.py256 # Create a plugin with a skill
MEDIUMtests/test_hooks_skills_plugins_real.py384 # Create a file to refactor
MEDIUMtests/test_real_large_tasks.py424 # Create a test repo with a "buggy" file
MEDIUMtests/test_real_large_tasks.py673 # Create a file to refactor
MEDIUMtests/test_tools/test_image_to_text_tool.py174 # Create a minimal valid PNG file
MEDIUMtests/test_prompts/test_environment.py42 # Create a git repo (cross-platform: use subprocess, not os.system with /dev/null)
MEDIUMscripts/install.sh192# Create a virtual environment to avoid PEP 668 externally-managed errors
Cross-File Repetition4 hits · 20 pts
SeverityFileLineSnippet
HIGHsrc/openharness/hooks/schemas.py0higher priority runs first within an event; ties keep registration order.
HIGHsrc/openharness/hooks/schemas.py0higher priority runs first within an event; ties keep registration order.
HIGHsrc/openharness/hooks/schemas.py0higher priority runs first within an event; ties keep registration order.
HIGHsrc/openharness/hooks/schemas.py0higher priority runs first within an event; ties keep registration order.
Verbosity Indicators21 hits · 20 pts
SeverityFileLineSnippet
LOWtests/test_merged_prs_on_autoagent.py556 # Step 3: Use diagnose skill on AutoAgent (PR #17)
LOWtests/test_merged_prs_on_autoagent.py565 # Step 4: Track costs (PR #16)
LOWtests/test_merged_prs_on_autoagent.py570 # Step 5: Save session (PR #16)
LOWtests/test_merged_prs_on_autoagent.py579 # Step 6: Create cron job for ongoing monitoring (PR #16)
LOWtests/test_merged_prs_on_autoagent.py590 # Step 7: Resume session in Anthropic client and continue (PR #16 + #14)
LOWtests/test_merged_prs_on_autoagent.py529 # Step 1: OpenAI client researches AutoAgent (PR #14)
LOWtests/test_merged_prs_on_autoagent.py542 # Step 2: Save research to memory with frontmatter (PR #12)
LOWscripts/install.sh67# Step 1: Detect OS
LOWscripts/install.sh88# Step 2: Check Python >= 3.10
LOWscripts/install.sh151# Step 3: Check Node.js >= 18
LOWscripts/install.sh182# Step 4: Install OpenHarness
LOWscripts/install.sh241# Step 5: Channel dependencies
LOWscripts/install.sh249# Step 6: Install frontend/terminal npm dependencies
LOWscripts/install.sh270# Step 7: Create OpenHarness config directory
LOWscripts/install.sh281# Step 8: Register global commands
LOWscripts/install.sh292# Step 9: Verify installation
LOWscripts/install.sh316# Step 10: Add command directory to shell profile
LOWsrc/openharness/services/compact/__init__.py1163 # Step 1: microcompact to reduce tokens cheaply
LOWsrc/openharness/services/compact/__init__.py1169 # Step 2: split into older (summarize) and newer (preserve)
LOWsrc/openharness/services/compact/__init__.py1172 # Step 3: build compact request — send older messages + compact prompt
LOWsrc/openharness/services/compact/__init__.py1375 # Step 4: build the new message list
AI Slop Vocabulary4 hits · 11 pts
SeverityFileLineSnippet
MEDIUMdocs/autopilot/assets/index-gQnrxco6.js49`).replace(hm,"")}function Hd(l,t){return t=Cd(t),Cd(l)===t}function fl(l,t,a,u,e,n){switch(a){case"children":typeof u==
MEDIUMsrc/openharness/swarm/in_process.py257 # harness wires up the full engine for in-process teammates.
MEDIUMsrc/openharness/coordinator/agent_definitions.py133 subagent_type: str = "general-purpose" # routing key used by the harness
MEDIUMsrc/openharness/channels/impl/dingtalk.py55 # Parse using SDK's ChatbotMessage for robust handling
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippet
HIGHsrc/openharness/swarm/registry.py271Return a TeammateExecutor for the given backend type. Args: backend: Explicit backend type to use.
HIGHsrc/openharness/swarm/permission_sync.py346Build a new :class:`SwarmPermissionRequest` with a generated ID. Missing worker/team fields are read from environme
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippet
LOWscripts/install_dev.sh3# Usage:
LOWscripts/sync_nanobot_channels.sh4# Usage:
Over-Commented Block2 hits · 2 pts
SeverityFileLineSnippet
LOWsrc/openharness/swarm/spawn_utils.py21
LOWsrc/openharness/auth/flows.py81 # Only http(s) URLs are valid here. ShellExecute / xdg-open / `open`
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippet
LOWsrc/openharness/channels/impl/discord.py273 # Check if bot was mentioned in the message