# Known mypy errors: CI fails on any error not listed here, and on any
# listed error mypy no longer reports. Regenerate after fixing errors with
#   python scripts/check_mypy_baseline.py --update
# 305 errors
neuralmind/audit.py: Incompatible types in assignment (expression has type "str", target has type "list[Any] | bool | None")  [assignment]
neuralmind/audit.py: Item "None" of "list[Any] | bool | None" has no attribute "append"  [union-attr]
neuralmind/audit.py: Item "bool" of "list[Any] | bool | None" has no attribute "append"  [union-attr]
neuralmind/audit.py: Need type annotation for "result"  [var-annotated]
neuralmind/bge_embedder.py: Returning Any from function declared to return "list[list[float]]"  [no-any-return]
neuralmind/bm25.py: Function "builtins.callable" is not valid as a type  [valid-type]
neuralmind/chapter_indexer.py: Item "None" of "Any | None" has no attribute "embed"  [union-attr]
neuralmind/cli.py: "EmbeddingBackend" has no attribute "_track_book_assets"  [attr-defined]
neuralmind/cli.py: "EmbeddingBackend" has no attribute "embed_content"  [attr-defined]
neuralmind/cli.py: "EmbeddingBackend" has no attribute "embed_content"  [attr-defined]
neuralmind/cli.py: "EmbeddingBackend" has no attribute "embed_content"  [attr-defined]
neuralmind/cli.py: "EmbeddingBackend" has no attribute "embed_content"  [attr-defined]
neuralmind/cli.py: "EmbeddingBackend" has no attribute "nodes"  [attr-defined]
neuralmind/cli.py: "EmbeddingBackend" has no attribute "nodes"  [attr-defined]
neuralmind/cli.py: "EmbeddingBackend" has no attribute "nodes"  [attr-defined]
neuralmind/cli.py: "EmbeddingBackend" has no attribute "nodes"  [attr-defined]
neuralmind/cli.py: "EmbeddingBackend" has no attribute "nodes"  [attr-defined]
neuralmind/cli.py: "EmbeddingBackend" has no attribute "nodes"  [attr-defined]
neuralmind/cli.py: "EmbeddingBackend" has no attribute "nodes"  [attr-defined]
neuralmind/cli.py: "EmbeddingBackend" has no attribute "nodes"  [attr-defined]
neuralmind/cli.py: "NeuralMind" has no attribute "_bootstrap_bundle_path"  [attr-defined]
neuralmind/cli.py: "str" has no attribute "name"  [attr-defined]
neuralmind/cli.py: "str" has no attribute "relative_to"  [attr-defined]
neuralmind/cli.py: Argument "scope" to "install_hooks" has incompatible type "str"; expected "Literal['project', 'global']"  [arg-type]
neuralmind/cli.py: Assignment to variable "e" outside except: block  [misc]
neuralmind/cli.py: Incompatible types in assignment (expression has type "MaintenanceEval", variable has type "QuerySetEval")  [assignment]
neuralmind/cli.py: Incompatible types in assignment (expression has type "Path", variable has type "str")  [assignment]
neuralmind/cli.py: Incompatible types in assignment (expression has type "TextIO | Any", variable has type "None")  [assignment]
neuralmind/cli.py: Incompatible types in assignment (expression has type "str", variable has type "dict[str, Any]")  [assignment]
neuralmind/cli.py: Incompatible types in assignment (expression has type "str", variable has type "list[Any | str] | list[str]")  [assignment]
neuralmind/cli.py: Item "None" of "dict[Any, Any] | None" has no attribute "get"  [union-attr]
neuralmind/cli.py: Item "TextIO" of "TextIO | Any" has no attribute "reconfigure"  [union-attr]
neuralmind/cli.py: Name "errors" already defined on line N  [no-redef]
neuralmind/cli.py: Name "harness" already defined (by an import)  [no-redef]
neuralmind/cli.py: Name "runner" already defined (by an import)  [no-redef]
neuralmind/cli.py: Need type annotation for "seen" (hint: "seen: dict[<type>, <type>] = ...")  [var-annotated]
neuralmind/cli.py: Returning Any from function declared to return "int"  [no-any-return]
neuralmind/cli.py: Trying to read deleted variable "e"  [misc]
neuralmind/cli_feedback_status.py: Argument 1 to "len" has incompatible type "list[str] | None"; expected "Sized"  [arg-type]
neuralmind/cli_feedback_status.py: Argument 1 to "len" has incompatible type "list[str] | None"; expected "Sized"  [arg-type]
neuralmind/cli_feedback_status.py: Argument 1 to "len" has incompatible type "list[str] | None"; expected "Sized"  [arg-type]
neuralmind/cli_feedback_status.py: Argument 1 to "len" has incompatible type "list[str] | None"; expected "Sized"  [arg-type]
neuralmind/cli_feedback_status.py: Argument 1 to "penalize" of "SynapseStore" has incompatible type "list[str] | None"; expected "Iterable[str]"  [arg-type]
neuralmind/cli_feedback_status.py: Argument 1 to "reinforce" of "SynapseStore" has incompatible type "list[str] | None"; expected "Iterable[str]"  [arg-type]
neuralmind/cli_feedback_status.py: Value of type "object" is not indexable  [index]
neuralmind/cli_health.py: Argument 1 to "format_duration" has incompatible type "float | None"; expected "float"  [arg-type]
neuralmind/cli_health.py: Item "None" of "FreshnessReport | None" has no attribute "overdue_reason"  [union-attr]
neuralmind/cli_health.py: Returning Any from function declared to return "float | None"  [no-any-return]
neuralmind/compressors.py: Returning Any from function declared to return "str"  [no-any-return]
neuralmind/context_selector.py: "None" not callable  [misc]
neuralmind/context_selector.py: "None" not callable  [misc]
neuralmind/context_selector.py: Argument "exclude_ids" to "get_l2_context" of "ContextSelector" has incompatible type "set[Any | None] | None"; expected "set[str] | None"  [arg-type]
neuralmind/context_selector.py: Incompatible types in assignment (expression has type "RetrievalTrace", variable has type "None")  [assignment]
neuralmind/context_selector.py: Incompatible types in assignment (expression has type "str", variable has type "list[str]")  [assignment]
neuralmind/context_selector.py: Name "top_hits" already defined on line N  [no-redef]
neuralmind/context_selector.py: Need type annotation for "blocks" (hint: "blocks: list[<type>] = ...")  [var-annotated]
neuralmind/context_selector.py: Need type annotation for "communities_loaded" (hint: "communities_loaded: list[<type>] = ...")  [var-annotated]
neuralmind/context_selector.py: Need type annotation for "contributions" (hint: "contributions: dict[<type>, <type>] = ...")  [var-annotated]
neuralmind/context_selector.py: Need type annotation for "covered" (hint: "covered: dict[<type>, <type>] = ...")  [var-annotated]
neuralmind/context_selector.py: Need type annotation for "expanded" (hint: "expanded: list[<type>] = ...")  [var-annotated]
neuralmind/context_selector.py: Returning Any from function declared to return "float"  [no-any-return]
neuralmind/context_selector.py: Returning Any from function declared to return "float"  [no-any-return]
neuralmind/context_selector.py: Returning Any from function declared to return "list[dict[Any, Any]]"  [no-any-return]
neuralmind/context_selector.py: Returning Any from function declared to return "list[dict[Any, Any]]"  [no-any-return]
neuralmind/context_selector.py: Returning Any from function declared to return "list[dict[Any, Any]]"  [no-any-return]
neuralmind/core.py: "ContextSelector" has no attribute "synapse_store_provider"  [attr-defined]
neuralmind/core.py: "EmbeddingBackend" has no attribute "delete_nodes"  [attr-defined]
neuralmind/core.py: "EmbeddingBackend" has no attribute "edges"  [attr-defined]
neuralmind/core.py: "EmbeddingBackend" has no attribute "edges"  [attr-defined]
neuralmind/core.py: "EmbeddingBackend" has no attribute "embed_content"  [attr-defined]
neuralmind/core.py: "EmbeddingBackend" has no attribute "embed_content"  [attr-defined]
neuralmind/core.py: "EmbeddingBackend" has no attribute "get_all_nodes"; maybe "get_file_nodes"?  [attr-defined]
neuralmind/core.py: "EmbeddingBackend" has no attribute "get_nodes_by_ids"  [attr-defined]
neuralmind/core.py: "EmbeddingBackend" has no attribute "graph"  [attr-defined]
neuralmind/core.py: "EmbeddingBackend" has no attribute "graph"  [attr-defined]
neuralmind/core.py: "EmbeddingBackend" has no attribute "graph_path"  [attr-defined]
neuralmind/core.py: "EmbeddingBackend" has no attribute "graph_path"  [attr-defined]
neuralmind/core.py: "EmbeddingBackend" has no attribute "nodes"  [attr-defined]
neuralmind/core.py: "EmbeddingBackend" has no attribute "nodes"  [attr-defined]
neuralmind/core.py: "EmbeddingBackend" has no attribute "nodes"  [attr-defined]
neuralmind/core.py: "EmbeddingBackend" has no attribute "nodes"  [attr-defined]
neuralmind/core.py: "EmbeddingBackend" has no attribute "nodes"  [attr-defined]
neuralmind/core.py: "SynapseStore" has no attribute "_embedder"  [attr-defined]
neuralmind/core.py: "SynapseStore" has no attribute "seed_from_cmmc_practices"  [attr-defined]
neuralmind/core.py: Dict entry 5 has incompatible type "str": "list[str]"; expected "str": "float | int | str | None"  [dict-item]
neuralmind/core.py: Generator has incompatible item type "float | int | str | None"; expected "bool"  [misc]
neuralmind/core.py: Generator has incompatible item type "float | int | str | None"; expected "bool"  [misc]
neuralmind/core.py: Generator has incompatible item type "float | int | str | None"; expected "bool"  [misc]
neuralmind/core.py: Incompatible types in assignment (expression has type "Callable[[list[str], int, int], list[tuple[str, float]]]", variable has type "None")  [assignment]
neuralmind/core.py: Incompatible types in assignment (expression has type "Callable[[list[str], int, int], tuple[list[tuple[str, float]], dict[str, dict[str, float]]]]", variable has type "None")  [assignment]
neuralmind/core.py: Incompatible types in assignment (expression has type "Callable[[list[str]], list[tuple[str, float]]]", variable has type "None")  [assignment]
neuralmind/core.py: Item "None" of "Any | dict[Any, Any] | None" has no attribute "get"  [union-attr]
neuralmind/core.py: Item "None" of "ContextSelector | None" has no attribute "_unified_bm25"  [union-attr]
neuralmind/core.py: Item "None" of "ContextSelector | None" has no attribute "count_prefix"  [union-attr]
neuralmind/core.py: Item "None" of "ContextSelector | None" has no attribute "count_prefix"  [union-attr]
neuralmind/core.py: Item "None" of "ContextSelector | None" has no attribute "fit_to_budget"  [union-attr]
neuralmind/core.py: Item "None" of "ContextSelector | None" has no attribute "get_query_context"  [union-attr]
neuralmind/core.py: Item "None" of "ContextSelector | None" has no attribute "get_wakeup_context"  [union-attr]
neuralmind/core.py: Returning Any from function declared to return "dict[str, str]"  [no-any-return]
neuralmind/core.py: Returning Any from function declared to return "list[dict[Any, Any]]"  [no-any-return]
neuralmind/core.py: Returning Any from function declared to return "list[tuple[str, float]]"  [no-any-return]
neuralmind/core.py: Unexpected keyword argument "file_type" for "search" of "EmbeddingBackend"  [call-arg]
neuralmind/daemon.py: List item 0 has incompatible type "None"; expected "str"  [list-item]
neuralmind/daemon.py: List item 0 has incompatible type "None"; expected "str"  [list-item]
neuralmind/daemon.py: Module has no attribute "WinDLL"  [attr-defined]
neuralmind/daemon.py: Module has no attribute "get_last_error"  [attr-defined]
neuralmind/daemon.py: Returning Any from function declared to return "DaemonContext"  [no-any-return]
neuralmind/daemon.py: Returning Any from function declared to return "bool"  [no-any-return]
neuralmind/daemon.py: Returning Any from function declared to return "dict[Any, Any] | None"  [no-any-return]
neuralmind/daemon.py: Returning Any from function declared to return "dict[Any, Any]"  [no-any-return]
neuralmind/daemon.py: Returning Any from function declared to return "dict[Any, Any]"  [no-any-return]
neuralmind/daemon_client.py: Returning Any from function declared to return "dict[Any, Any]"  [no-any-return]
neuralmind/daemon_client.py: Returning Any from function declared to return "dict[Any, Any]"  [no-any-return]
neuralmind/dashboard.py: Returning Any from function declared to return "list[dict[Any, Any]]"  [no-any-return]
neuralmind/demo_data/sample_project/api/routes.py: Item "None" of "User | None" has no attribute "created_at"  [union-attr]
neuralmind/demo_data/sample_project/api/routes.py: Item "None" of "User | None" has no attribute "email"  [union-attr]
neuralmind/demo_data/sample_project/api/routes.py: Item "None" of "User | None" has no attribute "id"  [union-attr]
neuralmind/demo_data/sample_project/api/routes.py: Need type annotation for "ROUTES" (hint: "ROUTES: list[<type>] = ...")  [var-annotated]
neuralmind/demo_data/sample_project/auth/jwt_utils.py: Returning Any from function declared to return "dict[Any, Any]"  [no-any-return]
neuralmind/demo_data/sample_project/billing/stripe_client.py: Returning Any from function declared to return "dict[Any, Any]"  [no-any-return]
neuralmind/doc_evolver.py: Item "None" of "JSDocVariant | None" has no attribute "text"  [union-attr]
neuralmind/doc_evolver.py: Returning Any from function declared to return "list[str]"  [no-any-return]
neuralmind/doctor.py: Item "None" of "dict[Any, Any] | None" has no attribute "get"  [union-attr]
neuralmind/embedder.py: Dict entry 0 has incompatible type "str": "int"; expected "str": "str"  [dict-item]
neuralmind/embedder.py: Dict entry 0 has incompatible type "str": "list[dict[str, str]]"; expected "str": "str"  [dict-item]
neuralmind/embedder.py: Dict entry 3 has incompatible type "str": "str"; expected "str": "int"  [dict-item]
neuralmind/embedder.py: Need type annotation for "communities" (hint: "communities: dict[<type>, <type>] = ...")  [var-annotated]
neuralmind/embedder.py: Need type annotation for "file_types" (hint: "file_types: dict[<type>, <type>] = ...")  [var-annotated]
neuralmind/embedder.py: Signature of "search" incompatible with supertype "neuralmind.embedding_backend.EmbeddingBackend"  [override]
neuralmind/embedding_backend.py: "EmbeddingBackend" has no attribute "_project_path"; maybe "project_path"?  [attr-defined]
neuralmind/embedding_backend.py: Returning Any from function declared to return "Path"  [no-any-return]
neuralmind/event_log.py: Item "None" of "Any | None" has no attribute "close"  [union-attr]
neuralmind/event_log.py: Module has no attribute "WinDLL"  [attr-defined]
neuralmind/event_log.py: Module has no attribute "WinError"  [attr-defined]
neuralmind/event_log.py: Module has no attribute "get_last_error"  [attr-defined]
neuralmind/event_log.py: Module has no attribute "open_osfhandle"  [attr-defined]
neuralmind/graphgen.py: "Parser" has no attribute "set_language"; maybe "language"?  [attr-defined]
neuralmind/graphgen.py: Argument 1 to "get" of "dict" has incompatible type "str | None"; expected "str"  [arg-type]
neuralmind/graphgen.py: Argument 1 to "get" of "dict" has incompatible type "str | None"; expected "str"  [arg-type]
neuralmind/graphgen.py: Generator has incompatible item type "int"; expected "bool"  [misc]
neuralmind/graphgen.py: Generator has incompatible item type "int"; expected "bool"  [misc]
neuralmind/graphgen.py: Incompatible return value type (got "list[tuple[Any, Any]]", expected "list[dict[Any, Any]]")  [return-value]
neuralmind/graphgen.py: Incompatible types in assignment (expression has type "list[tuple[str, float]]", variable has type "list[str]")  [assignment]
neuralmind/graphgen.py: Module has no attribute "language_php"; maybe "language"?  [attr-defined]
neuralmind/graphgen.py: Module has no attribute "language_tsx"; maybe "language"?  [attr-defined]
neuralmind/graphgen.py: Module has no attribute "language_typescript"  [attr-defined]
neuralmind/graphgen.py: Name "ts" already defined (by an import)  [no-redef]
neuralmind/graphgen.py: Name "ts" already defined (by an import)  [no-redef]
neuralmind/graphgen.py: Name "ts" already defined (by an import)  [no-redef]
neuralmind/graphgen.py: Name "ts" already defined (by an import)  [no-redef]
neuralmind/graphgen.py: Name "ts" already defined (by an import)  [no-redef]
neuralmind/graphgen.py: Name "ts" already defined (by an import)  [no-redef]
neuralmind/graphgen.py: Name "ts" already defined (by an import)  [no-redef]
neuralmind/graphgen.py: Name "ts" already defined (by an import)  [no-redef]
neuralmind/graphgen.py: Name "ts" already defined (by an import)  [no-redef]
neuralmind/graphgen.py: Name "ts" already defined (by an import)  [no-redef]
neuralmind/graphgen.py: Returning Any from function declared to return "dict[str, Any] | None"  [no-any-return]
neuralmind/graphgen.py: Unpacking a string is disallowed  [str-unpack]
neuralmind/graphgen.py: Unpacking a string is disallowed  [str-unpack]
neuralmind/graphgen.py: Unpacking a string is disallowed  [str-unpack]
neuralmind/graphgen.py: Unused "type: ignore" comment  [unused-ignore]
neuralmind/hermes_install.py: Argument 1 to "Path" has incompatible type "str | None"; expected "str | PathLike[str]"  [arg-type]
neuralmind/hermes_plugin/__init__.py: Item "None" of "Match[str] | None" has no attribute "group"  [union-attr]
neuralmind/hermes_plugin/__init__.py: Returning Any from function declared to return "str"  [no-any-return]
neuralmind/identity.py: Module has no attribute "windll"  [attr-defined]
neuralmind/in_memory_backend.py: Dict entry 3 has incompatible type "str": "str"; expected "str": "int"  [dict-item]
neuralmind/judge_transcripts.py: Returning Any from function declared to return "dict[Any, Any]"  [no-any-return]
neuralmind/l3_slots.py: Incompatible types in assignment (expression has type "dict[Any, Any] | None", variable has type "dict[Any, Any]")  [assignment]
neuralmind/learned_decay.py: Returning Any from function declared to return "float | None"  [no-any-return]
neuralmind/learned_decay.py: Returning Any from function declared to return "float | None"  [no-any-return]
neuralmind/local_client.py: Returning Any from function declared to return "str"  [no-any-return]
neuralmind/mcp_http.py: Incompatible types in assignment (expression has type "Starlette", variable has type "None")  [assignment]
neuralmind/mcp_install.py: Item "None" of "Any | list[Any] | None" has no attribute "__iter__" (not iterable)  [union-attr]
neuralmind/mcp_server.py: "Collection[str]" has no attribute "get"  [attr-defined]
neuralmind/mcp_server.py: "Collection[str]" has no attribute "get"  [attr-defined]
neuralmind/mcp_server.py: "Server[Any]" has no attribute "call_tool"  [attr-defined]
neuralmind/mcp_server.py: "Server[Any]" has no attribute "list_tools"  [attr-defined]
neuralmind/mcp_server.py: "Server[Any]" has no attribute "request_context"  [attr-defined]
neuralmind/mcp_server.py: Argument 1 to "Tool" has incompatible type "**dict[str, Collection[str]]"; expected "ToolAnnotations | None"  [arg-type]
neuralmind/mcp_server.py: Argument 1 to "Tool" has incompatible type "**dict[str, Collection[str]]"; expected "ToolAnnotations | None"  [arg-type]
neuralmind/mcp_server.py: Argument 1 to "Tool" has incompatible type "**dict[str, Collection[str]]"; expected "ToolExecution | None"  [arg-type]
neuralmind/mcp_server.py: Argument 1 to "Tool" has incompatible type "**dict[str, Collection[str]]"; expected "ToolExecution | None"  [arg-type]
neuralmind/mcp_server.py: Argument 1 to "Tool" has incompatible type "**dict[str, Collection[str]]"; expected "dict[str, Any] | None"  [arg-type]
neuralmind/mcp_server.py: Argument 1 to "Tool" has incompatible type "**dict[str, Collection[str]]"; expected "dict[str, Any] | None"  [arg-type]
neuralmind/mcp_server.py: Argument 1 to "Tool" has incompatible type "**dict[str, Collection[str]]"; expected "dict[str, Any]"  [arg-type]
neuralmind/mcp_server.py: Argument 1 to "Tool" has incompatible type "**dict[str, Collection[str]]"; expected "dict[str, Any]"  [arg-type]
neuralmind/mcp_server.py: Argument 1 to "Tool" has incompatible type "**dict[str, Collection[str]]"; expected "list[Icon] | None"  [arg-type]
neuralmind/mcp_server.py: Argument 1 to "Tool" has incompatible type "**dict[str, Collection[str]]"; expected "list[Icon] | None"  [arg-type]
neuralmind/mcp_server.py: Argument 1 to "Tool" has incompatible type "**dict[str, Collection[str]]"; expected "str | None"  [arg-type]
neuralmind/mcp_server.py: Argument 1 to "Tool" has incompatible type "**dict[str, Collection[str]]"; expected "str | None"  [arg-type]
neuralmind/mcp_server.py: Argument 1 to "Tool" has incompatible type "**dict[str, Collection[str]]"; expected "str"  [arg-type]
neuralmind/mcp_server.py: Argument 1 to "Tool" has incompatible type "**dict[str, Collection[str]]"; expected "str"  [arg-type]
neuralmind/medical_retriever.py: Argument "key" to "max" has incompatible type overloaded function; expected "Callable[[str], SupportsDunderLT[Any] | SupportsDunderGT[Any]]"  [arg-type]
neuralmind/medical_retriever.py: Argument 1 to "append" of "list" has incompatible type "tuple[int, float, float, float, float, SectionDocument]"; expected "tuple[int, float, float, float, float, float]"  [arg-type]
neuralmind/medical_retriever.py: Incompatible types in assignment (expression has type "None", variable has type "OnnxMiniLMEmbedder")  [assignment]
neuralmind/medical_retriever.py: Incompatible types in assignment (expression has type "float", variable has type "SectionDocument")  [assignment]
neuralmind/medical_retriever.py: Unsupported operand types for * ("float" and "SectionDocument")  [operator]
neuralmind/memory/invalidate.py: "update_status" of "DecisionStore" does not return a value (it only ever returns None)  [func-returns-value]
neuralmind/memory/invalidate.py: Returning Any from function declared to return "list[DecisionRecord]"  [no-any-return]
neuralmind/memory/invalidate.py: Unused "type: ignore" comment  [unused-ignore]
neuralmind/memory/invalidate.py: Unused "type: ignore" comment  [unused-ignore]
neuralmind/memory/mcp_tools.py: Returning Any from function declared to return "dict[str, Any]"  [no-any-return]
neuralmind/memory/store.py: Returning Any from function declared to return "bool"  [no-any-return]
neuralmind/modularity.py: Argument 1 to "get" of "dict" has incompatible type "int | str"; expected "int"  [arg-type]
neuralmind/neuralmind_config.py: Unused "type: ignore" comment  [unused-ignore]
neuralmind/onnx_embedder.py: Returning Any from function declared to return "list[list[float]]"  [no-any-return]
neuralmind/onnx_embedder.py: Returning Any from function declared to return "ndarray[tuple[Any, ...], dtype[Any]]"  [no-any-return]
neuralmind/project_eval.py: Returning Any from function declared to return "dict[str, Any] | None"  [no-any-return]
neuralmind/project_eval.py: Returning Any from function declared to return "float"  [no-any-return]
neuralmind/project_eval.py: Returning Any from function declared to return "str"  [no-any-return]
neuralmind/querying.py: Argument 1 to "add" of "set" has incompatible type "tuple[Any | None, Any | None, Any]"; expected "tuple[str, str, str]"  [arg-type]
neuralmind/querying.py: Argument 1 to "append" of "list" has incompatible type "Any | None"; expected "str"  [arg-type]
neuralmind/querying.py: Argument 1 to "setdefault" of "MutableMapping" has incompatible type "Any | None"; expected "str"  [arg-type]
neuralmind/recent_queries.py: Module has no attribute "LK_NBLCK"  [attr-defined]
neuralmind/recent_queries.py: Module has no attribute "LK_UNLCK"  [attr-defined]
neuralmind/recent_queries.py: Module has no attribute "locking"  [attr-defined]
neuralmind/recent_queries.py: Module has no attribute "locking"  [attr-defined]
neuralmind/retrieval_enhancement.py: Need type annotation for "all_nodes"  [var-annotated]
neuralmind/retrieval_enhancement.py: Need type annotation for "new_results" (hint: "new_results: list[<type>] = ...")  [var-annotated]
neuralmind/retrieval_enhancement.py: Returning Any from function declared to return "str"  [no-any-return]
neuralmind/retrieval_enhancement.py: Returning Any from function declared to return "str"  [no-any-return]
neuralmind/scip_backend.py: Incompatible types in assignment (expression has type "ScipIndex", variable has type "None")  [assignment]
neuralmind/security_config.py: Module has no attribute "windll"  [attr-defined]
neuralmind/security_profile.py: Argument 1 to "_is_loopback_address" has incompatible type "str | int"; expected "str"  [arg-type]
neuralmind/server.py: Argument "days" to "full_dashboard" has incompatible type "str"; expected "int"  [arg-type]
neuralmind/server.py: Argument "days" to "performance_summary" has incompatible type "str"; expected "int"  [arg-type]
neuralmind/server.py: Argument "days" to "summarize" of "MetricsCollector" has incompatible type "str"; expected "int"  [arg-type]
neuralmind/server.py: Argument 1 to "_build_graph_payload" has incompatible type "NeuralMind | None"; expected "NeuralMind"  [arg-type]
neuralmind/server.py: Argument 1 to "_ensure_graph_or_explain" has incompatible type "str"; expected "Path"  [arg-type]
neuralmind/server.py: Argument 1 to "_resolve_open_target" has incompatible type "NeuralMind | None"; expected "NeuralMind"  [arg-type]
neuralmind/server.py: Argument 1 to "_search" has incompatible type "NeuralMind | None"; expected "NeuralMind"  [arg-type]
neuralmind/server.py: Argument 1 to "fromisoformat" of "date" has incompatible type "Any | None"; expected "str"  [arg-type]
neuralmind/server.py: Incompatible types in assignment (expression has type "Path", variable has type "str")  [assignment]
neuralmind/server.py: Incompatible types in assignment (expression has type "int", variable has type "str")  [assignment]
neuralmind/server.py: Incompatible types in assignment (expression has type "int", variable has type "str")  [assignment]
neuralmind/server.py: Incompatible types in assignment (expression has type "int", variable has type "str")  [assignment]
neuralmind/server.py: Incompatible types in assignment (expression has type "int", variable has type "str")  [assignment]
neuralmind/server.py: Incompatible types in assignment (expression has type "int", variable has type "str")  [assignment]
neuralmind/server.py: Incompatible types in assignment (expression has type "int", variable has type "str")  [assignment]
neuralmind/server.py: Item "None" of "NeuralMind | None" has no attribute "_build_stats"  [union-attr]
neuralmind/server.py: Item "None" of "NeuralMind | None" has no attribute "_built"  [union-attr]
neuralmind/server.py: Item "None" of "NeuralMind | None" has no attribute "project_path"  [union-attr]
neuralmind/server.py: Item "None" of "NeuralMind | None" has no attribute "project_path"  [union-attr]
neuralmind/server.py: Item "None" of "NeuralMind | None" has no attribute "project_path"  [union-attr]
neuralmind/server.py: Item "None" of "NeuralMind | None" has no attribute "project_path"  [union-attr]
neuralmind/server.py: Item "None" of "NeuralMind | None" has no attribute "project_path"  [union-attr]
neuralmind/server.py: Item "None" of "NeuralMind | None" has no attribute "project_path"  [union-attr]
neuralmind/server.py: Item "None" of "NeuralMind | None" has no attribute "project_path"  [union-attr]
neuralmind/server.py: Item "None" of "NeuralMind | None" has no attribute "project_path"  [union-attr]
neuralmind/server.py: Item "None" of "NeuralMind | None" has no attribute "project_path"  [union-attr]
neuralmind/server.py: Item "None" of "NeuralMind | None" has no attribute "recent_queries"  [union-attr]
neuralmind/sleep.py: Returning Any from function declared to return "int"  [no-any-return]
neuralmind/sleep.py: Returning Any from function declared to return "int"  [no-any-return]
neuralmind/storage_guard.py: Module has no attribute "HKEY_LOCAL_MACHINE"  [attr-defined]
neuralmind/storage_guard.py: Module has no attribute "OpenKey"  [attr-defined]
neuralmind/storage_guard.py: Module has no attribute "QueryValueEx"  [attr-defined]
neuralmind/synapse_client.py: Incompatible return value type (got "list[tuple[str, str, float, int]]", expected "list[tuple[str, str, float]]")  [return-value]
neuralmind/synapse_client.py: Need type annotation for "matches" (hint: "matches: list[<type>] = ...")  [var-annotated]
neuralmind/synapse_dynamics.py: Returning Any from function declared to return "int"  [no-any-return]
neuralmind/synapse_feedback.py: "NeuralMind" has no attribute "_symbol_index_cache"  [attr-defined]
neuralmind/synapse_feedback.py: "NeuralMind" has no attribute "_symbol_index_sig"  [attr-defined]
neuralmind/synapse_feedback.py: Returning Any from function declared to return "dict[str, list[str]]"  [no-any-return]
neuralmind/synapses.py: Argument 1 to "Path" has incompatible type "str | Path | None"; expected "str | PathLike[str]"  [arg-type]
neuralmind/synapses.py: Argument 1 to "_state_database" has incompatible type "str | Path | None"; expected "str | Path"  [arg-type]
neuralmind/synapses.py: Returning Any from function declared to return "bool"  [no-any-return]
neuralmind/synapses.py: Returning Any from function declared to return "int"  [no-any-return]
neuralmind/synapses.py: Returning Any from function declared to return "int"  [no-any-return]
neuralmind/team_memory.py: Returning Any from function declared to return "list[dict[Any, Any]]"  [no-any-return]
neuralmind/team_memory.py: Unsupported operand types for + ("str" and "int")  [operator]
neuralmind/tier2/cli.py: Incompatible types in assignment (expression has type "Literal['VALID', 'EXPIRED', 'INVALID', 'OFFLINE_OK', 'TAMPERED']", variable has type "dict[Any, Any]")  [assignment]
neuralmind/tier2/cli.py: Item "None" of "AuditLog | None" has no attribute "log"  [union-attr]
neuralmind/tier2/cli.py: Item "None" of "AuditLog | None" has no attribute "log"  [union-attr]
neuralmind/tier2/cli.py: Item "None" of "LicenseInfo | None" has no attribute "expires_at"  [union-attr]
neuralmind/tier2/cli.py: Item "None" of "LicenseInfo | None" has no attribute "seats"  [union-attr]
neuralmind/tier2/cli.py: Item "None" of "LicenseInfo | None" has no attribute "tier"  [union-attr]
neuralmind/tier2/cli.py: Returning Any from function declared to return "int"  [no-any-return]
neuralmind/tier2/governance.py: Incompatible types in assignment (expression has type "str", variable has type "Literal['personal', 'shared', 'both']")  [assignment]
neuralmind/tier2/governance.py: Item "None" of "AuditEntry | None" has no attribute "sha256"  [union-attr]
neuralmind/tier2/license.py: Incompatible return value type (got "str", expected "Literal['VALID', 'EXPIRED', 'INVALID', 'OFFLINE_OK', 'TAMPERED']")  [return-value]
neuralmind/tier2/operations.py: Argument "expires_at" to "LicenseInfo" has incompatible type "object"; expected "str"  [arg-type]
neuralmind/tier2/operations.py: Argument "issued_at" to "LicenseInfo" has incompatible type "object"; expected "str"  [arg-type]
neuralmind/tier2/operations.py: Missing return statement  [empty-body]
neuralmind/tier2/operations.py: Returning Any from function declared to return "dict[Any, Any] | None"  [no-any-return]
neuralmind/tier2/operations.py: Returning Any from function declared to return "dict[Any, Any]"  [no-any-return]
neuralmind/tier2/pricing.py: Returning Any from function declared to return "float"  [no-any-return]
neuralmind/traces.py: Returning Any from function declared to return "int"  [no-any-return]
neuralmind/turbovec_backend.py: Argument 1 to "append" of "list" has incompatible type "tuple[str, int, str, dict[str, Any], str, bool, str | None]"; expected "tuple[str, int, str, dict[Any, Any], str, bool]"  [arg-type]
neuralmind/turbovec_backend.py: Cannot determine type of "_bm25_cached"  [has-type]
neuralmind/turbovec_backend.py: Dict entry 3 has incompatible type "str": "str"; expected "str": "int"  [dict-item]
neuralmind/turbovec_backend.py: Incompatible return value type (got "list[list[float]]", expected "ndarray[tuple[Any, ...], dtype[Any]]")  [return-value]
neuralmind/turbovec_backend.py: Incompatible types in assignment (expression has type "None", variable has type "BM25Index")  [assignment]
neuralmind/turbovec_backend.py: Incompatible types in assignment (expression has type "None", variable has type "BM25Index")  [assignment]
neuralmind/turbovec_backend.py: Need more than 6 values to unpack (7 expected)  [misc]
neuralmind/turbovec_backend.py: Returning Any from function declared to return "ndarray[tuple[Any, ...], dtype[Any]]"  [no-any-return]
neuralmind/turbovec_backend.py: Returning Any from function declared to return "ndarray[tuple[Any, ...], dtype[Any]]"  [no-any-return]
neuralmind/type_verifier.py: Module has no attribute "language"; maybe "language_tsx"?  [attr-defined]
neuralmind/type_verifier.py: Module has no attribute "language"; maybe "language_tsx"?  [attr-defined]
neuralmind/type_verifier.py: Name "ts" already defined (by an import)  [no-redef]
neuralmind/type_verifier.py: Name "ts" already defined (by an import)  [no-redef]
neuralmind/type_verifier.py: Returning Any from function declared to return "TypeInfo | None"  [no-any-return]
neuralmind/type_verifier.py: Returning Any from function declared to return "TypeInfo | None"  [no-any-return]
neuralmind/type_verifier.py: Returning Any from function declared to return "TypeInfo | None"  [no-any-return]
neuralmind/type_verifier.py: Returning Any from function declared to return "int"  [no-any-return]
neuralmind/watcher.py: "None" has no attribute "schedule"  [attr-defined]
neuralmind/watcher.py: "None" has no attribute "start"  [attr-defined]
