AI Slop Code RIsk Monitor

kubernetes-sigs/agent-sandbox

agent-sandbox enables easy management of isolated, stateful, singleton workloads, ideal for use cases like AI agent runtimes and reinforcement learning (RL).

15.1 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for kubernetes-sigs/agent-sandbox, a Go project with 4,218 GitHub stars. SynthScan examined 331,835 lines of code across 1557 source files, recording 4329 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 15.1 (Elevated 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.

15.1
Adjusted Signal
15.1
Raw Pattern Score
100%
Time Factor
2026-10-09
Last Push
4.2K
Stars
Go
Language
331.8K
Lines of Code
1.6K
Files
4.3K
Pattern Hits
2026-10-12
Scan Date
0.05
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 43.6/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 5.3/100 · LOW

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

Agent Over-Engineering Ratio 34.3/100 · MEDIUM

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

PR Review Velocity Impact 53.5/100 · HIGH

Which changes need focused human review? 4329 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 4HIGH 78MEDIUM 167LOW 4080

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 4329 distinct pattern matches across 25 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 Identifiers1986 hits · 1938 pts
SeverityFileLineSnippetContext
LOW…n/agentic-sandbox-client/test_podsnapshot_extension.py127def test_suspend_resume_new_sandbox(client, warmpool_name: str, namespace: str) -> None:CODE
LOW…n/agentic-sandbox-client/test_podsnapshot_extension.py174def test_timestamp_based_listing_and_deletion(sandbox, creation_time, suspend_third_snapshot_uid):CODE
LOW…n/agentic-sandbox-client/test_podsnapshot_extension.py238def test_restore_from_snapshot(sandbox, snapshot_uid: str):CODE
LOW…n/agentic-sandbox-client/test_podsnapshot_extension.py257def test_restore_fails_on_running_sandbox(sandbox, snapshot_uid: str):CODE
LOW…n/agentic-sandbox-client/test_podsnapshot_extension.py268def test_suspend_resume_restore_cycle(sandbox) -> tuple[str, str]:CODE
LOW⚡…n/agentic-sandbox-client/test_podsnapshot_extension.py395def display_prometheus_latency_metrics():CODE
LOW…/agentic-sandbox-client/test_computer_use_extension.py132 def test_agent_without_api_key(self):CODE
LOWclients/python/agentic-sandbox-client/test_client.py163def test_explicit_close_connection_and_persistence(client: SandboxClient, warmpool_name: str, namespace: str):CODE
LOWclients/python/agentic-sandbox-client/test_client.py187def test_creation_get_and_list_sandboxes(client: SandboxClient, warmpool_name: str, namespace: str) -> tuple[Sandbox, SaCODE
LOWclients/python/agentic-sandbox-client/test_client.py219def test_termination_and_deletion(client: SandboxClient, sandbox: Sandbox, sandbox2: Sandbox, namespace: str):CODE
LOWclients/python/agentic-sandbox-client/test_client.py334def test_volume_claim_templates(client: SandboxClient, warmpool_name: str, namespace: str):CODE
LOW…tic-sandbox-client/k8s_agent_sandbox/claim_adoption.py42def validate_claim_for_adoption(claim: dict | None, claim_name: str, warmpool: str) -> None:CODE
LOW⚡…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py382 def _delete_automatic_sandboxes(self) -> None:CODE
LOW…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py447 def get_sandbox_claim_warmpool_name(self, claim_name: str, namespace: str) -> str:CODE
LOW…hon/agentic-sandbox-client/k8s_agent_sandbox/models.py119 def validate_tls_requires_https(self) -> "SandboxDirectConnectionConfig":CODE
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py63async def _capture_streamed_error_body(response: httpx.Response) -> None:CODE
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py87def _router_timeout_header_value(timeout) -> str | None:CODE
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py508 def should_inject_router_headers(self) -> bool:CODE
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py550 async def invalidate_sandboxd_transport(CODE
LOW…thon/agentic-sandbox-client/k8s_agent_sandbox/utils.py73def construct_sandbox_claim_lifecycle_spec(shutdown_after_seconds: int) -> dict[str, str]:CODE
LOW…thon/agentic-sandbox-client/k8s_agent_sandbox/utils.py174def is_valid_gateway_hostname(s: str) -> bool:CODE
LOW…thon/agentic-sandbox-client/k8s_agent_sandbox/utils.py202def extract_sandbox_name_hash(sandbox_object: dict[str, Any]) -> str | None:CODE
LOW…thon/agentic-sandbox-client/k8s_agent_sandbox/utils.py213def construct_sandbox_claim_env_spec(env: Mapping[str, str] | None) -> list[SandboxClaimEnvVar]:CODE
LOW…thon/agentic-sandbox-client/k8s_agent_sandbox/utils.py224def kubeconfig_from_configuration(CODE
LOW…thon/agentic-sandbox-client/k8s_agent_sandbox/utils.py324async def async_kubectl_kubeconfig_args(api_client: Any | None) -> AsyncIterator[list[str]]:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py64def _capture_streamed_error_body(response: requests.Response) -> None:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py89def _router_timeout_header_value(timeout) -> str | None:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py126 def should_inject_router_headers(self) -> bool:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py148 def should_inject_router_headers(self) -> bool:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py187 def should_inject_router_headers(self) -> bool:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py221 def _preflight_check_router_service(self, kube_args: list[str] | None = None) -> None:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py372 def should_inject_router_headers(self) -> bool:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py509 def should_inject_router_headers(self) -> bool:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py565 def should_inject_router_headers(self) -> bool:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py615 def should_inject_router_headers(self) -> bool:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py759 def invalidate_sandboxd_transport(CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py64def _sync_configuration_from_async(async_configuration) -> sync_client.Configuration:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py87def _refresh_api_key_for_atexit(refresh_api_key_hook, sync_configuration) -> None:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py514 async def _delete_automatic_sandboxes(self) -> None:CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py71 def test_connect_returns_correct_dns_url(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py75 def test_connect_uses_custom_port(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py80 def test_connect_is_idempotent(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py83 def test_does_not_inject_router_headers(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py86 def test_verify_connection_does_not_raise(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py89 def test_close_does_not_raise(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py92 def test_connect_uses_pod_ip_when_callable_provided(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py97 def test_connect_falls_back_to_dns_when_callable_returns_none(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py102 def test_connect_uses_dns_when_no_callable(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py107 def test_connect_pod_ip_uses_custom_port(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py112 def test_connect_caches_pod_ip_until_close(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py189 def test_pod_mode_missing_ip_never_falls_back(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py198 def test_pod_status_read_error_does_not_reuse_old_target(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py208 def test_rest_request_uses_direct_endpoint_without_router_headers(self, popen):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py371 def test_direct_injects_headers(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py375 def test_gateway_injects_headers(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py382 def test_local_tunnel_injects_headers(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py391 def test_local_tunnel_retains_process_when_terminate_fails(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py569 def test_selects_in_cluster_strategy(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py574 def test_selects_direct_strategy(self):CODE
LOW⚡…x-client/k8s_agent_sandbox/test/unit/test_connector.py579 def test_raises_on_unknown_config_type(self):CODE
1926 more matches not shown…
Over-Commented Block1234 hits · 1212 pts
SeverityFileLineSnippetContext
LOWcodegen.go1// Copyright 2025 The Kubernetes Authors.COMMENT
LOWcodegen.go21//go:generate go tool -modfile=tools.mod sigs.k8s.io/controller-tools/cmd/controller-gen object crd:maxDescLen=0 paths=.COMMENT
LOWclients/go/sandbox/tracing_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/podtunnel.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/sandboxd_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/gateway.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/sandbox_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/files.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/files.go181 }COMMENT
LOWclients/go/sandbox/tracing.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/options.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/options.go61 // or over a port-forward (default), see Connectivity.COMMENT
LOWclients/go/sandbox/options.go81 // and, for RuntimeLegacyPython, the sandbox-router, off the data path.COMMENT
LOWclients/go/sandbox/options.go121 // Runtime selects the in-sandbox runtime API. Default: RuntimeLegacyPython.COMMENT
LOWclients/go/sandbox/options.go161 // bypassing gateway discovery. Takes precedence over GatewayName.COMMENT
LOWclients/go/sandbox/options.go201COMMENT
LOWclients/go/sandbox/options.go221COMMENT
LOWclients/go/sandbox/options.go241 // TraceServiceName is the OpenTelemetry service name used for the tracer'sCOMMENT
LOWclients/go/sandbox/tunnel.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/commands_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/types.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/strategy.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/incluster_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/client.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/client.go161// trackOrAdoptRace resolves the registry race that both CreateSandbox andCOMMENT
LOWclients/go/sandbox/incluster.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/incluster.go21 "strconv"COMMENT
LOWclients/go/sandbox/connector.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/testmain_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/files_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/ip.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/connector_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/ip_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/sandbox.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/integration_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/client_test.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/commands.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/sandbox/commands.go41 log logr.LoggerCOMMENT
LOWclients/go/sandbox/k8s.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/examples/basic/main.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOWclients/go/examples/gateway/main.go1// Copyright 2026 The Kubernetes Authors.COMMENT
LOW…n/agentic-sandbox-client/test_podsnapshot_extension.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…/agentic-sandbox-client/test_computer_use_extension.py1# Copyright 2025 The Kubernetes Authors.COMMENT
LOWclients/python/agentic-sandbox-client/test_client.py1# Copyright 2025 The Kubernetes Authors.COMMENT
LOW…tic-sandbox-client/k8s_agent_sandbox/claim_adoption.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…on/agentic-sandbox-client/k8s_agent_sandbox/metrics.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…hon/agentic-sandbox-client/k8s_agent_sandbox/models.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…/agentic-sandbox-client/k8s_agent_sandbox/constants.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…entic-sandbox-client/k8s_agent_sandbox/pod_metadata.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…c-sandbox-client/k8s_agent_sandbox/async_k8s_helper.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py1# Copyright 2025 The Kubernetes Authors.COMMENT
LOW…ntic-sandbox-client/k8s_agent_sandbox/async_sandbox.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…ntic-sandbox-client/k8s_agent_sandbox/trace_manager.py1# Copyright 2025 The Kubernetes Authors.COMMENT
LOW…on/agentic-sandbox-client/k8s_agent_sandbox/sandbox.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…thon/agentic-sandbox-client/k8s_agent_sandbox/utils.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…ntic-sandbox-client/k8s_agent_sandbox/metrics_utils.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py1# Copyright 2026 The Kubernetes Authors.COMMENT
LOW…agentic-sandbox-client/k8s_agent_sandbox/exceptions.py1# Copyright 2026 The Kubernetes Authors.COMMENT
1174 more matches not shown…
Excessive Try-Catch Wrapping312 hits · 345 pts
SeverityFileLineSnippetContext
LOW⚡…n/agentic-sandbox-client/test_podsnapshot_extension.py381 except Exception as e:CODE
LOW⚡…n/agentic-sandbox-client/test_podsnapshot_extension.py386 except Exception as metrics_err:CODE
LOW…/agentic-sandbox-client/test_computer_use_extension.py35 except Exception as e:CODE
LOWclients/python/agentic-sandbox-client/test_client.py482 except Exception as e:STRING
LOWclients/python/agentic-sandbox-client/test_client.py561 except Exception as e:STRING
LOW…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py232 except Exception:CODE
LOW…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py238 except Exception as cleanup_error:CODE
LOW…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py280 except Exception as e:CODE
LOW…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py360 except Exception as e:CODE
LOW⚡…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py377 except Exception as e:CODE
LOW⚡…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py390 except Exception as e:CODE
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py82 except Exception:CODE
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py228 except Exception:CODE
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py355 except Exception as e:CODE
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py574 except Exception:CODE
LOW…ntic-sandbox-client/k8s_agent_sandbox/async_sandbox.py198 except Exception as e:CODE
LOW…ntic-sandbox-client/k8s_agent_sandbox/trace_manager.py151 except Exception:CODE
LOW…on/agentic-sandbox-client/k8s_agent_sandbox/sandbox.py193 except Exception as e:CODE
LOW…thon/agentic-sandbox-client/k8s_agent_sandbox/utils.py59 except Exception as e:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py84 except Exception:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py174 except Exception:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py261 except Exception as e:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py337 except Exception:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py358 except Exception as e:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py475 except Exception:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py496 except Exception as e:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py744 except Exception:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py782 except Exception:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py792 except Exception:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py813 except Exception:CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py897 except Exception as e:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py97 except Exception as e:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py222 except Exception as e:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py363 except Exception as cleanup_error:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py437 except Exception as e:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py498 except Exception as e:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py511 except Exception as e:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py544 except Exception as e:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py571 except Exception as e:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py578 except Exception as e:CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py168 except Exception as e:CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py224 except Exception as e:CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py268 except Exception as e:CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py280 except Exception as e:CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py331 except Exception as e:CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py344 except Exception as e:CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py432 except Exception as e:CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py451 except Exception as e:CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py551 except Exception as e:CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py141 except Exception as e:CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py209 except Exception as e:CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py269 except Exception as e:CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py367 except Exception as e:CODE
LOW…nt_sandbox/gke_extensions/snapshots/snapshot_engine.py215 except Exception as e:CODE
LOW…nt_sandbox/gke_extensions/snapshots/snapshot_engine.py257 except Exception as e:CODE
LOW…nt_sandbox/gke_extensions/snapshots/snapshot_engine.py397 except Exception as e:CODE
LOW…nt_sandbox/gke_extensions/snapshots/snapshot_engine.py512 except Exception as e:CODE
LOW…c-sandbox-client/k8s_agent_sandbox/files/filesystem.py377 except Exception as ex:CODE
LOW…c-sandbox-client/k8s_agent_sandbox/files/filesystem.py389 except Exception as e:CODE
LOW…box-client/k8s_agent_sandbox/files/async_filesystem.py305 except Exception as e:CODE
252 more matches not shown…
Structural Annotation Overuse148 hits · 246 pts
SeverityFileLineSnippetContext
LOW…ypescript/agentic-sandbox-client/src/sandbox-client.ts1638 // Step 1: Resolve actual sandbox name from claim statusCOMMENT
LOW…ypescript/agentic-sandbox-client/src/sandbox-client.ts1654 // Step 2: Watch sandbox with remaining budgetCOMMENT
LOWdocs/prowjob_manual_run.md46#### Step 1: Trigger the JobCOMMENT
LOWdocs/prowjob_manual_run.md55#### Step 2: Identify the PodCOMMENT
LOWdocs/prowjob_manual_run.md66#### Step 3: Monitor ExecutionCOMMENT
LOWdocs/prowjob_manual_run.md75#### Step 4: Verify ResultsCOMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go3588 // Step 1: First Ready transition. Metrics recorded, Patch fails.COMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go3600 // Step 2: Mid-flap — claim went not-Ready, but was previously Ready.COMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go3616 // Step 3: Flap back to Ready — newReady=True, oldReady=False.COMMENT
LOW⚡extensions/controllers/sandboxclaim_controller_test.go4404 // Step 1: CreateFunc → entry addedCOMMENT
LOW⚡extensions/controllers/sandboxclaim_controller_test.go4408 // Step 2: First reconcile → Not-Ready → Ready transition → entry cleaned.COMMENT
LOW⚡extensions/controllers/sandboxclaim_controller_test.go4410 // Step 3: Post-Ready UpdateFuncCOMMENT
LOW⚡extensions/controllers/sandboxclaim_controller_test.go4414 // Step 4: Reconcile with old=Ready, new=ReadyCOMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go5428 // Step 1: Reconcile without templateCOMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go5464 // Step 2: Create template and reconcile againCOMMENT
LOW⚡examples/kata-gke-sandbox/setup.sh67echo "### Step 1: Creating/Checking GKE Cluster ###"CODE
LOWexamples/kata-gke-sandbox/setup.sh97echo "### Step 2: Installing the Kata Infrastructure ###"CODE
LOWexamples/kata-gke-sandbox/setup.sh119echo "### Step 3: Registering the RuntimeClass ###"CODE
LOW⚡examples/kata-gke-sandbox/README.md27## Step 1: Run the Setup ScriptCOMMENT
LOW⚡examples/kata-gke-sandbox/README.md34## Step 2: Install the Agent Sandbox ControllerCOMMENT
LOW⚡examples/kata-gke-sandbox/README.md38## Step 3: Deploy an Agent SandboxCOMMENT
LOWexamples/kata-gke-sandbox/README.md67## Step 4: Verify the Sandbox is RunningCOMMENT
LOWexamples/kata-gke-sandbox/README.md83## Step 5: Verify the IsolationCOMMENT
LOW⚡…ti-cluster-fleet/python/agent_sandbox_fleet/planner.py411 # Step 3: split global budget across CHOSEN clusters, weightedCOMMENT
LOW⚡…ti-cluster-fleet/python/agent_sandbox_fleet/planner.py417 # Step 4: size each poolCOMMENT
LOW…ti-cluster-fleet/python/agent_sandbox_fleet/planner.py319 # Step 1: pick placement mode.COMMENT
LOW⚡examples/firecracker-sandbox/setup.sh62# Step 1: Verify KVM supportCOMMENT
LOW⚡examples/firecracker-sandbox/setup.sh92# Step 2: Install Kata Containers with Firecracker via kata-deployCOMMENT
LOW⚡examples/firecracker-sandbox/setup.sh115# Step 3: Register the kata-fc RuntimeClassCOMMENT
LOW⚡examples/firecracker-sandbox/setup.sh134# Step 4: Label nodesCOMMENT
LOW⚡examples/firecracker-sandbox/setup.sh156# Step 5: Verify installationCOMMENT
LOW⚡examples/firecracker-sandbox/setup.sh64echo "### Step 1: Verifying KVM support ###"CODE
LOW⚡examples/firecracker-sandbox/setup.sh87 echo "### Step 1: Skipped (--skip-kvm-check) ###"CODE
LOW⚡examples/firecracker-sandbox/setup.sh95 echo "### Step 2: Installing Kata Containers (kata-deploy) ###"CODE
LOW⚡examples/firecracker-sandbox/setup.sh111 echo "### Step 2: Skipped (--no-install) ###"CODE
LOW⚡examples/firecracker-sandbox/setup.sh117echo "### Step 3: Registering RuntimeClass '${RUNTIME_CLASS_NAME}' ###"CODE
LOW⚡examples/firecracker-sandbox/setup.sh137 echo "### Step 4: Labeling all Linux nodes with ${NODE_LABEL_KEY}=${NODE_LABEL_VALUE} ###"CODE
LOW⚡examples/firecracker-sandbox/setup.sh152 echo "### Step 4: Skipped (--no-label) ###"CODE
LOW⚡examples/firecracker-sandbox/setup.sh158echo "### Step 5: Verifying installation ###"CODE
LOWexamples/ray-integration/README.md162### Step 1: Deploy the GatewayCOMMENT
LOWexamples/ray-integration/README.md181### Step 2: Wait for the Public IPCOMMENT
LOWexamples/ray-integration/README.md194### Step 3: Upgrade the Python CodeCOMMENT
LOWexamples/ray-integration/direct-proxy/README.md48### Step 1: Prepare and Push the Sandbox ImageCOMMENT
LOWexamples/ray-integration/direct-proxy/README.md67### Step 2: Deploy InfrastructureCOMMENT
LOWexamples/ray-integration/direct-proxy/README.md81### Step 3: Initialize KubeRay OperatorCOMMENT
LOW⚡examples/ray-integration/direct-proxy/README.md95### Step 4: Apply RBAC Permissions for the Ray WorkersCOMMENT
LOW⚡examples/ray-integration/direct-proxy/README.md105### Step 5: Deploy Sandbox WarmPool InfrastructureCOMMENT
LOW⚡examples/ray-integration/direct-proxy/README.md114### Step 6: Create the RL Training Source ConfigMapCOMMENT
LOW⚡examples/ray-integration/direct-proxy/README.md121### Step 7: Submit the Production RayJobCOMMENT
LOW⚡examples/ray-integration/direct-proxy/README.md129### Step 8: Verify the E2E Execution LogsCOMMENT
LOWexamples/quickstart/gvisor.md11## Step 1: Install gVisor RuntimeCOMMENT
LOWexamples/quickstart/gvisor.md15## Step 2: Create KIND Cluster with gVisorCOMMENT
LOWexamples/quickstart/README.md26## Step 1: Clone the Agent Sandbox RepositoryCOMMENT
LOWexamples/quickstart/README.md43## Step 2: Create Kubernetes ClusterCOMMENT
LOWexamples/quickstart/README.md56## Step 3: Install Agent Sandbox ControllerCOMMENT
LOWexamples/quickstart/README.md76## Step 4: Apply SandboxTemplateCOMMENT
LOWexamples/quickstart/README.md90## Step 5: Create SandboxWarmPoolCOMMENT
LOWexamples/quickstart/README.md146## Step 6: Build and Deploy RouterCOMMENT
LOWexamples/quickstart/README.md160## Step 7: Load Router Image and Deploy RouterCOMMENT
LOWexamples/quickstart/README.md225## Step 8: Install Python SDKCOMMENT
88 more matches not shown…
Empty Error Handlers44 hits · 220 pts
SeverityFileLineSnippetContext
HIGH…ic-sandbox-client/k8s_agent_sandbox/async_connector.py794except (OSError, ProcessLookupError):CODE
HIGH…ic-sandbox-client/k8s_agent_sandbox/async_connector.py799except (OSError, ProcessLookupError):CODE
HIGH…ntic-sandbox-client/k8s_agent_sandbox/trace_manager.py151except Exception:CODE
HIGH…/agentic-sandbox-client/k8s_agent_sandbox/connector.py744except Exception:CODE
HIGH…/agentic-sandbox-client/k8s_agent_sandbox/connector.py782except Exception:CODE
HIGH…/agentic-sandbox-client/k8s_agent_sandbox/connector.py813except Exception:CODE
HIGH…gentic-sandbox-client/sandbox-router/sandbox_router.py584except ConnectionClosed:CODE
HIGH…gentic-sandbox-client/sandbox-router/sandbox_router.py618except asyncio.CancelledError:CODE
HIGH…gentic-sandbox-client/sandbox-router/sandbox_router.py625except (WebSocketDisconnect, ConnectionClosed):CODE
HIGH…gentic-sandbox-client/sandbox-router/sandbox_router.py631except RuntimeError:CODE
HIGH…gentic-sandbox-client/sandbox-router/sandbox_router.py635except Exception:CODE
HIGH…gentic-sandbox-client/sandbox-router/sandbox_router.py640except RuntimeError:CODE
HIGH…gentic-sandbox-client/sandbox-router/sandbox_router.py644except Exception:CODE
HIGH…gentic-sandbox-client/sandbox-router/sandbox_router.py652except RuntimeError:CODE
HIGH…gentic-sandbox-client/sandbox-router/sandbox_router.py658except Exception:CODE
HIGH…ons/deepagents/deepagents_k8s_agent_sandbox/sandbox.py246except FileNotFoundError:CODE
HIGHclients/integrations/openai/tests/fake_k8s.py272except Exception:CODE
HIGHtest/stress/generate-report/download_results.py62except ImportError:CODE
HIGH…uster-fleet/python/agent_sandbox_fleet/fleet_member.py894except ValueError:CODE
HIGH…i-cluster-fleet/python/agent_sandbox_fleet/resolver.py748except k8s_config.ConfigException:CODE
HIGHexamples/langchain/coding_agent.py86except OSError:CODE
HIGHexamples/langchain/coding_agent.py76except ProcessLookupError:CODE
HIGHexamples/firecracker-sandbox/main.py131except ValueError:CODE
HIGHexamples/firecracker-sandbox/main.py138except ValueError:CODE
HIGHexamples/firecracker-sandbox/main.py123except ValueError:CODE
HIGHexamples/firecracker-sandbox/main.py240except (ProcessLookupError, OSError):CODE
HIGH…/agent-sandbox-rl/tests/run_full_swebench_benchmark.py190except Exception: # noqa: BLE001 — best-effortCODE
HIGHexamples/agent-sandbox-rl/agent_sandbox_rl/handles.py152except Exception: # noqa: BLE001CODE
HIGHexamples/agent-sandbox-rl/agent_sandbox_rl/handles.py156except Exception: # noqa: BLE001CODE
HIGHexamples/agent-sandbox-rl/agent_sandbox_rl/fleet.py210except Exception: # noqa: BLE001 (SDK without tracing support)CODE
HIGHexamples/agent-sandbox-rl/agent_sandbox_rl/fleet.py590except Exception: # noqa: BLE001 — diagnostics onlyCODE
HIGHexamples/agent-sandbox-rl/agent_sandbox_rl/fleet.py160except Exception: # noqa: BLE001 — a non-standard registry may differ; best-effortCODE
HIGHexamples/agent-sandbox-rl/agent_sandbox_rl/fleet.py1638except Exception: # noqa: BLE001CODE
HIGHexamples/agent-sandbox-rl/agent_sandbox_rl/fleet.py1655except Exception: # noqa: BLE001CODE
HIGHexamples/agent-sandbox-rl/agent_sandbox_rl/fleet.py173except Exception: # noqa: BLE001 — best-effort, as aboveCODE
HIGH…les/agent-sandbox-rl/agent_sandbox_rl/observability.py127except Exception: # pragma: no coverCODE
HIGH…les/agent-sandbox-rl/agent_sandbox_rl/observability.py284except Exception: # pragma: no coverCODE
HIGH…les/agent-sandbox-rl/agent_sandbox_rl/observability.py257except Exception: # pragma: no coverCODE
HIGH…mples/agent-sandbox-rl/agent_sandbox_rl/async_fleet.py105except Exception: # pragma: no cover - best-effort at finalizationCODE
HIGHexamples/agent-sandbox-rl/agent_sandbox_rl/resources.py722except Exception: # noqa: BLE001 — diagnostics onlyCODE
HIGHexamples/agent-sandbox-rl/agent_sandbox_rl/recycle.py233except ValueError:CODE
HIGH…les/ray-integration/direct-proxy/rl_production_loop.py95except (TypeError, ValueError):CODE
HIGHexamples/python-runtime-sandbox/main.py111except (ProcessLookupError, OSError):CODE
HIGHdev/tools/shared/utils.py112except OSError:CODE
Unused Imports230 hits · 200 pts
SeverityFileLineSnippetContext
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py15CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py16CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py17CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py17CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py18CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py18CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py18CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py18CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py18CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py18CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py18CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py18CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py18CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py18CODE
LOW…n/agentic-sandbox-client/k8s_agent_sandbox/__init__.py33CODE
LOW…ntic-sandbox-client/k8s_agent_sandbox/trace_manager.py31CODE
LOW…ient/k8s_agent_sandbox/test/unit/test_sandboxclient.py21CODE
LOW…ox-client/k8s_agent_sandbox/test/unit/test_sandboxd.py222CODE
LOW…ent/k8s_agent_sandbox/_proto/process/v1/process_pb2.py39CODE
LOW…k8s_agent_sandbox/gke_extensions/snapshots/__init__.py15CODE
LOW…ox-client/k8s_agent_sandbox/commands/_process_stubs.py35CODE
LOW…ox-client/k8s_agent_sandbox/commands/_process_stubs.py35CODE
LOW…ions/gymnasium/k8s_agent_sandbox_gymnasium/__init__.py15CODE
LOW…ions/gymnasium/k8s_agent_sandbox_gymnasium/__init__.py16CODE
LOW…ions/gymnasium/k8s_agent_sandbox_gymnasium/__init__.py17CODE
LOW…ions/gymnasium/k8s_agent_sandbox_gymnasium/__init__.py17CODE
LOW…ions/gymnasium/k8s_agent_sandbox_gymnasium/__init__.py17CODE
LOW…ions/gymnasium/k8s_agent_sandbox_gymnasium/__init__.py17CODE
LOW…ions/gymnasium/k8s_agent_sandbox_gymnasium/__init__.py23CODE
LOW…ions/gymnasium/k8s_agent_sandbox_gymnasium/__init__.py24CODE
LOW…ations/nemo-gym/nemo_gym_k8s_agent_sandbox/provider.py84CODE
LOW…ations/nemo-gym/nemo_gym_k8s_agent_sandbox/__init__.py16CODE
LOW…ations/nemo-gym/nemo_gym_k8s_agent_sandbox/__init__.py16CODE
LOW…ations/nemo-gym/nemo_gym_k8s_agent_sandbox/__init__.py16CODE
LOW…ations/nemo-gym/nemo_gym_k8s_agent_sandbox/__init__.py16CODE
LOW…ations/nemo-gym/nemo_gym_k8s_agent_sandbox/__init__.py16CODE
LOW…ations/nemo-gym/nemo_gym_k8s_agent_sandbox/__init__.py16CODE
LOW…ations/nemo-gym/nemo_gym_k8s_agent_sandbox/__init__.py16CODE
LOW…ations/nemo-gym/nemo_gym_k8s_agent_sandbox/__init__.py16CODE
LOW…ations/nemo-gym/nemo_gym_k8s_agent_sandbox/__init__.py16CODE
LOWclients/integrations/mcp-server/tests/unit/conftest.py15CODE
LOW…-server/tests/unit/test_settings/test_env_variables.py15CODE
LOW…-server/k8s_agent_sandbox_mcp_server/tools/__init__.py15CODE
LOW…-server/k8s_agent_sandbox_mcp_server/tools/__init__.py16CODE
LOW…-server/k8s_agent_sandbox_mcp_server/tools/__init__.py17CODE
LOW…-server/k8s_agent_sandbox_mcp_server/tools/__init__.py18CODE
LOW…-server/k8s_agent_sandbox_mcp_server/tools/__init__.py19CODE
LOW…-server/k8s_agent_sandbox_mcp_server/tools/__init__.py20CODE
LOW…-server/k8s_agent_sandbox_mcp_server/tools/__init__.py21CODE
LOW…-server/k8s_agent_sandbox_mcp_server/tools/__init__.py22CODE
LOW…ver/k8s_agent_sandbox_mcp_server/resources/__init__.py15CODE
LOWclients/integrations/openhands/example.py103CODE
LOW…ions/openhands/openhands_k8s_agent_sandbox/__init__.py17CODE
LOW…ons/openhands/openhands_k8s_agent_sandbox/workspace.py30CODE
LOW…ns/deepagents/deepagents_k8s_agent_sandbox/__init__.py15CODE
LOWclients/integrations/openai/tests/fake_k8s.py40CODE
LOWclients/integrations/openai/tests/conftest.py17CODE
LOWclients/integrations/openai/tests/support.py17CODE
LOWclients/integrations/openai/tests/test_prototype.py22CODE
LOWclients/integrations/openai/tests/test_file_transfer.py22CODE
170 more matches not shown…
Decorative Section Separators60 hits · 189 pts
SeverityFileLineSnippetContext
MEDIUM…gymnasium/k8s_agent_sandbox_gymnasium/gymnasium_env.py100 # ── Gymnasium API ──────────────────────────────────────────────────────────COMMENT
MEDIUM…gymnasium/k8s_agent_sandbox_gymnasium/gymnasium_env.py182 # ── Internals ─────────────────────────────────────────────────────────────COMMENT
MEDIUMexamples/multi-cluster-fleet/demo/stress-e2e.py85# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/multi-cluster-fleet/demo/stress-e2e.py87# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/multi-cluster-fleet/demo/stress-e2e.py127# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/multi-cluster-fleet/demo/stress-e2e.py129# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/multi-cluster-fleet/demo/stress-e2e.py205# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/multi-cluster-fleet/demo/stress-e2e.py207# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/multi-cluster-fleet/demo/stress-e2e.py276# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/multi-cluster-fleet/demo/stress-e2e.py278# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…mples/multi-cluster-fleet/python/tests/test_planner.py639# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…mples/multi-cluster-fleet/python/tests/test_planner.py641# ---------------------------------------------------------------------------COMMENT
MEDIUM…uster-fleet/python/agent_sandbox_fleet/fleet_member.py73# ----------------------------------------------------------------------------COMMENT
MEDIUM…uster-fleet/python/agent_sandbox_fleet/fleet_member.py77# ----------------------------------------------------------------------------COMMENT
MEDIUM…uster-fleet/python/agent_sandbox_fleet/fleet_member.py116# ----------------------------------------------------------------------------COMMENT
MEDIUM…uster-fleet/python/agent_sandbox_fleet/fleet_member.py119# ----------------------------------------------------------------------------COMMENT
MEDIUM…uster-fleet/python/agent_sandbox_fleet/fleet_member.py222# ----------------------------------------------------------------------------COMMENT
MEDIUM…uster-fleet/python/agent_sandbox_fleet/fleet_member.py224# ----------------------------------------------------------------------------COMMENT
MEDIUM…uster-fleet/python/agent_sandbox_fleet/fleet_member.py998# ----------------------------------------------------------------------------COMMENT
MEDIUM…uster-fleet/python/agent_sandbox_fleet/fleet_member.py1001# ----------------------------------------------------------------------------COMMENT
MEDIUM…uster-fleet/python/agent_sandbox_fleet/fleet_member.py1059# ----------------------------------------------------------------------------COMMENT
MEDIUM…uster-fleet/python/agent_sandbox_fleet/fleet_member.py1061# ----------------------------------------------------------------------------COMMENT
MEDIUM…i-cluster-fleet/python/agent_sandbox_fleet/resolver.py64# ----------------------------------------------------------------------------COMMENT
MEDIUM…i-cluster-fleet/python/agent_sandbox_fleet/resolver.py66# ----------------------------------------------------------------------------COMMENT
MEDIUM…i-cluster-fleet/python/agent_sandbox_fleet/resolver.py96# ----------------------------------------------------------------------------COMMENT
MEDIUM…i-cluster-fleet/python/agent_sandbox_fleet/resolver.py98# ----------------------------------------------------------------------------COMMENT
MEDIUM…i-cluster-fleet/python/agent_sandbox_fleet/resolver.py141# ----------------------------------------------------------------------------COMMENT
MEDIUM…i-cluster-fleet/python/agent_sandbox_fleet/resolver.py143# ----------------------------------------------------------------------------COMMENT
MEDIUM…i-cluster-fleet/python/agent_sandbox_fleet/resolver.py443# ----------------------------------------------------------------------------COMMENT
MEDIUM…i-cluster-fleet/python/agent_sandbox_fleet/resolver.py445# ----------------------------------------------------------------------------COMMENT
MEDIUMexamples/firecracker-sandbox/test_client.py41# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/firecracker-sandbox/test_client.py43# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡examples/firecracker-sandbox/test_client.py63# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡examples/firecracker-sandbox/test_client.py65# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/firecracker-sandbox/test_client.py136# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/firecracker-sandbox/test_client.py138# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/firecracker-sandbox/main.py60# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/firecracker-sandbox/main.py62# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/firecracker-sandbox/main.py85# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/firecracker-sandbox/main.py87# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/firecracker-sandbox/main.py148# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/firecracker-sandbox/main.py150# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/ray-integration/rl_poc_local.py84 # ==========================================COMMENT
MEDIUMexamples/ray-integration/rl_poc_local.py86 # ==========================================COMMENT
MEDIUMexamples/ray-integration/rl_poc_prod.py83 # ==========================================COMMENT
MEDIUMexamples/ray-integration/rl_poc_prod.py85 # ==========================================COMMENT
MEDIUM…/ray-integration/direct-proxy/ray-autopilot-setup.yaml77 # ==============================================================================COMMENT
MEDIUM…/ray-integration/direct-proxy/ray-autopilot-setup.yaml80 # ==============================================================================COMMENT
MEDIUM…les/ray-integration/direct-proxy/rl_production_loop.py19# ==============================================================================COMMENT
MEDIUM…les/ray-integration/direct-proxy/rl_production_loop.py26# ==============================================================================COMMENT
MEDIUMexamples/envd-sandbox/test_client.py34# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/envd-sandbox/test_client.py36# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡examples/envd-sandbox/test_client.py56# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡examples/envd-sandbox/test_client.py58# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/envd-sandbox/test_client.py127# ---------------------------------------------------------------------------COMMENT
MEDIUMexamples/envd-sandbox/test_client.py129# ---------------------------------------------------------------------------COMMENT
MEDIUMdev/tools/push_images_test.py57# ---------------------------------------------------------------------------COMMENT
MEDIUMdev/tools/push_images_test.py59# ---------------------------------------------------------------------------COMMENT
MEDIUMdev/tools/push_images_test.py312# ---------------------------------------------------------------------------COMMENT
MEDIUMdev/tools/push_images_test.py314# ---------------------------------------------------------------------------COMMENT
Modern AI Meta-Vocabulary44 hits · 107 pts
SeverityFileLineSnippetContext
MEDIUMclients/go/examples/gateway/main.go31 // See clients/python/agentic-sandbox-client/sandbox-router/gateway.yaml forCOMMENT
MEDIUMclients/python/agentic-sandbox-client/README.md80 pip install "git+https://github.com/kubernetes-sigs/agent-sandbox.git@${VERSION}#subdirectory=clients/python/ageCODE
MEDIUMclients/python/agentic-sandbox-client/README.md80 pip install "git+https://github.com/kubernetes-sigs/agent-sandbox.git@${VERSION}#subdirectory=clients/python/ageCODE
MEDIUM…erver/k8s_agent_sandbox_mcp_server/tools/list_files.py36# thousands of entries being serialized into an LLM's context window,COMMENT
MEDIUMcmd/agent-sandbox-controller/main.go50 //+kubebuilder:scaffold:importsCOMMENT
MEDIUMcmd/agent-sandbox-controller/main.go569 //+kubebuilder:scaffold:builderCOMMENT
MEDIUM.agents/skills/triage-issues/evals/eval_runner.py137 # Default P3 (Nice-to-have, cleanup, refactor, test scaffolding)COMMENT
MEDIUMolm/config/scorecard/kustomization.yaml18# +kubebuilder:scaffold:patchesCOMMENT
MEDIUMdocs/keps/359-refactor-python-sdk/README.md1292. Sandbox Manager POC: https://github.com/SHRUTI6991/agent-sandbox-initial-playing/tree/two-clients/clients/python/agenCODE
MEDIUMexamples/kata-aks/router.yaml85 # See clients/python/agentic-sandbox-client/sandbox-router/sandbox_router.yamlCOMMENT
MEDIUMexamples/code-interpreter-agent-on-adk/README.md20 pip install google-adk==1.19.0 "git+https://github.com/kubernetes-sigs/agent-sandbox.git@${VERSION}#subdirectory=clieCODE
MEDIUMexamples/code-interpreter-agent-on-adk/README.md20 pip install google-adk==1.19.0 "git+https://github.com/kubernetes-sigs/agent-sandbox.git@${VERSION}#subdirectory=clieCODE
MEDIUM…/podsnapshot-golden-warmpool/05-podsnapshotpolicy.yaml4# clients/python/agentic-sandbox-client/k8s_agent_sandbox/gke_extensions/snapshots/README.md:COMMENT
MEDIUMexamples/agent-sandbox-rl/docs/design.md1# Design: `agent-sandbox-rl` — generic, multi-cluster batch orchestration for RL on Agent SandboxCOMMENT
MEDIUMexamples/agent-sandbox-rl/examples/rl_integration.md186### Training loop (agentic GRPO): warm + recycle envCOMMENT
MEDIUM…emo-cilium-egress/manifests/router/sandbox-router.yaml2# Adapted from clients/python/agentic-sandbox-client/sandbox-router/sandbox_router.yamlCOMMENT
MEDIUMexamples/ray-integration/README.md54(Note: Ensure you have built and replaced the `${ROUTER_IMAGE}` placeholder in sandbox_router.yaml as per the [router doCODE
MEDIUMexamples/ray-integration/direct-proxy/README.md30# We use e2-standard-4 (4 vCPU, 16GB RAM) to ensure the Ray orchestration processes have enough headroom.COMMENT
MEDIUMexamples/quickstart/README.md330- [Python SDK Source](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/)CODE
MEDIUMexamples/sandboxed-tools/cmd/acp-server/main.go16// exposes the agentic loop over the Agent Client Protocol (ACP), speakingCOMMENT
MEDIUMexamples/sandboxed-tools/pkg/agent/agent.go15// Package agent implements the agentic loop of the sandboxed-tools example:COMMENT
MEDIUMexamples/sandboxed-tools/pkg/agent/agent.go115// Session represents an agentic "chat" session (a stream of messages / tools calls etc).COMMENT
MEDIUMexamples/sandboxed-tools/pkg/agent/agent.go675// into an agentic loop.COMMENT
MEDIUMsite/content/docs/filesystem/_index.md16- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUMsite/content/docs/filesystem/_index.md52The full template (with isolation runtime options) lives at [`clients/python/agentic-sandbox-client/python-sandbox-templCODE
MEDIUMsite/content/docs/filesystem/upload-download/_index.md12- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUMsite/content/docs/filesystem/list-files/_index.md12- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUMsite/content/docs/filesystem/read-write/_index.md12- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUMsite/content/docs/use-cases/computer-use/_index.md353. **Programmatic control** — use the [`agent-sandbox` Python SDK](https://github.com/agent-infra/sandbox/tree/main/sdk/CODE
MEDIUMsite/content/docs/sandbox/metrics/_index.md19- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUMsite/content/docs/sandbox/snapshots/_index.md21- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUM…cs/sandbox/custom_sandbox/custom_environment/_index.md17- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUM…te/content/docs/sandbox/custom_sandbox/image/_index.md11- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUM…ntent/docs/getting_started/go-sdk-quickstart/_index.md14- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUM…ntent/docs/getting_started/go-sdk-quickstart/_index.md15- A `SandboxWarmPool` in the target namespace (for example `python-sandbox-pool` backed by `python-sandbox-template`). SCODE
MEDIUM…content/docs/getting_started/troubleshooting/_index.md20- The [Sandbox Router](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/CODE
MEDIUM…t/docs/getting_started/install_prerequisites/_index.md51 curl -sSL https://raw.githubusercontent.com/kubernetes-sigs/agent-sandbox/refs/tags/${VERSION}/clients/python/agenticCODE
MEDIUM…t/docs/getting_started/install_prerequisites/_index.md59 curl -sSL https://raw.githubusercontent.com/kubernetes-sigs/agent-sandbox/refs/tags/${VERSION}/clients/python/agenticCODE
MEDIUMsite/data/link_replacements.yaml25 replacement: '](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/REACODE
MEDIUMsite/data/link_replacements.yaml40 replacement: '](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/)'CODE
MEDIUM⚡site/data/link_replacements.yaml55 replacement: '](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/REACODE
MEDIUM⚡site/data/link_replacements.yaml60 replacement: '](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/REACODE
MEDIUM⚡site/data/link_replacements.yaml65 replacement: '](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/tesCODE
MEDIUMsite/data/link_replacements.yaml85 replacement: '](https://github.com/kubernetes-sigs/agent-sandbox/blob/main/clients/python/agentic-sandbox-client/GCPCODE
Cross-Language Confusion18 hits · 106 pts
SeverityFileLineSnippetContext
HIGH⚡…ents/integrations/nemo-gym/tests/unit/test_provider.py357 f"cd /work || exit {SANDBOX_RUNTIME_RETURN_CODE}",CODE
HIGH…ents/integrations/nemo-gym/tests/unit/test_provider.py449 assert script == f"mkdir -p /data/out && cp {staging} /data/out/artifact.bin && rm -f {staging}"CODE
HIGHclients/integrations/openhands/example.py46 result = workspace.execute_command("echo hello from a warm pod && uname -a")CODE
HIGH⚡examples/firecracker-sandbox/test_main.py233 response = client.post("/exec", json={"cmd": "echo hi && echo bye"})CODE
HIGH⚡examples/firecracker-sandbox/test_main.py237 assert called_args[0] == "echo hi && echo bye"CODE
HIGHexamples/agent-sandbox-rl/agent_sandbox_rl/handles.py99 self.run("stty -echo 2>/dev/null; PS1=''; PROMPT_COMMAND=''; true",CODE
HIGHexamples/agent-sandbox-rl/agent_sandbox_rl/recycle.py106 f'echo "PRISTINE=$(git -C {tb} rev-parse pristine 2>/dev/null)"',CODE
HIGHexamples/agent-sandbox-rl/agent_sandbox_rl/recycle.py107 f'echo "HEAD=$(git -C {tb} rev-parse HEAD 2>/dev/null)"',CODE
HIGHexamples/agent-sandbox-rl/agent_sandbox_rl/recycle.py118 f'echo "H:$(basename "$f")" && cat "$f"; done 2>/dev/null) 'CODE
HIGHexamples/agent-sandbox-rl/agent_sandbox_rl/recycle.py185 'kill -9 "$p" 2>/dev/null; done; ')CODE
HIGH…agent-sandbox-rl/agent_sandbox_rl/adapters/swebench.py36 " || ls -d /testbed 2>/dev/null || ls /",CODE
HIGH…mples/agent-sandbox-rl/examples/run_openhands_fleet.py137 result = workspace.execute_command("echo ready && uname -m")CODE
HIGHexamples/python-runtime-sandbox/main.py130 being interpreted, which does not fail loudly: e.g. "mkdir -p a && echoSTRING
HIGH⚡examples/python-runtime-sandbox/test_main.py270 json={"command": "mkdir -p a && echo hi > a/f.txt"},CODE
HIGH⚡examples/policy/command-governance/test_governed_run.py87 "echo ok && rm -rf /",CODE
HIGH⚡examples/policy/command-governance/test_governed_run.py89 "cd /tmp && rm -rf ./build",CODE
HIGHexamples/policy/command-governance/governed_run.py372 independently — so `echo hi && rm -rf /`, `$(rm -rf /)`, andSTRING
HIGH⚡dev/tools/latest_published_tag_test.py114 # A valid OCI response may carry "tags": null; it must not crash.COMMENT
Verbosity Indicators55 hits · 87 pts
SeverityFileLineSnippetContext
LOW…ypescript/agentic-sandbox-client/src/sandbox-client.ts1638 // Step 1: Resolve actual sandbox name from claim statusCOMMENT
LOW…ypescript/agentic-sandbox-client/src/sandbox-client.ts1654 // Step 2: Watch sandbox with remaining budgetCOMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go3588 // Step 1: First Ready transition. Metrics recorded, Patch fails.COMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go3600 // Step 2: Mid-flap — claim went not-Ready, but was previously Ready.COMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go3616 // Step 3: Flap back to Ready — newReady=True, oldReady=False.COMMENT
LOW⚡extensions/controllers/sandboxclaim_controller_test.go4404 // Step 1: CreateFunc → entry addedCOMMENT
LOW⚡extensions/controllers/sandboxclaim_controller_test.go4408 // Step 2: First reconcile → Not-Ready → Ready transition → entry cleaned.COMMENT
LOW⚡extensions/controllers/sandboxclaim_controller_test.go4410 // Step 3: Post-Ready UpdateFuncCOMMENT
LOW⚡extensions/controllers/sandboxclaim_controller_test.go4414 // Step 4: Reconcile with old=Ready, new=ReadyCOMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go5428 // Step 1: Reconcile without templateCOMMENT
LOWextensions/controllers/sandboxclaim_controller_test.go5464 // Step 2: Create template and reconcile againCOMMENT
LOW⚡examples/kata-gke-sandbox/setup.sh67echo "### Step 1: Creating/Checking GKE Cluster ###"CODE
LOWexamples/kata-gke-sandbox/setup.sh97echo "### Step 2: Installing the Kata Infrastructure ###"CODE
LOWexamples/kata-gke-sandbox/setup.sh119echo "### Step 3: Registering the RuntimeClass ###"CODE
LOW⚡…ti-cluster-fleet/python/agent_sandbox_fleet/planner.py411 # Step 3: split global budget across CHOSEN clusters, weightedCOMMENT
LOW⚡…ti-cluster-fleet/python/agent_sandbox_fleet/planner.py417 # Step 4: size each poolCOMMENT
LOW…ti-cluster-fleet/python/agent_sandbox_fleet/planner.py319 # Step 1: pick placement mode.COMMENT
LOW⚡examples/firecracker-sandbox/setup.sh62# Step 1: Verify KVM supportCOMMENT
LOW⚡examples/firecracker-sandbox/setup.sh92# Step 2: Install Kata Containers with Firecracker via kata-deployCOMMENT
LOW⚡examples/firecracker-sandbox/setup.sh115# Step 3: Register the kata-fc RuntimeClassCOMMENT
LOW⚡examples/firecracker-sandbox/setup.sh134# Step 4: Label nodesCOMMENT
LOW⚡examples/firecracker-sandbox/setup.sh156# Step 5: Verify installationCOMMENT
LOW⚡examples/firecracker-sandbox/setup.sh64echo "### Step 1: Verifying KVM support ###"CODE
LOW⚡examples/firecracker-sandbox/setup.sh87 echo "### Step 1: Skipped (--skip-kvm-check) ###"CODE
LOW⚡examples/firecracker-sandbox/setup.sh95 echo "### Step 2: Installing Kata Containers (kata-deploy) ###"CODE
LOW⚡examples/firecracker-sandbox/setup.sh111 echo "### Step 2: Skipped (--no-install) ###"CODE
LOW⚡examples/firecracker-sandbox/setup.sh117echo "### Step 3: Registering RuntimeClass '${RUNTIME_CLASS_NAME}' ###"CODE
LOW⚡examples/firecracker-sandbox/setup.sh137 echo "### Step 4: Labeling all Linux nodes with ${NODE_LABEL_KEY}=${NODE_LABEL_VALUE} ###"CODE
LOW⚡examples/firecracker-sandbox/setup.sh152 echo "### Step 4: Skipped (--no-label) ###"CODE
LOW⚡examples/firecracker-sandbox/setup.sh158echo "### Step 5: Verifying installation ###"CODE
LOW⚡examples/kata-aks-sandbox/setup.sh60echo "### Step 1: Creating/Checking the Resource Group ###"CODE
LOW⚡examples/kata-aks-sandbox/setup.sh66echo "### Step 2: Creating/Checking the AKS Cluster ###"CODE
LOW⚡examples/kata-aks-sandbox/setup.sh97echo "### Step 3: Getting Cluster Credentials ###"CODE
LOW⚡examples/kata-aks-sandbox/setup.sh100echo "### Step 4: Verifying the Kata RuntimeClass ###"CODE
LOW⚡examples/urunc-sandbox/setup.sh181# Step 1: Verify KVM supportCOMMENT
LOW⚡examples/urunc-sandbox/setup.sh205# Step 2: Install urunc via urunc-deployCOMMENT
LOW⚡examples/urunc-sandbox/setup.sh227# Step 3: Register the urunc RuntimeClassCOMMENT
LOW⚡examples/urunc-sandbox/setup.sh247# Step 4: Verify installationCOMMENT
LOW⚡examples/urunc-sandbox/setup.sh183echo "### Step 1: Verifying KVM support ###"CODE
LOW⚡examples/urunc-sandbox/setup.sh200 echo "### Step 1: Skipped (--skip-kvm-check) ###"CODE
LOW⚡examples/urunc-sandbox/setup.sh208 echo "### Step 2: Installing urunc (urunc-deploy) ###"CODE
LOW⚡examples/urunc-sandbox/setup.sh222 echo "### Step 2: Skipped (--no-install) ###"CODE
LOW⚡examples/urunc-sandbox/setup.sh229echo "### Step 3: Registering RuntimeClass '${RUNTIME_CLASS_NAME}' ###"CODE
LOW⚡examples/urunc-sandbox/setup.sh249echo "### Step 4: Verifying installation ###"CODE
LOW…-swap/python-density/run_pythonsandbox_density_test.sh50# Step 1: Pre-stage MovieLens dataset ONCE on all target nodes under /tmp/movielensCOMMENT
LOW…-swap/python-density/run_pythonsandbox_density_test.sh84# Step 2: Execute multi-density benchmark matrix across target node poolsCOMMENT
LOW⚡examples/openclaw-fleet-gke/setup/provision-gke.sh73echo "### Step 1: Enabling required Google Cloud APIs ###"CODE
LOW⚡examples/openclaw-fleet-gke/setup/provision-gke.sh80echo "### Step 2: Creating GKE Standard cluster '${CLUSTER_NAME}' ###"CODE
LOWexamples/openclaw-fleet-gke/setup/provision-gke.sh107echo "### Step 3: Creating gVisor node pool ###"CODE
LOWexamples/openclaw-fleet-gke/setup/provision-gke.sh128echo "### Step 4: Creating snapshot bucket gs://${SNAPSHOT_BUCKET} ###"CODE
LOWexamples/openclaw-fleet-gke/setup/provision-gke.sh143echo "### Step 5: Installing agent-sandbox controller + extensions ###"CODE
LOWexamples/openclaw-fleet-gke/setup/provision-gke.sh160echo "### Step 6: Creating namespace '${NAMESPACE}' ###"CODE
LOWexamples/openclaw-fleet-gke/setup/teardown-gke.sh54echo "### Step 1: Deleting GKE cluster '${CLUSTER_NAME}' ###"CODE
LOWexamples/openclaw-fleet-gke/setup/teardown-gke.sh67echo "### Step 2: Deleting Filestore instances provisioned for the example ###"CODE
LOWexamples/openclaw-fleet-gke/setup/teardown-gke.sh94echo "### Step 3: Deleting snapshot bucket gs://${SNAPSHOT_BUCKET} ###"CODE
Deep Nesting78 hits · 69 pts
SeverityFileLineSnippetContext
LOW…n/agentic-sandbox-client/test_podsnapshot_extension.py395CODE
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py220CODE
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py281CODE
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py584CODE
LOW…c-sandbox-client/k8s_agent_sandbox/async_k8s_helper.py195CODE
LOW…c-sandbox-client/k8s_agent_sandbox/async_k8s_helper.py336CODE
LOW…c-sandbox-client/k8s_agent_sandbox/async_k8s_helper.py494CODE
LOW…thon/agentic-sandbox-client/k8s_agent_sandbox/utils.py103CODE
LOW…thon/agentic-sandbox-client/k8s_agent_sandbox/utils.py174CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py684CODE
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py823CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py521CODE
LOW…agentic-sandbox-client/k8s_agent_sandbox/k8s_helper.py166CODE
LOW…agentic-sandbox-client/k8s_agent_sandbox/k8s_helper.py296CODE
LOW…agentic-sandbox-client/k8s_agent_sandbox/k8s_helper.py450CODE
LOW…8s_agent_sandbox/test/unit/test_async_sandboxclient.py881CODE
LOW…ient/k8s_agent_sandbox/test/unit/test_sandboxclient.py584CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py88CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py152CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py220CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py306CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py332CODE
LOW…nt_sandbox/gke_extensions/snapshots/snapshot_engine.py228CODE
LOW…nt_sandbox/gke_extensions/snapshots/snapshot_engine.py275CODE
LOW…c-sandbox-client/k8s_agent_sandbox/files/filesystem.py265CODE
LOW…box-client/k8s_agent_sandbox/files/async_filesystem.py186CODE
LOW…c-sandbox-client/sandbox-router/test_sandbox_router.py1019CODE
LOW…gentic-sandbox-client/sandbox-router/sandbox_router.py539CODE
LOW…gentic-sandbox-client/sandbox-router/sandbox_router.py556CODE
LOW…ons/openhands/openhands_k8s_agent_sandbox/workspace.py310CODE
LOWtest/e2e/clients/python/conftest.py103CODE
LOWtest/e2e/clients/python/test_client.py553CODE
LOWtest/stress/generate-report/generate_report.py163CODE
LOWtest/stress/generate-report/download_results.py98CODE
LOWexamples/multi-cluster-fleet/demo/claim-bench.py94CODE
LOWexamples/multi-cluster-fleet/demo/claim-bench.py202CODE
LOW…multi-cluster-fleet/demo/watch-clusterprofile-drift.py288CODE
LOWexamples/multi-cluster-fleet/demo/stress-e2e.py131CODE
LOWexamples/multi-cluster-fleet/demo/stress-e2e.py280CODE
LOW…ti-cluster-fleet/python/agent_sandbox_fleet/planner.py238CODE
LOW…ti-cluster-fleet/python/agent_sandbox_fleet/planner.py566CODE
LOW…uster-fleet/python/agent_sandbox_fleet/fleet_member.py409CODE
LOW…uster-fleet/python/agent_sandbox_fleet/fleet_member.py923CODE
LOWexamples/langchain/coding_agent.py365CODE
LOWexamples/hpa-swp-scaling/create-claim.py36CODE
LOWexamples/firecracker-sandbox/main.py111CODE
LOWexamples/agent-sandbox-rl/tests/loadtest.py136CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/fleet.py1278CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/fleet.py1442CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/fleet.py1557CODE
LOW…les/agent-sandbox-rl/agent_sandbox_rl/observability.py248CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/sources.py105CODE
LOW…mples/agent-sandbox-rl/agent_sandbox_rl/async_fleet.py345CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/resources.py54CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/resources.py171CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/resources.py358CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/resources.py439CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/resources.py556CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/recycle.py238CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/recycle.py382CODE
18 more matches not shown…
Cross-File Repetition10 hits · 50 pts
SeverityFileLineSnippetContext
HIGHexamples/analytics-tool/analytics-tool/main.py0a simple health check endpoint to confirm the server is running.STRING
HIGHexamples/gemini-cu-sandbox/main.py0a simple health check endpoint to confirm the server is running.STRING
HIGHexamples/agent-sandbox-gymnasium/gymnasium-env/main.py0a simple health check endpoint to confirm the server is running.STRING
HIGHexamples/python-runtime-sandbox/main.py0a simple health check endpoint to confirm the server is running.STRING
HIGHexamples/n8n-mcp/source/server.py0a simple health check endpoint to confirm the server is running.STRING
HIGHsite/content/docs/sandbox/snapshots/source/server.py0a simple health check endpoint to confirm the server is running.STRING
HIGHsite/content/docs/sandbox/lifecycle/source/server.py0a simple health check endpoint to confirm the server is running.STRING
HIGH…cs/sandbox/custom_sandbox/custom_environment/_index.md0a simple health check endpoint to confirm the server is running.STRING
HIGH…nt/docs/volumes/volume-claim-template/source/server.py0a simple health check endpoint to confirm the server is running.STRING
HIGH…/docs/getting_started/troubleshooting/source/server.py0a simple health check endpoint to confirm the server is running.STRING
AI Slop Vocabulary15 hits · 46 pts
SeverityFileLineSnippetContext
MEDIUMexamples/multi-cluster-fleet/demo/stress-e2e.py428 # tick, dispatch stops at the deadline, and then the harness sits throughCOMMENT
MEDIUM…i-cluster-fleet/python/agent_sandbox_fleet/resolver.py413# Contexts already warned about, so a multi-cluster harness logs once perCOMMENT
MEDIUM…/agent-sandbox-rl/tests/run_full_swebench_benchmark.py168 # general load-test harness for repeated-tasks-per-image batches.COMMENT
MEDIUMexamples/agent-sandbox-rl/agent_sandbox_rl/config.py158 # detail: whoever provisioned a warm pool chose its name, and a harness thatCOMMENT
MEDIUMexamples/agent-sandbox-rl/agent_sandbox_rl/fleet.py1308 # which is the failure the warning is for: a harness pointed at a clusterCOMMENT
MEDIUMexamples/agent-sandbox-rl/examples/plan_capacity.py145 sys.path.insert(0, tests_dir) # robust to cwdCODE
MEDIUM…amples/openclaw-fleet-gke/tools/fio-workspace-job.yaml1# I/O performance harness for the shared Filestore volume (test-checklistCOMMENT
MEDIUMexamples/sandboxed-tools/pkg/tools/write_file.go69 // The -- separator makes execution more robust e.g. if path is "--help"COMMENT
MEDIUMexamples/sandboxed-tools/pkg/tools/list_files.go59 // The -- separator makes execution more robust e.g. if path is "--help"COMMENT
MEDIUMexamples/sandboxed-tools/pkg/tools/read_file.go61 // The -- separator makes execution more robust e.g. if path is "--help"COMMENT
MEDIUMpackages/sandboxd/pkg/server/process_test.go500 // entry). Polling is robust to CI scheduling delays.COMMENT
MEDIUM⚡dev/tools/flake_report_test.py145 # Live dashboards emit '\ue000<build-id>', but be robust to aCOMMENT
MEDIUMdev/tools/flake_report_test.py634 # harness broke, not the tests.COMMENT
MEDIUMdev/tools/flake_report_test.py677 # 4242 touched the harness: excluded. 4343 did not: counted. OneCOMMENT
MEDIUMdev/tools/flake_report_test.py684 # Both PRs touching the harness: everything is PR-local.COMMENT
Hallucination Indicators4 hits · 40 pts
SeverityFileLineSnippetContext
CRITICALexamples/python-runtime-sandbox/test_main.py104 mock_popen.return_value.__enter__.return_value.communicate.assert_called_once_with(timeout=300.0)CODE
CRITICALexamples/policy/vap/secure-sandbox-policy.yaml86 !object.spec.podTemplate.spec.volumes.exists(v,CODE
CRITICALexamples/policy/vap/secure-sandbox-policy.yaml97 !object.spec.podTemplate.spec.volumes.exists(v, has(v.hostPath))CODE
CRITICALexamples/policy/vap/secure-sandbox-policy.yaml157 object.spec.podTemplate.spec.tolerations.exists(t,CODE
Self-Referential Comments10 hits · 32 pts
SeverityFileLineSnippetContext
MEDIUM…n/agentic-sandbox-client/test_podsnapshot_extension.py134 # Create the initial sandbox to take the snapshot fromCOMMENT
MEDIUM⚡…n/agentic-sandbox-client/test_podsnapshot_extension.py375 # Create a fresh sandbox to test suspend-resume flow on a brand new instanceCOMMENT
MEDIUM…8s_agent_sandbox/_proto/process/v1/process_pb2_grpc.py140 # This class is part of an EXPERIMENTAL API.COMMENT
MEDIUMexamples/multi-cluster-fleet/demo/run-xs-e2e.sh12# Create the GCS bucket + Workload Identity binding.COMMENT
MEDIUMexamples/aider-sandbox/template.yaml33 # Define the repository URL you want to automatically download hereCOMMENT
MEDIUM…etwork-policy-api-sandbox/scripts/01-create-cluster.sh16# Create the kind cluster with the default CNI (kube-network-policies runsCOMMENT
MEDIUM…amples/demo-cilium-egress/scripts/01-create-cluster.sh16# Create a GKE Standard cluster WITHOUT Dataplane V2 so we can install upstream Cilium.COMMENT
MEDIUM…les/ray-integration/direct-proxy/rl_production_loop.py217 # Define the scale of the distributed job.COMMENT
MEDIUMexamples/gemini-cu-sandbox/run-test-kind.sh64# Create a temporary kubeconfig file for kindCOMMENT
MEDIUMexamples/policy/vap/secure-sandbox-policy.yaml14 # Define a variable to check ALL container types: containers, initContainers, and ephemeralContainers.COMMENT
Modern Structural Boilerplate32 hits · 31 pts
SeverityFileLineSnippetContext
LOW…ic-sandbox-client/k8s_agent_sandbox/async_connector.py52logger = logging.getLogger(__name__)CODE
LOW…c-sandbox-client/k8s_agent_sandbox/async_k8s_helper.py45logger = logging.getLogger(__name__)CODE
LOW…ntic-sandbox-client/k8s_agent_sandbox/trace_manager.py54 def set_attribute(self, key: str, value: Any) -> None:CODE
LOW…ntic-sandbox-client/k8s_agent_sandbox/trace_manager.py79 def set_tracer_provider(_: Any) -> None:CODE
LOW…ntic-sandbox-client/k8s_agent_sandbox/trace_manager.py87 def set_span_in_context(span: Any, context: Any = None) -> None:CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py44logger = logging.getLogger(__name__)CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py49logger = logging.getLogger(__name__)CODE
LOW…_extensions/snapshots/sandbox_with_snapshot_support.py174 def _set_operating_mode(self, operating_mode: str) -> None:CODE
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py33logger = logging.getLogger(__name__)CODE
LOW…nt_sandbox/gke_extensions/snapshots/snapshot_engine.py43logger = logging.getLogger(__name__)CODE
LOW…pshots/test/unit/test_sandbox_with_snapshot_support.py51logger = logging.getLogger(__name__)CODE
LOW…ensions/snapshots/test/unit/test_podsnapshot_client.py31logger = logging.getLogger(__name__)CODE
LOW…ox-client/k8s_agent_sandbox/commands/_process_stubs.py37__all__ = ["process_pb2", "process_pb2_grpc"]CODE
LOW…ions/gymnasium/k8s_agent_sandbox_gymnasium/__init__.py26__all__ = [CODE
LOW…gymnasium/k8s_agent_sandbox_gymnasium/gymnasium_env.py35logger = logging.getLogger(__name__)CODE
LOW…ations/nemo-gym/nemo_gym_k8s_agent_sandbox/__init__.py28__all__ = [CODE
LOW…ions/mcp-server/k8s_agent_sandbox_mcp_server/server.py41logger = logging.getLogger(__name__)CODE
LOW…ions/mcp-server/k8s_agent_sandbox_mcp_server/probes.py39logger = logging.getLogger(__name__)CODE
LOW…-server/k8s_agent_sandbox_mcp_server/tools/__init__.py24__all__ = [CODE
LOW…ver/k8s_agent_sandbox_mcp_server/resources/__init__.py17__all__ = [CODE
LOW…ions/openhands/openhands_k8s_agent_sandbox/__init__.py20__all__ = ["AgentSandboxWorkspace"]CODE
LOW…ents/deepagents_k8s_agent_sandbox/lifecycle_manager.py24logger = logging.getLogger(__name__)CODE
LOW…ns/deepagents/deepagents_k8s_agent_sandbox/__init__.py19__all__ = [CODE
LOW…ions/openai/src/openai_agents_k8s_sandbox/transport.py45logger = logging.getLogger(__name__)CODE
LOW…rations/openai/src/openai_agents_k8s_sandbox/client.py35logger = logging.getLogger(__name__)CODE
LOW…ations/openai/src/openai_agents_k8s_sandbox/session.py54logger = logging.getLogger(__name__)CODE
LOW…tions/openai/src/openai_agents_k8s_sandbox/__init__.py26__all__ = [CODE
LOW…ples/multi-cluster-fleet/python/tests/test_resolver.py53 def set_assignments(self, data: dict[str, Any]) -> None:CODE
LOW…i-cluster-fleet/python/agent_sandbox_fleet/__init__.py44__all__ = [CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/fleet.py1170 def set_pool_replicas(self, image: str, replicas: int) -> None:CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/__init__.py86__all__ = [CODE
LOWexamples/webmcp-bridge-sandbox/bridge.py42logger = logging.getLogger(__name__)CODE
Redundant / Tautological Comments14 hits · 22 pts
SeverityFileLineSnippetContext
LOW…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py274 # Check if the sandbox actually exists in KubernetesCOMMENT
LOW…/agentic-sandbox-client/k8s_agent_sandbox/connector.py869 # Verify if the connection is active before sending the requestCOMMENT
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py172 # Check if Snapshot UID is present in the condition.messageCOMMENT
LOW…nt/k8s_agent_sandbox/gke_extensions/snapshots/utils.py228 # Check if already deletedCOMMENT
LOW⚡examples/kata-gke-sandbox/setup.sh69# Check if the cluster already existsCOMMENT
LOW…ples/vscode-sandbox/overlays/kata-mshv/patch-kata.yaml8 # Set runtimeClassName to use kata mshv runtime classCOMMENT
LOW…mples/vscode-sandbox/overlays/gvisor/patch-gvisor.yaml8 # Set runtimeClassName to use gVisorCOMMENT
LOWexamples/vscode-sandbox/overlays/kata/patch-kata.yaml8 # Set runtimeClassName to use kata qemu classCOMMENT
LOW…policy/policy-controller/template-sandbox-binding.yaml39 # Check if this pod is controlled by a Sandbox CRCOMMENT
LOW…policy/policy-controller/template-sandbox-binding.yaml62 # Check if this pod is controlled by a Sandbox CRCOMMENT
LOW…es/policy/opa-gatekeeper/template-sandbox-binding.yaml39 # Check if this pod is controlled by a Sandbox CRCOMMENT
LOW…es/policy/opa-gatekeeper/template-sandbox-binding.yaml62 # Check if this pod is controlled by a Sandbox CRCOMMENT
LOWdev/tools/shared/node.py172 # Check if npm is already available in PATHCOMMENT
LOWdev/tools/shared/node.py181 # Check if we already have a local installationCOMMENT
AI Structural Patterns15 hits · 14 pts
SeverityFileLineSnippetContext
LOW…tic-sandbox-client/k8s_agent_sandbox/sandbox_client.py103CODE
LOW…ndbox-client/k8s_agent_sandbox/async_sandbox_client.py228CODE
LOW…8s_agent_sandbox/_proto/process/v1/process_pb2_grpc.py146CODE
LOW…8s_agent_sandbox/_proto/process/v1/process_pb2_grpc.py173CODE
LOW…8s_agent_sandbox/_proto/process/v1/process_pb2_grpc.py200CODE
LOW…8s_agent_sandbox/_proto/process/v1/process_pb2_grpc.py227CODE
LOW…8s_agent_sandbox/_proto/process/v1/process_pb2_grpc.py254CODE
LOW…uster-fleet/python/agent_sandbox_fleet/fleet_member.py232CODE
LOW…-cluster-fleet/python/agent_sandbox_fleet/publisher.py86CODE
LOW…-cluster-fleet/python/agent_sandbox_fleet/inventory.py606CODE
LOW…-cluster-fleet/python/agent_sandbox_fleet/inventory.py322CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/fleet.py1557CODE
LOW…mples/agent-sandbox-rl/agent_sandbox_rl/async_fleet.py345CODE
LOWexamples/agent-sandbox-rl/agent_sandbox_rl/prepull.py67CODE
LOWdev/ci/shared/runner.py102CODE
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH…ic-sandbox-client/k8s_agent_sandbox/async_connector.py284Sends an HTTP request asynchronously to the sandbox with standard parameters. This method automatically resolveSTRING
HIGH…/agentic-sandbox-client/k8s_agent_sandbox/connector.py824Sends an HTTP request to the sandbox with standard parameters. This method automatically resolves the gateway oSTRING
Magic Placeholder Names2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHexamples/kata-aks/README.md168 --from-literal=OPENAI_API_KEY="<your-api-key>" \CODE
HIGHexamples/sandboxed-tools/README.md201export GEMINI_API_KEY="your-api-key-here"CODE
Fake / Example Data8 hits · 8 pts
SeverityFileLineSnippetContext
LOWclients/go/sandbox/client_test.go406 setupWatchWithReactor(agentsCS, extensionsCS, readySandbox("placeholder"))CODE
LOW⚡examples/openclaw-kata-aks-sandbox/README.md39Then open `http://localhost:18789/#token=dummy-token-for-sandbox`. The token fragment is required — the gateway rejects CODE
LOW…enclaw-kata-aks-sandbox/openclaw-sandbox-kata-aks.yaml62 value: "dummy-token-for-sandbox"CODE
LOWexamples/openclaw-fleet-gke/20-openclaw-template.yaml99 value: "dummy-token-for-sandbox"CODE
LOWexamples/openclaw-gvisor-sandbox/run-test-kind.sh71sed "s/dummy-token-for-sandbox/${TOKEN}/g" openclaw-template.yaml | kubectl apply -f -CODE
LOWexamples/openclaw-gvisor-sandbox/README.md66sed "s/dummy-token-for-sandbox/${TOKEN}/g" openclaw-template.yaml | kubectl apply -f -CODE
LOWexamples/openclaw-gvisor-sandbox/README.md252sed "s/dummy-token-for-sandbox/${TOKEN}/g" openclaw-template.yaml | kubectl apply -f -CODE
LOWexamples/openclaw-gvisor-sandbox/openclaw-template.yaml50 value: "dummy-token-for-sandbox"CODE
AI Response Leakage1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…pi-sandbox/manifests/80-cnp-baseline-default-deny.yaml7# In this example that is a plain Sandbox created without a SandboxTemplateCOMMENT
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippetContext
LOWsandbox-router/dev/smoke-test/run.sh27# Usage:COMMENT
LOWexamples/multi-cluster-fleet/demo/run-xs-e2e.sh18# Usage:COMMENT
LOWexamples/openclaw-fleet-gke/run-test-gke.sh30# Usage:COMMENT
LOWexamples/openclaw-fleet-gke/70-rolling-update.sh33# Usage:COMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGH.github/pull_request_template.md19Note: Automated release notes are generated by Gemini using the PR description in the first section.CODE
Dead Code2 hits · 4 pts
SeverityFileLineSnippetContext
MEDIUM…8s_agent_sandbox/test/unit/test_async_sandboxclient.py1510CODE
MEDIUM…t/k8s_agent_sandbox/test/unit/test_async_k8s_helper.py405CODE