A Python library for building AI agents that leverage the full power of Google Antigravity.
This report summarizes scanner evidence for google-antigravity/antigravity-sdk-python, a Python project with 3,695 GitHub stars. SynthScan examined 58,768 lines of code across 169 source files, recording 1697 pattern matches distributed across 19 syntactic categories. The legacy adjusted pattern signal is 33.0 (High 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? 1353 finding(s).
Are imports declared and package/API names verified? 129 finding(s).
Are wrappers, guards, and repeated structures necessary? 1349 finding(s).
Which changes need focused human review? 1697 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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 1697 distinct pattern matches across 19 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 | google/antigravity/types.py | 260 | def _check_mutually_exclusive(self) -> "SubagentCapabilities": | CODE |
| LOW | google/antigravity/types.py | 268 | def _validate_subagents_and_tools(self) -> "SubagentCapabilities": | CODE |
| LOW | google/antigravity/types.py | 286 | def _validate_interactive_tools(self) -> "SubagentCapabilities": | CODE |
| LOW | google/antigravity/types.py | 717 | def _validate_tool_output_truncation_config( | CODE |
| LOW | google/antigravity/types.py | 734 | def _check_mutually_exclusive(self) -> "CapabilitiesConfig": | CODE |
| LOW | google/antigravity/types.py | 742 | def _validate_subagents_and_tools(self) -> "CapabilitiesConfig": | CODE |
| LOW | google/antigravity/types.py | 769 | def _validate_interactive_tools(self) -> "CapabilitiesConfig": | CODE |
| LOW | google/antigravity/types.py | 783 | def _get_explicit_compaction_threshold(self) -> int | None: | CODE |
| LOW | google/antigravity/types.py | 790 | def _warn_deprecated_compaction_fields(self) -> "CapabilitiesConfig": | CODE |
| LOW | google/antigravity/types.py | 910 | def _check_mutually_exclusive(self) -> "BaseMcpServerConfig": | CODE |
| LOW | google/antigravity/types.py | 1523 | def _validate_continue_reason(self) -> "StopHookResult": | CODE |
| LOW | google/antigravity/types.py | 1991 | def _read_file_and_guess_mime( | CODE |
| LOW⚡ | google/antigravity/types_test.py | 86 | def test_step_id_defaults_to_none(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 91 | def test_step_id_explicitly_set(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 96 | def test_extra_fields_ignored(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 170 | def test_step_id_defaults_to_none(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 175 | def test_step_id_explicitly_set(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 180 | def test_extra_fields_ignored(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 583 | def test_custom_text_is_required(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 588 | def test_templated_empty_construction(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 594 | def test_union_parsing_empty_dict(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 704 | def test_all_tools_returns_every_member(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 713 | def test_none_returns_empty_list(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 717 | def test_minimal_returns_four_minimal_tools(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 727 | def test_default_excludes_ask_question_and_deprecated_tools(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 901 | def test_run_command_config_non_positive_timeout_raises(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 909 | def test_subagent_capabilities_allowed_subagents(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 914 | def test_max_subagent_depth_fails_when_subagents_disabled(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 932 | def test_allowed_subagents_fails_when_subagents_disabled(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 941 | def test_allowed_subagents_empty_list_fails_when_subagents_disabled(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 950 | def test_max_subagent_depth_fails_when_start_subagent_tool_disabled(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 1042 | def test_tool_output_truncation_config_default(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 1047 | def test_tool_output_truncation_config_int_shorthand(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 1055 | def test_tool_output_truncation_config_zero(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 1063 | def test_tool_output_truncation_config_instance(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 1069 | def test_tool_output_truncation_config_dict(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 1079 | def test_tool_output_truncation_config_boolean_rejected(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 1086 | def test_tool_output_truncation_config_invalid_types_rejected(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 1091 | def test_tool_output_truncation_config_negative_or_overflow_raises(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 1128 | def test_zero_max_tokens_allowed(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 1133 | def test_negative_max_tokens_raises(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 1138 | def test_overflow_max_tokens_raises(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 1347 | def test_non_existent_path_raises_error(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 1352 | def test_directory_path_raises_error(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 1358 | def test_inference_failure_raises_clear_value_error(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 2190 | def test_agent_behavior_explicit(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 2198 | def test_mutually_exclusive_ok_enabled(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 2205 | def test_mutually_exclusive_ok_disabled(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 2212 | def test_mutually_exclusive_raises(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 2219 | def test_allowed_subagents_valid_when_start_subagent_enabled(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 2226 | def test_allowed_subagents_raises_when_start_subagent_omitted_from_enabled_tools( | CODE |
| LOW⚡ | google/antigravity/types_test.py | 2807 | def test_stop_hook_result_defaults(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 2812 | def test_stop_hook_result_custom(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 2820 | def test_stop_hook_result_extra_fields_ignored(self): | CODE |
| LOW⚡ | google/antigravity/types_test.py | 2827 | def test_stop_hook_result_continue_requires_non_empty_reason(self): | CODE |
| LOW | google/antigravity/types_test.py | 52 | def test_canonical_path_default_none(self): | CODE |
| LOW | google/antigravity/types_test.py | 57 | def test_canonical_path_explicit(self): | CODE |
| LOW | google/antigravity/types_test.py | 237 | def test_extra_fields_allowed(self): | CODE |
| LOW | google/antigravity/types_test.py | 374 | def test_missing_responses_raises(self): | CODE |
| LOW | google/antigravity/types_test.py | 448 | def test_step_with_tool_calls(self): | CODE |
| 1066 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | google/antigravity/models.py | 31 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | google/antigravity/models.py | 33 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | google/antigravity/models.py | 39 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | google/antigravity/models.py | 41 | # ============================================================================= | COMMENT |
| MEDIUM | google/antigravity/types.py | 123 | # ============================================================================= | COMMENT |
| MEDIUM | google/antigravity/types.py | 125 | # ============================================================================= | COMMENT |
| MEDIUM | google/antigravity/types.py | 960 | # ============================================================================= | COMMENT |
| MEDIUM | google/antigravity/types.py | 962 | # ============================================================================= | COMMENT |
| MEDIUM | google/antigravity/types.py | 1018 | # ============================================================================= | COMMENT |
| MEDIUM | google/antigravity/types.py | 1020 | # ============================================================================= | COMMENT |
| MEDIUM | google/antigravity/types.py | 1415 | # ============================================================================= | COMMENT |
| MEDIUM | google/antigravity/types.py | 1417 | # ============================================================================= | COMMENT |
| MEDIUM | google/antigravity/types.py | 1555 | # ============================================================================= | COMMENT |
| MEDIUM | google/antigravity/types.py | 1557 | # ============================================================================= | COMMENT |
| MEDIUM | google/antigravity/types.py | 1642 | # ============================================================================= | COMMENT |
| MEDIUM | google/antigravity/types.py | 1644 | # ============================================================================= | COMMENT |
| MEDIUM | google/antigravity/types.py | 1906 | # ============================================================================= | COMMENT |
| MEDIUM | google/antigravity/types.py | 1908 | # ============================================================================= | COMMENT |
| MEDIUM | google/antigravity/workflows.py | 48 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/workflows.py | 59 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | google/antigravity/connections/local/event_processor.py | 1190 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | google/antigravity/connections/local/event_processor.py | 1192 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/hooks/policy.py | 196 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/hooks/policy.py | 198 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/hooks/policy.py | 598 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/hooks/policy.py | 600 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/hooks/policy.py | 693 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/hooks/policy.py | 695 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/hooks/policy.py | 766 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/hooks/policy.py | 768 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/hooks/policy.py | 801 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/hooks/policy.py | 803 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/hooks/policy.py | 925 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/hooks/policy.py | 927 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/conversation/conversation.py | 90 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/conversation/conversation.py | 92 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/conversation/conversation.py | 214 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/conversation/conversation.py | 216 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/conversation/conversation.py | 341 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | google/antigravity/conversation/conversation.py | 343 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/multimodal_pipeline.py | 107 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/multimodal_pipeline.py | 109 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/multimodal_pipeline.py | 143 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/multimodal_pipeline.py | 145 | # ---------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/async_chat.py | 55 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/async_chat.py | 57 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/async_chat.py | 72 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/async_chat.py | 74 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/async_chat.py | 195 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/async_chat.py | 197 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/agent_middleware.py | 56 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/agent_middleware.py | 58 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/agent_middleware.py | 102 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/agent_middleware.py | 104 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/agent_middleware.py | 143 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/agent_middleware.py | 145 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/agent_middleware.py | 167 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | examples/deep_dives/agent_middleware.py | 169 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | examples/deep_dives/agent_middleware.py | 199 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | examples/deep_dives/agent_middleware.py | 201 | # --------------------------------------------------------------------------- | COMMENT |
| 66 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | google/antigravity/beta/__init__.py | 73 | except (AttributeError, TypeError): | CODE |
| HIGH | google/antigravity/beta/__init__.py | 159 | except (AttributeError, TypeError): | CODE |
| HIGH | google/antigravity/tools/tool_runner.py | 182 | except (ValueError, TypeError): | CODE |
| HIGH | google/antigravity/tools/tool_runner.py | 236 | except Exception: # pylint: disable=broad-except | CODE |
| HIGH | google/antigravity/utils/otel_test.py | 27 | except ImportError: | CODE |
| HIGH | google/antigravity/utils/interactive.py | 165 | except asyncio.CancelledError: | CODE |
| HIGH | google/antigravity/utils/interactive.py | 191 | except asyncio.CancelledError: | CODE |
| HIGH | google/antigravity/utils/interactive.py | 332 | except ValueError: | CODE |
| HIGH | …antigravity/connections/local/local_connection_test.py | 5291 | except asyncio.CancelledError: | CODE |
| HIGH | google/antigravity/connections/local/event_processor.py | 269 | except json.JSONDecodeError: | CODE |
| HIGH | google/antigravity/connections/local/event_processor.py | 245 | except json.JSONDecodeError: | CODE |
| HIGH | google/antigravity/connections/local/event_processor.py | 1029 | except ValueError: | CODE |
| HIGH | …ogle/antigravity/connections/local/struct_converter.py | 240 | except (AttributeError, ValueError): | CODE |
| HIGH | …ogle/antigravity/connections/local/struct_converter.py | 259 | except (AttributeError, ValueError): | CODE |
| HIGH | …ogle/antigravity/connections/local/struct_converter.py | 84 | except (TypeError, ValueError, AttributeError): | CODE |
| HIGH | …ogle/antigravity/connections/local/struct_converter.py | 91 | except (TypeError, ValueError, AttributeError): | CODE |
| HIGH | …ogle/antigravity/connections/local/struct_converter.py | 96 | except (TypeError, ValueError, AttributeError): | CODE |
| HIGH | …ogle/antigravity/connections/local/struct_converter.py | 249 | except (AttributeError, ValueError): | CODE |
| HIGH | …ogle/antigravity/connections/local/struct_converter.py | 268 | except (AttributeError, ValueError): | CODE |
| HIGH | …gle/antigravity/connections/local/litert_connection.py | 446 | except Exception: | CODE |
| HIGH | …gle/antigravity/connections/local/litert_connection.py | 476 | except Exception: | CODE |
| HIGH | …gle/antigravity/connections/local/litert_connection.py | 457 | except Exception: | CODE |
| HIGH | …ogle/antigravity/connections/local/local_connection.py | 794 | except (importlib.metadata.PackageNotFoundError, ValueError, AttributeError): | CODE |
| HIGH | …ogle/antigravity/connections/local/local_connection.py | 812 | except (ImportError, AttributeError, KeyError): | CODE |
| HIGH | …ogle/antigravity/connections/local/local_connection.py | 556 | except ValueError: | CODE |
| HIGH | …ogle/antigravity/connections/local/local_connection.py | 589 | except asyncio.CancelledError: | CODE |
| HIGH | …ogle/antigravity/connections/local/local_connection.py | 595 | except asyncio.TimeoutError: | CODE |
| HIGH | …vity/connections/local/interactions_event_processor.py | 82 | except ValueError: | CODE |
| HIGH | google/antigravity/connections/local/hook_router.py | 43 | except ValueError: | CODE |
| HIGH | google/antigravity/connections/local/hook_router.py | 57 | except ValueError: | CODE |
| HIGH | google/antigravity/connections/local/litert_server.py | 319 | except Exception: | CODE |
| HIGH | examples/getting_started/sandboxing.py | 102 | except FileNotFoundError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyproject.toml | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/models.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/types.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/types_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/agent_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/agent.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/workflows.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/workflows.py | 41 | }) | COMMENT |
| LOW | google/antigravity/workflows_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/beta/beta_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/beta/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/tools/tool_runner_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/tools/schema_utils.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/tools/schema_utils_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/tools/tool_context.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/tools/tool_runner.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/tools/tool_context_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/triggers/triggers.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/triggers/trigger_runner.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/triggers/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/triggers/helpers_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/triggers/triggers_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/triggers/helpers.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/triggers/trigger_runner_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/utils/interactive_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/utils/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/utils/otel_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/utils/state_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/utils/interactive.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/utils/otel.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/utils/state.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/connections/connection_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/connections/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/connections/connection.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …antigravity/connections/local/local_connection_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …tigravity/connections/local/local_openai_connection.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …antigravity/connections/local/proto_converters_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …ity/connections/local/interactions_config_converter.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/connections/local/test_utils.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …ty/connections/local/local_openai_connection_config.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/connections/local/event_processor.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …ogle/antigravity/connections/local/struct_converter.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …tigravity/connections/local/interactions_connection.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …avity/connections/local/interactions_step_assembler.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …/connections/local/interactions_step_assembler_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …onnections/local/interactions_config_converter_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …gle/antigravity/connections/local/litert_connection.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …tigravity/connections/local/local_connection_config.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …ogle/antigravity/connections/local/proto_converters.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …igravity/connections/local/litert_connection_config.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …connections/local/interactions_event_processor_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/connections/local/__init__.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/connections/local/types.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …/antigravity/connections/local/event_processor_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …ogle/antigravity/connections/local/local_connection.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …vity/connections/local/interactions_event_processor.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …vity/connections/local/interactions_connection_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | …ogle/antigravity/connections/local/hook_router_test.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| LOW | google/antigravity/connections/local/hook_router.py | 1 | # Copyright 2026 Google LLC | COMMENT |
| 61 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | google/antigravity/models.py | 21 | CODE | |
| LOW | google/antigravity/__init__.py | 17 | CODE | |
| LOW | google/antigravity/__init__.py | 18 | CODE | |
| LOW | google/antigravity/__init__.py | 19 | CODE | |
| LOW | google/antigravity/__init__.py | 20 | CODE | |
| LOW | google/antigravity/__init__.py | 21 | CODE | |
| LOW | google/antigravity/__init__.py | 22 | CODE | |
| LOW | google/antigravity/__init__.py | 23 | CODE | |
| LOW | google/antigravity/__init__.py | 24 | CODE | |
| LOW | google/antigravity/__init__.py | 25 | CODE | |
| LOW | google/antigravity/__init__.py | 26 | CODE | |
| LOW | google/antigravity/__init__.py | 27 | CODE | |
| LOW | google/antigravity/__init__.py | 28 | CODE | |
| LOW | google/antigravity/__init__.py | 29 | CODE | |
| LOW | google/antigravity/__init__.py | 30 | CODE | |
| LOW | google/antigravity/__init__.py | 31 | CODE | |
| LOW | google/antigravity/__init__.py | 32 | CODE | |
| LOW | google/antigravity/__init__.py | 33 | CODE | |
| LOW | google/antigravity/__init__.py | 34 | CODE | |
| LOW | google/antigravity/__init__.py | 35 | CODE | |
| LOW | google/antigravity/__init__.py | 36 | CODE | |
| LOW | google/antigravity/__init__.py | 37 | CODE | |
| LOW | google/antigravity/__init__.py | 38 | CODE | |
| LOW | google/antigravity/__init__.py | 39 | CODE | |
| LOW | google/antigravity/__init__.py | 40 | CODE | |
| LOW | google/antigravity/__init__.py | 41 | CODE | |
| LOW | google/antigravity/__init__.py | 42 | CODE | |
| LOW | google/antigravity/__init__.py | 43 | CODE | |
| LOW | google/antigravity/__init__.py | 44 | CODE | |
| LOW | google/antigravity/__init__.py | 45 | CODE | |
| LOW | google/antigravity/__init__.py | 46 | CODE | |
| LOW | google/antigravity/__init__.py | 47 | CODE | |
| LOW | google/antigravity/__init__.py | 48 | CODE | |
| LOW | google/antigravity/__init__.py | 49 | CODE | |
| LOW | google/antigravity/__init__.py | 50 | CODE | |
| LOW | google/antigravity/__init__.py | 51 | CODE | |
| LOW | google/antigravity/__init__.py | 52 | CODE | |
| LOW | google/antigravity/__init__.py | 53 | CODE | |
| LOW | google/antigravity/__init__.py | 54 | CODE | |
| LOW | google/antigravity/__init__.py | 55 | CODE | |
| LOW | google/antigravity/types.py | 21 | CODE | |
| LOW | google/antigravity/types.py | 36 | CODE | |
| LOW | google/antigravity/types.py | 37 | CODE | |
| LOW | google/antigravity/types.py | 38 | CODE | |
| LOW | google/antigravity/types.py | 39 | CODE | |
| LOW | google/antigravity/types.py | 40 | CODE | |
| LOW | google/antigravity/types.py | 42 | CODE | |
| LOW | google/antigravity/types.py | 43 | CODE | |
| LOW | google/antigravity/workflows.py | 17 | CODE | |
| LOW | google/antigravity/beta/__init__.py | 27 | CODE | |
| LOW | google/antigravity/triggers/triggers.py | 22 | CODE | |
| LOW | google/antigravity/triggers/__init__.py | 17 | CODE | |
| LOW | google/antigravity/triggers/__init__.py | 18 | CODE | |
| LOW | google/antigravity/triggers/__init__.py | 19 | CODE | |
| LOW | google/antigravity/triggers/__init__.py | 20 | CODE | |
| LOW | google/antigravity/triggers/__init__.py | 21 | CODE | |
| LOW | google/antigravity/triggers/__init__.py | 22 | CODE | |
| LOW | google/antigravity/triggers/__init__.py | 23 | CODE | |
| LOW | google/antigravity/utils/interactive.py | 33 | CODE | |
| LOW | google/antigravity/utils/state.py | 17 | CODE | |
| 62 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | google/antigravity/types.py | 1960 | """Robustly loads local file bytes with comprehensive error wrapping. | STRING |
| MEDIUM⚡ | …antigravity/connections/local/local_connection_test.py | 94 | # Older harness that omits sandbox status -> no spurious warning. | COMMENT |
| MEDIUM | …antigravity/connections/local/local_connection_test.py | 1079 | # The harness emits STATE_CANCELLED when the PreTurn hook denies. | COMMENT |
| MEDIUM | …antigravity/connections/local/local_connection_test.py | 1163 | # Simulate harness dispatching PreTool, PostTool, and OnToolError hooks | COMMENT |
| MEDIUM | …antigravity/connections/local/local_connection_test.py | 1490 | # Simulate an active generation step from the harness | COMMENT |
| MEDIUM | …antigravity/connections/local/local_connection_test.py | 1527 | # Simulate the harness transitioning to idle after halting | COMMENT |
| MEDIUM | …antigravity/connections/local/local_connection_test.py | 1899 | # No messages should have been sent back to the harness. | COMMENT |
| MEDIUM | …antigravity/connections/local/local_connection_test.py | 1929 | # Default: all harness side tools enabled except user_questions | COMMENT |
| MEDIUM | …antigravity/connections/local/local_connection_test.py | 4162 | # 2. Simulate Go harness sending CallHookRequest(OnSessionEnd) | COMMENT |
| MEDIUM | …antigravity/connections/local/local_connection_test.py | 4177 | # 4. Simulate Go harness sending SessionEndResponse | COMMENT |
| MEDIUM | …antigravity/connections/local/local_connection_test.py | 4230 | # The real harness sends STATE_IDLE after the final step. The | COMMENT |
| MEDIUM | google/antigravity/connections/local/event_processor.py | 633 | # During live execution of a local custom tool, the Go harness | COMMENT |
| MEDIUM | google/antigravity/connections/local/event_processor.py | 950 | # Subagent execution is coordinated by the harness. The Python client | COMMENT |
| MEDIUM | …ogle/antigravity/connections/local/local_connection.py | 51 | # In some cases e.g. during eval runs, the harness needs extra time to | COMMENT |
| MEDIUM | …ogle/antigravity/connections/local/local_connection.py | 373 | # expected closures from harness crashes. | COMMENT |
| MEDIUM | …ogle/antigravity/connections/local/local_connection.py | 386 | # Stderr lines from the Go harness, captured by a background thread. | COMMENT |
| MEDIUM | …ogle/antigravity/connections/local/local_connection.py | 387 | # Retained in a bounded deque so the reader loop can surface harness | COMMENT |
| MEDIUM | …ogle/antigravity/connections/local/local_connection.py | 1537 | # Retry the WebSocket connection with backoff. The harness process may | COMMENT |
| MEDIUM | …vity/connections/local/interactions_connection_test.py | 83 | # Simulate harness sending call_hook_request(on_session_end) then | COMMENT |
| MEDIUM | …ogle/antigravity/connections/local/hook_router_test.py | 1221 | # populated by the harness for MCP tool calls. | COMMENT |
| MEDIUM | google/antigravity/connections/local/hook_router.py | 196 | # server_name is populated directly by harness for MCP tool calls, | COMMENT |
| MEDIUM⚡ | examples/deep_dives/agent_middleware.py | 195 | # Let the harness handle all other errors with default formatting. | COMMENT |
| MEDIUM | examples/getting_started/persona_config.py | 80 | # Add custom sections. These sections are passed to the local harness as | COMMENT |
| MEDIUM | examples/getting_started/error_handler.py | 105 | # Common cause: Backend harness process crashes or WebSocket connection | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | google/antigravity/types.py | 1960 | Robustly loads local file bytes with comprehensive error wrapping. Args: path: The file path to read. Return | STRING |
| HIGH | google/antigravity/types.py | 1994 | Reads a file and guesses its MIME type. Args: path: The file path to read. Returns: A tuple containing | STRING |
| HIGH | google/antigravity/types.py | 2127 | Automatically resolves a local file path into the correct semantic Content primitive. Args: path: Local file pa | STRING |
| HIGH | google/antigravity/types.py | 2147 | Automatically resolves raw bytes and a MIME type into the correct Content primitive. Args: data: Raw file bytes | STRING |
| HIGH | google/antigravity/agent.py | 244 | Sends a prompt and returns the final response. Args: prompt: The user prompt or content to send. Retur | STRING |
| HIGH | google/antigravity/agent.py | 282 | Executes a `@workflows.define` function or a `.py` workflow script. Exactly one of `workflow` or `script_path` must | STRING |
| HIGH | google/antigravity/workflows.py | 245 | Extracts and validates the standalone script source from a workflow function. Given a `@workflows.define` function su | STRING |
| HIGH | google/antigravity/tools/tool_runner.py | 340 | Returns a callable with injectable params hidden from the signature. Connections use this to generate tool schemas | STRING |
| HIGH | google/antigravity/tools/tool_runner.py | 442 | Executes a registered tool by name. If the tool declares a ``ToolContext`` parameter and a context has been set | STRING |
| HIGH | google/antigravity/triggers/helpers.py | 43 | Creates a trigger that runs callback on a fixed interval. The callback is invoked repeatedly with `interval_seconds` | STRING |
| HIGH | …igravity/connections/local/litert_connection_config.py | 43 | Derives the default compaction configuration for a LiteRT model. Calculates a safe token threshold based on the engin | STRING |
| HIGH | google/antigravity/hooks/policy.py | 946 | Creates a PreToolCallDecideHook that evaluates dynamic policies. Args: policies: The policies to enforce (can be | STRING |
| HIGH | examples/deep_dives/agent_middleware.py | 87 | Send a message to a user by name (may fail if name is ambiguous). Args: name: The recipient's display name. m | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | google/antigravity/agent.py | 224 | except Exception: | CODE |
| LOW | google/antigravity/beta/__init__.py | 295 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | google/antigravity/tools/tool_runner.py | 69 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | google/antigravity/tools/tool_runner.py | 81 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | google/antigravity/tools/tool_runner.py | 236 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | google/antigravity/tools/tool_runner.py | 429 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | google/antigravity/tools/tool_runner.py | 509 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | google/antigravity/triggers/trigger_runner.py | 136 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | google/antigravity/utils/otel.py | 402 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | google/antigravity/utils/otel.py | 438 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | google/antigravity/connections/local/event_processor.py | 677 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | google/antigravity/connections/local/event_processor.py | 698 | except Exception: # pylint: disable=broad-except | CODE |
| LOW | google/antigravity/connections/local/event_processor.py | 801 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | google/antigravity/connections/local/event_processor.py | 1048 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | google/antigravity/connections/local/event_processor.py | 1124 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | …tigravity/connections/local/interactions_connection.py | 185 | except Exception as e: | CODE |
| LOW | …gle/antigravity/connections/local/litert_connection.py | 136 | except Exception as e: # pylint: disable=broad-exception-caught | CODE |
| LOW | …gle/antigravity/connections/local/litert_connection.py | 292 | except Exception as e: # pylint: disable=broad-exception-caught | CODE |
| LOW | …gle/antigravity/connections/local/litert_connection.py | 343 | except Exception as e: # pylint: disable=broad-exception-caught # pylint: disable=broad-exception-caught | CODE |
| LOW | …gle/antigravity/connections/local/litert_connection.py | 360 | except Exception: | CODE |
| LOW | …gle/antigravity/connections/local/litert_connection.py | 378 | except Exception as e: # pylint: disable=broad-exception-caught | CODE |
| LOW | …gle/antigravity/connections/local/litert_connection.py | 398 | except Exception as e: # pylint: disable=broad-exception-caught | CODE |
| LOW | …gle/antigravity/connections/local/litert_connection.py | 428 | except Exception as e: # pylint: disable=broad-exception-caught | CODE |
| LOW | …gle/antigravity/connections/local/litert_connection.py | 446 | except Exception: | CODE |
| LOW | …gle/antigravity/connections/local/litert_connection.py | 457 | except Exception: | CODE |
| LOW | …gle/antigravity/connections/local/litert_connection.py | 472 | except Exception: # pylint: disable=broad-exception-caught | CODE |
| LOW | …gle/antigravity/connections/local/litert_connection.py | 476 | except Exception: | CODE |
| MEDIUM | …ogle/antigravity/connections/local/local_connection.py | 550 | def _drain(): | CODE |
| LOW | …ogle/antigravity/connections/local/local_connection.py | 579 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | …ogle/antigravity/connections/local/local_connection.py | 665 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | …ogle/antigravity/connections/local/local_connection.py | 1576 | except Exception as e: | CODE |
| LOW | …vity/connections/local/interactions_event_processor.py | 304 | except Exception as e: # pylint: disable=broad-exception-caught | CODE |
| LOW | …vity/connections/local/interactions_event_processor.py | 576 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | …vity/connections/local/interactions_event_processor.py | 620 | except Exception as e: # pylint: disable=broad-except | CODE |
| LOW | google/antigravity/connections/local/hook_router.py | 400 | except Exception as e: # pylint: disable=broad-exception-caught | CODE |
| LOW | google/antigravity/connections/local/litert_server.py | 188 | except Exception as e: # pylint: disable=broad-exception-caught # pylint: disable=broad-exception-caught | CODE |
| LOW | google/antigravity/connections/local/litert_server.py | 270 | except Exception as e: # pylint: disable=broad-exception-caught # pylint: disable=broad-exception-caught | CODE |
| LOW | google/antigravity/connections/local/litert_server.py | 314 | except Exception as e: # pylint: disable=broad-exception-caught # pylint: disable=broad-exception-caught | CODE |
| LOW | google/antigravity/connections/local/litert_server.py | 319 | except Exception: | CODE |
| LOW | google/antigravity/hooks/hook_runner.py | 285 | except Exception as e: # pylint: disable=broad-exception-caught | CODE |
| LOW | google/antigravity/hooks/policy.py | 749 | except Exception as e: # pylint: disable=broad-exception-caught | CODE |
| LOW | examples/getting_started/error_handler.py | 109 | except Exception as e: # pylint: disable=broad-except | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | google/antigravity/types.py | 1693 | CODE | |
| LOW | google/antigravity/types.py | 1708 | CODE | |
| LOW | google/antigravity/workflows.py | 164 | CODE | |
| LOW | google/antigravity/tools/schema_utils.py | 74 | CODE | |
| LOW | google/antigravity/utils/interactive.py | 296 | CODE | |
| LOW | google/antigravity/utils/otel.py | 168 | CODE | |
| LOW | google/antigravity/connections/connection.py | 232 | CODE | |
| LOW | google/antigravity/connections/connection.py | 341 | CODE | |
| LOW | …ity/connections/local/interactions_config_converter.py | 208 | CODE | |
| LOW | …ity/connections/local/interactions_config_converter.py | 609 | CODE | |
| LOW | google/antigravity/connections/local/event_processor.py | 221 | CODE | |
| LOW | google/antigravity/connections/local/event_processor.py | 313 | CODE | |
| LOW | google/antigravity/connections/local/event_processor.py | 845 | CODE | |
| LOW | google/antigravity/connections/local/event_processor.py | 991 | CODE | |
| LOW | google/antigravity/connections/local/event_processor.py | 1134 | CODE | |
| LOW | …ogle/antigravity/connections/local/struct_converter.py | 171 | CODE | |
| LOW | …ogle/antigravity/connections/local/struct_converter.py | 235 | CODE | |
| LOW | …ogle/antigravity/connections/local/struct_converter.py | 254 | CODE | |
| LOW | …ogle/antigravity/connections/local/struct_converter.py | 273 | CODE | |
| LOW | …avity/connections/local/interactions_step_assembler.py | 172 | CODE | |
| LOW | …avity/connections/local/interactions_step_assembler.py | 691 | CODE | |
| LOW | …avity/connections/local/interactions_step_assembler.py | 747 | CODE | |
| LOW | …gle/antigravity/connections/local/litert_connection.py | 433 | CODE | |
| LOW | …gle/antigravity/connections/local/litert_connection.py | 173 | CODE | |
| LOW | …gle/antigravity/connections/local/litert_connection.py | 383 | CODE | |
| LOW | …ogle/antigravity/connections/local/local_connection.py | 216 | CODE | |
| LOW | …ogle/antigravity/connections/local/local_connection.py | 770 | CODE | |
| LOW | …ogle/antigravity/connections/local/local_connection.py | 478 | CODE | |
| LOW | …ogle/antigravity/connections/local/local_connection.py | 569 | CODE | |
| LOW | …ogle/antigravity/connections/local/local_connection.py | 1129 | CODE | |
| LOW | …ogle/antigravity/connections/local/local_connection.py | 1177 | CODE | |
| LOW | …ogle/antigravity/connections/local/local_connection.py | 1238 | CODE | |
| LOW | …vity/connections/local/interactions_event_processor.py | 47 | CODE | |
| LOW | …vity/connections/local/interactions_event_processor.py | 238 | CODE | |
| LOW | google/antigravity/connections/local/hook_router.py | 33 | CODE | |
| LOW | google/antigravity/connections/local/litert_server.py | 173 | CODE | |
| LOW | …ntigravity/connections/local/litert_connection_test.py | 194 | CODE | |
| LOW | google/antigravity/hooks/hooks.py | 276 | CODE | |
| LOW | google/antigravity/hooks/hooks.py | 336 | CODE | |
| LOW | google/antigravity/hooks/policy.py | 771 | CODE | |
| LOW | google/antigravity/hooks/policy.py | 704 | CODE | |
| LOW | google/antigravity/conversation/conversation.py | 143 | CODE | |
| LOW | examples/getting_started/slash_commands.py | 39 | CODE | |
| LOW | examples/getting_started/slash_commands.py | 64 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | google/antigravity/agent_test.py | 229 | # Define a distinct function object with the exact same name | COMMENT |
| MEDIUM | …antigravity/connections/local/local_connection_test.py | 5045 | # Create a FakeWebSocket that raises ConnectionClosed immediately. | COMMENT |
| MEDIUM⚡ | examples/getting_started/triggers.py | 54 | # Define a callback function for the periodic trigger. | COMMENT |
| MEDIUM | examples/getting_started/error_handler.py | 42 | # Define a tool that always fails. | COMMENT |
| MEDIUM | examples/getting_started/error_handler.py | 80 | # Create the agent configuration with the tool and hook. | COMMENT |
| MEDIUM | examples/getting_started/app_data_dir_override.py | 47 | # Create a temporary directory for the custom application data storage | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | …ogle/antigravity/connections/local/hook_router_test.py | 665 | result_str='{"results": null}', | CODE |
| HIGH⚡ | …ogle/antigravity/connections/local/hook_router_test.py | 667 | res.result, '{"results": null}' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | google/antigravity/__init__.py | 57 | __all__ = [ | CODE |
| LOW | google/antigravity/types.py | 47 | __all__ = [ | CODE |
| LOW | google/antigravity/agent.py | 38 | __all__ = ["Agent"] | CODE |
| LOW | google/antigravity/tools/tool_runner.py | 283 | def set_context(self, ctx: tool_context_module.ToolContext) -> None: | CODE |
| LOW | google/antigravity/triggers/__init__.py | 25 | __all__ = [ | CODE |
| LOW | google/antigravity/utils/state.py | 61 | def set_state(self, key: str, value: Any) -> None: | CODE |
| LOW | google/antigravity/connections/local/event_processor.py | 121 | def update_state(self, new_state: localharness_pb2.StepUpdate.State) -> None: | CODE |
| LOW | …avity/connections/local/interactions_step_assembler.py | 278 | def set_root_interaction_id(self, interaction_id: str) -> None: | CODE |
| LOW | google/antigravity/hooks/__init__.py | 44 | __all__ = [ | CODE |
| LOW | google/antigravity/policy/__init__.py | 30 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | google/antigravity/types_test.py | 1773 | CODE | |
| MEDIUM | google/antigravity/types_test.py | 1892 | CODE | |
| MEDIUM | …antigravity/connections/local/local_connection_test.py | 5057 | CODE | |
| MEDIUM | …antigravity/connections/local/local_connection_test.py | 5098 | CODE | |
| MEDIUM | google/antigravity/conversation/conversation_test.py | 1186 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ity/connections/local/interactions_config_converter.py | 77 | # When a tool uses ToolContext dependency injection, ToolRunner strips the | COMMENT |
| MEDIUM | google/antigravity/conversation/conversation.py | 175 | # The agentic loop can emit the same ToolCall in multiple step | COMMENT |
| MEDIUM | google/antigravity/conversation/conversation_test.py | 378 | # The agentic loop can emit the same tool call in dispatch, | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ity/connections/local/interactions_config_converter.py | 609 | CODE | |
| LOW | …ty/connections/local/local_openai_connection_config.py | 43 | CODE | |
| LOW | …tigravity/connections/local/interactions_connection.py | 37 | CODE | |
| LOW | …tigravity/connections/local/local_connection_config.py | 243 | CODE | |
| LOW | …igravity/connections/local/litert_connection_config.py | 123 | CODE | |
| LOW | …ogle/antigravity/connections/local/local_connection.py | 345 | CODE | |
| LOW | …ogle/antigravity/connections/local/local_connection.py | 916 | CODE | |
| LOW | google/antigravity/hooks/hook_runner.py | 47 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …antigravity/connections/local/local_connection_test.py | 4316 | # Step 1: environment step — yielded but NOT a final response. | COMMENT |
| LOW⚡ | …antigravity/connections/local/local_connection_test.py | 4323 | # Step 2: user step — the real final response. | COMMENT |
| LOW | …antigravity/connections/local/local_connection_test.py | 4272 | # Step 1: A TARGET_ENVIRONMENT step (tool execution). | COMMENT |
| LOW | …antigravity/connections/local/local_connection_test.py | 4285 | # Step 2: A TARGET_USER step (the final answer). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …antigravity/connections/local/local_connection_test.py | 4316 | # Step 1: environment step — yielded but NOT a final response. | COMMENT |
| LOW⚡ | …antigravity/connections/local/local_connection_test.py | 4323 | # Step 2: user step — the real final response. | COMMENT |
| LOW | …antigravity/connections/local/local_connection_test.py | 4272 | # Step 1: A TARGET_ENVIRONMENT step (tool execution). | COMMENT |
| LOW | …antigravity/connections/local/local_connection_test.py | 4285 | # Step 2: A TARGET_USER step (the final answer). | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …antigravity/connections/local/local_connection_test.py | 3964 | additional_headers={"x-goog-api-key": "fake-key"}, | CODE |
| LOW⚡ | …antigravity/connections/local/local_connection_test.py | 3969 | additional_headers={"x-goog-api-key": "fake-key"}, | CODE |
| LOW⚡ | …antigravity/connections/local/local_connection_test.py | 3980 | output_config = localharness_pb2.OutputConfig(port=8080, api_key="fake-key") | CODE |
| LOW | …antigravity/connections/local/local_connection_test.py | 3926 | output_config = localharness_pb2.OutputConfig(port=8080, api_key="fake-key") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | examples/getting_started/vertex.py | 24 | VERTEX_API_KEY="your-api-key" python vertex.py | STRING |