AI Slop Code RIsk Monitor

ascending-llc/jarvis-registry

Connect any AI copilot or autonomous agent to your enterprise tools — through a single, secure MCP/Agent gateway with built-in identity, access control, and full observability.

26.8 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for ascending-llc/jarvis-registry, a Python project with 3,525 GitHub stars. SynthScan examined 265,313 lines of code across 1024 source files, recording 5526 pattern matches distributed across 25 syntactic categories. The legacy adjusted pattern signal is 26.8 (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.

26.8
Adjusted Signal
26.8
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
3.5K
Stars
Python
Language
265.3K
Lines of Code
1.0K
Files
5.5K
Pattern Hits
2026-10-12
Scan Date
0.11
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 57.8/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 10.7/100 · LOW

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

Agent Over-Engineering Ratio 64.2/100 · HIGH

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

PR Review Velocity Impact 73.6/100 · HIGH

Which changes need focused human review? 5526 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 22HIGH 92MEDIUM 441LOW 4971

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 5526 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 Identifiers3563 hits · 3503 pts
SeverityFileLineSnippetContext
LOW⚡registry-pkgs/tests/unit/test_access_control.py18async def test_returns_empty_when_user_missing():CODE
LOW⚡registry-pkgs/tests/unit/test_access_control.py24async def test_returns_empty_when_user_has_no_source_id():CODE
LOW⚡registry-pkgs/tests/unit/test_access_control.py32async def test_resolves_group_ids_including_google_source():CODE
LOWregistry-pkgs/tests/unit/test_beanie_event_hooks.py45def test_every_declared_event_hook_is_actually_registered(document_class: type[Document]) -> None:CODE
LOWregistry-pkgs/tests/unit/test_metrics_client.py6def test_metrics_client_instantiation():CODE
LOWregistry-pkgs/tests/unit/test_metrics_client.py17def test_metrics_client_with_config():CODE
LOWregistry-pkgs/tests/unit/test_metrics_client.py40def test_metrics_client_skips_disabled_metrics():CODE
LOWregistry-pkgs/tests/unit/test_metrics_client.py101def test_record_unregistered_metric_logs_warning():CODE
LOWregistry-pkgs/tests/unit/test_metrics_client.py113def test_create_metrics_client_factory():CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py89 def test_produces_decodable_token(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py95 def test_kid_is_set_in_header(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py101 def test_no_kid_omits_kid_from_header(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py122 def test_returns_claims_for_valid_token(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py128 def test_audience_none_skips_aud_verification(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py141 def test_wrong_audience_raises(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py147 def test_expired_token_raises(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py154 def test_leeway_allows_slightly_expired_token(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py162 def test_leeway_zero_rejects_slightly_expired_token(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py169 def test_bad_signature_raises(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py190 def test_returns_kid_from_header(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py195 def test_returns_none_when_kid_absent(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py200 def test_raises_on_malformed_token(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py221 def test_raises_on_malformed_token(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py235 def test_includes_standard_claims(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py249 def test_expiration_calculated_correctly(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py259 def test_custom_iat_used_when_provided(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py359 def test_returns_claims_without_verification(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py366 def test_decodes_expired_token(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py373 def test_decodes_token_signed_with_different_key(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py380 def test_raises_on_malformed_token(self):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py435 def test_wrong_audience_raises(self, jwks):CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py442 def test_mismatched_key_raises(self):CODE
LOWregistry-pkgs/tests/unit/test_jwt_utils.py272 def test_token_type_included_when_provided(self):CODE
LOWregistry-pkgs/tests/unit/test_jwt_utils.py283 def test_token_type_omitted_when_none(self):CODE
LOWregistry-pkgs/tests/unit/test_jwt_utils.py294 def test_extra_claims_merged_into_payload(self):CODE
LOWregistry-pkgs/tests/unit/test_jwt_utils.py307 def test_extra_claims_can_override_standard_claims(self):CODE
LOWregistry-pkgs/tests/unit/test_jwt_utils.py320 def test_empty_extra_claims_dict_works(self):CODE
LOWregistry-pkgs/tests/unit/test_jwt_utils.py334 def test_payload_compatible_with_encode_jwt(self):CODE
LOWregistry-pkgs/tests/unit/test_jwt_utils.py400 def test_decodes_with_matching_jwk(self, jwks):CODE
LOWregistry-pkgs/tests/unit/test_jwt_utils.py407 def test_audience_none_skips_aud_verification(self, jwks):CODE
LOWregistry-pkgs/tests/unit/test_jwt_utils.py420 def test_expired_token_raises(self, jwks):CODE
LOWregistry-pkgs/tests/unit/test_jwt_utils.py475 def test_kid_matches_argument(self):CODE
LOWregistry-pkgs/tests/unit/test_jwt_utils.py495 def test_jwk_can_verify_token(self):CODE
LOWregistry-pkgs/tests/unit/test_mongodb.py102 def test_builds_url_and_resolves_db_name(CODE
LOWregistry-pkgs/tests/unit/test_mongodb.py116 def test_raises_when_no_db_name_resolvable(self) -> None:CODE
LOWregistry-pkgs/tests/unit/test_mongodb.py145 async def test_connect_db_creates_client(self):CODE
LOWregistry-pkgs/tests/unit/test_mongodb.py169 async def test_connect_db_uses_env_variables(self):CODE
LOWregistry-pkgs/tests/unit/test_mongodb.py195 async def test_connect_db_extracts_dbname_from_uri(self):CODE
LOWregistry-pkgs/tests/unit/test_mongodb.py211 async def test_connect_db_initializes_beanie(self, mock_ensure_collections):CODE
LOWregistry-pkgs/tests/unit/test_mongodb.py254 async def test_connect_db_uses_create_mongo_client(self):CODE
LOWregistry-pkgs/tests/unit/test_mongodb.py273 async def test_connect_db_raises_without_db_name(self):CODE
LOWregistry-pkgs/tests/unit/test_mongodb.py280 async def test_connect_db_only_once(self):CODE
LOW⚡registry-pkgs/tests/unit/test_mongodb.py317 async def test_close_db_when_not_connected(self):CODE
LOW⚡registry-pkgs/tests/unit/test_mongodb.py323 def test_get_client_when_connected(self):CODE
LOW⚡registry-pkgs/tests/unit/test_mongodb.py331 def test_get_client_when_not_connected(self):CODE
LOW⚡registry-pkgs/tests/unit/test_mongodb.py338 def test_get_database_when_connected(self):CODE
LOWregistry-pkgs/tests/unit/test_mongodb.py351 def test_get_database_when_not_connected(self):CODE
LOWregistry-pkgs/tests/unit/test_mongodb.py395 async def test_creates_only_missing_collections(self):CODE
LOWregistry-pkgs/tests/unit/test_mongodb.py407 async def test_does_nothing_when_all_collections_exist(self):CODE
LOWregistry-pkgs/tests/unit/test_mongodb.py418 async def test_creates_a_collection_shared_by_two_models_once(self):CODE
3503 more matches not shown…
Decorative Section Separators271 hits · 970 pts
SeverityFileLineSnippetContext
MEDIUM⚡registry-pkgs/tests/unit/test_jwt_utils.py81# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/test_jwt_utils.py83# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/test_jwt_utils.py114# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/test_jwt_utils.py116# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/test_jwt_utils.py182# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/test_jwt_utils.py184# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/test_jwt_utils.py206# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/test_jwt_utils.py208# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/test_jwt_utils.py227# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/test_jwt_utils.py229# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/test_jwt_utils.py351# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/test_jwt_utils.py353# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/test_jwt_utils.py386# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/test_jwt_utils.py388# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/test_jwt_utils.py451# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/test_jwt_utils.py453# ---------------------------------------------------------------------------COMMENT
MEDIUMregistry-pkgs/tests/unit/test_jwt_utils.py26# ---------------------------------------------------------------------------COMMENT
MEDIUMregistry-pkgs/tests/unit/test_jwt_utils.py28# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/oauth/test_oauth_service.py615# ----------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/oauth/test_oauth_service.py617# ----------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/oauth/test_oauth_service.py703# ----------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/oauth/test_oauth_service.py705# ----------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/oauth/test_oauth_service.py947# ----------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/oauth/test_oauth_service.py949# ----------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/oauth/test_oauth_service.py1055# ----------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/oauth/test_oauth_service.py1057# ----------------------------------------------------------------------COMMENT
MEDIUMregistry-pkgs/tests/unit/oauth/test_oauth_service.py84# ----------------------------------------------------------------------COMMENT
MEDIUMregistry-pkgs/tests/unit/oauth/test_oauth_service.py86# ----------------------------------------------------------------------COMMENT
MEDIUMregistry-pkgs/tests/unit/oauth/test_oauth_service.py242# ----------------------------------------------------------------------COMMENT
MEDIUMregistry-pkgs/tests/unit/oauth/test_oauth_service.py244# ----------------------------------------------------------------------COMMENT
MEDIUMregistry-pkgs/tests/unit/oauth/test_oauth_service.py332# ----------------------------------------------------------------------COMMENT
MEDIUMregistry-pkgs/tests/unit/oauth/test_oauth_service.py334# ----------------------------------------------------------------------COMMENT
MEDIUM⚡…istry-pkgs/tests/unit/oauth/test_flow_state_manager.py45 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…istry-pkgs/tests/unit/oauth/test_flow_state_manager.py47 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…istry-pkgs/tests/unit/oauth/test_flow_state_manager.py76 # ------------------------------------------------------------------COMMENT
MEDIUM⚡…istry-pkgs/tests/unit/oauth/test_flow_state_manager.py78 # ------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/core/test_client_categories.py85# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡registry-pkgs/tests/unit/core/test_client_categories.py87# ---------------------------------------------------------------------------COMMENT
MEDIUMregistry-pkgs/tests/unit/workflow/test_persistence.py755 # ── on_error=skip semantics (skip-tolerated failures) ──────────────────────COMMENT
MEDIUM⚡registry-pkgs/tests/unit/workflow/test_compiler.py455 # ── StepConfig model validation ──────────────────────────────────────────COMMENT
MEDIUM⚡registry-pkgs/tests/unit/workflow/test_compiler.py494 # ── _step_kwargs mapping ─────────────────────────────────────────────────COMMENT
MEDIUM⚡registry-pkgs/tests/unit/workflow/test_compiler.py514 # ── compile_workflow honours StepConfig ──────────────────────────────────COMMENT
MEDIUM⚡registry-pkgs/tests/unit/workflow/test_a2a_client.py747# ── Provider detection + call-scoped extra headers ────────────────────────────COMMENT
MEDIUMregistry-pkgs/tests/unit/workflow/test_a2a_client.py181# ── A2ACallResult.render_text ────────────────────────────────────────────────COMMENT
MEDIUMregistry-pkgs/tests/unit/workflow/test_a2a_client.py258# ── call_a2a: Message path ───────────────────────────────────────────────────COMMENT
MEDIUMregistry-pkgs/tests/unit/workflow/test_a2a_client.py278# ── call_a2a: streaming Task path ────────────────────────────────────────────COMMENT
MEDIUMregistry-pkgs/tests/unit/workflow/test_a2a_client.py318# ── call_a2a: non-streaming Task path (Bug 1 regression) ─────────────────────COMMENT
MEDIUMregistry-pkgs/tests/unit/workflow/test_a2a_client.py340# ── call_a2a: polling fallback (Bug 2) ───────────────────────────────────────COMMENT
MEDIUMregistry-pkgs/tests/unit/workflow/test_a2a_client.py460# ── call_a2a: error/empty paths ──────────────────────────────────────────────COMMENT
MEDIUM⚡registry-pkgs/src/registry_pkgs/database/leased_job.py69# ======================================================================================COMMENT
MEDIUM⚡registry-pkgs/src/registry_pkgs/database/leased_job.py71# ======================================================================================COMMENT
MEDIUMregistry-pkgs/src/registry_pkgs/database/leased_job.py123# ======================================================================================COMMENT
MEDIUMregistry-pkgs/src/registry_pkgs/database/leased_job.py125# ======================================================================================COMMENT
MEDIUMregistry-pkgs/src/registry_pkgs/database/leased_job.py305# ======================================================================================COMMENT
MEDIUMregistry-pkgs/src/registry_pkgs/database/leased_job.py307# ======================================================================================COMMENT
MEDIUMregistry-pkgs/src/registry_pkgs/database/leased_job.py391# ======================================================================================COMMENT
MEDIUMregistry-pkgs/src/registry_pkgs/database/leased_job.py393# ======================================================================================COMMENT
MEDIUM⚡registry-pkgs/src/registry_pkgs/database/leased_job.py488# ======================================================================================COMMENT
MEDIUM⚡registry-pkgs/src/registry_pkgs/database/leased_job.py490# ======================================================================================COMMENT
MEDIUM⚡registry-pkgs/src/registry_pkgs/oauth/oauth_service.py839 # ------------------------------------------------------------------COMMENT
211 more matches not shown…
Excessive Try-Catch Wrapping655 hits · 671 pts
SeverityFileLineSnippetContext
LOW⚡…stry-pkgs/tests/unit/telemetry/test_telemetry_setup.py319 except Exception as e:CODE
LOW⚡…stry-pkgs/tests/unit/telemetry/test_telemetry_setup.py327 except Exception as e:CODE
LOW…stry-pkgs/tests/unit/telemetry/test_telemetry_setup.py29 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/database/mongodb.py219 except Exception:CODE
LOWregistry-pkgs/src/registry_pkgs/database/mongodb.py231 except Exception:CODE
LOWregistry-pkgs/src/registry_pkgs/database/leased_job.py335 except Exception:CODE
LOWregistry-pkgs/src/registry_pkgs/database/leased_job.py370 except Exception:CODE
LOWregistry-pkgs/src/registry_pkgs/database/leased_job.py459 except Exception:CODE
LOW⚡registry-pkgs/src/registry_pkgs/database/leased_job.py478 except Exception as exc:CODE
LOW⚡registry-pkgs/src/registry_pkgs/database/leased_job.py482 except Exception:CODE
LOW…gistry-pkgs/src/registry_pkgs/database/redis_client.py32 except Exception as e:CODE
LOW…gistry-pkgs/src/registry_pkgs/database/redis_client.py44 except Exception as e:CODE
LOW…try-pkgs/src/registry_pkgs/oauth/flow_state_manager.py69 except Exception as e:CODE
LOW…try-pkgs/src/registry_pkgs/oauth/flow_state_manager.py121 except Exception:CODE
LOW…try-pkgs/src/registry_pkgs/oauth/flow_state_manager.py223 except Exception as e:CODE
LOW…try-pkgs/src/registry_pkgs/oauth/flow_state_manager.py252 except Exception as e:CODE
LOW…try-pkgs/src/registry_pkgs/oauth/flow_state_manager.py299 except Exception as e:CODE
LOW…try-pkgs/src/registry_pkgs/oauth/flow_state_manager.py321 except Exception as e:CODE
LOW…try-pkgs/src/registry_pkgs/oauth/flow_state_manager.py344 except Exception as e:CODE
LOW…try-pkgs/src/registry_pkgs/oauth/flow_state_manager.py376 except Exception as e:CODE
LOW…try-pkgs/src/registry_pkgs/oauth/flow_state_manager.py406 except Exception as e:CODE
LOW…try-pkgs/src/registry_pkgs/oauth/flow_state_manager.py471 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/oauth_client.py224 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/oauth_client.py291 except Exception as e:CODE
LOW⚡registry-pkgs/src/registry_pkgs/oauth/oauth_service.py835 except Exception as e:CODE
LOW⚡registry-pkgs/src/registry_pkgs/oauth/oauth_service.py962 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/oauth_service.py578 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/oauth_service.py657 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/oauth_service.py775 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/oauth_service.py1150 except Exception as e:CODE
LOW…try-pkgs/src/registry_pkgs/oauth/redis_flow_storage.py113 except Exception as e:CODE
LOW…try-pkgs/src/registry_pkgs/oauth/redis_flow_storage.py130 except Exception as e:CODE
LOW…try-pkgs/src/registry_pkgs/oauth/redis_flow_storage.py149 except Exception as e:CODE
LOW…try-pkgs/src/registry_pkgs/oauth/redis_flow_storage.py161 except Exception as e:CODE
LOW…try-pkgs/src/registry_pkgs/oauth/redis_flow_storage.py181 except Exception as e:CODE
LOW…try-pkgs/src/registry_pkgs/oauth/redis_flow_storage.py208 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/user_service.py23 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/user_service.py38 except Exception:CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/user_service.py43 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/user_service.py84 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/user_service.py135 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/token_service.py225 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/headers.py118 except Exception as exc:CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/headers.py187 except Exception:CODE
LOWregistry-pkgs/src/registry_pkgs/core/scopes.py58 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/core/agentcore_jwt.py108 except Exception:CODE
LOWregistry-pkgs/src/registry_pkgs/core/agentcore_jwt.py125 except Exception:CODE
LOWregistry-pkgs/src/registry_pkgs/core/crypto_utils.py99 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/core/crypto_utils.py161 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/core/crypto_utils.py213 except Exception as encrypt_error:CODE
LOWregistry-pkgs/src/registry_pkgs/core/crypto_utils.py229 except Exception as encrypt_error:CODE
LOWregistry-pkgs/src/registry_pkgs/core/crypto_utils.py233 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/core/crypto_utils.py287 except Exception as decrypt_error:CODE
LOWregistry-pkgs/src/registry_pkgs/core/crypto_utils.py302 except Exception as decrypt_error:CODE
LOWregistry-pkgs/src/registry_pkgs/core/crypto_utils.py306 except Exception as e:CODE
LOWregistry-pkgs/src/registry_pkgs/workflows/runner.py278 except Exception as exc:CODE
LOWregistry-pkgs/src/registry_pkgs/workflows/runner.py313 except Exception:CODE
LOWregistry-pkgs/src/registry_pkgs/workflows/runner.py393 except Exception:CODE
LOWregistry-pkgs/src/registry_pkgs/workflows/runner.py462 except Exception as exc:CODE
LOWregistry-pkgs/src/registry_pkgs/workflows/runner.py540 except Exception as exc:CODE
595 more matches not shown…
Docstring Block Structure69 hits · 345 pts
SeverityFileLineSnippetContext
HIGHregistry-pkgs/src/registry_pkgs/oauth/oauth_utils.py2 Get default redirect URI for OAuth callback. Constructs redirect URI using the caller-supplied base URL and thSTRING
HIGHregistry-pkgs/src/registry_pkgs/oauth/oauth_client.py164 Exchange authorization code for access tokens using PKCE. Args: flow_metadata: OAuth flow STRING
HIGHregistry-pkgs/src/registry_pkgs/oauth/oauth_client.py233 Refresh OAuth tokens using refresh token. No ``scope`` is sent, so the original grant's scopes are kepSTRING
HIGHregistry-pkgs/src/registry_pkgs/oauth/oauth_client.py313 Dynamically register OAuth client (RFC 7591). Args: server_url: Authorization server URL STRING
HIGHregistry-pkgs/src/registry_pkgs/oauth/oauth_service.py991Decide what to do after a downstream 401. Args: rejected_access_token: The bearer token the downstrSTRING
HIGHregistry-pkgs/src/registry_pkgs/oauth/token_service.py61 Store OAuth access token (encrypted) Args: user_id: User ID service_name: ServSTRING
HIGHregistry-pkgs/src/registry_pkgs/oauth/headers.py47 Build complete HTTP headers with ALL authentication types. Consolidates OAuth, apiKey, custom header, and AgentSTRING
HIGHregistry-pkgs/src/registry_pkgs/oauth/headers.py222 Build complete headers with authentication for MCP server requests. Consolidates auth logic used by all proxy eSTRING
HIGHregistry-pkgs/src/registry_pkgs/core/crypto_utils.py55 Encrypts a value using AES-CBC with a random IV. This implementation is compatible with the TypeScript encryptSTRING
HIGHregistry-pkgs/src/registry_pkgs/core/crypto_utils.py105 Decrypts an encrypted value using AES-CBC. This implementation is compatible with the TypeScript decryptV2 funSTRING
HIGHregistry-pkgs/src/registry_pkgs/core/jwt_utils.py53Build a standardized JWT payload with common claims. Constructs a JWT payload dict with standard claims (sub, iss, STRING
HIGHregistry-pkgs/src/registry_pkgs/core/jwt_utils.py103Encode a JWT using RS256 with an RSA private key. Args: payload: Claims dict to encode. Must contain at leaSTRING
HIGHregistry-pkgs/src/registry_pkgs/core/jwt_utils.py131Decode and verify a self-signed JWT using an RSA public key. Verifies the RS256 signature, expiry, and issuer. AudiSTRING
HIGHregistry-pkgs/src/registry_pkgs/core/jwt_utils.py184Decode a JWT without verifying its signature or any claims. Intended for inspecting the payload of externally-issueSTRING
HIGHregistry-pkgs/src/registry_pkgs/core/jwt_utils.py209Return the JWK entry whose ``kid`` matches the given key ID. Args: jwks: A JWKS dict with a ``"keys"`` arraSTRING
HIGHregistry-pkgs/src/registry_pkgs/core/jwt_utils.py242Decode and verify a JWT using a JSON Web Key (JWK). Used to verify tokens issued by external identity providers (KeSTRING
HIGHregistry-pkgs/src/registry_pkgs/core/jwt_utils.py299Return the ``kid`` from the unverified JWT header. Args: token: Compact JWT string. The header is decoded wSTRING
HIGHregistry-pkgs/src/registry_pkgs/core/jwt_utils.py318Return the full unverified JWT header as a dict. Decodes the header segment without verifying the token's signatureSTRING
HIGHregistry-pkgs/src/registry_pkgs/core/jwt_utils.py339Build a JSON Web Key Set (JWKS) dict from an RSA public key PEM. Constructs a JWKS response body containing a singlSTRING
HIGHregistry-pkgs/src/registry_pkgs/workflows/runner.py199Execute a workflow definition and return the completed run + per-node results. Callers must pre-create a ``WorkSTRING
HIGH…-pkgs/src/registry_pkgs/workflows/executor_resolver.py147Resolve each STEP node to an MCP server / A2A agent / A2A pool executor. The registry is keyed by ``node.id`` so twSTRING
HIGH…istry-pkgs/src/registry_pkgs/workflows/mcp_executor.py92Wrap an MCP server as a workflow executor via a direct downstream call. Args: mcp_server: Active STRING
HIGHregistry-pkgs/src/registry_pkgs/models/enums.py581Validate the directive against the current status and return the resulting status. Idempotent transitions (pausSTRING
HIGHregistry-pkgs/src/registry_pkgs/models/a2a_agent.py532 Create A2AAgent from standard A2A agent card using SDK validation. Args: card_data: A2A agSTRING
HIGH…y-pkgs/src/registry_pkgs/models/extended_mcp_server.py645 Create ExtendedMCPServer instance from server info dictionary. Args: server_info: Server iSTRING
HIGHregistry-pkgs/src/registry_pkgs/vector/repository.py158 Save a model instance to vector database. Args: instance: Model instance to save STRING
HIGH…y-pkgs/src/registry_pkgs/vector/retrievers/reranker.py21 Create reranker instance based on provider type. Args: reranker_type: Reranker provider (e.g., "bedrocSTRING
HIGH…gs/src/registry_pkgs/vector/backends/weaviate_store.py305 Get Weaviate collection by name. Args: collection_name: Collection name (required, will usSTRING
HIGH…gs/src/registry_pkgs/vector/backends/weaviate_store.py399 Check if collection exists in Weaviate. Args: collection_name: Collection name (required, STRING
HIGH…stry-pkgs/src/registry_pkgs/vector/adapters/factory.py70Create vector store adapter. Args: config: BackendConfig instance Returns: VecSTRING
HIGHauth-server/src/auth_server/providers/factory.py23Factory function to get the appropriate auth provider. Args: provider_type: Type of provider to create ('enSTRING
HIGHauth-server/src/auth_server/providers/entra.py193Fetch user information from Microsoft Graph API. Args: access_token: OAuth2 access token RSTRING
HIGHauth-server/src/auth_server/providers/base.py27Get user information from access token. Args: access_token: OAuth2 access token (required for GraphSTRING
HIGHregistry/src/registry/core/mcp_client.py334 Perform MCP initialization using MCP client library and return the init_result. This is a pure transport layerSTRING
HIGHregistry/src/registry/core/mcp_client.py501 Perform MCP initialization handshake using raw JSON-RPC for streamable-http transport. Args: target_urSTRING
HIGHregistry/src/registry/auth/dependencies.py21 Get current authenticated user from request state. Args: request: FastAPI request object Returns:STRING
HIGH…gistry/src/registry/auth/oauth/reconnection/manager.py102 Try to reconnect single server Notes: tryReconnect() Args: user_id: User ID STRING
HIGHregistry/src/registry/mcpgw/tools/server.py109 Make a tool call to downstream MCP. This function only handles making the HTTP POST request and parsing the responsSTRING
HIGHregistry/src/registry/mcpgw/tools/server.py374 Execute a specific downstream MCP tool. Args: ctx: The mcp.server.fastmcp.Context object that can be DSTRING
HIGHregistry/src/registry/mcpgw/tools/utils.py147 Use the ServerSession.send_notification() method to **schedule** the forwarding of a notification from downstreSTRING
HIGHregistry/src/registry/mcpgw/tools/utils.py207 Parse the Server-Send Event and check if it's a notification, a response, or something we don't care about. RefSTRING
HIGHregistry/src/registry/mcpgw/tools/utils.py245 Get target MCP server URL for proxying to MCP server. Consolidates URL building logic used across all proxy endSTRING
HIGHregistry/src/registry/api/v1/mcp/oauth_router.py496 Get OAuth tokens Notes: GET /oauth/tokens/:flowId TypeScript implementation: Get tokens via flowManager.geSTRING
HIGHregistry/src/registry/services/a2a_agent_service.py229 Fetch and validate agent card from URL using SDK. Args: url: Agent endpoint URL STRING
HIGHregistry/src/registry/services/a2a_agent_service.py443 Get agent by ID. Args: agent_id: Agent ID Returns: Agent document STRING
HIGHregistry/src/registry/services/a2a_agent_service.py516 Create a new agent. Automatically fetches agent card from provided URL. Args: data: Agent STRING
HIGHregistry/src/registry/services/a2a_agent_service.py611 Update an existing agent. If URL is updated, automatically fetches new agent card. Args: aSTRING
HIGHregistry/src/registry/services/a2a_agent_service.py802 Toggle agent enabled/disabled status. Args: agent_id: Agent ID enabled: New enSTRING
HIGHregistry/src/registry/services/a2a_agent_service.py843 Refresh agent capabilities by fetching latest agent card from well-known endpoint. This method provideSTRING
HIGHregistry/src/registry/services/a2a_agent_service.py874 Sync agent configuration from .well-known/agent-card.json endpoint using SDK. Args: agent_STRING
HIGHregistry/src/registry/services/server_service.py457 Create a new server. Args: data: Server creation data user_id: ID of the user STRING
HIGHregistry/src/registry/services/server_service.py671 Update a server. Args: server_id: Server document ID data: Update data (partiaSTRING
HIGHregistry/src/registry/services/server_service.py776 Fetch tools, resources, and prompts from server and update config. Args: server: Server doSTRING
HIGHregistry/src/registry/services/server_service.py837 Toggle server enabled/disabled status. When enabling, fetch tools and sync to vector DB (upsert). STRING
HIGHregistry/src/registry/services/server_service.py900 Get server tools in toolFunctions format. Args: server_id: Server document ID STRING
HIGHregistry/src/registry/services/server_service.py1002 Consolidated method to retrieve tools, resources, prompts, and optionally capabilities from a server. ASTRING
HIGHregistry/src/registry/services/server_service.py1162 Refresh server capabilities (prompts, resources, tools). Fetches the latest capabilities from the MCP STRING
HIGHregistry/src/registry/services/workflow_service.py369 Get workflow by ID. Args: workflow_id: Workflow ID Returns: WorkflowDSTRING
HIGHregistry/src/registry/services/workflow_service.py406 Create a new workflow. Args: data: Workflow creation request Returns: STRING
HIGHregistry/src/registry/services/workflow_service.py461 Update an existing workflow. Args: workflow_id: Workflow ID data: Workflow updSTRING
9 more matches not shown…
Modern AI Meta-Vocabulary116 hits · 296 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md101Jarvis Registry builds upon the excellent foundational work of the [agentic-community/mcp-gateway-registry](https://githCODE
MEDIUMdocs/token-refresh-service.md4453. Search existing [GitHub Issues](https://github.com/agentic-community/mcp-gateway-registry/issues)CODE
MEDIUMdocs/anthropic-registry-import.md322- GitHub Issues: [mcp-gateway-registry/issues](https://github.com/agentic-community/mcp-gateway-registry/issues)CODE
MEDIUMdocs/complete-setup-guide.md176git clone https://github.com/agentic-community/mcp-gateway-registry.gitCODE
MEDIUMdocs/complete-setup-guide.md1159- **GitHub Issues**: https://github.com/agentic-community/mcp-gateway-registry/issuesCODE
MEDIUMdocs/complete-setup-guide.md1160- **Discussions**: https://github.com/agentic-community/mcp-gateway-registry/discussionsCODE
MEDIUMdocs/faq.md21→ Details: [Gateway & Proxy](FEATURES.md#1-gateway-proxy) · [A2A Agent Workflow](FEATURES.md#5-a2a-agent-workflow-orchesCODE
MEDIUMdocs/faq.md27→ See: [A2A Agent Workflow Orchestration](FEATURES.md#5-a2a-agent-workflow-orchestration) · [A2A Agent Registry](featureCODE
MEDIUMdocs/faq.md155→ See: [A2A Agent Workflow](FEATURES.md#5-a2a-agent-workflow-orchestration) · [A2A Agent Management](a2a-agent-managemenCODE
MEDIUMdocs/macos-setup-guide.md71git clone https://github.com/agentic-community/mcp-gateway-registry.gitCODE
MEDIUMdocs/macos-setup-guide.md377git clone https://github.com/agentic-community/mcp-gateway-registry.gitCODE
MEDIUMdocs/index.md42| [**Chatbot, Copilot & IDE Integration**](FEATURES.md#1-gateway-proxy) | Connect chatbots, copilots, developer IDEs, anCODE
MEDIUMdocs/index.md44| [**A2A Agent Workflow**](FEATURES.md#5-a2a-agent-workflow-orchestration) | Register and manage autonomous agents; orchCODE
MEDIUMdocs/index.md64- **Explore Agentic**: [exploreagentic.ai](https://exploreagentic.ai/) — the field guide to enterprise agentic AI, publiCODE
MEDIUMdocs/FEATURES.md3Jarvis Registry is the enterprise control plane for AI — connecting copilots, autonomous agents, and enterprise tools thCODE
MEDIUMdocs/keycloak-integration.md964docker-compose.yml # Service orchestrationCODE
MEDIUMdocs/design/security-design.md3Security in the registry is layered. Each layer has a distinct responsibility, and they compose in a fixed order on everCODE
MEDIUMdocs/design/agentcore.md71git clone https://github.com/agentic-community/mcp-gateway-registry.gitCODE
MEDIUMdocs/features/a2a-gateway-registry.md3The A2A Agent Gateway & Registry is the central catalog for [autonomous agents](https://exploreagentic.ai/agentic-ai/) eCODE
MEDIUMdocs/features/a2a-gateway-registry.md9An A2A agent is an autonomous service that exposes its capabilities through an agent card and a runtime endpoint. UnlikeCODE
MEDIUMdocs/features/auth-server.md5Rather than building its own identity store, the auth server is designed to federate with your existing enterprise IdentCODE
MEDIUM…s/explore-agentic/comparisons/agentspace-vs-copilot.md31Google launched Agentspace on December 13, 2024 <a href="#cite-3" class="cite-ref">[3]</a>, the company's enterprise-AI CODE
MEDIUM…s/explore-agentic/comparisons/agentspace-vs-copilot.md88Yes, the same product with a new label. Agentspace was folded into Gemini Enterprise at the October 9, 2025 launch <a hrCODE
MEDIUM…s/explore-agentic/comparisons/agentspace-vs-copilot.md118This article is mirrored from [Explore Agentic](https://www.exploreagentic.ai/) — a curated reading list on agentic AI, CODE
MEDIUMdocs/explore-agentic/comparisons/moveworks-vs-glean.md981. **ServiceNow** — ServiceNow to extend leading agentic AI with acquisition of Moveworks — https://newsroom.servicenow.CODE
MEDIUMdocs/explore-agentic/comparisons/moveworks-vs-glean.md116This article is mirrored from [Explore Agentic](https://www.exploreagentic.ai/) — a curated reading list on agentic AI, CODE
MEDIUMdocs/explore-agentic/comparisons/jarvis-vs-glean.md72Glean. The product was built for that exact shape. 100+ connectors on the catalog <a href="#cite-1" class="cite-ref">[1]CODE
MEDIUMdocs/explore-agentic/comparisons/jarvis-vs-glean.md106This article is mirrored from [Explore Agentic](https://www.exploreagentic.ai/) — a curated reading list on agentic AI, CODE
MEDIUM…xplore-agentic/comparisons/jarvis-vs-copilot-studio.md109This article is mirrored from [Explore Agentic](https://www.exploreagentic.ai/) — a curated reading list on agentic AI, CODE
MEDIUM…re-agentic/comparisons/agentforce-vs-copilot-studio.md31Agentforce is Salesforce's agentic-AI platform, the successor to Einstein. Three dates, three releases. Announced SeptemCODE
MEDIUM…re-agentic/comparisons/agentforce-vs-copilot-studio.md31Agentforce is Salesforce's agentic-AI platform, the successor to Einstein. Three dates, three releases. Announced SeptemCODE
MEDIUM…re-agentic/comparisons/agentforce-vs-copilot-studio.md89Four dates matter. Agentforce announced September 12, 2024 <a href="#cite-1" class="cite-ref">[1]</a>. GA October 25, 20CODE
MEDIUM…re-agentic/comparisons/agentforce-vs-copilot-studio.md89Four dates matter. Agentforce announced September 12, 2024 <a href="#cite-1" class="cite-ref">[1]</a>. GA October 25, 20CODE
MEDIUM…re-agentic/comparisons/agentforce-vs-copilot-studio.md119This article is mirrored from [Explore Agentic](https://www.exploreagentic.ai/) — a curated reading list on agentic AI, CODE
MEDIUMdocs/explore-agentic/comparisons/mcp-vs-rag.md1# MCP vs RAG: two protocols for two different problemsCOMMENT
MEDIUM⚡docs/explore-agentic/comparisons/mcp-vs-rag.md25## The MCP vs RAG framing mistakeCOMMENT
MEDIUM⚡docs/explore-agentic/comparisons/mcp-vs-rag.md29For reference: MCP was released by Anthropic as an open JSON-RPC specification on November 25, 2024 <a href="#cite-1" clCODE
MEDIUM⚡docs/explore-agentic/comparisons/mcp-vs-rag.md37## What RAG actually doesCOMMENT
MEDIUM⚡docs/explore-agentic/comparisons/mcp-vs-rag.md43## How MCP and RAG fit together in productionCOMMENT
MEDIUMdocs/explore-agentic/comparisons/mcp-vs-rag.md68Different layers. MCP (Model Context Protocol) is a wire protocol. It standardises how an AI client invokes tools and feCODE
MEDIUMdocs/explore-agentic/comparisons/mcp-vs-rag.md76Yes. And this is now the canonical enterprise pattern <a href="#cite-4" class="cite-ref">[4]</a>. Your RAG pipeline (retCODE
MEDIUMdocs/explore-agentic/comparisons/mcp-vs-rag.md104This article is mirrored from [Explore Agentic](https://www.exploreagentic.ai/) — a curated reading list on agentic AI, CODE
MEDIUMdocs/explore-agentic/comparisons/jarvis-vs-moveworks.md36Jarvis is an agent platform and MCP gateway listed on AWS Marketplace and Azure Marketplace as "Jarvis: Simplifying AI ACODE
MEDIUMdocs/explore-agentic/comparisons/jarvis-vs-moveworks.md126This article is mirrored from [Explore Agentic](https://www.exploreagentic.ai/) — a curated reading list on agentic AI, CODE
MEDIUM⚡docs/explore-agentic/playbooks/ai-agent-roi.md91Rarely. Never as the primary metric. It has one honest use: internal steering. Which teams adopted the tool, where resisCODE
MEDIUM⚡docs/explore-agentic/playbooks/ai-agent-roi.md95Three layers, plus one human. Layer one: a workflow metric system finance can audit directly. Your ITSM, ERP, or CRM. NoCODE
MEDIUM⚡docs/explore-agentic/playbooks/ai-agent-roi.md1031. **Gartner** — Gartner Predicts Over 40% of Agentic AI Projects Will Be Canceled by End of 2027 — https://www.gartner.CODE
MEDIUM⚡docs/explore-agentic/playbooks/ai-agent-roi.md1042. **The Futurum Group** — Enterprise AI ROI Shifts as Agentic Priorities Surge — https://futurumgroup.com/press-releaseCODE
MEDIUMdocs/explore-agentic/playbooks/ai-agent-roi.md116This article is mirrored from [Explore Agentic](https://www.exploreagentic.ai/) — a curated reading list on agentic AI, CODE
MEDIUMdocs/explore-agentic/pillars/mcp.md35The spec defines three participants <a href="#cite-1" class="cite-ref">[1]</a>. A <strong>client</strong> renders the coCODE
MEDIUM⚡docs/explore-agentic/pillars/mcp.md1184. **Anthropic** — Donating the Model Context Protocol and establishing the Agentic AI Foundation — https://www.anthropiCODE
MEDIUM⚡docs/explore-agentic/pillars/mcp.md1239. **Linux Foundation** — Linux Foundation Announces the Formation of the Agentic AI Foundation (AAIF) — https://www.linCODE
MEDIUM⚡docs/explore-agentic/pillars/mcp.md130This article is mirrored from [Explore Agentic](https://www.exploreagentic.ai/) — a curated reading list on agentic AI, CODE
MEDIUMdocs/explore-agentic/pillars/index.md51The pillars are mirrored from [Explore Agentic](https://www.exploreagentic.ai/) — read the canonical versions at [www.exCODE
MEDIUMdocs/explore-agentic/pillars/enterprise-rag.md16Two editorial positions up front. Chunk strategy matters more than model choice on most corpora. And evaluation, specifiCODE
MEDIUMdocs/explore-agentic/pillars/enterprise-rag.md44## 02. The embedding model landscape in April 2026COMMENT
MEDIUMdocs/explore-agentic/pillars/enterprise-rag.md104## 06. When agentic RAG earns its seatCOMMENT
MEDIUMdocs/explore-agentic/pillars/enterprise-rag.md104## 06. When agentic RAG earns its seatCOMMENT
MEDIUMdocs/explore-agentic/pillars/enterprise-rag.md122Three commercial defaults, plus open source for the air-gapped case. Voyage 4-large (January 15, 2026; MoE with a sharedCODE
MEDIUMdocs/explore-agentic/pillars/enterprise-rag.md126Almost certainly yes. It is the highest-ROI upgrade most RAG teams skip. Take the top 50 from your vector search, re-scoCODE
56 more matches not shown…
Hallucination Indicators22 hits · 275 pts
SeverityFileLineSnippetContext
CRITICAL…sts/unit/federation/test_azure_foundry_client_cache.py12from azure.core.exceptions import ClientAuthenticationErrorCODE
CRITICAL…registry_pkgs/federation/azure_foundry_client_cache.py14from azure.core.exceptions import ClientAuthenticationErrorCODE
CRITICAL⚡registry/tests/unit/mcpgw/test_agent.py189 ctx.request_context.lifespan_context.consent_store.has_agent_consent.assert_called_once_with(CODE
CRITICAL⚡registry/tests/unit/mcpgw/test_agent.py194 ctx.request_context.lifespan_context.pending_consent_store.save.assert_called_once()CODE
CRITICAL⚡registry/tests/unit/mcpgw/test_agent.py265 ctx.request_context.lifespan_context.consent_store.has_agent_consent.assert_called_once_with(CODE
CRITICAL⚡registry/tests/unit/mcpgw/test_agent.py270 ctx.request_context.lifespan_context.pending_consent_store.save.assert_not_called()CODE
CRITICALregistry/tests/unit/mcpgw/test_agent.py220 ctx.request_context.lifespan_context.session_store.append.assert_called_once()CODE
CRITICALregistry/tests/unit/mcpgw/test_agent.py245 ctx.request_context.lifespan_context.consent_store.has_agent_consent.assert_not_called()CODE
CRITICAL⚡registry/tests/unit/mcpgw/test_server.py275 ctx.request_context.lifespan_context.server_service.get_server_by_id.assert_not_awaited()CODE
CRITICAL⚡registry/tests/unit/mcpgw/test_server.py286 ctx.request_context.lifespan_context.server_service.get_server_by_id.assert_not_awaited()CODE
CRITICAL⚡registry/tests/unit/mcpgw/test_server.py407 ctx.request_context.lifespan_context.pending_consent_store.save.assert_called_once()CODE
CRITICAL⚡registry/tests/unit/mcpgw/test_server.py416 ctx.request_context.lifespan_context.consent_store.has_server_consent.assert_called_once_with(CODE
CRITICAL⚡registry/tests/unit/mcpgw/test_server.py438 ctx.request_context.lifespan_context.pending_consent_store.save.assert_called_once()CODE
CRITICAL⚡registry/tests/unit/mcpgw/test_server.py439 ctx.request_context.lifespan_context.consent_store.has_server_consent.assert_called_once_with(CODE
CRITICAL⚡registry/tests/unit/mcpgw/test_server.py444 ctx.request_context.lifespan_context.session_store.append.assert_called_once()CODE
CRITICALregistry/tests/unit/mcpgw/test_server.py314 ctx.request_context.lifespan_context.consent_store.has_server_consent.assert_not_called()CODE
CRITICALregistry/tests/unit/mcpgw/test_server.py549 ctx.request_context.lifespan_context.consent_store.has_server_consent.assert_not_called()CODE
CRITICALregistry/tests/unit/mcpgw/test_server.py595 ctx.request_context.lifespan_context.consent_store.has_server_consent.assert_not_called()CODE
CRITICALregistry/tests/unit/mcpgw/test_server.py773 ctx.request_context.lifespan_context.oauth_service.recover_from_unauthorized.assert_not_awaited()CODE
CRITICALregistry/src/registry/health/routes.py105 return request.app.state.container.health_service.get_all_health_status()CODE
CRITICALregistry/src/registry/health/routes.py111 return request.app.state.container.health_service.get_websocket_stats()CODE
CRITICALregistry/src/registry/api/proxy_routes.py630 request.app.state.container.mcp_client_service.clear_session(session_key)CODE
Unused Imports273 hits · 262 pts
SeverityFileLineSnippetContext
LOWregistry-pkgs/tests/unit/oauth/test_discovery.py59CODE
LOWregistry-pkgs/tests/unit/oauth/test_discovery.py59CODE
LOWregistry-pkgs/tests/unit/oauth/test_discovery.py59CODE
LOWregistry-pkgs/tests/unit/oauth/test_discovery.py59CODE
LOWregistry-pkgs/tests/unit/oauth/test_discovery.py65CODE
LOWregistry-pkgs/tests/unit/oauth/test_discovery.py65CODE
LOW…gistry-pkgs/tests/unit/core/test_structured_logging.py3CODE
LOW…try-pkgs/tests/unit/models/test_federation_metadata.py3CODE
LOWregistry-pkgs/tests/unit/workflow/test_mcp_executor.py1CODE
LOW…istry-pkgs/tests/unit/workflow/test_control_wrapper.py1CODE
LOW…-pkgs/tests/unit/workflow/test_a2a_headers_provider.py1CODE
LOWregistry-pkgs/tests/unit/workflow/test_helpers.py3CODE
LOW…-pkgs/tests/unit/federation/test_azure_foundry_auth.py1CODE
LOW…sts/unit/federation/test_azure_foundry_client_cache.py1CODE
LOWregistry-pkgs/src/registry_pkgs/__init__.py3CODE
LOWregistry-pkgs/src/registry_pkgs/__init__.py3CODE
LOWregistry-pkgs/src/registry_pkgs/__init__.py3CODE
LOWregistry-pkgs/src/registry_pkgs/__init__.py3CODE
LOWregistry-pkgs/src/registry_pkgs/__init__.py4CODE
LOWregistry-pkgs/src/registry_pkgs/__init__.py4CODE
LOWregistry-pkgs/src/registry_pkgs/types.py3CODE
LOWregistry-pkgs/src/registry_pkgs/database/leased_job.py51CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/__init__.py1CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/__init__.py1CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/__init__.py1CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/__init__.py1CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/__init__.py1CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/__init__.py8CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/__init__.py9CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/__init__.py9CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/__init__.py9CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/__init__.py10CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/__init__.py11CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/__init__.py12CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/__init__.py12CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/__init__.py12CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/__init__.py13CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/__init__.py14CODE
LOW…stry-pkgs/src/registry_pkgs/core/structured_logging.py3CODE
LOWregistry-pkgs/src/registry_pkgs/core/jwt_utils.py8CODE
LOWregistry-pkgs/src/registry_pkgs/core/jwt_utils.py8CODE
LOWregistry-pkgs/src/registry_pkgs/core/jwt_utils.py8CODE
LOWregistry-pkgs/src/registry_pkgs/core/jwt_utils.py8CODE
LOWregistry-pkgs/src/registry_pkgs/core/jwt_utils.py8CODE
LOWregistry-pkgs/src/registry_pkgs/google/__init__.py1CODE
LOWregistry-pkgs/src/registry_pkgs/google/__init__.py1CODE
LOWregistry-pkgs/src/registry_pkgs/workflows/runner.py45CODE
LOW…gistry-pkgs/src/registry_pkgs/workflows/persistence.py1CODE
LOWregistry-pkgs/src/registry_pkgs/workflows/compiler.py1CODE
LOW…gs/src/registry_pkgs/workflows/mcp_headers_provider.py1CODE
LOW…gs/src/registry_pkgs/workflows/a2a_headers_provider.py1CODE
LOWregistry-pkgs/src/registry_pkgs/workflows/a2a_client.py1CODE
LOW…-pkgs/src/registry_pkgs/workflows/executor_resolver.py11CODE
LOWregistry-pkgs/src/registry_pkgs/workflows/types.py1CODE
LOW…y-pkgs/src/registry_pkgs/workflows/model_resolution.py1CODE
LOW…istry-pkgs/src/registry_pkgs/workflows/a2a_executor.py1CODE
LOW…istry-pkgs/src/registry_pkgs/workflows/mcp_executor.py1CODE
LOWregistry-pkgs/src/registry_pkgs/workflows/prompt.py17CODE
LOWregistry-pkgs/src/registry_pkgs/workflows/helpers.py1CODE
LOW…try-pkgs/src/registry_pkgs/workflows/media_snapshot.py13CODE
213 more matches not shown…
Modern Structural Boilerplate212 hits · 216 pts
SeverityFileLineSnippetContext
LOWregistry-pkgs/src/registry_pkgs/__init__.py7__all__ = [CODE
LOWregistry-pkgs/src/registry_pkgs/database/mongodb.py42logger = logging.getLogger(__name__)CODE
LOW⚡registry-pkgs/src/registry_pkgs/database/leased_job.py66logger = logging.getLogger(__name__)CODE
LOW…gistry-pkgs/src/registry_pkgs/database/redis_client.py9logger = logging.getLogger(__name__)CODE
LOW…try-pkgs/src/registry_pkgs/oauth/flow_state_manager.py26logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/oauth_client.py20logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/discovery.py37logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/oauth_service.py41logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/__init__.py16__all__ = [CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/refresh_lock.py23logger = logging.getLogger(__name__)CODE
LOW…try-pkgs/src/registry_pkgs/oauth/redis_flow_storage.py9logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/user_service.py9logger = logging.getLogger(__name__)CODE
LOW⚡registry-pkgs/src/registry_pkgs/oauth/token_service.py13logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/headers.py20logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/core/scopes.py20logger = logging.getLogger(__name__)CODE
LOW…istry-pkgs/src/registry_pkgs/core/oauth_state_store.py13logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/core/jwt_tokens.py29__all__ = [CODE
LOWregistry-pkgs/src/registry_pkgs/core/agentcore_jwt.py11logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/core/crypto_utils.py23logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/core/jwt_utils.py18logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/core/jwt_utils.py23__all__ = [CODE
LOWregistry-pkgs/src/registry_pkgs/core/consent_store.py12logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/google/__init__.py3__all__ = [CODE
LOW…pkgs/src/registry_pkgs/google/cloud_identity_client.py11logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/workflows/runner.py91logger = logging.getLogger(__name__)CODE
LOW…gistry-pkgs/src/registry_pkgs/workflows/persistence.py24logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/workflows/compiler.py52logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/workflows/a2a_client.py41logger = logging.getLogger(__name__)CODE
LOW…-pkgs/src/registry_pkgs/workflows/executor_resolver.py40logger = logging.getLogger(__name__)CODE
LOW…try-pkgs/src/registry_pkgs/workflows/run_repository.py47logger = logging.getLogger(__name__)CODE
LOW…y-pkgs/src/registry_pkgs/workflows/model_resolution.py18logger = logging.getLogger(__name__)CODE
LOW…istry-pkgs/src/registry_pkgs/workflows/a2a_executor.py30logger = logging.getLogger(__name__)CODE
LOW…istry-pkgs/src/registry_pkgs/workflows/mcp_executor.py24logger = logging.getLogger(__name__)CODE
LOW…-pkgs/src/registry_pkgs/workflows/hitl/cancellation.py18logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/workflows/hitl/serde.py27logger = logging.getLogger(__name__)CODE
LOW…stry-pkgs/src/registry_pkgs/workflows/hitl/__init__.py5__all__ = [CODE
LOW…stry-pkgs/src/registry_pkgs/workflows/control/queue.py28logger = logging.getLogger(__name__)CODE
LOW…ry-pkgs/src/registry_pkgs/workflows/control/wrapper.py62logger = logging.getLogger(__name__)CODE
LOW…y-pkgs/src/registry_pkgs/workflows/control/__init__.py4__all__ = [CODE
LOWregistry-pkgs/src/registry_pkgs/models/a2a_agent.py80logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/models/a2a_agent.py616__all__ = [CODE
LOWregistry-pkgs/src/registry_pkgs/models/__init__.py43__all__ = [CODE
LOW…try-pkgs/src/registry_pkgs/models/skill_sync_source.py61 async def update_timestamps(self) -> None:CODE
LOW…gs/src/registry_pkgs/models/model_gateway_selection.py22 async def update_timestamp(self) -> None:CODE
LOWregistry-pkgs/src/registry_pkgs/models/workflow.py23logger = logging.getLogger(__name__)CODE
LOW…gistry-pkgs/src/registry_pkgs/models/skill_sync_job.py97 async def update_timestamps(self) -> None:CODE
LOW…y-pkgs/src/registry_pkgs/models/extended_mcp_server.py72logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/models/model_source.py86 async def update_timestamps(self) -> None:CODE
LOW…y-pkgs/src/registry_pkgs/models/_generated/__init__.py11__all__ = [CODE
LOW…registry_pkgs/federation/azure_foundry_client_cache.py25logger = logging.getLogger(__name__)CODE
LOW…-pkgs/src/registry_pkgs/telemetry/trace_propagation.py21logger = logging.getLogger(__name__)CODE
LOW…ry-pkgs/src/registry_pkgs/telemetry/span_attributes.py14logger = logging.getLogger(__name__)CODE
LOW…ry-pkgs/src/registry_pkgs/telemetry/span_attributes.py31def set_span_attributes(span: Span, attributes: Mapping[str, object]) -> None:CODE
LOWregistry-pkgs/src/registry_pkgs/telemetry/__init__.py21__all__ = [CODE
LOWregistry-pkgs/src/registry_pkgs/telemetry/__init__.py33logger = logging.getLogger(__name__)CODE
LOW…y-pkgs/src/registry_pkgs/telemetry/workflow_metrics.py10logger = logging.getLogger(__name__)CODE
LOW…y-pkgs/src/registry_pkgs/telemetry/workflow_tracing.py25logger = logging.getLogger(__name__)CODE
LOW⚡…y-pkgs/src/registry_pkgs/telemetry/workflow_tracing.py134def _set_serialized_attribute(span: Span, key: str, value: object) -> None:CODE
LOW…try-pkgs/src/registry_pkgs/telemetry/metrics_client.py14logger = logging.getLogger(__name__)CODE
LOWregistry-pkgs/src/registry_pkgs/telemetry/decorators.py18logger = logging.getLogger(__name__)CODE
152 more matches not shown…
Structural Annotation Overuse66 hits · 108 pts
SeverityFileLineSnippetContext
LOW…gs/src/registry_pkgs/vector/backends/weaviate_store.py627 # Step 1: Get candidate documentsCOMMENT
LOW…gs/src/registry_pkgs/vector/backends/weaviate_store.py642 # Step 2: Rerank candidates via Bedrock (AWS config injected from store config)COMMENT
LOWworkflow-worker/src/workflow_worker/main.py197 # Step 1: Try to atomically claim the most urgent due scheduleCOMMENT
LOWworkflow-worker/src/workflow_worker/main.py215 # Step 2: Nothing due — find the nearest future deadline and sleepCOMMENT
LOWdocs/entra-id-setup.md11## Step 1: Create App Registration in Azure PortalCOMMENT
LOWdocs/entra-id-setup.md34## Step 2: Configure AuthenticationCOMMENT
LOWdocs/entra-id-setup.md43## Step 3: Create Client SecretCOMMENT
LOWdocs/entra-id-setup.md56## Step 4: Environment ConfigurationCOMMENT
LOWdocs/entra-id-setup.md116## Step 5: Test the SetupCOMMENT
LOWdocs/entra-id-setup.md127## Step 6: Optional ConfigurationsCOMMENT
LOWdocs/complete-setup-guide.md366# Step 1: Run the Keycloak initializationCOMMENT
LOWdocs/complete-setup-guide.md381#Step 2: Disable SSL for Application RealmCOMMENT
LOWdocs/complete-setup-guide.md395# Step 3: Retrieve and save all client credentials (REQUIRED)COMMENT
LOWdocs/quick-start.md19## Step 1: Clone and ConfigureCOMMENT
LOWdocs/quick-start.md34## Step 2: Configure Authentication ProviderCOMMENT
LOWdocs/quick-start.md55## Step 3: Generate Secret KeysCOMMENT
LOWdocs/quick-start.md64## Step 4: Launch ServicesCOMMENT
LOWdocs/quick-start.md76## Step 5: Verify InstallationCOMMENT
LOWdocs/service-management.md342# Step 1: Create a new access groupCOMMENT
LOWdocs/service-management.md349# Step 2: Add servers to the groupCOMMENT
LOWdocs/service-management.md364# Step 3: Create M2M service accountCOMMENT
LOWdocs/service-management.md376# Step 4: Create human userCOMMENT
LOWdocs/service-management.md387# Step 5: Verify setupCOMMENT
LOWdocs/cognito.md31#### Step 1: Create User PoolCOMMENT
LOWdocs/cognito.md56#### Step 2: Configure App Client for UsersCOMMENT
LOWdocs/cognito.md83#### Step 3: Create Users and GroupsCOMMENT
LOWdocs/cognito.md107#### Step 1: Create M2M App ClientCOMMENT
LOWdocs/cognito.md117#### Step 2: Create Resource Server and Custom ScopesCOMMENT
LOWdocs/cognito.md135#### Step 3: Assign Scopes to Agent App ClientCOMMENT
LOWdocs/cognito.md538### Step 1: Copy Template to Environment FileCOMMENT
LOWdocs/cognito.md547### Step 2: Configure Client CredentialsCOMMENT
LOWdocs/cognito.md579### Step 3: Replace Placeholder ValuesCOMMENT
LOWdocs/cognito.md590### Step 4: Verify ConfigurationCOMMENT
LOWdocs/auth.md42### Step 1: Configure EnvironmentCOMMENT
LOWdocs/auth.md87### Step 2: Run OAuth SetupCOMMENT
LOWdocs/auth.md110### Step 3: Use Generated ConfigurationCOMMENT
LOWdocs/auth.md208### Step 4: Test Your ConnectionCOMMENT
LOWdocs/auth.md881#### Step 1: Access the Admin ConsoleCOMMENT
LOWdocs/auth.md895#### Step 2: Navigate to the Correct RealmCOMMENT
LOWdocs/auth.md904#### Step 3: Create the Required GroupsCOMMENT
LOWdocs/auth.md924#### Step 4: Verify Group CreationCOMMENT
LOW⚡docs/keycloak-integration.md505# Step 1: Create service account with appropriate permissionsCOMMENT
LOW⚡docs/keycloak-integration.md510# Step 2: Generate initial tokenCOMMENT
LOW⚡docs/keycloak-integration.md513# Step 3: Validate setupCOMMENT
LOW⚡docs/keycloak-integration.md516# Step 4: Document agent in inventoryCOMMENT
LOWdocs/design/agentcore.md59## Step 1: Set Up the MCP Gateway RegistryCOMMENT
LOWdocs/design/agentcore.md95## Step 2: Set Up Your AgentCore GatewayCOMMENT
LOWdocs/design/agentcore.md151## Step 3: Register the AgentCore Gateway with MCP RegistryCOMMENT
LOWdocs/design/agentcore.md305## Step 4: Test the Registered GatewayCOMMENT
LOWdocs/design/federation.md124### Step 1: Get OAuth TokenCOMMENT
LOWdocs/design/federation.md145### Step 2: Environment ConfigurationCOMMENT
LOWdocs/design/federation.md151### Step 3: Federation ConfigurationCOMMENT
LOW⚡scripts/migrate_a2a_agent_path_slug.py85 # Step 1: Fetch all agentsCOMMENT
LOW⚡scripts/migrate_a2a_agent_path_slug.py94 # Step 2: Check for conflictsCOMMENT
LOWscripts/migrate_a2a_agent_path_slug.py123 # Step 3: Update all agent documentsCOMMENT
LOW⚡scripts/migrate_a2a_agent_path_slug.py146 # Step 4: Drop slug indexCOMMENT
LOW⚡scripts/migrate_a2a_agent_path_slug.py155 # Step 5: Remove slug field from all documentsCOMMENT
LOWregistry/src/registry/health/service.py639 # Step 1: Initialize session to get session IDCOMMENT
LOWregistry/src/registry/health/service.py652 # Step 2: Add session ID to headers for pingCOMMENT
LOW⚡registry/src/registry/api/v1/mcp/connection_router.py48 # Step 1: Disconnect existing connectionCOMMENT
6 more matches not shown…
Redundant / Tautological Comments59 hits · 92 pts
SeverityFileLineSnippetContext
LOWregistry-pkgs/src/registry_pkgs/oauth/oauth_service.py622 # Check if flow has expiredCOMMENT
LOWregistry-pkgs/src/registry_pkgs/oauth/token_service.py91 # Check if token existsCOMMENT
LOWregistry-pkgs/src/registry_pkgs/oauth/token_service.py161 # Check if token existsCOMMENT
LOWregistry-pkgs/src/registry_pkgs/oauth/token_service.py252 # Check if token is expiredCOMMENT
LOWregistry-pkgs/src/registry_pkgs/oauth/token_service.py292 # Check if token is expiredCOMMENT
LOWregistry-pkgs/src/registry_pkgs/core/crypto_utils.py129 # Check if value is encrypted (contains colon separator)COMMENT
LOWregistry-pkgs/src/registry_pkgs/vector/repository.py331 # Check if only safe metadata fields are being updatedCOMMENT
LOWauth-server/src/auth_server/providers/entra.py110 # Check if cache is still validCOMMENT
LOWauth-server/src/auth_server/utils/config_loader.py84 # Check if it has a default valueCOMMENT
LOWscripts/publish_containers.sh102 # Check if already logged inCOMMENT
LOWscripts/publish_containers.sh175 # Check if Dockerfile existsCOMMENT
LOWscripts/publish_containers.sh469# Check if any action is specifiedCOMMENT
LOWscripts/setup-atlassian-env.sh8# Check if required environment variables are setCOMMENT
LOWscripts/docs-dev.sh26# Check if we're in the right directoryCOMMENT
LOWscripts/migrate_encrypt_oauth_client_secrets.py72 # Check if server has oauth config with client_secretCOMMENT
LOWscripts/migrate_encrypt_oauth_client_secrets.py83 # Check if already encryptedCOMMENT
LOWscripts/seed_mongodb.py71 # Check if group already existsCOMMENT
LOWscripts/seed_mongodb.py142 # Check if user already existsCOMMENT
LOWscripts/seed_mongodb.py189 # Check if key already existsCOMMENT
LOWscripts/seed_mongodb.py257 # Check if token already existsCOMMENT
LOWscripts/seed_mongodb.py617 # Check if server already existsCOMMENT
LOWscripts/run-oauth-setup.sh63 # Check if this line sets one of our variablesCOMMENT
LOWregistry/tests/unit/health/test_health_routes.py205 # Check if both WebSocket and HTTP routes exist for same pathCOMMENT
LOWregistry/src/registry/auth/oauth/token_manager.py32 # Check if tokens are expiredCOMMENT
LOW…gistry/src/registry/auth/oauth/reconnection/manager.py139 # Check if connection is validCOMMENT
LOW⚡…gistry/src/registry/auth/oauth/reconnection/manager.py249 # Check if failed or timed outCOMMENT
LOW⚡…gistry/src/registry/auth/oauth/reconnection/manager.py251 # Check if it was cancelledCOMMENT
LOW⚡…gistry/src/registry/auth/oauth/reconnection/manager.py260 # Check if pending (active)COMMENT
LOW⚡registry/src/registry/health/service.py525 # Check if we get any valid response (even auth errors indicate server is up)COMMENT
LOWregistry/src/registry/health/service.py339 # Check if any status changedCOMMENT
LOWregistry/src/registry/health/service.py475 # Check if initialize succeededCOMMENT
LOWregistry/src/registry/health/service.py945 # Set status to 'checking' before performing the checkCOMMENT
LOWregistry/src/registry/api/proxy_routes.py1088 # Check if server is enabledCOMMENT
LOWregistry/src/registry/api/proxy_routes.py1208 # Check if server is enabledCOMMENT
LOWregistry/src/registry/api/v1/a2a/agent_routes.py341 # Check if duplicate pathCOMMENT
LOWregistry/src/registry/api/v1/a2a/agent_routes.py407 # Check if agent not foundCOMMENT
LOWregistry/src/registry/api/v1/server/server_routes.py458 # Check if authentication errorCOMMENT
LOWregistry/src/registry/api/v1/server/server_routes.py519 # Check if server not foundCOMMENT
LOWregistry/src/registry/api/v1/server/server_routes.py815 # Check if capabilities refresh failedCOMMENT
LOW⚡registry/src/registry/api/v1/mcp/connection_router.py190 # Check if OAuth tokens existCOMMENT
LOWregistry/src/registry/api/v1/mcp/oauth_router.py663 # Check if user connection exists, if not create itCOMMENT
LOW…gistry/src/registry/api/v1/workflow/workflow_routes.py343 # Check if workflow not foundCOMMENT
LOW…gistry/src/registry/api/v1/workflow/workflow_routes.py458 # Check if workflow not foundCOMMENT
LOW…gistry/src/registry/api/v1/workflow/workflow_routes.py620 # Check if workflow not foundCOMMENT
LOW…gistry/src/registry/api/v1/workflow/workflow_routes.py703 # Check if workflow not foundCOMMENT
LOW…gistry/src/registry/api/v1/workflow/workflow_routes.py829 # Check if workflow or run not foundCOMMENT
LOWregistry/src/registry/services/a2a_agent_service.py545 # Check if path already existsCOMMENT
LOWregistry/src/registry/services/a2a_agent_service.py736 # Check if new path conflicts with existing agentCOMMENT
LOWregistry/src/registry/services/a2a_agent_service.py898 # Check if well-known is enabledCOMMENT
LOWregistry/src/registry/services/server_service.py473 # Check if path+url combination already existsCOMMENT
LOWregistry/src/registry/services/server_service.py481 # Check if serverName already existsCOMMENT
LOWregistry/src/registry/services/server_service.py1026 # Check if server requires OAuthCOMMENT
LOW…istry/src/registry/services/federation_sync_service.py1609 # Check if this principal already has ACL on this resourceCOMMENT
LOW…try/src/registry/services/skill_sync_github_service.py248 # Check if any member exceeds MAX_SKILL_FILE_SIZECOMMENT
LOW…stry/src/registry/services/oauth/connection_service.py170 # Check if connection is staleCOMMENT
LOW…istry/src/registry/services/search/embedded_service.py97 # Check if local model existsCOMMENT
LOW…istry/src/registry/services/search/embedded_service.py299 # Check if service exists in metadataCOMMENT
LOW…istry/src/registry/services/search/embedded_service.py673 # Check if all requested tags are presentCOMMENT
LOW…gistry/src/registry/services/federation/asor_client.py67 # Check if we have a valid cached token (only for client credentials)COMMENT
Self-Referential Comments24 hits · 81 pts
SeverityFileLineSnippetContext
MEDIUMregistry-pkgs/tests/unit/test_mongodb.py304 # Create a mock clientCOMMENT
MEDIUMregistry-pkgs/src/registry_pkgs/oauth/oauth_service.py167 # Create a copy to avoid mutating the originalCOMMENT
MEDIUMauth-server/tests/unit/test_oauth_callback_session.py169 # Create a state with resourceCOMMENT
MEDIUMauth-server/tests/unit/test_oauth_callback_session.py203 # Create a state with resourceCOMMENT
MEDIUM…er/tests/integration/test_oauth_callback_token_flow.py113 # Create a valid session cookieCOMMENT
MEDIUMscripts/seed_mongodb.py653 # Create a public entryCOMMENT
MEDIUM.github/workflows/utils/generate_k8s_registry_env.py32# Create the YAML structureCOMMENT
MEDIUMregistry/tests/unit/core/test_mcp_client.py1032 # Create a mock 401 responseCOMMENT
MEDIUMregistry/tests/unit/core/test_mcp_client.py1057 # Create a mock 401 responseCOMMENT
MEDIUMregistry/tests/unit/core/test_mcp_client.py1082 # Create a mock 403 responseCOMMENT
MEDIUMregistry/tests/unit/health/test_health_service.py44 # Create a real task that can be cancelledCOMMENT
MEDIUM⚡registry/tests/unit/api/test_oauth_router.py19# Create a mock MCP serviceCOMMENT
MEDIUM⚡registry/tests/unit/api/test_oauth_router.py22# Create a mock OAuth service and attach it to MCP serviceCOMMENT
MEDIUM⚡registry/tests/unit/api/test_oauth_router.py26# Create a mock Connection service and attach it to MCP serviceCOMMENT
MEDIUM⚡registry/tests/unit/api/test_connection_router.py18# Create a mock MCP serviceCOMMENT
MEDIUM⚡registry/tests/unit/api/test_connection_router.py21# Create a mock OAuth service and attach it to MCP serviceCOMMENT
MEDIUM⚡registry/tests/unit/api/test_connection_router.py25# Create a mock Connection service and attach it to MCP serviceCOMMENT
MEDIUM…gistry/tests/unit/services/test_federation_sync_acl.py767 # Create a mock class that has both class methods and constructorCOMMENT
MEDIUM…gistry/tests/unit/services/test_federation_sync_acl.py828 # Create a mock class that has both class methods and constructorCOMMENT
MEDIUM…gistry/tests/unit/services/test_federation_sync_acl.py888 # Create a mock class that has both class methods and constructorCOMMENT
MEDIUM…gistry/tests/unit/services/test_federation_sync_acl.py948 # Create a mock class that has both class methods and constructorCOMMENT
MEDIUM…gistry/tests/unit/services/test_federation_sync_acl.py1005 # Create a mock class that has both class methods and constructorCOMMENT
MEDIUM…gistry/tests/unit/services/test_federation_sync_acl.py1055 # Create a mock class that has both class methods and constructorCOMMENT
MEDIUMregistry/src/registry/health/service.py253 # This method is kept for compatibility but delegates to the optimized managerCOMMENT
Deep Nesting74 hits · 58 pts
SeverityFileLineSnippetContext
LOW…istry-pkgs/tests/unit/workflow/test_control_wrapper.py431CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/oauth_service.py348CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/oauth_service.py681CODE
LOW…try-pkgs/src/registry_pkgs/oauth/redis_flow_storage.py185CODE
LOWregistry-pkgs/src/registry_pkgs/oauth/headers.py37CODE
LOWregistry-pkgs/src/registry_pkgs/core/header_utils.py4CODE
LOWregistry-pkgs/src/registry_pkgs/core/crypto_utils.py166CODE
LOWregistry-pkgs/src/registry_pkgs/core/crypto_utils.py241CODE
LOW…gistry-pkgs/src/registry_pkgs/workflows/persistence.py300CODE
LOW…gistry-pkgs/src/registry_pkgs/workflows/persistence.py222CODE
LOWregistry-pkgs/src/registry_pkgs/workflows/compiler.py114CODE
LOWregistry-pkgs/src/registry_pkgs/workflows/compiler.py123CODE
LOW…istry-pkgs/src/registry_pkgs/workflows/a2a_executor.py108CODE
LOW…istry-pkgs/src/registry_pkgs/workflows/a2a_executor.py202CODE
LOW…y-pkgs/src/registry_pkgs/models/extended_mcp_server.py496CODE
LOWregistry-pkgs/src/registry_pkgs/telemetry/__init__.py162CODE
LOWregistry-pkgs/src/registry_pkgs/vector/repository.py315CODE
LOW…gs/src/registry_pkgs/vector/backends/weaviate_store.py209CODE
LOW…gs/src/registry_pkgs/vector/backends/weaviate_store.py426CODE
LOW…gs/src/registry_pkgs/vector/backends/weaviate_store.py564CODE
LOW…gs/src/registry_pkgs/vector/backends/weaviate_store.py659CODE
LOW…gs/src/registry_pkgs/vector/backends/weaviate_store.py220CODE
LOW…gs/src/registry_pkgs/vector/backends/weaviate_store.py257CODE
LOW…stry_pkgs/vector/repositories/mcp_server_repository.py39CODE
LOW…istry_pkgs/vector/repositories/a2a_agent_repository.py29CODE
LOW…stry-pkgs/src/registry_pkgs/vector/adapters/factory.py110CODE
LOWauth-server/src/auth_server/utils/config_loader.py65CODE
LOWauth-server/src/auth_server/routes/oauth_flow.py1036CODE
LOWscripts/test_agent_direct.py87CODE
LOWscripts/migrate_a2a_agent_path_slug.py68CODE
LOWscripts/vector_sync.py101CODE
LOWscripts/verify_workflow_control_e2e.py1562CODE
LOWscripts/seed_mongodb.py271CODE
LOWscripts/seed_mongodb.py647CODE
LOWscripts/azure_foundry_sync.py62CODE
LOWscripts/federation_job_admin.py250CODE
LOWscripts/test_mcp_direct.py271CODE
LOWscripts/backfill_mcp_server_normalized_names.py101CODE
LOWscripts/verify/check_federation_metadata.py161CODE
LOWregistry/src/registry/container.py615CODE
LOWregistry/src/registry/core/mcp_client.py920CODE
LOWregistry/src/registry/core/mcp_client.py1095CODE
LOWregistry/src/registry/health/service.py349CODE
LOWregistry/src/registry/health/service.py539CODE
LOWregistry/src/registry/health/service.py782CODE
LOWregistry/src/registry/health/service.py825CODE
LOWregistry/src/registry/health/service.py873CODE
LOWregistry/src/registry/health/service.py924CODE
LOWregistry/src/registry/health/routes.py16CODE
LOWregistry/src/registry/mcpgw/tools/server.py101CODE
LOWregistry/src/registry/mcpgw/tools/server.py368CODE
LOWregistry/src/registry/api/proxy_routes.py385CODE
LOWregistry/src/registry/api/proxy_routes.py674CODE
LOWregistry/src/registry/api/redirect_routes.py231CODE
LOWregistry/src/registry/api/v1/server/server_routes.py257CODE
LOWregistry/src/registry/api/v1/mcp/consent_routes.py135CODE
LOWregistry/src/registry/services/a2a_agent_service.py605CODE
LOWregistry/src/registry/services/server_service.py207CODE
LOWregistry/src/registry/services/server_service.py450CODE
LOWregistry/src/registry/services/server_service.py1282CODE
14 more matches not shown…
Empty Error Handlers8 hits · 40 pts
SeverityFileLineSnippetContext
HIGHregistry-pkgs/src/registry_pkgs/telemetry/__init__.py132except Exception: # nosec B110 - intentional suppression during teardownCODE
HIGHregistry-pkgs/src/registry_pkgs/telemetry/__init__.py141except Exception: # nosec B110 - intentional suppression during teardownCODE
HIGHworkflow-worker/src/workflow_worker/main.py228except TimeoutError:CODE
HIGHworkflow-worker/src/workflow_worker/executor.py39except TimeoutError:CODE
HIGHscripts/verify_workflow_control_e2e.py951except asyncio.CancelledError:CODE
HIGHregistry/tests/unit/health/test_health_routes.py155except Exception:CODE
HIGHregistry/src/registry/health/service.py818except (ValueError, KeyError, TypeError):CODE
HIGHregistry/src/registry/health/service.py866except (ValueError, KeyError, TypeError):CODE
Fake / Example Data36 hits · 38 pts
SeverityFileLineSnippetContext
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py238 subject="user@example.com",CODE
LOW⚡registry-pkgs/tests/unit/test_jwt_utils.py243 assert payload["sub"] == "user@example.com"CODE
LOWdocs/registry-auth-detailed.md1946log_auth_event('OAUTH2_LOGIN_SUCCESS', username='user@example.com',CODE
LOWdocs/api-reference.md919 "email": "admin@example.com",CODE
LOWdocs/design/mcp_db_persistence_design.md1780 "email": "user@example.com",CODE
LOWdocs/design/mcp_db_persistence_design.md1801 "email": "user@example.com",CODE
LOWdocs/design/workflow-api-design.md701 "customerName": "John Doe",CODE
LOWdocs/design/workflow-api-design.md716 "customerName": "John Doe",CODE
LOWdocs/design/skills-sync-api.md104 "authorName": "Jane Doe",CODE
LOWdocs/design/skills-sync-api.md274 "authorName": "Jane Doe",CODE
LOWauth-server/tests/unit/test_google_provider.py29 "email": "user@example.com",CODE
LOW⚡auth-server/tests/unit/test_google_provider.py59 "username": "user@example.com",CODE
LOW⚡auth-server/tests/unit/test_google_provider.py60 "email": "user@example.com",CODE
LOW⚡auth-server/tests/unit/test_google_provider.py78 assert info["email"] == "user@example.com"CODE
LOW⚡auth-server/tests/unit/test_google_provider.py80 mock_log.assert_called_once_with("google", "user@example.com", exc)CODE
LOW⚡auth-server/tests/unit/test_google_provider.py110 assert info["email"] == "user@example.com"CODE
LOW⚡auth-server/tests/unit/test_google_provider.py150 assert claims["email"] == "user@example.com"CODE
LOW⚡auth-server/tests/unit/test_entra_provider.py88 groups = await provider.get_user_groups("access-token", "user@example.com")CODE
LOW⚡auth-server/tests/unit/test_entra_provider.py94 assert args[1] == "user@example.com"CODE
LOWauth-server/tests/integration/test_oauth_flow_routes.py172 "contacts": ["admin@example.com"],CODE
LOWauth-server/tests/integration/test_oauth_flow_routes.py352 "contacts": ["admin@example.com"],CODE
LOWscripts/seed_mongodb.py93 "email": "admin@example.com",CODE
LOWregistry/tests/unit/auth/test_auth_routes.py314 "email": "test@test.com",CODE
LOWregistry/tests/unit/auth/test_auth_routes.py536 "email": "admin@example.com",CODE
LOWregistry/tests/unit/auth/test_auth_routes.py558 assert call_kwargs["email"] == "admin@example.com"CODE
LOWregistry/tests/unit/auth/test_auth_routes.py573 "email": "admin@example.com",CODE
LOW⚡…y/tests/unit/services/test_skill_sync_apply_service.py395 (SimpleNamespace(name="Jane Doe", username="jane"), "Jane Doe"),CODE
LOW⚡…y/tests/unit/services/test_skill_sync_apply_service.py413 service = _service(user_service=_user_service(SimpleNamespace(name="Jane Doe", username="jane")))CODE
LOW…y/tests/unit/services/test_skill_sync_apply_service.py53 user_service=user_service or _user_service(SimpleNamespace(name="Jane Doe", username="jane")),CODE
LOW…y/tests/unit/services/test_skill_sync_apply_service.py426 assert service._apply_discovered_skill.await_args.kwargs["author_name"] == "Jane Doe"CODE
LOW…y/tests/unit/services/test_skill_sync_apply_service.py443 "Jane Doe",CODE
LOW…y/tests/unit/services/test_skill_sync_apply_service.py450 assert skill_model.call_args.kwargs["authorName"] == "Jane Doe"CODE
LOW…y/tests/unit/services/test_skill_sync_apply_service.py566 author_name="Jane Doe",CODE
LOW…y/tests/unit/services/test_skill_sync_apply_service.py590 author_name="Jane Doe",CODE
LOW…y/tests/unit/services/test_skill_sync_apply_service.py617 author_name="Jane Doe",CODE
LOW…y/tests/unit/services/test_skill_sync_apply_service.py643 author_name="Jane Doe",CODE
Cross-File Repetition7 hits · 35 pts
SeverityFileLineSnippetContext
HIGHregistry/tests/unit/api/v1/test_agent_routes.py0an acl/db outage (runtimeerror from get_accessible_resource_ids) must surface as 503, not 500.STRING
HIGHregistry/tests/unit/api/v1/test_federation_routes.py0an acl/db outage (runtimeerror from get_accessible_resource_ids) must surface as 503, not 500.STRING
HIGHregistry/tests/unit/api/v1/test_server_routes.py0an acl/db outage (runtimeerror from get_accessible_resource_ids) must surface as 503, not 500.STRING
HIGH…try/tests/unit/api/v1/workflow/test_workflow_routes.py0an acl/db outage (runtimeerror from get_accessible_resource_ids) must surface as 503, not 500.STRING
HIGHregistry/src/registry/schemas/a2a_agent_api_schemas.py0pydantic schemas for server management api v1 these schemas define the request and response models for the server manageSTRING
HIGHregistry/src/registry/schemas/acl_schema.py0pydantic schemas for server management api v1 these schemas define the request and response models for the server manageSTRING
HIGHregistry/src/registry/schemas/server_api_schemas.py0pydantic schemas for server management api v1 these schemas define the request and response models for the server manageSTRING
Verbosity Indicators18 hits · 33 pts
SeverityFileLineSnippetContext
LOW…gs/src/registry_pkgs/vector/backends/weaviate_store.py627 # Step 1: Get candidate documentsCOMMENT
LOW…gs/src/registry_pkgs/vector/backends/weaviate_store.py642 # Step 2: Rerank candidates via Bedrock (AWS config injected from store config)COMMENT
LOWworkflow-worker/src/workflow_worker/main.py197 # Step 1: Try to atomically claim the most urgent due scheduleCOMMENT
LOWworkflow-worker/src/workflow_worker/main.py215 # Step 2: Nothing due — find the nearest future deadline and sleepCOMMENT
LOW⚡scripts/migrate_a2a_agent_path_slug.py85 # Step 1: Fetch all agentsCOMMENT
LOW⚡scripts/migrate_a2a_agent_path_slug.py94 # Step 2: Check for conflictsCOMMENT
LOWscripts/migrate_a2a_agent_path_slug.py123 # Step 3: Update all agent documentsCOMMENT
LOW⚡scripts/migrate_a2a_agent_path_slug.py146 # Step 4: Drop slug indexCOMMENT
LOW⚡scripts/migrate_a2a_agent_path_slug.py155 # Step 5: Remove slug field from all documentsCOMMENT
LOWregistry/src/registry/health/service.py639 # Step 1: Initialize session to get session IDCOMMENT
LOWregistry/src/registry/health/service.py652 # Step 2: Add session ID to headers for pingCOMMENT
LOW⚡registry/src/registry/api/v1/mcp/connection_router.py48 # Step 1: Disconnect existing connectionCOMMENT
LOW⚡registry/src/registry/api/v1/mcp/connection_router.py53 # Step 2: Get server configCOMMENT
LOW⚡registry/src/registry/api/v1/mcp/connection_router.py62 # Step 3: Handle OAuth authenticationCOMMENT
LOW⚡registry/src/registry/api/v1/mcp/connection_router.py67 # Step 4: Create connection if tokens are validCOMMENT
LOW…istry/src/registry/services/federation_sync_service.py1544 # Step 1: Batch query existing ACL entries for all resources using $in over resourceIdCOMMENT
LOW…istry/src/registry/services/federation_sync_service.py1592 # Step 2: Compute new ACL entries to INSERTCOMMENT
LOW…istry/src/registry/services/federation_sync_service.py1638 # Step 3: Batch insert new ACL entries in chunksCOMMENT
Over-Commented Block22 hits · 22 pts
SeverityFileLineSnippetContext
LOWmkdocs.yml201COMMENT
LOWregistry-pkgs/src/registry_pkgs/scopes.yml1# Pure new RBAC scopes for registry server/agent/federation APIs.COMMENT
LOWregistry-pkgs/src/registry_pkgs/models/workflow.py221COMMENT
LOWregistry-pkgs/src/registry_pkgs/models/workflow.py621 # Set when the run transitions to PAUSED; used to enforce pause_timeout_seconds.COMMENT
LOW…y-pkgs/src/registry_pkgs/models/extended_mcp_server.py181 "errorMessage": "...", # Registry field (root level)COMMENT
LOWdocs/complete-setup-guide.md361COMMENT
LOWdocs/complete-setup-guide.md401# - Save credentials to .oauth-tokens/keycloak-client-secrets.txtCOMMENT
LOWdocs/complete-setup-guide.md461# Note: The script does not display the credentials at the end.COMMENT
LOWdocs/complete-setup-guide.md481COMMENT
LOWdocs/complete-setup-guide.md541# Activate the virtual environment if not already activeCOMMENT
LOWdocs/complete-setup-guide.md621COMMENT
LOWdocs/quick-start.md81COMMENT
LOWdocs/macos-setup-guide.md2012. Go to Settings > Resources > Virtual file sharesCOMMENT
LOWdocs/keycloak-integration.md781```bashCOMMENT
LOWdocs/dynamic-tool-discovery.md81COMMENT
LOWauth-server/src/auth_server/oauth2_providers.yml1providers:COMMENT
LOW.github/workflows/create_release.yaml81 # gate it on startsWith(github.event.release.tag_name, 'asc') so itCOMMENT
LOWregistry/tests/unit/auth/test_auth_routes.py141 assert providers == []COMMENT
LOWregistry/tests/unit/auth/test_auth_routes.py161 # }COMMENT
LOWregistry/src/registry/health/service.py661 # Check for auth failures firstCOMMENT
LOW…gistry/services/embedding_reindex_execution_service.py41_REINDEX_CONCURRENCY = 5COMMENT
LOW…istry/src/registry/services/search/external_service.py281COMMENT
Synthetic Comment Markers3 hits · 20 pts
SeverityFileLineSnippetContext
HIGHdocs/explore-agentic/glossary/guardian-agent.md16The phrase is Gartner's, but the pattern is older. Every production agent deployment eventually grows a second agent (orCODE
HIGH.github/workflows/create_release.yaml20 # ── AI-generated GitHub Release via github/copilot-release-notes ─────────────COMMENT
HIGHregistry/src/registry/health/service.py615 # Skip health checks for stdio transport (as requested)COMMENT
Magic Placeholder Names3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHfrontend/src/pages/TokenGeneration.tsx519 Authorization: Bearer YOUR_TOKEN_HERECODE
HIGHfrontend/src/pages/TokenGeneration.tsx522 Replace YOUR_TOKEN_HERE with the token above.CODE
HIGHdocs/anthropic-registry-import.md153SMITHERY_API_KEY=your-api-key-hereCODE
AI Structural Patterns15 hits · 12 pts
SeverityFileLineSnippetContext
LOW…-pkgs/src/registry_pkgs/testing/federation_metadata.py39CODE
LOWauth-server/src/auth_server/providers/entra.py25CODE
LOWauth-server/src/auth_server/routes/oauth_flow.py731CODE
LOWauth-server/src/auth_server/routes/oauth_flow.py1036CODE
LOWregistry/tests/unit/api/test_oauth_router.py126CODE
LOWregistry/tests/unit/api/test_connection_router.py90CODE
LOWregistry/src/registry/utils/crypto_utils.py253CODE
LOWregistry/src/registry/api/redirect_routes.py231CODE
LOWregistry/src/registry/api/v1/server/server_routes.py106CODE
LOWregistry/src/registry/api/v1/mcp/oauth_router.py385CODE
LOWregistry/src/registry/api/v1/mcp/oauth_router.py938CODE
LOWregistry/src/registry/api/v1/mcp/oauth_router.py1208CODE
LOW…ry/src/registry/api/v1/federation/federation_routes.py338CODE
LOW…istry/src/registry/services/federation_crud_service.py130CODE
LOWregistry/src/registry/services/workflow_service.py728CODE
AI Slop Vocabulary4 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUMfrontend/src/components/WorkflowCanvas/convert.ts692 // A more robust check is to just see if the backend provided any `position` object at all on the first node.COMMENT
LOW⚡registry/src/registry/api/v1/mcp/connection_router.py196 # For now, just return OAuth token statusCOMMENT
MEDIUMregistry/src/registry/services/server_service.py1196 # This is a more comprehensive health check than just HTTP GETCOMMENT
LOWregistry/src/registry/services/server_service.py609 # If capabilities retrieval fails, just use empty capabilitiesCOMMENT
Cross-Language Confusion2 hits · 8 pts
SeverityFileLineSnippetContext
HIGHscripts/backfill_mcp_server_normalized_names.py56 compound unique index treats a missing field as null) — this is the common case for everySTRING
HIGH…istry/src/registry/schemas/model_source_api_schemas.py80 raise ValueError("field may not be null; omit it to leave unchanged")CODE
Overly Generic Function Names2 hits · 2 pts
SeverityFileLineSnippetContext
LOWregistry-pkgs/tests/unit/telemetry/test_decorators.py220 def my_function():CODE
LOW…istry-pkgs/tests/unit/telemetry/test_metrics_client.py140 def my_function():CODE
Dead Code1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM…/tests/unit/services/test_skill_sync_github_service.py78CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWdocker/registry-entrypoint.sh5# Usage:COMMENT