AI Slop Code RIsk Monitor

TencentCloud/Octop

A smarter, self-hosted AI assistant — multi-user, multi-agent.

17.0 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for TencentCloud/Octop, a Python project with 8,661 GitHub stars. SynthScan examined 700,712 lines of code across 3298 source files, recording 8687 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 17.0 (Elevated 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.

17.0
Adjusted Signal
17.0
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
8.7K
Stars
Python
Language
700.7K
Lines of Code
3.3K
Files
8.7K
Pattern Hits
2026-10-12
Scan Date
0.06
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 37.2/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 12.0/100 · LOW

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

Agent Over-Engineering Ratio 44.9/100 · MEDIUM

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

PR Review Velocity Impact 54.7/100 · HIGH

Which changes need focused human review? 8687 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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

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 6HIGH 195MEDIUM 697LOW 7789

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 8687 distinct pattern matches across 22 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.

Hyper-Verbose Identifiers4635 hits · 4752 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py35def pytest_collection_modifyitems(items: list[pytest.Item]) -> None:CODE
LOWtests/conftest.py55def _suspend_proactive_care_loops(CODE
LOW⚡tests/unit/test_tool_guard_rules_store.py18def test_ensure_seeded_creates_yaml(rules_store: ToolGuardRulesStore) -> None:CODE
LOW⚡tests/unit/test_tool_guard_rules_store.py25def test_save_rejects_invalid_yaml(rules_store: ToolGuardRulesStore) -> None:CODE
LOW⚡tests/unit/test_tool_guard_rules_store.py32def test_save_valid_rule_and_reload_catalog(rules_store: ToolGuardRulesStore) -> None:CODE
LOWtests/unit/test_shared.py15def test_build_shared_services(tmp_path: Path):CODE
LOWtests/unit/test_docker_compose_database_env.py10def _compose_environment_entries(compose_text: str) -> str:CODE
LOWtests/unit/test_docker_compose_database_env.py23def test_docker_compose_forwards_database_env_keys() -> None:CODE
LOWtests/unit/test_voice_manager.py27def test_default_active_is_browser(voice_mgr: VoiceManager) -> None:CODE
LOWtests/unit/test_voice_manager.py31def test_set_active_edge_tts_only(voice_mgr: VoiceManager) -> None:CODE
LOW⚡tests/unit/test_voice_manager.py44async def test_transcribe_browser_raises_browser_only(voice_mgr: VoiceManager) -> None:CODE
LOW⚡tests/unit/test_voice_manager.py51async def test_synthesize_browser_raises_browser_only(voice_mgr: VoiceManager) -> None:CODE
LOW⚡tests/unit/test_voice_manager.py59async def test_configuration_probe_uses_unsaved_values(CODE
LOW⚡tests/unit/test_skills_hub_errors.py30def test_map_install_error_not_found() -> None:CODE
LOW⚡tests/unit/test_skills_hub_errors.py36def test_map_install_error_unknown_returns_none() -> None:CODE
LOW⚡tests/unit/test_skills_hub_errors.py40def test_map_install_error_ssl_record_layer() -> None:CODE
LOWtests/unit/test_skills_hub_errors.py53def test_skillhub_cli_failure_detail_ssl() -> None:CODE
LOW⚡tests/unit/test_skills_hub_errors.py66def test_skillhub_cli_failure_detail_passthrough() -> None:CODE
LOW⚡tests/unit/test_skills_hub_errors.py73def test_stderr_suggests_upgrade() -> None:CODE
LOW⚡tests/unit/test_skills_hub_errors.py81async def test_run_skillhub_cmd_timeout_kills_process(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/unit/test_skills_hub_errors.py105async def test_close_subprocess_is_noop_when_already_exited() -> None:CODE
LOWtests/unit/test_plugin_seed.py41def test_seed_does_not_auto_install_missing(tmp_path: Path) -> None:CODE
LOWtests/unit/test_plugin_seed.py55def test_seed_does_not_overwrite_same_version(tmp_path: Path) -> None:CODE
LOWtests/unit/test_plugin_seed.py72def test_seed_refreshes_when_bundled_version_newer(tmp_path: Path) -> None:CODE
LOWtests/unit/test_plugin_seed.py100def test_seed_does_not_recreate_after_uninstall(tmp_path: Path) -> None:CODE
LOWtests/unit/test_plugin_seed.py121def test_seed_does_not_add_new_bundled_id(tmp_path: Path) -> None:CODE
LOWtests/unit/test_plugin_seed.py142def test_load_installed_skips_disabled_before_import(tmp_path: Path) -> None:CODE
LOWtests/unit/test_plugin_seed.py156def test_load_installed_clears_stale_registry_entries(tmp_path: Path) -> None:CODE
LOWtests/unit/test_plugin_seed.py175def test_seed_refuses_corrupt_config_and_preserves_bytes(tmp_path: Path) -> None:CODE
LOWtests/unit/test_plugin_manager.py67def test_set_enabled_roundtrip(tmp_path: Path) -> None:CODE
LOWtests/unit/test_plugin_manager.py87def test_normalize_github_blob_url() -> None:CODE
LOWtests/unit/test_plugin_manager.py102def test_install_url_rejects_non_zip(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/unit/test_plugin_manager.py123def test_install_url_accepts_valid_zip(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/unit/test_plugin_manager.py148def test_install_archive_accepts_local_zip(tmp_path: Path) -> None:CODE
LOWtests/unit/test_plugin_manager.py160def test_install_archive_rejects_non_zip(tmp_path: Path) -> None:CODE
LOWtests/unit/test_plugin_manager.py172def test_install_path_already_exists(tmp_path: Path) -> None:CODE
LOWtests/unit/test_plugin_manager.py184def test_parse_plugin_ui_meta_and_list(tmp_path: Path) -> None:CODE
LOWtests/unit/test_plugin_manager.py233def test_load_missing_picks_up_cli_install(tmp_path: Path) -> None:CODE
LOWtests/unit/test_plugin_manager.py256def test_parse_plugin_ui_meta_missing_entry(tmp_path: Path) -> None:CODE
LOWtests/unit/test_plugin_manager.py337def test_set_enabled_refuses_corrupt_config_and_preserves_bytes(tmp_path: Path) -> None:CODE
LOWtests/unit/test_plugin_manager.py352def test_install_plugin_importing_legacy_harness_agent(tmp_path: Path) -> None:CODE
LOWtests/unit/test_plugin_manager.py389def test_set_enabled_preserves_unrelated_keys(tmp_path: Path) -> None:CODE
LOWtests/unit/test_launch_bwrap.py14def test_schedule_skips_non_linux(CODE
LOWtests/unit/test_launch_bwrap.py23async def test_schedule_runs_linux_ensure_in_background(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/unit/test_launch_bwrap.py45async def test_cancel_background_task_is_noop_when_missing() -> None:CODE
LOWtests/unit/test_launch_bwrap.py50async def test_cancel_background_task_drops_pending() -> None:CODE
LOWtests/unit/test_launch_bwrap.py63def test_background_ensure_swallows_failures(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWtests/unit/test_logging.py58def test_build_log_handler_uses_daily_rotation_and_retention(tmp_path: Path):CODE
LOWtests/unit/test_logging.py72def test_purge_stale_logs_removes_only_old_files(tmp_path: Path):CODE
LOWtests/unit/test_logging.py84def test_purge_stale_logs_skipped_when_retention_non_positive(tmp_path: Path):CODE
LOWtests/unit/test_logging.py94def test_attach_log_handler_is_idempotent(tmp_path: Path):CODE
LOWtests/unit/test_logging.py110def test_setup_logging_creates_logs_dir_and_file(tmp_path: Path, monkeypatch):CODE
LOWtests/unit/test_logging.py132def test_setup_logging_migrates_legacy_log(tmp_path: Path):CODE
LOWtests/unit/test_logging.py146def test_setup_logging_respects_retention_env(tmp_path: Path, monkeypatch):CODE
LOW⚡tests/unit/test_logging.py161def test_setup_logging_respects_level_env(tmp_path: Path, monkeypatch):CODE
LOW⚡tests/unit/test_logging.py170def test_setup_logging_falls_back_on_invalid_level_env(tmp_path: Path, monkeypatch):CODE
LOW⚡tests/unit/test_logging.py179def test_setup_logging_falls_back_on_invalid_retention_env(tmp_path: Path, monkeypatch):CODE
LOWtests/unit/test_logging.py195def test_parse_log_max_bytes_defaults_and_env(monkeypatch):CODE
LOWtests/unit/test_logging.py204def test_log_handler_rotates_when_max_bytes_exceeded(tmp_path: Path):CODE
LOWtests/unit/test_logging.py231def test_gzip_rotated_log_replaces_plain_file(tmp_path: Path):CODE
4575 more matches not shown…
Decorative Section Separators572 hits · 1936 pts
SeverityFileLineSnippetContext
MEDIUMdocker/docker_build.sh2# =============================================================================COMMENT
MEDIUMdocker/docker_build.sh19# =============================================================================COMMENT
MEDIUMdocker/docker-compose.postgres.yml1# =============================================================================COMMENT
MEDIUMdocker/docker-compose.postgres.yml19# =============================================================================COMMENT
MEDIUMdocker/docker-compose.mobile.yml1# =============================================================================COMMENT
MEDIUMdocker/docker-compose.mobile.yml19# =============================================================================COMMENT
MEDIUMdocker/docker-entrypoint.sh2# =============================================================================COMMENT
MEDIUMdocker/docker-entrypoint.sh18# =============================================================================COMMENT
MEDIUMdocker/docker-compose.yml1# =============================================================================COMMENT
MEDIUMdocker/docker-compose.yml20# =============================================================================COMMENT
MEDIUMtests/unit/connectors/test_qq_mail_adapter.py48# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/connectors/test_qq_mail_adapter.py50# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/connectors/test_qq_mail_adapter.py120# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/connectors/test_qq_mail_adapter.py122# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/connectors/test_qq_mail_adapter.py171# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/connectors/test_qq_mail_adapter.py173# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py214# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py216# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py408# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py410# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py486# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py488# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py532# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py534# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py671# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py673# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py723# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py725# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py789# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py791# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py847# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py849# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py1050# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/agents/test_agent_registry.py1052# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/agents/test_agent_registry.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/agents/test_agent_registry.py29# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/agents/test_agent_registry.py101# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/agents/test_agent_registry.py103# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/agents/test_agent_registry.py273# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/agents/test_agent_registry.py275# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/agents/test_agent_registry.py1239# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/agents/test_agent_registry.py1241# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/db/test_repo_providers.py75# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/db/test_repo_providers.py77# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/api/test_terminal_sessions.py78# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/api/test_terminal_sessions.py80# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/api/test_terminal_sessions.py169# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/api/test_terminal_sessions.py171# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/api/test_chat_polish.py310# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/api/test_chat_polish.py312# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/proactive/test_proactive_service.py160# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/proactive/test_proactive_service.py162# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/proactive/test_proactive_service.py180# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/proactive/test_proactive_service.py182# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/proactive/test_proactive_service.py200# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/proactive/test_proactive_service.py202# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/proactive/test_proactive_service.py220# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/proactive/test_proactive_service.py222# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/proactive/test_proactive_service.py253# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/proactive/test_proactive_service.py255# ---------------------------------------------------------------------------COMMENT
512 more matches not shown…
Unused Imports1311 hits · 1286 pts
SeverityFileLineSnippetContext
LOWconftest.py9CODE
LOWconftest.py11CODE
LOWplugins/demo-ui-card/main.py7CODE
LOWplugins/demo-greeting-skill/main.py8CODE
LOWplugins/demo-turn-logger/main.py11CODE
LOWplugins/demo-toolkit/main.py12CODE
LOWtests/conftest.py3CODE
LOWtests/unit/test_tool_guard_rules_store.py3CODE
LOWtests/unit/test_shared.py3CODE
LOWtests/unit/test_docker_compose_database_env.py3CODE
LOWtests/unit/test_voice_manager.py3CODE
LOWtests/unit/test_skills_hub_errors.py3CODE
LOWtests/unit/test_plugin_seed.py3CODE
LOWtests/unit/test_plugin_manager.py3CODE
LOWtests/unit/test_launch_bwrap.py3CODE
LOWtests/unit/test_logging.py7CODE
LOWtests/unit/test_fnos_native_stop.py3CODE
LOWtests/unit/test_plugins.py3CODE
LOWtests/unit/test_host_download_allow.py3CODE
LOWtests/unit/test_cli_main.py3CODE
LOWtests/unit/test_voice_probe.py7CODE
LOWtests/unit/test_launch_deferred.py3CODE
LOWtests/unit/test_metrics.py3CODE
LOWtests/unit/test_user_locale.py3CODE
LOWtests/unit/test_provider_probe.py3CODE
LOWtests/unit/test_errors.py3CODE
LOWtests/unit/test_bundled_plugins_layout.py3CODE
LOWtests/unit/test_voice_formats.py3CODE
LOWtests/unit/test_voice_stt_probe.py7CODE
LOWtests/unit/test_fnos_docker_persist.py3CODE
LOWtests/unit/test_storage_spec.py3CODE
LOWtests/unit/test_wizard_password.py3CODE
LOWtests/unit/test_host_paths.py3CODE
LOWtests/unit/test_workspace_download.py3CODE
LOWtests/unit/test_wizard_token.py3CODE
LOWtests/unit/test_skillhub_install_metadata.py1CODE
LOWtests/unit/test_user_manager.py3CODE
LOWtests/unit/test_password.py3CODE
LOWtests/unit/test_env_file.py3CODE
LOWtests/unit/test_identity.py3CODE
LOWtests/unit/test_config.py3CODE
LOWtests/unit/test_storage_browse.py3CODE
LOWtests/unit/test_paths.py3CODE
LOWtests/unit/test_langfuse_env_names.py10CODE
LOWtests/unit/test_usage_thread_totals.py3CODE
LOWtests/unit/test_ulid.py3CODE
LOWtests/unit/test_provider_fetch_models.py3CODE
LOWtests/unit/test_security_settings.py3CODE
LOWtests/unit/test_cli_state.py3CODE
LOWtests/unit/test_hot_topics_plugin.py3CODE
LOWtests/unit/test_vendor_wheels_argv.py14CODE
LOWtests/unit/test_green_launch.py3CODE
LOWtests/unit/test_langfuse_settings.py3CODE
LOWtests/unit/test_storage_probe.py3CODE
LOWtests/unit/test_connectors.py3CODE
LOWtests/unit/test_release_download_links.py3CODE
LOWtests/unit/test_provider_preset_expansion.py3CODE
LOWtests/unit/connectors/test_oauth_pkce.py3CODE
LOWtests/unit/connectors/test_mcp_oauth_ssrf.py3CODE
LOWtests/unit/connectors/test_mail_servers.py3CODE
1251 more matches not shown…
Structural Annotation Overuse583 hits · 1232 pts
SeverityFileLineSnippetContext
LOW⚡…nts/subagents/library/en/design/design-ux-architect.md299### Step 1: Analyze Project RequirementsCOMMENT
LOW⚡…nts/subagents/library/en/design/design-ux-architect.md309### Step 2: Create Technical FoundationCOMMENT
LOW⚡…nts/subagents/library/en/design/design-ux-architect.md315### Step 3: UX Structure PlanningCOMMENT
LOW⚡…nts/subagents/library/en/design/design-ux-architect.md321### Step 4: Developer Handoff DocumentationCOMMENT
LOW⚡…/subagents/library/en/design/design-whimsy-injector.md360### Step 1: Brand Personality AnalysisCOMMENT
LOW⚡…/subagents/library/en/design/design-whimsy-injector.md367### Step 2: Whimsy Strategy DevelopmentCOMMENT
LOW⚡…/subagents/library/en/design/design-whimsy-injector.md373### Step 3: Implementation DesignCOMMENT
LOW⚡…/subagents/library/en/design/design-whimsy-injector.md379### Step 4: Testing and RefinementCOMMENT
LOW⚡…ts/subagents/library/en/design/design-ux-researcher.md166### Step 1: Research PlanningCOMMENT
LOW⚡…ts/subagents/library/en/design/design-ux-researcher.md174### Step 2: Data CollectionCOMMENT
LOW⚡…ts/subagents/library/en/design/design-ux-researcher.md180### Step 3: Analysis and SynthesisCOMMENT
LOW⚡…ts/subagents/library/en/design/design-ux-researcher.md186### Step 4: Insights and RecommendationsCOMMENT
LOW⚡…s/subagents/library/en/design/design-brand-guardian.md172### Step 1: Brand Discovery and StrategyCOMMENT
LOW⚡…s/subagents/library/en/design/design-brand-guardian.md179### Step 2: Foundation DevelopmentCOMMENT
LOW⚡…s/subagents/library/en/design/design-brand-guardian.md185### Step 3: System CreationCOMMENT
LOW⚡…s/subagents/library/en/design/design-brand-guardian.md191### Step 4: Implementation and ProtectionCOMMENT
LOW⚡…ents/subagents/library/en/design/design-ui-designer.md230### Step 1: Design System FoundationCOMMENT
LOW⚡…ents/subagents/library/en/design/design-ui-designer.md237### Step 2: Component ArchitectureCOMMENT
LOW⚡…ents/subagents/library/en/design/design-ui-designer.md243### Step 3: Visual Hierarchy SystemCOMMENT
LOW⚡…ents/subagents/library/en/design/design-ui-designer.md249### Step 4: Developer HandoffCOMMENT
LOW⚡…ents/library/en/design/design-image-prompt-engineer.md139### Step 1: Concept IntakeCOMMENT
LOW⚡…ents/library/en/design/design-image-prompt-engineer.md145### Step 2: Reference AnalysisCOMMENT
LOW⚡…ents/library/en/design/design-image-prompt-engineer.md151### Step 3: Prompt ConstructionCOMMENT
LOW⚡…ents/library/en/design/design-image-prompt-engineer.md157### Step 4: Prompt OptimizationCOMMENT
LOW…bagents/library/en/design/design-visual-storyteller.md79### Step 1: Story Strategy DevelopmentCOMMENT
LOW⚡…bagents/library/en/design/design-visual-storyteller.md90### Step 2: Visual Narrative PlanningCOMMENT
LOW⚡…bagents/library/en/design/design-visual-storyteller.md96### Step 3: Content Creation FrameworkCOMMENT
LOW⚡…bagents/library/en/design/design-visual-storyteller.md102### Step 4: Production & OptimizationCOMMENT
LOW⚡…infra/agents/subagents/library/en/sales/sales-coach.md200### Step 1: Observe and DiagnoseCOMMENT
LOW⚡…infra/agents/subagents/library/en/sales/sales-coach.md206### Step 2: Design the Coaching InterventionCOMMENT
LOW⚡…infra/agents/subagents/library/en/sales/sales-coach.md212### Step 3: Coach and ReinforceCOMMENT
LOW⚡…infra/agents/subagents/library/en/sales/sales-coach.md218### Step 4: Measure and AdjustCOMMENT
LOW⚡…ubagents/library/en/sales/sales-proposal-strategist.md140### Step 1: Opportunity AnalysisCOMMENT
LOW⚡…ubagents/library/en/sales/sales-proposal-strategist.md145### Step 2: Win Theme DevelopmentCOMMENT
LOW⚡…ubagents/library/en/sales/sales-proposal-strategist.md150### Step 3: Narrative ArchitectureCOMMENT
LOW⚡…ubagents/library/en/sales/sales-proposal-strategist.md156### Step 4: Content Development and RefinementCOMMENT
LOW⚡…subagents/library/en/sales/sales-account-strategist.md156### Step 1: Account IntelligenceCOMMENT
LOW⚡…subagents/library/en/sales/sales-account-strategist.md162### Step 2: Relationship DevelopmentCOMMENT
LOW⚡…subagents/library/en/sales/sales-account-strategist.md168### Step 3: Expansion ExecutionCOMMENT
LOW⚡…subagents/library/en/sales/sales-account-strategist.md174### Step 4: Retention and Growth MeasurementCOMMENT
LOW⚡…ts/library/en/sales/sales-offer-lead-gen-strategist.md187### Step 1: Offer AuditCOMMENT
LOW⚡…ts/library/en/sales/sales-offer-lead-gen-strategist.md190### Step 2: Rebuild the Value EquationCOMMENT
LOW⚡…ts/library/en/sales/sales-offer-lead-gen-strategist.md193### Step 3: Lead Magnet IdeationCOMMENT
LOW⚡…ts/library/en/sales/sales-offer-lead-gen-strategist.md196### Step 4: Nurture Pipeline Before Magnet LaunchCOMMENT
LOW⚡…ts/library/en/sales/sales-offer-lead-gen-strategist.md199### Step 5: Channel Selection (One Core Four)COMMENT
LOW⚡…ts/library/en/sales/sales-offer-lead-gen-strategist.md202### Step 6: Amplifier ActivationCOMMENT
LOW⚡…ts/library/en/sales/sales-offer-lead-gen-strategist.md205### Step 7: Measure, Iterate, Scale (More → Better → New)COMMENT
LOW⚡…s/subagents/library/en/sales/sales-pipeline-analyst.md187### Step 1: Data Collection and ValidationCOMMENT
LOW⚡…s/subagents/library/en/sales/sales-pipeline-analyst.md192### Step 2: Pipeline DiagnosticsCOMMENT
LOW⚡…s/subagents/library/en/sales/sales-pipeline-analyst.md199### Step 3: Forecast ConstructionCOMMENT
LOW⚡…s/subagents/library/en/sales/sales-pipeline-analyst.md206### Step 4: Intervention RecommendationsCOMMENT
LOW⚡…ry/en/security/security-threat-intelligence-analyst.md561### Step 1: Collection & RequirementsCOMMENT
LOW⚡…ry/en/security/security-threat-intelligence-analyst.md567### Step 2: Processing & AnalysisCOMMENT
LOW⚡…ry/en/security/security-threat-intelligence-analyst.md573### Step 3: Production & DisseminationCOMMENT
LOW⚡…ry/en/security/security-threat-intelligence-analyst.md579### Step 4: Feedback & RefinementCOMMENT
LOW⚡…rary/en/security/security-threat-detection-engineer.md446### Step 1: Intelligence-Driven PrioritizationCOMMENT
LOW⚡…rary/en/security/security-threat-detection-engineer.md452### Step 2: Detection DevelopmentCOMMENT
LOW⚡…rary/en/security/security-threat-detection-engineer.md458### Step 3: Validation and DeploymentCOMMENT
LOW⚡…rary/en/security/security-threat-detection-engineer.md464### Step 4: Continuous ImprovementCOMMENT
LOW⚡…brary/en/security/security-cloud-security-architect.md438### Step 1: Assess Current PostureCOMMENT
523 more matches not shown…
Excessive Try-Catch Wrapping630 hits · 679 pts
SeverityFileLineSnippetContext
LOWplugins/demo-toolkit/main.py25 except Exception:CODE
LOWtests/unit/bridge/test_repo.py122 except Exception:CODE
LOWtests/unit/db/test_db_pool.py723 except Exception as exc: # pragma: no cover - only reached on a regressionCODE
MEDIUMtests/unit/db/test_db_pool.py718def compete() -> None:CODE
LOWdesktop/portable/verify_imports.py67 except Exception:CODE
LOWdesktop/portable/verify_imports.py82 except Exception:CODE
LOWdesktop/portable/verify_imports.py117 except Exception as exc:CODE
LOWscripts/install-octop.sh847except Exception:CODE
LOWscripts/install.sh882except Exception:CODE
LOWsrc/octop/launch.py22 except Exception:CODE
LOWsrc/octop/infra/server.py393 except Exception:CODE
LOWsrc/octop/infra/connectors/service.py168 except Exception:CODE
LOWsrc/octop/infra/connectors/service.py216 except Exception as exc:CODE
LOWsrc/octop/infra/connectors/service.py257 except Exception:CODE
LOWsrc/octop/infra/connectors/service.py279 except Exception as exc:CODE
LOWsrc/octop/infra/connectors/service.py385 except Exception:CODE
LOWsrc/octop/infra/connectors/qcc.py143 except Exception:CODE
LOWsrc/octop/infra/connectors/builder.py557 except Exception:CODE
LOWsrc/octop/infra/connectors/probe.py88 except Exception:CODE
LOWsrc/octop/infra/connectors/probe.py278 except Exception as exc:CODE
LOWsrc/octop/infra/connectors/probe.py307 except Exception:CODE
LOWsrc/octop/infra/connectors/probe.py390 except Exception as exc:CODE
LOWsrc/octop/infra/connectors/probe.py416 except Exception as exc:CODE
LOWsrc/octop/infra/connectors/probe.py475 except Exception as exc:CODE
LOWsrc/octop/infra/connectors/probe.py510 except Exception:CODE
LOWsrc/octop/infra/connectors/probe.py594 except Exception as exc:CODE
LOWsrc/octop/infra/connectors/oauth/discovery.py82 except Exception:CODE
LOWsrc/octop/infra/connectors/oauth/discovery.py88 except Exception:CODE
LOWsrc/octop/infra/connectors/oauth/discovery.py128 except Exception:CODE
LOWsrc/octop/infra/connectors/oauth/discovery.py199 except Exception as exc:CODE
LOWsrc/octop/infra/connectors/oauth/mcp.py143 except Exception:CODE
LOWsrc/octop/infra/connectors/gateway/feishu_user_auth.py163 except Exception:CODE
LOWsrc/octop/infra/connectors/gateway/feishu_user_auth.py222 except Exception:CODE
LOWsrc/octop/infra/connectors/gateway/protocol.py58 except Exception as exc:CODE
LOWsrc/octop/infra/connectors/gateway/wecom_creds.py67 except Exception:CODE
LOWsrc/octop/infra/connectors/gateway/wecom_creds.py98 except Exception:CODE
LOWsrc/octop/infra/connectors/gateway/agently_auth.py195 except Exception:CODE
LOWsrc/octop/infra/connectors/gateway/agently_auth.py260 except Exception:CODE
LOWsrc/octop/infra/connectors/gateway/agently_watch.py139 except Exception:CODE
LOW…octop/infra/connectors/gateway/adapters/agently_cli.py277 except Exception:CODE
LOW…octop/infra/connectors/gateway/adapters/agently_cli.py308 except Exception:CODE
LOW…octop/infra/connectors/gateway/adapters/tencent_ima.py495 except Exception:CODE
LOWsrc/octop/infra/auth/ldap/service.py139 except Exception as exc: # noqa: BLE001 - any crypto failure is an outageCODE
LOWsrc/octop/infra/auth/ldap/service.py241 except Exception as exc:CODE
LOWsrc/octop/infra/auth/sso/service.py326 except Exception:CODE
LOWsrc/octop/infra/bridge/transport.py31 except Exception:CODE
LOWsrc/octop/infra/bridge/transport.py36 except Exception:CODE
LOWsrc/octop/infra/bridge/transport.py102 except Exception as exc:CODE
LOWsrc/octop/infra/bridge/transport.py173 except Exception:CODE
LOWsrc/octop/infra/bridge/manager.py387 except Exception:CODE
LOWsrc/octop/infra/bridge/manager.py632 except Exception as exc:CODE
LOWsrc/octop/infra/bridge/manager.py655 except Exception as exc:CODE
LOWsrc/octop/infra/bridge/manager.py812 except Exception as exc:CODE
LOWsrc/octop/infra/bridge/manager.py836 except Exception:CODE
LOWsrc/octop/infra/bridge/manager.py905 except Exception:CODE
LOWsrc/octop/infra/bridge/manager.py1090 except Exception as exc:CODE
LOWsrc/octop/infra/bridge/manager.py1213 except Exception as exc:CODE
LOWsrc/octop/infra/bridge/manager.py1358 except Exception as exc:CODE
LOWsrc/octop/infra/bridge/manager.py1535 except Exception as exc:CODE
LOWsrc/octop/infra/setup/service.py620 except Exception:CODE
570 more matches not shown…
Empty Error Handlers95 hits · 475 pts
SeverityFileLineSnippetContext
HIGHtests/unit/mobile/test_agent_control.py20except ValueError:CODE
HIGHtests/live/conftest.py35except ImportError:CODE
HIGHsrc/octop/infra/connectors/probe.py88except Exception:CODE
HIGHsrc/octop/infra/connectors/probe.py307except Exception:CODE
HIGH…octop/infra/connectors/gateway/adapters/tencent_ima.py495except Exception:CODE
HIGHsrc/octop/infra/bridge/transport.py31except Exception:CODE
HIGHsrc/octop/infra/bridge/transport.py36except Exception:CODE
HIGHsrc/octop/infra/bridge/peer_auth.py30except ValueError:CODE
HIGHsrc/octop/infra/setup/self_update.py386except Exception:CODE
HIGHsrc/octop/infra/setup/self_update.py539except FileNotFoundError:CODE
HIGHsrc/octop/infra/setup/self_update.py560except Exception:CODE
HIGHsrc/octop/infra/setup/self_update.py580except Exception:CODE
HIGHsrc/octop/infra/agents/manager.py1048except KeyError:CODE
HIGHsrc/octop/infra/agents/manager.py2113except OSError:CODE
HIGHsrc/octop/infra/agents/memory/slim_control.py89except (ConnectionError, asyncio.CancelledError):CODE
HIGHsrc/octop/infra/agents/memory/slim_control.py114except (OSError, ValueError):CODE
HIGHsrc/octop/infra/agents/providers/store.py149except Exception:CODE
HIGHsrc/octop/infra/agents/providers/onnx_service.py594except ImportError:CODE
HIGHsrc/octop/infra/agents/workspace/dir.py107except OSError:CODE
HIGHsrc/octop/infra/agents/teams/team_manager.py1332except Exception:CODE
HIGHsrc/octop/infra/agents/teams/team_manager.py1399except Exception:CODE
HIGH…office-automation/skills/xlsx/scripts/office/unpack.py86except Exception:CODE
HIGH…office-automation/skills/xlsx/scripts/office/unpack.py96except Exception:CODE
HIGH…tomation/skills/xlsx/scripts/office/validators/docx.py276except Exception:CODE
HIGH…tomation/skills/xlsx/scripts/office/validators/docx.py411except Exception:CODE
HIGH…ion/skills/xlsx/scripts/office/validators/redlining.py53except Exception:CODE
HIGH…ion/skills/xlsx/scripts/office/validators/redlining.py186except (subprocess.CalledProcessError, FileNotFoundError, Exception):CODE
HIGH…tomation/skills/xlsx/scripts/office/validators/base.py136except Exception:CODE
HIGH…office-automation/skills/pptx/scripts/office/unpack.py86except Exception:CODE
HIGH…office-automation/skills/pptx/scripts/office/unpack.py96except Exception:CODE
HIGH…tomation/skills/pptx/scripts/office/validators/docx.py276except Exception:CODE
HIGH…tomation/skills/pptx/scripts/office/validators/docx.py411except Exception:CODE
HIGH…ion/skills/pptx/scripts/office/validators/redlining.py53except Exception:CODE
HIGH…ion/skills/pptx/scripts/office/validators/redlining.py186except (subprocess.CalledProcessError, FileNotFoundError, Exception):CODE
HIGH…tomation/skills/pptx/scripts/office/validators/base.py136except Exception:CODE
HIGH…office-automation/skills/docx/scripts/office/unpack.py86except Exception:CODE
HIGH…office-automation/skills/docx/scripts/office/unpack.py96except Exception:CODE
HIGH…tomation/skills/docx/scripts/office/validators/docx.py276except Exception:CODE
HIGH…tomation/skills/docx/scripts/office/validators/docx.py411except Exception:CODE
HIGH…ion/skills/docx/scripts/office/validators/redlining.py53except Exception:CODE
HIGH…ion/skills/docx/scripts/office/validators/redlining.py186except (subprocess.CalledProcessError, FileNotFoundError, Exception):CODE
HIGH…tomation/skills/docx/scripts/office/validators/base.py136except Exception:CODE
HIGH…-living-assistant/skills/meituan-deals/scripts/auth.py142except (FileNotFoundError, subprocess.TimeoutExpired, OSError):CODE
HIGH…ssistant/skills/meituan-deals/scripts/diag_auth_log.py80except Exception:CODE
HIGHsrc/octop/infra/desktop/capture.py237except Exception:CODE
HIGHsrc/octop/infra/desktop/capture.py264except (OSError, subprocess.TimeoutExpired):CODE
HIGHsrc/octop/infra/desktop/setup.py498except (OSError, subprocess.TimeoutExpired):CODE
HIGHsrc/octop/infra/desktop/input.py324except OSError:CODE
HIGHsrc/octop/infra/utils/utf8_text.py64except UnicodeDecodeError:CODE
HIGHsrc/octop/infra/utils/utf8_text.py98except UnicodeDecodeError:CODE
HIGHsrc/octop/infra/utils/utf8_text.py120except UnicodeDecodeError:CODE
HIGHsrc/octop/infra/utils/utf8_text.py144except UnicodeDecodeError:CODE
HIGHsrc/octop/infra/backend/probe.py126except Exception:CODE
HIGHsrc/octop/infra/browser/setup.py117except Exception: # noqa: BLE001CODE
HIGHsrc/octop/infra/browser/setup.py416except Exception: # noqa: BLE001CODE
HIGHsrc/octop/infra/browser/setup.py148except FileNotFoundError:CODE
HIGHsrc/octop/infra/mobile/adb.py653except ValueError:CODE
HIGHsrc/octop/infra/history/recorder.py352except ValueError:CODE
HIGHsrc/octop/infra/history/recorder.py193except ValueError:CODE
HIGHsrc/octop/infra/history/trajectory/projector.py261except ValueError:CODE
35 more matches not shown…
Cross-Language Confusion62 hits · 388 pts
SeverityFileLineSnippetContext
HIGHtests/unit/test_fnos_native_stop.py145if kill -0 {wrapper.pid} 2>/dev/null; thenCODE
HIGH⚡tests/unit/test_fnos_docker_persist.py426octop_assert_native_arch && exit 10CODE
HIGH⚡tests/unit/test_fnos_docker_persist.py428octop_assert_native_arch || exit 11CODE
HIGH⚡tests/unit/test_fnos_docker_persist.py430octop_assert_native_arch || exit 12CODE
HIGH⚡tests/unit/gateway/test_dashboard_ws.py31 await hub.push("c1", {"type": "token", "content": "hi"})CODE
HIGH⚡tests/unit/gateway/test_dashboard_ws.py33 await hub.push("c1", {"type": "token", "content": "miss"})CODE
HIGH⚡tests/unit/gateway/test_cli_channel.py23 await hub.push("c1", {"type": "token", "content": "hi"})CODE
HIGH⚡tests/unit/gateway/test_cli_channel.py25 await hub.push("c1", {"type": "token", "content": "miss"})CODE
HIGHtests/integration/test_memory_api.py400 # Fresh agent: AUTO (null).COMMENT
HIGHsrc/octop/infra/connectors/gateway/wecom_creds.py30 Format (from WecomTeam/wecom-cli): AES-256-GCM ciphertext as ``nonce || ct||tag``,STRING
HIGHsrc/octop/infra/agents/experts/catalog.py621 """Workspace field, then catalog template, then name-based defaults (never null).STRING
HIGH…ffice-automation/skills/xlsx/scripts/office/soffice.py149 if (sv[0] >= 0 && sv[0] < 1024) {CODE
HIGH…ffice-automation/skills/xlsx/scripts/office/soffice.py168 if (sockfd >= 0 && sockfd < 1024 && is_shimmed[sockfd]) {CODE
HIGH…ffice-automation/skills/xlsx/scripts/office/soffice.py177 if (sockfd >= 0 && sockfd < 1024 && is_shimmed[sockfd]) {CODE
HIGH…ffice-automation/skills/xlsx/scripts/office/soffice.py191 if (fd >= 0 && fd < 1024 && is_shimmed[fd]) {CODE
HIGH…ffice-automation/skills/pptx/scripts/office/soffice.py149 if (sv[0] >= 0 && sv[0] < 1024) {CODE
HIGH…ffice-automation/skills/pptx/scripts/office/soffice.py168 if (sockfd >= 0 && sockfd < 1024 && is_shimmed[sockfd]) {CODE
HIGH…ffice-automation/skills/pptx/scripts/office/soffice.py177 if (sockfd >= 0 && sockfd < 1024 && is_shimmed[sockfd]) {CODE
HIGH…ffice-automation/skills/pptx/scripts/office/soffice.py191 if (fd >= 0 && fd < 1024 && is_shimmed[fd]) {CODE
HIGH…ffice-automation/skills/docx/scripts/office/soffice.py151 if (sv[0] >= 0 && sv[0] < 1024) {CODE
HIGH…ffice-automation/skills/docx/scripts/office/soffice.py170 if (sockfd >= 0 && sockfd < 1024 && is_shimmed[sockfd]) {CODE
HIGH…ffice-automation/skills/docx/scripts/office/soffice.py179 if (sockfd >= 0 && sockfd < 1024 && is_shimmed[sockfd]) {CODE
HIGH…ffice-automation/skills/docx/scripts/office/soffice.py193 if (fd >= 0 && fd < 1024 && is_shimmed[fd]) {CODE
HIGH…skills/publisher-multi-platform/scripts/xhs_publish.py475 print(" 安装: pip install playwright && playwright install chromium")CODE
HIGH⚡src/octop/infra/desktop/setup.py855 systemctl disable octop-desktop-xvnc octop-desktop-openbox octop-desktop-session 2>/dev/null || trueCODE
HIGH⚡src/octop/infra/desktop/setup.py856 systemctl stop octop-desktop-xvnc octop-desktop-openbox octop-desktop-session 2>/dev/null || trueCODE
HIGH⚡src/octop/infra/desktop/setup.py857 systemctl reset-failed octop-desktop-xvnc octop-desktop-openbox octop-desktop-session 2>/dev/null || trueCODE
HIGH⚡src/octop/infra/desktop/setup.py858 systemctl daemon-reload 2>/dev/null || trueCODE
HIGH⚡src/octop/infra/desktop/setup.py864 systemctl daemon-reload 2>/dev/null || trueCODE
HIGH⚡src/octop/infra/desktop/setup.py868 /usr/share/backgrounds/octop-desktop-wallpaper.svg 2>/dev/null || trueCODE
HIGH⚡src/octop/infra/desktop/setup.py869rm -f /usr/share/icons/hicolor/48x48/apps/octop-start-menu.png 2>/dev/null || trueCODE
HIGH⚡src/octop/infra/desktop/setup.py876 /root/Desktop/browser.desktop 2>/dev/null || trueCODE
HIGH⚡src/octop/infra/desktop/setup.py883 /root/.cache/xfce4/xfdesktop 2>/dev/null || trueCODE
HIGH⚡src/octop/infra/desktop/setup.py884pkill -9 -f 'import -display :99' 2>/dev/null || trueCODE
HIGH⚡src/octop/infra/desktop/setup.py885pkill -9 -f 'Xvnc :99' 2>/dev/null || trueCODE
HIGH⚡src/octop/infra/desktop/setup.py886pkill -9 -f '/opt/octop-desktop/' 2>/dev/null || trueCODE
HIGH⚡src/octop/infra/desktop/setup.py887pkill -x xfce4-panel 2>/dev/null || trueCODE
HIGH⚡src/octop/infra/desktop/setup.py888pkill -f 'xfdesktop --display' 2>/dev/null || trueCODE
HIGHsrc/octop/infra/utils/docker_env.py215 "open -a Docker 2>/dev/null || open -a OrbStack 2>/dev/null || true\n"CODE
HIGHsrc/octop/infra/utils/docker_env.py221 "docker context use default 2>/dev/null || true\n"CODE
HIGHsrc/octop/infra/mobile/adb.py569 "echo mem_kb=$(awk '/MemTotal/{print $2}' /proc/meminfo 2>/dev/null); "CODE
HIGHsrc/octop/infra/mobile/adb.py570 "echo cores=$(getconf _NPROCESSORS_ONLN 2>/dev/null || nproc 2>/dev/null || echo); "CODE
HIGH⚡src/octop/infra/gateway/cli/cli_channel.py105 await self._hub.push(CODE
HIGH⚡src/octop/infra/gateway/cli/cli_channel.py109 await self._hub.push(conn_id, {"type": "done"})CODE
HIGH⚡src/octop/infra/gateway/cli/cli_channel.py114 await self._hub.push(conn_id, chunk)CODE
HIGH⚡src/octop/infra/gateway/cli/cli_channel.py122 await self._hub.push(CODE
HIGH⚡src/octop/infra/gateway/cli/cli_channel.py126 await self._hub.push(conn_id, {"type": "done"})CODE
HIGH⚡src/octop/infra/gateway/cli/cli_channel.py131 await self._hub.push(conn_id, {"type": "token", "content": text})CODE
HIGH⚡src/octop/infra/gateway/cli/cli_channel.py132 await self._hub.push(conn_id, {"type": "done"})CODE
HIGHsrc/octop/infra/gateway/cli/cli_channel.py161 await self._hub.push(conn_id, frame)CODE
HIGH⚡src/octop/infra/gateway/ws/ws_hub.py138 await self.push(targets[0], outbound)CODE
HIGH⚡src/octop/infra/gateway/ws/ws_hub.py140 await asyncio.gather(*(self.push(conn_id, outbound) for conn_id in targets))CODE
HIGH⚡src/octop/infra/gateway/ws/ws_hub.py149 await self.push(targets[0], frame)CODE
HIGH⚡src/octop/infra/gateway/ws/ws_hub.py151 await asyncio.gather(*(self.push(conn_id, frame) for conn_id in targets))CODE
HIGH⚡src/octop/infra/gateway/ws/ws_hub.py160 await self.push(connection_id, frame)CODE
HIGHsrc/octop/infra/gateway/ws/ws_channel.py106 await self._hub.push(conn_id, {"type": "error", "message": "missing thread_id"})CODE
HIGHsrc/octop/infra/gateway/ws/ws_channel.py107 await self._hub.push(conn_id, {"type": "done"})CODE
HIGHsrc/octop/infra/gateway/ws/ws_channel.py187 await self._hub.push(conn_id, {"type": "token", "content": text})CODE
HIGHsrc/octop/infra/gateway/ws/ws_channel.py188 await self._hub.push(conn_id, {"type": "done"})CODE
HIGHsrc/octop/infra/gateway/ws/ws_channel.py221 await self._hub.push(conn_id, frame)CODE
2 more matches not shown…
Modern Structural Boilerplate296 hits · 308 pts
SeverityFileLineSnippetContext
LOWtests/unit/agents/test_agent_avatar.py167 def set_icon_url(self, agent_id: str, icon_url: str | None) -> None:CODE
LOWtests/integration/conftest.py30__all__ = [CODE
LOWtests/support/ldap_fake.py295__all__ = ["FakeLdapDirectory", "FakeLdapGroup", "FakeLdapUser", "fake_user"]CODE
LOWtests/support/fakes.py212 def set_skill_package_roots(self, roots: list[dict[str, str]] | None) -> None:CODE
LOWsrc/octop/config.py13logger = logging.getLogger(__name__)CODE
LOWsrc/octop/launch.py13logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/server.py43logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/server.py638 def _setup_logging(self) -> None:CODE
LOWsrc/octop/infra/connectors/service.py51logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/connectors/probe.py30logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/connectors/oauth/__init__.py19__all__ = [CODE
LOWsrc/octop/infra/connectors/gateway/protocol.py10logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/connectors/gateway/__init__.py7__all__ = [CODE
LOWsrc/octop/infra/connectors/gateway/agently_watch.py20logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/auth/ldap/service.py34logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/auth/ldap/client.py17logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/auth/captcha/store.py20logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/auth/captcha/__init__.py31__all__ = [CODE
LOWsrc/octop/infra/auth/captcha/providers.py47logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/auth/captcha/verify.py19logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/auth/captcha/verify.py25def set_test_siteverify_url(slug: str, url: str | None) -> None:CODE
LOWsrc/octop/infra/auth/sso/service.py37logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/auth/sso/__init__.py5__all__ = ["SsoService"]CODE
LOWsrc/octop/infra/auth/sso/providers/__init__.py27__all__ = ["SSO_KINDS", "IdentityProvider", "build_adapters"]CODE
LOWsrc/octop/infra/bridge/http_tunnel.py15logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/bridge/transport.py12logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/bridge/__init__.py13__all__ = [CODE
LOWsrc/octop/infra/bridge/manager.py38logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/bridge/manager.py170 def set_token_signer(self, signer: Any) -> None:CODE
LOWsrc/octop/infra/bridge/manager.py173 def set_advertise_base_url(self, url: str) -> None:CODE
LOWsrc/octop/infra/setup/service.py28logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/setup/self_update.py23logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/setup/tls/acme_issue.py23logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/setup/tls/__init__.py7__all__ = ["TlsManager", "challenge_store", "resolve_tls_paths"]CODE
LOWsrc/octop/infra/setup/tls/renewal.py17logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/setup/tls/manager.py26logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/setup/tls/manager.py82 def _set_task(self, **kwargs: object) -> None:CODE
LOWsrc/octop/infra/setup/tls/preflight.py20logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/agents/conversation_mode.py116__all__ = [CODE
LOW⚡src/octop/infra/agents/manager.py470 def set_cron_manager(self, cron_manager: CronManager) -> None:CODE
LOW⚡src/octop/infra/agents/manager.py474 def set_proactive_scheduler(self, scheduler: ProactiveCareScheduler) -> None:CODE
LOW⚡src/octop/infra/agents/manager.py478 def set_team_processor(self, team_processor: Any | None) -> None:CODE
LOW⚡src/octop/infra/agents/manager.py484 def set_hitl_session_store(self, store: HitlSessionPolicyStore | None) -> None:CODE
LOW⚡src/octop/infra/agents/manager.py1355 def set_thread_model(self, agent_id: str, thread_id: str, model: str) -> None:CODE
LOWsrc/octop/infra/agents/manager.py97logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/agents/builtin_skills/__init__.py90__all__ = [CODE
LOWsrc/octop/infra/agents/middleware/octop_ui_offload.py27logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/agents/middleware/octop_ui_offload.py88__all__ = ["OctopUiOffloadMiddleware"]CODE
LOWsrc/octop/infra/agents/middleware/token_quota.py48__all__ = ["TokenQuotaMiddleware", "configurable_user_id"]CODE
LOWsrc/octop/infra/agents/middleware/workspace_image.py88__all__ = ["WorkspaceImageMaterializeMiddleware"]CODE
LOWsrc/octop/infra/agents/middleware/browser_profile.py17logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/agents/middleware/browser_profile.py71__all__ = ["BrowserProfileMiddleware"]CODE
LOWsrc/octop/infra/agents/middleware/reasoning.py50__all__ = ["CONFIG_KEY", "ReasoningRequestMiddleware"]CODE
LOWsrc/octop/infra/agents/middleware/binary_read_guard.py15logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/agents/middleware/binary_read_guard.py128__all__ = ["BinaryReadGuardMiddleware", "read_file_block_reason"]CODE
LOWsrc/octop/infra/agents/middleware/thread_artifacts.py21logger = logging.getLogger(__name__)CODE
LOWsrc/octop/infra/agents/middleware/thread_artifacts.py172__all__ = [CODE
LOWsrc/octop/infra/agents/settings/runtime_limits.py171__all__ = [CODE
LOWsrc/octop/infra/agents/settings/media_generation.py614__all__ = [CODE
LOWsrc/octop/infra/agents/settings/langfuse.py18logger = logging.getLogger(__name__)CODE
236 more matches not shown…
Deep Nesting247 hits · 214 pts
SeverityFileLineSnippetContext
LOWtests/unit/agents/test_subagent_catalog.py16CODE
LOWtests/unit/agents/test_memory_slim.py683CODE
LOWtests/unit/knowledge/test_parse.py31CODE
LOWtests/unit/api/test_terminal_sessions.py57CODE
LOWtests/integration/test_trajectory_api.py25CODE
LOWtests/integration/test_chat_ws.py432CODE
LOWtests/support/fakes.py216CODE
LOWdesktop/portable/templates/launch.py18CODE
LOWsrc/octop/infra/connectors/service.py225CODE
LOWsrc/octop/infra/connectors/custom_mcp.py345CODE
LOWsrc/octop/infra/connectors/builder.py460CODE
LOWsrc/octop/infra/connectors/builder.py505CODE
LOWsrc/octop/infra/connectors/probe.py78CODE
LOWsrc/octop/infra/connectors/probe.py225CODE
LOWsrc/octop/infra/connectors/probe.py330CODE
LOWsrc/octop/infra/connectors/gateway/cli_dirs.py26CODE
LOWsrc/octop/infra/connectors/gateway/adapters/fliggy.py196CODE
LOW…octop/infra/connectors/gateway/adapters/agently_cli.py398CODE
LOWsrc/octop/infra/connectors/gateway/adapters/qq_mail.py231CODE
LOWsrc/octop/infra/bridge/manager.py1370CODE
LOWsrc/octop/infra/bridge/manager.py1551CODE
LOWsrc/octop/infra/setup/tls/preflight.py104CODE
LOWsrc/octop/infra/agents/manager.py596CODE
LOWsrc/octop/infra/agents/manager.py1669CODE
LOWsrc/octop/infra/agents/manager.py2299CODE
LOWsrc/octop/infra/agents/manager.py3068CODE
LOW…/builtin_skills/skill-manager/scripts/manage_skills.py194CODE
LOW…/builtin_skills/skill-manager/scripts/manage_skills.py650CODE
LOWsrc/octop/infra/agents/subagents/catalog.py174CODE
LOWsrc/octop/infra/agents/memory/slim_control.py135CODE
LOWsrc/octop/infra/agents/plugins/plugin_tool_defaults.py41CODE
LOWsrc/octop/infra/agents/plugins/manager.py639CODE
LOWsrc/octop/infra/agents/plugins/manager.py736CODE
LOW…/octop/infra/agents/plugins/bundled/meme-maker/main.py27CODE
LOW…ctop/infra/agents/plugins/bundled/wiki-summary/main.py56CODE
LOWsrc/octop/infra/agents/providers/store.py131CODE
LOWsrc/octop/infra/agents/providers/onnx_download.py352CODE
LOWsrc/octop/infra/agents/providers/reasoning.py160CODE
LOWsrc/octop/infra/agents/threads/artifact.py250CODE
LOWsrc/octop/infra/agents/threads/fork.py52CODE
LOWsrc/octop/infra/agents/teams/team_manager.py1155CODE
LOWsrc/octop/infra/agents/teams/team_manager.py1298CODE
LOWsrc/octop/infra/agents/teams/team_manager.py1357CODE
LOWsrc/octop/infra/agents/teams/team_manager.py1455CODE
LOWsrc/octop/infra/agents/teams/team_manager.py319CODE
LOWsrc/octop/infra/agents/teams/team_manager.py848CODE
LOWsrc/octop/infra/agents/experts/skillhub_market.py597CODE
LOWsrc/octop/infra/agents/experts/skillhub_market.py742CODE
LOW…nical-learning-subscription/scripts/validate_output.py256CODE
LOW…nical-learning-subscription/scripts/validate_output.py386CODE
LOW…/skills/cvm-ai-doctor/scripts/cluster_patrol_server.py58CODE
LOW…i-doctor/skills/cvm-ai-doctor/scripts/patrol_server.py40CODE
LOW…/skills/cvm-ai-doctor/scripts/cluster_patrol_record.py47CODE
LOW…ibrary/office-automation/skills/xlsx/scripts/recalc.py74CODE
LOW…y/office-automation/skills/xlsx/scripts/office/pack.py24CODE
LOW…y/office-automation/skills/xlsx/scripts/office/pack.py106CODE
LOW…ffice-automation/skills/xlsx/scripts/office/soffice.py26CODE
LOW…tomation/skills/xlsx/scripts/office/validators/docx.py66CODE
LOW…tomation/skills/xlsx/scripts/office/validators/docx.py106CODE
LOW…tomation/skills/xlsx/scripts/office/validators/docx.py242CODE
187 more matches not shown…
Cross-File Repetition36 hits · 180 pts
SeverityFileLineSnippetContext
HIGH…y/office-automation/skills/xlsx/scripts/office/pack.py0pack a directory into a docx, pptx, or xlsx file. validates with auto-repair, condenses xml formatting, and creates the STRING
HIGH…y/office-automation/skills/pptx/scripts/office/pack.py0pack a directory into a docx, pptx, or xlsx file. validates with auto-repair, condenses xml formatting, and creates the STRING
HIGH…y/office-automation/skills/docx/scripts/office/pack.py0pack a directory into a docx, pptx, or xlsx file. validates with auto-repair, condenses xml formatting, and creates the STRING
HIGH…fice-automation/skills/xlsx/scripts/office/validate.py0command line tool to validate office document xml files against xsd schemas and tracked changes. usage: python validate.STRING
HIGH…fice-automation/skills/pptx/scripts/office/validate.py0command line tool to validate office document xml files against xsd schemas and tracked changes. usage: python validate.STRING
HIGH…fice-automation/skills/docx/scripts/office/validate.py0command line tool to validate office document xml files against xsd schemas and tracked changes. usage: python validate.STRING
HIGH…office-automation/skills/xlsx/scripts/office/unpack.py0unpack office files (docx, pptx, xlsx) for editing. extracts the zip archive, pretty-prints xml files, and optionally: -STRING
HIGH…office-automation/skills/pptx/scripts/office/unpack.py0unpack office files (docx, pptx, xlsx) for editing. extracts the zip archive, pretty-prints xml files, and optionally: -STRING
HIGH…office-automation/skills/docx/scripts/office/unpack.py0unpack office files (docx, pptx, xlsx) for editing. extracts the zip archive, pretty-prints xml files, and optionally: -STRING
HIGH…ffice-automation/skills/xlsx/scripts/office/soffice.py0helper for running libreoffice (soffice) in environments where af_unix sockets may be blocked (e.g., sandboxed vms). detSTRING
HIGH…ffice-automation/skills/pptx/scripts/office/soffice.py0helper for running libreoffice (soffice) in environments where af_unix sockets may be blocked (e.g., sandboxed vms). detSTRING
HIGH…ffice-automation/skills/docx/scripts/office/soffice.py0helper for running libreoffice (soffice) in environments where af_unix sockets may be blocked (e.g., sandboxed vms). detSTRING
HIGH…ffice-automation/skills/xlsx/scripts/office/soffice.py0return the soffice command name for the current platform.STRING
HIGH…ffice-automation/skills/pptx/scripts/office/soffice.py0return the soffice command name for the current platform.STRING
HIGH…ffice-automation/skills/docx/scripts/office/soffice.py0return the soffice command name for the current platform.STRING
HIGH…ffice-automation/skills/xlsx/scripts/office/soffice.py0#define _gnu_source #include <dlfcn.h> #include <errno.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #inSTRING
HIGH…ffice-automation/skills/pptx/scripts/office/soffice.py0#define _gnu_source #include <dlfcn.h> #include <errno.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #inSTRING
HIGH…ffice-automation/skills/docx/scripts/office/soffice.py0#define _gnu_source #include <dlfcn.h> #include <errno.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #inSTRING
HIGH…tomation/skills/xlsx/scripts/office/validators/docx.py0validator for word document xml files against xsd schemas.STRING
HIGH…tomation/skills/pptx/scripts/office/validators/docx.py0validator for word document xml files against xsd schemas.STRING
HIGH…tomation/skills/docx/scripts/office/validators/docx.py0validator for word document xml files against xsd schemas.STRING
HIGH…tomation/skills/xlsx/scripts/office/validators/pptx.py0validator for powerpoint presentation xml files against xsd schemas.STRING
HIGH…tomation/skills/pptx/scripts/office/validators/pptx.py0validator for powerpoint presentation xml files against xsd schemas.STRING
HIGH…tomation/skills/docx/scripts/office/validators/pptx.py0validator for powerpoint presentation xml files against xsd schemas.STRING
HIGH…tomation/skills/xlsx/scripts/office/validators/base.py0base validator with common validation logic for document files.STRING
HIGH…tomation/skills/pptx/scripts/office/validators/base.py0base validator with common validation logic for document files.STRING
HIGH…tomation/skills/docx/scripts/office/validators/base.py0base validator with common validation logic for document files.STRING
HIGH…kills/xlsx/scripts/office/helpers/simplify_redlines.py0simplify tracked changes by merging adjacent w:ins or w:del elements. merges adjacent <w:ins> elements from the same autSTRING
HIGH…kills/pptx/scripts/office/helpers/simplify_redlines.py0simplify tracked changes by merging adjacent w:ins or w:del elements. merges adjacent <w:ins> elements from the same autSTRING
HIGH…kills/docx/scripts/office/helpers/simplify_redlines.py0simplify tracked changes by merging adjacent w:ins or w:del elements. merges adjacent <w:ins> elements from the same autSTRING
HIGH…ation/skills/xlsx/scripts/office/helpers/merge_runs.py0merge adjacent runs with identical formatting in docx. merges adjacent <w:r> elements that have identical <w:rpr> properSTRING
HIGH…ation/skills/pptx/scripts/office/helpers/merge_runs.py0merge adjacent runs with identical formatting in docx. merges adjacent <w:r> elements that have identical <w:rpr> properSTRING
HIGH…ation/skills/docx/scripts/office/helpers/merge_runs.py0merge adjacent runs with identical formatting in docx. merges adjacent <w:r> elements that have identical <w:rpr> properSTRING
HIGHsrc/octop/infra/db/migrate.py0insert into user_policies( policy_id, user_id, name, enabled, value, created_at, updated_at ) values (?, ?, ?, 1, ?, ?, STRING
HIGHsrc/octop/infra/db/repos/invites.py0insert into user_policies( policy_id, user_id, name, enabled, value, created_at, updated_at ) values (?, ?, ?, 1, ?, ?, STRING
HIGHsrc/octop/infra/db/repos/user_policies.py0insert into user_policies( policy_id, user_id, name, enabled, value, created_at, updated_at ) values (?, ?, ?, 1, ?, ?, STRING
AI Slop Vocabulary59 hits · 175 pts
SeverityFileLineSnippetContext
MEDIUMtests/conftest.py13# Modules whose tests boot OctopServer, real harness, browser tooling, or bwrap.COMMENT
MEDIUMtests/unit/test_provider_preset_expansion.py26 # Match by prefix: octop-harness tags token-plan model ids with a releaseCOMMENT
MEDIUMtests/unit/agents/test_workspace_dir.py44 # Host ops map; harness should keep the persisted string as-is.COMMENT
MEDIUM⚡tests/unit/agents/test_agent_manager.py698 # Kept for harness FilesystemGuardMiddleware (not passed to deepagents).COMMENT
MEDIUM⚡tests/unit/agents/test_agent_manager.py1685 # POSIX hands harness the persisted agent-facing path — not the host join.COMMENT
MEDIUM⚡tests/unit/agents/test_agent_manager.py1686 # Windows cannot express it as absolute, so harness gets the host mapping.COMMENT
MEDIUMtests/unit/agents/test_agent_manager.py1287 # Published harness still treats a continue-on-error AIMessage as success.COMMENT
MEDIUMtests/unit/agents/test_agent_manager.py1960 # Avoid starting harness runtime in this unit-test context.COMMENT
MEDIUMtests/unit/agents/test_agent_manager.py1240 assert not cfg.model_retry_enabled # Do not nest the harness's continue-on-error retry.CODE
MEDIUMtests/unit/agents/test_agent_registry.py1178 # by the plugin manager sync (absent in this harness-only test setup).COMMENT
MEDIUM⚡tests/unit/backend/test_resolver.py89 # harness falls back to workspace_dir on its own; do not rewrite absent config.COMMENT
MEDIUMtests/unit/trajectory/test_turn_context.py96 # Allow-list may use slug (harness identity keys).COMMENT
MEDIUMtests/support/harness.py107 # real running harness agent is the same object across reloads.COMMENT
MEDIUMtests/support/fakes.py257 # Merge by slug, mirroring the harness catalog: workspace skillsCOMMENT
MEDIUMtests/support/fakes.py293 # harness catalog where ``skills/<slug>/SKILL.md`` is the layout.COMMENT
MEDIUMtests/support/fakes.py297 # Mirror harness: skip soft-deleted skills (``removed: true`` frontmatter).COMMENT
MEDIUMdashboard/package-lock.json12427 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
MEDIUMscripts/install-octop.sh624# octop-harness>=0.9.18 已在依赖中 pin;此处在验证前再钉一次,覆盖仍拉取到COMMENT
MEDIUMscripts/install-octop.sh625# 旧版 harness / 镜像滞后的安装路径。待 Octop 发版跟上后可删除。COMMENT
MEDIUMscripts/install.sh624# octop-harness>=0.9.18 已在依赖中 pin;此处在验证前再钉一次,覆盖仍拉取到COMMENT
MEDIUMscripts/install.sh625# 旧版 harness / 镜像滞后的安装路径。待 Octop 发版跟上后可删除。COMMENT
MEDIUMscripts/install.sh700 # macOS 无可用 bwrap;仅 Linux 安装。缺失时 harness 走普通 local_shell(无目录狱)。COMMENT
MEDIUMsrc/octop/__init__.py10# at import so CLI, ``octop run``, and in-process harness clients all honor it.COMMENT
MEDIUM⚡src/octop/infra/connectors/catalog.py56 # remote: harness talks to the vendor URL.COMMENT
MEDIUM⚡src/octop/infra/connectors/catalog.py57 # gateway: in-process Python adapter; harness config is a name-only placeholder.COMMENT
MEDIUM⚡src/octop/infra/connectors/catalog.py58 # internal: Octop-hosted HTTP MCP at /api/internal/mcp; harness loads via HTTP.COMMENT
MEDIUMsrc/octop/infra/connectors/builder.py533 # Name-only placeholder: harness skips specs without ``transport``;COMMENT
MEDIUMsrc/octop/infra/connectors/builder.py562 # Defer loading: placeholder without ``transport`` so harness skipsCOMMENT
MEDIUMsrc/octop/infra/connectors/gateway/langchain.py34 # Null stripping for args_schema happens in harness mcp_args_model.COMMENT
MEDIUMsrc/octop/infra/bridge/tunnel_policy.py39# Chat dock browser viewer (peer harness). Install / record-replay stay denied.COMMENT
MEDIUMsrc/octop/infra/setup/self_update.py789 installer = detect_installer() # uv 优先:pip 对 octop-harness[all] 依赖树解析会卡死CODE
MEDIUM⚡src/octop/infra/agents/manager.py593 # CRUD — persist agent rows and sync harness runtimeCOMMENT
MEDIUM⚡src/octop/infra/agents/manager.py1028 # Row & config reads — DB lookups, no harness requiredCOMMENT
MEDIUM⚡src/octop/infra/agents/manager.py1373 # Hot-reload — rebuild harness agents after config / provider changesCOMMENT
MEDIUM⚡src/octop/infra/agents/manager.py1896 # Settings persistence — push global policy into harness runtimeCOMMENT
MEDIUM⚡src/octop/infra/agents/manager.py2942 # Internal — harness config assembly & stream request prepCOMMENT
MEDIUMsrc/octop/infra/agents/manager.py218 # octop-harness 0.9.5 predates the interval trigger fields. KeepCOMMENT
MEDIUMsrc/octop/infra/agents/manager.py220 # with its per-session idle watchdog until a newer harness is installed.COMMENT
MEDIUMsrc/octop/infra/agents/manager.py400 # double-register the same harness id ("already exists in the registry").COMMENT
MEDIUMsrc/octop/infra/agents/manager.py402 # Serialize harness execution per thread. Dashboard turns are queued byCOMMENT
MEDIUMsrc/octop/infra/agents/manager.py2352 # Surface unrepairable manifests that harness silently skipped.COMMENT
MEDIUMsrc/octop/infra/agents/manager.py2581 # Never let harness copy builtin skills just to strip them later.COMMENT
MEDIUMsrc/octop/infra/agents/manager.py3083 # and persist the new path; re-read so harness gets that string.COMMENT
MEDIUMsrc/octop/infra/agents/manager.py3219 # FilesystemGuard + ModelSettings live in octop-harness (auto-mounted).COMMENT
MEDIUMsrc/octop/infra/agents/settings/acp.py18# Until octop-harness ships these builtins, merge Octop-side defaults.COMMENT
MEDIUMsrc/octop/infra/agents/settings/tool_catalog.py63 # harness builtinsCOMMENT
MEDIUMsrc/octop/infra/agents/threads/context_breakdown.py11# Prefer harness SoT when present (PyPI may lag local editable installs).COMMENT
MEDIUMsrc/octop/infra/agents/threads/context_breakdown.py24except ImportError: # pragma: no cover - older octop-harness wheelsCODE
MEDIUMsrc/octop/infra/browser/setup.py486 # Stop Chrome processes that were launched with our harness profiles soCOMMENT
MEDIUMsrc/octop/infra/history/trajectory/turn_context.py11# Mirror harness ``SkillFilterMiddleware``: memory files are injected viaCOMMENT
MEDIUMsrc/octop/infra/history/trajectory/service.py32 #: Active turn id when harness chunks omit ``turn_id``.COMMENT
MEDIUMsrc/octop/infra/gateway/slash/parser.py10# The harness parser stops the command name at the first non-word character, soCOMMENT
MEDIUM⚡src/octop/infra/gateway/ws/ws_channel.py149 # Never let delivery failures abort the harness turn — otherwise aCOMMENT
MEDIUMsrc/octop/infra/gateway/process/processor.py894 # -- Raw harness-chunk stream (Dashboard WS, etc.) -------------------------COMMENT
MEDIUMsrc/octop/infra/gateway/media/backend_files.py61# New default is ``~/.octop-browser``; keep ``~/.harness-browser`` as a denyCOMMENT
MEDIUMsrc/octop/api/routers/providers.py68# Fields that affect harness factory / agent runtime when patched.COMMENT
MEDIUMsrc/octop/api/routers/browser/harness.py23# In-memory control ownership per session (keyed by harness profile / session_id).COMMENT
LOWsrc/octop/api/routers/browser/record_replay.py271 # Non-critical: if we can't read the skill file, just return without itCOMMENT
MEDIUMsrc/octop/i18n/domains/stream.py11# Defined locally so Octop still imports on older harness wheels.COMMENT
Hallucination Indicators6 hits · 60 pts
SeverityFileLineSnippetContext
CRITICALtests/unit/bridge/test_update_connection.py72 assert mgr._repo.update_settings.call_args.kwargs.get("update_credentials") is not TrueCODE
CRITICALtests/unit/api/test_chat_history.py278 server.app_runtime.gateway.history_backfill.enqueue.assert_called_once()CODE
CRITICALtests/unit/api/test_chat_history.py379 server.app_runtime.gateway.history_backfill.enqueue.assert_not_called()CODE
CRITICAL…/library/zh/testing/testing-performance-benchmarker.md142 <li>平均响应时间: ${data.metrics.http_req_duration.values.avg.toFixed(2)}ms</li>CODE
CRITICAL…/library/en/testing/testing-performance-benchmarker.md142 <li>Average Response Time: ${data.metrics.http_req_duration.values.avg.toFixed(2)}ms</li>CODE
CRITICALsrc/octop/api/routers/chat/history.py574 server.app_runtime.gateway.processor.hitl_coordinator.session_policies.set(CODE
Fake / Example Data45 hits · 50 pts
SeverityFileLineSnippetContext
LOWtests/unit/connectors/test_qq_mail_adapter.py22 "email": "user@example.com",CODE
LOW⚡tests/unit/auth/test_ldap_client.py24 fake_user(CODE
LOW⚡tests/unit/auth/test_ldap_client.py27 email="alice@example.org",CODE
LOW⚡tests/unit/auth/test_ldap_client.py35 fake_user(CODE
LOW⚡tests/unit/auth/test_ldap_client.py38 email="bob@example.org",CODE
LOW⚡tests/unit/auth/test_ldap_client.py70 assert identity.email == "alice@example.org"CODE
LOW⚡tests/unit/auth/test_ldap_client.py84 directory.add(fake_user("dave", "davepw", email="dave@example.org"))CODE
LOW⚡tests/unit/auth/test_ldap_client.py84 directory.add(fake_user("dave", "davepw", email="dave@example.org"))CODE
LOW⚡tests/unit/auth/test_ldap_client.py94 fake_user(CODE
LOW⚡tests/unit/auth/test_ldap_client.py137 identity = _client().authenticate("alice@example.org", "alicepw")CODE
LOW⚡tests/unit/auth/test_ldap_client.py144 fake_user("alice2", "otherpw", email="alice2@example.org", display_name="Alice Two")CODE
LOW⚡tests/unit/auth/test_ldap_client.py144 fake_user("alice2", "otherpw", email="alice2@example.org", display_name="Alice Two")CODE
LOW⚡tests/unit/auth/test_ldap_client.py153 directory.add(fake_user("a1", "pw1", email="shared@example.org"))CODE
LOW⚡tests/unit/auth/test_ldap_client.py153 directory.add(fake_user("a1", "pw1", email="shared@example.org"))CODE
LOW⚡tests/unit/auth/test_ldap_client.py154 directory.add(fake_user("a2", "pw2", email="shared@example.org"))CODE
LOW⚡tests/unit/auth/test_ldap_client.py154 directory.add(fake_user("a2", "pw2", email="shared@example.org"))CODE
LOW⚡tests/unit/auth/test_ldap_client.py157 assert client.authenticate("shared@example.org", "pw1") is NoneCODE
LOW⚡tests/unit/auth/test_ldap_client.py158 assert client.authenticate("shared@example.org", "pw2") is NoneCODE
LOW⚡tests/unit/auth/test_ldap_client.py177 identity = _client(user_filter="(mail={username})").authenticate("alice@example.org", "alicepw")CODE
LOW⚡tests/unit/auth/test_ldap_client.py185 directory.add(fake_user(f"user{index}", "pw", email="dupe@example.org"))CODE
LOW⚡tests/unit/auth/test_ldap_client.py185 directory.add(fake_user(f"user{index}", "pw", email="dupe@example.org"))CODE
LOW⚡tests/unit/auth/test_ldap_client.py186 assert _client(user_filter="(mail={username})").authenticate("dupe@example.org", "pw") is NoneCODE
LOW⚡tests/unit/auth/test_ldap_client.py223 directory.add(fake_user("ann", "annpw", extra={"objectGUID": [bytes.fromhex("0a0b0c")]}))CODE
LOW⚡tests/unit/auth/test_ldap_client.py230 directory.add(fake_user("plain", "plainpw")) # no entryUUID / objectGUIDCODE
LOW⚡tests/unit/auth/test_ldap_client.py288 anonymous.add(fake_user("carol", "carolpw", display_name="Carol"))CODE
LOW⚡tests/unit/auth/test_ldap_client.py322 directory.add(fake_user("dave", "davepw"))CODE
LOWtests/unit/auth/test_ldap_client.py6from tests.support.ldap_fake import FakeLdapDirectory, FakeLdapGroup, fake_userCODE
LOWtests/unit/knowledge/test_ocr.py99 pdf.write_bytes(b"placeholder")CODE
LOW⚡tests/integration/test_auth_ldap.py41 fake_user(CODE
LOW⚡tests/integration/test_auth_ldap.py44 email="alice@example.org",CODE
LOW⚡tests/integration/test_auth_ldap.py52 fake_user(CODE
LOW⚡tests/integration/test_auth_ldap.py55 email="carol@example.org",CODE
LOWtests/integration/test_auth_ldap.py16from tests.support.ldap_fake import FakeLdapDirectory, fake_userCODE
LOWtests/integration/test_auth_ldap.py95 assert row.email == "alice@example.org"CODE
LOWtests/support/ldap_fake.py278def fake_user(CODE
LOWtests/support/ldap_fake.py295__all__ = ["FakeLdapDirectory", "FakeLdapGroup", "FakeLdapUser", "fake_user"]CODE
LOWdocs/ldap.md141 mail = "alice@example.org"CODE
LOWdocs/ldap.md153 mail = "bob@example.org"CODE
LOWdocs/ldap.md165 mail = "carol@example.org"CODE
LOWsrc/octop/infra/connectors/catalog.py650 "placeholder": field.placeholder,CODE
LOW…ubagents/library/zh/security/security-senior-secops.md745 const res = await loginAs("user@example.com", "password");CODE
LOW…library/zh/engineering/engineering-technical-writer.md170 line1: "123 Main St"CODE
LOW…ubagents/library/en/security/security-senior-secops.md746 const res = await loginAs("user@example.com", "password");CODE
LOW…library/en/engineering/engineering-technical-writer.md171 line1: "123 Main St"CODE
LOW…/commands/package-management/configure-auto-updates.md68 Unattended-Upgrade::Mail "user@example.com";CODE
Over-Commented Block44 hits · 44 pts
SeverityFileLineSnippetContext
LOWmise.toml1# Local toolchain pins. Versions follow CI / Docker, not the host default.COMMENT
LOWdocker/docker_build.sh1#!/usr/bin/env bashCOMMENT
LOWdocker/docker-compose.postgres.yml1# =============================================================================COMMENT
LOWdocker/docker-compose.mobile.yml1# =============================================================================COMMENT
LOWdocker/docker-entrypoint.sh1#!/usr/bin/env bashCOMMENT
LOWdocker/docker-compose.yml1# =============================================================================COMMENT
LOWdesktop/portable/package.sh1#!/usr/bin/env bashCOMMENT
LOWdashboard/src/pages/Chat/hooks/useChat.ts541 //COMMENT
LOWscripts/install-octop.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/install.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/build-fpk.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/build-fpk.sh21# (site-packages 先在 aarch64 上装好再拷过来)。COMMENT
LOWscripts/fnos/common.sh1#!/bin/bashCOMMENT
LOW.github/workflows/docker-publish.yml1name: Docker PublishCOMMENT
LOW.github/workflows/fnos-build-fpk.yml1name: Build Octop FPKCOMMENT
LOW…/specialized/government-digital-presales-consultant.md161- 与现有系统的集成计划COMMENT
LOW…/specialized/government-digital-presales-consultant.md181### 5.3 实施时间表与里程碑COMMENT
LOW…bagents/library/zh/specialized/specialized-model-qa.md401### 1. 文档与治理 - [通过/失败]COMMENT
LOW…ubagents/library/zh/specialized/agents-orchestrator.md81# 读取任务列表以了解范围COMMENT
LOW…ents/subagents/library/zh/legal/legal-policy-writer.md221- 生效日期:COMMENT
LOW…/specialized/government-digital-presales-consultant.md181### 5.1 Implementation MethodologyCOMMENT
LOW…bagents/library/en/specialized/specialized-model-qa.md401| # | Finding | Severity | Domain | Remediation | Deadline |COMMENT
LOW…al-learning-subscription/references/source-policy.yaml101# 信源分级(A 正式采集 / B 指南发现与受控承载 / C 全网发现与明确转述 / D 不入证据链):COMMENT
LOW…-doctor/references/skill-collaboration-tencentcloud.md41# 深度分析(根据异常类型选择对应脚本)COMMENT
LOW…y/cvm-ai-doctor/skills/cvm-ai-doctor/scripts/patrol.sh1#!/usr/bin/env bashCOMMENT
LOW…i-doctor/skills/cvm-ai-doctor/scripts/analyze_stats.sh1#!/usr/bin/env bashCOMMENT
LOW…octor/skills/cvm-ai-doctor/scripts/cluster_deep_cpu.sh1#!/usr/bin/env bashCOMMENT
LOW…ctor/skills/cvm-ai-doctor/scripts/cluster_deep_disk.sh1#!/usr/bin/env bashCOMMENT
LOW…ctor/skills/cvm-ai-doctor/scripts/combined_analysis.sh1#!/usr/bin/env bashCOMMENT
LOW…i-doctor/skills/cvm-ai-doctor/scripts/cluster_score.sh1#!/usr/bin/env bashCOMMENT
LOW…i-doctor/skills/cvm-ai-doctor/scripts/cluster_score.sh21# load_ratio float (load / ncpu)COMMENT
LOW…or/skills/cvm-ai-doctor/scripts/cluster_os_snapshot.sh1#!/usr/bin/env bashCOMMENT
LOW…or/skills/cvm-ai-doctor/scripts/cluster_deep_memory.sh1#!/usr/bin/env bashCOMMENT
LOW…vm-ai-doctor/skills/cvm-ai-doctor/scripts/deep_scan.sh1#!/usr/bin/env bashCOMMENT
LOW…octor/skills/cvm-ai-doctor/scripts/cluster_deep_ssh.sh1#!/usr/bin/env bashCOMMENT
LOW…r/skills/cvm-ai-doctor/scripts/cluster_deep_network.sh1#!/usr/bin/env bashCOMMENT
LOW…/parenting-companion/scripts/check_memory_freshness.sh1#!/usr/bin/env bashCOMMENT
LOWsrc/octop/infra/desktop/scripts/linux/v1.0/install.sh1#!/bin/bashCOMMENT
LOW…ctop/infra/mobile/scripts/linux/v1.0/install-docker.sh1#!/bin/shCOMMENT
LOW…ctop/infra/mobile/scripts/linux/v1.0/install-docker.sh21# of these packages. Always test upgrades in a test environment beforeCOMMENT
LOW…ctop/infra/mobile/scripts/linux/v1.0/install-docker.sh41# $ cat install-docker.shCOMMENT
LOW…ctop/infra/mobile/scripts/linux/v1.0/install-docker.sh61# Use the --channel option to install from an alternative installation channel.COMMENT
LOW…ctop/infra/mobile/scripts/linux/v1.0/install-docker.sh81# installing Docker packages. This is useful when you want to add the repositoryCOMMENT
LOW…ctop/infra/mobile/scripts/linux/v1.0/install-docker.sh221# version, or returns 1 (fail) otherwise.COMMENT
Modern AI Meta-Vocabulary10 hits · 34 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md240# optional local ONNX embedding model cache (Models → Local): pip install "octop[local-embedding]"COMMENT
MEDIUMsrc/octop/infra/connectors/service.py664 # --- Feishu CLI device-code user auth (domain orchestration) ---COMMENT
MEDIUMsrc/octop/infra/agents/settings/tool_catalog.py53 # filesystem / orchestration (critical ones still listed, disableable=false)COMMENT
MEDIUM…gents/library/zh/specialized/ma-integration-manager.md354### 整合健康仪表板 — RAG 标准COMMENT
MEDIUM…ts/subagents/library/en/security/security-architect.md165 # 1. Auth handled by dependency injection — fails before handler runsCOMMENT
MEDIUM…gents/library/en/specialized/ma-integration-manager.md362### Integration Health Dashboard — RAG CriteriaCOMMENT
MEDIUM…m-ai-doctor/commands/installation/clis/install-pipx.md125 pipx install docker-compose # Docker orchestrationCODE
MEDIUM⚡…ctop/infra/gateway/bot_creators/yuanbao_bot_creator.py317 # ---------- Main orchestration ----------COMMENT
MEDIUM⚡src/octop/i18n/domains/tools.py33 # Sub-agent / multi-agent orchestrationCOMMENT
MEDIUM⚡src/octop/i18n/domains/tools.py33 # Sub-agent / multi-agent orchestrationCOMMENT
AI Structural Patterns19 hits · 17 pts
SeverityFileLineSnippetContext
LOWsrc/octop/infra/bridge/manager.py488CODE
LOWsrc/octop/infra/agents/experts/catalog.py892CODE
LOWsrc/octop/infra/db/repos/users.py100CODE
LOWsrc/octop/infra/db/repos/cron.py223CODE
LOWsrc/octop/infra/db/repos/agents.py98CODE
LOWsrc/octop/infra/db/repos/agents.py231CODE
LOWsrc/octop/infra/db/repos/backends.py110CODE
LOWsrc/octop/infra/db/repos/knowledge.py205CODE
LOWsrc/octop/infra/db/repos/knowledge.py360CODE
LOWsrc/octop/infra/db/repos/usage.py145CODE
LOWsrc/octop/infra/gateway/slash/ctx.py86CODE
LOWsrc/octop/infra/gateway/process/harness_request.py255CODE
LOWsrc/octop/infra/gateway/process/processor.py138CODE
LOWsrc/octop/infra/cron/manager.py174CODE
LOWsrc/octop/api/routers/update.py133CODE
LOWsrc/octop/api/routers/backup.py377CODE
LOWsrc/octop/api/routers/skills.py171CODE
LOWsrc/octop/api/routers/memory_portable.py199CODE
LOWsrc/octop/api/routers/browser/record_replay.py324CODE
Example Usage Blocks9 hits · 15 pts
SeverityFileLineSnippetContext
LOWdesktop/portable/bootstrap-runtime.sh4# Usage:COMMENT
LOWdesktop/portable/package-linux-docker.sh4# Usage:COMMENT
LOWdesktop/portable/package.sh8# Usage:COMMENT
LOWdesktop/portable/vendor-wheels.sh4# Usage:COMMENT
LOWdesktop/portable/templates/start.sh3# Usage:COMMENT
LOW⚡…ctor/skills/cvm-ai-doctor/scripts/combined_analysis.sh10# Usage:COMMENT
LOW⚡…vm-ai-doctor/skills/cvm-ai-doctor/scripts/deep_scan.sh9# Usage:COMMENT
LOW…kills/publisher-multi-platform/scripts/setup_server.sh5# Usage:COMMENT
LOWsrc/octop/infra/desktop/scripts/linux/v1.0/install.sh6# Usage:COMMENT
Redundant / Tautological Comments7 hits · 13 pts
SeverityFileLineSnippetContext
LOW…skills/publisher-multi-platform/scripts/xhs_publish.py336 # Check if we're logged inCOMMENT
LOW⚡…ctop/infra/mobile/scripts/linux/v1.0/install-docker.sh388# Check if this is a forked Linux distroCOMMENT
LOW⚡…ctop/infra/mobile/scripts/linux/v1.0/install-docker.sh393 # Check if the `-u` option is supportedCOMMENT
LOW⚡…ctop/infra/mobile/scripts/linux/v1.0/install-docker.sh399 # Check if the command has exited successfully, it means we're in a forked distroCOMMENT
LOW…ctop/infra/mobile/scripts/linux/v1.0/install-docker.sh559 # Check if this is a forked Linux distroCOMMENT
LOWsrc/octop/api/routers/memory_portable.py163 # Read the file content and stream it backCOMMENT
LOWsrc/octop/api/routers/browser/stream.py75 # Check if internal session is fully connected to prevent race conditions during tab switchingCOMMENT
Verbosity Indicators9 hits · 13 pts
SeverityFileLineSnippetContext
LOW…lls/publisher-multi-platform/scripts/wechat_publish.py972 # Step 1: Publish to WeChatCOMMENT
LOW…lls/publisher-multi-platform/scripts/wechat_publish.py988 # Step 2: Publish to XHSCOMMENT
LOW…kills/publisher-multi-platform/scripts/setup_server.sh26# Step 1: Check Node.jsCOMMENT
LOW⚡…kills/publisher-multi-platform/scripts/setup_server.sh46# Step 2: Install wenyan-cliCOMMENT
LOW⚡…kills/publisher-multi-platform/scripts/setup_server.sh56# Step 3: Check env varsCOMMENT
LOW…kills/publisher-multi-platform/scripts/setup_server.sh77# Step 4: Start serverCOMMENT
LOW⚡…ctop/infra/gateway/bot_creators/yuanbao_bot_creator.py323 # Step 1: Generate QR codeCOMMENT
LOW⚡…ctop/infra/gateway/bot_creators/yuanbao_bot_creator.py331 # Step 2: Emit scan codeCOMMENT
LOW…ctop/infra/gateway/bot_creators/yuanbao_bot_creator.py344 # Step 3: Poll scan statusCOMMENT
Self-Referential Comments4 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMdocker/docker-compose.mobile.yml12# This file is standalone (not an overlay) because ``network_mode: host``COMMENT
MEDIUMtests/conftest.py47# Creating an agent now starts a multi-hour asyncio.sleep (proactive careCOMMENT
MEDIUMtests/support/app.py57 # Creating an agent now starts a random-interval sleep (default ON).COMMENT
MEDIUM…lls/publisher-multi-platform/scripts/wechat_publish.py365 # Create a simple placeholderCOMMENT
Dead Code6 hits · 12 pts
SeverityFileLineSnippetContext
MEDIUMtests/unit/test_voice_probe.py55CODE
MEDIUMtests/unit/test_connectors.py1337CODE
MEDIUMtests/unit/api/test_chat_hitl_resume.py169CODE
MEDIUMtests/unit/gateway/test_hitl_channel.py234CODE
MEDIUMtests/support/fakes.py465CODE
MEDIUMsrc/octop/infra/voice/adapters.py86CODE
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH…ry/wechat-ops/skills/publisher-multi-platform/SKILL.md133export WENYAN_API_KEY="your_api_key"CODE
HIGH…lls/publisher-multi-platform/scripts/wechat_publish.py935 export WENYAN_API_KEY="your_api_key" # 如果设置了 API keyCODE