AI Slop Code RIsk Monitor

plastic-labs/honcho

Memory library for building stateful agents

27.8 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for plastic-labs/honcho, a Python project with 7,569 GitHub stars. SynthScan examined 262,539 lines of code across 784 source files, recording 5183 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 27.8 (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.

27.8
Adjusted Signal
27.8
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
7.6K
Stars
Python
Language
262.5K
Lines of Code
784
Files
5.2K
Pattern Hits
2026-10-12
Scan Date
0.22
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 54.3/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 14.5/100 · LOW

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

Agent Over-Engineering Ratio 61.3/100 · HIGH

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

PR Review Velocity Impact 76.7/100 · CRITICAL

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 22HIGH 153MEDIUM 751LOW 4257

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 5183 distinct pattern matches across 23 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 Identifiers2753 hits · 2585 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/tests/test_setup.py15def test_basic_openai_applies_chat_model_everywhere():CODE
LOWhoncho-cli/tests/test_setup.py33def test_basic_anthropic_keeps_openai_embeddings_default():CODE
LOWhoncho-cli/tests/test_setup.py50def test_openai_compatible_copies_base_url_to_embeddings():CODE
LOWhoncho-cli/tests/test_setup.py67def test_leaving_openai_compatible_drops_proxy_urls():CODE
LOWhoncho-cli/tests/test_setup.py77def test_chat_default_comes_from_image_toml(tmp_path):CODE
LOWhoncho-cli/tests/test_common.py40def test_valid_token_is_not_refreshed(cfg_path):CODE
LOWhoncho-cli/tests/test_common.py47def test_expired_token_refreshes_despite_manual_key(cfg_path):CODE
LOWhoncho-cli/tests/test_common.py60def test_host_mismatch_skips_refresh(cfg_path):CODE
LOWhoncho-cli/tests/test_common.py71def test_expired_token_refreshes_and_persists(cfg_path):CODE
LOW⚡honcho-cli/tests/test_common.py98def test_refresh_failure_exits(cfg_path):CODE
LOW⚡honcho-cli/tests/test_common.py105def test_refresh_failure_falls_back_to_api_key(cfg_path):CODE
LOW⚡honcho-cli/tests/test_common.py114def test_missing_refresh_token_exits(cfg_path):CODE
LOW⚡honcho-cli/tests/test_common.py121def test_missing_refresh_token_falls_back_to_api_key(cfg_path):CODE
LOWhoncho-cli/tests/test_conclusion_attribution.py50 def test_list_reports_level_source_ids_and_times_derived(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_conclusion_attribution.py66 def test_list_rejects_an_unknown_level(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_conclusion_attribution.py71 def test_get_reports_ids_the_server_did_not_return(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_conclusion_attribution.py85 def test_derived_asks_for_conclusions_containing_the_premise(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_conclusion_attribution.py108 def test_peer_chat_returns_evidence_only_when_asked(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_conclusion_attribution.py132 def test_workspace_chat_passes_the_flag_through(self, cfg, runner):CODE
LOW⚡honcho-cli/tests/test_output.py52 def test_normalizes_utc_shapes(self, value, expected):CODE
LOW⚡honcho-cli/tests/test_output.py62 def test_converts_offsets_instead_of_relabelling_them(self, value, expected):CODE
LOW⚡honcho-cli/tests/test_output.py66 def test_keeps_sub_second_precision(self):CODE
LOW⚡honcho-cli/tests/test_output.py73 def test_accepts_datetime_objects(self):CODE
LOW⚡honcho-cli/tests/test_output.py78 def test_empty_values_render_blank(self, value):CODE
LOW⚡honcho-cli/tests/test_output.py81 def test_unparseable_values_pass_through(self):CODE
LOW⚡honcho-cli/tests/test_output.py84 def test_output_matches_the_declared_column_width(self):CODE
LOW⚡honcho-cli/tests/test_output.py89 def test_newlines_are_not_reflowed_into_a_paragraph(self, render):CODE
LOW⚡honcho-cli/tests/test_output.py95 def test_tagged_content_is_not_stripped(self, render):CODE
LOW⚡honcho-cli/tests/test_output.py101 def test_console_markup_is_not_interpreted(self, render):CODE
LOW⚡honcho-cli/tests/test_output.py105 def test_ids_are_shown_in_full(self, render):CODE
LOW⚡honcho-cli/tests/test_output.py111 def test_long_peer_ids_stay_distinguishable(self, render):CODE
LOW⚡honcho-cli/tests/test_output.py122 def test_empty_transcript_reports_the_session(self, render):CODE
LOW⚡honcho-cli/tests/test_output.py129 def test_given_hint_is_printed(self, render, monkeypatch):CODE
LOW⚡honcho-cli/tests/test_output.py135 def test_no_hint_when_none_given(self, render, monkeypatch):CODE
LOW⚡honcho-cli/tests/test_oauth.py55 def test_derives_urls_from_base_url(self):CODE
LOW⚡honcho-cli/tests/test_oauth.py62 def test_strips_trailing_slash(self):CODE
LOW⚡honcho-cli/tests/test_oauth.py71 def test_true_when_device_grant_advertised(self):CODE
LOW⚡honcho-cli/tests/test_oauth.py76 def test_false_when_device_grant_absent(self):CODE
LOW⚡honcho-cli/tests/test_oauth.py86 def test_false_on_connection_error(self):CODE
LOW⚡honcho-cli/tests/test_oauth.py90 def test_false_on_unparseable_body(self):CODE
LOWhoncho-cli/tests/test_oauth.py122 def test_transport_failure_wrapped(self):CODE
LOWhoncho-cli/tests/test_oauth.py146 def test_pending_then_slowdown_then_success(self):CODE
LOW⚡honcho-cli/tests/test_oauth.py176 def test_unexpected_error_raises_generic(self):CODE
LOW⚡honcho-cli/tests/test_oauth.py182 def test_transport_failure_wrapped(self):CODE
LOW⚡honcho-cli/tests/test_oauth.py189 def test_times_out_past_deadline(self):CODE
LOWhoncho-cli/tests/test_oauth.py206 def test_success_returns_rotated_pair(self):CODE
LOWhoncho-cli/tests/test_oauth.py228 def test_transport_failure_wrapped(self):CODE
LOWhoncho-cli/tests/test_commands.py99 def test_first_run_writes_exact_shape(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py112 def test_preserves_foreign_keys(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py139 def test_workspace_delete_aborts_on_no(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py150 def test_session_delete_aborts_on_no(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py166 def test_workspace_list_json_array_shape(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py175 def test_workspace_search_preserves_full_content_in_json_mode(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py203 def test_workspace_chat_json_object_shape(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py225 def test_workspace_chat_forwards_single_scope(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py243 def test_workspace_chat_forwards_scope_allowlist(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py271 def test_peer_chat_forwards_sessions_allowlist(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py302 def test_message_get_returns_single_json_object(self, cfg, runner):CODE
LOWhoncho-cli/tests/test_commands.py330 def test_message_list_rejects_non_positive_last(self, cfg, runner, last):CODE
LOWhoncho-cli/tests/test_commands.py343 def test_session_view_json_is_chronological_window(self, cfg, runner):CODE
2693 more matches not shown…
Decorative Section Separators416 hits · 1438 pts
SeverityFileLineSnippetContext
MEDIUMsdks/python/src/honcho/api_types.py17# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py19# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py108# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py110# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py137# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py139# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py184# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py186# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py263# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py265# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py312# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py314# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py350# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py352# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py375# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py377# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py392# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py394# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py458# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py460# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py517# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py519# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py542# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py544# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py635# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py637# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py650# ==============================================================================COMMENT
MEDIUMsdks/python/src/honcho/api_types.py652# ==============================================================================COMMENT
MEDIUM⚡tests/test_search.py422# =============================================================================COMMENT
MEDIUM⚡tests/test_search.py424# =============================================================================COMMENT
MEDIUM⚡tests/test_workspace_chat.py188# =============================================================================COMMENT
MEDIUM⚡tests/test_workspace_chat.py190# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py33# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py35# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py461# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py463# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py1034# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py1036# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py1149# =============================================================================COMMENT
MEDIUMtests/test_workspace_chat.py1151# =============================================================================COMMENT
MEDIUM⚡tests/bench/runner_common.py792 # -------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/bench/runner_common.py794 # -------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py286# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py288# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py442 # -------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py444 # -------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py528 # -------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/runner_common.py530 # -------------------------------------------------------------------------COMMENT
MEDIUMtests/bench/coverage.py76# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py78# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py113# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py115# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py257# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py259# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py397# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py399# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py1063# =============================================================================COMMENT
MEDIUMtests/bench/coverage.py1065# =============================================================================COMMENT
MEDIUM⚡tests/bench/coverage.py1160# =============================================================================COMMENT
MEDIUM⚡tests/bench/coverage.py1162# =============================================================================COMMENT
356 more matches not shown…
Self-Referential Comments200 hits · 578 pts
SeverityFileLineSnippetContext
MEDIUMsdks/python/examples/pydantic_validation_example.py112 # Create a valid messageCOMMENT
MEDIUMsdks/python/examples/get_context.py6# Create a Honcho client with the default workspaceCOMMENT
MEDIUMsdks/python/examples/get_context.py15# Create a new sessionCOMMENT
MEDIUMsdks/python/examples/chat.py6# Create a Honcho client with the default workspaceCOMMENT
MEDIUMsdks/python/examples/chat.py15# Create a new sessionCOMMENT
MEDIUMsdks/python/examples/search.py6# Create a Honcho client with the default workspaceCOMMENT
MEDIUMsdks/python/examples/search.py17# Create a new sessionCOMMENT
MEDIUMsdks/python/examples/search.py20# Create a message with our special keywordCOMMENT
MEDIUMsdks/python/examples/file_upload.py5# Create a Honcho client with the default workspaceCOMMENT
MEDIUMsdks/python/examples/file_upload.py8# Create a new sessionCOMMENT
MEDIUMsdks/python/examples/multi_user_representations.py7# Create a Honcho client with the default workspaceCOMMENT
MEDIUMsdks/python/examples/multi_user_representations.py13# Create a new sessionCOMMENT
MEDIUMsdks/python/examples/multi_user_representations.py34# Create a separate sessionCOMMENT
MEDIUMsdks/python/src/honcho/__init__.py18 # Create a sessionSTRING
MEDIUM⚡tests/conftest.py1035 # Create a mock collection object that doesn't require database commitCOMMENT
MEDIUMtests/conftest.py49# Create a custom handler that doesn't get closed prematurelyCOMMENT
MEDIUMtests/conftest.py669 # Create a mock vector store that stores vectors in memoryCOMMENT
MEDIUMtests/conftest.py712 # Create the mock vector storeCOMMENT
MEDIUMtests/conftest.py762 # Create an async generator for streaming responsesCOMMENT
MEDIUMtests/test_datetime_parsing.py437 # Create a datetime in EST (UTC-5)COMMENT
MEDIUMtests/test_workspace_chat.py225 # Create a session firstCOMMENT
MEDIUMtests/test_workspace_chat.py771 # Create a peer cardCOMMENT
MEDIUMtests/test_workspace_chat.py1011 # Create a deductive document with source_idsCOMMENT
MEDIUMtests/test_advanced_filters.py1942 # Create a very complex filter structureCOMMENT
MEDIUMtests/bench/locomo_summary.py139 # Initialize base classCOMMENT
MEDIUMtests/bench/harness.py643 # Create a Python script to import and print the settingsCOMMENT
MEDIUMtests/bench/harness.py845 # Create an empty .env file in temp directory to satisfy docker-composeSTRING
MEDIUMtests/bench/harness.py1005 # Create an empty .env file in temp directorySTRING
MEDIUMtests/bench/locomo.py199 # Initialize base classCOMMENT
MEDIUMtests/bench/beam.py130 # Initialize base classCOMMENT
MEDIUMtests/bench/longmem.py160 # Initialize base class (sets up metrics collector and logger)COMMENT
MEDIUMtests/bench/longmem.py208 # Create a single merged sessionCOMMENT
MEDIUMtests/integration/test_enqueue.py497 # Create an observer peerCOMMENT
MEDIUMtests/integration/test_enqueue.py1157 # Create a test sessionCOMMENT
MEDIUMtests/integration/test_enqueue.py1164 # Create a message payload with seq_in_session includedCOMMENT
MEDIUMtests/integration/test_enqueue.py1235 # Create a test sessionCOMMENT
MEDIUMtests/integration/test_enqueue.py1242 # Create a message payload WITHOUT seq_in_sessionCOMMENT
MEDIUMtests/integration/test_representation.py38 # Create a deterministic 1536-dimensional embedding vectorCOMMENT
MEDIUMtests/integration/test_message_embeddings.py77 # Create a test sessionCOMMENT
MEDIUMtests/integration/test_message_embeddings.py84 # Create a message using the CRUD function directlyCOMMENT
MEDIUMtests/integration/test_message_embeddings.py199 # Create a test sessionCOMMENT
MEDIUMtests/integration/test_message_embeddings.py206 # Create a message using the CRUD function directlyCOMMENT
MEDIUMtests/integration/test_message_embeddings.py249 # Create a test sessionCOMMENT
MEDIUMtests/integration/test_message_embeddings.py719 # Create a test sessionCOMMENT
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json224 "content": "To generate a graph of the action intensity in a scene, you can use Python with the Matplotlib andCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json234 "content": "To represent the intensity of the script provided, we can estimate the intensity levels during theCODE
MEDIUM⚡tests/utils/test_clients.py375 # Create a mock parsed objectCOMMENT
MEDIUM⚡tests/utils/test_clients.py378 # Create a proper ChatCompletionMessage and add parsed attributeCOMMENT
MEDIUMtests/utils/test_agent_tools.py1166 # Create a peer with no observationsCOMMENT
MEDIUMtests/sdk_typescript/conftest.py137 # Create a tracked_db that uses fresh sessions (not shared)COMMENT
MEDIUMtests/sdk/test_file_uploads.py63 # Create a large text file that will require chunkingCOMMENT
MEDIUMtests/sdk/test_pagination.py21 await peer.aio.get_metadata() # Create the peerCODE
MEDIUMtests/sdk/test_pagination.py38 peer.get_metadata() # Create the peerCODE
MEDIUMtests/sdk/test_conclusions.py41 # Create a single observationCOMMENT
MEDIUMtests/sdk/test_conclusions.py75 # Create a single observationCOMMENT
MEDIUMtests/sdk/test_conclusions.py615 # Create a self-observationCOMMENT
MEDIUMtests/sdk/test_conclusions.py636 # Create a self-observationCOMMENT
MEDIUMtests/sdk/test_conclusions.py813 # Create a session just to ensure peers existCOMMENT
MEDIUMtests/sdk/test_conclusions.py846 # Create a session just to ensure peers existCOMMENT
MEDIUMtests/sdk/test_session.py561 await peer.aio.get_metadata() # Create the peerCODE
140 more matches not shown…
Unused Imports597 hits · 496 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/tests/conftest.py3CODE
LOWhoncho-cli/tests/test_setup.py3CODE
LOWhoncho-cli/tests/test_common.py3CODE
LOWhoncho-cli/tests/test_validation.py7CODE
LOWhoncho-cli/tests/test_conclusion_attribution.py7CODE
LOWhoncho-cli/tests/test_output.py7CODE
LOWhoncho-cli/tests/test_oauth.py3CODE
LOWhoncho-cli/tests/test_commands.py8CODE
LOWhoncho-cli/tests/test_recall.py3CODE
LOWhoncho-cli/tests/test_local.py3CODE
LOWhoncho-cli/tests/test_start.py3CODE
LOWhoncho-cli/scripts/generate_cli_docs.py16CODE
LOWhoncho-cli/src/honcho_cli/config.py26CODE
LOWhoncho-cli/src/honcho_cli/update_check.py7CODE
LOWhoncho-cli/src/honcho_cli/recall.py13CODE
LOWhoncho-cli/src/honcho_cli/_help.py14CODE
LOWhoncho-cli/src/honcho_cli/common.py13CODE
LOWhoncho-cli/src/honcho_cli/main.py6CODE
LOWhoncho-cli/src/honcho_cli/output.py6CODE
LOWhoncho-cli/src/honcho_cli/oauth.py7CODE
LOWhoncho-cli/src/honcho_cli/validation.py6CODE
LOWhoncho-cli/src/honcho_cli/local/env.py3CODE
LOWhoncho-cli/src/honcho_cli/local/health.py3CODE
LOWhoncho-cli/src/honcho_cli/local/profile.py7CODE
LOWhoncho-cli/src/honcho_cli/local/__init__.py3CODE
LOWhoncho-cli/src/honcho_cli/local/docker.py3CODE
LOWhoncho-cli/src/honcho_cli/local/setup.py8CODE
LOWhoncho-cli/src/honcho_cli/commands/config_cmd.py9CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py3CODE
LOWhoncho-cli/src/honcho_cli/commands/message.py3CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py3CODE
LOWhoncho-cli/src/honcho_cli/commands/setup.py7CODE
LOWhoncho-cli/src/honcho_cli/commands/conclusion.py3CODE
LOWhoncho-cli/src/honcho_cli/commands/stack.py8CODE
LOWhoncho-cli/src/honcho_cli/commands/workspace.py3CODE
LOWhoncho-cli/src/honcho_cli/commands/scope.py13CODE
LOWsdks/python/src/honcho/api_types.py6CODE
LOWsdks/python/src/honcho/session_context.py1CODE
LOWsdks/python/src/honcho/mixins.py3CODE
LOWsdks/python/src/honcho/client.py3CODE
LOWsdks/python/src/honcho/session.py4CODE
LOWsdks/python/src/honcho/session.py41CODE
LOWsdks/python/src/honcho/__init__.py40CODE
LOWsdks/python/src/honcho/__init__.py40CODE
LOWsdks/python/src/honcho/__init__.py40CODE
LOWsdks/python/src/honcho/__init__.py40CODE
LOWsdks/python/src/honcho/__init__.py40CODE
LOWsdks/python/src/honcho/__init__.py48CODE
LOWsdks/python/src/honcho/__init__.py48CODE
LOWsdks/python/src/honcho/__init__.py48CODE
LOWsdks/python/src/honcho/__init__.py48CODE
LOWsdks/python/src/honcho/__init__.py48CODE
LOWsdks/python/src/honcho/__init__.py48CODE
LOWsdks/python/src/honcho/__init__.py48CODE
LOWsdks/python/src/honcho/__init__.py48CODE
LOWsdks/python/src/honcho/__init__.py58CODE
LOWsdks/python/src/honcho/__init__.py58CODE
LOWsdks/python/src/honcho/__init__.py58CODE
LOWsdks/python/src/honcho/__init__.py59CODE
LOWsdks/python/src/honcho/__init__.py60CODE
537 more matches not shown…
Excessive Try-Catch Wrapping417 hits · 433 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/src/honcho_cli/update_check.py46 except Exception:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py67 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py106 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py141 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py348 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py399 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py425 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py468 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py490 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py511 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py532 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py564 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py594 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py615 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py644 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/message.py89 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/message.py131 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/message.py163 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py61 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py103 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py125 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py200 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py231 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py269 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py290 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py318 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py348 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/setup.py85 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/setup.py234 except Exception:CODE
LOW⚡honcho-cli/src/honcho_cli/commands/setup.py406 except Exception as e:CODE
LOW⚡honcho-cli/src/honcho_cli/commands/setup.py412 except Exception:CODE
LOW⚡honcho-cli/src/honcho_cli/commands/setup.py420 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/conclusion.py117 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/conclusion.py154 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/conclusion.py189 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/conclusion.py221 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/conclusion.py274 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/conclusion.py323 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/workspace.py65 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/workspace.py97 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/workspace.py143 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/workspace.py172 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/workspace.py212 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/workspace.py274 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/workspace.py305 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/workspace.py327 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/scope.py100 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/scope.py138 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/scope.py162 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/scope.py189 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/scope.py210 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/scope.py231 except Exception as e:CODE
LOWhoncho-cli/src/honcho_cli/commands/scope.py261 except Exception as e:CODE
LOWsdks/python/src/honcho/http/client.py187 except Exception as e:CODE
LOWsdks/python/src/honcho/http/client.py384 except Exception:CODE
LOWsdks/python/src/honcho/http/client.py407 except Exception:CODE
LOWsdks/python/src/honcho/http/async_client.py155 except Exception as e:CODE
LOWsdks/python/src/honcho/http/async_client.py354 except Exception:CODE
LOWsdks/python/src/honcho/http/async_client.py378 except Exception:CODE
LOWtests/conftest.py253 except Exception as e:CODE
357 more matches not shown…
Docstring Block Structure73 hits · 365 pts
SeverityFileLineSnippetContext
HIGHsdks/python/src/honcho/client.py550 Get or create a scope with the given ID. A scope is a named set of sessions that acts as a visibility STRING
HIGHsdks/python/src/honcho/client.py596 Get an existing scope by ID without creating it. Unlike :meth:`scope`, this never creates the scope, sSTRING
HIGHsdks/python/src/honcho/session.py614 Get optimized context for this session within a token limit. Makes an API call to retrieve a curated lSTRING
HIGHsdks/python/src/honcho/conclusions.py450 Get a single conclusion by ID. Args: conclusion_id: The ID of the conclusion to retrieve STRING
HIGHsdks/python/src/honcho/conclusions.py573 Build a single conclusion create payload. This normalizes both `ConclusionCreateParams` instanSTRING
HIGHsdks/python/src/honcho/peer.py360 Query the peer's representation with a natural language question. Makes an API call to the Honcho dialSTRING
HIGHsdks/python/src/honcho/peer.py458 Query the peer's representation with a natural language question, streaming the response. Makes an APISTRING
HIGHsdks/python/src/honcho/peer.py784 Get a subset of the representation of the peer. Args: session: Optional session to scope tSTRING
HIGHsdks/python/src/honcho/aio.py394 Get or create a scope with the given ID asynchronously. A scope is a named set of sessions that acts aSTRING
HIGHsdks/python/src/honcho/aio.py433 Get an existing scope by ID asynchronously, without creating it. Unlike :meth:`scope`, this never creaSTRING
HIGHsdks/python/src/honcho/utils/scopes.py47Validate an unprefixed scope ID. Args: value: The scope ID as the caller supplied it. Returns: STRING
HIGHsdks/python/src/honcho/utils/scopes.py78Resolve the ``scope`` read option to its wire value. A single scope stays a string; a sequence becomes a list of IDSTRING
HIGHsdks/python/src/honcho/utils/scopes.py112Resolve the ``sessions`` allowlist option to a list of session IDs. Args: sessions: Sessions to allow, as ISTRING
HIGHsdks/python/src/honcho/utils/scopes.py136Validate a session ID against the charset the server accepts. Args: value: The session ID as the caller supSTRING
HIGHsdks/python/src/honcho/utils/scopes.py156Resolve and validate a single session ID for a scope membership change. Validated rather than passed through becausSTRING
HIGHsdks/python/src/honcho/utils/scopes.py179Resolve a scope membership change to a list of session IDs. Capped at the server's per-call limit rather than silenSTRING
HIGHsdks/python/src/honcho/utils/scopes.py212Build the query fields for ``scope``/``sessions`` on the context route. Unlike the recall endpoints, session contexSTRING
HIGHsdks/python/src/honcho/utils/scopes.py267Build the request-body fields for the ``scope``/``sessions`` options. ``sessions`` is sugar: it goes on the wire asSTRING
HIGHsdks/python/src/honcho/utils/datetime.py24 Parse an ISO 8601 datetime string into a `datetime` instance. This accepts timestamps in the forms commonly prSTRING
HIGHsdks/python/src/honcho/utils/file_upload.py15 Normalize various file input formats to a standard tuple format. Args: file: File to normalize. Can beSTRING
HIGHsdks/python/src/honcho/utils/file_upload.py54 Prepare a file for upload by normalizing and reading its content. Args: file: File to prepare. Can be:STRING
HIGHtests/bench/runner_common.py223 Create an AsyncAnthropic client. Args: api_key: Optional API key. If not provided, uses LLM_ANTHROPIC_STRING
HIGHtests/bench/runner_common.py249 Create an AsyncOpenAI client. Args: api_key: Optional API key. If not provided, uses env_key_name env STRING
HIGHtests/bench/longmem_common.py98Parse longmemeval date format to datetime. Args: date_str: Date string in format "YYYY/MM/DD (Day) HH:MM" STRING
HIGHtests/bench/oolong_common.py152Load the OOLONG-synth dataset from filesystem. Args: split: Dataset split to load (default: "test") STRING
HIGHtests/bench/oolong_common.py235Load the OOLONG-real dataset from filesystem. Args: split: Dataset split to load (default: "test") STRING
HIGHtests/bench/oolong_common.py638Filter dataset by context length and example count. Args: dataset: HuggingFace dataset max_context_STRING
HIGHexamples/zo/tools/save_memory.py13Save a single conversation turn to Honcho memory. Creates the peer and session if they do not already exist. RegistSTRING
HIGHexamples/zo/tools/query_memory.py9Query stored memory for a user using Honcho's Dialectic API. Sends a natural language question to Honcho and returnSTRING
HIGH…ntegration/references/bot-frameworks/nanobot/client.py37 Get or create the Honcho client singleton. Args: config: Optional config. If not provided, uses enviroSTRING
HIGHsrc/embedding_client.py385 Batch-embed a list of text strings. Does not sub-chunk oversized inputs. Internally goes through the sSTRING
HIGHsrc/llm/request_builder.py29Validate an operator-supplied provider_params passthrough is a mapping. ``provider_params`` is typed ``dict[str, AnSTRING
HIGHsrc/utils/files.py184 Process an uploaded file and prepare message creation data. This function extracts text from a file, splits itSTRING
HIGHsrc/utils/work_unit.py22 Generate a work unit key for a given task type, workspace name, and event type. Args: workspace_name: STRING
HIGHsrc/utils/work_unit.py90 Parse a work unit key to extract its components. Args: work_unit_key: The work unit key string to parsSTRING
HIGHsrc/utils/schema_conversion.py85Convert a JSON Schema dict (root type ``object``) into a Pydantic model. Supported constructs: primitive types (``sSTRING
HIGHsrc/utils/formatting.py95 Parse ISO 8601 datetime string, handling various timezone formats. This function properly handles Z suffix, tiSTRING
HIGHsrc/utils/queue_payload.py200 Create a processed payload from a message for queue processing. Note: workspace_name and message_id are no lonSTRING
HIGHsrc/utils/search.py323 Search across message content using a hybrid approach with Reciprocal Rank Fusion (RRF). This function combineSTRING
HIGHsrc/utils/filter.py95Validate a numeric operand without losing precision or overflowing. Integers become Decimal rather than staying intSTRING
HIGHsrc/utils/filter.py144Return ``value`` ready to bind against ``column``, or raise FilterError. SQLAlchemy types a bind from the *operand*STRING
HIGHsrc/utils/filter.py240Parse a recall-path ``filters`` body into a session allowlist. The dialectic and representation endpoints accept a STRING
HIGHsrc/utils/filter.py306Validate and de-duplicate a session allowlist. Shared by every route-level entry point that accepts one — the ``filSTRING
HIGHsrc/utils/filter.py363 Apply advanced filter to a SQL statement based on filter dictionary. Supports logical operators (AND, OR, NOT)STRING
HIGHsrc/utils/representation.py50 Flatten message_ids that may be in old tuple format or nested list format. This handles backwards compatibilitSTRING
HIGHsrc/vector_store/turbopuffer.py131 Query for similar vectors in Turbopuffer. Args: namespace: The namespace to query STRING
HIGHsrc/vector_store/__init__.py139 Query for similar vectors. Args: namespace: The namespace to query embedding: STRING
HIGHsrc/vector_store/lancedb.py202 Query for similar vectors in LanceDB. Args: namespace: The namespace (table) to query STRING
HIGHsrc/vector_store/lancedb.py279 Convert a filter dict to SQL WHERE clause syntax. Supports filter formats: - {"key": "value"} STRING
HIGHsrc/vector_store/chroma.py328 Query for similar vectors in ChromaDB. Args: namespace: The namespace to query STRING
HIGHsrc/dreamer/trees/__init__.py18 Factory function to create different tree types. Args: tree_type: Type of tree to create ('rptree', 'kSTRING
HIGHsrc/crud/peer_card.py29 Get peer card from internal_metadata. The peer card is returned for the observer/observed relationship. ASTRING
HIGHsrc/crud/webhook.py20 Get an existing webhook endpoint for a workspace or create it if missing. Args: db: Database session STRING
HIGHsrc/crud/session.py200 Get an active session in a workspace or create it if it does not exist. If the session already exists, provideSTRING
HIGHsrc/crud/session.py436 Get a session in a workspace. Args: db: Database session session_name: Name of the session STRING
HIGHsrc/crud/session.py480 Get or create a session, then apply metadata and configuration updates. Provided metadata replaces the currentSTRING
HIGHsrc/crud/session.py582 Delete a session and all associated data (hard delete). This performs cascading deletes for all session-relateSTRING
HIGHsrc/crud/session.py899 Remove specified peers from a session. Args: db: Database session workspace_name: Name of the STRING
HIGHsrc/crud/session.py1084 Replace a session's ordinary peer set with ``peer_names``. Active members keep their joined_at but take the inSTRING
HIGHsrc/crud/session.py1208 Upsert session-peer memberships for a session and optionally fetch the active memberships afterward. New pSTRING
13 more matches not shown…
Hallucination Indicators22 hits · 210 pts
SeverityFileLineSnippetContext
CRITICALdocs/v1/openapi.json1729 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json1733 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json1827 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json1831 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json1974 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json1978 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json2068 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json2072 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json2171 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json2175 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json3275 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json3279 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json3369 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json3373 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json3472 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json3476 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json3562 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json3566 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json3660 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json3664 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
CRITICALdocs/v1/openapi.json3754 "source": "import Honcho from 'honcho-ai';\n\nconst client = new Honcho({\n apiKey: process.envCODE
CRITICALdocs/v1/openapi.json3758 "source": "import os\nfrom honcho import Honcho\n\nclient = Honcho(\n api_key=os.environ.get(CODE
Modern Structural Boilerplate179 hits · 178 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/src/honcho_cli/output.py33def set_json_mode(enabled: bool) -> None:CODE
LOWsdks/python/src/honcho/mixins.py186 def _set_metadata(self, metadata: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/mixins.py191 def _set_configuration(self, configuration: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/mixins.py215 async def set_metadata(self, metadata: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/mixins.py233 async def set_configuration(self, configuration: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/client.py44logger = logging.getLogger(__name__)CODE
LOWsdks/python/src/honcho/session.py43logger = logging.getLogger(__name__)CODE
LOWsdks/python/src/honcho/session.py45__all__ = ["Session", "SessionPeerConfig"]CODE
LOWsdks/python/src/honcho/__init__.py98__all__ = [CODE
LOWsdks/python/src/honcho/types.py11__all__ = [CODE
LOWsdks/python/src/honcho/conclusions.py21__all__ = [CODE
LOWsdks/python/src/honcho/peer.py46logger = logging.getLogger(__name__)CODE
LOWsdks/python/src/honcho/aio.py94logger = logging.getLogger(__name__)CODE
LOWsdks/python/src/honcho/aio.py96__all__ = [CODE
LOWsdks/python/src/honcho/aio.py148 def _set_metadata(self, metadata: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py152 def _set_configuration(self, configuration: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py179 async def set_configuration(self, configuration: WorkspaceConfiguration) -> None: # pyright: ignore[reportIncompatiCODE
LOWsdks/python/src/honcho/aio.py768 def _set_metadata(self, metadata: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py771 def _set_configuration(self, configuration: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py817 async def set_configuration(self, configuration: PeerConfig) -> None: # pyright: ignore[reportIncompatibleMethodOveCODE
LOWsdks/python/src/honcho/aio.py1251 def _set_metadata(self, metadata: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py1254 def _set_configuration(self, configuration: dict[str, object]) -> None:CODE
LOWsdks/python/src/honcho/aio.py1305 async def set_configuration(self, configuration: SessionConfiguration) -> None: # pyright: ignore[reportIncompatiblCODE
LOWsdks/python/src/honcho/pagination.py14__all__ = ["SyncPage", "AsyncPage"]CODE
LOWsdks/python/src/honcho/scope.py24logger = logging.getLogger(__name__)CODE
LOWsdks/python/src/honcho/scope.py26__all__ = ["Scope"]CODE
LOWsdks/python/src/honcho/utils/scopes.py20__all__ = [CODE
LOWsdks/python/src/honcho/utils/__init__.py20__all__ = [CODE
LOWsdks/python/src/honcho/utils/sse.py15logger = logging.getLogger(__name__)CODE
LOWsdks/python/src/honcho/http/__init__.py20__all__ = [CODE
LOWtests/conftest.py66logger = logging.getLogger(__name__)CODE
LOWtests/bench/locomo_common.py29logger = logging.getLogger(__name__)CODE
LOWtests/bench/beam_common.py18logger = logging.getLogger(__name__)CODE
LOWtests/bench/longmem_common.py16logger = logging.getLogger(__name__)CODE
LOWtests/bench/oolong_common.py23logger = logging.getLogger(__name__)CODE
LOWtests/unified/runner.py66logger = logging.getLogger(__name__)CODE
LOWtests/alembic/registry.py68__all__ = [CODE
LOWtests/alembic/__init__.py5__all__ = ["revisions"]CODE
LOWtests/alembic/scaffold.py129__all__ = [STRING
LOWtests/alembic/verifier.py144__all__ = ["MigrationVerifier"]CODE
LOWtests/alembic/revisions/__init__.py34__all__ = [CODE
LOWtests/telemetry/test_langfuse_exporter.py31 def set_attribute(self, key: str, value: object) -> None:CODE
LOWtests/telemetry/test_cross_agent_trace.py179 def set_attribute(self, *_a: object) -> None: ...CODE
LOWexamples/crewai/python/src/honcho_crewai/tools.py15logger = logging.getLogger(__name__)CODE
LOWexamples/crewai/python/src/honcho_crewai/__init__.py60__all__ = [CODE
LOWexamples/crewai/python/src/honcho_crewai/storage.py38logger = logging.getLogger(__name__)CODE
LOWexamples/zo/tools/__init__.py7__all__ = ["get_context", "query_memory", "save_memory"]CODE
LOWscripts/configure_embeddings.py49logger = logging.getLogger(__name__)CODE
LOW…ation/references/bot-frameworks/nanobot/honcho_tool.py58 def set_context(self, session_key: str) -> None:CODE
LOWhermes-plugin-honcho/_shared_query_rewrite.py14logger = logging.getLogger(__name__)CODE
LOWhermes-plugin-honcho/client.py44logger = logging.getLogger(__name__)CODE
LOWhermes-plugin-honcho/session.py23logger = logging.getLogger(__name__)CODE
LOWhermes-plugin-honcho/session.py638 def set_context_result(self, session_key: str, result: dict[str, str]) -> None:CODE
LOWhermes-plugin-honcho/__init__.py33logger = logging.getLogger(__name__)CODE
LOWhermes-plugin-honcho/cli.py176def _set_field(cfg: dict, key: str, value, echo: str) -> None:CODE
LOWhermes-plugin-honcho/cli.py487def _setup_identity_mapping(cfg: dict, hermes_host: dict, current_peer: str, new_host: bool) -> None:CODE
LOWhermes-plugin-honcho/cli.py626def _setup_local_auth(cfg: dict, hermes_host: dict) -> None:CODE
LOWhermes-plugin-honcho/cli.py760def _setup_tuning(cfg: dict, hermes_host: dict) -> None:CODE
LOWhermes-plugin-honcho/cli.py827def _setup_wizard(args) -> None:CODE
LOWhermes-plugin-honcho/oauth_flow.py28logger = logging.getLogger(__name__)CODE
119 more matches not shown…
Slop Phrases90 hits · 162 pts
SeverityFileLineSnippetContext
MEDIUM…test_cases/observation_isolation_between_sessions.json33 "content": "Let me know if you need help with the data analysis."CODE
LOWtests/unified/test_cases/longmem_ancash.json50 "content": "Here are a few more tips to keep in mind as you prepare your Seco de Cordero:\n\n1. It's best to uCODE
MEDIUM⚡tests/unified/test_cases/longmem_giftcard.json360 "content": "As an AI language model, I do not have personal opinions or beliefs, but I can provide informationCODE
MEDIUM⚡tests/unified/test_cases/longmem_giftcard.json370 "content": "As an AI language model, I do not have personal beliefs or opinions, but I can provide informationCODE
MEDIUM⚡tests/unified/test_cases/longmem_giftcard.json380 "content": "As an AI language model, I do not have personal beliefs or opinions, but I can provide informationCODE
MEDIUM⚡tests/unified/test_cases/longmem_giftcard.json1205 "content": "As an AI language model, I believe that NLP technology will continue to evolve and become even morCODE
MEDIUM⚡tests/unified/test_cases/longmem_giftcard.json1215 "content": "As an AI language model, I believe that NLP technology has made significant strides in mimicking hCODE
MEDIUM⚡tests/unified/test_cases/longmem_giftcard.json1225 "content": "As an AI language model, I believe that NLP can be trained to understand and recognize when a custCODE
MEDIUM⚡tests/unified/test_cases/longmem_giftcard.json1235 "content": "As an AI language model, I think that e-commerce companies should be mindful of potential ethical CODE
MEDIUM⚡tests/unified/test_cases/longmem_giftcard.json1245 "content": "As an AI language model, I would say that NLP technology has made significant strides in understanCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json1910 "content": "As an AI language model, I do not have the ability to see or experience anything in the physical wCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json2380 "content": "To incorporate haptic feedback into the capacitive touch-sensitive stalks, you can use a techniqueCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json2390 "content": "Yes, there are other ways to incorporate haptic feedback into your capacitive touch-sensitive stalCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json2624 "content": "As an AI language model, I don't have personal experiences or opinions. Nevertheless, here are somCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json2734 "content": "A fun birthday message or inside joke can make the gift even more special and personal. Here are sCODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json2784 "content": "As an AI language model, I don't have access to current data. However, according to the UK Census CODE
MEDIUMtests/unified/test_cases/longmem_giftcard.json2794 "content": "I apologize, but as an AI language model, I do not have access to real-time or updated data. HowevCODE
LOWtests/unified/test_cases/longmem_giftcard.json720 "content": "Seattle is a great destination! I'm happy to help you pack smart for your trip.\n\nFirstly, congraCODE
LOWtests/unified/test_cases/longmem_giftcard.json2230 "content": "For a sunrise shot, I would highly recommend Presque Isle State Park. You can capture the vibrant CODE
LOWtests/unified/test_cases/longmem_giftcard.json2250 "content": "Sure, here are some tips to take great sunrise photos:\n \n1. Scout the location beforehand and fiCODE
LOWtests/unified/test_cases/longmem_giftcard.json2594 "content": "You're welcome! It was my pleasure to help you. I'm glad I could assist you in exploring online coCODE
LOWtests/unified/test_cases/longmem_giftcard.json3569 "content": "The MCU movies are plenty to take in on their own.\n\nNow, about those snacks... I've got some MarCODE
LOWtests/unified/test_cases/longmem_giftcard.json3659 "content": "You're welcome! I'm glad I could help. Remember, everyone's body is different, so experiment with CODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json509 "content": "Here is how you can modify the code to create a real-time interactive candlestick chart:\n```\nimpCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json509 "content": "Here is how you can modify the code to create a real-time interactive candlestick chart:\n```\nimpCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json529 "content": "Here is the continued example:\n```\n# add a condition to check if the line is within the y-range CODE
LOW…cases/longmem_triple_e47becba_single-session-user.json829 "content": "Alex's grandfather's secret recipe sounds like a winner! A 24-hour dry rub marinade can make a hugCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json1059 "content": "As an AI language model, I haven\u2019t tried any of these flavor combinations personally, but I hCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json1139 "content": "Luka Doncic is indeed having an incredible season! The Dallas Mavericks' star is putting up MVP-caCODE
LOW…cases/longmem_triple_e47becba_single-session-user.json1524 "content": "Congratulations on redeeming your Ibotta rewards and getting a nice deposit into your PayPal accouCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json1574 "content": "Let's create a morning routine that works for you.\n\n**Regular Days (No Morning Meetings)**\n\n1.CODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json2109 "content": "A Monk's Armor Class (AC) is calculated using the following formula:\n\n10 + Dexterity modifier + CODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json2129 "content": "A 5th level Sorcerer can cast the 2nd level Druid spell Flame Blade by using the Sorcerer's SpellcCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json2733 "content": "As an AI language model, I do not have personal experiences, but I can give general information. \CODE
LOW…cases/longmem_triple_e47becba_single-session-user.json2953 "content": "Buon appetito! Italian cuisine is a great choice for a dinner party, and I'd be happy to help you CODE
LOW…cases/longmem_triple_e47becba_single-session-user.json3063 "content": "That's a great idea! The local tourism board might have information about upcoming craft fairs andCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json3298 "content": "I'd be happy to help you create a list to track your jewelry collection.\n\nHere's a suggested forCODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json3318 "content": "Let's add your mother's locket to the list.\n\n**Jewelry Inventory List**\n\n**Necklaces:**\n\n1. CODE
LOW…cases/longmem_triple_e47becba_single-session-user.json3588 "content": "That's amazing! Five Ruby-throated Hummingbirds at a time on your feeder is a great sight! You musCODE
LOW…cases/longmem_triple_e47becba_single-session-user.json3598 "content": "Bird photography is a fascinating aspect of birding! Capturing birds in flight can be challenging,CODE
MEDIUM…cases/longmem_triple_e47becba_single-session-user.json3668 "content": "As an AI language model built on language samples, I am not capable of having feelings, emotions oCODE
LOW…sts/unified/test_cases/longmem_ancash_directional.json50 "content": "Here are a few more tips to keep in mind as you prepare your Seco de Cordero:\n\n1. It's best to uCODE
LOW…/longmem_triple_7161e7e2_single-session-assistant.json44 "content": "Both #bookrecommendations and #bookrecs are popular hashtags, but I'd recommend using #bookrecs. ICODE
LOW…/longmem_triple_7161e7e2_single-session-assistant.json44 "content": "Both #bookrecommendations and #bookrecs are popular hashtags, but I'd recommend using #bookrecs. ICODE
LOW…/longmem_triple_7161e7e2_single-session-assistant.json64 "content": "That's a great idea! Using the same set of hashtags for all your posts can lead to a plateau in enCODE
MEDIUM⚡…/longmem_triple_7161e7e2_single-session-assistant.json234 "content": "As an AI language model, I cannot predict the future, but the recovery of the tourism industry wilCODE
MEDIUM⚡…/longmem_triple_7161e7e2_single-session-assistant.json244 "content": "As an AI language model, I completely agree with you. Traveling plays an essential role in promotiCODE
MEDIUM⚡…/longmem_triple_7161e7e2_single-session-assistant.json254 "content": "As an AI language model, I agree that sustainability is becoming increasingly crucial in the touriCODE
MEDIUM⚡…/longmem_triple_7161e7e2_single-session-assistant.json264 "content": "As an AI language model, I completely agree with you that sustainable tourism is the way forward. CODE
LOW…/longmem_triple_7161e7e2_single-session-assistant.json794 "content": "Sounds like you're planning a fun party! I'd be happy to help you with suggestions for popular spoCODE
MEDIUM…/longmem_triple_7161e7e2_single-session-assistant.json804 "content": "Kansas City, Missouri! Home of the Kansas City Chiefs!\n\nAs for your NFL playoff game, I think I CODE
LOW…/longmem_triple_7161e7e2_single-session-assistant.json1164 "content": "Packing wisely is crucial for a stress-free trip. Here are some specific packing tips and essentiaCODE
MEDIUM⚡…/longmem_triple_7161e7e2_single-session-assistant.json1509 "content": "What a great idea! Social media is a fantastic way to promote your charity bake sale and encourageCODE
LOW⚡…/longmem_triple_7161e7e2_single-session-assistant.json1509 "content": "What a great idea! Social media is a fantastic way to promote your charity bake sale and encourageCODE
LOW⚡…/longmem_triple_7161e7e2_single-session-assistant.json1509 "content": "What a great idea! Social media is a fantastic way to promote your charity bake sale and encourageCODE
MEDIUM…/longmem_triple_7161e7e2_single-session-assistant.json1769 "content": "As an AI language model, I do not have personal experiences, opinions, or emotions. However, studiCODE
LOW…/longmem_triple_7161e7e2_single-session-assistant.json1869 "content": "You're welcome! I'm thrilled to hear that you're excited to try out the texture mat technique. RemCODE
MEDIUM…/longmem_triple_7161e7e2_single-session-assistant.json2369 "content": "As an AI language model, I don't have any personal experience with failure, but I have been traineCODE
LOW…/longmem_triple_7161e7e2_single-session-assistant.json2429 "content": "Vegan quinoa salad is a fantastic option for lunch! Quinoa is a great source of protein, fiber, anCODE
MEDIUM…/longmem_triple_7161e7e2_single-session-assistant.json2529 "content": "Yes, there are many restaurants in Athlone now that offer gluten-free options for those with gluteCODE
30 more matches not shown…
Empty Error Handlers30 hits · 150 pts
SeverityFileLineSnippetContext
HIGHhoncho-cli/src/honcho_cli/config.py260except OSError:CODE
HIGHhoncho-cli/src/honcho_cli/commands/setup.py234except Exception:CODE
HIGHhoncho-cli/src/honcho_cli/commands/setup.py378except typer.Exit:CODE
HIGHhoncho-cli/src/honcho_cli/commands/setup.py164except typer.Exit:CODE
HIGHhoncho-cli/src/honcho_cli/commands/conclusion.py246except json.JSONDecodeError:CODE
HIGHsdks/python/src/honcho/http/client.py396except ValueError:CODE
HIGHsdks/python/src/honcho/http/client.py42except OSError:CODE
HIGHsdks/python/src/honcho/http/async_client.py366except ValueError:CODE
HIGHtests/conftest.py894except ImportError:CODE
HIGHtests/conftest.py936except ImportError:CODE
HIGHtests/bench/harness.py1203except KeyboardInterrupt:CODE
HIGHtests/bench/harness.py315except Exception:CODE
HIGHtests/bench/harness.py389except subprocess.TimeoutExpired:CODE
HIGHtests/bench/harness.py605except Exception:CODE
HIGHtests/bench/harness.py400except Exception:CODE
HIGHtests/bench/calculate_expected_events.py76except Exception:CODE
HIGHtests/bench/molecular.py562except json.JSONDecodeError:CODE
HIGHtests/bench/molecular.py572except json.JSONDecodeError:CODE
HIGHtests/bench/molecular.py580except json.JSONDecodeError:CODE
HIGHtests/bench/oolong_common.py483except ValueError:CODE
HIGHtests/utils/test_filter.py405except FilterError:CODE
HIGHtests/telemetry/test_embedding_call_event.py98except RuntimeError:CODE
HIGHexamples/granola/honcho_granola.py399except (json.JSONDecodeError, TypeError):CODE
HIGHhermes-plugin-honcho/client.py158except (ValueError, TypeError):CODE
HIGHhermes-plugin-honcho/cli.py579except ImportError:CODE
HIGHhermes-plugin-honcho/cli.py1059except Exception:CODE
HIGHhermes-plugin-honcho/client_cache.py131except Exception:CODE
HIGHsrc/utils/filter.py992except ValueError:CODE
HIGHsrc/utils/json_parser.py331except json.JSONDecodeError:CODE
HIGHsrc/reconciler/scheduler.py231except TimeoutError:CODE
Cross-File Repetition30 hits · 150 pts
SeverityFileLineSnippetContext
HIGHsdks/python/src/honcho/client.py0get configuration from the server and update the cache. returns: a peerconfig object containing the configuration settinSTRING
HIGHsdks/python/src/honcho/session.py0get configuration from the server and update the cache. returns: a peerconfig object containing the configuration settinSTRING
HIGHsdks/python/src/honcho/peer.py0get configuration from the server and update the cache. returns: a peerconfig object containing the configuration settinSTRING
HIGHsdks/python/src/honcho/client.py0set configuration on the server and update the cache. args: configuration: a peerconfig object with configuration settinSTRING
HIGHsdks/python/src/honcho/session.py0set configuration on the server and update the cache. args: configuration: a peerconfig object with configuration settinSTRING
HIGHsdks/python/src/honcho/peer.py0set configuration on the server and update the cache. args: configuration: a peerconfig object with configuration settinSTRING
HIGHtests/bench/longmem_baseline.py0generate a comprehensive json summary of test results.STRING
HIGHtests/bench/locomo_common.py0generate a comprehensive json summary of test results.STRING
HIGHtests/bench/beam_common.py0generate a comprehensive json summary of test results.STRING
HIGHtests/scripts/test_configure_embeddings.py0select c.relname as table_name, a.atttypmod as typmod from pg_attribute a join pg_class c on a.attrelid = c.oid join pg_STRING
HIGHscripts/configure_embeddings.py0select c.relname as table_name, a.atttypmod as typmod from pg_attribute a join pg_class c on a.attrelid = c.oid join pg_STRING
HIGHsrc/startup/embedding_validator.py0select c.relname as table_name, a.atttypmod as typmod from pg_attribute a join pg_class c on a.attrelid = c.oid join pg_STRING
HIGH…05486ce795d5_make_session_name_required_on_messages.py0insert into "{schema}"."workspaces" ("id", "name") values (:workspace_id, :workspace_name)STRING
HIGH…test_bb6fb3a7a643_add_message_seq_in_session_column.py0insert into "{schema}"."workspaces" ("id", "name") values (:workspace_id, :workspace_name)STRING
HIGH…st_110bdf470272_rename_deriver_disabled_to_deriver_.py0insert into "{schema}"."workspaces" ("id", "name") values (:workspace_id, :workspace_name)STRING
HIGH…t_564ba40505c5_add_session_name_column_to_documents.py0insert into "{schema}"."workspaces" ("id", "name") values (:workspace_id, :workspace_name)STRING
HIGH…05486ce795d5_make_session_name_required_on_messages.py0insert into "{schema}"."peers" ("id", "name", "workspace_name") values (:peer_id, :peer_name, :workspace_name)STRING
HIGH…test_bb6fb3a7a643_add_message_seq_in_session_column.py0insert into "{schema}"."peers" ("id", "name", "workspace_name") values (:peer_id, :peer_name, :workspace_name)STRING
HIGH…st_110bdf470272_rename_deriver_disabled_to_deriver_.py0insert into "{schema}"."peers" ("id", "name", "workspace_name") values (:peer_id, :peer_name, :workspace_name)STRING
HIGH…t_564ba40505c5_add_session_name_column_to_documents.py0insert into "{schema}"."peers" ("id", "name", "workspace_name") values (:peer_id, :peer_name, :workspace_name)STRING
HIGHtests/routes/test_workspaces.py0paged reverse listing returns newest-first across consecutive pages.STRING
HIGHtests/routes/test_sessions.py0paged reverse listing returns newest-first across consecutive pages.STRING
HIGHtests/routes/test_peers.py0paged reverse listing returns newest-first across consecutive pages.STRING
HIGHsrc/vector_store/turbopuffer.py0delete multiple vectors from chromadb. args: namespace: the namespace containing the vectors ids: list of vector identifSTRING
HIGHsrc/vector_store/__init__.py0delete multiple vectors from chromadb. args: namespace: the namespace containing the vectors ids: list of vector identifSTRING
HIGHsrc/vector_store/chroma.py0delete multiple vectors from chromadb. args: namespace: the namespace containing the vectors ids: list of vector identifSTRING
HIGHsrc/crud/session.py0fetch a workspace from the database and return as a plain dict for safe caching.STRING
HIGHsrc/crud/peer.py0fetch a workspace from the database and return as a plain dict for safe caching.STRING
HIGHsrc/crud/collection.py0fetch a workspace from the database and return as a plain dict for safe caching.STRING
HIGHsrc/crud/workspace.py0fetch a workspace from the database and return as a plain dict for safe caching.STRING
Deep Nesting138 hits · 119 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/src/honcho_cli/output.py59CODE
LOWhoncho-cli/src/honcho_cli/local/env.py108CODE
LOWhoncho-cli/src/honcho_cli/local/docker.py53CODE
LOWhoncho-cli/src/honcho_cli/local/docker.py207CODE
LOWhoncho-cli/src/honcho_cli/local/docker.py392CODE
LOWhoncho-cli/src/honcho_cli/local/setup.py459CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py224CODE
LOWsdks/python/src/honcho/utils/sse.py148CODE
LOWsdks/python/src/honcho/http/client.py109CODE
LOWsdks/python/src/honcho/http/async_client.py77CODE
LOWsdks/python/src/honcho/http/exceptions.py134CODE
LOWtests/conftest.py824CODE
LOWtests/conftest.py838CODE
LOWtests/bench/locomo_summary.py221CODE
LOWtests/bench/harness.py544CODE
LOWtests/bench/harness.py580CODE
LOWtests/bench/harness.py828CODE
LOWtests/bench/harness.py968CODE
LOWtests/bench/locomo.py271CODE
LOWtests/bench/locomo.py325CODE
LOWtests/bench/runner_common.py291CODE
LOWtests/bench/runner_common.py362CODE
LOWtests/bench/runner_common.py389CODE
LOWtests/bench/runner_common.py596CODE
LOWtests/bench/locomo_common.py371CODE
LOWtests/bench/beam_common.py124CODE
LOWtests/bench/beam_common.py396CODE
LOWtests/bench/locomo_baseline.py157CODE
LOWtests/bench/coverage.py430CODE
LOWtests/bench/calculate_expected_events.py190CODE
LOWtests/bench/molecular.py1060CODE
LOWtests/bench/molecular.py483CODE
LOWtests/bench/molecular.py586CODE
LOWtests/bench/molecular.py672CODE
LOWtests/bench/molecular.py763CODE
LOWtests/bench/molecular.py855CODE
LOWtests/bench/beam.py188CODE
LOWtests/bench/beam.py233CODE
LOWtests/bench/longmem_common.py139CODE
LOWtests/bench/oolong_common.py144CODE
LOWtests/bench/oolong_common.py227CODE
LOWtests/bench/oolong_common.py494CODE
LOWtests/bench/longmem.py243CODE
LOWtests/bench/longmem.py389CODE
LOWtests/unified/runner.py351CODE
LOWtests/unified/runner.py540CODE
LOWtests/unified/runner.py726CODE
LOWtests/unified/runner.py860CODE
LOWtests/unified/runner.py1011CODE
LOWtests/utils/test_filter.py412CODE
LOWtests/vector_store/test_chroma_http.py32CODE
LOWtests/deriver/test_scope_backfill.py423CODE
LOWtests/deriver/test_scope_backfill.py473CODE
LOWtests/deriver/test_queue_processing.py936CODE
LOWtests/alembic/verifier.py125CODE
LOWtests/telemetry/conftest.py513CODE
LOWtests/telemetry/conftest.py519CODE
LOWtests/routes/test_scope_route_policy.py645CODE
LOWsandbox/inject_conclusions.py154CODE
LOWexamples/granola/honcho_granola.py169CODE
78 more matches not shown…
Redundant / Tautological Comments39 hits · 60 pts
SeverityFileLineSnippetContext
LOWsdks/python/src/honcho/utils/file_upload.py71 # Read the file contentCOMMENT
LOWtests/conftest.py917 # Check if the original function is asyncCOMMENT
LOWtests/bench/harness.py608 # Check if the process has died and show outputCOMMENT
LOWtests/bench/harness.py911 # Check if any process has diedSTRING
LOWtests/bench/beam_common.py139 # Check if this is a 10M conversation with plan-based structureCOMMENT
LOW⚡tests/bench/coverage.py1152 # Check if passes both thresholdsCOMMENT
LOWtests/bench/oolong_common.py338 # Check if there's a 4th part with labelCOMMENT
LOWtests/bench/oolong_common.py387 # Check if this is a new speaker turn (must start with speaker label)COMMENT
LOWtests/bench/oolong_common.py486 # Check if it contains commas (list case)COMMENT
LOWtests/integration/test_representation.py368 # Check if workspace already exists to avoid uniqueness constraintCOMMENT
LOWtests/integration/test_telemetry.py83 # Check if we should failCOMMENT
LOW⚡tests/unified/runner.py366 # Check if boto3 can access credentials (either from environment or OIDC)COMMENT
LOWtests/sdk_typescript/test_sdk.py44 # Print output for debuggingCOMMENT
LOWtests/sdk/test_client.py47 # Check if there are more pagesCOMMENT
LOWtests/deriver/test_queue_processing.py1273 # Add items to queueCOMMENT
LOWtests/deriver/test_queue_processing.py1394 # Add items to queueCOMMENT
LOWscripts/update_version.py167 # Check if this is a section headerCOMMENT
LOWscripts/run_alembic_tests.py73 # Check if file is under tests/alembic (including subdirectories)COMMENT
LOWsrc/embedding_client.py532 # Check if adding this chunk would exceed limitsCOMMENT
LOWsrc/routers/workspaces.py255 # Check if dreams are enabledCOMMENT
LOWsrc/utils/search.py240 # Check if message was created during any of the peer's active windows in this sessionCOMMENT
LOWsrc/utils/search.py269 # Check if query contains special characters that FTS might not handle wellCOMMENT
LOWsrc/utils/summarizer.py838 # Check if we have a valid summary with a message_idCOMMENT
LOWsrc/utils/filter.py628 # Check if the column exists on the modelCOMMENT
LOWsrc/utils/filter.py654 # Check if this is a comparison operators dict by looking for known operatorsCOMMENT
LOWsrc/utils/agent_tools.py1454 # Check if peer card creation is disabled via configurationCOMMENT
LOWsrc/vector_store/turbopuffer.py251 # Check if value is a dict with "in" operatorCOMMENT
LOWsrc/vector_store/__init__.py271 # Check if an instance was ever createdCOMMENT
LOWsrc/crud/webhook.py45 # Check if webhook already exists for this workspaceCOMMENT
LOW⚡src/crud/session.py1441 # Check if a SessionPeer entry already existsCOMMENT
LOW⚡src/crud/session.py1451 # Check if this update would exceed observer limitsCOMMENT
LOW⚡src/crud/session.py1453 # Check if peer is already an observerCOMMENT
LOWsrc/crud/session.py256 # Check if session already existsCOMMENT
LOWsrc/crud/session.py459 # Check if session is active (unless include_inactive is True)COMMENT
LOWsrc/crud/workspace.py110 # Check if workspace already existsCOMMENT
LOWsrc/deriver/enqueue.py343 # Check if the sender should be observed based on peer configurationCOMMENT
LOWsrc/deriver/queue_manager.py514 # Check if we have capacity before querying. There is work to doCOMMENT
LOWsrc/reconciler/scheduler.py253 # Check if task is already in progressCOMMENT
LOWsrc/reconciler/scheduler.py267 # Check if there's already a pending taskCOMMENT
Cross-Language Confusion10 hits · 60 pts
SeverityFileLineSnippetContext
HIGHtests/bench/oolong_common.py311 Date: YYYY-MM-DD || User: user_XYZ || Instance: <text> [label]STRING
HIGHtests/llm/test_backends/test_openai.py1292 assert result.content is None # provider null, not a parsed modelCODE
HIGHtests/live_llm/test_live_structured_output_unions.py10union-ish construct the converter supports (anyOf with null, a type list, anSTRING
HIGH⚡tests/utils/test_filter.py284 """`NOT [{col: null}]` and `{col: {ne: null}}` must select the same rows.STRING
HIGHscripts/generate_openapi.py40 + " cd docs && bun run openapi"CODE
HIGHsrc/utils/schema_conversion.py90 strings/integers/booleans/null, ``anyOf``/``oneOf`` unions (aSTRING
HIGH⚡src/utils/filter.py640 # this has to short-circuit or `{"col": null}` raises instead of matching theCOMMENT
HIGH⚡src/utils/filter.py641 # rows it names. Keeps bare null agreeing with `{"ne": null}` (IS NOT NULL)COMMENT
HIGH⚡src/utils/filter.py642 # and with `NOT [{"col": null}]`.COMMENT
HIGHsrc/utils/filter.py896 f"Operator '{operator}' does not accept null. Use {{\"ne\": null}} for a not-null check, or null on CODE
Magic Placeholder Names10 hits · 50 pts
SeverityFileLineSnippetContext
HIGHhoncho-cli/src/honcho_cli/local/env.py44 "your-api-key-here",CODE
HIGHsdks/python/README.md17client = Honcho(api_key="your-api-key")CODE
HIGHsdks/python/README.md99 client = Honcho(api_key="your-api-key")CODE
HIGHsdks/python/README.md140export HONCHO_API_KEY="your-api-key"CODE
HIGHsdks/python/README.md149 api_key="your-api-key",CODE
HIGHsdks/python/src/honcho/__init__.py12 client = Honcho(api_key="your-api-key")STRING
HIGHsdks/typescript/src/client.ts76 * apiKey: 'your-api-key',COMMENT
HIGHsandbox/sandbox.sh175 if grep -Eq '^\s*LLM_[A-Z]+_API_KEY=(sk-replace-me|your-api-key-here)\s*$' "$HERE/real.env"; thenCODE
HIGHexamples/zo/README.md29HONCHO_API_KEY=your-api-key-hereCODE
HIGHexamples/zo/SKILL.md22 HONCHO_API_KEY=your-api-keyCODE
Structural Annotation Overuse29 hits · 47 pts
SeverityFileLineSnippetContext
LOWkilo-honcho/README.md9### Step 1: Get Your Honcho API KeyCOMMENT
LOWkilo-honcho/README.md15### Step 2: Install the PluginCOMMENT
LOWkilo-honcho/README.md27### Step 3: Run Setup in KiloCOMMENT
LOWexamples/crewai/python/examples/tools_example.py31 # Step 1: Setup session with conversation historyCOMMENT
LOWexamples/crewai/python/examples/tools_example.py56 # Step 2: Create Honcho toolsCOMMENT
LOWexamples/crewai/python/examples/tools_example.py72 # Step 3: Create agent with toolsCOMMENT
LOWexamples/crewai/python/examples/tools_example.py88 # Step 4: Create taskCOMMENT
LOWexamples/crewai/python/examples/tools_example.py111 # Step 5: ExecuteCOMMENT
LOW⚡scripts/configure_embeddings.py198 # Step 1: lock both tables for the duration of the transaction.COMMENT
LOW⚡scripts/configure_embeddings.py204 # Step 2: population check.COMMENT
LOW⚡scripts/configure_embeddings.py217 # Step 3: snapshot + drop HNSW indices.COMMENT
LOW⚡scripts/configure_embeddings.py224 # Step 4: ALTER columns.COMMENT
LOW⚡scripts/configure_embeddings.py240 # Step 5: recreate HNSW indices from the saved definitions.COMMENT
LOWskills/honcho-integration/references/bot-frameworks.md41### Step 1: Add dependencyCOMMENT
LOWskills/honcho-integration/references/bot-frameworks.md70### Step 2: Add config schemaCOMMENT
LOWskills/honcho-integration/references/bot-frameworks.md106### Step 3: Create the honcho packageCOMMENT
LOWskills/honcho-integration/references/bot-frameworks.md134### Step 4: Wire into the agent loopCOMMENT
LOWskills/honcho-integration/references/bot-frameworks.md169### Step 5: Pass config through CLICOMMENT
LOWskills/honcho-integration/references/bot-frameworks.md173### Step 6: Migration supportCOMMENT
LOWsrc/utils/summarizer.py556 # Step 3: Save to database with new transactionCOMMENT
LOWsrc/deriver/queue_manager.py867 # Step 1: Verify worker still owns the work_unit_key.COMMENT
LOWsrc/deriver/queue_manager.py879 # Step 2: Build a single SQL query that:COMMENT
LOWsrc/reconciler/sync_vectors.py148 # Step 1: pick distinct message_ids with at least one eligible pending row,COMMENT
LOWsrc/reconciler/sync_vectors.py170 # Step 2: claim all pending rows for those messages. Skip rows anotherCOMMENT
LOWsrc/reconciler/sync_vectors.py315 # Step 1: Re-embed documents missing embeddings in postgres (cases 2 & 3)COMMENT
LOWsrc/reconciler/sync_vectors.py354 # Step 2: Build vector records and upsert to external store (all cases)COMMENT
LOWsrc/reconciler/sync_vectors.py447 # Step 1: Re-embed message embeddings missing vectors in postgres (cases 2 & 3)COMMENT
LOWsrc/reconciler/sync_vectors.py516 # Step 2: Compute chunk positions for vector IDsCOMMENT
LOWsrc/reconciler/sync_vectors.py530 # Step 3: Build vector records and upsert to external store (all cases)COMMENT
AI Slop Vocabulary23 hits · 47 pts
SeverityFileLineSnippetContext
LOWtests/conftest.py553 # Mock the decorator to just return the functionCOMMENT
MEDIUMtests/test_workspace_chat.py49 """Create comprehensive test data with multiple peers and observations.STRING
MEDIUMtests/test_advanced_filters.py2108 """Test comprehensive edge cases for wildcard behavior"""STRING
MEDIUMtests/bench/harness.py105 # Extract DB credentials from the compose file so the harness stays in syncCOMMENT
MEDIUMtests/bench/harness.py208 # The harness Redis is standalone; a cluster client cannot talk to it.COMMENT
MEDIUMtests/bench/harness.py957 # Create all harness instancesSTRING
MEDIUMtests/bench/harness.py1183 # Create and run the harness or poolSTRING
MEDIUMtests/bench/longmem_baseline.py441 """Generate a comprehensive JSON summary of test results."""STRING
MEDIUMtests/bench/locomo_common.py548 """Generate a comprehensive JSON summary of test results."""STRING
MEDIUMtests/bench/beam_common.py597 """Generate a comprehensive JSON summary of test results."""STRING
MEDIUM⚡tests/unified/runner.py357 """Save comprehensive test results and reasoning traces to S3."""STRING
MEDIUM⚡tests/unified/runner.py377 # Create comprehensive results objectCOMMENT
MEDIUMtests/unified/runner.py499 # passed explicitly). The harness sets no AUTH vars of its own, so auth isCOMMENT
MEDIUMtests/unified/runner.py628 # Flush is process-wide, not per-step: the harness starts theCOMMENT
MEDIUMtests/unified/runner.py630 # on the token threshold. See tests/bench/harness.py.COMMENT
MEDIUMtests/unified/runner.py1017 # Setup .env for harnessCOMMENT
MEDIUM⚡tests/utils/test_agent_tools.py66 """Create comprehensive test data for agent tools testing.STRING
MEDIUMsandbox/sandbox.sh4# seconds, so harness testing stops depending on machine state.COMMENT
MEDIUMsandbox/compose.yml1# Honcho sandbox — an ephemeral, seeded stack for harness integration testing.COMMENT
MEDIUMsrc/routers/sessions.py472 # TODO: Update crud.clone_session to work with new paradigmCOMMENT
MEDIUMsrc/utils/json_parser.py356 """Main function with comprehensive repair strategies"""STRING
MEDIUMsrc/utils/json_parser.py364 # Try comprehensive repairCOMMENT
LOWsrc/crud/session.py1242 # If no peers to add, skip the insert and just return existing active session peersCOMMENT
AI Structural Patterns50 hits · 46 pts
SeverityFileLineSnippetContext
LOWhoncho-cli/src/honcho_cli/commands/session.py224CODE
LOWhoncho-cli/src/honcho_cli/commands/session.py569CODE
LOWhoncho-cli/src/honcho_cli/commands/message.py26CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py130CODE
LOWhoncho-cli/src/honcho_cli/commands/peer.py323CODE
LOWhoncho-cli/src/honcho_cli/commands/conclusion.py75CODE
LOWhoncho-cli/src/honcho_cli/commands/conclusion.py122CODE
LOWhoncho-cli/src/honcho_cli/commands/stack.py136CODE
LOWsdks/python/src/honcho/client.py188CODE
LOWsdks/python/src/honcho/session.py560CODE
LOWsdks/python/src/honcho/peer.py328CODE
LOWsdks/python/src/honcho/peer.py344CODE
LOWsdks/python/src/honcho/peer.py445CODE
LOWsdks/python/src/honcho/peer.py771CODE
LOWsdks/python/src/honcho/aio.py874CODE
LOWsdks/python/src/honcho/aio.py890CODE
LOWsdks/python/src/honcho/aio.py945CODE
LOWsdks/python/src/honcho/aio.py1133CODE
LOWsdks/python/src/honcho/aio.py1498CODE
LOWtests/integration/test_telemetry.py65CODE
LOWtests/utils/test_evidence.py25CODE
LOWtests/telemetry/test_langfuse_exporter.py87CODE
LOWtests/telemetry/test_langfuse_exporter.py146CODE
LOWtests/telemetry/conftest.py480CODE
LOWhermes-plugin-honcho/oauth_flow.py334CODE
LOWsrc/routers/sessions.py713CODE
LOWsrc/routers/peers.py664CODE
LOWsrc/dialectic/core.py71CODE
LOWsrc/llm/backend.py57CODE
LOWsrc/llm/backend.py74CODE
LOWsrc/llm/api.py52CODE
LOWsrc/llm/api.py84CODE
LOWsrc/llm/api.py116CODE
LOWsrc/llm/api.py147CODE
LOWsrc/llm/executor.py262CODE
LOWsrc/llm/executor.py286CODE
LOWsrc/llm/executor.py310CODE
LOWsrc/llm/executor.py333CODE
LOWsrc/llm/backends/gemini.py61CODE
LOWsrc/llm/backends/gemini.py134CODE
LOWsrc/llm/backends/openai.py156CODE
LOWsrc/llm/backends/openai.py276CODE
LOWsrc/llm/backends/anthropic.py33CODE
LOWsrc/llm/backends/anthropic.py122CODE
LOWsrc/utils/agent_tools.py2346CODE
LOWsrc/crud/representation.py641CODE
LOWsrc/crud/representation.py241CODE
LOWsrc/telemetry/emitter.py510CODE
LOWsrc/telemetry/emitter.py570CODE
LOWsrc/telemetry/emitter.py113CODE
Modern AI Meta-Vocabulary14 hits · 41 pts
SeverityFileLineSnippetContext
MEDIUMtests/conftest.py770 # Note: critical_analysis_call was removed as the deriver now uses agentic approachCOMMENT
MEDIUMtests/deriver/test_prompts.py127 # Facts that leaked from earlier versions of the scaffold.COMMENT
MEDIUMtests/telemetry/test_summary_v2_fields.py63 # message + prev_summary + scaffold ≈ input_tokens (small drift fromCOMMENT
MEDIUMtests/telemetry/test_representation_v2_fields.py89 # And the breakdown adds up: extra + scaffold + queued ≈ total provider inputCOMMENT
MEDIUMexamples/zo/SKILL.md116# 4. Get context window for next LLM callCOMMENT
MEDIUMhermes-plugin-honcho/session_context.py229 q = (query or "").strip()[:4000] # Honcho caps query length for the embedding model.CODE
MEDIUMsrc/utils/summarizer.py544 # Compute scaffold tokens up front (cheap + idempotent) so both theCOMMENT
MEDIUMsrc/schemas/configuration.py21 # peer-card tools. Used for event-driven refreshes (scope membershipCOMMENT
MEDIUMsrc/deriver/deriver.py311 # silent estimator failures (provider tokenization drift, scaffold helperCOMMENT
MEDIUMsrc/telemetry/reasoning_traces.py89 # Use messages for multi-turn/agentic calls, otherwise use promptCOMMENT
MEDIUMsrc/telemetry/emitter.py252 # agentic trace is either fully kept or fully dropped — never aCOMMENT
MEDIUMsrc/telemetry/events/trace.py82 # Operator-written custom instructions included in the context window.COMMENT
MEDIUMsrc/telemetry/events/trace.py178 # Tags Honcho-authored content (system prompts, scaffold) so tenant-facingCOMMENT
MEDIUMsrc/telemetry/events/agent.py242 # rollup vs. the new messages vs. the scaffold/instructions" withoutCOMMENT
Verbosity Indicators20 hits · 34 pts
SeverityFileLineSnippetContext
LOWexamples/crewai/python/examples/tools_example.py31 # Step 1: Setup session with conversation historyCOMMENT
LOWexamples/crewai/python/examples/tools_example.py56 # Step 2: Create Honcho toolsCOMMENT
LOWexamples/crewai/python/examples/tools_example.py72 # Step 3: Create agent with toolsCOMMENT
LOWexamples/crewai/python/examples/tools_example.py88 # Step 4: Create taskCOMMENT
LOWexamples/crewai/python/examples/tools_example.py111 # Step 5: ExecuteCOMMENT
LOW⚡scripts/configure_embeddings.py198 # Step 1: lock both tables for the duration of the transaction.COMMENT
LOW⚡scripts/configure_embeddings.py204 # Step 2: population check.COMMENT
LOW⚡scripts/configure_embeddings.py217 # Step 3: snapshot + drop HNSW indices.COMMENT
LOW⚡scripts/configure_embeddings.py224 # Step 4: ALTER columns.COMMENT
LOW⚡scripts/configure_embeddings.py240 # Step 5: recreate HNSW indices from the saved definitions.COMMENT
LOWsrc/utils/summarizer.py556 # Step 3: Save to database with new transactionCOMMENT
LOWsrc/deriver/queue_manager.py867 # Step 1: Verify worker still owns the work_unit_key.COMMENT
LOWsrc/deriver/queue_manager.py879 # Step 2: Build a single SQL query that:COMMENT
LOWsrc/reconciler/sync_vectors.py148 # Step 1: pick distinct message_ids with at least one eligible pending row,COMMENT
LOWsrc/reconciler/sync_vectors.py170 # Step 2: claim all pending rows for those messages. Skip rows anotherCOMMENT
LOWsrc/reconciler/sync_vectors.py315 # Step 1: Re-embed documents missing embeddings in postgres (cases 2 & 3)COMMENT
LOWsrc/reconciler/sync_vectors.py354 # Step 2: Build vector records and upsert to external store (all cases)COMMENT
LOWsrc/reconciler/sync_vectors.py447 # Step 1: Re-embed message embeddings missing vectors in postgres (cases 2 & 3)COMMENT
LOWsrc/reconciler/sync_vectors.py516 # Step 2: Compute chunk positions for vector IDsCOMMENT
LOWsrc/reconciler/sync_vectors.py530 # Step 3: Build vector records and upsert to external store (all cases)COMMENT
Over-Commented Block37 hits · 32 pts
SeverityFileLineSnippetContext
LOWalembic.ini1# A generic, single database configuration.COMMENT
LOWalembic.ini21# Any required deps can installed by adding `alembic[tz]` to the pip requirementsCOMMENT
LOWalembic.ini41# The path separator used here should be the separator specified by "version_path_separator" below.COMMENT
LOWalembic.ini61# are written from script.py.makoCOMMENT
LOWtests/deriver/test_deriver_processing.py681 # ) -> None:COMMENT
LOWtests/deriver/test_deriver_processing.py701 # deductive=[],COMMENT
LOWtests/deriver/test_deriver_processing.py721 # workspace_name=session.workspace_name,COMMENT
LOWtests/deriver/test_deriver_processing.py741 # observed=alice.name,COMMENT
LOWtests/routes/test_scope_route_policy.py101 reason: str = ""COMMENT
LOWsandbox/sandbox.sh101# free rather than forcing a reseed.COMMENT
LOWsandbox/sandbox.sh201}COMMENT
LOWsandbox/compose.real.yml1# Provider overlay: a real, configured model provider.COMMENT
LOWsandbox/compose.yml1# Honcho sandbox — an ephemeral, seeded stack for harness integration testing.COMMENT
LOWsandbox/compose.yml21COMMENT
LOW.github/workflows/issue-gate.yml1name: Issue GateCOMMENT
LOW.github/workflows/pr-sweeper.yml1name: PR SweeperCOMMENT
LOWsrc/config.py1281 FLUSH_THRESHOLD: Annotated[int, Field(default=50, gt=0, le=1000)] = 50COMMENT
LOWsrc/config.py1301 # aggregates carry totals; detail events are best-effort), but consumersCOMMENT
LOWsrc/security.py241 if jwt_params.p is not None:COMMENT
LOWsrc/mock_provider/schemas.py61 # union keeps list[str] and list[int] apart instead of coercing one to theCOMMENT
LOWsrc/llm/types.py81 parent_span_id: str | None = NoneCOMMENT
LOWsrc/llm/types.py101 # Source work, distinct from messages retrieved later by agent tools.COMMENT
LOWsrc/llm/api.py321 def _trace_stop_seqs() -> list[str] | None:COMMENT
LOWsrc/llm/executor.py381 reasoning_effort=reasoning_effort,COMMENT
LOWsrc/cache/client.py41#COMMENT
LOWsrc/cache/client.py81SafeRedisCluster.__aenter__ = _safe_cluster_initializeCOMMENT
LOWsrc/cache/client.py101# request handling instead of degrading.COMMENT
LOWsrc/utils/representation.py1from collections.abc import SequenceCOMMENT
LOWsrc/utils/agent_tools.py2661 when the query is empty rather than 0 (which could be confused with aCOMMENT
LOWsrc/dreamer/orchestrator.py221COMMENT
LOWsrc/crud/session.py1301 ),COMMENT
LOWsrc/crud/workspace.py381COMMENT
LOWsrc/deriver/queue_manager.py1061 #COMMENT
LOWsrc/telemetry/emitter.py241 """COMMENT
LOWsrc/telemetry/prometheus/metrics.py541 functions in src/db.py, so an auditor should not read them as forgotten.COMMENT
LOWsrc/telemetry/prometheus/metrics.py561 # Multi-instance safety splits the metrics here into three buckets:COMMENT
LOWsrc/telemetry/events/__init__.py141 # LifecycleCOMMENT
Fake / Example Data5 hits · 5 pts
SeverityFileLineSnippetContext
LOWtests/unified/test_cases/config_summary_control.json70 "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed consectetur elit id tellus interdum, CODE
LOWtests/unified/test_cases/config_summary_control.json70 "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed consectetur elit id tellus interdum, CODE
LOW…ied/test_cases/config_summary_control_deriver_off.json69 "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed consectetur elit id tellus interdum, CODE
LOW…ied/test_cases/config_summary_control_deriver_off.json69 "content": "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed consectetur elit id tellus interdum, CODE
LOWsrc/mock_provider/schema_gen.py44 "placeholder",CODE
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMtests/llm/test_telemetry_llm_call.py592CODE