AI Slop Code Risk Monitor

docker/docker-agent

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

AI Agent Builder and Runtime by Docker Engineering

2.8 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for docker/docker-agent, a Go project with 4,639 GitHub stars. SynthScan examined 746,086 lines of code across 3375 source files, recording 1634 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 2.8 (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.

2.8
Adjusted Signal
2.8
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
4.6K
Stars
Go
Language
746.1K
Lines of Code
3.4K
Files
1.6K
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 10.8/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.0/100 · LOW

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

Agent Over-Engineering Ratio 1.6/100 · LOW

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

PR Review Velocity Impact 13.8/100 · LOW

Which changes need focused human review? 1634 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 0HIGH 29MEDIUM 221LOW 1384

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 1634 distinct pattern matches across 13 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.

Over-Commented Block1332 hits · 1216 pts
SeverityFileLineSnippetContext
LOW.golangci.yml141 # Hardcoded-credentials matches constant names like ToolNameLSPWorkspace*COMMENT
LOWcmd/wasm/cloud.go21)COMMENT
LOWcmd/wasm/runtime.go41 OAuthRedirectURI stringCOMMENT
LOWcmd/wasm/main.go1//go:build js && wasmCOMMENT
LOWcmd/wasm/main.go21// -tags docker_agent_wasm_rag.COMMENT
LOWcmd/wasm/main.go41// A session handle offers:COMMENT
LOWcmd/wasm/main.go61// {type: "tool_confirmation", id, name, args} // answer with confirm()COMMENT
LOWcmd/wasm/web/auth.js1// OpenRouter PKCE OAuth helpers for the docker-agent wasm browser demo.COMMENT
LOWcmd/wasm/web/auth.js21// scoped, revocable from https://openrouter.ai/settings/keys, and lives onlyCOMMENT
LOWcmd/wasm/browser/smoke_test.js1#!/usr/bin/env nodeCOMMENT
LOWcmd/wasm/examples/cloud-bedrock.yaml1# Amazon Bedrock from the browser build (cmd/wasm, -tags docker_agent_wasm_cloud).COMMENT
LOWcmd/wasm/examples/cloud-vertex.yaml1# Google Vertex AI from the browser build (cmd/wasm, -tags docker_agent_wasm_cloud).COMMENT
LOWcmd/wasm/examples/handbook-rag.yaml1# A keyword-search (BM25) assistant over documents the host hands to theCOMMENT
LOWcmd/root/backend.go21COMMENT
LOWcmd/root/run_listen.go21// recallCoordinatorOpt wires the session manager's recall handler to thisCOMMENT
LOWcmd/root/run.go61 autoApprove boolCOMMENT
LOWcmd/root/run.go521 // the working directory by then for every tool — the shell included — toCOMMENT
LOWcmd/root/run.go621 // On a TUI error we deliberately leave the worktree in place ratherCOMMENT
LOWcmd/root/run.go1001 if req.ResumeSessionID != "" {COMMENT
LOWcmd/root/agent_picker.go581COMMENT
LOWcmd/root/plans.go321// is "-" so scripts can pipe content in. Both sources are bounded by the planCOMMENT
LOWcmd/root/setup.go41// declined or cancelled: the full failure was already printed just above theCOMMENT
LOWcmd/root/setup.go61 // ProviderName and Provider are set when the custom path registered anCOMMENT
LOWcmd/root/sandbox.go261COMMENT
LOWcmd/root/sandbox.go401//COMMENT
LOWcmd/root/sandbox.go621 fmt.Fprintf(w, "Models catalog: allowlisting %s in the sandbox proxy\n", modelsdev.APIHost)COMMENT
LOWcmd/root/otel.go81 // Single source of truth for "is OTel enabled?" — flip theCOMMENT
LOWcmd/root/otel.go181 }COMMENT
LOWlint/hook_config_sync.go1package mainCOMMENT
LOWlint/hook_config_sync.go21// Drift in either direction is silently broken at runtime:COMMENT
LOWlint/http_client_transport.go1package mainCOMMENT
LOWlint/config_version_constant.go1package mainCOMMENT
LOWlint/runtime_session_scoped.go1package mainCOMMENT
LOWlint/tui_view_purity.go1package mainCOMMENT
LOWlint/tui_view_purity.go21// recv.field = nilCOMMENT
LOWlint/atomic_state_write.go1package mainCOMMENT
LOWlint/runtime_event_registry.go21// …COMMENT
LOWlint/hook_builtins_registered.go1package mainCOMMENT
LOWlint/hook_builtins_registered.go21// implementations:COMMENT
LOWlint/config_latest_tag_consistency.go1package mainCOMMENT
LOWlint/config_latest_tag_consistency.go21// an intentional design choice.COMMENT
LOWlint/config_package_name.go1package mainCOMMENT
LOWdocs/hugo.yaml1# Hugo configuration for https://docker.github.io/docker-agent/COMMENT
LOWdocs/js/app.js41 document.documentElement.removeAttribute('data-theme');COMMENT
LOWexamples/github-copilot.yaml1# GitHub Copilot requires a `Copilot-Integration-Id` header on every requestCOMMENT
LOWexamples/capability-overrides.yaml1# Demonstrates the `capabilities` override for models the models.dev catalogueCOMMENT
LOWexamples/remote_mcp_oauth_callback_redirect.yaml1# Example: Remote MCP server with a custom OAuth callback redirect URL.COMMENT
LOWexamples/hook_routing.yaml1# Requires OPENAI_API_KEY and TYPESAFE_API_KEY. The user's request (and recent visibleCOMMENT
LOWexamples/filesystem_allow_deny.yaml1# Demonstrates allow_list / deny_list for the filesystem tool.COMMENT
LOWexamples/redact_secrets.yaml1# Demonstrates the redact_secrets feature.COMMENT
LOWexamples/redact_secrets.yaml21# persisted session file, the post_tool_use hook input, or theCOMMENT
LOWexamples/code.yaml21 # 3. **Code Modification**:COMMENT
LOWexamples/reasoning_replay.yaml1# Example: Replaying reasoning to an OpenAI-compatible modelCOMMENT
LOWexamples/compaction_threshold.yaml1# Compaction Threshold ExampleCOMMENT
LOWexamples/custom-pricing.yaml1# Demonstrates the `cost` override that declares a model's token pricingCOMMENT
LOWexamples/readonly.yaml1# Demonstrates the `readonly` attribute on toolsets and agents.COMMENT
LOWexamples/flavors.yaml1#!/usr/bin/env docker agent runCOMMENT
LOWexamples/cached_responses.yaml1# Demonstrates the response cache.COMMENT
LOWexamples/websocket_transport.yaml1# Example: WebSocket Transport for OpenAI Responses APICOMMENT
LOWexamples/handoff.yaml1# Handoff Graph Diagram:COMMENT
1272 more matches not shown…
Modern AI Meta-Vocabulary107 hits · 288 pts
SeverityFileLineSnippetContext
MEDIUM⚡CHANGELOG.md5209- [#2322](https://github.com/docker/docker-agent/pull/2322) - fix: resolve duplicate RAG tool names and nil pointer paniCODE
MEDIUM⚡CHANGELOG.md5211- [#2324](https://github.com/docker/docker-agent/pull/2324) - fix: pass Models map to RAG ManagersBuildConfig for model CODE
MEDIUM⚡CHANGELOG.md5219- [#2344](https://github.com/docker/docker-agent/pull/2344) - feat: support custom providers in RAG embedding and rerankCODE
MEDIUMCHANGELOG.md126- [#4748](https://github.com/docker/docker-agent/pull/4748) - feat(wasm): make RAG opt-inCODE
MEDIUMCHANGELOG.md183- [#4650](https://github.com/docker/docker-agent/pull/4650) - fix(rag): share one index across agents referencing the saCODE
MEDIUMCHANGELOG.md713- [#4418](https://github.com/docker/docker-agent/pull/4418) - fix(acp): separate root context from multi-agent costCODE
MEDIUMCHANGELOG.md1352- [#4097](https://github.com/docker/docker-agent/pull/4097) - fix(#4097): propagate sustained RAG 5xx/408 indexing failuCODE
MEDIUMCHANGELOG.md1367- [#4151](https://github.com/docker/docker-agent/pull/4151) - fix(#4097): propagate sustained RAG 5xx/408 indexing failuCODE
MEDIUMCHANGELOG.md2704- [#3451](https://github.com/docker/docker-agent/pull/3451) - feat: add docker agent board, a Kanban TUI for orchestratiCODE
MEDIUMCHANGELOG.md2955- [#3393](https://github.com/docker/docker-agent/pull/3393) - fix: clamp max_tokens to the context window for OpenAI-comCODE
MEDIUMCHANGELOG.md3037- [#3326](https://github.com/docker/docker-agent/pull/3326) - refactor: replace test-mutated globals with dependency injCODE
MEDIUMCHANGELOG.md3245- [#3227](https://github.com/docker/docker-agent/pull/3227) - feat: add plan builtin toolset for shared multi-agent collCODE
MEDIUMCHANGELOG.md3337- [#3227](https://github.com/docker/docker-agent/pull/3227) - feat: add plan builtin toolset for shared multi-agent collCODE
MEDIUMCHANGELOG.md4081- [#2876](https://github.com/docker/docker-agent/pull/2876) - docs: document mcp_catalog toolset and reorganize RAG refeCODE
MEDIUMCHANGELOG.md4419- [#2723](https://github.com/docker/docker-agent/pull/2723) - remote-runtime: close silent gaps, consolidate Runtime, scCODE
MEDIUMCHANGELOG.md4419- [#2723](https://github.com/docker/docker-agent/pull/2723) - remote-runtime: close silent gaps, consolidate Runtime, scCODE
MEDIUMCHANGELOG.md4618- [#2672](https://github.com/docker/docker-agent/pull/2672) - add js/wasm browser build with OpenRouter PKCE, agentic loCODE
MEDIUMCHANGELOG.md4618- [#2672](https://github.com/docker/docker-agent/pull/2672) - add js/wasm browser build with OpenRouter PKCE, agentic loCODE
MEDIUMCHANGELOG.md4742- [#2523](https://github.com/docker/docker-agent/pull/2523) - refactor(runtime): consolidate hook orchestration and cachCODE
MEDIUMCHANGELOG.md4754- [#2535](https://github.com/docker/docker-agent/pull/2535) - refactor(runtime): extract sub-session orchestrationCODE
MEDIUMCHANGELOG.md5412- [#2210](https://github.com/docker/docker-agent/pull/2210) - Refactor RAG from agent-level config to standard toolset tCODE
MEDIUMCHANGELOG.md5458- [#2205](https://github.com/docker/docker-agent/pull/2205) - Simplify the runtime related RAG code a bitCODE
MEDIUMCHANGELOG.md6011- [#1973](https://github.com/docker/docker-agent/pull/1973) - Fix context window overflow: auto-recovery and proactive cCODE
MEDIUMCHANGELOG.md6099- [#1899](https://github.com/docker/docker-agent/pull/1899) - fix: Esc key not interrupting sub-agents in multi-agent seCODE
MEDIUMcmd/wasm/README.md28### Optional RAGCOMMENT
MEDIUMcmd/wasm/README.md83# Go runtime bridge tests, including default, RAG-enabled and cloud builds.COMMENT
MEDIUMcmd/wasm/README.md92# Build and test both default and RAG-enabled JavaScript APIs.COMMENT
MEDIUMcmd/wasm/README.md464# JS surface against both default and RAG-enabled binaries.COMMENT
MEDIUMcmd/wasm/main.go9// - Long-lived sessions with the full agentic loop: streaming, toolCOMMENT
MEDIUMcmd/wasm/examples/handbook-rag.yaml16# to this file. BM25 needs no embedding model, so no extra key is required;COMMENT
MEDIUMdocs/configuration/agents/index.md25 toolsets: [list] # Optional: tool configurations (use `type: rag` for RAG sources)CODE
MEDIUMdocs/configuration/agents/index.md36 code_mode_tools: boolean # Optional: let the agent write JavaScript to orchestrate tool calls (see Code Mode)CODE
MEDIUMdocs/configuration/hooks/index.md981### Agent-Switch and Session-Resume: observability for multi-agent and long runsCOMMENT
MEDIUMdocs/configuration/overview/index.md46# 5. RAG — define retrieval-augmented generation sources (optional)COMMENT
MEDIUMdocs/tools/a2a/index.md51Starting the toolset fetches the remote agent's card (`/.well-known/agent-card.json`). When that request fails with one CODE
MEDIUMdocs/tools/mcp/index.md212**Startup failure behaviour:** local MCP failures (missing binary, connection refused, bad auth) fail fast — each turn rCODE
MEDIUMdocs/tools/rag/index.md363## Debugging RAGCOMMENT
MEDIUMdocs/tools/rag/index.md385### Top-Level RAG FieldsCOMMENT
MEDIUMdocs/providers/dmr/index.md118 context_size: 32768 # total context window (sent via _configure)CODE
MEDIUMdocs/features/acp/index.md31# With a multi-agent team configCOMMENT
MEDIUMdocs/features/chat-server/index.md28# Pick a specific agent from a multi-agent configCOMMENT
MEDIUMdocs/guides/compaction/index.md11## Why long sessions fill the context windowCOMMENT
MEDIUMdocs/guides/go-sdk/index.md306## RAG Toolset (opt-out)COMMENT
MEDIUMdocs/guides/go-sdk/index.md329### RAG over in-memory documentsCOMMENT
MEDIUMdocs/guides/headless/index.md35| Instructions/context every agent turn should see | `add_prompt_files` in the agent config, or `--prompt-file` on the CCODE
MEDIUMdocs/guides/headless/index.md473. **Model/provider context and media limits** — even content that clears the first two layers still has to fit the modeCODE
MEDIUMdocs/concepts/distribution/index.md184# Run with a specific agent from a multi-agent configCOMMENT
MEDIUMdocs/concepts/distribution/index.md207See [Pin external sub-agents to a digest](../multi-agent/index.md#pin-external-sub-agents-to-a-digest) and [External SubCODE
MEDIUMexamples/session_context.yaml10# messages, so a big history cannot overflow the context window.COMMENT
MEDIUMexamples/compaction_threshold.yaml7# token usage crosses 90% of the model's context window. Lowering theCOMMENT
MEDIUMexamples/websocket_transport.yaml8# for agentic workflows with many tool calls.COMMENT
MEDIUMexamples/README.md113### RAG (Retrieval-Augmented Generation)COMMENT
MEDIUM⚡examples/hooks.yaml325 # / cost guardrails / auditing without contributing system messagesCOMMENT
MEDIUMexamples/hooks.yaml26# before_llm_call - just before each model call (observability, guardrails)COMMENT
MEDIUMexamples/compaction_model.yaml21# Note: if the compaction model has a SMALLER context window than the primary,COMMENT
MEDIUMexamples/compaction_model.yaml24# with a compaction model whose context window is at least as large to keep theCOMMENT
MEDIUMexamples/task_budget.yaml2# multi-step agentic task (thinking + tool calls + final output). docker-agentCOMMENT
MEDIUMexamples/chat/main.go20// # or, to pin a specific agent in a multi-agent team:COMMENT
MEDIUMexamples/rag/semantic_embeddings.yaml1# This example demonstrates the semantic-embeddings RAG strategy.COMMENT
MEDIUMexamples/rag/semantic_embeddings.yaml38 # Required: embedding model for vector similarityCOMMENT
47 more matches not shown…
Decorative Section Separators80 hits · 242 pts
SeverityFileLineSnippetContext
MEDIUM⚡examples/handoff.yaml3# ─────> Root Agent <────────<─<─<──────┐COMMENT
MEDIUM⚡examples/handoff.yaml5# ┌───────┼────────┐ |COMMENT
MEDIUM⚡examples/handoff.yaml10# | ┌───────┴───────┐ |COMMENT
MEDIUM⚡examples/handoff.yaml16# | └───────┬───────┘ |COMMENT
MEDIUM⚡examples/handoff.yaml20# └────────┼───────┘ |COMMENT
MEDIUM⚡examples/handoff.yaml22# Summarizer ──────>─>─>─────────┘COMMENT
MEDIUMexamples/worktree_create_hook.yaml3# ==========================================================================COMMENT
MEDIUMexamples/anthropic_wif.yaml22 # ---------------------------------------------------------------------COMMENT
MEDIUMexamples/anthropic_wif.yaml28 # ---------------------------------------------------------------------COMMENT
MEDIUMexamples/anthropic_wif.yaml41 # ---------------------------------------------------------------------COMMENT
MEDIUMexamples/anthropic_wif.yaml46 # ---------------------------------------------------------------------COMMENT
MEDIUMexamples/anthropic_wif.yaml57 # ---------------------------------------------------------------------COMMENT
MEDIUMexamples/anthropic_wif.yaml62 # ---------------------------------------------------------------------COMMENT
MEDIUMexamples/anthropic_wif.yaml77 # ---------------------------------------------------------------------COMMENT
MEDIUMexamples/anthropic_wif.yaml88 # ---------------------------------------------------------------------COMMENT
MEDIUM⚡examples/hooks.yaml253 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml263 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml273 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml278 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml322 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml327 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml336 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml365 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml367 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml377 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml384 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml412 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml415 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml422 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml425 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml435 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml439 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml449 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml455 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml464 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml469 # ====================================================================COMMENT
MEDIUM⚡examples/hooks.yaml478 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml3# ==========================================================================COMMENT
MEDIUMexamples/hooks.yaml104 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml108 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml141 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml145 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml163 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml169 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml183 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml187 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml208 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml214 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml228 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml238 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml293 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml311 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml349 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml395 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml400 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml499 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml514 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml521 # ====================================================================COMMENT
MEDIUMexamples/hooks.yaml534 # ====================================================================COMMENT
MEDIUMexamples/budget.yaml4# ==========================================================================COMMENT
20 more matches not shown…
Magic Placeholder Names26 hits · 135 pts
SeverityFileLineSnippetContext
HIGHdocs/configuration/opentelemetry/index.md76export OTEL_EXPORTER_OTLP_HEADERS="x-api-key=<your-api-key>,Langsmith-Project=<project>"CODE
HIGHdocs/providers/opencode-go/index.md24 export OPENCODE_API_KEY=your-api-keyCODE
HIGHdocs/providers/moonshot/index.md26 export MOONSHOT_API_KEY=your-api-keyCODE
HIGHdocs/providers/baseten/index.md21 export BASETEN_API_KEY=your-api-keyCODE
HIGHdocs/providers/together/index.md26 export TOGETHER_API_KEY=your-api-keyCODE
HIGHdocs/providers/vercel/index.md25 export AI_GATEWAY_API_KEY=your-api-keyCODE
HIGHdocs/providers/openrouter/index.md21 export OPENROUTER_API_KEY=your-api-keyCODE
HIGHdocs/providers/daoxe/index.md23 export DAOXE_API_KEY=your-api-keyCODE
HIGHdocs/providers/fireworks/index.md26 export FIREWORKS_API_KEY=your-api-keyCODE
HIGHdocs/providers/opper/index.md23 export OPPER_API_KEY=your-api-keyCODE
HIGHdocs/providers/groq/index.md23 export GROQ_API_KEY=your-api-keyCODE
HIGHdocs/providers/minimax/index.md21 export MINIMAX_API_KEY=your-api-keyCODE
HIGHdocs/providers/cloudgpu/index.md24 export CLOUDGPU_API_KEY=your-api-keyCODE
HIGHdocs/providers/deepseek/index.md24 export DEEPSEEK_API_KEY=your-api-keyCODE
HIGHdocs/providers/xai/index.md21 export XAI_API_KEY=your-api-keyCODE
HIGHdocs/providers/runcrate/index.md30 export RUNCRATE_API_KEY=your-api-keyCODE
HIGHdocs/providers/nvidia/index.md25 export NVIDIA_API_KEY=your-api-keyCODE
HIGHdocs/providers/atlascloud/index.md21 export ATLASCLOUD_API_KEY=your-api-keyCODE
HIGHdocs/providers/orcarouter/index.md21 $ export ORCAROUTER_API_KEY=your-api-keyCODE
HIGHdocs/providers/api-route/index.md23 export API_ROUTE_API_KEY=your-api-keyCODE
HIGHdocs/providers/nebius/index.md21 export NEBIUS_API_KEY=your-api-keyCODE
HIGHdocs/providers/opencode-zen/index.md29 export OPENCODE_API_KEY=your-api-keyCODE
HIGHdocs/providers/cerebras/index.md25 export CEREBRAS_API_KEY=your-api-keyCODE
HIGHdocs/providers/mistral/index.md21 export MISTRAL_API_KEY=your-api-keyCODE
HIGHexamples/opencode-zen.yaml6# export OPENCODE_API_KEY="your-api-key"COMMENT
HIGHexamples/opencode-go-practical.yaml6# export OPENCODE_API_KEY="your-api-key"COMMENT
AI Slop Vocabulary22 hits · 62 pts
SeverityFileLineSnippetContext
MEDIUMexamples/code.yaml23 # - Ensure changes follow best practicesCOMMENT
LOWexamples/toolset_instructions.yaml11# If you want to keep the original guidance and just add your own rulesCOMMENT
MEDIUMexamples/multi-code.yaml81 # - Ensure changes follow best practicesCOMMENT
MEDIUMexamples/multi-code.yaml138 # - Ensure changes follow best practicesCOMMENT
MEDIUMe2e/testdata/cassettes/TestExec_DefaultAgent.yaml11 body: "{\"messages\":[{\"content\":[{\"text\":\"Which model are you running? Be super brief.\",\"type\":\"text\"}],\CODE
MEDIUMe2e/testdata/cassettes/TestExec_DefaultAgent.yaml31 body: "{\"max_tokens\":64000,\"messages\":[{\"content\":[{\"text\":\"Which model are you running? Be super brief.\",CODE
MEDIUMpkg/config/references.go20// query as volatile — rather than an enumerated denylist — keeps this robust asCOMMENT
MEDIUMpkg/tui/components/markdown/incremental.go298 // the function robust against future refactors of the helpers.COMMENT
MEDIUMpkg/js/expand.go129 // then expand only the text fields. This keeps the expansion robust ifCOMMENT
MEDIUMpkg/selfupdate/exec_unix.go32// descriptors and terminal, so the user sees a seamless restart.COMMENT
MEDIUMpkg/runtime/turn_end_test.go167// is what makes this contract robust: explicit dispatch calls wouldCOMMENT
MEDIUMpkg/runtime/generated_media_markers.go68// from streamed assistant text, robust to chunks split at any byte boundary.COMMENT
MEDIUMpkg/runtime/transforms_test.go758// review's "robust multi-artifact placeholder" regression for a media-onlyCOMMENT
MEDIUMpkg/hooks/builtins/add_directory_listing_test.go19// format — the test is robust to header tweaks.COMMENT
MEDIUM…el/provider/gemini/generated_media_placeholder_test.go22// order — the review's "robust multi-artifact" regression exercisesCOMMENT
MEDIUM…el/provider/gemini/generated_media_placeholder_test.go89// is the review's "robust multi-artifact placeholder" regression: aCOMMENT
MEDIUM…provider/oaistream/generated_media_placeholder_test.go22// order — the review's "robust multi-artifact" regression exercisesCOMMENT
MEDIUM…provider/oaistream/generated_media_placeholder_test.go100// is the review's "robust multi-artifact placeholder" regression: aCOMMENT
MEDIUM…provider/anthropic/generated_media_placeholder_test.go22// source order — the review's "robust multi-artifact" regression exercisesCOMMENT
MEDIUM…provider/anthropic/generated_media_placeholder_test.go186// is the review's "robust multi-artifact placeholder" regression for theCOMMENT
MEDIUMpkg/modelinfo/resolve_caps_test.go98// by a unique model id to stay robust regardless.COMMENT
MEDIUMpkg/skills/frontmatter.go8// first ": ". This is more robust for the simple frontmatter format used byCOMMENT
Self-Referential Comments11 hits · 41 pts
SeverityFileLineSnippetContext
MEDIUMcmd/root/alias.go27 Example: ` # Create an alias for a registry agentCODE
MEDIUMcmd/root/alias.go30 # Create an alias for a local agent fileCOMMENT
MEDIUM⚡cmd/root/alias.go75 Example: ` # Create a simple aliasCODE
MEDIUM⚡cmd/root/alias.go78 # Create an alias that always runs in yolo modeCOMMENT
MEDIUM⚡cmd/root/alias.go81 # Create an alias that defaults to the balanced safety modeCOMMENT
MEDIUM⚡cmd/root/alias.go84 # Create an alias with a specific modelCOMMENT
MEDIUM⚡cmd/root/alias.go87 # Create an alias with hidden tool resultsCOMMENT
MEDIUM⚡cmd/root/alias.go90 # Create an alias that always runs in a sandboxCOMMENT
MEDIUM⚡cmd/root/alias.go93 # Create an alias with multiple optionsCOMMENT
MEDIUMexamples/dhi/dhi_mcp_server/server.py6# Define the get_migration_info toolCOMMENT
MEDIUMexamples/elicitation/server.py18# Create the MCP serverCOMMENT
Verbosity Indicators14 hits · 28 pts
SeverityFileLineSnippetContext
LOW⚡pkg/tools/startable_backoff_test.go433 // Step 1: retryable failure arms the gate.COMMENT
LOW⚡pkg/tools/startable_backoff_test.go440 // Step 2: advance past the window, then produce a partial start.COMMENT
LOW⚡pkg/tools/startable_backoff_test.go450 // Step 3: gate must now be cleared — a non-retryable error mustCOMMENT
LOWpkg/tools/startable_backoff_test.go586 // Step 1: arm the gate — TryStart fails, window = base (15 s with identity jitter).COMMENT
LOW⚡pkg/tools/builtin/filesystem/filesystem_test.go1363 // Step 1: validate the path while the file is legitimate. This isCOMMENT
LOW⚡pkg/tools/builtin/filesystem/filesystem_test.go1368 // Step 2: attacker (or hostile post-edit hook running between T0 andCOMMENT
LOW⚡pkg/tools/builtin/filesystem/filesystem_test.go1373 // Step 3: at T1 the tool issues the actual write. The rooted writerCOMMENT
LOW⚡pkg/tools/builtin/filesystem/filesystem_test.go1379 // Step 4: the secret must be untouched on disk.COMMENT
LOW⚡pkg/tui/components/messages/messages_test.go1263 // Step 1: Add a reasoning block and a tool call inside it (simulates PartialToolCallEvent)COMMENT
LOW⚡pkg/tui/components/messages/messages_test.go1273 // Step 2: Append an assistant message so the reasoning block is no longer the last messageCOMMENT
LOW⚡pkg/tui/components/messages/messages_test.go1278 // Step 3: Update the tool call to Running (simulates ToolCallEvent)COMMENT
LOWpkg/tui/components/messages/messages.go1939 // Step 1: Handle reasoning content - only create/extend a reasoning block if there's actual reasoningCOMMENT
LOWpkg/tui/components/messages/messages.go1951 // Step 2: Handle assistant content — this breaks the reasoningCOMMENT
LOWpkg/tui/components/messages/messages.go1963 // Step 3: Handle tool callsCOMMENT
Structural Annotation Overuse14 hits · 28 pts
SeverityFileLineSnippetContext
LOW⚡pkg/tools/startable_backoff_test.go433 // Step 1: retryable failure arms the gate.COMMENT
LOW⚡pkg/tools/startable_backoff_test.go440 // Step 2: advance past the window, then produce a partial start.COMMENT
LOW⚡pkg/tools/startable_backoff_test.go450 // Step 3: gate must now be cleared — a non-retryable error mustCOMMENT
LOWpkg/tools/startable_backoff_test.go586 // Step 1: arm the gate — TryStart fails, window = base (15 s with identity jitter).COMMENT
LOW⚡pkg/tools/builtin/filesystem/filesystem_test.go1363 // Step 1: validate the path while the file is legitimate. This isCOMMENT
LOW⚡pkg/tools/builtin/filesystem/filesystem_test.go1368 // Step 2: attacker (or hostile post-edit hook running between T0 andCOMMENT
LOW⚡pkg/tools/builtin/filesystem/filesystem_test.go1373 // Step 3: at T1 the tool issues the actual write. The rooted writerCOMMENT
LOW⚡pkg/tools/builtin/filesystem/filesystem_test.go1379 // Step 4: the secret must be untouched on disk.COMMENT
LOW⚡pkg/tui/components/messages/messages_test.go1263 // Step 1: Add a reasoning block and a tool call inside it (simulates PartialToolCallEvent)COMMENT
LOW⚡pkg/tui/components/messages/messages_test.go1273 // Step 2: Append an assistant message so the reasoning block is no longer the last messageCOMMENT
LOW⚡pkg/tui/components/messages/messages_test.go1278 // Step 3: Update the tool call to Running (simulates ToolCallEvent)COMMENT
LOWpkg/tui/components/messages/messages.go1939 // Step 1: Handle reasoning content - only create/extend a reasoning block if there's actual reasoningCOMMENT
LOWpkg/tui/components/messages/messages.go1951 // Step 2: Handle assistant content — this breaks the reasoningCOMMENT
LOWpkg/tui/components/messages/messages.go1963 // Step 3: Handle tool callsCOMMENT
Synthetic Comment Markers3 hits · 20 pts
SeverityFileLineSnippetContext
HIGHpkg/workspacemedia/writer.go345// are kept as requested instead of being noisily "corrected".COMMENT
HIGHpkg/tui/components/sidebar/sidebar.go373 titleRegenerating bool // true when title is being regenerated by AICODE
HIGHpkg/rag/rerank/rerank_test.go54 // Return as many scores as requested documents, falling back to zeros if needed.COMMENT
Fake / Example Data16 hits · 16 pts
SeverityFileLineSnippetContext
LOWcmd/root/setup_test.go191 return &chatgpt.LoginResult{Email: "user@example.com", Plan: "plus"}, nilCODE
LOWpkg/creator/agent_test.go116 "OPENAI_API_KEY=dummy-key-for-testing",CODE
LOWpkg/tools/builtin/api/client/client_test.go98 Arguments: `{"name":"John Doe","age":30}`,CODE
LOWpkg/tools/builtin/api/client/client_test.go110 assert.Equal(t, "John Doe", receivedData["name"])CODE
LOWpkg/tui/dialog/elicitation_test.go216 "default": "user@example.com",CODE
LOWpkg/tui/dialog/elicitation_test.go225 Default: "user@example.com",CODE
LOWpkg/tui/components/messages/generated_media_test.go173 m.AppendAssistantMedia("root", []types.AssistantMedia{{ID: 5, Fallback: "placeholder"}})CODE
LOWpkg/tui/components/messages/generated_media_test.go178 assert.Equal(t, "placeholder", m.messages[0].AssistantMedia[0].Fallback)CODE
LOWpkg/runtime/commands_test.go359 input: `name="John Doe" age=30`,CODE
LOWpkg/runtime/commands_test.go360 expected: map[string]any{"name": "John Doe", "age": int64(30)},CODE
LOWpkg/chatgpt/login_test.go88 idClaims["email"] = "user@example.com"CODE
LOWpkg/chatgpt/login_test.go105 assert.Equal(t, "user@example.com", result.Email)CODE
LOWpkg/chatgpt/login_test.go119 assert.Equal(t, "user@example.com", creds.Email)CODE
LOWpkg/chatgpt/chatgpt_test.go54 claims["email"] = "user@example.com"CODE
LOWpkg/chatgpt/chatgpt_test.go62 assert.Equal(t, "user@example.com", parsed.Email)CODE
LOWpkg/chatgpt/chatgpt_test.go86 Email: "user@example.com",CODE
Example Usage Blocks5 hits · 8 pts
SeverityFileLineSnippetContext
LOWexamples/openapi-petstore.yaml8# Usage:COMMENT
LOWexamples/env_placeholders.yaml12# Usage:COMMENT
LOWexamples/model_env_substitution.yaml9# Usage:COMMENT
LOWscripts/docs-a11y-urls.sh33# Usage:COMMENT
LOWscripts/models-delta.sh4# Usage:COMMENT
Slop Phrases2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUMexamples/budget.yaml19# you can try it with an OpenRouter key instead of a first-party provider:COMMENT
MEDIUMexamples/rag/custom_provider.yaml2# For instance, you can use a local Ollama instance or any OpenAI-compatibleCOMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWexamples/hook_routing_completion.yaml6# Set LOCAL_JEV_API_KEY to any non-empty value; the server is unauthenticatedCOMMENT
LOWexamples/hook_routing_local.yaml12# Set LOCAL_JEV_API_KEY to any non-empty value; the server is unauthenticatedCOMMENT