AI Slop Code Risk Monitor

google-gemini/gemini-cli

SlopCodeMonitor badge for google-gemini/gemini-cli Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

An open-source AI agent that brings the power of Gemini directly into your terminal.

1.4 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for google-gemini/gemini-cli, a TypeScript project with 108,643 GitHub stars. SynthScan examined 816,158 lines of code across 2659 source files, recording 794 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 1.4 (Low 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.

1.4
Adjusted Signal
1.4
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
108.6K
Stars
TypeScript
Language
816.2K
Lines of Code
2.7K
Files
794
Pattern Hits
2026-10-31
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 5.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.7/100 · LOW

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

Agent Over-Engineering Ratio 3.6/100 · LOW

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

PR Review Velocity Impact 6.5/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 21HIGH 11MEDIUM 32LOW 730

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 794 distinct pattern matches across 22 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers521 hits · 532 pts
SeverityFileLineSnippetContext
LOWevals/skill_extraction.eval.ts181function createWorkflowComparisonSessions(withScratchpad: boolean): {CODE
LOWevals/skill_extraction.eval.ts327async function runExtractionAndReadState(CODE
LOWevals/skill_extraction.eval.ts559async function writeScratchpadStatsReport(CODE
LOWevals/skill_extraction.eval.ts599function expectSuccessfulExtractionRun(run: ExtractionRunSnapshot): void {CODE
LOWevals/skill_extraction.eval.ts656function parseScratchpadStatsTrials(): number {CODE
LOWevals/auto_memory_modes.eval.ts328async function expectSeedSessionEligible(CODE
LOW…ols/caretaker-agent/evals/triage/helpers/github_api.py69def _get_commit_sha_at_timestamp(owner: str, repo: str, created_at: str) -> str:CODE
LOW…/cloudrun/triage-worker/tests/test_integration_main.py268 def test_validation_failure_triggers_retry(self, mock_triage):CODE
LOW…/cloudrun/triage-worker/tests/test_integration_main.py296 def test_max_attempts_escalates_to_needs_human(self):CODE
LOW…gent/cloudrun/triage-worker/tests/test_issues_store.py23 def test_acquire_lock_nonexistent_doc(self):CODE
LOW…gent/cloudrun/triage-worker/tests/test_issues_store.py30 def test_acquire_lock_terminal_states(self):CODE
LOW…gent/cloudrun/triage-worker/tests/test_issues_store.py41 def test_acquire_lock_two_strikes_constraint(self):CODE
LOW…gent/cloudrun/triage-worker/tests/test_issues_store.py59 def test_acquire_lock_active_lock_by_other_holder(self):CODE
LOW…gent/cloudrun/triage-worker/tests/test_issues_store.py75 def test_acquire_lock_expired_lock_by_other_holder(self):CODE
LOW…gent/cloudrun/triage-worker/tests/test_issues_store.py91 def test_acquire_lock_success_proceed(self):CODE
LOW⚡…gent/cloudrun/triage-worker/tests/test_issues_store.py108 def test_release_lock_nonexistent_doc(self):CODE
LOW⚡…gent/cloudrun/triage-worker/tests/test_issues_store.py115 def test_release_lock_holder_mismatch(self):CODE
LOW⚡…gent/cloudrun/triage-worker/tests/test_issues_store.py123 def test_release_lock_success_complete(self):CODE
LOW…gent/cloudrun/triage-worker/tests/test_issues_store.py144 def test_release_lock_failure_triggers_retry(self):CODE
LOW…gent/cloudrun/triage-worker/tests/test_issues_store.py160 def test_release_lock_failure_max_attempts_needs_human(self):CODE
LOW…r-agent/cloudrun/triage-worker/tests/test_validator.py46 def test_needs_info_comment_fallback(self):CODE
LOW…r-agent/cloudrun/triage-worker/tests/test_validator.py66 def test_missing_triage_metadata(self):CODE
LOW…r-agent/cloudrun/triage-worker/tests/test_validator.py86 def test_invalid_issue_id_format(self):CODE
LOW⚡…r-agent/cloudrun/triage-worker/tests/test_validator.py100 def test_summary_missing_keys(self):CODE
LOW⚡…r-agent/cloudrun/triage-worker/tests/test_validator.py110 def test_implementation_plan_missing_keys(self):CODE
LOW⚡…r-agent/cloudrun/triage-worker/tests/test_validator.py120 def test_testing_strategy_missing_keys(self):CODE
LOW…etaker-agent/cloudrun/triage-worker/tests/test_main.py67 def test_main_missing_issue_details_exits_one(self):CODE
LOW…etaker-agent/cloudrun/triage-worker/tests/test_main.py73 def test_main_claim_action_early_exits_zero(self):CODE
LOW…etaker-agent/cloudrun/triage-worker/tests/test_main.py85 def test_main_auto_close_quality_flow(CODE
LOW…etaker-agent/cloudrun/triage-worker/tests/test_main.py115 def test_main_needs_info_quality_flow(CODE
LOW…etaker-agent/cloudrun/triage-worker/tests/test_main.py142 def test_main_ok_quality_flow(CODE
LOW…etaker-agent/cloudrun/triage-worker/tests/test_main.py177 def test_main_failure_triggers_retry_release(self, mock_triage):CODE
LOW…gent/cloudrun/triage-worker/tests/test_agent_logger.py10 def test_extract_final_output(self):CODE
LOW…gent/cloudrun/triage-worker/tests/test_agent_logger.py42 def test_process_issue_triage_error(self, mock_agent, mock_upload):CODE
LOW…caretaker-agent/cloudrun/triage-worker/utils/events.py6def publish_issue_ready_for_code(CODE
LOW⚡…t/cloudrun/pr-generator/tests/test_preflight_filter.py14def test_strip_ansi_color_codes():CODE
LOW⚡…t/cloudrun/pr-generator/tests/test_preflight_filter.py21def test_is_preflight_failure_allowed_single_approved_file():CODE
LOW⚡…t/cloudrun/pr-generator/tests/test_preflight_filter.py27def test_is_preflight_failure_allowed_multiple_approved_files():CODE
LOW⚡…t/cloudrun/pr-generator/tests/test_preflight_filter.py36def test_is_preflight_failure_allowed_generic_keyword():CODE
LOW⚡…t/cloudrun/pr-generator/tests/test_preflight_filter.py42def test_is_preflight_failure_allowed_unapproved_failure():CODE
LOW⚡…t/cloudrun/pr-generator/tests/test_preflight_filter.py51def test_is_preflight_failure_allowed_no_failures():CODE
LOW⚡…t/cloudrun/pr-generator/tests/test_preflight_filter.py57def test_should_ignore_preflight_failure_concatenates_streams():CODE
LOW…agent/cloudrun/pr-generator/tests/test_orchestrator.py57def test_sync_or_clone_repository(mock_cmd_run, mock_config):CODE
LOW…agent/cloudrun/pr-generator/tests/test_orchestrator.py69async def test_run_regression_checks_pass(mock_cmd_run, mock_config):CODE
LOW…agent/cloudrun/pr-generator/tests/test_orchestrator.py81async def test_run_regression_checks_bypassed_failure(mock_cmd_run, mock_preflight_filter, mock_config):CODE
LOW…agent/cloudrun/pr-generator/tests/test_orchestrator.py96async def test_run_regression_checks_unapproved_failure(mock_cmd_run, mock_preflight_filter, mock_config):CODE
LOW…agent/cloudrun/pr-generator/tests/test_orchestrator.py111def test_save_feedback_to_coding_workspace(mock_exists, mock_copyfile, mock_config):CODE
LOW…agent/cloudrun/pr-generator/tests/test_orchestrator.py131async def test_run_loop_success_pr_created(CODE
LOW…agent/cloudrun/pr-generator/tests/test_orchestrator.py168async def test_run_loop_max_attempts_exceeded(mock_sync, mock_setup, mock_cmd_run, mock_release_lock, mock_acquire_lock,CODE
LOW…taker-agent/cloudrun/pr-generator/tests/test_worker.py15def test_ignore_raw_ws_msg_filter():CODE
LOW…taker-agent/cloudrun/pr-generator/tests/test_worker.py65async def test_worker_main_orchestration_error(mock_orchestrator_cls, mock_config_cls):CODE
LOW…taker-agent/cloudrun/pr-generator/tests/test_worker.py80async def test_worker_main_unexpected_exception(mock_orchestrator_cls, mock_config_cls):CODE
LOW⚡…t/cloudrun/pr-generator/tests/test_command_executor.py21def test_sanitize_relative_path_valid():CODE
LOW⚡…t/cloudrun/pr-generator/tests/test_command_executor.py27def test_sanitize_relative_path_traversal():CODE
LOW⚡…t/cloudrun/pr-generator/tests/test_command_executor.py33def test_sanitize_relative_path_absolute():CODE
LOW⚡…t/cloudrun/pr-generator/tests/test_command_executor.py39def test_sanitize_relative_path_null_bytes_and_empty():CODE
LOW⚡…t/cloudrun/pr-generator/tests/test_command_executor.py47def test_sanitize_identifier_valid():CODE
LOW⚡…t/cloudrun/pr-generator/tests/test_command_executor.py53def test_sanitize_identifier_injection_stripping():CODE
LOW⚡…t/cloudrun/pr-generator/tests/test_command_executor.py59def test_sanitize_identifier_empty_fallback():CODE
LOW⚡…t/cloudrun/pr-generator/tests/test_command_executor.py68def test_command_execution_error_attributes():CODE
461 more matches not shown…
Hallucination Indicators21 hits · 210 pts
SeverityFileLineSnippetContext
CRITICALpackages/core/src/code_assist/server.ts592 return error.response.data.error.details.some(CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx282 mocks.mockStdout.write.mock.calls.filter((call: unknown[]) =>CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx1504 const titleWrites = mocks.mockStdout.write.mock.calls.filter((call) =>CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx1539 const titleWrites = mocks.mockStdout.write.mock.calls.filter((call) =>CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx1567 const titleWrites = mocks.mockStdout.write.mock.calls.filter((call) =>CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx1600 const titleWrites = mocks.mockStdout.write.mock.calls.filter((call) =>CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx1631 const titleWrites = mocks.mockStdout.write.mock.calls.filter((call) =>CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx1667 const titleWrites = mocks.mockStdout.write.mock.calls.filter((call) =>CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx1728 const titleWrites = mocks.mockStdout.write.mock.calls.filter((call) =>CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx1741 const titleWritesDelayed = mocks.mockStdout.write.mock.calls.filter(CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx1795 const titleWritesMid = mocks.mockStdout.write.mock.calls.filter(CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx1807 const titleWritesEnd = mocks.mockStdout.write.mock.calls.filter(CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx1854 const titleWrites = mocks.mockStdout.write.mock.calls.filter((call) =>CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx1924 const titleWritesAfterOutput = mocks.mockStdout.write.mock.calls.filter(CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx1938 const titleWrites = mocks.mockStdout.write.mock.calls.filter((call) =>CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx1973 const titleWrites = mocks.mockStdout.write.mock.calls.filter((call) =>CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx2010 const titleWrites = mocks.mockStdout.write.mock.calls.filter((call) =>CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx2046 const titleWrites = mocks.mockStdout.write.mock.calls.filter((call) =>CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx3373 const clearViewportCalls = mocks.mockStdout.write.mock.calls.filter(CODE
CRITICALpackages/cli/src/ui/AppContainer.test.tsx3652 mocks.mockStdout.write.mock.calls.filter((call: unknown[]) =>CODE
CRITICAL.github/workflows/unassign-inactive-assignees.yml194 const prAuthor = event.source.issue.user.login.toLowerCase();CODE
Structural Annotation Overuse50 hits · 89 pts
SeverityFileLineSnippetContext
LOW⚡.gcp/release-docker.yml2 # Step 1: Install root dependencies (includes workspaces)COMMENT
LOW⚡.gcp/release-docker.yml8 # Step 2: Authenticate for Docker (so we can push images to the artifact registry)COMMENT
LOW⚡.gcp/release-docker.yml14 # Step 3: Build workspace packagesCOMMENT
LOW⚡.gcp/release-docker.yml20 # Step 4: Determine Docker Image TagCOMMENT
LOW.gcp/release-docker.yml38 # Step 5: Build sandbox container imageCOMMENT
LOW.gcp/release-docker.yml51 # Step 8: Publish sandbox container imageCOMMENT
LOW⚡.gcp/development-worker.yml6 # Step 1: Install root dependenciesCOMMENT
LOW⚡.gcp/development-worker.yml12 # Step 2: Authenticate for DockerCOMMENT
LOW⚡.gcp/development-worker.yml18 # Step 3: Build workspace packagesCOMMENT
LOW⚡.gcp/development-worker.yml24 # Step 4: Build Development ImageCOMMENT
LOWintegration-tests/file-system-interactive.test.ts41 // Step 1: Read the fileCOMMENT
LOWintegration-tests/file-system-interactive.test.ts52 // Step 2: Write the fileCOMMENT
LOWdocs/cli/generation-settings.md100### Step 1: Alias ResolutionCOMMENT
LOWdocs/cli/generation-settings.md110### Step 2: Override ApplicationCOMMENT
LOWdocs/cli/tutorials/plan-mode-steering.md31## Step 1: Start a complex taskCOMMENT
LOWdocs/cli/tutorials/plan-mode-steering.md40## Step 2: Steer the research phaseCOMMENT
LOWdocs/cli/tutorials/plan-mode-steering.md52## Step 3: Refine the design mid-turnCOMMENT
LOWdocs/cli/tutorials/plan-mode-steering.md64## Step 4: Approve and implementCOMMENT
LOWdocs/extensions/writing-extensions.md27## Step 1: Create a new extensionCOMMENT
LOWdocs/extensions/writing-extensions.md48## Step 2: Understand the extension filesCOMMENT
LOWdocs/extensions/writing-extensions.md131## Step 3: Add extension settingsCOMMENT
LOWdocs/extensions/writing-extensions.md169## Step 4: Link your extensionCOMMENT
LOWdocs/extensions/writing-extensions.md193## Step 5: Add a custom commandCOMMENT
LOWdocs/extensions/writing-extensions.md228## Step 6: Add a custom `GEMINI.md`STRING
LOWdocs/extensions/writing-extensions.md304## Step 8: Release your extensionSTRING
LOWdocs/hooks/writing-hooks.md22### Step 1: Create your hook scriptCOMMENT
LOW⚡packages/core/src/context/agentHistoryProvider.ts42 // Step 1: Normalize newest messages.COMMENT
LOW⚡packages/core/src/context/agentHistoryProvider.ts49 // Step 2: Check if truncation is needed based on the token threshold (High Watermark)COMMENT
LOW⚡packages/core/src/context/agentHistoryProvider.ts54 // Step 3: Split into keep/truncate boundariesCOMMENT
LOW…core/src/context/pipeline/contextWorkingBuffer.test.ts271 // Step 1: Initial stateCOMMENT
LOW…core/src/context/pipeline/contextWorkingBuffer.test.ts295 // Step 2: Mutate p2 into m2COMMENT
LOW…core/src/context/pipeline/contextWorkingBuffer.test.ts309 // Step 3: Upstream adds new nodes (p4, p5)COMMENT
LOW⚡packages/core/src/mcp/mcp-oauth-provider.test.ts40 // Step 1: Save client informationCOMMENT
LOW⚡packages/core/src/mcp/mcp-oauth-provider.test.ts47 // Step 2: Save code verifierCOMMENT
LOW⚡packages/core/src/mcp/mcp-oauth-provider.test.ts50 // Step 3: Set up callback serverCOMMENT
LOW⚡packages/core/src/mcp/mcp-oauth-provider.test.ts62 // Step 4: Redirect to authorizationCOMMENT
LOW⚡packages/core/src/mcp/mcp-oauth-provider.test.ts66 // Step 5: Save tokens after exchangeCOMMENT
LOW⚡…ckages/core/src/prompts/planModeNonInteractive.test.ts49 // Step 2: ConsultCOMMENT
LOW⚡…ckages/core/src/prompts/planModeNonInteractive.test.ts57 // Step 3: Alignment CheckCOMMENT
LOW⚡…ckages/core/src/prompts/planModeNonInteractive.test.ts60 // Step 4: Review & ApprovalCOMMENT
LOWpackages/core/src/skills/builtin/skill-creator/SKILL.md290### Step 1: Understanding the Skill with Concrete ExamplesCOMMENT
LOWpackages/core/src/skills/builtin/skill-creator/SKILL.md316### Step 2: Planning the Reusable Skill ContentsCOMMENT
LOWpackages/core/src/skills/builtin/skill-creator/SKILL.md349### Step 3: Initializing the SkillCOMMENT
LOWpackages/core/src/skills/builtin/skill-creator/SKILL.md382### Step 4: Edit the SkillCOMMENT
LOWpackages/core/src/skills/builtin/skill-creator/SKILL.md445### Step 5: Packaging a SkillCOMMENT
LOWpackages/core/src/skills/builtin/skill-creator/SKILL.md482### Step 6: Installing and Reloading a SkillCOMMENT
LOWpackages/core/src/skills/builtin/skill-creator/SKILL.md509### Step 7: IterateCOMMENT
LOW…s/vscode-ide-companion/scripts/check-vscode-release.js11 // Step 1: Find the commit hash of the last releaseCOMMENT
LOW⚡…s/vscode-ide-companion/scripts/check-vscode-release.js46 // Step 2: Check for new commitsCOMMENT
LOW⚡…s/vscode-ide-companion/scripts/check-vscode-release.js53 // Step 3: Check for dependency changesCOMMENT
Verbosity Indicators29 hits · 59 pts
SeverityFileLineSnippetContext
LOW⚡.gcp/release-docker.yml2 # Step 1: Install root dependencies (includes workspaces)COMMENT
LOW⚡.gcp/release-docker.yml8 # Step 2: Authenticate for Docker (so we can push images to the artifact registry)COMMENT
LOW⚡.gcp/release-docker.yml14 # Step 3: Build workspace packagesCOMMENT
LOW⚡.gcp/release-docker.yml20 # Step 4: Determine Docker Image TagCOMMENT
LOW.gcp/release-docker.yml38 # Step 5: Build sandbox container imageCOMMENT
LOW.gcp/release-docker.yml51 # Step 8: Publish sandbox container imageCOMMENT
LOW⚡.gcp/development-worker.yml6 # Step 1: Install root dependenciesCOMMENT
LOW⚡.gcp/development-worker.yml12 # Step 2: Authenticate for DockerCOMMENT
LOW⚡.gcp/development-worker.yml18 # Step 3: Build workspace packagesCOMMENT
LOW⚡.gcp/development-worker.yml24 # Step 4: Build Development ImageCOMMENT
LOWintegration-tests/file-system-interactive.test.ts41 // Step 1: Read the fileCOMMENT
LOWintegration-tests/file-system-interactive.test.ts52 // Step 2: Write the fileCOMMENT
LOW⚡packages/core/src/context/agentHistoryProvider.ts42 // Step 1: Normalize newest messages.COMMENT
LOW⚡packages/core/src/context/agentHistoryProvider.ts49 // Step 2: Check if truncation is needed based on the token threshold (High Watermark)COMMENT
LOW⚡packages/core/src/context/agentHistoryProvider.ts54 // Step 3: Split into keep/truncate boundariesCOMMENT
LOW…core/src/context/pipeline/contextWorkingBuffer.test.ts271 // Step 1: Initial stateCOMMENT
LOW…core/src/context/pipeline/contextWorkingBuffer.test.ts295 // Step 2: Mutate p2 into m2COMMENT
LOW…core/src/context/pipeline/contextWorkingBuffer.test.ts309 // Step 3: Upstream adds new nodes (p4, p5)COMMENT
LOW⚡packages/core/src/mcp/mcp-oauth-provider.test.ts40 // Step 1: Save client informationCOMMENT
LOW⚡packages/core/src/mcp/mcp-oauth-provider.test.ts47 // Step 2: Save code verifierCOMMENT
LOW⚡packages/core/src/mcp/mcp-oauth-provider.test.ts50 // Step 3: Set up callback serverCOMMENT
LOW⚡packages/core/src/mcp/mcp-oauth-provider.test.ts62 // Step 4: Redirect to authorizationCOMMENT
LOW⚡packages/core/src/mcp/mcp-oauth-provider.test.ts66 // Step 5: Save tokens after exchangeCOMMENT
LOW⚡…ckages/core/src/prompts/planModeNonInteractive.test.ts49 // Step 2: ConsultCOMMENT
LOW⚡…ckages/core/src/prompts/planModeNonInteractive.test.ts57 // Step 3: Alignment CheckCOMMENT
LOW⚡…ckages/core/src/prompts/planModeNonInteractive.test.ts60 // Step 4: Review & ApprovalCOMMENT
LOW…s/vscode-ide-companion/scripts/check-vscode-release.js11 // Step 1: Find the commit hash of the last releaseCOMMENT
LOW⚡…s/vscode-ide-companion/scripts/check-vscode-release.js46 // Step 2: Check for new commitsCOMMENT
LOW⚡…s/vscode-ide-companion/scripts/check-vscode-release.js53 // Step 3: Check for dependency changesCOMMENT
AI Slop Vocabulary16 hits · 47 pts
SeverityFileLineSnippetContext
MEDIUMevals/snapshot_fidelity.eval.ts127 // Use a self-consistency of 3 runs to get a robust majority voteCOMMENT
MEDIUMintegration-tests/json-output.test.ts143 // come up with a more robust solution.COMMENT
MEDIUMintegration-tests/hooks-system.test.ts1643 // This makes the test more robust by creating multiple start/stop cyclesCOMMENT
MEDIUMpackages/core/src/tools/edit.ts1450 .map((l) => l.trimEnd()); // Trim end of search lines to be more robustCODE
MEDIUMpackages/core/src/utils/memoryImportProcessor.test.ts384 // This test verifies the robust findCodeRegions implementationCOMMENT
MEDIUMpackages/core/src/utils/memoryDiscovery.ts28// TODO: Integrate with a more robust server-side logger if available/appropriate.COMMENT
MEDIUMpackages/core/src/utils/atCommandUtils.ts233 // We rely on validatePath and Config.validatePathAccess for robust checkingCOMMENT
MEDIUMpackages/core/src/utils/buildFileUtils.ts100 // Consistent path resolution using a single, robust helper to handle traversals (. or ..) and absolute/relative conveCOMMENT
MEDIUMpackages/core/src/utils/memoryDiscovery.test.ts92 // Use maxRetries option for robust cleanup without race conditionsCOMMENT
MEDIUMpackages/core/src/utils/bfsFileSearch.ts15// TODO: Integrate with a more robust server-side logger.COMMENT
MEDIUMpackages/core/src/utils/filesearch/fileSearch.test.ts739 // Perform a more specific search that should leverage the broad search's cached resultsCOMMENT
MEDIUMpackages/core/src/sandbox/windows/GeminiSandbox.cs474 // Ensure we use the 8.3 long-name equivalent for robust security checks per guidelinesCOMMENT
MEDIUM…ages/core/src/sandbox/windows/WindowsSandboxManager.ts323 // Track both versions for inheritance checks to be robust against symlinks.COMMENT
MEDIUMpackages/cli/src/ui/utils/commandUtils.ts256// Copies a string snippet to the clipboard with robust OSC-52 support.COMMENT
MEDIUMpackages/cli/src/utils/skillUtils.ts121 // Reuse existing robust git cloning utility from extension manager.COMMENT
MEDIUMpackages/a2a-server/src/config/config.ts195// NOTE: Monkey-patching process.cwd and process.chdir via AsyncLocalStorage is a robust wayCOMMENT
Over-Commented Block33 hits · 33 pts
SeverityFileLineSnippetContext
LOW…r-agent/cloudrun/pr-generator/workflow/orchestrator.py1# Copyright 2026 Google LLCCOMMENT
LOW…er-agent/cloudrun/pr-generator/workflow/db/__init__.py1# Copyright 2026 Google LLCCOMMENT
LOW…gent/cloudrun/pr-generator/workflow/db/db_interface.py1# Copyright 2026 Google LLCCOMMENT
LOWintegration-tests/clipboard-linux.test.ts81 );COMMENT
LOWdocs/reference/policy-engine.md301# (Optional) The name of an MCP server. Can be combined with toolNameCOMMENT
LOWdocs/reference/policy-engine.md321# it effectively matches from the start of the command.COMMENT
LOWscripts/build_package.js1/**COMMENT
LOWscripts/sandbox_command.js1/**COMMENT
LOWscripts/start.js1/**COMMENT
LOWscripts/send_gemini_request.sh1#!/bin/bashCOMMENT
LOWscripts/build.js1/**COMMENT
LOWscripts/clean.js1/**COMMENT
LOWscripts/generate-git-commit-info.js1/**COMMENT
LOWscripts/build_vscode_companion.js1/**COMMENT
LOWscripts/build_sandbox.js1/**COMMENT
LOWscripts/copy_files.js1#!/usr/bin/env nodeCOMMENT
LOWscripts/harvest_api_reliability.sh1#!/bin/bashCOMMENT
LOWscripts/copy_bundle_assets.js1/**COMMENT
LOWpackages/core/src/utils/editCorrector.ts141 // Regex explanation:COMMENT
LOWpackages/core/src/utils/schemaValidator.ts21 // See: https://ajv.js.org/options.html#strict-mode-optionsCOMMENT
LOWpackages/core/src/services/shellExecutionService.ts81 return command;COMMENT
LOWpackages/core/src/services/modelConfigService.ts21 // In many cases the model (or model config alias) is sufficient to fullyCOMMENT
LOW…ckages/core/src/services/shellExecutionService.test.ts461COMMENT
LOWpackages/core/src/policy/config.ts381 // Priority bands (tiers):COMMENT
LOWpackages/core/src/policy/policies/read-only.toml1# Priority system for policy rules:COMMENT
LOWpackages/core/src/policy/policies/yolo.toml1# Priority system for policy rules:COMMENT
LOWpackages/core/src/policy/policies/yolo.toml21# 4.2: MCP servers with trust=true (persistent trusted servers)COMMENT
LOWpackages/core/src/policy/policies/plan.toml1# Priority system for policy rules:COMMENT
LOWpackages/core/src/policy/policies/plan.toml21# 4.2: MCP servers with trust=true (persistent trusted servers)COMMENT
LOWpackages/core/src/policy/policies/write.toml1# Priority system for policy rules:COMMENT
LOWpackages/cli/src/ui/utils/terminalCapabilityManager.ts81 // eslint-disable-next-line no-control-regexCOMMENT
LOWpackages/cli/src/ui/components/InboxDialog.tsx921 <Text color={theme.text.secondary}>No items in inbox.</Text>COMMENT
LOWpackages/cli/src/ui/components/InboxDialog.tsx981 // terminals. Every visible row — skill items, patch items, memory-patchCOMMENT
Fake / Example Data29 hits · 30 pts
SeverityFileLineSnippetContext
LOWintegration-tests/checkpointing.test.ts164 execFileSync('git', ['config', 'user.email', 'user@example.com'], {CODE
LOWintegration-tests/browser-policy.test.ts232 GEMINI_API_KEY: 'fake-key',CODE
LOWintegration-tests/acp-telemetry.test.ts70 GEMINI_API_KEY: 'fake-key',CODE
LOWdocs/tools/ask-user.md80 "placeholder": "for example, my-awesome-app"CODE
LOW…s/test-utils/assets/test-servers/google-workspace.json502 "description": "A simple search term (e.g., \"Budget Q3\"), a Google Drive URL, or a full query string (e.g.CODE
LOW…ckages/core/src/tools/definitions/base-declarations.ts109export const ASK_USER_QUESTION_PARAM_PLACEHOLDER = 'placeholder';CODE
LOWpackages/core/src/context/testing/contextTestUtils.ts99 id: id || 'dummy_id',CODE
LOW…re/src/context/processors/toolMaskingProcessor.test.ts32 id: 'dummy_id',CODE
LOW…re/src/context/processors/toolMaskingProcessor.test.ts69 id: 'dummy_id',CODE
LOWpackages/core/src/core/contentGenerator.test.ts76 vi.stubEnv('GEMINI_API_KEY', 'fake-key');CODE
LOWpackages/core/src/services/memoryService.test.ts76 getUserSkillsDir: vi.fn().mockReturnValue('/tmp/fake-user-skills'),CODE
LOWpackages/cli/examples/scrollable-list-demo.tsx29 .map(() => 'lorem ipsum '.repeat((index % 3) + 1).trim())CODE
LOWpackages/cli/src/validateNonInterActiveAuth.test.ts145 process.env['GEMINI_API_KEY'] = 'fake-key';CODE
LOWpackages/cli/src/validateNonInterActiveAuth.test.ts188 process.env['GEMINI_API_KEY'] = 'fake-key';CODE
LOWpackages/cli/src/validateNonInterActiveAuth.test.ts204 process.env['GEMINI_API_KEY'] = 'fake-key';CODE
LOWpackages/cli/src/validateNonInterActiveAuth.test.ts221 process.env['GEMINI_API_KEY'] = 'fake-key';CODE
LOWpackages/cli/src/validateNonInterActiveAuth.test.ts236 process.env['GEMINI_API_KEY'] = 'fake-key';CODE
LOWpackages/cli/src/validateNonInterActiveAuth.test.ts299 process.env['GEMINI_API_KEY'] = 'fake-key';CODE
LOWpackages/cli/src/validateNonInterActiveAuth.test.ts339 process.env['GEMINI_API_KEY'] = 'fake-key';CODE
LOWpackages/cli/src/validateNonInterActiveAuth.test.ts436 process.env['GEMINI_API_KEY'] = 'fake-key';CODE
LOWpackages/cli/src/ui/AppContainer.test.tsx3206 apiKey: 'fake-key',CODE
LOWpackages/cli/src/ui/components/MainContent.test.tsx1423 text: `Paragraph ${index + 1}: ${'lorem ipsum '.repeat(20)}`,CODE
LOW⚡…kages/cli/src/ui/components/shared/text-buffer.test.ts2183 const longText = `not only five centuries, but also the leap into electronic typesetting, remaining essentially unCODE
LOW⚡…kages/cli/src/ui/components/shared/text-buffer.test.ts2186It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layCODE
LOW⚡…kages/cli/src/ui/components/shared/text-buffer.test.ts2189Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literatureCODE
LOW…s/cli/src/ui/components/shared/ScrollableList.test.tsx39 .map(() => 'lorem ipsum '.repeat((index % 3) + 1).trim())CODE
LOWpackages/cli/src/ui/hooks/useHistoryManager.test.ts275 const email = 'user@example.com';CODE
LOWpackages/cli/src/ui/hooks/useHistoryManager.test.ts292 const email = 'user@example.com';CODE
LOWpackages/a2a-server/src/config/workspace_trust.test.ts31 vi.stubEnv('GEMINI_API_KEY', 'dummy-key-for-eval');CODE
Excessive Try-Catch Wrapping30 hits · 30 pts
SeverityFileLineSnippetContext
LOWtools/caretaker-agent/evals/triage/runner.py67 except Exception:CODE
LOWtools/caretaker-agent/evals/triage/runner.py112 except Exception as e:CODE
LOWtools/caretaker-agent/evals/triage/judge.py174 except Exception as e:CODE
LOW…s/caretaker-agent/evals/triage/tools/sync_firestore.py46 except Exception as e:CODE
LOW…ols/caretaker-agent/evals/triage/helpers/github_api.py98 except Exception as e:CODE
LOW…ls/caretaker-agent/evals/triage/helpers/sync_to_gcs.py46 except Exception as e:CODE
LOWtools/caretaker-agent/evals/triage/helpers/summary.py239 except Exception as e:CODE
LOW…ker-agent/evals/triage/helpers/generate_golden_spec.py39 except Exception:CODE
LOWtools/caretaker-agent/cloudrun/triage-worker/main.py50 except Exception as e:CODE
LOWtools/caretaker-agent/cloudrun/triage-worker/main.py95 except Exception as e:CODE
LOWtools/caretaker-agent/cloudrun/triage-worker/main.py170 except Exception as e:CODE
LOW…er-agent/cloudrun/triage-worker/triage_orchestrator.py105 except Exception as e:CODE
LOW…caretaker-agent/cloudrun/triage-worker/utils/egress.py57 except Exception as e:CODE
LOW…ker-agent/cloudrun/triage-worker/utils/agent_logger.py39 except Exception as e:CODE
LOW…ker-agent/cloudrun/triage-worker/utils/agent_logger.py99 except Exception as e:CODE
LOW…caretaker-agent/cloudrun/triage-worker/utils/events.py52 except Exception as e:CODE
LOW…retaker-agent/cloudrun/pr-generator/workflow/worker.py45 except Exception as e:CODE
LOW…retaker-agent/cloudrun/pr-generator/workflow/worker.py53 except Exception as err:CODE
LOW…ent/cloudrun/pr-generator/workflow/command_executor.py148 except Exception as e:CODE
LOW…r-agent/cloudrun/pr-generator/workflow/agent_runner.py249 except Exception as e:CODE
LOW…r-agent/cloudrun/pr-generator/workflow/orchestrator.py57 except Exception:CODE
LOW…r-agent/cloudrun/pr-generator/workflow/orchestrator.py156 except Exception as e:CODE
LOW…r-agent/cloudrun/pr-generator/workflow/orchestrator.py262 except Exception as e:CODE
LOW…r-agent/cloudrun/pr-generator/workflow/orchestrator.py286 except Exception as e:CODE
LOW…r-agent/cloudrun/pr-generator/workflow/orchestrator.py301 except Exception as e:CODE
LOW…r-agent/cloudrun/pr-generator/workflow/orchestrator.py319 except Exception as e:CODE
LOW…r-agent/cloudrun/pr-generator/workflow/orchestrator.py322 except Exception as e:CODE
LOW…r-agent/cloudrun/pr-generator/workflow/orchestrator.py334 except Exception as db_err:CODE
LOW…r-agent/cloudrun/pr-generator/workflow/orchestrator.py637 except Exception as e:CODE
LOW…-agent/cloudrun/pr-generator/workflow/github_client.py93 except Exception as e:CODE
Unused Imports22 hits · 22 pts
SeverityFileLineSnippetContext
LOW…/cloudrun/triage-worker/tests/test_integration_main.py14CODE
LOW…/cloudrun/triage-worker/tests/test_integration_main.py14CODE
LOW…/cloudrun/triage-worker/tests/test_integration_main.py15CODE
LOW…t/cloudrun/pr-generator/tests/test_preflight_filter.py6CODE
LOW…agent/cloudrun/pr-generator/tests/test_orchestrator.py6CODE
LOW…agent/cloudrun/pr-generator/tests/test_orchestrator.py12CODE
LOW…taker-agent/cloudrun/pr-generator/tests/test_worker.py7CODE
LOW…t/cloudrun/pr-generator/tests/test_command_executor.py6CODE
LOW…r-agent/cloudrun/pr-generator/workflow/orchestrator.py29CODE
LOW…er-agent/cloudrun/pr-generator/workflow/db/__init__.py17CODE
LOW…er-agent/cloudrun/pr-generator/workflow/db/__init__.py17CODE
LOW…er-agent/cloudrun/pr-generator/workflow/db/__init__.py17CODE
LOW…er-agent/cloudrun/pr-generator/workflow/db/__init__.py17CODE
LOW…er-agent/cloudrun/pr-generator/workflow/db/__init__.py17CODE
LOW…er-agent/cloudrun/pr-generator/workflow/db/__init__.py17CODE
LOW…er-agent/cloudrun/pr-generator/workflow/db/__init__.py17CODE
LOW…er-agent/cloudrun/pr-generator/workflow/db/__init__.py17CODE
LOW…er-agent/cloudrun/pr-generator/workflow/db/__init__.py17CODE
LOW…er-agent/cloudrun/pr-generator/workflow/db/__init__.py17CODE
LOW…er-agent/cloudrun/pr-generator/workflow/db/__init__.py17CODE
LOW…er-agent/cloudrun/pr-generator/workflow/db/__init__.py17CODE
LOW…er-agent/cloudrun/pr-generator/workflow/db/__init__.py17CODE
Decorative Section Separators7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMscripts/send_gemini_request.sh2# -----------------------------------------------------------------------------COMMENT
MEDIUMscripts/send_gemini_request.sh4# -----------------------------------------------------------------------------COMMENT
MEDIUMscripts/send_gemini_request.sh28# -----------------------------------------------------------------------------COMMENT
MEDIUMscripts/harvest_api_reliability.sh4# -------------------------------COMMENT
MEDIUMpackages/test-utils/src/perf-test-harness.ts489// ─── Baseline management ─────────────────────────────────────────────COMMENT
MEDIUMpackages/test-utils/src/perf-test-harness.ts538// ─── Helpers ─────────────────────────────────────────────────────────COMMENT
MEDIUM…core/src/agents/browser/browserAgentInvocation.test.ts270 // ─── Structured SubagentProgress emission tests ───────────────────────COMMENT
Modern AI Meta-Vocabulary6 hits · 17 pts
SeverityFileLineSnippetContext
MEDIUMdocs/changelogs/index.md808 [https://allen.hutchison.org/2025/11/26/the-guardrails-of-autonomy/](https://allen.hutchison.org/2025/11/26/the-guarCODE
MEDIUMdocs/hooks/writing-hooks.md148### RAG-based Tool Filtering (BeforeToolSelection)COMMENT
MEDIUMpackages/core/src/core/turn.ts253// A turn manages the agentic loop turn within the server context.COMMENT
MEDIUMpackages/cli/src/nonInteractiveCliAgentSession.ts330 // Create LegacyAgentSession — owns the agentic loopCOMMENT
MEDIUMpackages/cli/src/nonInteractiveCliAgentSession.ts347 // Start the agentic loop (runs in background)COMMENT
MEDIUMpackages/a2a-server/src/commands/init.ts118 // The executor will handle the entire agentic loop, includingCOMMENT
Docstring Block Structure3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…ent/cloudrun/pr-generator/workflow/command_executor.py81Executes a command safely using direct argument lists without shell invocation. Args: cmd: The commSTRING
HIGH…r-agent/cloudrun/pr-generator/workflow/agent_runner.py130Launches and manages an asynchronous conversation with an Antigravity Agent. Args: role: Label reprSTRING
HIGH…-agent/cloudrun/pr-generator/workflow/github_client.py36Submits a POST request to GitHub to create a new Pull Request. Args: branch_name: The feature brancSTRING
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHdocs/cli/custom-commands.md0please summarize the findings for the pattern `{{args}}`. search results: !{grep -r {{args}} .}STRING
HIGHdocs/extensions/writing-extensions.md0please summarize the findings for the pattern `{{args}}`. search results: !{grep -r {{args}} .}STRING
HIGH…ns/examples/custom-commands/commands/fs/grep-code.toml0please summarize the findings for the pattern `{{args}}`. search results: !{grep -r {{args}} .}STRING
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHREADME.md149export GEMINI_API_KEY="YOUR_API_KEY"CODE
HIGHREADME.md165export GOOGLE_API_KEY="YOUR_API_KEY"CODE
Synthetic Comment Markers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH.github/workflows/gemini-cli-bot-brain.yml317 gh pr create --draft --title "🤖 Gemini Bot Productivity Optimizations" --body "Automated changes generatedCODE
HIGH.github/workflows/gemini-cli-bot-brain.yml325 gh pr create --draft --title "🤖 Gemini Bot Productivity Optimizations" --body "Automated changes generatCODE
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMscripts/review.sh67 # Create a detached worktree from origin/mainCOMMENT
MEDIUM.github/workflows/test-build-binary.yml85 # Create the P12 fileCOMMENT
MEDIUM.github/workflows/test-build-binary.yml88 # Create a temporary keychainCOMMENT
Redundant / Tautological Comments5 hits · 8 pts
SeverityFileLineSnippetContext
LOWscripts/create_alias.sh24# Check if the alias already existsCOMMENT
LOWscripts/review.sh55 # Check if it's actually a registered worktreeCOMMENT
LOW.github/workflows/eval-pr.yml77 # Check if comment already exists to avoid spammingCOMMENT
LOW.github/workflows/eval-pr.yml147 # Check if user is a maintainerCOMMENT
LOW.github/workflows/release-patch-3-release.yml255 # Check if this was a version consistency failureCOMMENT
Deep Nesting6 hits · 6 pts
SeverityFileLineSnippetContext
LOW…/caretaker-agent/evals/triage/tools/dataset_metrics.py15CODE
LOW…ls/caretaker-agent/evals/triage/helpers/sync_to_gcs.py9CODE
LOWtools/caretaker-agent/evals/triage/helpers/summary.py70CODE
LOWtools/caretaker-agent/cloudrun/triage-worker/main.py33CODE
LOW…r-agent/cloudrun/pr-generator/workflow/agent_runner.py123CODE
LOW…r-agent/cloudrun/pr-generator/workflow/orchestrator.py145CODE
Empty Error Handlers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…r-agent/cloudrun/pr-generator/workflow/orchestrator.py57except Exception:CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/send_gemini_request.sh18# Usage:COMMENT
LOWscripts/harvest_api_reliability.sh9# Usage:COMMENT
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…r-agent/cloudrun/pr-generator/workflow/orchestrator.py84 def _setup_workspace(self) -> None:CODE
LOW…er-agent/cloudrun/pr-generator/workflow/db/__init__.py33__all__ = [CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…gent/cloudrun/pr-generator/workflow/db/db_interface.py325CODE