AI Slop Code RIsk Monitor

ColeMurray/background-agents

An open-source background agents coding system

6.5 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for ColeMurray/background-agents, a TypeScript project with 3,346 GitHub stars. SynthScan examined 559,232 lines of code across 2562 source files, recording 2734 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 6.5 (Moderate 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.

6.5
Adjusted Signal
6.5
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
3.3K
Stars
TypeScript
Language
559.2K
Lines of Code
2.6K
Files
2.7K
Pattern Hits
2026-10-12
Scan Date
0.01
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 18.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.6/100 · LOW

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

Agent Over-Engineering Ratio 23.4/100 · LOW

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

PR Review Velocity Impact 27.5/100 · MEDIUM

Which changes need focused human review? 2734 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 25HIGH 11MEDIUM 289LOW 2409

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 2734 distinct pattern matches across 18 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 Identifiers2060 hits · 2047 pts
SeverityFileLineSnippetContext
LOWscripts/merge-split-users.ts51function parseWranglerQueryResults(value: unknown): WranglerQueryResult[] {CODE
LOWscripts/cf-logs.ts119function parseTelemetryQueryResponse(value: unknown): TelemetryQueryResponse {CODE
LOW…kages/modal-infra/tests/test_agent_slack_notify_env.py37 async def test_env_omitted_when_disabled(self, monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py84async def test_launch_matrix_preserves_common_and_source_specific_behavior(CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py234async def test_repository_image_create_validates_repo_before_image_lookup(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py256async def test_launch_preserves_image_error_classification(CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py304async def test_base_image_spawn_errors_propagate_without_retry(monkeypatch, missing):CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py344async def test_launch_returns_handle_despite_tunnel_failures(monkeypatch, image_source, failure):CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py415async def test_repository_image_not_found_is_reported_explicitly(monkeypatch, fake_llm_secret):CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py441async def test_missing_secret_does_not_mark_repository_image_unavailable(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py467async def test_base_image_not_found_is_not_classified_as_repository_image(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py549async def test_docker_launch_selects_vm_runtime_and_named_allocation(CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py600async def test_docker_launch_does_not_allow_user_env_to_spoof_resolved_access(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py629async def test_docker_launch_tags_record_effective_enabled_services_and_ports(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py658async def test_expired_vm_launch_cannot_materialize_after_lookup(monkeypatch, image_source):CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py685async def test_docker_launch_without_a_provisioned_image_never_uses_the_default(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py696async def test_malformed_docker_setting_fails_before_any_launch(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py715async def test_invalid_wire_resources_neither_retire_nor_allocate(CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py743async def test_docker_launch_adopts_an_existing_owned_allocation(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py763async def test_docker_retry_returns_the_original_access_credentials(CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py828async def test_access_password_read_arguments_match_enabled_services(CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py865async def test_docker_adoption_fails_if_original_credentials_cannot_be_recovered(CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py895async def test_docker_launch_refuses_a_same_named_allocation_it_does_not_own(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py915async def test_docker_launch_retires_the_prior_generation_only_when_owned(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py958async def test_retire_docker_allocation_succeeds_when_owned_vm_timed_out(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py979async def test_late_predecessor_cannot_materialize_beside_successor(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py1015async def test_docker_successor_waits_for_confirmed_predecessor_retirement(CODE
LOWpackages/modal-infra/tests/test_sandbox_launch.py1072async def test_launch_rejects_boolean_tunnel_ports(monkeypatch, restore, ports, expected):CODE
LOWpackages/modal-infra/tests/test_code_server.py15 def test_returns_nonempty_password(self):CODE
LOWpackages/modal-infra/tests/test_code_server.py19 def test_generates_unique_passwords(self):CODE
LOWpackages/modal-infra/tests/test_code_server.py30 async def test_code_server_skipped_when_disabled(self, monkeypatch):CODE
LOWpackages/modal-infra/tests/test_code_server.py74 async def test_code_server_skipped_when_disabled(self, monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py27def test_has_repository_accepts_complete_or_absent_metadata(repo_owner, repo_name, expected):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py38def test_has_repository_rejects_partial_repo_metadata(repo_owner, repo_name):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py51async def test_create_sandbox_rejects_partial_repo_metadata(repo_owner, repo_name):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py73async def test_restore_rejects_partial_repo_metadata(session_config):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py86async def test_user_env_vars_override_order(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py128async def test_restore_user_env_vars_override_order(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py192async def test_create_preserves_managed_provider_env_isolation(CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py220async def test_restore_preserves_managed_provider_env_isolation(CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py237def test_generated_vnc_password_respects_protocol_limit():CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py242async def test_restore_uses_default_timeout(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py300async def test_restore_includes_branch_in_session_config(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py324async def test_restore_omits_branch_when_none(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py347async def test_restore_serializes_typed_session_config(monkeypatch):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py392def _assert_identity_without_system_tokens(env: dict[str, str]) -> None:CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py409async def test_create_injects_control_plane_identity_without_tokens(monkeypatch, repo_fields):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py424async def test_repo_image_boot_preserves_user_github_cli_token(monkeypatch, token_key):CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py452async def test_restore_injects_control_plane_identity_without_system_tokens(CODE
LOWpackages/modal-infra/tests/test_sandbox_env_vars.py483async def test_restore_preserves_user_tokens_without_generating_gh_cli_aliases(CODE
LOWpackages/modal-infra/tests/test_llm_secrets.py33async def test_create_attaches_the_deployment_wide_secret(captured_launch, fake_llm_secret):CODE
LOWpackages/modal-infra/tests/test_llm_secrets.py48async def test_restore_attaches_the_deployment_wide_secret(CODE
LOWpackages/modal-infra/tests/test_llm_secrets.py68async def test_each_launch_resolves_a_fresh_secret(captured_launch, fake_llm_secret):CODE
LOWpackages/modal-infra/tests/test_docker_launch.py31def test_resource_defaults_match_shared_provider_validation():CODE
LOWpackages/modal-infra/tests/test_docker_launch.py48def test_standard_defaults_preserve_existing_launch(settings):CODE
LOWpackages/modal-infra/tests/test_docker_launch.py56def test_launch_policy_maps_vm_backend_and_resources():CODE
LOW⚡packages/modal-infra/tests/test_docker_launch.py89def test_malformed_resources_or_removed_settings_are_rejected(settings):CODE
LOW⚡packages/modal-infra/tests/test_docker_launch.py94def test_docker_base_image_requires_provisioning(monkeypatch):CODE
LOW⚡packages/modal-infra/tests/test_docker_launch.py104def test_allocation_name_is_stable_per_session_and_modal_safe():CODE
LOW⚡packages/modal-infra/tests/test_docker_launch.py113def test_allocation_tags_bind_session_generation_and_backend():CODE
2000 more matches not shown…
Decorative Section Separators253 hits · 796 pts
SeverityFileLineSnippetContext
MEDIUM.openinspect/setup.sh7# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh9# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh21# ---------------------------------------------------------------------------COMMENT
MEDIUM.openinspect/setup.sh23# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.openinspect/setup.sh36# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.openinspect/setup.sh38# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.openinspect/setup.sh42# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.openinspect/setup.sh44# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.openinspect/setup.sh48# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.openinspect/setup.sh50# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.openinspect/setup.sh58# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.openinspect/setup.sh60# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.openinspect/setup.sh115# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.openinspect/setup.sh117# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.openinspect/setup.sh125# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡.openinspect/setup.sh127# ---------------------------------------------------------------------------COMMENT
MEDIUMterraform/environments/aws-staging/main.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/aws-staging/main.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/web-cloudflare.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/web-cloudflare.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/docs-vercel.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/docs-vercel.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/outputs.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/outputs.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/outputs.tf124# =============================================================================COMMENT
MEDIUMterraform/environments/production/outputs.tf126# =============================================================================COMMENT
MEDIUMterraform/environments/production/workers-github.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/workers-github.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/r2.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/r2.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/opencomputer.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/opencomputer.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/modal.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/modal.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/workers-slack.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/workers-slack.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/moved.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/moved.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/e2b.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/e2b.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/workers-linear.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/workers-linear.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/kv.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/kv.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/web-vercel.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/web-vercel.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf1# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf3# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf112# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf114# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf134# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf136# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf161# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf163# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf181# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf183# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf231# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf233# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf278# =============================================================================COMMENT
MEDIUMterraform/environments/production/variables.tf280# =============================================================================COMMENT
193 more matches not shown…
Hallucination Indicators25 hits · 255 pts
SeverityFileLineSnippetContext
CRITICALpackages/modal-infra/tests/test_sandbox_launch.py227 handle.modal_sandbox.filesystem.write_text.aio.assert_awaited_once_with(CODE
CRITICALpackages/web/src/hooks/use-sidebar-sessions.test.tsx897 act(() => first.result.current.sectionPagination.needsAttention.loadMore());CODE
CRITICALpackages/web/src/hooks/use-sidebar-sessions.test.tsx914 act(() => second.result.current.sectionPagination.needsAttention.loadMore());CODE
CRITICAL⚡packages/sandbox-runtime/tests/test_opencode_health.py20 client_type.return_value.__aenter__.return_value.get.assert_not_awaited()CODE
CRITICAL…es/sandbox-runtime/tests/test_entrypoint_build_mode.py1043 supervisor.repository_boot.synchronizer.log.info.assert_any_call(CODE
CRITICAL…es/sandbox-runtime/tests/test_entrypoint_build_mode.py1290 supervisor.repository_boot.synchronizer.log.warn.assert_called_once()CODE
CRITICAL…es/sandbox-runtime/tests/test_entrypoint_build_mode.py1552 supervisor.repository_boot.synchronizer.log.warn.assert_any_call(CODE
CRITICALpackages/slack-bot/src/index.test.ts621 const catalogReads = env.CONTROL_PLANE.fetch.mock.calls.filter(CODE
CRITICALpackages/slack-bot/src/index.test.ts840 const catalogReads = env.CONTROL_PLANE.fetch.mock.calls.filter(CODE
CRITICALpackages/slack-bot/src/index.test.ts852 env.CONTROL_PLANE.fetch.mock.calls.filter(([url]) =>CODE
CRITICALpackages/slack-bot/src/index.test.ts983 const catalogReads = env.CONTROL_PLANE.fetch.mock.calls.filter(CODE
CRITICALpackages/slack-bot/src/index.test.ts1223 env.CONTROL_PLANE.fetch.mock.calls.map(([url]) => new URL(String(url)).pathname)CODE
CRITICALpackages/slack-bot/src/index.test.ts1762 return env.CONTROL_PLANE.fetch.mock.calls.filter(([input]) =>CODE
CRITICALpackages/slack-bot/src/index.test.ts1985 const publication = env.CONTROL_PLANE.fetch.mock.calls.filter(([url]) =>CODE
CRITICALpackages/slack-bot/src/index.test.ts2032 const [url, init] = env.CONTROL_PLANE.fetch.mock.calls.at(-1)!;CODE
CRITICALpackages/slack-bot/src/index.test.ts2047 env.CONTROL_PLANE.fetch.mock.calls.some(([url]) =>CODE
CRITICALpackages/slack-bot/src/index.test.ts3350 const sessionCall = env.CONTROL_PLANE.fetch.mock.calls.find(([input]) => {CODE
CRITICALpackages/slack-bot/src/index.test.ts3446 const sessionCall = env.CONTROL_PLANE.fetch.mock.calls.find(([input]) => {CODE
CRITICALpackages/slack-bot/src/index.test.ts3679 const catalogReads = env.CONTROL_PLANE.fetch.mock.calls.filter(CODE
CRITICALpackages/slack-bot/src/index.test.ts3749 expect(env.CONTROL_PLANE.fetch.mock.calls.map(([url]) => String(url))).toEqual(CODE
CRITICAL…ges/control-plane/src/session/sandbox-shutdown.test.ts1420 f.deps.log.info.mock.calls.filter(CODE
CRITICAL…ckages/control-plane/src/session/message-queue.test.ts1563 const enqueueLog = h.log.info.mock.calls.find(([event]) => event === "prompt.enqueue")?.[1];CODE
CRITICAL…ckages/control-plane/src/session/message-queue.test.ts1647 expect(h.wsManager.send.mock.calls.map(([, command]) => command)).toEqual([CODE
CRITICAL…lane/src/session/callback-notification-service.test.ts440 expect(harness.slackBot.fetch.mock.calls.map(([url]) => url)).toEqual([CODE
CRITICAL…lane/src/session/callback-notification-service.test.ts492 expect(harness.slackBot.fetch.mock.calls.map(([url]) => url)).toEqual([CODE
Unused Imports125 hits · 123 pts
SeverityFileLineSnippetContext
LOWpackages/modal-infra/deploy.py35CODE
LOWpackages/modal-infra/src/log_config.py3CODE
LOWpackages/modal-infra/src/log_config.py3CODE
LOWpackages/modal-infra/src/log_config.py3CODE
LOWpackages/modal-infra/src/__init__.py5CODE
LOWpackages/modal-infra/src/__init__.py6CODE
LOWpackages/modal-infra/src/images/__init__.py3CODE
LOWpackages/modal-infra/src/images/base.py3CODE
LOWpackages/modal-infra/src/sandbox/launch_policy.py3CODE
LOWpackages/modal-infra/src/sandbox/__init__.py8CODE
LOWpackages/modal-infra/src/sandbox/__init__.py8CODE
LOWpackages/modal-infra/src/sandbox/__init__.py8CODE
LOWpackages/modal-infra/src/sandbox/manager.py8CODE
LOWpackages/modal-infra/src/sandbox/manager.py8CODE
LOWpackages/modal-infra/src/sandbox/manager.py8CODE
LOWpackages/modal-infra/src/sandbox/manager.py8CODE
LOWpackages/modal-infra/src/sandbox/manager.py8CODE
LOWpackages/modal-infra/src/sandbox/manager.py8CODE
LOWpackages/modal-infra/src/sandbox/manager.py8CODE
LOWpackages/modal-infra/src/sandbox/manager.py8CODE
LOWpackages/modal-infra/src/sandbox/manager.py8CODE
LOWpackages/modal-infra/src/sandbox/manager.py8CODE
LOWpackages/modal-infra/src/sandbox/manager.py8CODE
LOWpackages/modal-infra/src/sandbox/manager.py8CODE
LOWpackages/modal-infra/src/sandbox/manager.py8CODE
LOWpackages/modal-infra/src/sandbox/manager.py8CODE
LOWpackages/modal-infra/src/sandbox/manager.py30CODE
LOWpackages/modal-infra/src/sandbox/manager.py30CODE
LOWpackages/modal-infra/src/sandbox/manager.py49CODE
LOW…dbox-runtime/tests/test_bridge_shutdown_preparation.py3CODE
LOWpackages/sandbox-runtime/tests/conftest.py8CODE
LOWpackages/sandbox-runtime/tests/conftest.py13CODE
LOWpackages/sandbox-runtime/tests/conftest.py13CODE
LOWpackages/sandbox-runtime/tests/conftest.py15CODE
LOWpackages/sandbox-runtime/tests/test_claude_translate.py3CODE
LOWpackages/sandbox-runtime/tests/test_gh_wrapper.py15CODE
LOW…/sandbox-runtime/tests/test_claude_harness_shutdown.py3CODE
LOWpackages/sandbox-runtime/tests/test_claude_harness.py9CODE
LOWpackages/sandbox-runtime/tests/test_claude_logging.py3CODE
LOW…sandbox-runtime/tests/test_bridge_harness_lifecycle.py3CODE
LOW…es/sandbox-runtime/tests/test_git_credential_helper.py3CODE
LOW…ckages/sandbox-runtime/tests/test_claude_trajectory.py3CODE
LOWpackages/sandbox-runtime/tests/claude_fakes.py3CODE
LOWpackages/sandbox-runtime/tests/test_docker_service.py11CODE
LOW…/sandbox-runtime/src/sandbox_runtime/diff_collector.py9CODE
LOW…/sandbox-runtime/src/sandbox_runtime/prompt_budgets.py10CODE
LOW…/sandbox-runtime/src/sandbox_runtime/runtime_config.py3CODE
LOW…s/sandbox-runtime/src/sandbox_runtime/claude_stager.py18CODE
LOW…s/sandbox-runtime/src/sandbox_runtime/durable_files.py3CODE
LOW…es/sandbox-runtime/src/sandbox_runtime/mcp_packages.py3CODE
LOW…runtime/src/sandbox_runtime/modal_image_build_start.py3CODE
LOW…/sandbox-runtime/src/sandbox_runtime/docker_service.py14CODE
LOW…es/sandbox-runtime/src/sandbox_runtime/web_terminal.py1CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py3CODE
LOW…ges/sandbox-runtime/src/sandbox_runtime/boot_events.py13CODE
LOW…ndbox-runtime/src/sandbox_runtime/image_environment.py3CODE
LOW…box-runtime/src/sandbox_runtime/repo_image_callback.py3CODE
LOW…dbox-runtime/src/sandbox_runtime/tunnel_environment.py1CODE
LOW…ges/sandbox-runtime/src/sandbox_runtime/sandbox_bin.py3CODE
LOW…ges/sandbox-runtime/src/sandbox_runtime/code_server.py1CODE
65 more matches not shown…
AI Slop Vocabulary28 hits · 90 pts
SeverityFileLineSnippetContext
MEDIUMpackage-lock.json19750 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
MEDIUMpackages/sandbox-runtime/pyproject.toml12 # are what harness/claude.py translates.COMMENT
MEDIUM…dbox-runtime/tests/test_bridge_shutdown_preparation.py474 # still ask the harness to contain its retained process owner.COMMENT
MEDIUM⚡packages/sandbox-runtime/tests/test_claude_env.py160 # and deliver its result on a turn the harness never reads.COMMENT
MEDIUMpackages/sandbox-runtime/tests/test_prompt_budgets.py25# The harness the env-handling cases run under; the default each harness getsCOMMENT
MEDIUM…/sandbox-runtime/src/sandbox_runtime/prompt_budgets.py29# Liveness check for a harness that stopped talking, not a budget for how longCOMMENT
MEDIUM…/sandbox-runtime/src/sandbox_runtime/prompt_budgets.py33# What counts as talking is the harness's, so the budget is too. OpenCodeCOMMENT
MEDIUM…s/sandbox-runtime/src/sandbox_runtime/claude_stager.py136 # Nothing the harness writes here is a credential; the directory isCOMMENT
MEDIUM⚡…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py646 # The `harness completed` line is what tells an early-connectedCOMMENT
MEDIUM⚡…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py647 # bridge to attach its harness and report `ready`.COMMENT
MEDIUM⚡…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py736 # Everything up to the harness is boot work: a bridge that exitsCOMMENT
MEDIUM⚡…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py738 # it starting a harness nobody is connected to.COMMENT
MEDIUM…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py97 # Supervisor half of the harness seam: staging plus any residentCOMMENT
MEDIUM…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py254 # The bridge exits this way from its harness open, so the failureCOMMENT
MEDIUM…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py255 # belongs to the harness phase whether or not the boot is over.COMMENT
MEDIUM…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py712 # Transport-only until the harness phase completes: the bridgeCOMMENT
MEDIUM…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py715 # has a harness. The watcher applies the bridge exit policyCOMMENT
MEDIUM…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py768 # died under a working harness ended the session as a failure.COMMENT
MEDIUM…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py839 # User containers outlive the harness that drove them, never the reverse.COMMENT
MEDIUM…kages/sandbox-runtime/src/sandbox_runtime/constants.py68# Supervisor → bridge handoff for the Claude harness (workdir, config dir, MCP servers).COMMENT
MEDIUMpackages/sandbox-runtime/src/sandbox_runtime/bridge.py326 # One lifecycle: whatever the harness acquires in open() is releasedCOMMENT
MEDIUMpackages/sandbox-runtime/src/sandbox_runtime/bridge.py494 # failed harness attach, for one). The socket was neverCOMMENT
MEDIUM…ges/sandbox-runtime/src/sandbox_runtime/boot_attach.py54 # Building a harness may read supervisor-written handoffs or probe theCOMMENT
MEDIUM…ges/sandbox-runtime/src/sandbox_runtime/boot_attach.py220 # The harness has not been published, so bridge cleanup cannot see it.COMMENT
MEDIUMpackages/sandbox-runtime/src/sandbox_runtime/types.py76 # Which agent runs the session; absent means the built-in OpenCode harness.COMMENT
MEDIUM…andbox-runtime/src/sandbox_runtime/runtime_manifest.py15 # Per-harness floors for prebuilt-image selection: a harness whose runtimeCOMMENT
MEDIUM…es/sandbox-runtime/src/sandbox_runtime/harness/base.py78 # ``None`` means the harness's configured ``prompt_max_duration_seconds``.COMMENT
MEDIUMpackages/control-plane/src/memory/render.ts25 return `\n## Facts (call ${harnessMemoryToolName(harness, "memory_read")} with the id for the full text)\n\n`;CODE
Excessive Try-Catch Wrapping77 hits · 79 pts
SeverityFileLineSnippetContext
LOWpackages/modal-infra/src/web_api.py249 except Exception as e:CODE
LOWpackages/modal-infra/src/app.py109 except Exception as e:CODE
LOWpackages/modal-infra/src/sandbox/tunnels.py145 except Exception as e:CODE
LOWpackages/modal-infra/src/sandbox/tunnels.py215 except Exception as e:CODE
LOW…/sandbox-runtime/src/sandbox_runtime/diff_collector.py927 except Exception as error:CODE
LOW…s/sandbox-runtime/src/sandbox_runtime/claude_stager.py144 except Exception as error:CODE
LOW…es/sandbox-runtime/src/sandbox_runtime/mcp_packages.py254 except Exception as error:CODE
LOW…/sandbox-runtime/src/sandbox_runtime/push_operation.py122 except Exception as e:CODE
LOW⚡…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py170 except Exception as error:CODE
LOW⚡…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py179 except Exception as error:CODE
LOW⚡…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py637 except Exception as error:CODE
LOW⚡…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py642 except Exception as error:CODE
LOW⚡…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py727 except Exception as error:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py158 except Exception as error:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py305 except Exception as error:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py334 except Exception as error:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py390 except Exception as error:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py415 except Exception as error:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py486 except Exception as error:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py583 except Exception as error:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py779 except Exception as error:CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py800 except Exception:CODE
LOW…ges/sandbox-runtime/src/sandbox_runtime/boot_events.py211 except Exception as error:CODE
LOW…box-runtime/src/sandbox_runtime/repo_image_callback.py151 except Exception as exc:CODE
LOW…dbox-runtime/src/sandbox_runtime/tunnel_environment.py49 except Exception as error:CODE
LOW…dbox-runtime/src/sandbox_runtime/tunnel_environment.py54 except Exception as error:CODE
LOW…dbox-runtime/src/sandbox_runtime/tunnel_environment.py87 except Exception as error:CODE
LOW⚡packages/sandbox-runtime/src/sandbox_runtime/bridge.py1081 except Exception as e:CODE
LOW⚡packages/sandbox-runtime/src/sandbox_runtime/bridge.py1088 except Exception as e:CODE
LOW⚡packages/sandbox-runtime/src/sandbox_runtime/bridge.py1100 except Exception as e:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py346 except Exception as e:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py400 except Exception as close_error:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py405 except Exception as close_error:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py529 except Exception as e:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py849 except Exception as e:CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py1117 except Exception as e:CODE
LOW…ges/sandbox-runtime/src/sandbox_runtime/boot_attach.py174 except Exception as error:CODE
LOW…sandbox-runtime/src/sandbox_runtime/event_forwarder.py220 except Exception as e:CODE
LOW…sandbox-runtime/src/sandbox_runtime/event_forwarder.py379 except Exception as e:CODE
LOW…sandbox-runtime/src/sandbox_runtime/event_forwarder.py435 except Exception as e:CODE
LOW…andbox-runtime/src/sandbox_runtime/repository_hooks.py101 except Exception as error:CODE
LOW…sandbox-runtime/src/sandbox_runtime/repository_boot.py92 except Exception as error:CODE
LOW…sandbox-runtime/src/sandbox_runtime/repository_boot.py144 except Exception as error:CODE
MEDIUM…sandbox-runtime/src/sandbox_runtime/repository_boot.py89def _write_repo_manifest(self) -> None:CODE
LOW…/sandbox-runtime/src/sandbox_runtime/process_output.py131 except Exception as error:CODE
LOW…ox-runtime/src/sandbox_runtime/shutdown_preparation.py113 except Exception as exc:CODE
LOW…es/sandbox-runtime/src/sandbox_runtime/diff_capture.py226 except Exception as error:CODE
LOW…es/sandbox-runtime/src/sandbox_runtime/diff_capture.py240 except Exception as error:CODE
LOW…es/sandbox-runtime/src/sandbox_runtime/diff_capture.py283 except Exception as report_error:CODE
MEDIUM…es/sandbox-runtime/src/sandbox_runtime/diff_capture.py195def _run(self) -> None:CODE
LOW…sandbox-runtime/src/sandbox_runtime/opencode_server.py253 except Exception as e:CODE
LOW…sandbox-runtime/src/sandbox_runtime/opencode_server.py357 except Exception as e:CODE
LOW…sandbox-runtime/src/sandbox_runtime/opencode_server.py459 except Exception as error:CODE
LOW…sandbox-runtime/src/sandbox_runtime/opencode_server.py526 except Exception as e:CODE
LOW…sandbox-runtime/src/sandbox_runtime/repository_sync.py129 except Exception as error:CODE
LOW…sandbox-runtime/src/sandbox_runtime/repository_sync.py300 except Exception as error:CODE
LOW…sandbox-runtime/src/sandbox_runtime/repository_sync.py330 except Exception as error:CODE
LOW…/sandbox-runtime/src/sandbox_runtime/managed_skills.py536 except Exception:CODE
LOW…/sandbox-runtime/src/sandbox_runtime/managed_skills.py595 except Exception:CODE
LOW…/sandbox-runtime/src/sandbox_runtime/managed_skills.py600 except Exception as error:CODE
17 more matches not shown…
Over-Commented Block41 hits · 41 pts
SeverityFileLineSnippetContext
LOWdocker-compose.smoke.yml1# CI overlay for the compose smoke: the same stack, with a stand-in for theCOMMENT
LOWdocker-compose.aws.yml1# AWS overlay: the same stack the smoke boots, on one EC2 instance.COMMENT
LOWdocker-compose.yml1# The control plane without Cloudflare: the Node host, an S3-compatibleCOMMENT
LOWdocker-compose.yml41COMMENT
LOWeslint.config.js241 {COMMENT
LOWterraform/environments/aws-staging/main.tf1# =============================================================================COMMENT
LOWterraform/environments/aws-staging/backend.tf1# Terraform state for the AWS environments, in S3 with native state locking.COMMENT
LOWterraform/environments/production/docs-vercel.tf1# =============================================================================COMMENT
LOWterraform/environments/production/backend.tf1# Terraform State Backend ConfigurationCOMMENT
LOWterraform/environments/aws-production/backend.tf1# Terraform state for the AWS environments, in S3 with native state locking.COMMENT
LOWterraform/modules/aws-control-plane/deploy.tf1# How CI reaches this deployment, and nothing else.COMMENT
LOWterraform/modules/aws-control-plane/deploy.tf21 provided_oidc_arn = try(var.github_deploy.oidc_provider_arn, null)COMMENT
LOWterraform/modules/aws-control-plane/config.tf21 # instance's first boot, while this arrives on every fetch.COMMENT
LOWterraform/modules/aws-control-plane/config.tf61 # the bucket names -- and every key in it is deliberately non-empty. AnCOMMENT
LOWterraform/modules/aws-control-plane/config.tf101# self-describing placeholder that fails loudly if it reaches a boot, andCOMMENT
LOWterraform/modules/aws-control-plane/config.tf121COMMENT
LOW…dules/aws-control-plane/tests/github_deploy.tftest.hcl1# The deploy role is optional, and "optional" is the case nothing else covers.COMMENT
LOWterraform/modules/aws-control-plane/files/deploy.sh1#!/bin/bashCOMMENT
LOWterraform/modules/aws-control-plane/files/deploy.sh21# broken image never passes, and the deploy that sent this cannot start itsCOMMENT
LOWdocs/GETTING_STARTED.md421# daytona_base_snapshot = "your-snapshot-name"COMMENT
LOWdocs/GETTING_STARTED.md501# Display name shown in the web UI tab title, sign-in page, landing hero, botCOMMENT
LOWscripts/deploy-aws.sh1#!/bin/bashCOMMENT
LOWscripts/deploy-aws.sh21# wrote at its first boot, so anything a deploy assumes is installed there is anCOMMENT
LOWscripts/deploy-aws.sh121 # the document's own bound; we still need the agent's terminal response beforeCOMMENT
LOWscripts/check-aws-stack.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/check-aws-stack.sh61lint_shell "$RENDERED"COMMENT
LOWscripts/compose-smoke.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/compose-smoke.sh21COMMENT
LOWscripts/compose-smoke.sh141# the compose files still define. --remove-orphans covers the rest: a runCOMMENT
LOW…kages/sandbox-runtime/src/sandbox_runtime/constants.py41# services via `--env-file` or direct read.COMMENT
LOW…kages/sandbox-runtime/src/sandbox_runtime/constants.py61# channel) and relayed by the bridge: phase lines become `boot_progress`COMMENT
LOWpackages/sandbox-runtime/src/sandbox_runtime/types.py81 # Ordered member list for multi-repo sessions; absent for scalar sessionsCOMMENT
LOW…ntime/src/sandbox_runtime/image_build_context_start.py61#: One launch per sandbox. The exclusive create is the whole mechanism: aCOMMENT
LOWpackages/control-plane/docker/litestream.yml1# Litestream configuration for the control plane's global store.COMMENT
LOWpackages/control-plane/docker/entrypoint.sh1#!/bin/shCOMMENT
LOWpackages/control-plane/src/image-builds/reaper.ts201 // its hard lifetime can a later artifact no longer arrive.COMMENT
LOW…es/control-plane/src/sandbox/providers/e2b-provider.ts601 // bake its filesystem; never auto-pause/resume it.COMMENT
LOW…ages/control-plane/src/session/pull-request-service.ts521 // head, so proceeding is only safe when the head IS the checkout: anCOMMENT
LOW.github/dependabot.yml1version: 2COMMENT
LOW.github/workflows/aws-stack.yml1# Everything that parses the AWS deployment without deploying it.COMMENT
LOW.github/workflows/deploy-aws.yml1# Deploys the control-plane image to an AWS instance, and puts the previous oneCOMMENT
Structural Annotation Overuse26 hits · 40 pts
SeverityFileLineSnippetContext
LOWdocs/OPENAI_MODELS.md24### Step 1: Connect ChatGPTCOMMENT
LOWdocs/OPENAI_MODELS.md38### Step 2: Configure DefaultsCOMMENT
LOWdocs/OPENAI_MODELS.md51### Step 3: Select AuthenticationCOMMENT
LOWdocs/CLAUDE_AGENT.md129### Step 1: Connect a Claude accountCOMMENT
LOWdocs/CLAUDE_AGENT.md157### Step 2: Configure defaultsCOMMENT
LOWdocs/CLAUDE_AGENT.md164### Step 3: Create a Claude Agent sessionCOMMENT
LOWdocs/GETTING_STARTED.md136## Step 1: Fork the RepositoryCOMMENT
LOWdocs/GETTING_STARTED.md165## Step 2: Create Cloud Provider CredentialsCOMMENT
LOWdocs/GETTING_STARTED.md259## Step 3: Create GitHub AppCOMMENT
LOWdocs/GETTING_STARTED.md346## Step 4: Generate Security SecretsCOMMENT
LOWdocs/GETTING_STARTED.md371## Step 5: Configure TerraformCOMMENT
LOWdocs/GETTING_STARTED.md567## Step 6: Deploy with TerraformCOMMENT
LOWdocs/GETTING_STARTED.md619## Step 7: Deploy the Web AppCOMMENT
LOWdocs/GETTING_STARTED.md661## Step 8: Verify DeploymentCOMMENT
LOWdocs/GETTING_STARTED.md694## Step 9: Bootstrap the Workspace OwnerCOMMENT
LOWdocs/GETTING_STARTED.md748## Step 10: Create the First Team and Test a SessionCOMMENT
LOWdocs/GROK_MODELS.md23### Step 1: Connect SuperGrokCOMMENT
LOWdocs/GROK_MODELS.md37### Step 2: Configure DefaultsCOMMENT
LOWdocs/GROK_MODELS.md48### Step 3: Enable and Select GrokCOMMENT
LOWdocs/SETUP_GUIDE.md49## Step 0: Bootstrap the RepoCOMMENT
LOW⚡packages/control-plane/src/db/user-store.ts409 // Step 1: Look up by provider identityCOMMENT
LOW⚡packages/control-plane/src/db/user-store.ts413 // Step 2: Existing identity → load linked user, update if neededCOMMENT
LOWpackages/control-plane/src/db/user-store.ts472 // Step 3: No identity found — try email-based cross-provider linkingCOMMENT
LOWpackages/control-plane/src/db/user-store.ts492 // Step 4: Brand new user — batch user + identity creation so a UNIQUECOMMENT
LOWpackages/control-plane/src/session/initialize.ts172 // Step 1: D1 index (must succeed before DO init starts sandbox warming)COMMENT
LOWpackages/control-plane/src/session/initialize.ts213 // Step 2: runtime initCOMMENT
Deep Nesting40 hits · 38 pts
SeverityFileLineSnippetContext
LOWpackages/modal-infra/src/web_api.py276CODE
LOWpackages/modal-infra/src/sandbox/tunnels.py121CODE
LOW…dbox-runtime/tests/test_opencode_reasoning_contract.py109CODE
LOW…dbox-runtime/tests/test_opencode_reasoning_contract.py268CODE
LOW…ckages/sandbox-runtime/tests/test_mcp_package_cache.py84CODE
LOW…es/sandbox-runtime/src/sandbox_runtime/mcp_packages.py33CODE
LOW…/sandbox-runtime/src/sandbox_runtime/push_operation.py30CODE
LOW…es/sandbox-runtime/src/sandbox_runtime/web_terminal.py90CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py121CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py361CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/supervisor.py651CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/event_size.py21CODE
LOW…dbox-runtime/src/sandbox_runtime/tunnel_environment.py57CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py309CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py473CODE
LOWpackages/sandbox-runtime/src/sandbox_runtime/bridge.py656CODE
LOW…ges/sandbox-runtime/src/sandbox_runtime/boot_attach.py179CODE
LOW…/sandbox-runtime/src/sandbox_runtime/docker_control.py71CODE
LOW…sandbox-runtime/src/sandbox_runtime/event_forwarder.py150CODE
LOW…sandbox-runtime/src/sandbox_runtime/repository_boot.py164CODE
LOW…/sandbox-runtime/src/sandbox_runtime/process_output.py33CODE
LOW…/sandbox-runtime/src/sandbox_runtime/process_output.py42CODE
LOW…ges/sandbox-runtime/src/sandbox_runtime/repo_config.py178CODE
LOW…ox-runtime/src/sandbox_runtime/shutdown_preparation.py61CODE
LOW…sandbox-runtime/src/sandbox_runtime/opencode_server.py297CODE
LOW…sandbox-runtime/src/sandbox_runtime/browser_desktop.py169CODE
LOW…/sandbox-runtime/src/sandbox_runtime/managed_skills.py404CODE
LOW…/sandbox-runtime/src/sandbox_runtime/managed_skills.py573CODE
LOW…ox-runtime/src/sandbox_runtime/harness/claude_tools.py486CODE
LOW…runtime/src/sandbox_runtime/harness/opencode_client.py160CODE
LOW…runtime/src/sandbox_runtime/harness/opencode_client.py205CODE
LOW…runtime/src/sandbox_runtime/harness/opencode_stream.py170CODE
LOW…runtime/src/sandbox_runtime/harness/opencode_stream.py312CODE
LOW…runtime/src/sandbox_runtime/harness/opencode_stream.py385CODE
LOW…runtime/src/sandbox_runtime/harness/opencode_stream.py610CODE
LOW…runtime/src/sandbox_runtime/harness/opencode_stream.py925CODE
LOW…untime/src/sandbox_runtime/harness/claude_translate.py173CODE
LOWpackages/sandbox-images/verify/smoke_test.py166CODE
LOWpackages/sandbox-images/verify/smoke_test.py69CODE
LOWpackages/sandbox-images/verify/smoke_test.py133CODE
Empty Error Handlers7 hits · 35 pts
SeverityFileLineSnippetContext
HIGH…es/sandbox-runtime/src/sandbox_runtime/mcp_packages.py168except FileNotFoundError:CODE
HIGH…/sandbox-runtime/src/sandbox_runtime/docker_control.py101except (Exception, asyncio.CancelledError):CODE
HIGH…ox-runtime/src/sandbox_runtime/shutdown_preparation.py82except OverflowError:CODE
HIGH…sandbox-runtime/src/sandbox_runtime/opencode_server.py524except httpx.ConnectError:CODE
HIGH…/sandbox-runtime/src/sandbox_runtime/managed_skills.py422except (OSError, UnicodeDecodeError):CODE
HIGH…-runtime/src/sandbox_runtime/harness/claude_logging.py139except Exception:CODE
HIGHpackages/sandbox-images/verify/smoke_test.py158except OSError:CODE
Cross-Language Confusion3 hits · 20 pts
SeverityFileLineSnippetContext
HIGH⚡packages/sandbox-runtime/tests/test_mcp.py243 "pkg && cat /etc/passwd",CODE
HIGH…ox-runtime/src/sandbox_runtime/harness/claude_tools.py530 # rejects JSON null, and ``draft`` omitted means "the repository's default".COMMENT
HIGHpackages/sandbox-images/verify/docker_smoke.py53 f"FROM {ROOTFS_IMAGE}\nRUN mkdir -p /www && printf {MARKER} > /www/marker\n"CODE
Self-Referential Comments6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMterraform/environments/aws-staging/.terraform.lock.hcl1# This file is maintained automatically by "terraform init".COMMENT
MEDIUMterraform/environments/production/.terraform.lock.hcl1# This file is maintained automatically by "terraform init".COMMENT
MEDIUM…raform/environments/aws-production/.terraform.lock.hcl1# This file is maintained automatically by "terraform init".COMMENT
MEDIUMterraform/modules/aws-control-plane/deploy.tf23 # Create the provider unless handed one. It is an account-wide singleton, soCOMMENT
MEDIUMterraform/modules/aws-control-plane/.terraform.lock.hcl1# This file is maintained automatically by "terraform init".COMMENT
MEDIUM…es/sandbox-runtime/tests/test_entrypoint_build_mode.py1315 # Create the directory so _update_existing_repo proceeds after clone.COMMENT
Modern Structural Boilerplate16 hits · 16 pts
SeverityFileLineSnippetContext
LOWpackages/modal-infra/deploy.py155__all__ = ["app"]CODE
LOWpackages/modal-infra/src/log_config.py5__all__ = ["StructuredLogger", "configure_logging", "get_logger"]CODE
LOWpackages/modal-infra/src/__init__.py8__all__ = ["app", "web_api"]CODE
LOWpackages/modal-infra/src/images/__init__.py5__all__ = ["base_image"]CODE
LOWpackages/modal-infra/src/sandbox/__init__.py10__all__ = [CODE
LOWpackages/modal-infra/src/sandbox/manager.py58__all__ = [CODE
LOWpackages/sandbox-runtime/tests/conftest.py103def set_prompt_limits(bridge: "AgentBridge", **overrides: float) -> None:CODE
LOWpackages/sandbox-runtime/tests/conftest.py196__all__ = [CODE
LOW…ages/sandbox-runtime/src/sandbox_runtime/event_size.py64def _set_arg(container: dict[str, Any] | list[Any], key: str | int, text: str) -> None:CODE
LOW…ckages/sandbox-runtime/src/sandbox_runtime/__init__.py19__all__ = [CODE
LOW…ges/sandbox-runtime/src/sandbox_runtime/git_signing.py209 async def _set_git_config(self, repository: Path, key: str, value: str) -> None:CODE
LOW…es/sandbox-runtime/src/sandbox_runtime/diff_capture.py211 async def _settle(self, attempt: _RefreshAttempt) -> None:CODE
LOW…sandbox-runtime/src/sandbox_runtime/opencode_server.py297 def _setup_managed_oauth(self) -> None:CODE
LOW…s/sandbox-runtime/src/sandbox_runtime/auth/__init__.py9__all__ = [CODE
LOW…andbox-runtime/src/sandbox_runtime/harness/__init__.py149__all__ = [CODE
LOWpackages/sandbox-images/src/sandbox_images/locks.py15def update_locks(root: Path, *, check: bool = False) -> None:CODE
Fake / Example Data16 hits · 16 pts
SeverityFileLineSnippetContext
LOWpackages/web/src/components/safe-markdown.tsx86 imageMode?: "omit" | "placeholder";CODE
LOWpackages/web/src/components/safe-markdown.tsx179 if (imageMode !== "placeholder") return null;CODE
LOWpackages/web/src/components/github-autofix-feedback.tsx132 imageMode="placeholder"CODE
LOWpackages/web/src/components/github-autofix-feedback.tsx257 imageMode="placeholder"CODE
LOW…ponents/settings/session-cost-settings-fields.test.tsx20 expect(screen.getByLabelText("Cost limit (USD)")).toHaveAttribute("placeholder", "Inherit");CODE
LOW…runtime/src/sandbox_runtime/plugins/xai-auth-plugin.js10const OAUTH_DUMMY_KEY = "opencode-oauth-dummy-key";CODE
LOW…ntime/src/sandbox_runtime/plugins/codex-auth-plugin.js20const OAUTH_DUMMY_KEY = "opencode-oauth-dummy-key";CODE
LOWpackages/shared/src/slack/resolve-users.test.ts65 real_name: "John Doe",CODE
LOWpackages/shared/src/slack/resolve-users.test.ts66 profile: { display_name: "", real_name: "John Doe" },CODE
LOWpackages/slack-bot/src/index.test.ts3264 real_name: "Jane Doe",CODE
LOW…ckages/slack-bot/src/sessions/session-launcher.test.ts64 email: "user@example.com",CODE
LOW…ne/test/integration/provider-account-atomicity.test.ts24 VALUES ('user-1', 'Test User', 'user@example.com', ?, ?)`CODE
LOW…e/test/integration/provider-account-foundation.test.ts123 VALUES ('user-1', 'Test User', 'user@example.com', ?, ?)`CODE
LOW…e/test/integration/provider-account-foundation.test.ts163 VALUES ('user-1', 'Test User', 'user@example.com', ?, ?)`CODE
LOW…e/test/integration/provider-account-foundation.test.ts199 VALUES ('user-1', 'Test User', 'user@example.com', ?, ?)`CODE
LOW…e/src/source-control/providers/github-provider.test.ts56 privateKey: "fake-key",CODE
Verbosity Indicators6 hits · 10 pts
SeverityFileLineSnippetContext
LOW⚡packages/control-plane/src/db/user-store.ts409 // Step 1: Look up by provider identityCOMMENT
LOW⚡packages/control-plane/src/db/user-store.ts413 // Step 2: Existing identity → load linked user, update if neededCOMMENT
LOWpackages/control-plane/src/db/user-store.ts472 // Step 3: No identity found — try email-based cross-provider linkingCOMMENT
LOWpackages/control-plane/src/db/user-store.ts492 // Step 4: Brand new user — batch user + identity creation so a UNIQUECOMMENT
LOWpackages/control-plane/src/session/initialize.ts172 // Step 1: D1 index (must succeed before DO init starts sandbox warming)COMMENT
LOWpackages/control-plane/src/session/initialize.ts213 // Step 2: runtime initCOMMENT
Docstring Block Structure1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH…s/sandbox-runtime/src/sandbox_runtime/auth/internal.py51 Verify an internal API token from the Authorization header. Token format: `Bearer timestamp.signature` where: STRING
Overly Generic Function Names3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…l-plane/test/integration/browser-auth-callback.test.ts25function handleRequest(CODE
LOW…trol-plane/test/integration/auth-sign-in-claim.test.ts28function handleRequest(CODE
LOW…rol-plane/test/integration/browser-auth-router.test.ts11function handleRequest(CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpackages/modal-infra/src/sandbox/manager.py305CODE