Hindsight: Agent Memory That Learns
This report summarizes scanner evidence for vectorize-io/hindsight, a Python project with 48,119 GitHub stars. SynthScan examined 1,140,646 lines of code across 4210 source files, recording 19749 pattern matches distributed across 26 syntactic categories. The legacy adjusted pattern signal is 28.3 (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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 12638 finding(s).
Are imports declared and package/API names verified? 2417 finding(s).
Are wrappers, guards, and repeated structures necessary? 15805 finding(s).
Which changes need focused human review? 19749 finding(s).
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.
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.
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.
The scanner identified 19749 distinct pattern matches across 26 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hindsight-all/tests/test_server_integration.py | 62 | def test_server_context_manager_basic_workflow(client): | CODE |
| LOW | hindsight-all/tests/test_server_integration.py | 186 | def test_server_manual_start_stop(client): | CODE |
| LOW | hindsight-all/tests/test_server_integration.py | 217 | def test_server_with_client_context_manager(client): | CODE |
| LOW⚡ | hindsight-all/tests/test_embedded_namespaces.py | 38 | def test_mental_models_list_ensures_daemon_started(embedded_client): | CODE |
| LOW⚡ | hindsight-all/tests/test_embedded_namespaces.py | 52 | def test_directives_list_ensures_daemon_started(embedded_client): | CODE |
| LOW⚡ | hindsight-all/tests/test_embedded_namespaces.py | 66 | def test_memories_list_ensures_daemon_started(embedded_client): | CODE |
| LOW⚡ | hindsight-all/tests/test_embedded_namespaces.py | 80 | def test_multiple_calls_ensure_daemon_each_time(embedded_client): | CODE |
| LOW⚡ | hindsight-all/tests/test_embedded_namespaces.py | 106 | def test_daemon_restart_handling(embedded_client): | CODE |
| LOW | hindsight-all/tests/test_embedded_namespaces.py | 20 | def test_banks_create_ensures_daemon_started(embedded_client): | CODE |
| LOW | hindsight-all/tests/test_embedded_namespaces.py | 132 | def test_ensure_started_calls_manager(embedded_client): | CODE |
| LOW | hindsight-all/tests/test_embedded_namespaces.py | 159 | def test_namespace_singleton_behavior(embedded_client): | CODE |
| LOW | hindsight-all/tests/test_embedded_config.py | 93 | def test_nothing_is_forwarded_when_nothing_is_specified(temp_home): | CODE |
| LOW | hindsight-all/tests/test_embedded_config.py | 97 | def test_explicitly_passed_settings_are_forwarded(temp_home): | CODE |
| LOW⚡ | hindsight-all/tests/test_embedded_config.py | 116 | def test_empty_api_key_is_forwarded_as_an_override(temp_home): | CODE |
| LOW⚡ | hindsight-all/tests/test_embedded_config.py | 125 | def test_idle_timeout_zero_is_forwarded(temp_home): | CODE |
| LOW⚡ | hindsight-all/tests/test_embedded_config.py | 130 | def test_omitted_key_inherits_the_parent_environment(temp_home, monkeypatch): | CODE |
| LOW⚡ | hindsight-all/tests/test_embedded_config.py | 139 | def test_omitted_settings_inherit_the_profile_env(temp_home, monkeypatch): | CODE |
| LOW | hindsight-all/tests/test_embedded_config.py | 165 | def test_explicit_empty_key_overrides_the_parent_environment(temp_home, monkeypatch): | CODE |
| LOW | hindsight-all/tests/test_embedded_config.py | 174 | def test_explicit_settings_still_win_over_the_profile(temp_home, monkeypatch): | CODE |
| LOW | hindsight-all/tests/test_cleanup_timeout.py | 15 | def test_cleanup_completes_when_lock_held(): | CODE |
| LOW | hindsight-all/tests/test_embedded.py | 74 | def test_embedded_context_manager(llm_config): | CODE |
| LOW | hindsight-all/tests/test_embedded.py | 99 | def test_embedded_complete_workflow(llm_config): | CODE |
| LOW | hindsight-all/tests/test_embedded.py | 188 | def test_embedded_server_reuse(llm_config): | CODE |
| LOW | hindsight-all/tests/test_embedded.py | 221 | def test_embedded_method_proxying(llm_config): | CODE |
| LOW | hindsight-all/tests/test_embedded.py | 272 | def test_embedded_multiple_banks(llm_config): | CODE |
| LOW | hindsight-all/tests/test_embedded.py | 310 | def test_embedded_profile_isolation(llm_config): | CODE |
| LOW | hindsight-all/tests/test_embedded.py | 348 | def test_embedded_error_after_close(llm_config): | CODE |
| LOW | hindsight-all/tests/test_embedded.py | 406 | def test_embedded_daemon_crash_recovery(llm_config): | CODE |
| LOW | …sions/supabase-tenant/tests/test_package_entrypoint.py | 18 | def test_class_is_exported_from_the_package_root(): | CODE |
| LOW | …sions/supabase-tenant/tests/test_package_entrypoint.py | 26 | def test_documented_env_value_loads_the_extension(): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 178 | def test_init_with_valid_config(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 188 | def test_init_missing_supabase_url(self): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 192 | def test_init_without_service_key(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 197 | def test_init_default_schema_prefix(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 201 | def test_init_custom_schema_prefix(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 205 | def test_init_strips_trailing_slash(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 209 | def test_init_rejects_invalid_schema_prefix(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 214 | def test_init_rejects_empty_schema_prefix(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 218 | def test_init_rejects_schema_prefix_starting_with_digit(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 222 | def test_init_allows_underscore_prefix(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 226 | def test_is_tenant_extension_subclass(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 239 | async def test_on_startup_creates_http_client(self, supabase, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 249 | async def test_on_startup_fetches_jwks(self, supabase, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 262 | async def test_on_startup_falls_back_to_legacy_when_jwks_empty(self, supabase, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 272 | async def test_on_startup_falls_back_to_legacy_when_jwks_fetch_fails(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 280 | async def test_on_startup_falls_back_to_legacy_when_jwks_returns_error(self, supabase, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 289 | async def test_on_startup_raises_if_no_jwks_and_no_service_key(self, supabase, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 296 | async def test_on_startup_health_check_with_service_key(self, supabase, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 328 | async def test_get_signing_key_from_cache(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 337 | async def test_get_signing_key_refreshes_stale_cache(self, supabase, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 376 | async def test_get_signing_key_missing_kid_header(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 384 | async def test_get_signing_key_refresh_network_error(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 487 | async def test_authenticate_valid_token(self, supabase, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 544 | async def test_authenticate_connection_error(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 559 | async def test_authenticate_missing_token(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 565 | async def test_authenticate_empty_token(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 571 | async def test_authenticate_short_token(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 577 | async def test_authenticate_not_initialized(self, make_extension): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 585 | async def test_authenticate_rejects_non_uuid_user_id(self, make_extension, sub): | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 692 | async def test_on_shutdown_closes_client(self, supabase, make_extension): | CODE |
| 10805 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | hindsight-cli/.openapi-coverage.toml | 20 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | hindsight-cli/.openapi-coverage.toml | 22 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | hindsight-cli/.openapi-coverage.toml | 103 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | hindsight-cli/.openapi-coverage.toml | 105 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | hindsight-cli/src/commands/fs/format.rs | 11 | // ── Frontmatter ──────────────────────────────────────── | COMMENT |
| MEDIUM | hindsight-cli/src/commands/fs/format.rs | 89 | // ── Mirror planning ──────────────────────────────────── | COMMENT |
| MEDIUM | hindsight-cli/src/commands/fs/mod.rs | 166 | // ── Refresh loop ─────────────────────────────────────── | COMMENT |
| MEDIUM | hindsight-cli/src/commands/fs/mod.rs | 231 | // ── Commands ─────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | docker/standalone/start-all.sh | 219 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | docker/standalone/start-all.sh | 225 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/start-all.sh | 4 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/start-all.sh | 12 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/start-all.sh | 46 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/start-all.sh | 59 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/start-all.sh | 93 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/start-all.sh | 103 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/start-all.sh | 127 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/start-all.sh | 138 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/start-all.sh | 155 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/start-all.sh | 185 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/start-all.sh | 286 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/start-all.sh | 298 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/test-start-all.sh | 57 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/test-start-all.sh | 67 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/test-start-all.sh | 151 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/test-start-all.sh | 153 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/test-start-all.sh | 186 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/test-start-all.sh | 189 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/test-start-all.sh | 234 | # ============================================================================= | COMMENT |
| MEDIUM | docker/standalone/test-start-all.sh | 246 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | docker/docker-compose/claude-code/docker-compose.yaml | 25 | # ── Persistent data ──────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | docker/docker-compose/claude-code/docker-compose.yaml | 29 | # ── Claude credentials (read-only, single-file mounts) ──────── | COMMENT |
| MEDIUM⚡ | docker/docker-compose/claude-code/docker-compose.yaml | 36 | # ── Claude CLI install (read-only) ───────────────────────────── | COMMENT |
| MEDIUM⚡ | docker/docker-compose/claude-code/docker-compose.yaml | 39 | # ── SDK bundled-binary override ──────────────────────────────── | COMMENT |
| MEDIUM⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 170 | # ====================================================================== | COMMENT |
| MEDIUM⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 172 | # ====================================================================== | COMMENT |
| MEDIUM⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 231 | # ====================================================================== | COMMENT |
| MEDIUM⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 233 | # ====================================================================== | COMMENT |
| MEDIUM⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 320 | # ====================================================================== | COMMENT |
| MEDIUM⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 322 | # ====================================================================== | COMMENT |
| MEDIUM⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 395 | # ====================================================================== | COMMENT |
| MEDIUM⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 397 | # ====================================================================== | COMMENT |
| MEDIUM⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 479 | # ====================================================================== | COMMENT |
| MEDIUM⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 481 | # ====================================================================== | COMMENT |
| MEDIUM⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 551 | # ====================================================================== | COMMENT |
| MEDIUM⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 553 | # ====================================================================== | COMMENT |
| MEDIUM⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 684 | # ====================================================================== | COMMENT |
| MEDIUM⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 686 | # ====================================================================== | COMMENT |
| MEDIUM⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 711 | # ====================================================================== | COMMENT |
| MEDIUM⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 713 | # ====================================================================== | COMMENT |
| MEDIUM | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 56 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 58 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 600 | # ====================================================================== | COMMENT |
| MEDIUM | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 602 | # ====================================================================== | COMMENT |
| MEDIUM | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 652 | # ====================================================================== | COMMENT |
| MEDIUM | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 654 | # ====================================================================== | COMMENT |
| MEDIUM | …base-tenant/hindsight_ext_supabase_tenant/extension.py | 156 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …base-tenant/hindsight_ext_supabase_tenant/extension.py | 158 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …base-tenant/hindsight_ext_supabase_tenant/extension.py | 197 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …base-tenant/hindsight_ext_supabase_tenant/extension.py | 199 | # ------------------------------------------------------------------ | COMMENT |
| 1847 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CLAUDE.md | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …bic/versions/d4f8b1c6e903_add_bank_alias_is_primary.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …ons/c4e8a1b7d2f6_memory_units_bank_updated_at_index.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …ions/e7c3a9f1b2d5_drop_archive_search_vector_column.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …_api/alembic/versions/c8d1e4f7a20b_add_bank_aliases.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …ons/d9c1a7b4e2f6_async_operations_serialization_key.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …alembic/versions/b8c9d0e1f2a3_vchord_cosine_opclass.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …i/alembic/versions/a9b8c7d6e5f4_add_knowledge_pages.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …ersions/f3a5b7c9d1e2_drop_memory_units_bm25_matview.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …ersions/a7c2e9f41b60_attachment_belongs_to_document.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …s/e7c3a91f4b62_add_mental_model_last_memory_seen_at.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …8c4b1e9_drop_stale_global_memory_units_vector_index.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …rsions/7c2e5a9d1f40_entities_bank_scoped_trgm_index.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …/alembic/versions/b57a7c9e0d13_add_bank_stats_cache.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …ic/versions/9f8e7d6c5b4a_memory_links_deferrable_fk.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …ersions/2071c7518f88_add_memory_links_bank_id_index.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …/versions/c4f7a91b2d38_add_entity_maintenance_queue.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …t_api/alembic/versions/e2f4a6c8b0d1_add_attachments.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …versions/d4f6a8c2e1b3_drop_archive_embedding_column.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …ersions/e4a7c1b9d2f6_drop_memory_units_access_count.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …1e2f3a4b5c6_drop_v1_mental_model_structured_content.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …mbic/versions/c7d1e9a4b3f2_add_archive_causal_links.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …d3f1a6c2e4_add_mental_models_last_refresh_failed_at.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …rsions/a1d3f5b7c9e2_widen_remaining_bank_id_to_text.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …versions/a7b8c9d0e1f2_split_history_into_own_tables.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …s/86f7a033d372_repair_mental_models_subtype_at_head.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …versions/c3e5a7b9d1f4_widen_history_bank_id_to_text.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | …ersions/b3e8d1c6f4a9_entity_kind_partial_trgm_index.py | 0 | schema-qualifier for raw sql on pg (multi-tenant search_path). | STRING |
| HIGH | hindsight-api-slim/tests/test_worker_retry_knobs.py | 0 | insert into async_operations (operation_id, bank_id, operation_type, status, task_payload) values ($1, $2, 'test', 'pend | STRING |
| HIGH | …pi-slim/tests/test_content_policy_refusal_permanent.py | 0 | insert into async_operations (operation_id, bank_id, operation_type, status, task_payload) values ($1, $2, 'test', 'pend | STRING |
| HIGH | …api-slim/tests/test_integrity_violation_not_retried.py | 0 | insert into async_operations (operation_id, bank_id, operation_type, status, task_payload) values ($1, $2, 'test', 'pend | STRING |
| HIGH | hindsight-api-slim/tests/test_worker.py | 0 | insert into async_operations (operation_id, bank_id, operation_type, status, task_payload) values ($1, $2, 'test', 'pend | STRING |
| HIGH | …-api-slim/tests/test_mental_model_scheduled_refresh.py | 0 | insert into async_operations (operation_id, bank_id, operation_type, status, task_payload) values ($1, $2, 'test', 'pend | STRING |
| HIGH | hindsight-api-slim/tests/test_maintenance_loop.py | 0 | insert into async_operations (operation_id, bank_id, operation_type, status, task_payload) values ($1, $2, 'test', 'pend | STRING |
| HIGH | …lim/tests/test_consolidation_silent_requeue_failure.py | 0 | insert into async_operations (operation_id, bank_id, operation_type, status, task_payload) values ($1, $2, 'test', 'pend | STRING |
| HIGH | …lim/tests/test_consolidation_reschedule_after_round.py | 0 | insert into async_operations (operation_id, bank_id, operation_type, status, task_payload) values ($1, $2, 'test', 'pend | STRING |
| HIGH | hindsight-api-slim/tests/test_maintenance_routines.py | 0 | insert into async_operations (operation_id, bank_id, operation_type, status, task_payload) values ($1, $2, 'test', 'pend | STRING |
| HIGH | …api-slim/tests/test_consolidation_scope_parallelism.py | 0 | insert into memory_units (id, bank_id, text, fact_type, tags, created_at) values ($1, $2, $3, 'experience', $4, $5) | STRING |
| HIGH | …m/tests/test_consolidation_batch_failure_visibility.py | 0 | insert into memory_units (id, bank_id, text, fact_type, tags, created_at) values ($1, $2, $3, 'experience', $4, $5) | STRING |
| HIGH | …ght-api-slim/tests/test_consolidation_delete_schema.py | 0 | insert into memory_units (id, bank_id, text, fact_type, tags, created_at) values ($1, $2, $3, 'experience', $4, $5) | STRING |
| HIGH | …t-api-slim/tests/test_consolidation_batch_atomicity.py | 0 | insert into memory_units (id, bank_id, text, fact_type, tags, created_at) values ($1, $2, $3, 'experience', $4, $5) | STRING |
| HIGH | …api-slim/tests/test_consolidation_failure_isolation.py | 0 | insert into memory_units (id, bank_id, text, fact_type, tags, created_at) values ($1, $2, $3, 'experience', $4, $5) | STRING |
| HIGH | …-api-slim/tests/test_consolidation_failure_recovery.py | 0 | insert into memory_units (id, bank_id, text, fact_type, tags, created_at) values ($1, $2, $3, 'experience', $4, $5) | STRING |
| HIGH | hindsight-api-slim/tests/test_consolidation.py | 0 | insert into memory_units (id, bank_id, text, fact_type, tags, created_at) values ($1, $2, $3, 'experience', $4, $5) | STRING |
| HIGH | …dsight-api-slim/tests/test_consolidation_fair_fetch.py | 0 | insert into memory_units (id, bank_id, text, fact_type, tags, created_at) values ($1, $2, $3, 'experience', $4, $5) | STRING |
| HIGH | hindsight-api-slim/tests/test_mcp_extension.py | 0 | helper to get tools dict from mcp server (fastmcp 3.x compatible). | STRING |
| HIGH | hindsight-api-slim/tests/test_mcp_tools.py | 0 | helper to get tools dict from mcp server (fastmcp 3.x compatible). | STRING |
| HIGH | hindsight-api-slim/tests/test_mcp_routing.py | 0 | helper to get tools dict from mcp server (fastmcp 3.x compatible). | STRING |
| HIGH | …ht-api-slim/tests/test_temporal_spreading_best_path.py | 0 | insert into memory_links (from_unit_id, to_unit_id, link_type, weight, bank_id) values ($1, $2, $3, $4, $5) | STRING |
| HIGH | hindsight-api-slim/tests/test_memory_curation.py | 0 | insert into memory_links (from_unit_id, to_unit_id, link_type, weight, bank_id) values ($1, $2, $3, $4, $5) | STRING |
| HIGH | hindsight-api-slim/tests/test_graph_maintenance.py | 0 | insert into memory_links (from_unit_id, to_unit_id, link_type, weight, bank_id) values ($1, $2, $3, $4, $5) | STRING |
| HIGH | hindsight-api-slim/tests/test_llama_parse_parser.py | 0 | %pdf-1.4 1 0 obj << /type /catalog /pages 2 0 r >> endobj 2 0 obj << /type /pages /kids [3 0 r] /count 1 >> endobj 3 0 o | STRING |
| HIGH | hindsight-api-slim/tests/test_iris_parser.py | 0 | %pdf-1.4 1 0 obj << /type /catalog /pages 2 0 r >> endobj 2 0 obj << /type /pages /kids [3 0 r] /count 1 >> endobj 3 0 o | STRING |
| HIGH | hindsight-api-slim/tests/test_file_retain.py | 0 | %pdf-1.4 1 0 obj << /type /catalog /pages 2 0 r >> endobj 2 0 obj << /type /pages /kids [3 0 r] /count 1 >> endobj 3 0 o | STRING |
| HIGH | …ndsight-api-slim/tests/test_cohere_embeddings_retry.py | 0 | auth and validation failures must not be retried — retrying cannot fix them. | STRING |
| HIGH | hindsight-api-slim/tests/test_zeroentropy_embeddings.py | 0 | auth and validation failures must not be retried — retrying cannot fix them. | STRING |
| HIGH | hindsight-api-slim/tests/test_gemini_embeddings.py | 0 | auth and validation failures must not be retried — retrying cannot fix them. | STRING |
| HIGH | hindsight-api-slim/tests/test_reranker_retry.py | 0 | auth and validation failures must not be retried — retrying cannot fix them. | STRING |
| HIGH | hindsight-api-slim/tests/test_xai_oauth_llm.py | 0 | a ``` inside a string value must not cut the payload short (#4819). | STRING |
| HIGH | hindsight-api-slim/tests/test_codex_strict_schema.py | 0 | a ``` inside a string value must not cut the payload short (#4819). | STRING |
| 1284 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hindsight-all/hindsight/__init__.py | 60 | CODE | |
| LOW | hindsight-all/hindsight/__init__.py | 61 | CODE | |
| LOW | hindsight-all/hindsight/__init__.py | 62 | CODE | |
| LOW | hindsight-all/hindsight/__init__.py | 62 | CODE | |
| LOW | hindsight-all/hindsight/client_wrapper.py | 8 | CODE | |
| LOW | hindsight-all/hindsight/api_namespaces.py | 8 | CODE | |
| LOW | hindsight-all/hindsight/api_namespaces.py | 13 | CODE | |
| LOW | hindsight-all/tests/test_cleanup_timeout.py | 9 | CODE | |
| LOW | hindsight-all/tests/test_cleanup_timeout.py | 12 | CODE | |
| LOW | …abase-tenant/hindsight_ext_supabase_tenant/__init__.py | 8 | CODE | |
| LOW | …base-tenant/hindsight_ext_supabase_tenant/extension.py | 52 | CODE | |
| LOW | …ys-tenant/hindsight_ext_static_keys_tenant/__init__.py | 8 | CODE | |
| LOW | …s-tenant/hindsight_ext_static_keys_tenant/extension.py | 39 | CODE | |
| LOW | hindsight-api-slim/tests/test_agents_api.py | 7 | CODE | |
| LOW | …dsight-api-slim/tests/test_structured_output_unions.py | 16 | CODE | |
| LOW | hindsight-api-slim/tests/test_multilingual_bm25.py | 10 | CODE | |
| LOW | …ight-api-slim/tests/test_get_entity_uuid_validation.py | 14 | CODE | |
| LOW | hindsight-api-slim/tests/test_op_cancellation.py | 15 | CODE | |
| LOW | …api-slim/tests/test_consolidation_scope_parallelism.py | 20 | CODE | |
| LOW | …pi-slim/tests/test_structured_output_numeric_bounds.py | 14 | CODE | |
| LOW | hindsight-api-slim/tests/test_batch_chunking.py | 5 | CODE | |
| LOW | hindsight-api-slim/tests/test_batch_chunking.py | 9 | CODE | |
| LOW | …i-slim/tests/test_bank_template_configurable_fields.py | 19 | CODE | |
| LOW | hindsight-api-slim/tests/test_ann_iterative_scan.py | 21 | CODE | |
| LOW | hindsight-api-slim/tests/test_ann_iterative_scan.py | 27 | CODE | |
| LOW | hindsight-api-slim/tests/test_migration_shape.py | 10 | CODE | |
| LOW | …m/tests/test_consolidation_batch_failure_visibility.py | 17 | CODE | |
| LOW | …api-slim/tests/test_consolidation_delete_prompt_llm.py | 16 | CODE | |
| LOW | hindsight-api-slim/tests/test_bank_stats_cache.py | 7 | CODE | |
| LOW | hindsight-api-slim/tests/conftest.py | 28 | CODE | |
| LOW | hindsight-api-slim/tests/conftest.py | 29 | CODE | |
| LOW | hindsight-api-slim/tests/conftest.py | 42 | CODE | |
| LOW | hindsight-api-slim/tests/conftest.py | 55 | CODE | |
| LOW | hindsight-api-slim/tests/test_none_llm_provider.py | 13 | CODE | |
| LOW | hindsight-api-slim/tests/test_none_llm_provider.py | 20 | CODE | |
| LOW | hindsight-api-slim/tests/test_none_llm_provider.py | 20 | CODE | |
| LOW | hindsight-api-slim/tests/test_none_llm_provider.py | 22 | CODE | |
| LOW | hindsight-api-slim/tests/test_none_llm_provider.py | 25 | CODE | |
| LOW | …ht-api-slim/tests/test_graph_maintenance_queue_race.py | 23 | CODE | |
| LOW | …ndsight-api-slim/tests/test_enable_text_search_flag.py | 14 | CODE | |
| LOW | …ndsight-api-slim/tests/test_oracle_http_integration.py | 12 | CODE | |
| LOW | …ndsight-api-slim/tests/test_oracle_http_integration.py | 12 | CODE | |
| LOW | …dsight-api-slim/tests/test_list_banks_non_sql_store.py | 20 | CODE | |
| LOW | hindsight-api-slim/tests/test_recall_budget_config.py | 17 | CODE | |
| LOW | hindsight-api-slim/tests/test_recall_budget_config.py | 17 | CODE | |
| LOW | hindsight-api-slim/tests/test_recall_budget_config.py | 17 | CODE | |
| LOW | hindsight-api-slim/tests/test_oracle_integration.py | 19 | CODE | |
| LOW | hindsight-api-slim/tests/test_xai_oauth_llm.py | 18 | CODE | |
| LOW | hindsight-api-slim/tests/test_tracing.py | 12 | CODE | |
| LOW | hindsight-api-slim/tests/test_load_large_batch.py | 14 | CODE | |
| LOW | hindsight-api-slim/tests/test_load_large_batch.py | 14 | CODE | |
| LOW | hindsight-api-slim/tests/test_load_large_batch.py | 19 | CODE | |
| LOW | hindsight-api-slim/tests/test_load_large_batch.py | 19 | CODE | |
| LOW | hindsight-api-slim/tests/test_load_large_batch.py | 19 | CODE | |
| LOW | hindsight-api-slim/tests/test_load_large_batch.py | 20 | CODE | |
| LOW | hindsight-api-slim/tests/test_load_large_batch.py | 21 | CODE | |
| LOW | hindsight-api-slim/tests/test_load_large_batch.py | 23 | CODE | |
| LOW | hindsight-api-slim/tests/test_load_large_batch.py | 23 | CODE | |
| LOW | …pi-slim/tests/test_experience_fact_type_passthrough.py | 18 | CODE | |
| LOW | hindsight-api-slim/tests/test_extension_alembic_tree.py | 11 | CODE | |
| 1986 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | hindsight-all/tests/test_embedded_namespaces.py | 31 | except Exception: | CODE |
| HIGH | hindsight-all/tests/test_embedded_namespaces.py | 46 | except Exception: | CODE |
| HIGH | hindsight-all/tests/test_embedded_namespaces.py | 60 | except Exception: | CODE |
| HIGH | hindsight-all/tests/test_embedded_namespaces.py | 74 | except Exception: | CODE |
| HIGH | hindsight-all/tests/test_embedded_namespaces.py | 89 | except Exception: | CODE |
| HIGH | hindsight-all/tests/test_embedded_namespaces.py | 94 | except Exception: | CODE |
| HIGH | hindsight-all/tests/test_embedded_namespaces.py | 99 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/conftest.py | 56 | except ImportError: | CODE |
| HIGH | hindsight-api-slim/tests/conftest.py | 82 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/conftest.py | 497 | except oracledb.DatabaseError: | CODE |
| HIGH | hindsight-api-slim/tests/conftest.py | 491 | except oracledb.DatabaseError: | CODE |
| HIGH | hindsight-api-slim/tests/conftest.py | 361 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/conftest.py | 387 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_none_llm_provider.py | 55 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_file_storage_s3.py | 111 | except httpx.HTTPError: | CODE |
| HIGH | …pi-slim/tests/test_retain_same_document_concurrency.py | 110 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_load_large_batch.py | 121 | except Exception: | CODE |
| HIGH | …ight-api-slim/tests/test_tracing_spans_verification.py | 113 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_profiling.py | 26 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_extensions.py | 310 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_extensions.py | 318 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_extensions.py | 618 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_temporal_ranges.py | 21 | except Exception: | CODE |
| HIGH | …-api-slim/tests/test_consolidation_failure_recovery.py | 54 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_read_backend.py | 45 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_read_backend.py | 66 | except Exception: | CODE |
| HIGH | …ight-api-slim/tests/test_custom_embedding_dimension.py | 599 | except Exception: | CODE |
| HIGH | …ight-api-slim/tests/test_custom_embedding_dimension.py | 661 | except Exception: | CODE |
| HIGH | …ight-api-slim/tests/test_custom_embedding_dimension.py | 837 | except Exception: | CODE |
| HIGH | …ight-api-slim/tests/test_oracle_backend_integration.py | 121 | except Exception: | CODE |
| HIGH | …ight-api-slim/tests/test_oracle_backend_integration.py | 136 | except Exception: | CODE |
| HIGH | …ight-api-slim/tests/test_oracle_backend_integration.py | 131 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_worker.py | 3343 | except asyncio.CancelledError: | CODE |
| HIGH | hindsight-api-slim/tests/test_worker.py | 3437 | except asyncio.CancelledError: | CODE |
| HIGH | hindsight-api-slim/tests/test_worker.py | 3543 | except asyncio.CancelledError: | CODE |
| HIGH | hindsight-api-slim/tests/test_worker.py | 3650 | except asyncio.CancelledError: | CODE |
| HIGH | hindsight-api-slim/tests/test_worker.py | 3729 | except asyncio.CancelledError: | CODE |
| HIGH | hindsight-api-slim/tests/test_batch_api.py | 220 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_batch_api.py | 667 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_batch_api.py | 768 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_batch_api.py | 877 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_batch_api.py | 936 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_retain.py | 3336 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_multilingual.py | 128 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_multilingual.py | 313 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/test_bank_stats.py | 405 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/e2e_oracle_smoke.py | 88 | except oracledb.DatabaseError: | CODE |
| HIGH | hindsight-api-slim/tests/e2e_oracle_smoke.py | 277 | except Exception: | CODE |
| HIGH | hindsight-api-slim/tests/e2e_oracle_smoke.py | 83 | except oracledb.DatabaseError: | CODE |
| HIGH | hindsight-api-slim/tests/e2e_oracle_smoke.py | 271 | except Exception: | CODE |
| HIGH | …t-api-slim/tests/test_retain_document_serialization.py | 456 | except _Rollback: | CODE |
| HIGH | …t-api-slim/tests/test_retain_document_serialization.py | 780 | except Exception: | CODE |
| HIGH | …ght-api-slim/tests/test_verify_connection_soft_fail.py | 40 | except Exception: | CODE |
| HIGH | …ght-api-slim/tests/test_verify_connection_soft_fail.py | 120 | except Exception: | CODE |
| HIGH | …ght-api-slim/tests/test_verify_connection_soft_fail.py | 156 | except Exception: | CODE |
| HIGH | hindsight-api-slim/hindsight_api/metrics.py | 969 | except Exception: | CODE |
| HIGH | hindsight-api-slim/hindsight_api/metrics.py | 981 | except Exception: | CODE |
| HIGH | hindsight-api-slim/hindsight_api/metrics.py | 995 | except Exception: | CODE |
| HIGH | hindsight-api-slim/hindsight_api/metrics.py | 1002 | except Exception: | CODE |
| HIGH | hindsight-api-slim/hindsight_api/metrics.py | 1094 | except Exception: | CODE |
| 164 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | hindsight-all/README.md | 13 | llm_api_key="your-api-key", | CODE |
| HIGH | hindsight-all/hindsight/server.py | 43 | llm_api_key="your-api-key", | STRING |
| HIGH | hindsight-all/hindsight/server.py | 259 | llm_api_key="your-api-key", | STRING |
| HIGH | hindsight-all/hindsight/__init__.py | 14 | llm_api_key="your-api-key", | STRING |
| HIGH | hindsight-all/hindsight/__init__.py | 29 | llm_api_key="your-api-key", | STRING |
| HIGH | hindsight-all/hindsight/embedded.py | 15 | llm_api_key="your-api-key", | STRING |
| HIGH | hindsight-all/tests/README.md | 36 | HINDSIGHT_API_LLM_API_KEY=your-api-key | CODE |
| HIGH | docker/test-image.sh | 103 | echo "Set it with: export HINDSIGHT_API_LLM_API_KEY=your-api-key" | CODE |
| HIGH | hindsight-embed/hindsight_embed/cli.py | 238 | print(" HINDSIGHT_API_LLM_API_KEY=<your-api-key>", file=sys.stderr) | CODE |
| HIGH | hindsight-all-slim/README.md | 13 | llm_api_key="your-api-key", | CODE |
| HIGH | …ht-clients/python/hindsight_client/hindsight_client.py | 222 | client = Hindsight(base_url="http://localhost:8888", api_key="your-api-key") | STRING |
| HIGH | hindsight-clients/typescript/src/index.ts | 14 | * apiKey: 'your-api-key' | COMMENT |
| HIGH | hindsight-docs/blog/2026-03-19-nemoclaw-memory.md | 76 | --api-token <your-api-key> \ | CODE |
| HIGH | hindsight-docs/blog/2026-03-19-nemoclaw-memory.md | 167 | "hindsightApiToken": "<your-api-key>", | CODE |
| HIGH | …dsight-docs/blog/2026-03-30-llamaindex-agent-memory.md | 224 | api_key="your-api-key", # or set HINDSIGHT_API_KEY env var | CODE |
| HIGH | hindsight-docs/blog/2026-03-24-version-0-4-20.md | 126 | --api-token <your-api-key> \ | CODE |
| HIGH | hindsight-docs/blog/2026-02-13-version-0-4-11.md | 55 | export HINDSIGHT_API_EMBEDDINGS_LITELLM_SDK_API_KEY=your-api-key | CODE |
| HIGH | …dsight-docs/blog/2026-07-20-zcode-persistent-memory.md | 60 | hindsight-zcode install --api-url https://api.hindsight.vectorize.io --api-token your-api-key | CODE |
| HIGH | hindsight-docs/blog/2026-03-04-mcp-agent-memory.md | 101 | "Authorization": "Bearer YOUR_API_KEY" | CODE |
| HIGH | hindsight-docs/blog/2026-03-04-mcp-agent-memory.md | 113 | --header "Authorization: Bearer YOUR_API_KEY" | CODE |
| HIGH | …ight-docs/blog/2026-03-25-strands-persistent-memory.md | 177 | api_key="YOUR_API_KEY", # if auth is enabled | CODE |
| HIGH | …cs/blog/2026-07-30-github-copilot-persistent-memory.md | 44 | hindsight-copilot-cli install --api-url https://api.hindsight.vectorize.io --api-token your-api-key | CODE |
| HIGH | …ght-docs/blog/2026-06-11-haystack-persistent-memory.md | 137 | api_key="your-api-key", | CODE |
| HIGH | hindsight-docs/blog/2026-03-03-version-0-4-15.md | 59 | api_key="your-api-key", # Or set HINDSIGHT_API_KEY env var | CODE |
| HIGH | …ndsight-docs/blog/2026-04-09-agno-persistent-memory.md | 219 | api_key="your-api-key", | CODE |
| HIGH | hindsight-docs/docs-integrations/smolagents.md | 140 | api_key="your-api-key", # Or set HINDSIGHT_API_KEY env var | CODE |
| HIGH | hindsight-docs/docs-integrations/copilot-cli.md | 41 | hindsight-copilot-cli install --api-url https://api.hindsight.vectorize.io --api-token your-api-key | CODE |
| HIGH | hindsight-docs/docs-integrations/litellm.md | 84 | api_key="your-api-key", # API key for Hindsight authentication | CODE |
| HIGH | hindsight-docs/docs-integrations/pydantic-ai.md | 113 | api_key="your-api-key", # Or set HINDSIGHT_API_KEY env var | CODE |
| HIGH | hindsight-docs/docs-integrations/composio.md | 116 | api_key="your-api-key", # or set HINDSIGHT_API_KEY env var | CODE |
| HIGH | hindsight-docs/docs-integrations/vapi.md | 133 | export HINDSIGHT_API_LLM_API_KEY=your-api-key | CODE |
| HIGH | hindsight-docs/docs-integrations/openai-agents.md | 127 | api_key="your-api-key", # Or set HINDSIGHT_API_KEY env var | CODE |
| HIGH | hindsight-docs/docs-integrations/langgraph.md | 158 | api_key="your-api-key", # Or set HINDSIGHT_API_KEY env var | CODE |
| HIGH | hindsight-docs/docs-integrations/nemoclaw.md | 24 | --api-token <your-api-key> \ | CODE |
| HIGH | hindsight-docs/docs-integrations/nemoclaw.md | 114 | "hindsightApiToken": "<your-api-key>", | CODE |
| HIGH | hindsight-docs/docs-integrations/strands.md | 153 | api_key="your-api-key", # Or set HINDSIGHT_API_KEY env var | CODE |
| HIGH | hindsight-docs/docs-integrations/zcode.md | 24 | hindsight-zcode install --api-url https://api.hindsight.vectorize.io --api-token your-api-key | CODE |
| HIGH | hindsight-docs/docs-integrations/cursor-cli.md | 41 | hindsight-cursor-cli install --api-url https://api.hindsight.vectorize.io --api-token your-api-key | CODE |
| HIGH | hindsight-docs/docs-integrations/roo-code.md | 129 | export HINDSIGHT_API_LLM_API_KEY=your-api-key | CODE |
| HIGH | hindsight-docs/docs-integrations/autogen.md | 105 | api_key="your-api-key", # Or set HINDSIGHT_API_KEY env var | CODE |
| HIGH | hindsight-docs/docs-integrations/agno.md | 133 | api_key="your-api-key", # Or set HINDSIGHT_API_KEY env var | CODE |
| HIGH | hindsight-docs/docs-integrations/opencode.md | 56 | export HINDSIGHT_API_TOKEN="your-api-key" | CODE |
| HIGH | hindsight-docs/docs-integrations/opencode.md | 68 | "hindsightApiToken": "your-api-key" | CODE |
| HIGH | hindsight-docs/docs-integrations/opencode.md | 111 | "hindsightApiToken": "your-api-key", | CODE |
| HIGH | hindsight-docs/docs-integrations/opencode.md | 133 | "hindsightApiToken": "your-api-key", | CODE |
| HIGH | hindsight-docs/docs-integrations/llamaindex.md | 146 | api_key="your-api-key", # or set HINDSIGHT_API_KEY env var | CODE |
| HIGH | hindsight-docs/docs-integrations/pipecat.md | 134 | export HINDSIGHT_API_LLM_API_KEY=your-api-key | CODE |
| HIGH | hindsight-docs/docs-integrations/right-agent.md | 83 | api_key: your-api-key # or omit to use HINDSIGHT_API_KEY env var | CODE |
| HIGH | hindsight-docs/docs-integrations/right-agent.md | 95 | export HINDSIGHT_API_KEY=your-api-key | CODE |
| HIGH | hindsight-docs/docs-integrations/haystack.md | 98 | api_key="your-api-key", | CODE |
| HIGH | hindsight-docs/docs-integrations/haystack.md | 126 | export HINDSIGHT_API_LLM_API_KEY=your-api-key | CODE |
| HIGH | hindsight-docs/docs-integrations/crewai.md | 89 | api_key="your-api-key", # Or set HINDSIGHT_API_KEY env var | CODE |
| HIGH | …des/2026-07-17-guide-composio-memory-with-hindsight.md | 148 | api_key="your-api-key", # or set HINDSIGHT_API_KEY env var | CODE |
| HIGH⚡ | …guides/2026-05-04-guide-codex-memory-with-hindsight.md | 54 | "hindsightApiToken": "your-api-key", | CODE |
| HIGH | …026-04-28-guide-zh-run-hindsight-cli-on-linux-arm64.md | 49 | hindsight configure --api-url https://api.hindsight.vectorize.io --api-key YOUR_API_KEY | CODE |
| HIGH | …026-04-28-guide-zh-run-hindsight-cli-on-linux-arm64.md | 58 | hindsight profile create prod --api-url https://api.hindsight.vectorize.io --api-key YOUR_API_KEY | CODE |
| HIGH⚡ | …-07-17-guide-claude-agent-sdk-memory-with-hindsight.md | 52 | export HINDSIGHT_API_KEY="your-api-key" | CODE |
| HIGH | …-07-17-guide-claude-agent-sdk-memory-with-hindsight.md | 71 | api_key="your-api-key", | CODE |
| HIGH | …des/2026-07-17-guide-nemoclaw-memory-with-hindsight.md | 44 | --api-token <your-api-key> \ | CODE |
| HIGH⚡ | …/2026-05-04-guide-claude-code-memory-with-hindsight.md | 51 | "hindsightApiToken": "your-api-key" | CODE |
| 132 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hindsight-all/hindsight/server.py | 141 | except Exception as e: | CODE |
| LOW | hindsight-all/hindsight/embedded.py | 187 | except Exception: | CODE |
| LOW | hindsight-all/hindsight/embedded.py | 203 | except Exception: | CODE |
| LOW | hindsight-all/hindsight/embedded.py | 267 | except Exception: | CODE |
| LOW⚡ | hindsight-all/tests/test_embedded_namespaces.py | 31 | except Exception: | CODE |
| LOW⚡ | hindsight-all/tests/test_embedded_namespaces.py | 46 | except Exception: | CODE |
| LOW⚡ | hindsight-all/tests/test_embedded_namespaces.py | 60 | except Exception: | CODE |
| LOW⚡ | hindsight-all/tests/test_embedded_namespaces.py | 74 | except Exception: | CODE |
| LOW⚡ | hindsight-all/tests/test_embedded_namespaces.py | 89 | except Exception: | CODE |
| LOW⚡ | hindsight-all/tests/test_embedded_namespaces.py | 94 | except Exception: | CODE |
| LOW⚡ | hindsight-all/tests/test_embedded_namespaces.py | 99 | except Exception: | CODE |
| LOW | …base-tenant/hindsight_ext_supabase_tenant/extension.py | 220 | except Exception as e: | CODE |
| LOW | …base-tenant/hindsight_ext_supabase_tenant/extension.py | 365 | except Exception as e: | CODE |
| LOW⚡ | …base-tenant/hindsight_ext_supabase_tenant/extension.py | 426 | except Exception as e: | CODE |
| LOW | …base-tenant/hindsight_ext_supabase_tenant/extension.py | 451 | except Exception as e: | CODE |
| LOW⚡ | …s-tenant/hindsight_ext_static_keys_tenant/extension.py | 346 | except Exception as e: | CODE |
| LOW | hindsight-api-slim/tests/test_temporal_extraction.py | 183 | except Exception: | CODE |
| LOW | hindsight-api-slim/tests/test_temporal_extraction.py | 251 | except Exception: | CODE |
| LOW | hindsight-api-slim/tests/conftest.py | 82 | except Exception: | CODE |
| LOW | hindsight-api-slim/tests/conftest.py | 361 | except Exception: | CODE |
| LOW | hindsight-api-slim/tests/conftest.py | 387 | except Exception: | CODE |
| LOW | hindsight-api-slim/tests/test_none_llm_provider.py | 55 | except Exception: | CODE |
| LOW | …ndsight-api-slim/tests/test_oracle_http_integration.py | 39 | except Exception as e: | CODE |
| LOW | …pi-slim/tests/test_retain_same_document_concurrency.py | 110 | except Exception: | CODE |
| LOW | …pi-slim/tests/test_retain_same_document_concurrency.py | 170 | except Exception as e: # noqa: BLE001 — we want to classify failures | CODE |
| LOW | …ndsight-api-slim/tests/test_fact_extraction_quality.py | 562 | except Exception as e: | STRING |
| LOW⚡ | hindsight-api-slim/tests/test_oracle_integration.py | 67 | except Exception as e: | CODE |
| LOW | hindsight-api-slim/tests/test_load_large_batch.py | 121 | except Exception: | CODE |
| LOW | hindsight-api-slim/tests/test_load_large_batch.py | 228 | except Exception as e: | CODE |
| LOW | …ight-api-slim/tests/test_tracing_spans_verification.py | 113 | except Exception: | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_zeroentropy_embeddings.py | 302 | except Exception as exc: | CODE |
| LOW | …lim/tests/test_consolidation_silent_requeue_failure.py | 8 | except Exception as e: | STRING |
| LOW⚡ | hindsight-api-slim/tests/test_profiling.py | 26 | except Exception: | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_append_conflict_defers.py | 29 | except Exception as inner: | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_append_conflict_defers.py | 31 | except Exception as outer: | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_extensions.py | 310 | except Exception: | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_extensions.py | 318 | except Exception: | CODE |
| LOW | hindsight-api-slim/tests/test_extensions.py | 618 | except Exception: | CODE |
| LOW | hindsight-api-slim/tests/test_temporal_ranges.py | 21 | except Exception: | CODE |
| LOW | …-api-slim/tests/test_consolidation_failure_recovery.py | 54 | except Exception: | CODE |
| LOW | hindsight-api-slim/tests/test_batch_api_integration.py | 239 | except Exception as e: | CODE |
| LOW | …dsight-api-slim/tests/test_migrations_thread_safety.py | 34 | except Exception as exc: # pragma: no cover - diagnostic path | CODE |
| MEDIUM | …dsight-api-slim/tests/test_migrations_thread_safety.py | 26 | def run_in_thread(schema): | CODE |
| LOW | hindsight-api-slim/tests/test_read_backend.py | 45 | except Exception: | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_read_backend.py | 66 | except Exception: | CODE |
| LOW⚡ | …ight-api-slim/tests/test_custom_embedding_dimension.py | 661 | except Exception: | CODE |
| LOW⚡ | …ight-api-slim/tests/test_custom_embedding_dimension.py | 837 | except Exception: | CODE |
| LOW | …ight-api-slim/tests/test_custom_embedding_dimension.py | 92 | except Exception: | CODE |
| LOW | …ight-api-slim/tests/test_custom_embedding_dimension.py | 112 | except Exception as e: | CODE |
| LOW | …ight-api-slim/tests/test_custom_embedding_dimension.py | 141 | except Exception as e: | CODE |
| LOW | …ight-api-slim/tests/test_custom_embedding_dimension.py | 599 | except Exception: | CODE |
| LOW⚡ | …sight-api-slim/tests/test_store_backpressure_defers.py | 54 | except Exception as inner: | CODE |
| LOW⚡ | …sight-api-slim/tests/test_store_backpressure_defers.py | 56 | except Exception as outer: | CODE |
| LOW⚡ | …sight-api-slim/tests/test_store_backpressure_defers.py | 65 | except Exception: | CODE |
| LOW⚡ | …sight-api-slim/tests/test_store_backpressure_defers.py | 67 | except Exception as outer: | CODE |
| LOW⚡ | …ight-api-slim/tests/test_oracle_backend_integration.py | 121 | except Exception: | CODE |
| LOW⚡ | …ight-api-slim/tests/test_oracle_backend_integration.py | 131 | except Exception: | CODE |
| LOW⚡ | …ight-api-slim/tests/test_oracle_backend_integration.py | 136 | except Exception: | CODE |
| LOW | hindsight-api-slim/tests/test_embedding_retry.py | 367 | except Exception as exc: | CODE |
| LOW | hindsight-api-slim/tests/test_batch_api.py | 220 | except Exception: | CODE |
| 862 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | hindsight-all/tests/test_server_integration.py | 76 | # Step 1: Create a memory bank with background information | COMMENT |
| LOW⚡ | hindsight-all/tests/test_server_integration.py | 85 | # Step 2: Store some memories about user preferences | COMMENT |
| LOW⚡ | hindsight-all/tests/test_server_integration.py | 123 | # Step 3: Recall memories based on a query | COMMENT |
| LOW | hindsight-all/tests/test_server_integration.py | 140 | # Step 4: Recall memories about machine learning | COMMENT |
| LOW | hindsight-all/tests/test_server_integration.py | 155 | # Step 5: Reflect (generate contextual answer based on memories) | COMMENT |
| LOW | hindsight-all/tests/test_server_integration.py | 172 | # Step 6: Another reflection with different context | COMMENT |
| LOW⚡ | hindsight-all/tests/test_embedded.py | 117 | # Step 1: Create a memory bank | COMMENT |
| LOW⚡ | hindsight-all/tests/test_embedded.py | 126 | # Step 2: Store memories (single) | COMMENT |
| LOW⚡ | hindsight-all/tests/test_embedded.py | 136 | # Step 3: Store batch memories | COMMENT |
| LOW⚡ | hindsight-all/tests/test_embedded.py | 151 | # Step 4: Recall memories | COMMENT |
| LOW⚡ | hindsight-all/tests/test_embedded.py | 160 | # Step 5: Reflect on memories | COMMENT |
| LOW | hindsight-all/tests/test_embedded.py | 177 | # Step 6: List memories | COMMENT |
| LOW⚡ | …_api/alembic/versions/h3c4d5e6f7g8_mental_models_v4.py | 39 | # Step 1: Delete observation memory_units (cascades to unit_entities links) | COMMENT |
| LOW⚡ | …_api/alembic/versions/h3c4d5e6f7g8_mental_models_v4.py | 43 | # Step 2: Drop observation-specific index (if it exists) | COMMENT |
| LOW⚡ | …_api/alembic/versions/h3c4d5e6f7g8_mental_models_v4.py | 46 | # Step 3: Add mission column to banks (replacing background) | COMMENT |
| LOW | …_api/alembic/versions/h3c4d5e6f7g8_mental_models_v4.py | 69 | # Step 4: Create mental_models table with final v4 schema (if not exists) | STRING |
| LOW | …_api/alembic/versions/h3c4d5e6f7g8_mental_models_v4.py | 110 | # Step 5: Create indexes for efficient queries (if not exist) | STRING |
| LOW | …ersions/w8r9s0t1u2v3_fix_mental_models_pk_isolation.py | 58 | # WARNING: This downgrade will fail if there are duplicate IDs across banks | COMMENT |
| LOW⚡ | hindsight-api-slim/hindsight_api/engine/parsers/iris.py | 74 | # Step 1: Request a presigned upload URL | COMMENT |
| LOW⚡ | hindsight-api-slim/hindsight_api/engine/parsers/iris.py | 84 | # Step 2: Upload the file bytes to the presigned URL (no auth header) | COMMENT |
| LOW⚡ | hindsight-api-slim/hindsight_api/engine/parsers/iris.py | 94 | # Step 3: Start extraction | COMMENT |
| LOW⚡ | hindsight-api-slim/hindsight_api/engine/parsers/iris.py | 102 | # Step 4: Poll until ready or timeout | COMMENT |
| LOW⚡ | …t-api-slim/hindsight_api/engine/parsers/llama_parse.py | 72 | # Step 1: Upload file and start parse job | COMMENT |
| LOW⚡ | …t-api-slim/hindsight_api/engine/parsers/llama_parse.py | 80 | # Step 2: Poll job status until SUCCESS or ERROR | COMMENT |
| LOW | …t-api-slim/hindsight_api/engine/parsers/llama_parse.py | 98 | # Step 3: Fetch the markdown result | COMMENT |
| LOW | …ight-api-slim/hindsight_api/engine/search/retrieval.py | 159 | # Step 1: Extract temporal constraint first (CPU work, no DB) | COMMENT |
| LOW | …ight-api-slim/hindsight_api/engine/search/retrieval.py | 181 | # Step 2: Run every arm for every fact type through the store's single recall method. | COMMENT |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3059 | # Step 4: Retrieve results | STRING |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3068 | # Step 5: Parse results into facts (same as sync mode) | STRING |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3396 | # Step 7: Add temporal offsets | STRING |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3399 | # Step 8: Auto-tag facts from label groups with tag=True | STRING |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3534 | # Step 2: Wait for all fact extractions to complete. | STRING |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3540 | # Step 3: Flatten and convert to typed objects | STRING |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3613 | # Step 4: For verbatim mode, collapse to one fact per chunk with original text | STRING |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3617 | # Step 5: Add time offsets to preserve ordering within each content | STRING |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3620 | # Step 6: Auto-tag facts from label groups with tag=True | STRING |
| LOW | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 2944 | # Step 1: Chunk all contents and build batch requests (skip if resuming) | STRING |
| LOW | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 2992 | # Step 2: Submit batch (skip if resuming) | STRING |
| LOW | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3033 | # Step 3: Poll until complete | STRING |
| LOW | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3355 | # Step 6: Convert to ExtractedFact objects with proper chunk mapping | STRING |
| LOW | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3517 | # Step 1: Create parallel fact extraction tasks | STRING |
| LOW | .github/workflows/release.yml | 462 | # # Step 1: Build for local testing (single platform, no push) | COMMENT |
| LOW | .github/workflows/release.yml | 476 | # # Step 2: Test the image before pushing anything | COMMENT |
| LOW | …dsight-docs/blog/2026-03-30-llamaindex-agent-memory.md | 76 | ## Step 1: Start Hindsight | COMMENT |
| LOW | …dsight-docs/blog/2026-03-30-llamaindex-agent-memory.md | 88 | ## Step 2: Install the Integration | COMMENT |
| LOW | …dsight-docs/blog/2026-03-30-llamaindex-agent-memory.md | 96 | ## Step 3: Create the Agent | COMMENT |
| LOW | …2026-07-28-migrate-agent-memory-off-vector-database.md | 27 | ## Step 1: stand up Hindsight | COMMENT |
| LOW | …2026-07-28-migrate-agent-memory-off-vector-database.md | 51 | ## Step 2: rethink the unit you are moving | COMMENT |
| LOW | …2026-07-28-migrate-agent-memory-off-vector-database.md | 68 | ## Step 3: export the text, not the vectors | COMMENT |
| LOW | …2026-07-28-migrate-agent-memory-off-vector-database.md | 84 | ## Step 4: retain in batches | COMMENT |
| LOW | …2026-07-28-migrate-agent-memory-off-vector-database.md | 110 | ## Step 5: verify, then decommission | COMMENT |
| LOW | …ight-docs/blog/2026-03-10-run-hindsight-with-ollama.md | 68 | ### Step 1: Install Ollama | COMMENT |
| LOW | …ight-docs/blog/2026-03-10-run-hindsight-with-ollama.md | 90 | ### Step 2: Install Hindsight | COMMENT |
| LOW | …ight-docs/blog/2026-03-10-run-hindsight-with-ollama.md | 106 | ### Step 3: Start Hindsight with Ollama | COMMENT |
| LOW | …ight-docs/blog/2026-03-10-run-hindsight-with-ollama.md | 136 | ### Step 4: Create a Bank and Store Memories | COMMENT |
| LOW | …ight-docs/blog/2026-03-10-run-hindsight-with-ollama.md | 171 | ### Step 5: Recall Memories | COMMENT |
| LOW | …ight-docs/blog/2026-03-10-run-hindsight-with-ollama.md | 186 | ### Step 6: Reflect (With a Caveat) | COMMENT |
| LOW | …ndsight-docs/blog/2026-04-01-openclaw-shared-memory.md | 39 | ### Step 1: Get a Hindsight API endpoint | COMMENT |
| LOW | …ndsight-docs/blog/2026-04-01-openclaw-shared-memory.md | 45 | ### Step 2: Configure an LLM provider for extraction | COMMENT |
| LOW | …ndsight-docs/blog/2026-04-01-openclaw-shared-memory.md | 65 | ### Step 3: Install the plugin | COMMENT |
| 271 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | hindsight-all/hindsight/embedded.py | 341 | # Create a bank | STRING |
| MEDIUM | hindsight-all/hindsight/embedded.py | 365 | # Create a mental model | STRING |
| MEDIUM | hindsight-all/hindsight/embedded.py | 393 | # Create a directive | STRING |
| MEDIUM | hindsight-all/tests/test_server_integration.py | 247 | # Create a couple of banks with random IDs to allow parallel test execution | COMMENT |
| MEDIUM⚡ | hindsight-all/tests/test_embedded_namespaces.py | 114 | # Create a new mock client each time (simulating daemon restart) | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_batch_chunking.py | 384 | # Create a large batch that should trigger chunking | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_batch_chunking.py | 410 | # Create a small batch that should NOT trigger chunking | COMMENT |
| MEDIUM⚡ | hindsight-api-slim/tests/test_admin_backup_restore.py | 475 | # Create a bank | COMMENT |
| MEDIUM⚡ | hindsight-api-slim/tests/test_admin_backup_restore.py | 481 | # Create a memory unit with all column types | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_admin_backup_restore.py | 299 | # Create a bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_admin_backup_restore.py | 495 | # Create an entity | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_ann_iterative_scan.py | 219 | # Creating the bank also builds its per-(bank, fact_type) partial vector index — | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_document_transfer.py | 1394 | # Create a real observation over those source facts. The helper self-acquires a | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_mcp_endpoint_routing.py | 30 | # Create an HTTPX client that routes to our ASGI app | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_metrics.py | 382 | # Create a class that inherits but doesn't implement | COMMENT |
| MEDIUM⚡ | hindsight-api-slim/tests/test_link_utils.py | 186 | # Create a slightly similar embedding (add noise) | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_async_batch_retain.py | 275 | # Create a large batch that exceeds the threshold (10k tokens default) | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_async_batch_retain.py | 587 | # Create a batch that's just under the threshold | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_async_batch_retain.py | 1125 | # Create a parent operation (is_parent=True) | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_chunking.py | 43 | # Create a text with 10 sentences of ~100 chars each | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_chunking.py | 64 | # Create a 64k character text | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_audit_log.py | 47 | # Create the bank first | COMMENT |
| MEDIUM⚡ | hindsight-api-slim/tests/test_consolidation.py | 1093 | # Create the bank | COMMENT |
| MEDIUM⚡ | hindsight-api-slim/tests/test_consolidation.py | 1096 | # Create a specific date in the past for testing | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 71 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 102 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 139 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 160 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 206 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 237 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 275 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 341 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 421 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 551 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 587 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 623 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 660 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 734 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 791 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 855 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 912 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 951 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 993 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 1037 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 1175 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 1306 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 1374 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 1451 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 1469 | # Create a mental model about John (higher quality, user-curated) | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 1532 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 1585 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 1649 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 1652 | # Create a mental model with refresh_after_consolidation trigger enabled | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 1730 | # Create the bank | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 1733 | # Create a mental model (default trigger is refresh_after_consolidation: false) | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_consolidation.py | 1809 | # Create the bank | COMMENT |
| MEDIUM⚡ | hindsight-api-slim/tests/test_mental_models.py | 2465 | # Create a directive | COMMENT |
| MEDIUM⚡ | hindsight-api-slim/tests/test_mental_models.py | 2473 | # Create a concept mental model to refresh | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_mental_models.py | 91 | # Create a directive | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_mental_models.py | 261 | # Create a directive with tags | COMMENT |
| 87 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | hindsight-all/hindsight/server.py | 152 | Start the server in a background thread. Args: timeout: Maximum time to wait for server to | STRING |
| HIGH | …base-tenant/hindsight_ext_supabase_tenant/extension.py | 289 | Validate a Supabase JWT and return tenant context. Uses local JWKS verification when available (no net | STRING |
| HIGH | …s-tenant/hindsight_ext_static_keys_tenant/extension.py | 264 | Validate the API key and return tenant context. Args: context: Request context containing | STRING |
| HIGH | hindsight-api-slim/hindsight_api/config.py | 115 | Convert environment variable format to Python field name format. Examples: HINDSIGHT_API_LLM_PROVIDER | STRING |
| HIGH | hindsight-api-slim/hindsight_api/config_resolver.py | 493 | Normalize and validate bank configuration overrides. Permission hooks run here, once per request. Cros | STRING |
| HIGH | hindsight-api-slim/hindsight_api/mcp_tools.py | 476 | Parse an ISO format timestamp string. Args: timestamp: ISO format timestamp (e.g., '2024-01-15T10:30:00Z') | STRING |
| HIGH | hindsight-api-slim/hindsight_api/extensions/tenant.py | 85 | Authenticate the action context and return tenant context. Args: context: The action conte | STRING |
| HIGH | hindsight-api-slim/hindsight_api/extensions/tenant.py | 137 | Get set of config fields that this tenant/bank is allowed to modify. This method controls which config | STRING |
| HIGH | hindsight-api-slim/hindsight_api/extensions/tenant.py | 206 | Authenticate MCP requests. By default, this calls authenticate(). Override this method to provide | STRING |
| HIGH | …i-slim/hindsight_api/extensions/operation_validator.py | 724 | Validate a retain operation before execution. Called before the retain operation is processed. Return | STRING |
| HIGH | …i-slim/hindsight_api/extensions/operation_validator.py | 745 | Validate a recall operation before execution. Called before the recall operation is processed. Return | STRING |
| HIGH | …i-slim/hindsight_api/extensions/operation_validator.py | 773 | Validate a reflect operation before execution. Called before the reflect operation is processed. Retur | STRING |
| HIGH | hindsight-api-slim/hindsight_api/extensions/loader.py | 78 | Load an extension from environment variable configuration. The extension class is specified via {env_prefix}_{ | STRING |
| HIGH | hindsight-api-slim/hindsight_api/engine/interface.py | 654 | Cancel a pending async operation. Args: bank_id: The memory bank ID. operation | STRING |
| HIGH | hindsight-api-slim/hindsight_api/engine/interface.py | 678 | Delete a terminal async operation record. Args: bank_id: The memory bank ID. o | STRING |
| HIGH | …ndsight-api-slim/hindsight_api/engine/llm_interface.py | 171 | Make an LLM API call with retry logic. Args: messages: List of message dicts with 'role' a | STRING |
| HIGH | …ndsight-api-slim/hindsight_api/engine/llm_interface.py | 383 | Submit a batch of requests to the provider's batch API. Args: requests: List of request di | STRING |
| HIGH | …ndsight-api-slim/hindsight_api/engine/llm_interface.py | 400 | Get the status of a batch job. Args: batch_id: Batch identifier returned from submit_batch | STRING |
| HIGH | …ndsight-api-slim/hindsight_api/engine/llm_interface.py | 415 | Retrieve completed batch results. Args: batch_id: Batch identifier returned from submit_ba | STRING |
| HIGH | hindsight-api-slim/hindsight_api/engine/llm_wrapper.py | 370 | Robustly parse JSON returned by an LLM. Handles common LLM output quirks: 1. Markdown code fences (```json | STRING |
| HIGH | hindsight-api-slim/hindsight_api/engine/llm_wrapper.py | 1226 | Make an LLM API call with retry logic. Args: messages: List of message dicts with 'role' a | STRING |
| HIGH | hindsight-api-slim/hindsight_api/engine/db_utils.py | 74 | Execute an async function with exponential backoff retry. Args: func: Async function to execute | STRING |
| HIGH | …ight-api-slim/hindsight_api/engine/parsers/__init__.py | 55 | Get parser by name or auto-detect. Args: name: Parser name (e.g., "markitdown") or None fo | STRING |
| HIGH | …ight-api-slim/hindsight_api/engine/parsers/__init__.py | 90 | Try each parser in order, falling back on failure or empty content. Moves to the next parser if the cu | STRING |
| HIGH | hindsight-api-slim/hindsight_api/engine/parsers/base.py | 17 | Parse file to markdown. Args: file_data: Raw file bytes filename: Original fil | STRING |
| HIGH | …indsight_api/engine/providers/openai_compatible_llm.py | 1176 | Make an LLM API call with retry logic. Args: messages: List of message dicts with 'role' a | STRING |
| HIGH | …indsight_api/engine/providers/openai_compatible_llm.py | 2224 | Submit a batch of requests to OpenAI/Groq Batch API. Args: requests: List of request dicts | STRING |
| HIGH | …slim/hindsight_api/engine/providers/claude_code_llm.py | 291 | Make an LLM API call with retry logic. Args: messages: List of message dicts with 'role' a | STRING |
| HIGH | …i-slim/hindsight_api/engine/providers/anthropic_llm.py | 270 | Make an LLM API call with retry logic. Args: messages: List of message dicts with 'role' a | STRING |
| HIGH | …ight-api-slim/hindsight_api/engine/storage/__init__.py | 51 | Create file storage backend based on configuration. Args: storage_type: "native" (PostgreSQL BYTEA) or | STRING |
| HIGH | hindsight-api-slim/hindsight_api/engine/storage/base.py | 56 | Retrieve file by storage key. Args: key: Storage key Returns: File da | STRING |
| HIGH | hindsight-api-slim/hindsight_api/engine/db/__init__.py | 56 | Factory: create a DatabaseBackend by name. Args: backend_type: One of "postgresql" or "oracle". Return | STRING |
| HIGH | hindsight-api-slim/hindsight_api/engine/db/__init__.py | 74 | Factory: the DataAccessOps for a backend name. Returns a per-dialect SINGLETON: ``DataAccessOps`` is stateless (it | STRING |
| HIGH | …-api-slim/hindsight_api/engine/retain/entity_labels.py | 52 | Parse raw entity labels config into EntityLabelsConfig. Accepts: - None → returns None - list → list o | STRING |
| HIGH | …t-api-slim/hindsight_api/engine/retain/orchestrator.py | 445 | Parse a datetime value that could be either a datetime object or an ISO string. This handles datetime values f | STRING |
| HIGH | hindsight-api-slim/hindsight_api/engine/sql/__init__.py | 22 | Factory: create a SQLDialect by backend name. Args: backend_type: One of "postgresql" or "oracle". Ret | STRING |
| HIGH | hindsight-embed/hindsight_embed/embed_manager.py | 31 | Get the URL for the daemon serving this profile. Args: profile: Profile name Retu | STRING |
| HIGH | hindsight-embed/hindsight_embed/daemon_embed_manager.py | 327 | Get the URL for the daemon serving this profile. Args: profile: Profile name Retu | STRING |
| HIGH | …ht-clients/python/hindsight_client/hindsight_client.py | 2282 | Export a bank's documents as a transfer ZIP archive (blocking convenience). Export runs as a backgroun | STRING |
| HIGH | …ht-clients/python/hindsight_client/hindsight_client.py | 2377 | Export a whole bank as a transfer ZIP archive — submit, poll, download, return bytes. Three flags deci | STRING |
| HIGH | …-integrations/llamaindex/hindsight_llamaindex/tools.py | 369 | Create Hindsight memory tools for a LlamaIndex agent. Convenience factory that creates a ``HindsightToolSpec`` and | STRING |
| HIGH | hindsight-integrations/crewai/hindsight_crewai/tools.py | 92 | Execute the reflect tool. Args: query: The question or topic to reflect on. Returns: | STRING |
| HIGH | …dsight-integrations/crewai/hindsight_crewai/storage.py | 213 | Search memories in Hindsight via recall. Called by CrewAI automatically at the start of each task. Arg | STRING |
| HIGH | …-integrations/smolagents/hindsight_smolagents/tools.py | 325 | Pre-recall memories for injection into agent system prompt. Performs a sync recall at construction time and returns | STRING |
| HIGH | …ght-integrations/agentcore/hindsight_agentcore/bank.py | 79 | Default bank resolver: one bank per (tenant, user, agent) tuple. Output format: With tenant: tenant:{ten | STRING |
| HIGH | …grations/superagent/hindsight_superagent/middleware.py | 263 | Store information to memory after applying safety checks. If guard is enabled, the content is checked for promp | STRING |
| HIGH | …grations/superagent/hindsight_superagent/middleware.py | 317 | Store a batch of memories, applying safety checks to each item. Each item is a dict matching the shape accepted | STRING |
| HIGH | …grations/superagent/hindsight_superagent/middleware.py | 407 | Search memory after guarding the query, optionally redacting results. Args: query: Search query. | STRING |
| HIGH | …grations/superagent/hindsight_superagent/middleware.py | 463 | Synthesize an answer from memory after guarding the query. Args: query: Reflection query. | STRING |
| HIGH | …ntegrations/pydantic-ai/hindsight_pydantic_ai/tools.py | 68 | Create Hindsight memory tools for a Pydantic AI agent. Returns a list of ``Tool`` instances that can be passed dire | STRING |
| HIGH | …ntegrations/pydantic-ai/hindsight_pydantic_ai/tools.py | 196 | Create an instructions function that auto-injects relevant memories. Returns an async callable suitable for use wit | STRING |
| HIGH | …s/claude-agent-sdk/hindsight_claude_agent_sdk/hooks.py | 123 | Create Claude Agent SDK hooks for automatic memory operations. Returns a dict suitable for ``ClaudeAgentOptions(hoo | STRING |
| HIGH | …s/claude-agent-sdk/hindsight_claude_agent_sdk/tools.py | 57 | Create Hindsight memory tools as Claude Agent SDK ``SdkMcpTool`` instances. Returns a list of tools that can be wra | STRING |
| HIGH | hindsight-integrations/ag2/hindsight_ag2/tools.py | 49 | Create Hindsight memory tools for AG2 agents. Returns a list of plain Python functions compatible with AG2's `` | STRING |
| HIGH | …dsight-integrations/strands/hindsight_strands/tools.py | 119 | Create Hindsight memory tools for a Strands agent. Returns a list of ``@tool``-decorated functions that can be pass | STRING |
| HIGH | …dsight-integrations/strands/hindsight_strands/tools.py | 268 | Pre-recall memories for injection into agent system prompt. Performs a sync recall and returns a formatted string o | STRING |
| HIGH | hindsight-integrations/agno/hindsight_agno/tools.py | 298 | Pre-recall memories for injection into Agent instructions. Performs a sync recall at construction time and returns | STRING |
| HIGH | …-integrations/google-adk/hindsight_google_adk/tools.py | 47 | Create Hindsight memory tools for a Google ADK agent. Args: bank_id: Hindsight memory bank these tools oper | STRING |
| HIGH | …ight-integrations/composio/hindsight_composio/tools.py | 249 | Pre-recall memories for injection into an agent's system prompt. Performs a sync recall and returns a formatted str | STRING |
| HIGH | …rations/openai-agents/hindsight_openai_agents/tools.py | 60 | Create Hindsight memory tools for an OpenAI Agents SDK agent. Returns a list of ``FunctionTool`` instances compatib | STRING |
| 7 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hindsight-cli/.openapi-coverage.toml | 1 | # Hindsight CLI ↔ OpenAPI coverage manifest. | COMMENT |
| LOW | hindsight-cli/.openapi-coverage.toml | 21 | # Operation-level skips | COMMENT |
| LOW | hindsight-cli/.openapi-coverage.toml | 61 | # and the control plane, not the end-user CLI. update_memory covers all three. | COMMENT |
| LOW | hindsight-cli/smoke-test.sh | 1 | #!/bin/bash | COMMENT |
| LOW | hindsight-cli/tests/integration_test.rs | 201 | /// Regression test for the SIGPIPE crash. | COMMENT |
| LOW | hindsight-cli/tests/cli_profile.rs | 1 | //! End-to-end tests for the `hindsight profile` CRUD subcommands and the | COMMENT |
| LOW | hindsight-cli/tests/api_error_surface.rs | 1 | //! Structural guard: every generated-client call must surface the HTTP | COMMENT |
| LOW | hindsight-cli/src/ui.rs | 21 | } | COMMENT |
| LOW | hindsight-cli/src/main.rs | 641 | /// Store (retain) a single memory | COMMENT |
| LOW | hindsight-cli/src/main.rs | 1081 | COMMENT | |
| LOW | hindsight-cli/src/main.rs | 1121 | tags: Option<Vec<String>>, | COMMENT |
| LOW | hindsight-cli/src/main.rs | 1421 | COMMENT | |
| LOW | hindsight-cli/src/commands/fs/client.rs | 1 | //! Minimal Hindsight API client — only the knowledge-base read endpoints needed | COMMENT |
| LOW | hindsight-cli/src/commands/fs/sync.rs | 1 | //! The sync engine: fetch a bank's knowledge base (folder/page tree + page | COMMENT |
| LOW | docker/test-image.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/test-image.sh | 21 | # HINDSIGHT_API_RERANKER_PROVIDER - Reranker provider (optional, for slim images: cohere, tei) | COMMENT |
| LOW | docker/test-slim-local.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/standalone/start-all.sh | 1 | #!/bin/bash | COMMENT |
| LOW | docker/standalone/start-all.sh | 41 | fi | COMMENT |
| LOW | docker/standalone/start-all.sh | 121 | return 0 | COMMENT |
| LOW | docker/standalone/start-all.sh | 161 | # loopback address makes every locale rewrite look cross-origin and leak out | COMMENT |
| LOW | docker/standalone/start-all.sh | 281 | sleep "$RETRY_INTERVAL" | COMMENT |
| LOW | docker/docker-compose/pg_textsearch/docker-compose.yaml | 1 | name: hindsight | COMMENT |
| LOW | docker/docker-compose/external-pg/docker-compose.yaml | 1 | # Docker Compose file for Hindsight with PostgreSQL and pgvector | COMMENT |
| LOW | docker/docker-compose/local-llm/docker-compose.yaml | 1 | name: hindsight-local-llm | COMMENT |
| LOW | docker/docker-compose/claude-code/docker-compose.yaml | 41 | # protocol incompatibility in containers. Override it with the | COMMENT |
| LOW | docker/docker-compose/custom-models/docker-compose.yaml | 1 | name: hindsight-custom-models | COMMENT |
| LOW | docker/docker-compose/timescale/docker-compose.yaml | 1 | name: hindsight | COMMENT |
| LOW | docker/docker-compose/cuda/docker-compose.yaml | 1 | name: hindsight-cuda | COMMENT |
| LOW | …ker/docker-compose/s3-file-storage/docker-compose.yaml | 1 | # Docker Compose file for Hindsight with S3 file storage (SeaweedFS) | COMMENT |
| LOW | docker/docker-compose/tei/docker-compose.yaml | 1 | name: hindsight-tei | COMMENT |
| LOW | docker/docker-compose/nginx/docker-compose.yml | 1 | # Hindsight API deployment with Nginx reverse proxy (API-only) | COMMENT |
| LOW | docker/docker-compose/nginx/docker-compose.yml | 41 | # HINDSIGHT_API_LLM_MODEL: gpt-4o-mini | COMMENT |
| LOW | docker/docker-compose/alloydb/docker-compose.yaml | 1 | name: hindsight | COMMENT |
| LOW | docker/docker-compose/pgroonga/docker-compose.yaml | 1 | name: hindsight | COMMENT |
| LOW | docker/docker-compose/vchord/docker-compose.yaml | 1 | name: hindsight | COMMENT |
| LOW | docker/docker-compose/pg_search/docker-compose.yaml | 1 | name: hindsight | COMMENT |
| LOW | hindsight-extensions/supabase-tenant/pyproject.toml | 1 | # This file exists to run the tests, nothing else. The extension is not | COMMENT |
| LOW | …s-tenant/hindsight_ext_static_keys_tenant/extension.py | 281 | # exact-equality fast path, which would let unknown keys skip the | COMMENT |
| LOW | hindsight-api-slim/pyproject.toml | 41 | # Two coupled reasons for these floors — keep all six pins moving together: | COMMENT |
| LOW | hindsight-api-slim/pyproject.toml | 61 | # survives). The engine also serialises those entries now (see | COMMENT |
| LOW | hindsight-api-slim/pyproject.toml | 121 | "tokenizers>=0.22.0,<=0.23.0", | COMMENT |
| LOW | …dsight-api-slim/tests/test_mental_model_retractions.py | 801 | assert "Autocommit is disabled" in refreshed["content"] | COMMENT |
| LOW | hindsight-api-slim/tests/conftest.py | 21 | # embeddings.initialize() -> sentence_transformers -> transformers -> torch, or | COMMENT |
| LOW | hindsight-api-slim/tests/conftest.py | 41 | # cache hit and the body never re-executes. | COMMENT |
| LOW | hindsight-api-slim/tests/conftest.py | 181 | DEFAULT_PG0_INSTANCE_NAME = "hindsight-test" | COMMENT |
| LOW | hindsight-api-slim/tests/conftest.py | 281 | # that consolidation_llm_parallelism=4 increases peak conns per op). | COMMENT |
| LOW | hindsight-api-slim/tests/test_entity_labels.py | 2181 | # | COMMENT |
| LOW | …dsight-api-slim/tests/test_refresh_outcome_metadata.py | 141 | # ``result_metadata`` is the only per-refresh record kept indefinitely | COMMENT |
| LOW | hindsight-api-slim/tests/test_reflect_tracing.py | 41 | finally: | COMMENT |
| LOW | hindsight-api-slim/tests/test_delta_retain.py | 941 | # ============================================================ | COMMENT |
| LOW | …-api-slim/tests/test_embeddings_request_concurrency.py | 381 | assert resolve_max_batch_size(backend, slots=8) == 8 | COMMENT |
| LOW | hindsight-api-slim/tests/test_memory_curation.py | 21 | # table empty, so the seed lands nowhere the code under test can see it: the failing cases find | COMMENT |
| LOW | hindsight-api-slim/tests/test_async_batch_retain.py | 1301 | payload = json.loads(row["task_payload"]) | COMMENT |
| LOW | hindsight-api-slim/tests/test_chunking.py | 321 | assert chunks == ["Line one here.", "Line two here.", "Line three now."] | COMMENT |
| LOW | hindsight-api-slim/tests/test_memories_extension.py | 61 | # document methods below — exercising that half of the seam too. | COMMENT |
| LOW | hindsight-api-slim/tests/test_memories_extension.py | 81 | # Units the consolidator gave up on — the store's `consolidation_failed_at`. Out of the | COMMENT |
| LOW | hindsight-api-slim/tests/test_memories_extension.py | 1841 | assert by_id[obs_id].source_fact_ids == [src_id] | COMMENT |
| LOW | hindsight-api-slim/tests/test_webhooks.py | 2001 | await conn.execute( | COMMENT |
| LOW | …ight-api-slim/tests/test_repair_bank_vector_indexes.py | 61 | COMMENT | |
| 332 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hindsight-all/hindsight/server.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-all/hindsight/__init__.py | 64 | __all__ = [ | CODE |
| LOW | hindsight-all/hindsight/embedded.py | 45 | logger = logging.getLogger(__name__) | CODE |
| LOW | …abase-tenant/hindsight_ext_supabase_tenant/__init__.py | 10 | __all__ = ["SupabaseTenantExtension"] | CODE |
| LOW | …base-tenant/hindsight_ext_supabase_tenant/extension.py | 66 | logger = logging.getLogger(__name__) | CODE |
| LOW | …base-tenant/hindsight_ext_supabase_tenant/extension.py | 68 | __all__ = ["SupabaseTenantExtension"] | CODE |
| LOW | …ys-tenant/hindsight_ext_static_keys_tenant/__init__.py | 10 | __all__ = ["StaticKeysTenantExtension"] | CODE |
| LOW | …s-tenant/hindsight_ext_static_keys_tenant/extension.py | 51 | logger = logging.getLogger(__name__) | CODE |
| LOW | …s-tenant/hindsight_ext_static_keys_tenant/extension.py | 53 | __all__ = ["StaticKeysTenantExtension"] | CODE |
| LOW | hindsight-api-slim/tests/test_file_storage_s3.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_memory_defense.py | 689 | async def _set_policy(api_client, bank: str, updates: dict) -> None: | CODE |
| LOW⚡ | …ndsight-api-slim/tests/test_oracle_http_integration.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | …pi-slim/tests/test_retain_same_document_concurrency.py | 40 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_oracle_integration.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/tests/test_xai_oauth_llm.py | 1836 | async def _settle() -> None: | CODE |
| LOW | hindsight-api-slim/tests/test_load_large_batch.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_delta_retain.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/tests/test_retain_append_mode.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/tests/test_batch_api_integration.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/tests/test_bank_attribution.py | 51 | def _set_flag(enabled: bool) -> None: | CODE |
| LOW | hindsight-api-slim/tests/test_batch_api.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | …-api-slim/tests/test_graph_maintenance_submit_dedup.py | 80 | async def _set_status(memory: MemoryEngine, operation_id: str, status: str) -> None: | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_retain.py | 3374 | def _set_chunk_batch_size(memory: MemoryEngine, batch_size: int) -> None: | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_retain.py | 3379 | def _set_retain_memory_budget_mb(memory: MemoryEngine, budget_mb: int) -> None: | CODE |
| LOW | hindsight-api-slim/tests/test_retain.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ght-api-slim/tests/test_fireworks_batch_integration.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ndsight-api-slim/tests/test_delta_retain_duplicates.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/tests/test_multilingual.py | 32 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/tests/llm_judge.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | …t-api-slim/tests/test_retain_document_serialization.py | 52 | logger = logging.getLogger(__name__) | CODE |
| LOW | …dsight-api-slim/tests/test_gemini_batch_integration.py | 43 | logger = logging.getLogger(__name__) | CODE |
| LOW | …dsight-api-slim/tests/test_fact_extraction_analysis.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/hindsight_api/metrics_multiworker.py | 44 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/hindsight_api/metrics.py | 163 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/hindsight_api/tracing.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/hindsight_api/tracing.py | 76 | def set_attribute(self, key: str, value: Any) -> None: | CODE |
| LOW | hindsight-api-slim/hindsight_api/tracing.py | 80 | def set_status(self, status: Any) -> None: | CODE |
| LOW | hindsight-api-slim/hindsight_api/config.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/hindsight_api/pg0.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/hindsight_api/_cross_loop.py | 42 | __all__ = ["CrossLoopSemaphore", "CrossLoopLock"] | CODE |
| LOW | hindsight-api-slim/hindsight_api/_pg_extensions.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/hindsight_api/config_resolver.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | hindsight-api-slim/hindsight_api/migrations.py | 74 | def _set_alembic_main_option(config: Config, name: str, value: str) -> None: | CODE |
| LOW | hindsight-api-slim/hindsight_api/migrations.py | 58 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/hindsight_api/_vector_index.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/hindsight_api/http_probe.py | 49 | __all__ = ["DEFAULT_TIMEOUT_SECONDS", "main", "probe"] | CODE |
| LOW | hindsight-api-slim/hindsight_api/loop_lag.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 87 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/hindsight_api/admin/cli.py | 45 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/hindsight_api/admin/cli.py | 962 | async def _set_fks_deferrable(conn: asyncpg.Connection, fks: list[asyncpg.Record], clause: str) -> None: | STRING |
| LOW | …/hindsight_api/extensions/validator_instrumentation.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/hindsight_api/extensions/__init__.py | 87 | __all__ = [ | CODE |
| LOW | hindsight-api-slim/hindsight_api/extensions/mcp.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/hindsight_api/extensions/loader.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ht-api-slim/hindsight_api/extensions/memory_defense.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/hindsight_api/extensions/base.py | 38 | def set_context(self, context: "ExtensionContext") -> None: | CODE |
| LOW | …-api-slim/hindsight_api/extensions/builtin/__init__.py | 26 | __all__ = [ | CODE |
| LOW | …ndsight_api/extensions/builtin/memory_defense_regex.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/hindsight_api/api/unknown_params.py | 46 | logger = logging.getLogger(__name__) | CODE |
| LOW | hindsight-api-slim/hindsight_api/api/__init__.py | 14 | logger = logging.getLogger(__name__) | CODE |
| 234 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | hindsight-api-slim/tests/test_document_transfer.py | 1174 | # now that the manifest no longer includes embedding model/dimension metadata). | COMMENT |
| MEDIUM | …sight-api-slim/tests/test_temporal_recall_selection.py | 204 | # The per-arm SQL orchestration now lives in PostgresMemories.recall_unified, so stub the seams | COMMENT |
| MEDIUM⚡ | hindsight-api-slim/tests/test_mcp_tools.py | 2572 | # Mirrors ReflectResult: the agentic loop's trace fields are large and present. | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_reflect_prompt_builder.py | 289 | # --- Directives header block (inserted between anti-hallucination and role) --- | STRING |
| MEDIUM | hindsight-api-slim/tests/test_mental_models.py | 847 | # are the scaffolding that prevents double-counting and unjustified | COMMENT |
| MEDIUM | …ight-api-slim/tests/test_repair_bank_vector_indexes.py | 140 | # default local embedding model the schema is built for. | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_multilingual.py | 199 | # The LLM should use names from the based_on facts, not hallucinate different names | STRING |
| MEDIUM | hindsight-api-slim/tests/test_http_api_integration.py | 1161 | # Verify usage field exists and is populated (agentic reflect aggregates all LLM calls) | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_http_api_integration.py | 1165 | # Usage must be present - agentic reflect now aggregates token usage from all LLM calls | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_packed_embeddings.py | 48 | # the original — not against the float64 the embedding model handed us. | COMMENT |
| MEDIUM⚡ | hindsight-api-slim/hindsight_api/config.py | 1489 | # set it to the model's context window (or lower, to bound request size on a CPU-only | COMMENT |
| MEDIUM⚡ | hindsight-api-slim/hindsight_api/config.py | 1498 | # essentially every remote embedding model in use (OpenAI text-embedding-3-*, Bedrock | COMMENT |
| MEDIUM⚡ | hindsight-api-slim/hindsight_api/config.py | 1507 | # these counts back budgets that stand in for a model's context window, and a bank that | COMMENT |
| MEDIUM | hindsight-api-slim/hindsight_api/config.py | 3079 | # Optional native Ollama context window override. Unset lets Ollama use the | COMMENT |
| MEDIUM⚡ | hindsight-api-slim/hindsight_api/mcp_tools.py | 2455 | # path rather than in an agent's context window. | COMMENT |
| MEDIUM | hindsight-api-slim/hindsight_api/mcp_tools.py | 1540 | # The agentic reflect loop's trace fields can be tens of KB (full | COMMENT |
| MEDIUM | hindsight-api-slim/hindsight_api/mcp_tools.py | 1633 | # The agentic reflect loop's trace fields can be tens of KB (full | COMMENT |
| MEDIUM | hindsight-api-slim/hindsight_api/api/http.py | 5031 | # Preserve FastAPI's dependency injection signature | COMMENT |
| MEDIUM⚡ | …ndsight-api-slim/hindsight_api/engine/llm_interface.py | 340 | # For agentic loops (reflect) the dominant cost is the conversation prefix | COMMENT |
| MEDIUM | …dsight-api-slim/hindsight_api/engine/prompt_preview.py | 245 | # blocks: they cut the scaffolding into repeated one-line fragments. | COMMENT |
| MEDIUM | …indsight_api/engine/providers/openai_compatible_llm.py | 201 | # (e.g. MiniMax-M3) leak the chain-of-thought wrapped in these tags into the | COMMENT |
| MEDIUM | …indsight_api/engine/providers/openai_compatible_llm.py | 1428 | # reasoning models like MiniMax-M3 wrap their chain-of-thought | COMMENT |
| MEDIUM | …indsight_api/engine/providers/openai_compatible_llm.py | 2034 | # models still wrap their chain-of-thought in <think> tags | COMMENT |
| MEDIUM | …slim/hindsight_api/engine/providers/claude_code_llm.py | 673 | # an agentic loop the caller drives: the model proposes tool calls, we return | COMMENT |
| MEDIUM | …sight-api-slim/hindsight_api/engine/reflect/prompts.py | 230 | # Anti-hallucination rule at the very top | COMMENT |
| MEDIUM | …sight-api-slim/hindsight_api/engine/reflect/prompts.py | 238 | # Inject directives after anti-hallucination rule | COMMENT |
| MEDIUM | …ndsight-api-slim/hindsight_api/engine/reflect/agent.py | 717 | # Step-by-step context caching for the agentic tool loop. | COMMENT |
| MEDIUM | …sight-api-slim/hindsight_api/engine/transfer/export.py | 126 | # its own embedding model / text-search backend. | COMMENT |
| MEDIUM | …ght-api-slim/hindsight_api/engine/memories/postgres.py | 158 | # `conn` is the connection pool: this store owns the per-arm orchestration and acquires its | COMMENT |
| MEDIUM | …ndsight-api-slim/hindsight_api/engine/memories/base.py | 2566 | # The graph-maintenance job orchestrates these; each pass asks the store to do | COMMENT |
| MEDIUM⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 2794 | # Import types for the orchestration layer (note: ExtractedFact here is different from the Pydantic model above) | COMMENT |
| MEDIUM | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 2062 | # scaffolding is byte-identical to the text-only path, and a chunk with no | COMMENT |
| MEDIUM | hindsight-docs/docs/developer/rag-vs-hindsight.md | 5 | # RAG vs Memory | COMMENT |
| MEDIUM | hindsight-docs/docs/developer/rag-vs-hindsight.md | 22 | ### RAG | COMMENT |
| MEDIUM | hindsight-docs/blog/2026-01-28-learning-capabilities.md | 274 | - [Directives](../developer/api/memory-banks#directives) — hard rules for compliance and guardrails | CODE |
| MEDIUM | …sight-docs/blog/2026-03-13-disposition-aware-agents.md | 200 | ## Disposition-aware agents in multi-agent systems | COMMENT |
| MEDIUM | …t-docs/blog/2026-07-22-context-window-is-not-memory.md | 20 | ## A context window is RAM, not disk | COMMENT |
| MEDIUM | …docs/blog/2026-06-15-gemini-spark-persistent-memory.md | 14 | [Gemini Spark](https://gemini.google/overview/agent/spark/) is Google's always-on agentic assistant. It plans, calls too | CODE |
| MEDIUM | hindsight-docs/blog/2026-03-30-version-0-4-21.md | 16 | - [**AG2 Integration**](#ag2-integration): Long-term memory for AG2 multi-agent workflows. | CODE |
| MEDIUM | …05-12-case-against-external-vector-dbs-agent-memory.md | 25 | ## Agent Memory Is Not RAG | COMMENT |
| MEDIUM | hindsight-docs/docs-integrations/gemini-spark.md | 9 | Long-term memory for [Gemini Spark](https://blog.google/products/gemini/gemini-spark/), Google's always-on agentic assis | CODE |
| MEDIUM | …026-04-21-comparison-hindsight-vs-rag-for-ai-agents.md | 29 | ## What RAG actually does | COMMENT |
| MEDIUM | …026-04-21-comparison-hindsight-vs-rag-for-ai-agents.md | 83 | ## When RAG is the better tool | COMMENT |
| MEDIUM | …026-04-21-comparison-hindsight-vs-rag-for-ai-agents.md | 121 | ## Where RAG breaks down for memory | COMMENT |
| MEDIUM | …des/2026-04-23-guide-why-your-ai-agent-needs-memory.md | 82 | ### Can a large context window replace memory? | COMMENT |
| MEDIUM | …hare-hindsight-memory-across-chatgpt-and-perplexity.md | 58 | ## Use guardrails so the shared bank stays useful | COMMENT |
| MEDIUM | …2026-07-17-guide-llamaindex-agent-memory-beyond-rag.md | 29 | ## RAG retrieves knowledge; memory retains experience | COMMENT |
| MEDIUM | …2026-07-17-guide-llamaindex-agent-memory-beyond-rag.md | 39 | ## Where RAG stops and memory begins | COMMENT |
| MEDIUM | …2026-07-17-guide-llamaindex-agent-memory-beyond-rag.md | 105 | ## Using RAG and memory together | COMMENT |
| MEDIUM | …2026-07-17-guide-llamaindex-agent-memory-beyond-rag.md | 149 | ### Treating RAG as memory | COMMENT |
| MEDIUM | …2026-07-17-guide-llamaindex-agent-memory-beyond-rag.md | 171 | ### Does adding memory replace my RAG pipeline? | COMMENT |
| MEDIUM | …y-ai-agents-lose-context-and-how-hindsight-fixes-it.md | 21 | ## The real problem is not just the context window | COMMENT |
| MEDIUM | …-23-guide-why-multi-step-tasks-break-without-memory.md | 78 | ### Can orchestration alone solve this? | COMMENT |
| MEDIUM | …sioned_docs/version-0.10/developer/rag-vs-hindsight.md | 5 | # RAG vs Memory | COMMENT |
| MEDIUM | …sioned_docs/version-0.10/developer/rag-vs-hindsight.md | 22 | ### RAG | COMMENT |
| MEDIUM | …/versioned_docs/version-0.9/developer/configuration.md | 1356 | ##### Pairing with the retain side: plain-retrieval ("RAG") banks | COMMENT |
| MEDIUM | …rsioned_docs/version-0.9/developer/rag-vs-hindsight.md | 5 | # RAG vs Memory | COMMENT |
| MEDIUM | …rsioned_docs/version-0.9/developer/rag-vs-hindsight.md | 22 | ### RAG | COMMENT |
| MEDIUM | …rsioned_docs/version-0.7/developer/rag-vs-hindsight.md | 5 | # RAG vs Memory | COMMENT |
| MEDIUM | …rsioned_docs/version-0.7/developer/rag-vs-hindsight.md | 22 | ### RAG | COMMENT |
| 27 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hindsight-api-slim/tests/test_google_cross_encoder.py | 243 | CODE | |
| LOW | …ndsight-api-slim/tests/test_bank_attribution_config.py | 32 | CODE | |
| LOW | hindsight-api-slim/tests/test_named_result_stubs.py | 104 | CODE | |
| LOW | hindsight-api-slim/tests/test_named_result_stubs.py | 221 | CODE | |
| LOW | hindsight-api-slim/tests/test_named_result_stubs.py | 255 | CODE | |
| LOW | hindsight-api-slim/tests/test_named_result_stubs.py | 307 | CODE | |
| LOW | hindsight-api-slim/tests/conftest.py | 433 | CODE | |
| LOW | …pi-slim/tests/test_retain_same_document_concurrency.py | 63 | CODE | |
| LOW | …ndsight-api-slim/tests/test_fact_extraction_quality.py | 494 | CODE | |
| LOW | hindsight-api-slim/tests/test_entity_labels.py | 494 | CODE | |
| LOW | hindsight-api-slim/tests/test_entity_labels.py | 596 | CODE | |
| LOW | …lim/tests/test_consolidation_silent_requeue_failure.py | 74 | CODE | |
| LOW | hindsight-api-slim/tests/test_mcp_tools.py | 2646 | CODE | |
| LOW | hindsight-api-slim/tests/test_reranker_typesafe.py | 101 | CODE | |
| LOW | hindsight-api-slim/tests/test_http_probe.py | 30 | CODE | |
| LOW | hindsight-api-slim/tests/test_mental_models.py | 3144 | CODE | |
| LOW | hindsight-api-slim/tests/test_mental_models.py | 3162 | CODE | |
| LOW | hindsight-api-slim/tests/test_horse_observations.py | 170 | CODE | |
| LOW | hindsight-api-slim/tests/test_gemini_embeddings.py | 522 | CODE | |
| LOW | hindsight-api-slim/tests/test_store_table_boundary.py | 56 | CODE | |
| LOW | …ndsight-api-slim/tests/test_reflect_split_synthesis.py | 46 | CODE | |
| LOW | hindsight-api-slim/tests/test_reranker_retry.py | 219 | CODE | |
| LOW | hindsight-api-slim/tests/test_worker.py | 3347 | CODE | |
| LOW | hindsight-api-slim/tests/chunking_reference.py | 63 | CODE | |
| LOW | hindsight-api-slim/tests/test_observations.py | 199 | CODE | |
| LOW | hindsight-api-slim/tests/test_model_init_timeout.py | 21 | CODE | |
| LOW | hindsight-api-slim/tests/test_reranker_timeouts.py | 18 | CODE | |
| LOW | hindsight-api-slim/tests/test_retain.py | 102 | CODE | |
| LOW | hindsight-api-slim/tests/test_retain.py | 292 | CODE | |
| LOW | hindsight-api-slim/tests/test_multilingual.py | 42 | CODE | |
| LOW | hindsight-api-slim/tests/test_multilingual.py | 133 | CODE | |
| LOW | hindsight-api-slim/tests/test_multilingual.py | 234 | CODE | |
| LOW | hindsight-api-slim/tests/test_http_api_integration.py | 1357 | CODE | |
| LOW | hindsight-api-slim/tests/test_sql_schema_safety.py | 42 | CODE | |
| LOW | hindsight-api-slim/tests/test_sql_schema_safety.py | 57 | CODE | |
| LOW | hindsight-api-slim/tests/test_aiohttp_session.py | 166 | CODE | |
| LOW | …m/tests/test_consolidation_multi_round_refresh_3411.py | 109 | CODE | |
| LOW | hindsight-api-slim/tests/test_db_pool_reset.py | 157 | CODE | |
| LOW | …t-api-slim/tests/test_retain_document_serialization.py | 738 | CODE | |
| LOW | …dsight-api-slim/tests/test_link_expansion_retrieval.py | 26 | CODE | |
| LOW | hindsight-api-slim/tests/test_schema_isolation.py | 89 | CODE | |
| LOW | hindsight-api-slim/tests/test_schema_isolation.py | 323 | CODE | |
| LOW | …api-slim/tests/test_consolidation_failure_isolation.py | 181 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/metrics.py | 126 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/tracing.py | 411 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/tracing.py | 603 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/config.py | 5345 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/_cross_loop.py | 80 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/config_resolver.py | 484 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/migrations.py | 412 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/migrations.py | 836 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/migrations.py | 1106 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/migrations.py | 1191 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 793 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 907 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 911 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 914 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/loop_watchdog.py | 107 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/admin/cli.py | 406 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/admin/cli.py | 717 | CODE | |
| 238 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hindsight-all/hindsight/server.py | 220 | CODE | |
| LOW | hindsight-all/hindsight/server.py | 56 | CODE | |
| LOW | hindsight-all/hindsight/embedded.py | 92 | CODE | |
| LOW | hindsight-api-slim/tests/test_memories_extension.py | 143 | CODE | |
| LOW | hindsight-api-slim/tests/test_memories_extension.py | 160 | CODE | |
| LOW | hindsight-api-slim/tests/test_memories_extension.py | 264 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/migrations.py | 1560 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 3491 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 3842 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 4043 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 4119 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 4177 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 4238 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 1008 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 1259 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 1363 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 1466 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 1561 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 2142 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 3073 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/mcp_tools.py | 3679 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/api/http.py | 5749 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/api/http.py | 5794 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/api/http.py | 7775 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/api/http.py | 9128 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/api/http.py | 10617 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/worker/poller.py | 331 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/engine/llm_trace.py | 482 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/engine/interface.py | 88 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/engine/interface.py | 341 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/engine/interface.py | 408 | CODE | |
| LOW | …ndsight-api-slim/hindsight_api/engine/llm_interface.py | 156 | CODE | |
| LOW | …ndsight-api-slim/hindsight_api/engine/llm_interface.py | 205 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/engine/llm_wrapper.py | 449 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/engine/llm_wrapper.py | 826 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/engine/llm_wrapper.py | 1212 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/engine/llm_wrapper.py | 1401 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/engine/embeddings.py | 457 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/engine/embeddings.py | 1333 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/engine/embeddings.py | 1499 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/engine/embeddings.py | 1687 | CODE | |
| LOW | hindsight-api-slim/hindsight_api/engine/embeddings.py | 1916 | CODE | |
| LOW | …ndsight-api-slim/hindsight_api/engine/cross_encoder.py | 215 | CODE | |
| LOW | …i-slim/hindsight_api/engine/providers/xai_oauth_llm.py | 703 | CODE | |
| LOW | …i-slim/hindsight_api/engine/providers/xai_oauth_llm.py | 840 | CODE | |
| LOW | …m/hindsight_api/engine/providers/github_copilot_llm.py | 586 | CODE | |
| LOW | …m/hindsight_api/engine/providers/github_copilot_llm.py | 693 | CODE | |
| LOW | …-api-slim/hindsight_api/engine/providers/gemini_llm.py | 417 | CODE | |
| LOW | …-api-slim/hindsight_api/engine/providers/gemini_llm.py | 807 | CODE | |
| LOW | …api-slim/hindsight_api/engine/providers/litellm_llm.py | 284 | CODE | |
| LOW | …api-slim/hindsight_api/engine/providers/litellm_llm.py | 511 | CODE | |
| LOW | …pi-slim/hindsight_api/engine/providers/llamacpp_llm.py | 314 | CODE | |
| LOW | …pi-slim/hindsight_api/engine/providers/llamacpp_llm.py | 426 | CODE | |
| LOW | …pi-slim/hindsight_api/engine/providers/llamacpp_llm.py | 456 | CODE | |
| LOW | …ht-api-slim/hindsight_api/engine/providers/mock_llm.py | 104 | CODE | |
| LOW | …ht-api-slim/hindsight_api/engine/providers/mock_llm.py | 214 | CODE | |
| LOW | …-api-slim/hindsight_api/engine/providers/cursor_llm.py | 358 | CODE | |
| LOW | …-api-slim/hindsight_api/engine/providers/cursor_llm.py | 430 | CODE | |
| LOW | …indsight_api/engine/providers/openai_compatible_llm.py | 1162 | CODE | |
| LOW | …indsight_api/engine/providers/openai_compatible_llm.py | 1609 | CODE | |
| 186 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | hindsight-api-slim/tests/test_gemini_batch.py | 303 | llm._client.aio.files.download.assert_awaited_once() | CODE |
| CRITICAL⚡ | hindsight-api-slim/tests/test_llm_extra_body.py | 164 | config_arg = provider._client.aio.models.generate_content.call_args.kwargs.get("config") | CODE |
| CRITICAL⚡ | hindsight-api-slim/tests/test_llm_extra_body.py | 178 | config_arg = provider._client.aio.models.generate_content.call_args.kwargs.get("config") | CODE |
| CRITICAL⚡ | hindsight-api-slim/tests/test_llm_extra_body.py | 190 | config_arg = provider._client.aio.models.generate_content.call_args.kwargs.get("config") | CODE |
| CRITICAL⚡ | hindsight-api-slim/tests/test_llm_extra_body.py | 205 | config_arg = provider._client.aio.models.generate_content.call_args.kwargs.get("config") | CODE |
| CRITICAL | hindsight-api-slim/tests/test_llm_extra_body.py | 234 | config_arg = provider._client.aio.models.generate_content.call_args.kwargs.get("config") | CODE |
| CRITICAL | hindsight-api-slim/tests/test_llm_extra_body.py | 267 | config_arg = provider._client.aio.models.generate_content.call_args.kwargs.get("config") | CODE |
| CRITICAL | hindsight-api-slim/tests/test_gemini_embeddings.py | 92 | mock_genai.Client.return_value.aio.models.embed_content.assert_called_once() | CODE |
| CRITICAL | hindsight-api-slim/tests/test_anthropic_batch.py | 123 | provider._client.messages.batches.create.assert_awaited_once() | CODE |
| CRITICAL⚡ | …t-api-slim/tests/test_openrouter_require_parameters.py | 43 | return llm._client.chat.completions.create.call_args.kwargs.get("extra_body") | CODE |
| CRITICAL⚡ | hindsight-api-slim/tests/test_gemini_safety_settings.py | 381 | config_arg = provider._provider_impl._client.aio.models.generate_content.call_args.kwargs.get("config") | CODE |
| CRITICAL | hindsight-api-slim/tests/test_gemini_safety_settings.py | 360 | config_arg = provider._provider_impl._client.aio.models.generate_content.call_args.kwargs.get("config") | CODE |
| CRITICAL | hindsight-integrations/zapier/test/triggers.test.js | 72 | result.secret.should.be.a.String(); | CODE |
| CRITICAL | hindsight-integrations/zapier/test/triggers.test.js | 144 | App.triggers.should.not.have.property("memoryDefenseTriggered"); | CODE |
| CRITICAL | …ions/obsidian/tests/node/reconcile-integration.spec.ts | 149 | const created = after.client.retain.mock.calls.map((c) => c[1]); | CODE |
| CRITICAL | …ght-integrations/litellm/hindsight_litellm/wrappers.py | 1249 | response = self._wrapper._client.chat.completions.create(**openai_kwargs) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | hindsight-api-slim/tests/test_document_transfer.py | 1208 | # Embeddings were regenerated locally (not null) in the destination. | COMMENT |
| HIGH | …ht-api-slim/tests/test_extraction_absent_dimensions.py | 58 | # dimensions required and non-null, "not stated" is not a legal answer and the | COMMENT |
| HIGH⚡ | hindsight-api-slim/tests/test_xai_oauth_llm.py | 1063 | ('{"error": {"message": null}}', ""), | CODE |
| HIGH | hindsight-api-slim/tests/test_entity_labels.py | 111 | # Single-value: Pydantic emits anyOf[{enum: [...]}, {type: null}] | COMMENT |
| HIGH | hindsight-api-slim/tests/test_entity_labels.py | 719 | # engagement is null, but topic is set | COMMENT |
| HIGH | hindsight-api-slim/tests/test_entity_labels.py | 838 | # engagement: single-value → anyOf[{enum: [...]}, {type: null}] | COMMENT |
| HIGH | hindsight-api-slim/tests/test_entity_labels.py | 1421 | assert len(texts) == 1 # role was null, so only name | CODE |
| HIGH | hindsight-api-slim/tests/test_reflect_empty_based_on.py | 63 | assert isinstance(based_on, dict), f"based_on should be dict or null, got {type(based_on)}: {based_on}" | CODE |
| HIGH | hindsight-api-slim/tests/test_reflect_empty_based_on.py | 99 | # When include.facts is not set, based_on should not be in response (or be null) | COMMENT |
| HIGH⚡ | hindsight-api-slim/tests/test_delta_operation_parse.py | 294 | _STRAY = '{"operations": [{"op": "append_block", "section_id": "s", "block_id": null, "text": "ok"}]}' | CODE |
| HIGH | hindsight-api-slim/tests/test_delta_operation_parse.py | 100 | '{"operations": [{"op": "append_block", "section_id": "s", "block_id": null, "text": "ok"}]}', | CODE |
| HIGH | …slim/tests/test_fact_extraction_nullable_dimensions.py | 123 | # the placeholder on purpose — "write null, not N/A" is the instruction — so | COMMENT |
| HIGH | …ight-api-slim/tests/test_oracle_backend_integration.py | 547 | """JSON_MERGEPATCH — Oracle equivalent of PG's || for JSONB concatenation.""" | STRING |
| HIGH⚡ | hindsight-api-slim/tests/test_response_models.py | 40 | fact = MemoryFact(**_BASE, metadata='{"ocr_engine": null, "n": 3}') | CODE |
| HIGH⚡ | …ndsight-api-slim/tests/test_bank_config_value_types.py | 136 | # top-level null, which is the "use the server default" tombstone). | COMMENT |
| HIGH | …sight-api-slim/tests/test_fk_violation_is_retryable.py | 115 | are the not-null, check, exclusion and restrict violations alongside it. | STRING |
| HIGH | …t-api-slim/tests/test_retain_metadata_normalization.py | 4 | {"ocr_engine": null}) stored verbatim poisons the read path, which validates | STRING |
| HIGH⚡ | …ht-api-slim/tests/test_entity_labels_openapi_schema.py | 18 | # anyOf[array-of-$ref, null]; find the array branch and confirm its items are a $ref (not a bare object). | COMMENT |
| HIGH | hindsight-api-slim/hindsight_api/api/http.py | 3100 | "show event time (falls back to `created_at` per row when null)." | CODE |
| HIGH | hindsight-api-slim/hindsight_api/api/http.py | 136 | to null, so dropping it (via ``exclude_none``) would omit a key strict generated | STRING |
| HIGH | hindsight-api-slim/hindsight_api/api/http.py | 2546 | without changing the bank. Unset (null) fields fall back to the bank's resolved config. | STRING |
| HIGH | …sight-api-slim/hindsight_api/engine/response_models.py | 696 | # openapi-generator (Python) fails on `anyOf[$ref, null]` with "Codegen | COMMENT |
| HIGH | …ht-api-slim/hindsight_api/engine/operation_metadata.py | 189 | # Absent (rather than null) on rows written by a build predating the field, | COMMENT |
| HIGH | …sight-api-slim/hindsight_api/engine/reflect/prompts.py | 1224 | ❌ ``{"op": "append_block", "section_id": "members", "block_id": null, "text": "- Carol"}`` | CODE |
| HIGH | hindsight-api-slim/hindsight_api/engine/search/tags.py | 97 | clause is `tags @> v` / `tags && v` (plus the untagged exclusions, which are | STRING |
| HIGH | …ight-api-slim/hindsight_api/engine/search/reranking.py | 457 | # NaN as JSON null, which breaks clients expecting numeric values. | COMMENT |
| HIGH | …-api-slim/hindsight_api/engine/memories/pg/curation.py | 596 | resort, it is never null). | STRING |
| HIGH | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 1431 | lines.append(f"- {attr.key} (free text or null): {attr.description}") | CODE |
| HIGH | …ight_client_api/models/memories_timeseries_response.py | 33 | time_field: Optional[StrictStr] = Field(default='created_at', description="Timestamp column used to assign each row | CODE |
| HIGH | …hindsight_client_api/models/dry_run_extract_request.py | 30 | Request to run fact extraction ONLY (no resolution/links/embeddings/persistence). Every field below the content/con | STRING |
| HIGH | …lients/python/tests/test_mental_model_trigger_patch.py | 64 | """An explicit None on a nullable field still serializes as null, which is how a | STRING |
| HIGH | hindsight-dev/benchmarks/micro/token_counting.py | 61 | cd hindsight-dev && uv run --with tiktoken token-count-bench | STRING |
| HIGH | hindsight-dev/benchmarks/obs/obs_benchmark.py | 19 | cd hindsight-dev && uv run python -m benchmarks.obs.obs_benchmark | STRING |
| HIGH | …ht-integrations/litellm/hindsight_litellm/callbacks.py | 436 | # include_entities=False -> include: {entities: null} | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 333 | key = await ext._get_signing_key("fake-token") | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 371 | await ext._get_signing_key("fake-token") | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 382 | await ext._get_signing_key("fake-token") | CODE |
| LOW⚡ | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 392 | await ext._get_signing_key("fake-token") | CODE |
| LOW | …tensions/supabase-tenant/tests/test_supabase_tenant.py | 350 | key = await ext._get_signing_key("fake-token") | CODE |
| LOW⚡ | …ndsight-api-slim/tests/test_graph_entity_fanout_cap.py | 33 | # Create many facts sharing one common entity ("Acme Corp") plus | COMMENT |
| LOW⚡ | …ndsight-api-slim/tests/test_graph_entity_fanout_cap.py | 35 | # and verify graph expansion finds siblings via "Acme Corp". | COMMENT |
| LOW⚡ | …ndsight-api-slim/tests/test_graph_entity_fanout_cap.py | 37 | # Target: unique entity "Zara" shares "Acme Corp" with the rest | COMMENT |
| LOW⚡ | …ndsight-api-slim/tests/test_graph_entity_fanout_cap.py | 41 | "entities": [{"text": "Zara"}, {"text": "Acme Corp"}], | CODE |
| LOW⚡ | …ndsight-api-slim/tests/test_graph_entity_fanout_cap.py | 44 | # Add many facts that all share "Acme Corp" — creates a high-fanout entity | COMMENT |
| LOW⚡ | …ndsight-api-slim/tests/test_graph_entity_fanout_cap.py | 50 | "entities": [{"text": f"Employee {i}"}, {"text": "Acme Corp"}], | CODE |
| LOW | …ndsight-api-slim/tests/test_graph_entity_fanout_cap.py | 64 | # shared entity, even though "Acme Corp" has 60+ mentions. | COMMENT |
| LOW | …ndsight-api-slim/tests/test_graph_entity_fanout_cap.py | 86 | acme_found = any("Acme Corp" in t for t in all_texts) | CODE |
| LOW | hindsight-api-slim/tests/test_entity_labels.py | 1393 | entity_obj = {"name": "Alice", "role": "Senior Engineer", "organization": "Acme Corp"} | CODE |
| LOW | …t-api-slim/tests/test_anthropic_structured_tool_use.py | 27 | api_key="fake-key", | CODE |
| LOW | hindsight-api-slim/tests/test_fact_extraction_retry.py | 370 | @pytest.mark.parametrize("placeholder", ["", "N/A", None]) | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_gemini_service_tier.py | 16 | api_key="fake-key", | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_gemini_service_tier.py | 31 | monkeypatch.setenv("HINDSIGHT_API_LLM_API_KEY", "fake-key") | CODE |
| LOW | hindsight-api-slim/tests/test_gemini_service_tier.py | 68 | monkeypatch.setenv("HINDSIGHT_API_LLM_API_KEY", "fake-key") | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_gemini_service_tier.py | 91 | monkeypatch.setenv("HINDSIGHT_API_LLM_API_KEY", "fake-key") | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_gemini_service_tier.py | 108 | api_key="fake-key", | CODE |
| LOW | hindsight-api-slim/tests/test_llm_extra_body.py | 67 | api_key="fake-key", | CODE |
| LOW | hindsight-api-slim/tests/test_llm_extra_body.py | 133 | api_key="fake-key", | CODE |
| LOW | hindsight-api-slim/tests/test_llm_extra_body.py | 367 | api_key="fake-key", | CODE |
| LOW | …dsight-api-slim/tests/test_anthropic_prompt_caching.py | 43 | api_key="fake-key", | CODE |
| LOW | …-api-slim/tests/test_reflect_page_length_decoupling.py | 191 | llm = LLMConfig(provider="gemini", api_key="fake-key", base_url="", model="gemini-2.5-flash") | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_config_validation.py | 867 | monkeypatch.setenv("HINDSIGHT_API_LLM_API_KEY", "fake-key") | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_config_validation.py | 879 | monkeypatch.setenv("HINDSIGHT_API_LLM_API_KEY", "fake-key") | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_config_validation.py | 891 | monkeypatch.setenv("HINDSIGHT_API_LLM_API_KEY", "fake-key") | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_entity_name_hygiene.py | 56 | ("Acme\nCorp", "Acme Corp"), | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_entity_name_hygiene.py | 84 | assert _texts(all_entities_flat) == ["Acme Corp"] | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_entity_name_hygiene.py | 99 | assert [e["text"] for e in all_entities[0]] == ["Acme Corp", "Alice"] | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_entity_name_hygiene.py | 100 | assert [e["text"] for e in all_entities_flat[1]["nearby_entities"]] == ["Acme Corp", "Alice"] | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_entity_name_hygiene.py | 211 | [{"text": "Acme\nCorp", "type": "CONCEPT"}, {"text": "Acme Corp", "type": "CONCEPT"}] | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_entity_name_hygiene.py | 213 | assert _texts(all_entities_flat) == ["Acme Corp"] | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_entity_name_hygiene.py | 214 | assert [e["text"] for e in all_entities[0]] == ["Acme Corp"] | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_entity_name_hygiene.py | 220 | [{"text": "Acme Corp", "type": "CONCEPT"}, {"text": "acme\ncorp", "type": "CONCEPT"}] | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_entity_name_hygiene.py | 222 | assert _texts(all_entities_flat) == ["Acme Corp"] | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_entity_name_hygiene.py | 234 | [{"text": "Acme Corp", "type": "CONCEPT"}], | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_entity_name_hygiene.py | 237 | assert _texts(all_entities_flat) == ["Acme Corp", "Acme Corp"] | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_entity_name_hygiene.py | 267 | {"text": "Acme Corp", "type": "ORG", "resolve": False}, # caller: literal | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_entity_name_hygiene.py | 271 | assert _texts(all_entities_flat) == ["Acme Corp"], "still one mention after normalization" | CODE |
| LOW⚡ | hindsight-api-slim/tests/test_entity_name_hygiene.py | 261 | "Acme Corp" and "Acme\nCorp" both arrive here and only collapse after normalization. | STRING |
| LOW | hindsight-api-slim/tests/test_codex_oauth_refresh.py | 213 | "id_token": {"email": "user@example.com"}, | CODE |
| LOW | hindsight-api-slim/tests/test_codex_oauth_refresh.py | 229 | assert written["tokens"]["id_token"] == {"email": "user@example.com"} | CODE |
| LOW | hindsight-api-slim/tests/test_anthropic_batch.py | 36 | api_key="fake-key", | CODE |
| LOW | hindsight-api-slim/tests/query_analyzer_corpus.py | 56 | "user@example.com", | CODE |
| LOW | hindsight-api-slim/tests/test_gemini_safety_settings.py | 422 | "HINDSIGHT_API_LLM_API_KEY": "fake-key", | CODE |
| LOW | …ight-api-slim/tests/test_reflect_anthropic_protocol.py | 59 | provider = AnthropicLLM(provider="anthropic", api_key="fake-key", base_url="", model="claude-sonnet-5") | CODE |
| LOW | …ght-api-slim/hindsight_api/engine/memories/pg/links.py | 282 | # strings ("Acme\nCorp" from extraction, "Acme Corp" from the caller's | COMMENT |
| LOW | …ght-api-slim/hindsight_api/engine/memories/pg/links.py | 316 | # "Acme Corp" and the extractor's "Acme\nCorp" both reach here, and dropping the | COMMENT |
| LOW⚡ | hindsight-embed/tests/test_profile_daemon_config.py | 45 | "HINDSIGHT_API_LLM_API_KEY=sk-test-fake-key\n" | CODE |
| LOW | hindsight-embed/tests/test_profile_daemon_config.py | 84 | assert profile_config["HINDSIGHT_API_LLM_API_KEY"] == "sk-test-fake-key" | CODE |
| LOW | …dsight-docs/blog/2026-09-23-bring-facts-not-beliefs.md | 90 | **Watch the batch size for entity variety.** Hindsight merges surface variants within a single retain, so "Acme Corp" an | CODE |
| LOW | hindsight-docs/docs-integrations/context-forge.md | 61 | -d '{"email": "admin@example.com", "password": "your-password"}' \ | CODE |
| LOW | …2026-04-16-guide-contextforge-memory-with-hindsight.md | 73 | -d '{"email": "admin@example.com", "password": "your-password"}' \ | CODE |
| LOW | …ght-docs/references/sdks/integrations/context-forge.md | 56 | -d '{"email": "admin@example.com", "password": "your-password"}' \ | CODE |
| LOW | hindsight-control-plane/scripts/find-untranslated.ts | 31 | "placeholder", | CODE |
| LOW | hindsight-control-plane/src/messages/yue-Hant.json | 258 | "placeholder": "新 ID", | CODE |
| LOW | hindsight-control-plane/src/messages/ja.json | 258 | "placeholder": "新しい ID", | CODE |
| 69 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hindsight-cli/build.sh | 15 | # Check if cargo is available | COMMENT |
| LOW | hindsight-cli/build.sh | 42 | # Check if target is installed, install if not | COMMENT |
| LOW⚡ | hindsight-all/tests/test_server_integration.py | 120 | # Check if the batch was submitted successfully (items_count shows how many were submitted) | COMMENT |
| LOW | docker/test-image.sh | 114 | # Set trap to cleanup on exit | COMMENT |
| LOW | docker/test-image.sh | 248 | # Check if container is still running | COMMENT |
| LOW⚡ | docker/standalone/start-all.sh | 232 | # Check if external database is configured (skip check for embedded pg0) | COMMENT |
| LOW | docker/standalone/start-all.sh | 409 | # Check if any services are running | COMMENT |
| LOW | docker/standalone/start-all.sh | 422 | # Check if any tracked PID has exited | COMMENT |
| LOW | hindsight-api-slim/tests/test_document_tracking.py | 473 | # Check if document exists | COMMENT |
| LOW | hindsight-api-slim/tests/test_mental_models.py | 698 | # Check if this is our directive | COMMENT |
| LOW | hindsight-api-slim/tests/test_batch_api_integration.py | 41 | # Check if it's an OpenAI key (starts with sk-proj- or sk-) | COMMENT |
| LOW | hindsight-api-slim/tests/test_batch_api_integration.py | 266 | # Check if Groq supports batch API | COMMENT |
| LOW | hindsight-api-slim/tests/test_retain.py | 582 | # Check if LLM extracted the date from context (ideal case) | STRING |
| LOW | hindsight-api-slim/tests/test_retain.py | 1432 | # Check if any chunks show truncation | STRING |
| LOW | hindsight-api-slim/tests/test_retain.py | 2496 | # Check if facts contain English-only content (this would be wrong) | STRING |
| LOW | hindsight-api-slim/tests/test_multilingual.py | 205 | # Check if entity contains Chinese characters | STRING |
| LOW | hindsight-api-slim/tests/test_http_api_integration.py | 840 | # Check if memories are stored | COMMENT |
| LOW | hindsight-api-slim/tests/test_file_retain.py | 456 | # Check if file exists | COMMENT |
| LOW | hindsight-api-slim/tests/test_sql_schema_safety.py | 92 | # Check if it's actually qualified (has schema prefix) | COMMENT |
| LOW | hindsight-api-slim/hindsight_api/migrations.py | 322 | # Set path_separator to avoid deprecation warning | COMMENT |
| LOW | hindsight-api-slim/hindsight_api/migrations.py | 795 | # Check if memory_units table exists (proxy for schema being initialized) | STRING |
| LOW | hindsight-api-slim/hindsight_api/migrations.py | 885 | # Check if table exists | STRING |
| LOW | hindsight-api-slim/hindsight_api/migrations.py | 971 | # Check if index type matches target | STRING |
| LOW | hindsight-api-slim/hindsight_api/migrations.py | 1269 | # Check if table exists | STRING |
| LOW | hindsight-api-slim/hindsight_api/migrations.py | 1333 | # Check if column and index types match target | STRING |
| LOW | hindsight-api-slim/hindsight_api/migrations.py | 1356 | # Check if table has data | STRING |
| LOW | hindsight-api-slim/hindsight_api/api/mcp.py | 428 | # Check if this is an MCP request (matches prefix) | COMMENT |
| LOW | hindsight-api-slim/hindsight_api/api/http.py | 10196 | # Check if batch API is enabled - if so, require async mode | COMMENT |
| LOW | hindsight-api-slim/hindsight_api/api/http.py | 10362 | # Check if file upload API is enabled | COMMENT |
| LOW | hindsight-api-slim/hindsight_api/api/http.py | 10422 | # Read file content to check size | COMMENT |
| LOW | …embic/versions/e0a1b2c3d4e5_disposition_to_3_traits.py | 44 | # Check if disposition column exists (should have been created by previous migration) | COMMENT |
| LOW | …embic/versions/e0a1b2c3d4e5_disposition_to_3_traits.py | 86 | # Check if disposition column exists | COMMENT |
| LOW | …ersions/a4b5c6d7e8f9_fix_per_bank_vector_index_type.py | 94 | # Check if this index exists and what type it is | COMMENT |
| LOW | …/alembic/versions/rename_personality_to_disposition.py | 35 | # Check if 'personality' column exists (old database) | COMMENT |
| LOW | …/alembic/versions/rename_personality_to_disposition.py | 46 | # Check if 'disposition' column exists (new database) | STRING |
| LOW | hindsight-api-slim/hindsight_api/worker/main.py | 302 | # Check if the backend supports the async worker/poller. | COMMENT |
| LOW | hindsight-api-slim/hindsight_api/engine/task_backend.py | 283 | # Check if there are any pending tasks with payloads | COMMENT |
| LOW | …pi-slim/hindsight_api/engine/providers/llamacpp_llm.py | 231 | # Check if process died | COMMENT |
| LOW | …indsight_api/engine/providers/openai_compatible_llm.py | 1232 | # Check if model supports reasoning parameter | COMMENT |
| LOW | …i-slim/hindsight_api/engine/providers/anthropic_llm.py | 493 | # Check if it's a rate limit or server error | COMMENT |
| LOW | …ndsight-api-slim/hindsight_api/engine/reflect/agent.py | 1608 | # Check if tool returned an error response - log but continue (LLM will see the error) | COMMENT |
| LOW | hindsight-api-slim/hindsight_api/engine/search/tags.py | 277 | # Check if untagged | COMMENT |
| LOW | …lim/hindsight_api/engine/consolidation/consolidator.py | 1545 | # Check if consolidation is enabled | COMMENT |
| LOW⚡ | …t-api-slim/hindsight_api/engine/retain/orchestrator.py | 2486 | # Check if this is a retry of the same content (crash recovery). If the | COMMENT |
| LOW⚡ | …t-api-slim/hindsight_api/engine/retain/orchestrator.py | 3389 | # Check if facts are already committed (recovery from previous crash). | COMMENT |
| LOW | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 2375 | # Set mentioned_at to the event_date (when the conversation/document occurred), | COMMENT |
| LOW | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 2467 | # Check if error is related to max_tokens/completion_tokens not being supported | COMMENT |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3320 | # Set mentioned_at to the event_date (when the conversation/document occurred), | STRING |
| LOW | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 2872 | # Check if we're resuming an existing batch (crash recovery). This is read | STRING |
| LOW⚡ | hindsight-embed/hindsight_embed/daemon_client.py | 279 | # Check if user wants to use external API | COMMENT |
| LOW⚡ | hindsight-embed/hindsight_embed/cli.py | 1200 | # Check if profile exists | COMMENT |
| LOW | hindsight-embed/hindsight_embed/cli.py | 170 | # Check if we're creating a named profile with --env flags | COMMENT |
| LOW | hindsight-embed/hindsight_embed/cli.py | 175 | # Check if we're creating a named profile interactively | COMMENT |
| LOW | hindsight-embed/hindsight_embed/cli.py | 626 | # Check if using pg0 and show database location | COMMENT |
| LOW | hindsight-embed/hindsight_embed/cli.py | 901 | # Check if profile exists and get its port | COMMENT |
| LOW | hindsight-embed/hindsight_embed/cli.py | 944 | # Check if profile exists and get its port | COMMENT |
| LOW | hindsight-embed/hindsight_embed/cli.py | 1363 | # Check if daemon is running | COMMENT |
| LOW | hindsight-embed/hindsight_embed/daemon_embed_manager.py | 477 | # Check if we're in development mode | COMMENT |
| LOW | hindsight-embed/hindsight_embed/daemon_embed_manager.py | 1142 | # Check if we're in development mode (monorepo) | COMMENT |
| LOW | scripts/update-docs-version.sh | 101 | # Check if version already exists | COMMENT |
| 25 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | hindsight-all/tests/test_server_integration.py | 76 | # Step 1: Create a memory bank with background information | COMMENT |
| LOW⚡ | hindsight-all/tests/test_server_integration.py | 85 | # Step 2: Store some memories about user preferences | COMMENT |
| LOW⚡ | hindsight-all/tests/test_server_integration.py | 123 | # Step 3: Recall memories based on a query | COMMENT |
| LOW | hindsight-all/tests/test_server_integration.py | 140 | # Step 4: Recall memories about machine learning | COMMENT |
| LOW | hindsight-all/tests/test_server_integration.py | 155 | # Step 5: Reflect (generate contextual answer based on memories) | COMMENT |
| LOW | hindsight-all/tests/test_server_integration.py | 172 | # Step 6: Another reflection with different context | COMMENT |
| LOW⚡ | hindsight-all/tests/test_embedded.py | 117 | # Step 1: Create a memory bank | COMMENT |
| LOW⚡ | hindsight-all/tests/test_embedded.py | 126 | # Step 2: Store memories (single) | COMMENT |
| LOW⚡ | hindsight-all/tests/test_embedded.py | 136 | # Step 3: Store batch memories | COMMENT |
| LOW⚡ | hindsight-all/tests/test_embedded.py | 151 | # Step 4: Recall memories | COMMENT |
| LOW⚡ | hindsight-all/tests/test_embedded.py | 160 | # Step 5: Reflect on memories | COMMENT |
| LOW | hindsight-all/tests/test_embedded.py | 177 | # Step 6: List memories | COMMENT |
| LOW⚡ | …_api/alembic/versions/h3c4d5e6f7g8_mental_models_v4.py | 39 | # Step 1: Delete observation memory_units (cascades to unit_entities links) | COMMENT |
| LOW⚡ | …_api/alembic/versions/h3c4d5e6f7g8_mental_models_v4.py | 43 | # Step 2: Drop observation-specific index (if it exists) | COMMENT |
| LOW⚡ | …_api/alembic/versions/h3c4d5e6f7g8_mental_models_v4.py | 46 | # Step 3: Add mission column to banks (replacing background) | COMMENT |
| LOW | …_api/alembic/versions/h3c4d5e6f7g8_mental_models_v4.py | 69 | # Step 4: Create mental_models table with final v4 schema (if not exists) | STRING |
| LOW | …_api/alembic/versions/h3c4d5e6f7g8_mental_models_v4.py | 110 | # Step 5: Create indexes for efficient queries (if not exist) | STRING |
| LOW⚡ | hindsight-api-slim/hindsight_api/engine/parsers/iris.py | 74 | # Step 1: Request a presigned upload URL | COMMENT |
| LOW⚡ | hindsight-api-slim/hindsight_api/engine/parsers/iris.py | 84 | # Step 2: Upload the file bytes to the presigned URL (no auth header) | COMMENT |
| LOW⚡ | hindsight-api-slim/hindsight_api/engine/parsers/iris.py | 94 | # Step 3: Start extraction | COMMENT |
| LOW⚡ | hindsight-api-slim/hindsight_api/engine/parsers/iris.py | 102 | # Step 4: Poll until ready or timeout | COMMENT |
| LOW⚡ | …t-api-slim/hindsight_api/engine/parsers/llama_parse.py | 72 | # Step 1: Upload file and start parse job | COMMENT |
| LOW⚡ | …t-api-slim/hindsight_api/engine/parsers/llama_parse.py | 80 | # Step 2: Poll job status until SUCCESS or ERROR | COMMENT |
| LOW | …t-api-slim/hindsight_api/engine/parsers/llama_parse.py | 98 | # Step 3: Fetch the markdown result | COMMENT |
| LOW | …ight-api-slim/hindsight_api/engine/search/retrieval.py | 159 | # Step 1: Extract temporal constraint first (CPU work, no DB) | COMMENT |
| LOW | …ight-api-slim/hindsight_api/engine/search/retrieval.py | 181 | # Step 2: Run every arm for every fact type through the store's single recall method. | COMMENT |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3059 | # Step 4: Retrieve results | STRING |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3068 | # Step 5: Parse results into facts (same as sync mode) | STRING |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3396 | # Step 7: Add temporal offsets | STRING |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3399 | # Step 8: Auto-tag facts from label groups with tag=True | STRING |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3534 | # Step 2: Wait for all fact extractions to complete. | STRING |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3540 | # Step 3: Flatten and convert to typed objects | STRING |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3613 | # Step 4: For verbatim mode, collapse to one fact per chunk with original text | STRING |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3617 | # Step 5: Add time offsets to preserve ordering within each content | STRING |
| LOW⚡ | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3620 | # Step 6: Auto-tag facts from label groups with tag=True | STRING |
| LOW | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 2944 | # Step 1: Chunk all contents and build batch requests (skip if resuming) | STRING |
| LOW | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 2992 | # Step 2: Submit batch (skip if resuming) | STRING |
| LOW | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3033 | # Step 3: Poll until complete | STRING |
| LOW | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3355 | # Step 6: Convert to ExtractedFact objects with proper chunk mapping | STRING |
| LOW | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 3517 | # Step 1: Create parallel fact extraction tasks | STRING |
| LOW | .github/workflows/release.yml | 462 | # # Step 1: Build for local testing (single platform, no push) | COMMENT |
| LOW | .github/workflows/release.yml | 476 | # # Step 2: Test the image before pushing anything | COMMENT |
| LOW | …ndsight-integrations/claude-code/scripts/lib/daemon.py | 181 | # Step 1: Configure profile | COMMENT |
| LOW | …ndsight-integrations/claude-code/scripts/lib/daemon.py | 213 | # Step 2: Start daemon | COMMENT |
| LOW | …ndsight-integrations/claude-code/scripts/lib/daemon.py | 231 | # Step 3: Wait for ready (poll health endpoint) | COMMENT |
| LOW | hindsight-integrations/cursor/scripts/lib/daemon.py | 151 | # Step 1: Configure profile | COMMENT |
| LOW | hindsight-integrations/cursor/scripts/lib/daemon.py | 181 | # Step 2: Start daemon | COMMENT |
| LOW | hindsight-integrations/cursor/scripts/lib/daemon.py | 199 | # Step 3: Wait for ready | COMMENT |
| LOW | hindsight-integrations/codex/scripts/lib/daemon.py | 155 | # Step 1: Configure profile | COMMENT |
| LOW | hindsight-integrations/codex/scripts/lib/daemon.py | 187 | # Step 2: Start daemon | COMMENT |
| LOW | hindsight-integrations/codex/scripts/lib/daemon.py | 205 | # Step 3: Wait for ready | COMMENT |
| LOW⚡ | …ght-integrations/litellm/hindsight_litellm/__init__.py | 584 | # Step 1: Inject memories (raises HindsightError on failure) | COMMENT |
| LOW⚡ | …ght-integrations/litellm/hindsight_litellm/__init__.py | 597 | # Step 2: Call original LLM | COMMENT |
| LOW⚡ | …ght-integrations/litellm/hindsight_litellm/__init__.py | 600 | # Step 3: Store conversation (raises HindsightError on failure) | COMMENT |
| LOW⚡ | …ght-integrations/litellm/hindsight_litellm/__init__.py | 640 | # Step 1: Inject memories (raises HindsightError on failure) | COMMENT |
| LOW⚡ | …ght-integrations/litellm/hindsight_litellm/__init__.py | 653 | # Step 2: Call original LLM | COMMENT |
| LOW⚡ | …ght-integrations/litellm/hindsight_litellm/__init__.py | 656 | # Step 3: Store conversation (raises HindsightError on failure) | COMMENT |
| LOW⚡ | …ght-integrations/litellm/hindsight_litellm/__init__.py | 1331 | # Step 1: Inject memories (raises HindsightError on failure) | COMMENT |
| LOW⚡ | …ght-integrations/litellm/hindsight_litellm/__init__.py | 1344 | # Step 2: Call LLM | COMMENT |
| LOW⚡ | …ght-integrations/litellm/hindsight_litellm/__init__.py | 1347 | # Step 3: Store conversation (raises HindsightError on failure) | COMMENT |
| 3 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hindsight-api-slim/tests/test_extensions.py | 823 | # Should not raise - no tenant extension configured, just pass empty RequestContext | COMMENT |
| MEDIUM | hindsight-api-slim/tests/test_delta_editorial_fusion.py | 128 | # Phase 1: Ingest SEO best practices | COMMENT |
| MEDIUM⚡ | hindsight-api-slim/tests/test_tags_visibility.py | 1546 | # SET of signatures returned rather than raw counts, so they are robust to how many | COMMENT |
| MEDIUM | …ght-api-slim/hindsight_api/engine/memories/postgres.py | 236 | # Timings are diagnostics for the perf harness; this path drops them. | COMMENT |
| MEDIUM | …pi-slim/hindsight_api/engine/retain/fact_extraction.py | 1218 | # Verbose extraction prompt - detailed, comprehensive facts (legacy mode) | COMMENT |
| MEDIUM | …ndsight-system-evals/hindsight_system_evals/sources.py | 72 | #: records it — the coding-agents integration already stamps a harness there. It | COMMENT |
| MEDIUM | …stem-evals/hindsight_system_evals/coding_agents/run.py | 134 | # this harness is for. | COMMENT |
| MEDIUM | …-evals/hindsight_system_evals/coding_agents/prefill.py | 53 | #: because ``--api-url`` can point this harness at any deployment. | COMMENT |
| MEDIUM | …-evals/hindsight_system_evals/coding_agents/prefill.py | 90 | #: prose would be a bank this harness never actually sees in the field. | COMMENT |
| MEDIUM | scripts/generate-docs-skill.sh | 72 | # Use Python for more robust processing | COMMENT |
| MEDIUM | scripts/benchmarks/run-document-evolution.sh | 4 | # Runs against an already-running Hindsight server, so the same harness can | COMMENT |
| MEDIUM | .github/workflows/test.yml | 5716 | # harness was only exercised by the nightly Performance Tests workflow, where a | COMMENT |
| MEDIUM | .github/workflows/perf-test.yml | 398 | # `tests` first: fast, model-free unit tests of the harness itself (target | COMMENT |
| MEDIUM | hindsight-docs/src/lib/coding-agent-harnesses.ts | 70 | `/sdks/integrations/coding-agents#-${harness.label.toLowerCase().replace(/[^a-z0-9]+/g, '-')}`; | CODE |
| MEDIUM | hindsight-dev/benchmarks/multimodal_retain/runner.py | 141 | # A 422 here is a real finding, not a harness bug: it means the server's | COMMENT |
| LOW | …sight-integrations/litellm/hindsight_litellm/config.py | 305 | >>> # Minimal usage - just set HINDSIGHT_API_KEY env var | STRING |
| MEDIUM | hindsight-integrations/coding-agents/cordis.patch.yml | 10 | # bank naming, opt-outs) — the same file every other Hindsight coding-agent harness reads. To turn | COMMENT |
| MEDIUM | …sight-integrations/coding-agents/e2e/droid-e2e-exec.sh | 11 | # Writing settings.json here (after run-harness.sh has already run the installer) is safe: the | COMMENT |
| MEDIUM | …tegrations/coding-agents/e2e/dsh-stub-model.cordis.yml | 2 | # API, so the harness E2E needs no account (the same role `stubModelEnv` plays for the CLIs that | COMMENT |
| MEDIUM | hindsight-integrations/coding-agents/e2e/run-harness.sh | 23 | # runner stays harness-neutral as more CLI adapters are added. | COMMENT |
| MEDIUM | …ight-integrations/coding-agents/src/mcp-server.test.ts | 77 | * #3603: this used to fall back to "claude-code" when the registration named no harness. Every | COMMENT |
| MEDIUM | …ght-integrations/coding-agents/src/core/survey.test.ts | 131 | // #3603: mcp-server.js requires the harness — an inline recipe that omits it used to be served | COMMENT |
| MEDIUM | …t-integrations/coding-agents/src/core/session-start.ts | 258 | // structural pages track an evolving architecture. Branch-robust: read the | COMMENT |
| MEDIUM | hindsight-integrations/coding-agents/src/core/config.ts | 872 | // `opencode::<project>` bank (#3247). An explicit `harness:` in the config file still wins. | COMMENT |
| MEDIUM | …integrations/coding-agents/src/core/skill-sync.test.ts | 67 | * Family-wide guard (#3524 shape): a harness whose installer copies the skill but that SKILL_DIRS | COMMENT |
| MEDIUM | hindsight-integrations/coding-agents/src/e2e/harness.ts | 247 | writeFileSync(join(workDir, "README.md"), "# Hindsight harness E2E fixture\n"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hindsight-cli/smoke-test.sh | 8 | # Usage: | COMMENT |
| LOW | docker/test-image.sh | 8 | # Usage: | COMMENT |
| LOW | docker/test-slim-local.sh | 8 | # Usage: | COMMENT |
| LOW | docker/docker-compose/pg_textsearch/docker-compose.yaml | 8 | # Usage: | COMMENT |
| LOW | docker/docker-compose/external-pg/docker-compose.yaml | 7 | # Usage: | COMMENT |
| LOW | …ker/docker-compose/s3-file-storage/docker-compose.yaml | 10 | # Usage: | COMMENT |
| LOW | docker/docker-compose/alloydb/docker-compose.yaml | 5 | # Usage: | COMMENT |
| LOW | docker/docker-compose/vchord/docker-compose.yaml | 8 | # Usage: | COMMENT |
| LOW | docker/docker-compose/pg_search/docker-compose.yaml | 7 | # Usage: | COMMENT |
| LOW | scripts/run-upgrade-tests.sh | 5 | # Usage: | COMMENT |
| LOW | scripts/smoke-test-slim.sh | 8 | # Usage: | COMMENT |
| LOW | scripts/benchmarks/run-semantic-within-batch-bench.sh | 4 | # Usage: | COMMENT |
| LOW | scripts/benchmarks/run-entity-resolver-bench.sh | 4 | # Usage: | COMMENT |
| LOW | scripts/benchmarks/publish-obs-results.sh | 15 | # Usage: | COMMENT |
| LOW | scripts/benchmarks/run-transfer-streaming-bench.sh | 4 | # Usage: | COMMENT |
| LOW | scripts/benchmarks/run-perf-test.sh | 4 | # Usage: | COMMENT |
| LOW | scripts/benchmarks/publish-perf-results.sh | 13 | # Usage: | COMMENT |
| LOW | scripts/benchmarks/publish-locomo-results.sh | 18 | # Usage: | COMMENT |
| LOW | scripts/benchmarks/publish-system-evals-results.sh | 15 | # Usage: | COMMENT |
| LOW | scripts/benchmarks/run-vector-serialization-bench.sh | 4 | # Usage: | COMMENT |
| LOW | scripts/benchmarks/run-token-count-bench.sh | 4 | # Usage: | COMMENT |
| LOW | scripts/dev/setup.sh | 12 | # Usage: | COMMENT |
| LOW | scripts/dev/start-oracle.sh | 6 | # Usage: | COMMENT |
| LOW | hindsight-integrations/openclaw/scripts/smoke-test.sh | 32 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | hindsight-clients/python/hindsight_client_api/rest.py | 194 | # Content-Type which generated by aiohttp | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ndsight-api-slim/tests/test_fact_extraction_quality.py | 190 | I'm unable to attend the conference due to scheduling conflicts. | CODE |
| LOW⚡ | …ndsight-api-slim/tests/test_fact_extraction_quality.py | 1015 | don't forget to subscribe" were being extracted as facts. | CODE |
| LOW⚡ | …ndsight-api-slim/tests/test_fact_extraction_quality.py | 1021 | Marcus: Welcome everyone to today's episode! Before we dive in, don't forget to | CODE |
| MEDIUM | …ndsight-api-slim/tests/test_fact_extraction_quality.py | 218 | "'He's an expert in machine learning.', 'I'm unable to attend the conference due " | STRING |
| LOW | …ndsight-api-slim/tests/test_fact_extraction_quality.py | 1035 | Don't forget to tap follow or subscribe, tell a friend, and drop a quick rating | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | hindsight-api-slim/tests/test_db_utils.py | 130 | CODE | |
| MEDIUM | hindsight-api-slim/tests/test_llm_trace.py | 1023 | CODE | |
| MEDIUM | hindsight-api-slim/tests/test_llm_trace.py | 1028 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hindsight-api-slim/hindsight_api/worker/poller.py | 1128 | async def execute_task(self, task: ClaimedTask): | STRING |