AI Slop Code RIsk Monitor

potpie-ai/potpie

Context Graph for AI Native SDLC

29.9 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for potpie-ai/potpie, a Python project with 5,740 GitHub stars. SynthScan examined 217,439 lines of code across 990 source files, recording 5624 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 29.9 (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.

29.9
Adjusted Signal
29.9
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
5.7K
Stars
Python
Language
217.4K
Lines of Code
990
Files
5.6K
Pattern Hits
2026-10-12
Scan Date
0.07
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 54.6/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 20.9/100 · LOW

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

Agent Over-Engineering Ratio 70.3/100 · HIGH

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

PR Review Velocity Impact 78.1/100 · CRITICAL

Which changes need focused human review? 5624 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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

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

CRITICAL 0HIGH 74MEDIUM 306LOW 5244

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 5624 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 Identifiers3221 hits · 3208 pts
SeverityFileLineSnippetContext
LOWpotpie/auth/adapters/oauth_client_id_messages.py8def missing_linear_client_id_message() -> str:CODE
LOWpotpie/auth/adapters/oauth_client_id_messages.py15def missing_github_client_id_message() -> str:CODE
LOWpotpie/auth/adapters/callback_server.py50def _oauth_callback_failure_html(error: str | None) -> str:CODE
LOWpotpie/auth/adapters/callback_server.py59def start_oauth_callback_server(CODE
LOWpotpie/auth/adapters/callback_server.py97def _start_oauth_callback_server(CODE
LOWpotpie/auth/adapters/token_exchange.py24def exchange_authorization_code(CODE
LOWpotpie/auth/adapters/token_exchange.py125def _tokens_from_oauth_response(data: dict[str, Any]) -> dict[str, Any]:CODE
LOW⚡potpie/auth/adapters/atlassian_client.py67def token_style_from_succeeded_scheme(scheme: AtlassianAuthScheme | None) -> str:CODE
LOW⚡potpie/auth/adapters/atlassian_client.py74def atlassian_basic_auth_header(email: str, api_token: str) -> str:CODE
LOW⚡potpie/auth/adapters/atlassian_client.py79def atlassian_bearer_auth_header(api_token: str) -> str:CODE
LOWpotpie/auth/adapters/atlassian_client.py155def _parse_gateway_probe_success(CODE
LOWpotpie/auth/adapters/atlassian_client.py271def _parse_accessible_resources(data: Any) -> list[dict[str, Any]]:CODE
LOWpotpie/auth/adapters/atlassian_client.py291def _fetch_accessible_resources(CODE
LOWpotpie/auth/adapters/atlassian_client.py366def verify_site_with_api_token(CODE
LOWpotpie/auth/adapters/atlassian_client.py394def _candidate_subdomains_from_email(email: str) -> list[str]:CODE
LOWpotpie/auth/adapters/atlassian_client.py411def collect_login_site_candidates(CODE
LOWpotpie/auth/adapters/atlassian_client.py446def _finalize_atlassian_site_unscoped(CODE
LOWpotpie/auth/adapters/atlassian_client.py462def discover_sites_with_api_token(CODE
LOWpotpie/auth/adapters/atlassian_client.py489def _resolve_site_from_subdomain(CODE
LOWpotpie/auth/adapters/atlassian_client.py537def fetch_accessible_resources(email: str, api_token: str) -> list[dict[str, Any]]:CODE
LOW⚡potpie/auth/adapters/credentials.py55 def store_potpie_firebase_id_token(self, id_token: str) -> None:CODE
LOW⚡potpie/auth/adapters/credentials.py58 def update_potpie_firebase_refresh_token(self, refresh_token: str) -> None:CODE
LOW⚡potpie/auth/adapters/credentials.py64 def get_potpie_firebase_refresh_token(self) -> str:CODE
LOW⚡potpie/auth/adapters/credentials.py67 def get_potpie_firebase_id_token(self) -> str:CODE
LOW⚡potpie/auth/adapters/credentials.py70 def get_potpie_firebase_api_key(self) -> str:CODE
LOW⚡potpie/auth/adapters/credentials.py80 def write_provider_credentials(CODE
LOW⚡potpie/auth/adapters/credentials.py85 def clear_provider_credentials(self, provider: str) -> None:CODE
LOW⚡potpie/auth/adapters/credentials.py114 def get_confluence_credentials(self) -> dict[str, Any]:CODE
LOW⚡potpie/auth/adapters/credentials.py117 def save_confluence_credentials(self, credentials: dict[str, Any]) -> None:CODE
LOW⚡potpie/auth/adapters/credentials.py120 def clear_confluence_credentials(self) -> None:CODE
LOW⚡potpie/auth/adapters/credentials.py123 def get_atlassian_credentials(self) -> dict[str, Any]:CODE
LOW⚡potpie/auth/adapters/credentials.py126 def save_atlassian_credentials(self, credentials: dict[str, Any]) -> None:CODE
LOW⚡potpie/auth/adapters/credentials.py129 def clear_atlassian_credentials(self) -> None:CODE
LOW⚡potpie/auth/adapters/credentials.py132 def save_jira_workspace_prefs(self, *, project_key: str) -> None:CODE
LOW⚡potpie/auth/adapters/credentials.py135 def save_confluence_workspace_prefs(self, *, space_key: str) -> None:CODE
LOW⚡potpie/auth/adapters/credentials.py139 def get_gitbucket_credentials(self) -> dict[str, Any]:CODE
LOW⚡potpie/auth/adapters/credentials.py142 def save_gitbucket_credentials(self, credentials: dict[str, Any]) -> None:CODE
LOW⚡potpie/auth/adapters/credentials.py145 def clear_gitbucket_credentials(self) -> None:CODE
LOWpotpie/auth/adapters/credentials.py44 def store_potpie_firebase_refresh_token(CODE
LOWpotpie/auth/adapters/credentials.py101 def list_integration_providers(self) -> list[str]:CODE
LOWpotpie/auth/adapters/credentials.py172 def save_gitlab_workspace_prefs(CODE
LOWpotpie/auth/adapters/gitlab_read_client.py38def load_gitlab_read_credentials(CODE
LOWpotpie/auth/adapters/gitlab_read_client.py148def fetch_gitlab_merge_requests(CODE
LOWpotpie/auth/adapters/linear_read_client.py92def load_linear_read_credentials(CODE
LOWpotpie/auth/adapters/linear_read_client.py233def fetch_linear_issues_in_team(CODE
LOWpotpie/auth/adapters/linear_read_client.py268def resolve_linear_organization(CODE
LOWpotpie/auth/adapters/linear_read_client.py355def activate_linear_organization(org_id: str) -> None:CODE
LOW⚡potpie/auth/adapters/credentials_store.py69def integration_token_storage() -> str:CODE
LOW⚡potpie/auth/adapters/credentials_store.py78def _integration_secret_store_label() -> str:CODE
LOW⚡potpie/auth/adapters/credentials_store.py86def readable_credentials_path() -> Path:CODE
LOW⚡potpie/auth/adapters/credentials_store.py429def get_potpie_firebase_refresh_token() -> str:CODE
LOW⚡potpie/auth/adapters/credentials_store.py436def get_potpie_firebase_id_token() -> str:CODE
LOW⚡potpie/auth/adapters/credentials_store.py443def get_potpie_firebase_api_key() -> str:CODE
LOW⚡potpie/auth/adapters/credentials_store.py636def _linear_access_token_secret(org_id: str) -> str:CODE
LOW⚡potpie/auth/adapters/credentials_store.py640def _linear_refresh_token_secret(org_id: str) -> str:CODE
LOW⚡potpie/auth/adapters/credentials_store.py644def _normalize_linear_metadata(metadata: dict[str, Any]) -> dict[str, Any]:CODE
LOW⚡potpie/auth/adapters/credentials_store.py929def save_confluence_credentials(credentials: dict[str, Any]) -> None:CODE
LOW⚡potpie/auth/adapters/credentials_store.py933def get_confluence_credentials() -> dict[str, Any]:CODE
LOW⚡potpie/auth/adapters/credentials_store.py937def clear_confluence_credentials() -> None:CODE
LOW⚡potpie/auth/adapters/credentials_store.py941def _save_atlassian_product_credentials(CODE
3161 more matches not shown…
Decorative Section Separators268 hits · 982 pts
SeverityFileLineSnippetContext
MEDIUM⚡potpie/sandbox/tests/unit/test_parser_runner.py79# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡potpie/sandbox/tests/unit/test_parser_runner.py81# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡potpie/sandbox/tests/unit/test_parser_runner.py169# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡potpie/sandbox/tests/unit/test_parser_runner.py171# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡potpie/sandbox/tests/unit/test_sandbox_client.py846# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡potpie/sandbox/tests/unit/test_sandbox_client.py848# ---------------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/tests/unit/test_sandbox_client.py581# ---------------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/tests/unit/test_sandbox_client.py586# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡potpie/sandbox/tests/unit/test_daytona_provider.py914# ----------------------------------------------------------------------COMMENT
MEDIUM⚡potpie/sandbox/tests/unit/test_daytona_provider.py916# ----------------------------------------------------------------------COMMENT
MEDIUM⚡potpie/sandbox/tests/unit/test_daytona_provider.py1234# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡potpie/sandbox/tests/unit/test_daytona_provider.py1237# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡potpie/sandbox/tests/unit/test_daytona_provider.py1340# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡potpie/sandbox/tests/unit/test_daytona_provider.py1342# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡potpie/sandbox/tests/unit/test_daytona_provider.py1575# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡potpie/sandbox/tests/unit/test_daytona_provider.py1579# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡potpie/sandbox/tests/unit/test_daytona_provider.py1602# ----------------------------------------------------------------------------COMMENT
MEDIUM⚡potpie/sandbox/tests/unit/test_daytona_provider.py1604# ----------------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/tests/unit/test_daytona_provider.py1014# ----------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/tests/unit/test_daytona_provider.py1023# ----------------------------------------------------------------------COMMENT
MEDIUM⚡potpie/sandbox/tests/integration/test_real_repo_flow.py102# ----------------------------------------------------------------------COMMENT
MEDIUM⚡potpie/sandbox/tests/integration/test_real_repo_flow.py104# ----------------------------------------------------------------------COMMENT
MEDIUM…tpie/sandbox/sandbox/adapters/outbound/memory/store.py73 # ------------------------------------------------------------------COMMENT
MEDIUM…tpie/sandbox/sandbox/adapters/outbound/memory/store.py75 # ------------------------------------------------------------------COMMENT
MEDIUM…/sandbox/sandbox/adapters/outbound/local/repo_cache.py78 # ------------------------------------------------------------------COMMENT
MEDIUM…/sandbox/sandbox/adapters/outbound/local/repo_cache.py80 # ------------------------------------------------------------------COMMENT
MEDIUM…ndbox/sandbox/adapters/outbound/local/git_workspace.py143 # ------------------------------------------------------------------COMMENT
MEDIUM…ndbox/sandbox/adapters/outbound/local/git_workspace.py145 # ------------------------------------------------------------------COMMENT
MEDIUM…/sandbox/sandbox/adapters/outbound/daytona/provider.py277 # ------------------------------------------------------------------COMMENT
MEDIUM…/sandbox/sandbox/adapters/outbound/daytona/provider.py279 # ------------------------------------------------------------------COMMENT
MEDIUM…/sandbox/sandbox/adapters/outbound/daytona/provider.py1208 # ------------------------------------------------------------------COMMENT
MEDIUM…/sandbox/sandbox/adapters/outbound/daytona/provider.py1218 # ------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/sandbox/api/client.py123 # ------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/sandbox/api/client.py125 # ------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/sandbox/api/client.py281 # ------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/sandbox/api/client.py283 # ------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/sandbox/api/client.py316 # ------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/sandbox/api/client.py318 # ------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/sandbox/api/client.py516 # ------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/sandbox/api/client.py518 # ------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/sandbox/api/client.py594 # ------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/sandbox/api/client.py596 # ------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/sandbox/api/client.py749 # ------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/sandbox/api/client.py751 # ------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/sandbox/api/client.py817 # ------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/sandbox/api/client.py819 # ------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/sandbox/api/client.py904# ----------------------------------------------------------------------COMMENT
MEDIUMpotpie/sandbox/sandbox/api/client.py906# ----------------------------------------------------------------------COMMENT
MEDIUM…andbox/sandbox/application/services/sandbox_service.py296 # ------------------------------------------------------------------COMMENT
MEDIUM…andbox/sandbox/application/services/sandbox_service.py307 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…ngine/tests/unit/test_repo_one_shot_ingestion_skill.py100# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ngine/tests/unit/test_repo_one_shot_ingestion_skill.py102# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ngine/tests/unit/test_repo_one_shot_ingestion_skill.py144# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ngine/tests/unit/test_repo_one_shot_ingestion_skill.py146# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ngine/tests/unit/test_repo_one_shot_ingestion_skill.py296# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ngine/tests/unit/test_repo_one_shot_ingestion_skill.py298# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ngine/tests/unit/test_repo_one_shot_ingestion_skill.py361# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ngine/tests/unit/test_repo_one_shot_ingestion_skill.py363# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ngine/tests/unit/test_repo_one_shot_ingestion_skill.py481# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡…ngine/tests/unit/test_repo_one_shot_ingestion_skill.py483# ---------------------------------------------------------------------------COMMENT
208 more matches not shown…
Unused Imports1044 hits · 922 pts
SeverityFileLineSnippetContext
LOWpotpie/agent_context.py12CODE
LOWpotpie/config/local.py11CODE
LOWpotpie/config/local_paths.py3CODE
LOWpotpie/config/local_state.py3CODE
LOWpotpie/config/contracts.py10CODE
LOWpotpie/auth/__init__.py3CODE
LOWpotpie/auth/__init__.py4CODE
LOWpotpie/auth/wiring.py13CODE
LOWpotpie/auth/adapters/oauth_client_id_messages.py3CODE
LOWpotpie/auth/adapters/pkce.py3CODE
LOWpotpie/auth/adapters/callback_server.py3CODE
LOWpotpie/auth/adapters/token_exchange.py3CODE
LOWpotpie/auth/adapters/atlassian_client.py7CODE
LOWpotpie/auth/adapters/models.py3CODE
LOWpotpie/auth/adapters/gitlab_client.py7CODE
LOWpotpie/auth/adapters/credentials.py12CODE
LOWpotpie/auth/adapters/gitlab_read_client.py7CODE
LOWpotpie/auth/adapters/firebase_session.py3CODE
LOWpotpie/auth/adapters/linear_read_client.py3CODE
LOWpotpie/auth/adapters/credentials_store.py3CODE
LOWpotpie/auth/adapters/gitbucket_read_client.py8CODE
LOWpotpie/auth/adapters/atlassian_read_client.py9CODE
LOWpotpie/auth/adapters/provider_config.py3CODE
LOWpotpie/auth/adapters/integration_profile.py3CODE
LOWpotpie/auth/adapters/http.py14CODE
LOWpotpie/auth/adapters/integration_session.py3CODE
LOWpotpie/auth/adapters/errors.py3CODE
LOWpotpie/auth/adapters/github.py3CODE
LOWpotpie/auth/adapters/local_identity.py10CODE
LOWpotpie/auth/adapters/e2e_keyring.py3CODE
LOWpotpie/auth/adapters/gitbucket_client.py7CODE
LOWpotpie/auth/adapters/integration_verify.py3CODE
LOWpotpie/auth/adapters/potpie_api_config.py3CODE
LOWpotpie/auth/adapters/potpie.py3CODE
LOWpotpie/auth/ports/credentials.py14CODE
LOWpotpie/auth/ports/identity.py9CODE
LOWpotpie/pots/local_service.py8CODE
LOWpotpie/pots/local_store.py14CODE
LOWpotpie/pots/contracts.py11CODE
LOWpotpie/runtime/local_engine.py3CODE
LOWpotpie/runtime/ownership.py3CODE
LOWpotpie/runtime/coordinator.py3CODE
LOWpotpie/runtime/server.py3CODE
LOWpotpie/runtime/sentry_settings.py1CODE
LOWpotpie/runtime/controller.py3CODE
LOWpotpie/runtime/transport.py3CODE
LOWpotpie/runtime/protocol.py3CODE
LOWpotpie/runtime/resource_manager.py3CODE
LOWpotpie/runtime/__init__.py3CODE
LOWpotpie/runtime/__init__.py3CODE
LOWpotpie/runtime/__init__.py3CODE
LOWpotpie/runtime/__init__.py3CODE
LOWpotpie/runtime/__init__.py3CODE
LOWpotpie/runtime/__init__.py3CODE
LOWpotpie/runtime/__init__.py3CODE
LOWpotpie/runtime/__init__.py3CODE
LOWpotpie/runtime/__init__.py13CODE
LOWpotpie/runtime/__init__.py13CODE
LOWpotpie/runtime/__init__.py13CODE
LOWpotpie/runtime/__init__.py13CODE
984 more matches not shown…
Excessive Try-Catch Wrapping450 hits · 430 pts
SeverityFileLineSnippetContext
LOWpotpie/auth/adapters/firebase_session.py52 except Exception:CODE
LOWpotpie/auth/adapters/firebase_session.py73 except Exception:CODE
MEDIUMpotpie/auth/adapters/credentials_store.py298def get_stored_api_key() -> str:CODE
LOWpotpie/auth/adapters/credentials_store.py1639 except Exception:CODE
LOWpotpie/auth/adapters/credentials_store.py1649 except Exception:CODE
LOWpotpie/auth/adapters/http.py57 except Exception as exc: # httpx/json raise a few distinct typesCODE
LOWpotpie/auth/adapters/github.py71 except Exception as exc:CODE
LOWpotpie/auth/adapters/github.py81 except Exception as exc:CODE
LOWpotpie/auth/adapters/potpie.py379 except Exception:CODE
LOWpotpie/auth/adapters/potpie.py414 except Exception:CODE
LOWpotpie/runtime/local_engine.py124 except Exception:CODE
LOWpotpie/runtime/local_engine.py154 except Exception:CODE
LOWpotpie/runtime/local_engine.py164 except Exception: # noqa: S112 - one unreadable pot must not mask others.CODE
LOWpotpie/runtime/local_engine.py671 except Exception as exc:CODE
LOWpotpie/runtime/local_engine.py867 except Exception as exc:CODE
LOWpotpie/runtime/server.py136 except Exception:CODE
LOWpotpie/runtime/server.py170 except Exception:CODE
LOWpotpie/runtime/server.py212 except Exception:CODE
LOWpotpie/runtime/server.py222 except Exception:CODE
LOWpotpie/runtime/server.py233 except Exception:CODE
LOWpotpie/runtime/server.py283 except Exception:CODE
LOWpotpie/runtime/server.py296 except Exception:CODE
LOWpotpie/runtime/controller.py235 except Exception as exc:CODE
LOWpotpie/runtime/controller.py286 except Exception as exc:CODE
LOWpotpie/runtime/controller.py380 except Exception as exc:CODE
LOWpotpie/runtime/resource_manager.py408 except Exception as exc: # host cleanup must still be attemptedCODE
LOWpotpie/runtime/resource_manager.py431 except Exception as exc: # every resource still gets an attemptCODE
LOWpotpie/runtime/resource_manager.py518 except Exception as exc:CODE
LOWpotpie/runtime/resource_manager.py670 except Exception as exc:CODE
LOWpotpie/runtime/clients.py459 except Exception:CODE
LOWpotpie/runtime/clients.py479 except Exception:CODE
LOWpotpie/runtime/clients.py501 except Exception:CODE
LOWpotpie/runtime/clients.py887 except Exception:CODE
LOW⚡potpie/setup/orchestrator.py264 except Exception as exc: # never let one component crash the whole runCODE
LOW⚡potpie/setup/orchestrator.py273 except Exception: # noqa: BLE001 - setup analytics must not affect setup.CODE
LOW⚡potpie/setup/orchestrator.py279 except Exception: # noqa: BLE001 - setup analytics must not affect setup.CODE
LOWpotpie/setup/orchestrator.py341 except Exception as exc: # noqa: BLE001 - setup should keep moving offline.CODE
LOWpotpie/setup/orchestrator.py423 except Exception:CODE
LOWpotpie/cli/repo_location.py61 except Exception:CODE
LOWpotpie/cli/cli_install_status.py270 except Exception:CODE
MEDIUMpotpie/cli/cli_install_status.py123def _installed_package_version() -> str | None:CODE
LOWpotpie/cli/main.py187 except Exception as exc:CODE
MEDIUMpotpie/cli/main.py46def _package_version() -> str:CODE
LOWpotpie/cli/ui/setup_ux.py116 except Exception: # noqa: BLE001 - one observer must not block another.CODE
LOWpotpie/cli/ui/setup_ux.py123 except Exception: # noqa: BLE001 - one observer must not block another.CODE
LOWpotpie/cli/ui/setup_ux.py445 except Exception as exc: # noqa: BLE001CODE
LOWpotpie/cli/ui/setup_ux.py636 except Exception: # noqa: BLE001CODE
LOWpotpie/cli/ui/setup_ux.py825 except Exception as exc: # noqa: BLE001CODE
MEDIUMpotpie/cli/ui/setup_ux.py633def _github_already_authenticated() -> bool:CODE
LOWpotpie/cli/ui/potpie_logo_anim.py126 except Exception:CODE
LOWpotpie/cli/ui/potpie_logo_anim.py253 except Exception:CODE
LOWpotpie/cli/ui/potpie_logo_anim.py266 except Exception:CODE
MEDIUMpotpie/cli/ui/potpie_logo_anim.py263def render_static() -> Group:CODE
LOWpotpie/cli/auth/_login_impl.py66 except Exception as exc: # noqa: BLE001CODE
LOWpotpie/cli/auth/_login_impl.py95 except Exception as exc: # noqa: BLE001CODE
LOWpotpie/cli/auth/_login_impl.py117 except Exception as exc: # noqa: BLE001CODE
LOWpotpie/cli/auth/_login_impl.py142 except Exception as exc: # noqa: BLE001CODE
LOWpotpie/cli/auth/gitlab_auth.py96 except Exception:CODE
MEDIUMpotpie/cli/auth/gitlab_auth.py53def _guard_typer_prompt(callback):CODE
LOWpotpie/cli/auth/auth_commands.py384 except Exception as exc:CODE
390 more matches not shown…
Modern Structural Boilerplate320 hits · 325 pts
SeverityFileLineSnippetContext
LOWpotpie/agent_context.py96__all__ = ["AgentContextService"]CODE
LOWpotpie/config/local.py154__all__ = [CODE
LOWpotpie/config/local_paths.py15__all__ = ["default_home"]CODE
LOWpotpie/config/local_state.py111__all__ = ["local_json_transaction"]CODE
LOWpotpie/config/contracts.py43__all__ = ["ConfigService"]CODE
LOWpotpie/auth/__init__.py6__all__ = ["CredentialStore", "build_credential_store"]CODE
LOWpotpie/auth/wiring.py27__all__ = ["build_credential_store"]CODE
LOW⚡potpie/auth/adapters/credentials.py58 def update_potpie_firebase_refresh_token(self, refresh_token: str) -> None:CODE
LOWpotpie/auth/adapters/credentials.py184__all__ = ["CredentialStore", "FileCredentialStore"]CODE
LOWpotpie/auth/adapters/credentials_store.py412def update_potpie_firebase_refresh_token(refresh_token: str) -> None:CODE
LOWpotpie/auth/adapters/credentials_store.py533def set_active_pot_id(pot_id: str) -> None:CODE
LOWpotpie/auth/adapters/credentials_store.py712def set_active_linear_organization(org_id: str) -> None:CODE
LOWpotpie/auth/adapters/gitbucket_read_client.py130__all__ = [CODE
LOWpotpie/auth/adapters/http.py125__all__ = ["AuthHttpClient", "AuthHttpError", "HttpClient", "read_json"]CODE
LOWpotpie/auth/adapters/local_identity.py41__all__ = ["LocalAuthService"]CODE
LOWpotpie/auth/adapters/e2e_keyring.py43 def set_password(self, service: str, username: str, password: str) -> None:CODE
LOWpotpie/auth/adapters/gitbucket_client.py247__all__ = [CODE
LOW⚡potpie/auth/ports/credentials.py45 def update_potpie_firebase_refresh_token(self, refresh_token: str) -> None: ...CODE
LOWpotpie/auth/ports/credentials.py137__all__ = ["CredentialStore"]CODE
LOWpotpie/auth/ports/identity.py38__all__ = ["AuthIdentity", "AuthService"]CODE
LOWpotpie/pots/local_service.py94 def set_repo_default(self, *, repo: str, pot_id: str) -> None:CODE
LOWpotpie/pots/local_service.py139__all__ = ["LocalPotManagementService"]CODE
LOWpotpie/pots/local_store.py150 def set_repo_default(self, *, repo: str, pot_id: str) -> None:CODE
LOWpotpie/pots/local_store.py194__all__ = ["LocalPotStore"]CODE
LOWpotpie/pots/contracts.py102 def set_repo_default(self, *, repo: str, pot_id: str) -> None:CODE
LOWpotpie/pots/contracts.py121__all__ = [CODE
LOWpotpie/runtime/local_engine.py956__all__ = [CODE
LOWpotpie/runtime/ownership.py83__all__ = ["RuntimeOwnershipLock"]CODE
LOWpotpie/runtime/coordinator.py152__all__ = ["ConflictKey", "OperationCoordinator"]CODE
LOWpotpie/runtime/server.py545__all__ = [CODE
LOWpotpie/runtime/controller.py541__all__ = [CODE
LOWpotpie/runtime/transport.py142__all__ = ["HttpDaemonTransport", "RuntimeEndpoint"]CODE
LOWpotpie/runtime/protocol.py256__all__ = [CODE
LOWpotpie/runtime/resource_manager.py706__all__ = [CODE
LOWpotpie/runtime/__init__.py92__all__ = [CODE
LOWpotpie/runtime/operations.py404__all__ = [CODE
LOWpotpie/runtime/clients.py971__all__ = [CODE
LOWpotpie/runtime/settings.py239def _set_if_present(target: dict[str, str], name: str, value: str | None) -> None:CODE
LOWpotpie/runtime/settings.py246__all__ = [CODE
LOWpotpie/runtime/composition.py202__all__ = [CODE
LOWpotpie/runtime/codec.py642__all__ = [CODE
LOWpotpie/runtime/root_services.py76 def set_repo_default(self, *, repo: str, pot_id: str) -> None:CODE
LOWpotpie/runtime/root_services.py205__all__ = [CODE
LOWpotpie/setup/flat_file_state.py42__all__ = ["FlatFileMigrator", "FlatFileStateStore"]CODE
LOWpotpie/setup/local_installer.py49__all__ = ["LocalInstaller"]CODE
LOWpotpie/setup/installation.py37__all__ = ["Installer"]CODE
LOWpotpie/setup/orchestrator.py175 def set_observer(self, observer: SetupObserver) -> None:CODE
LOWpotpie/setup/orchestrator.py393__all__ = ["DefaultSetupOrchestrator"]CODE
LOWpotpie/setup/contracts.py42 def set_observer(self, observer: SetupObserver) -> None: ...CODE
LOWpotpie/setup/contracts.py61__all__ = ["NoOpSetupObserver", "SetupObserver", "SetupOrchestrator"]CODE
LOWpotpie/setup/state.py38__all__ = ["MigrationPort", "StateStorePort"]CODE
LOW⚡potpie/cli/telemetry_context.py27__all__ = [CODE
LOWpotpie/cli/repo_location.py93__all__ = [CODE
LOWpotpie/cli/ui/setup_ux.py905__all__ = [CODE
LOWpotpie/cli/ui/interactive_prompts.py385__all__ = [CODE
LOWpotpie/cli/ui/format.py336__all__ = [CODE
LOWpotpie/cli/ui/logo_rotation.py238__all__ = [CODE
LOWpotpie/cli/ui/brand.py12__all__ = [CODE
LOWpotpie/cli/auth/_login_impl.py183__all__ = ["potpie_login_impl", "potpie_logout_impl", "potpie_login_api_key_impl"]CODE
LOWpotpie/cli/commands/bootstrap.py789__all__ = ["register"]CODE
260 more matches not shown…
Empty Error Handlers63 hits · 315 pts
SeverityFileLineSnippetContext
HIGHpotpie/auth/adapters/credentials_store.py306except CredentialStoreError:CODE
HIGHpotpie/auth/adapters/credentials_store.py1600except ValueError:CODE
HIGHpotpie/auth/adapters/credentials_store.py1649except Exception:CODE
HIGHpotpie/auth/adapters/provider_config.py77except ValueError:CODE
HIGHpotpie/auth/adapters/integration_verify.py38except (TypeError, ValueError):CODE
HIGHpotpie/cli/ui/setup_ux.py614except typer.Exit:CODE
HIGHpotpie/cli/auth/gitlab_auth.py96except Exception:CODE
HIGHpotpie/cli/commands/ui.py43except Exception: # noqa: BLE001 — fall through to the discovery checkCODE
HIGHpotpie/cli/commands/ui.py61except Exception: # noqa: BLE001CODE
HIGHpotpie/cli/commands/graph.py284except Exception: # noqa: BLE001 - observability must never fail a commandCODE
HIGHpotpie/cli/commands/graph.py300except Exception: # noqa: BLE001 - Sentry metrics must never fail a commandCODE
HIGHpotpie/cli/commands/graph.py3542except ValueError:CODE
HIGHpotpie/cli/commands/_common.py746except Exception: # noqa: BLE001CODE
HIGHpotpie/cli/commands/_common.py751except Exception: # noqa: BLE001CODE
HIGHpotpie/cli/telemetry/identity_store.py100except OSError:CODE
HIGHpotpie/cli/telemetry/preferences.py76except OSError:CODE
HIGH…egrations/adapters/inbound/http/integrations_router.py1510except Exception:CODE
HIGH…egrations/adapters/inbound/http/integrations_router.py1846except Exception:CODE
HIGH…egrations/adapters/inbound/http/integrations_router.py584except Exception:CODE
HIGH…ons/integrations/adapters/outbound/oauth/jira_oauth.py90except Exception:CODE
HIGH…ntegrations/adapters/outbound/linear/graphql_client.py57except Exception:CODE
HIGHpotpie/daemon/discovery.py106except (OSError, RuntimeError, ValueError):CODE
HIGHpotpie/daemon/discovery.py225except FileNotFoundError:CODE
HIGHpotpie/daemon/discovery.py230except FileNotFoundError:CODE
HIGHpotpie/daemon/discovery.py323except OSError:CODE
HIGHpotpie/daemon/discovery.py327except FileNotFoundError:CODE
HIGHpotpie/daemon/lifecycle.py60except OSError:CODE
HIGHpotpie/daemon/__main__.py43except KeyboardInterrupt:CODE
HIGHpotpie/daemon/http/ui/router.py336except Exception: # noqa: BLE001, S110 — analytics must never fail the SPACODE
HIGHpotpie/sandbox/tests/unit/test_daytona_provider.py83except (ValueError, IndexError):CODE
HIGH…/sandbox/tests/integration/test_daytona_persistence.py161except Exception:CODE
HIGHpotpie/sandbox/tests/e2e/conftest.py35except socket.gaierror:CODE
HIGH…ndbox/sandbox/adapters/outbound/local/git_workspace.py256except Exception:CODE
HIGH…/sandbox/sandbox/adapters/outbound/daytona/provider.py1437except ImportError:CODE
HIGH…/sandbox/sandbox/adapters/outbound/daytona/provider.py1450except ImportError:CODE
HIGH…ontext-engine/tests/unit/test_graph_workbench_plans.py141except threading.BrokenBarrierError:CODE
HIGHpotpie/context-engine/tests/integration/conftest.py117except Exception:CODE
HIGHpotpie/context-engine/tests/integration/conftest.py308except Exception:CODE
HIGHpotpie/context-engine/tests/integration/conftest.py338except Exception:CODE
HIGHpotpie/context-engine/tests/integration/conftest.py167except ModuleNotFoundError:CODE
HIGH…dapters/outbound/reconciliation/pydantic_deep_agent.py1483except Exception:CODE
HIGH…dapters/outbound/reconciliation/pydantic_deep_agent.py1004except Exception:CODE
HIGH…dapters/outbound/reconciliation/pydantic_deep_agent.py944except Exception: # noqa: BLE001 — never break failure handlingCODE
HIGH…/adapters/outbound/graph/backends/in_memory_backend.py228except Exception: # noqa: BLE001 - graph writes should survive embedder failure.CODE
HIGH…context_engine/adapters/outbound/observability/otel.py362except Exception: # noqa: BLE001CODE
HIGH…context_engine/adapters/outbound/observability/otel.py372except Exception: # noqa: BLE001CODE
HIGH…context_engine/adapters/outbound/observability/otel.py378except Exception: # noqa: BLE001CODE
HIGH…context_engine/adapters/outbound/observability/otel.py386except Exception: # noqa: BLE001CODE
HIGH…context_engine/adapters/outbound/observability/otel.py265except Exception: # noqa: BLE001CODE
HIGH…context_engine/adapters/outbound/observability/otel.py279except Exception: # noqa: BLE001CODE
HIGH…context_engine/adapters/outbound/observability/otel.py293except Exception: # noqa: BLE001CODE
HIGH…context_engine/adapters/outbound/observability/otel.py255except Exception: # noqa: BLE001CODE
HIGH…ne/adapters/outbound/observability/telemetry_bridge.py60except Exception: # noqa: BLE001 — telemetry never fails a requestCODE
HIGH…ne/adapters/outbound/observability/telemetry_bridge.py90except Exception: # noqa: BLE001CODE
HIGH…context_engine/adapters/outbound/postgres/telemetry.py97except Exception:CODE
HIGH…context_engine/adapters/outbound/postgres/telemetry.py137except Exception:CODE
HIGH…context_engine/adapters/outbound/postgres/telemetry.py92except Exception:CODE
HIGH…context_engine/adapters/outbound/postgres/telemetry.py132except Exception:CODE
HIGH…ne/adapters/outbound/http/potpie_context_api_client.py403except Exception:CODE
HIGH…ext_engine/application/use_cases/reap_stale_batches.py98except Exception: # noqa: BLE001 — never break the reaperCODE
3 more matches not shown…
Deep Nesting106 hits · 88 pts
SeverityFileLineSnippetContext
LOWpotpie/auth/adapters/atlassian_client.py182CODE
LOWpotpie/auth/adapters/credentials_store.py454CODE
LOWpotpie/auth/adapters/atlassian_read_client.py137CODE
LOWpotpie/auth/adapters/atlassian_read_client.py198CODE
LOWpotpie/auth/adapters/github.py188CODE
LOWpotpie/auth/adapters/github.py250CODE
LOWpotpie/auth/adapters/gitbucket_client.py52CODE
LOWpotpie/auth/adapters/integration_verify.py22CODE
LOWpotpie/pots/local_store.py65CODE
LOWpotpie/runtime/ownership.py35CODE
LOWpotpie/runtime/resource_manager.py387CODE
LOWpotpie/runtime/operations.py321CODE
LOWpotpie/cli/read_presenter.py92CODE
LOWpotpie/cli/cli_install_status.py295CODE
LOWpotpie/cli/ui/setup_ux.py261CODE
LOWpotpie/cli/ui/setup_ux.py427CODE
LOWpotpie/cli/ui/interactive_prompts.py148CODE
LOWpotpie/cli/ui/interactive_prompts.py256CODE
LOWpotpie/cli/ui/logo_rotation.py92CODE
LOWpotpie/cli/auth/atlassian_auth.py161CODE
LOWpotpie/cli/auth/auth_commands.py501CODE
LOWpotpie/cli/commands/bootstrap.py93CODE
LOWpotpie/cli/commands/bootstrap.py95CODE
LOWpotpie/cli/commands/graph.py168CODE
LOWpotpie/cli/commands/graph.py1356CODE
LOWpotpie/cli/commands/graph.py1572CODE
LOWpotpie/cli/commands/graph.py2628CODE
LOWpotpie/cli/commands/graph.py2660CODE
LOWpotpie/cli/commands/graph.py3268CODE
LOWpotpie/cli/commands/_common.py606CODE
LOWpotpie/cli/commands/_common.py869CODE
LOWpotpie/cli/commands/pots.py645CODE
LOWpotpie/cli/telemetry/product_analytics.py96CODE
LOW…egrations/adapters/inbound/http/integrations_router.py500CODE
LOW…egrations/adapters/inbound/http/integrations_router.py744CODE
LOW…egrations/adapters/inbound/http/integrations_router.py1081CODE
LOW…egrations/adapters/inbound/http/integrations_router.py1322CODE
LOW…egrations/adapters/inbound/http/integrations_router.py1452CODE
LOW…egrations/adapters/inbound/http/integrations_router.py1763CODE
LOW…tions/integrations/adapters/outbound/linear/adapter.py74CODE
LOW…ntegrations/adapters/outbound/linear/graphql_client.py19CODE
LOW…tions/integrations/application/integrations_service.py165CODE
LOW…tions/integrations/application/integrations_service.py310CODE
LOW…tions/integrations/application/integrations_service.py361CODE
LOW…tions/integrations/application/integrations_service.py539CODE
LOW…tions/integrations/application/integrations_service.py941CODE
LOW…tions/integrations/application/integrations_service.py1384CODE
LOW…tions/integrations/application/integrations_service.py1922CODE
LOW…tions/integrations/application/integrations_service.py2154CODE
LOW…tions/integrations/application/integrations_service.py2350CODE
LOW…tions/integrations/application/integrations_service.py2716CODE
LOW…/sandbox/tests/integration/test_daytona_persistence.py85CODE
LOW…/sandbox/sandbox/adapters/outbound/daytona/provider.py436CODE
LOW…/sandbox/sandbox/adapters/outbound/daytona/provider.py990CODE
LOWpotpie/sandbox/sandbox/api/client.py1013CODE
LOWpotpie/sandbox/sandbox/api/parser_wire.py55CODE
LOWpotpie/sandbox/scripts/daytona_local.py61CODE
LOWpotpie/sandbox/scripts/daytona_local.py147CODE
LOWpotpie/skills/installer.py58CODE
LOWpotpie/skills/installer.py478CODE
46 more matches not shown…
Cross-Language Confusion11 hits · 56 pts
SeverityFileLineSnippetContext
HIGHpotpie/sandbox/tests/e2e/test_local_subprocess_e2e.py225 f"printf {token} >> log.txt && sleep 0.2 && printf {token} >> log.txt",CODE
HIGHpotpie/sandbox/tests/e2e/test_docker_e2e.py195 cmd=("sh", "-c", "nslookup example.com 2>/dev/null; echo exit=$?"),CODE
HIGH…/sandbox/sandbox/adapters/outbound/daytona/provider.py226 f"{shlex.quote(worktree_path)} 2>/dev/null || true"CODE
HIGH…/sandbox/sandbox/adapters/outbound/daytona/provider.py843 f"{shlex.quote(base_ref)} 2>/dev/null || true"CODE
HIGH…/sandbox/sandbox/adapters/outbound/daytona/provider.py912 f"git -C {shlex.quote(bare_path)} worktree prune 2>/dev/null || true"CODE
HIGH⚡…tpie/context-engine/tests/integration/test_e2e_http.py151# Query surface end-to-end (serialization + shape, not just non-null)COMMENT
HIGH…_engine/adapters/outbound/hatchet/hatchet_job_queue.py42 self._hatchet.event.push(EVENT_PROCESS_BATCH, {"batch_id": batch_id})CODE
HIGH…_engine/adapters/outbound/hatchet/hatchet_job_queue.py57 self._hatchet.event.push(CODE
HIGH…otpie_context_engine/adapters/outbound/graph/cypher.py480 r.expired_at = null,STRING
HIGH…otpie_context_engine/adapters/outbound/graph/cypher.py763 r.expired_at = null,STRING
HIGHscripts/validate_conformance_history.py214 f"{relative_path}: previous_record must be null; use the three historical fields"CODE
Fake / Example Data49 hits · 40 pts
SeverityFileLineSnippetContext
LOW…/src/potpie_context_engine/benchmarks/core/universe.py4The bench's canonical universe is "Acme Corp" (bench-plan §5.1):STRING
LOW⚡tests/unit/test_gitlab_client.py184 "name": "Jane Doe",CODE
LOW⚡tests/unit/test_gitlab_client.py191 assert account["name"] == "Jane Doe"CODE
LOW⚡tests/unit/test_gitlab_client.py305 account: dict[str, Any] = {"id": "42", "username": "jane", "name": "Jane Doe"}CODE
LOW⚡tests/unit/test_ui_router.py52 assert _caption("person:jane-doe", {"name": "Jane Doe"}) == "Jane Doe"CODE
LOW⚡tests/unit/test_cli_atlassian.py62 result = verify_gateway_product("user@example.com", "tok", "", "jira")CODE
LOW⚡tests/unit/test_cli_atlassian.py109 "user@example.com",CODE
LOW⚡tests/unit/test_cli_atlassian.py272 "user@example.com",CODE
LOW⚡tests/unit/test_cli_atlassian.py859 sites = _fetch_accessible_resources("user@example.com", "token")CODE
LOW⚡tests/unit/test_cli_atlassian.py874 sites = _fetch_accessible_resources("user@example.com", "token")CODE
LOW⚡tests/unit/test_cli_atlassian.py888 sites = _fetch_accessible_resources("user@example.com", "token")CODE
LOW⚡tests/unit/test_cli_atlassian.py977 "user@example.com",CODE
LOW⚡tests/unit/test_cli_atlassian.py987 "user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py147 "user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py170 "user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py196 "user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py251 "user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py324 "user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py407 email="user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py455 "user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py479 "user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py499 "user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py542 "user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py588 email="user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py610 prompts = iter(["api-token-secret", "user@example.com", "myteam"])CODE
LOWtests/unit/test_cli_atlassian.py691 prompt_values = iter(["api-token-secret", "user@example.com"])CODE
LOWtests/unit/test_cli_atlassian.py757 prompt_values = iter(["api-token-secret", "user@example.com"])CODE
LOWtests/unit/test_cli_atlassian.py816 prompt_values = iter(["api-token-secret", "user@example.com"])CODE
LOWtests/unit/test_cli_atlassian.py906 sites = _fetch_accessible_resources("user@example.com", "token")CODE
LOWtests/unit/test_cli_atlassian.py1025 email="user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py1052 email="user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py1076 email="user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py1094 "email": "user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py1144 "email": "user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py1233 email="user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py1259 email="user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py1286 email="user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py1309 email="user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py1392 "email": "user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py1451 "email": "user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py1472 "email": "user@example.com",CODE
LOWtests/unit/test_cli_atlassian.py1632 "email": "user@example.com",CODE
LOW⚡tests/unit/test_cli_atlassian_shared.py737 "email": "user@example.com",CODE
LOW⚡tests/unit/test_cli_atlassian_shared.py745 assert creds["email"] == "user@example.com"CODE
LOW⚡tests/unit/test_cli_atlassian_shared.py991 "email": "user@example.com",CODE
LOW⚡tests/unit/test_cli_atlassian_shared.py997 assert record["account"]["email"] == "user@example.com"CODE
LOW⚡tests/unit/test_cli_atlassian_shared.py999 assert record["email"] == "user@example.com"CODE
LOW⚡tests/unit/test_cli_atlassian_shared.py1007 "email": "user@example.com",CODE
LOW⚡tests/unit/test_cli_atlassian_shared.py1014 assert record["account"]["email"] == "user@example.com"CODE
AI Slop Vocabulary12 hits · 35 pts
SeverityFileLineSnippetContext
MEDIUM…tpie/cli/templates/claude_plugin/hooks/potpie_nudge.py48# Map a nudge event back to the harness hook-event name used in the output envelope.COMMENT
MEDIUM…tpie/cli/templates/claude_plugin/hooks/potpie_nudge.py153# --- payload accessors (harness-tolerant) -----------------------------------COMMENT
MEDIUM…tpie/cli/templates/claude_plugin/hooks/potpie_nudge.py461 # argparse already wrote usage; never propagate a nonzero exit to the harness.COMMENT
MEDIUMpotpie/sandbox/tests/integration/test_real_repo_flow.py141 # expose). Mirror the convention used elsewhere in the harness.COMMENT
MEDIUMpotpie/sandbox/tests/integration/test_real_repo_flow.py162 # in the harness reads it to orient itself.COMMENT
MEDIUMpotpie/skills/manager.py221 # Unknown harness → empty nudge rather than an error in status().COMMENT
MEDIUMpotpie/context-engine/pyproject.toml75# uses. Excludes benchmarks (development harness) and dev tooling.COMMENT
MEDIUM…/context-engine/tests/integration/test_e2e_pipeline.py158 # labels and the DEPLOYED_TO edge below are robust against LLM phrasing.COMMENT
MEDIUM…pie_context_engine/core/semantic_mutation_validator.py157 # surface a non-blocking warning so the harness knows how to proceed.COMMENT
MEDIUM…/src/potpie_context_engine/core/ports/agent_context.py108 harness: str | None = None # agent harness, for the skill nudgeCODE
MEDIUMtests/unit/test_agent_templates_v15.py265# The Stage 6 core skills: every one must carry the harness-led boundary inCOMMENT
MEDIUMtests/unit/test_agent_templates_v15.py266# its body — the harness reads/decides/writes, Potpie validates/stores, noCOMMENT
Structural Annotation Overuse15 hits · 24 pts
SeverityFileLineSnippetContext
LOWREADME.md22### Step 1: install the CLI through [PyPI](https://pypi.org/project/potpie/) with `uv` or `pip`:COMMENT
LOWREADME.md38### Step 2: Run the Potpie setup wizardCOMMENT
LOWREADME.md50### Step 3: Open your configured harnessCOMMENT
LOW…ine/src/potpie_context_engine/benchmarks/core/smoke.py70 # Step 1: resolve every fixture (seeds + signals + distractors) withoutCOMMENT
LOW⚡…ine/src/potpie_context_engine/benchmarks/core/smoke.py101 # Step 2: fake an empty graph snapshot + outcomes and exercise theCOMMENT
LOW⚡…ine/src/potpie_context_engine/benchmarks/core/smoke.py126 # Step 3: fake an empty engine response and exercise the retrieval evaluator.COMMENT
LOWdocs/async-migration-plan.md19## Step 0: Revert thread-based changesCOMMENT
LOWdocs/async-migration-plan.md49## Step 1: AsyncRedisStreamManager for FastAPICOMMENT
LOWdocs/async-migration-plan.md90## Step 2: AsyncSession for hot-path DB servicesCOMMENT
LOWdocs/async-migration-plan.md174## Step 3: Async Redis for non-streaming services ✅COMMENT
LOWdocs/async-migration-plan.md199## Step 4: Async HTTP clients ✅COMMENT
LOWdocs/async-migration-plan.md218## Step 5: SearchService async DBCOMMENT
LOWdocs/getting-started/first-steps.md10## Step 2: Run the Potpie setup wizardCOMMENT
LOWdocs/getting-started/first-steps.md22## Step 3: Open your configured harnessCOMMENT
LOWdocs/getting-started/installation.md6## Step 1: install the CLI through [PyPI](https://pypi.org/project/potpie/) with `uv` or `pip`COMMENT
AI Structural Patterns27 hits · 20 pts
SeverityFileLineSnippetContext
LOWpotpie/cli/commands/bootstrap.py95CODE
LOWpotpie/cli/commands/graph.py544CODE
LOWpotpie/cli/commands/graph.py681CODE
LOWpotpie/cli/commands/graph.py761CODE
LOWpotpie/cli/commands/graph.py1572CODE
LOWpotpie/cli/commands/graph.py1770CODE
LOWpotpie/cli/commands/graph.py1837CODE
LOWpotpie/daemon/http/ui/router.py216CODE
LOWpotpie/daemon/http/ui/router.py282CODE
LOWpotpie/sandbox/sandbox/bootstrap/container.py43CODE
LOW…/sandbox/sandbox/adapters/outbound/daytona/provider.py87CODE
LOWpotpie/context-engine/tests/unit/test_p9_readers.py41CODE
LOW…ne/src/potpie_context_engine/core/workbench_service.py2859CODE
LOW…ne/src/potpie_context_engine/core/workbench_service.py129CODE
LOW…ne/src/potpie_context_engine/core/workbench_service.py835CODE
LOW…gine/src/potpie_context_engine/core/context_records.py203CODE
LOW…text-engine/src/potpie_context_engine/core/ontology.py671CODE
LOW…gine/src/potpie_context_engine/core/graph_workbench.py59CODE
LOW…t-engine/src/potpie_context_engine/core/graph_query.py112CODE
LOW…t-engine/src/potpie_context_engine/core/graph_query.py149CODE
LOW…rc/potpie_context_engine/bootstrap/ingestion_server.py249CODE
LOW…_engine/adapters/inbound/http/api/v1/context/router.py878CODE
LOW…_engine/adapters/inbound/http/api/v1/context/router.py970CODE
LOW…ext-engine/src/potpie_context_engine/benchmarks/cli.py103CODE
LOW…ntext_engine/application/services/read_orchestrator.py90CODE
LOW…ine/src/potpie_context_engine/domain/retrieval_card.py28CODE
LOWtests/unit/test_context_resource_manager.py96CODE
Redundant / Tautological Comments12 hits · 18 pts
SeverityFileLineSnippetContext
LOW…egrations/adapters/inbound/http/integrations_router.py461 # Check if this is actually a callback request (has code parameter)COMMENT
LOW…egrations/adapters/inbound/http/integrations_router.py2171 # Check if integration exists before attempting deletionCOMMENT
LOW…egrations/adapters/inbound/http/integrations_router.py2229 # Check if integration exists and verify ownershipCOMMENT
LOW…s/integrations/adapters/outbound/oauth/linear_oauth.py42 # Check if token has expiredCOMMENT
LOW…ntegrations/adapters/outbound/oauth/sentry_oauth_v2.py41 # Check if token has expiredCOMMENT
LOW…tions/integrations/application/integrations_service.py334 # Check if token is expiredCOMMENT
LOW…tions/integrations/application/integrations_service.py629 # Check if the code might be expired (OAuth codes typically expire in 10 minutes)COMMENT
LOW…tions/integrations/application/integrations_service.py701 # Check if this Potpie user already integrated this Sentry orgCOMMENT
LOW…tions/integrations/application/integrations_service.py1658 # Check if the code might be expired (OAuth codes typically expire in 10 minutes)COMMENT
LOW…tions/integrations/application/integrations_service.py1701 # Check if this user already has an integration for this Linear orgCOMMENT
LOW…tions/integrations/application/integrations_service.py2184 # Check if token is expired and refresh if neededCOMMENT
LOWpotpie/parsing/parsing/py_graph.py41 # Check if this .git is a directoryCOMMENT
Self-Referential Comments5 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUM…egrations/adapters/inbound/http/integrations_router.py528 # Create a LinearSaveRequest with the authorization codeCOMMENT
MEDIUM…ntegrations/adapters/outbound/oauth/sentry_oauth_v2.py259 # This method is deprecated in favor of the new flowCOMMENT
MEDIUM⚡…tions/integrations/application/integrations_service.py1583 # Create the unique identifier that would be used for this Sentry userCOMMENT
MEDIUM…tions/integrations/application/integrations_service.py1054 # Create the database modelCOMMENT
MEDIUM…tions/integrations/application/integrations_service.py1876 # Create the database modelCOMMENT
Over-Commented Block14 hits · 12 pts
SeverityFileLineSnippetContext
LOWpotpie/sandbox/sandbox/bootstrap/settings.py41 # incident response painful. The actual name appended at sandbox creationCOMMENT
LOWpotpie/sandbox/sandbox/bootstrap/settings.py61 daytona_snapshot_cpu: int = 2COMMENT
LOW…/sandbox/sandbox/adapters/outbound/daytona/provider.py1201 ) -> AsyncIterator[ExecChunk]:COMMENT
LOW…andbox/sandbox/application/services/sandbox_service.py441 labels["workspace_backend_id"] = workspace.location.backend_workspace_idCOMMENT
LOWpotpie/sandbox/scripts/setup-daytona-local.sh1#!/usr/bin/env bashCOMMENT
LOWpotpie/sandbox/scripts/teardown-daytona-local.sh1#!/usr/bin/env bashCOMMENT
LOW…scripts/daytona-overrides/docker-compose.override.yaml1# Layered on top of /Users/nandan/Desktop/Dev/daytona/docker/docker-compose.yamlCOMMENT
LOW…scripts/daytona-overrides/docker-compose.override.yaml21 - "${DAYTONA_DASHBOARD_PORT:-3010}:3000"COMMENT
LOW…scripts/daytona-overrides/docker-compose.override.yaml41 # Daytona's upstream compose hard-codes `proxy.localhost:4000` as theCOMMENT
LOW…text-engine/src/potpie_context_engine/core/ontology.py961# vocabulary (agents must never emit them) and so are deliberatelyCOMMENT
LOW…text-engine/src/potpie_context_engine/core/ontology.py1481COMMENT
LOW…dapters/outbound/reconciliation/pydantic_deep_agent.py381COMMENT
LOW…dapters/outbound/reconciliation/pydantic_deep_agent.py841 # list that survives checkpoint resumes (the todo state rides in theCOMMENT
LOW…ext-engine/src/potpie_context_engine/domain/ranking.py21from typing import Any, Iterable, Mapping, SequenceCOMMENT
Modern AI Meta-Vocabulary3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUM…/context-engine/tests/unit/test_context_graph_query.py67 # ranked-evidence envelope. There is no agentic/answer path to special-caseCOMMENT
MEDIUM…ngine/src/potpie_context_engine/core/reconciliation.py34# Step 11 parked the agentic-only types into ``potpie_context_engine.core.llm_reconciliation`` soCOMMENT
MEDIUM…t-engine/src/potpie_context_engine/core/graph_query.py14 # former ANSWER/INVESTIGATE members (server-side synthesis / agentic loop)COMMENT
Verbosity Indicators3 hits · 6 pts
SeverityFileLineSnippetContext
LOW…ine/src/potpie_context_engine/benchmarks/core/smoke.py70 # Step 1: resolve every fixture (seeds + signals + distractors) withoutCOMMENT
LOW⚡…ine/src/potpie_context_engine/benchmarks/core/smoke.py101 # Step 2: fake an empty graph snapshot + outcomes and exercise theCOMMENT
LOW⚡…ine/src/potpie_context_engine/benchmarks/core/smoke.py126 # Step 3: fake an empty engine response and exercise the retrieval evaluator.COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpotpie/parsing/tests/test_git_rs.py32 (lib / "utils.py").write_text("def helper(): pass\n")CODE