Repository Analysis

archestra-ai/archestra

Enterprise AI Platform with guardrails, MCP registry, gateway & orchestrator

2.5 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of archestra-ai/archestra, a TypeScript project with 3,968 GitHub stars. SynthScan v2.0 examined 1,046,780 lines of code across 3741 source files, recording 2234 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 2.5 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

2.5
Adjusted Score
2.5
Raw Score
100%
Time Factor
2026-07-14
Last Push
4.0K
Stars
TypeScript
Language
1.0M
Lines of Code
3.7K
Files
2.2K
Pattern Hits
2026-07-14
Scan Date
0.01
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 19MEDIUM 115LOW 2100

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 2234 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers1586 hits · 1638 pts
SeverityFileLineSnippetContext
LOWmigration-kit/tests/test_contracts.py39def test_parse_item_rejects_unknown_kind() -> None:CODE
LOWmigration-kit/tests/test_contracts.py44def test_parse_item_rejects_missing_required_field() -> None:CODE
LOWmigration-kit/tests/test_contracts.py49def test_parse_bundled_file_rejects_bad_encoding() -> None:CODE
LOWmigration-kit/tests/test_contracts.py54def test_parse_plan_roundtrips_and_validates() -> None:CODE
LOWmigration-kit/tests/test_contracts.py64def test_parse_plan_rejects_bad_enums() -> None:CODE
LOWmigration-kit/tests/test_contracts.py74def test_parse_bundled_file_allows_empty_content() -> None:CODE
LOWmigration-kit/tests/test_contracts.py88def test_parse_bundled_file_still_requires_string_content() -> None:CODE
LOWmigration-kit/tests/test_contracts.py93def test_non_migrate_decision_may_omit_target_kind() -> None:CODE
LOWmigration-kit/tests/test_contracts.py102def test_migrate_decision_requires_target_kind() -> None:CODE
LOWmigration-kit/tests/test_contracts.py107def test_user_answer_validators_reject_bad_values() -> None:CODE
LOWmigration-kit/tests/test_contracts.py116def test_user_answer_validators_accept_good_values() -> None:CODE
LOWmigration-kit/tests/test_contracts.py123def test_archestra_hook_event_maps_supported_events_only() -> None:CODE
LOWmigration-kit/tests/test_contracts.py131def test_archestra_file_name_validates_basename_and_extension() -> None:CODE
LOWmigration-kit/tests/test_contracts.py139def test_validate_requirements_trims_and_bounds() -> None:CODE
LOWmigration-kit/tests/test_contracts.py152def test_require_requirements_is_none_when_absent() -> None:CODE
LOWmigration-kit/tests/test_contracts.py157def test_optional_agent_id_requires_uuid_shape() -> None:CODE
LOWmigration-kit/tests/test_contracts.py165def test_optional_file_name_validates_when_present() -> None:CODE
LOWmigration-kit/tests/test_contracts.py172def test_require_hook_content_enforces_length() -> None:CODE
LOWmigration-kit/tests/test_contracts.py180def test_require_dict_and_list_raise_on_wrong_shape() -> None:CODE
LOWmigration-kit/tests/test_contracts.py187def test_secret_key_regex_matches_real_keys_not_innocent_words() -> None:CODE
LOWmigration-kit/tests/test_contracts.py13def test_inventory_roundtrips_through_json() -> None:CODE
LOWmigration-kit/tests/test_discover.py59def test_finds_claude_md_as_primary(inv: Inventory) -> None:CODE
LOWmigration-kit/tests/test_discover.py65def test_subagent_carries_tool_allowlist(inv: Inventory) -> None:CODE
LOWmigration-kit/tests/test_discover.py71def test_skill_bundles_sibling_files(inv: Inventory) -> None:CODE
LOWmigration-kit/tests/test_discover.py130def test_inline_hook_has_no_bundled_script(inv: Inventory) -> None:CODE
LOWmigration-kit/tests/test_discover.py138def test_env_prefix_hook_is_flagged_in_summary(inv: Inventory) -> None:CODE
LOWmigration-kit/tests/test_discover.py146def test_unsupported_event_hook_noted_for_manual(inv: Inventory) -> None:CODE
LOWmigration-kit/tests/test_discover.py152def test_unresolved_hook_when_script_missing(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_discover.py228def test_script_position_only_matches_executable_or_interpreter_arg(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_discover.py235def test_script_path_in_echo_argument_is_inline_not_bundled(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_discover.py240def test_interpreter_flags_before_script_count_as_extra_args(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_discover.py353def test_dangling_refs_flags_only_existing_unbundled_files(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_discover.py361def test_dangling_refs_skips_bundled_files(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_discover.py369def test_dangling_refs_resolves_against_multiple_bases(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_discover.py32def test_redact_value_catches_embedded_token() -> None:CODE
LOWmigration-kit/tests/test_discover.py39def test_redact_catches_embedded_token_under_innocuous_key() -> None:CODE
LOWmigration-kit/tests/test_discover.py83def test_local_tool_bundles_script(inv: Inventory) -> None:CODE
LOWmigration-kit/tests/test_discover.py91def test_mcp_stdio_and_remote(inv: Inventory) -> None:CODE
LOWmigration-kit/tests/test_discover.py102def test_mcp_secret_env_is_redacted(inv: Inventory) -> None:CODE
LOWmigration-kit/tests/test_discover.py167def test_same_hook_slot_in_two_config_files_gets_distinct_ids(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_discover.py178def test_empty_or_env_only_command_is_unresolved(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_discover.py193def test_bundled_hook_resolves_with_relative_root(monkeypatch: pytest.MonkeyPatch) -> None:CODE
LOWmigration-kit/tests/test_discover.py251def test_bundled_script_through_symlinked_root_alias_does_not_crash(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_discover.py272def test_inline_env_prefix_is_not_flagged(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_discover.py286def test_hook_command_inline_secret_redacted(inv: Inventory) -> None:CODE
LOWmigration-kit/tests/test_discover.py293def test_body_secret_warned_but_left_intact(inv: Inventory) -> None:CODE
LOWmigration-kit/tests/test_discover.py308def test_no_structured_secret_leaks_in_serialized_inventory(inv: Inventory) -> None:CODE
LOWmigration-kit/tests/test_discover.py315def test_symlink_escaping_source_is_not_bundled(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_discover.py332def test_symlinked_skill_dir_is_skipped(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_discover.py382def test_dangling_refs_ignores_root_escaping_ref(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_discover.py387def test_discover_warns_on_dangling_command_reference(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_discover.py399def test_discover_flags_ref_captured_as_separate_item(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_discover.py413def test_fixture_skill_flags_repo_root_tool_reference(inv: Inventory) -> None:CODE
LOWmigration-kit/tests/test_installer.py18def test_writes_allowlist_as_siblings(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_installer.py37def test_unsafe_paths_are_rejected(tmp_path: Path, rel: str) -> None:CODE
LOWmigration-kit/tests/test_installer.py42def test_path_outside_allowlist_is_rejected(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_installer.py47def test_destination_symlink_is_rejected(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_installer.py56def test_file_destination_is_rejected(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_installer.py63def test_nonempty_destination_requires_force(tmp_path: Path) -> None:CODE
LOWmigration-kit/tests/test_installer.py73def test_force_removes_stale_managed_files(tmp_path: Path) -> None:CODE
1526 more matches not shown…
Over-Commented Block237 hits · 230 pts
SeverityFileLineSnippetContext
LOWplatform/pnpm-workspace.yaml101# Security: Delay installation of newly published packages.COMMENT
LOWplatform/docker/scripts/docker-entrypoint.sh1#!/bin/shCOMMENT
LOWplatform/frontend/playwright.config.ts61 projects: [{ name: "chromium", use: { ...devices["Desktop Chrome"] } }],COMMENT
LOWplatform/frontend/next.config.ts21 distDir: process.env.NEXT_DIST_DIR || ".next",COMMENT
LOWplatform/frontend/next.config.ts61 // at runtime doesn't also have to rebuild the FE image. (next.config.ts isCOMMENT
LOWplatform/frontend/src/app/chat/page.tsx1041 const stop = chatSession?.stop;COMMENT
LOWplatform/frontend/src/app/chat/page.tsx2061 // We need to fetch them first to apply our pending actions on topCOMMENT
LOWplatform/frontend/src/app/chat/page.tsx2301 // set the org default model — which built-in background subagents inherit —COMMENT
LOW…/frontend/src/app/connection/connect-command-panel.tsx241 const hasAnything = Boolean(gateway || proxyActive || includeSkills);COMMENT
LOW…ntend/src/app/mcp/registry/_parts/mcp-catalog-form.tsx501 const { isDirty: isFormDirty, dirtyFields } = form.formState;COMMENT
LOW…ontend/src/app/mcp/registry/_parts/cascade-decision.ts341): boolean {COMMENT
LOW…m/frontend/src/app/internal-test/msw-handlers/route.ts1// Control endpoint for per-test MSW handler overrides used by PlaywrightCOMMENT
LOWplatform/frontend/src/app/apps/_parts/app-card.tsx261 onOpenChange={setSettingsOpen}COMMENT
LOW…tform/frontend/src/components/ui/secret-input.utils.ts1// Attributes that keep browser and extension password managers away fromCOMMENT
LOW…tform/frontend/src/components/mcp-app/mcp-app-view.tsx201 // Shared cancel ref so the prop-update useEffect can cancel an in-flight fallback fetch.COMMENT
LOW…ntend/src/components/chat/conversation-files-panel.tsx61 // A project chat's files belong to the project, so dropping onto this panelCOMMENT
LOWplatform/frontend/src/lib/chat/chat-submit-action.ts1// Decides what a chat composer submit should do, given the current send state.COMMENT
LOWplatform/frontend/src/lib/chat/chat-session-utils.ts61 // back a fresh array each time. That churns the caller's stableMessagesCOMMENT
LOWplatform/frontend/src/lib/chat/global-chat.context.tsx501 // promise resolving — the "run already finished" case, where the reconnectCOMMENT
LOWplatform/frontend/src/lib/chat/global-chat.context.tsx621 }COMMENT
LOWplatform/frontend/src/lib/chat/global-chat.context.tsx761 }COMMENT
LOWplatform/frontend/src/lib/chat/global-chat.context.tsx781 if (previousMessagesRef.current.length > 0) {COMMENT
LOWplatform/frontend/src/lib/chat/global-chat.context.tsx1101COMMENT
LOWplatform/frontend/src/lib/chat/global-chat.context.tsx1181 // are now stale — the backend never clears them on its own, and left behindCOMMENT
LOWplatform/frontend/src/lib/chat/global-chat.context.tsx1221 const canonical = data?.messages as UIMessage[] | undefined;COMMENT
LOWplatform/backend/scripts/start-production.sh1#!/bin/shCOMMENT
LOWplatform/backend/src/config.ts1801 // it ngrok assigns an ephemeral domain that rotates on each restart.COMMENT
LOWplatform/backend/src/server.ts1221 /**COMMENT
LOWplatform/backend/src/clients/mcp-client.ts761 // session). The aborted call is intentionally not audited from here:COMMENT
LOWplatform/backend/src/clients/mcp-client.ts3401 ): Promise<ResourceContents> {COMMENT
LOWplatform/backend/src/clients/chat-tool-builder.ts901COMMENT
LOWplatform/backend/src/database/seed.ts381 // Explicit command overrides the image ENTRYPOINT to avoid breakage from upstream image changes.COMMENT
LOWplatform/backend/src/types/app.ts81 // Teams the app is shared with (via its backing catalog), for the card'sCOMMENT
LOW…rm/backend/src/types/llm-providers/bedrock/messages.ts201COMMENT
LOWplatform/backend/src/test/setup.ts41// Vertex AI mode must not leak in from a developer's .env (config.ts loads itCOMMENT
LOWplatform/backend/src/auth/better-auth.ts301 },COMMENT
LOWplatform/backend/src/auth/fastify-plugin/middleware.ts161 url.startsWith("/oauth/") ||COMMENT
LOWplatform/backend/src/k8s/mcp-server-runtime/manager.ts1001COMMENT
LOW…m/backend/src/k8s/mcp-server-runtime/network-policy.ts261 egress: [COMMENT
LOW…orm/backend/src/k8s/mcp-server-runtime/manager.test.ts1381 describe("startServer - success auto redeploy", () => {COMMENT
LOWplatform/backend/src/agents/agent-run-stream.ts1// The shared agent-run streamText primitive for every agent execution surfaceCOMMENT
LOWplatform/backend/src/agents/agent-run-stream.ts301// call started; if the stream ends before a committing `tool-call`, it wasCOMMENT
LOWplatform/backend/src/agents/a2a-executor.ts401 // Execute via the shared agent-run primitive: it owns the streamText callCOMMENT
LOWplatform/backend/src/models/tool-invocation-policy.ts721 }COMMENT
LOWplatform/backend/src/models/project.ts101 .set({ projectId: project.id })COMMENT
LOWplatform/backend/src/models/organization-role.ts101 */COMMENT
LOWplatform/backend/src/models/tool.ts821 return [];COMMENT
LOWplatform/backend/src/models/tool.ts2501 // Create a map of existing tools by their RAW name (part after `__`)COMMENT
LOW…c/skills-sandbox/skill-sandbox-runtime-service.test.ts741COMMENT
LOW…end/src/archestra-mcp-server/app-authoring-guidance.ts1import { APP_PLATFORM_CSP_RESOURCE_DOMAINS } from "@/services/apps/app-ui-policy";COMMENT
LOWplatform/backend/src/archestra-mcp-server/apps.ts681 "Render an existing app by id, if the caller may view it. Use this when the user asks to open, show, or get back tCOMMENT
LOW…form/backend/src/archestra-mcp-server/dynamic-tools.ts21import type { Tool } from "@/types";COMMENT
LOW…form/backend/src/archestra-mcp-server/dynamic-tools.ts341// tools are never enabled by this predicate.COMMENT
LOWplatform/backend/src/archestra-mcp-server/run-tool.ts361 }COMMENT
LOWplatform/backend/src/knowledge-base/connector-sync.ts81 const epoch = run.leaseEpoch;COMMENT
LOW…edge-base/connectors/outline/outline-connector.test.ts561 );COMMENT
LOWplatform/backend/src/static/archestra-app-sdk.js161 console.error("Archestra Apps SDK: connect failed", err);COMMENT
LOWplatform/backend/src/static/archestra-app-sdk.js201 offenders.join(", "),COMMENT
LOWplatform/backend/src/static/mcp-sandbox-proxy.html41// below) to connect to the host. location.origin is this proxy's real originCOMMENT
LOWplatform/backend/src/standalone-scripts/hydrate-from.ts101 ),COMMENT
177 more matches not shown…
Fake / Example Data188 hits · 196 pts
SeverityFileLineSnippetContext
LOWmigration-kit/references/install.md51c.sign_in("admin@example.com", "password")CODE
LOWplatform/frontend/tests-integration/mcp-install.spec.ts178 .fill("fake-token");CODE
LOW…pp/settings/account/_components/sessions-card.test.tsx41 user: { id: "user-1", email: "user@example.com" },CODE
LOW…/settings/account/_components/two-factor-card.test.tsx33 user: { id: "user-1", email: "user@example.com", twoFactorEnabled },CODE
LOW…dentity-providers/_parts/role-mapping-form.ee.test.tsx45 email: "admin@example.com",CODE
LOW…nowledge-bases/_parts/create-connector-dialog.test.tsx300 await user.type(screen.getByLabelText(/^Email$/), "user@example.com");CODE
LOW…nowledge-bases/_parts/create-connector-dialog.test.tsx324 target: { value: "user@example.com" },CODE
LOW…nowledge-bases/_parts/create-connector-dialog.test.tsx341 email: "user@example.com",CODE
LOW…nowledge-bases/_parts/create-connector-dialog.test.tsx594 target: { value: "admin@example.com" },CODE
LOW…nowledge-bases/_parts/create-connector-dialog.test.tsx621 email: "admin@example.com",CODE
LOW…dge/knowledge-bases/_parts/connector-dialog-config.tsx619 ? "user@example.com"CODE
LOW…dge/knowledge-bases/_parts/connector-dialog-config.tsx692 ? "user@example.com"CODE
LOW…dge/knowledge-bases/_parts/connector-dialog-config.tsx960 ? "user@example.com"CODE
LOW…form/frontend/src/app/_parts/posthog-provider.test.tsx119 email: "user@example.com",CODE
LOW…form/frontend/src/app/_parts/posthog-provider.test.tsx144 email: "user@example.com",CODE
LOW…form/frontend/src/app/_parts/posthog-provider.test.tsx187 email: "user@example.com",CODE
LOW…form/frontend/src/app/_parts/posthog-provider.test.tsx210 email: "user@example.com",CODE
LOW…form/frontend/src/app/_parts/posthog-provider.test.tsx231 email: "user@example.com",CODE
LOW…form/frontend/src/app/_parts/posthog-provider.test.tsx249 email: "user@example.com",CODE
LOW…form/frontend/src/app/_parts/posthog-provider.test.tsx284 email: "user@example.com",CODE
LOW…form/frontend/src/app/_parts/posthog-provider.test.tsx312 email: "user@example.com",CODE
LOW…form/frontend/src/app/_parts/posthog-provider.test.tsx341 email: "user@example.com",CODE
LOW…form/frontend/src/app/_parts/posthog-provider.test.tsx357 email: "user@example.com",CODE
LOW…form/frontend/src/app/_parts/posthog-provider.test.tsx358 name: "user@example.com",CODE
LOW…form/frontend/src/app/_parts/posthog-provider.test.tsx367 email: "user@example.com",CODE
LOW…form/frontend/src/app/_parts/posthog-provider.test.tsx416 email: "user@example.com",CODE
LOW…form/frontend/src/app/_parts/posthog-provider.test.tsx453 email: "user@example.com",CODE
LOW…d/src/components/user-searchable-multi-select.test.tsx8 { userId: "user-1", name: "John Doe", email: "john@example.com" },CODE
LOW…d/src/components/user-searchable-multi-select.test.tsx41 expect(screen.getByText("John Doe")).toBeInTheDocument();CODE
LOW…d/src/components/user-searchable-multi-select.test.tsx124 expect(screen.getByText("John Doe")).toBeInTheDocument();CODE
LOW…d/src/components/user-searchable-multi-select.test.tsx165 expect(screen.queryByText("John Doe")).not.toBeInTheDocument();CODE
LOW…d/src/components/user-searchable-multi-select.test.tsx187 expect(screen.queryByText("John Doe")).not.toBeInTheDocument();CODE
LOW…d/src/components/user-searchable-multi-select.test.tsx284 expect(screen.getByText("John Doe")).toBeInTheDocument();CODE
LOW…d/src/components/user-searchable-multi-select.test.tsx301 expect(screen.queryByText("John Doe")).not.toBeInTheDocument();CODE
LOW…d/src/components/user-searchable-multi-select.test.tsx397 b.textContent?.includes("John Doe"),CODE
LOW…atform/frontend/src/components/invite-by-link-card.tsx84 placeholder="user@example.com"CODE
LOW…rontend/src/components/user-searchable-select.test.tsx18 name: "John Doe",CODE
LOW…rontend/src/components/user-searchable-select.test.tsx101 name: "John Doe",CODE
LOW…rontend/src/components/user-searchable-select.test.tsx121 { userId: "user-1", name: "John Doe", email: "john@example.com" },CODE
LOW…rontend/src/components/user-searchable-select.test.tsx133 expect(screen.queryByText("John Doe")).not.toBeInTheDocument();CODE
LOW…rontend/src/components/user-searchable-select.test.tsx145 { userId: "user-1", name: "John Doe", email: "john@example.com" },CODE
LOW…rontend/src/components/user-searchable-select.test.tsx157 expect(screen.getByText("John Doe")).toBeInTheDocument();CODE
LOWplatform/frontend/src/components/token-select.test.tsx93 ownerEmail: "admin@example.com",CODE
LOW…src/components/settings/role-permissions-card.test.tsx43 email: "admin@example.com",CODE
LOWplatform/frontend/src/lib/auth/account.query.test.ts38 email: "user@example.com",CODE
LOWplatform/frontend/src/lib/auth/account.query.test.ts60 email: "user@example.com",CODE
LOWplatform/frontend/src/lib/auth/account.query.test.ts78 email: "user@example.com",CODE
LOWplatform/backend/src/templating.test.ts81 const context = { email: "user@example.com" };CODE
LOWplatform/backend/src/templating.test.ts421 email: "test@test.com",CODE
LOW…ackend/src/clients/anthropic-workload-identity.test.ts248 "x-api-key": "placeholder",CODE
LOWplatform/backend/src/guardrails/trusted-data.test.ts1157 content: { from: "user@example.com" },CODE
LOWplatform/backend/src/auth/idp.ee.test.ts38 const user = await makeUser({ email: "admin@example.com" });CODE
LOWplatform/backend/src/auth/cimd.test.ts121 contacts: ["admin@example.com"],CODE
LOWplatform/backend/src/auth/cimd.test.ts142 expect(result.contacts).toEqual(["admin@example.com"]);CODE
LOWplatform/backend/src/auth/better-auth.test.ts176 body: { email: "user@example.com", callbackURL: "http://example.com" },CODE
LOWplatform/backend/src/auth/better-auth.test.ts196 email: "user@example.com",CODE
LOWplatform/backend/src/auth/better-auth.test.ts215 email: "user@example.com",CODE
LOWplatform/backend/src/auth/better-auth.test.ts223 email: "user@example.com",CODE
LOWplatform/backend/src/auth/better-auth.test.ts245 email: "user@example.com",CODE
LOWplatform/backend/src/auth/better-auth.test.ts254 email: "user@example.com",CODE
128 more matches not shown…
Decorative Section Separators46 hits · 154 pts
SeverityFileLineSnippetContext
MEDIUM…ontend/src/app/mcp/registry/_parts/mcp-server-card.tsx228 // ── Shareable edit deep-link (`?edit=<catalogId>`) ──────────────────────COMMENT
MEDIUM…ontend/src/app/mcp/registry/_parts/cascade-decision.ts88 // ── Manual ───────────────────────────────────────────────────────COMMENT
MEDIUM…ontend/src/app/mcp/registry/_parts/cascade-decision.ts95 // ── Skip via forward-compat ──────────────────────────────────────COMMENT
MEDIUM…ontend/src/app/mcp/registry/_parts/cascade-decision.ts102 // ── Auto ─────────────────────────────────────────────────────────COMMENT
MEDIUM…tform/frontend/src/components/mcp-app/mcp-app-view.tsx1255// ── Host-theme bridging helpers ──────────────────────────────────────────────COMMENT
MEDIUM…rontend/src/components/chat/mcp-app-container.test.tsx6// ── Mock heavy dependencies before module import ─────────────────────────────COMMENT
MEDIUM…rontend/src/components/chat/mcp-app-container.test.tsx83// ── Import component under test after mocks ───────────────────────────────────COMMENT
MEDIUM…rontend/src/components/chat/mcp-app-container.test.tsx98// ── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUM…rontend/src/components/chat/mcp-app-container.test.tsx112// ── Tests ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/frontend/src/lib/auth/oauth-session.ts15// ─── Key constants ───────────────────────────────────────────────────COMMENT
MEDIUMplatform/frontend/src/lib/auth/oauth-session.ts34// ─── Helpers ─────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/frontend/src/lib/auth/oauth-session.ts160// ─── Processing guard (prevents duplicate callback processing) ───────COMMENT
MEDIUMplatform/frontend/src/lib/auth/oauth-session.ts178// ─── Getters ─────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/frontend/src/lib/auth/oauth-session.ts293// ─── Cleanup ─────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/backend/src/routes/mcp-proxy.test.ts15// ── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/backend/src/routes/mcp-proxy.test.ts58// ── Tests ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/shared/cascade-scenarios.ts109// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/shared/cascade-scenarios.ts111// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/shared/cascade-scenarios.ts254// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/shared/cascade-scenarios.ts256// ─────────────────────────────────────────────────────────────────────COMMENT
MEDIUMplatform/shared/cascade-scenarios.ts259 // ── description-only across all shapes (the headline path) ─────────COMMENT
MEDIUMplatform/shared/cascade-scenarios.ts363 // ── runtime field changes (cascade SHOULD fire) ────────────────────COMMENT
MEDIUMplatform/shared/cascade-scenarios.ts565 // ── identity / nothing-changed sanity ─────────────────────────────COMMENT
MEDIUMplatform/dev/vault-k8s-manual-test.yaml1# ============================================================COMMENT
MEDIUMplatform/dev/vault-k8s-manual-test.yaml73# ============================================================COMMENT
MEDIUMplatform/dev/vault-k8s-manual-test.yaml75# ============================================================COMMENT
MEDIUMplatform/dev/vault-k8s-manual-test.yaml77# ============================================================COMMENT
MEDIUMplatform/dev/vault-k8s-manual-test.yaml95# ============================================================COMMENT
MEDIUMplatform/dev/vault-k8s-manual-test.yaml97# ============================================================COMMENT
MEDIUMplatform/dev/grafana/generate-pg-dashboard-variants.py24# ---------------------------------------------------------------------------COMMENT
MEDIUMplatform/dev/grafana/generate-pg-dashboard-variants.py26# ---------------------------------------------------------------------------COMMENT
MEDIUMplatform/dev/grafana/generate-pg-dashboard-variants.py39# ---------------------------------------------------------------------------COMMENT
MEDIUMplatform/dev/grafana/install-dashboards.sh7# ──────────────────────────────────────────────COMMENT
MEDIUMplatform/dev/grafana/install-dashboards.sh9# ──────────────────────────────────────────────COMMENT
MEDIUMplatform/dev/grafana/install-dashboards.sh58# ──────────────────────────────────────────────COMMENT
MEDIUMplatform/dev/grafana/install-dashboards.sh60# ──────────────────────────────────────────────COMMENT
MEDIUMplatform/dev/grafana/install-dashboards.sh123# ──────────────────────────────────────────────COMMENT
MEDIUMplatform/dev/grafana/install-dashboards.sh125# ──────────────────────────────────────────────COMMENT
MEDIUMplatform/dev/grafana/install-dashboards.sh141# ──────────────────────────────────────────────COMMENT
MEDIUMplatform/dev/grafana/install-dashboards.sh143# ──────────────────────────────────────────────COMMENT
MEDIUMplatform/dev/grafana/install-dashboards.sh169# ──────────────────────────────────────────────COMMENT
MEDIUMplatform/dev/grafana/install-dashboards.sh171# ──────────────────────────────────────────────COMMENT
MEDIUMplatform/dev/grafana/install-dashboards.sh192# ──────────────────────────────────────────────COMMENT
MEDIUMplatform/dev/grafana/install-dashboards.sh194# ──────────────────────────────────────────────COMMENT
MEDIUMai-labs/baton/baton-core/src/lib.rs90// ── Core ────────────────────────────────────────────────────────────────COMMENT
MEDIUMai-labs/baton/baton-core/src/lib.rs104// ── Feature ─────────────────────────────────────────────────────────────COMMENT
Modern AI Meta-Vocabulary50 hits · 141 pts
SeverityFileLineSnippetContext
MEDIUMREADME.md64- 🛡️ **Deterministic guardrails** for [tool calls](https://archestra.ai/docs/platform-ai-tool-guardrails),CODE
MEDIUMREADME.md66 [Lethal Trifecta](https://archestra.ai/docs/platform-ai-tool-guardrails#the-lethal-trifecta) protections.CODE
MEDIUMmigration-kit/SKILL.md7# Migrate an agentic PoC to ArchestraCOMMENT
MEDIUMplatform/frontend/src/app/mcp/registry/new/page.tsx65 // review tools, configure guardrails.COMMENT
MEDIUM…d/src/app/mcp/registry/_parts/catalog-setup-wizard.tsx459 // "Configure with Subagent" action from the full guardrails table.COMMENT
MEDIUM…orm/frontend/src/app/mcp/registry/[id]/page.client.tsx113// How many tools to preview on the Overview before linking out to guardrails.COMMENT
MEDIUM…rontend/src/app/mcp/registry/[id]/edit/page.client.tsx79 : // "guardrails" merged into "tools"; keep old deep links working.CODE
MEDIUM…orm/frontend/src/app/apps/_parts/app-create-dialog.tsx15// Seeded as the new app's description so the blank scaffold has a get-startedCOMMENT
MEDIUM…rm/frontend/src/components/chat/edit-policy-dialog.tsx18 // name-based fallback lookup below, so it is optional: the tool-guardrailsCOMMENT
MEDIUM…rm/frontend/src/components/chat/chat-messages.utils.ts392 // Owned-app management result (scaffold/edit/render_app): mount theCOMMENT
MEDIUM…rm/frontend/src/components/chat/chat-messages.utils.ts741 // scaffold/edit/render_app is covered too (its raw name is run_tool, whichCOMMENT
MEDIUM…orm/frontend/src/components/chat/compact-tool-call.tsx331 // still-streaming scaffold/edit call) degrades to a plain tool circle.COMMENT
MEDIUMplatform/frontend/src/lib/chat/global-chat.context.tsx883 // The backend's stopWhen: hasToolCall(...) stops the agentic loopCOMMENT
MEDIUMplatform/backend/src/tokenizers/base.ts40// The same conversation history is re-sent on every agentic turn, so countingCOMMENT
MEDIUMplatform/backend/src/types/app.ts249// template (no html), so the staged authoring flow is scaffold → edit_app.COMMENT
MEDIUMplatform/backend/src/types/app.ts266// Input for the `refine_app` MCP tool: the step between scaffold and edit. ItCOMMENT
MEDIUMplatform/backend/src/guardrails/tool-invocation.test.ts229 // rather than the LLM proxy's "monitors agentic traffic".COMMENT
MEDIUM…s/browser-stream/websocket/browser-stream.websocket.ts195 // as the chat agentic loop. Closing it here would kill in-flight tool callsCOMMENT
MEDIUM…s/browser-stream/websocket/browser-stream.websocket.ts196 // from the agentic loop, causing AI_MissingToolResultsError.COMMENT
MEDIUMplatform/backend/src/models/tool.ts1425 // explicit default rows so the /mcp/guardrails UI shows the sameCOMMENT
MEDIUMplatform/backend/src/models/tool.ts3151 // Can be explicitly included for guardrails configuration.COMMENT
MEDIUMplatform/backend/src/models/internal-mcp-catalog.ts78 // A clone copies the source's tools + guardrails as provisional rows, andCOMMENT
MEDIUMplatform/backend/src/models/interaction.test.ts2163 // Gemini request with function response (common in agentic workflows)COMMENT
MEDIUM…end/src/archestra-mcp-server/app-authoring-guidance.ts38// archestra.storage.get). Delivered once at scaffold time rather than repeatedCOMMENT
MEDIUMplatform/backend/src/archestra-mcp-server/apps.test.ts211 // Member may scaffold a personal app...COMMENT
MEDIUMplatform/backend/src/archestra-mcp-server/apps.test.ts1080 // scaffold produced — proving the default resolves the live head, not 1.COMMENT
MEDIUMplatform/backend/src/archestra-mcp-server/run-tool.ts458 // edit guardrails also gets a deep link to this tool's policy editor.COMMENT
MEDIUM…atform/backend/src/skills/skill-catalog.generated.json512[17,"plugins/dotnet-ai/skills/mcp-csharp-create","mcp-csharp-create","Create MCP servers using the C# SDK and .NET projeCODE
MEDIUM…atform/backend/src/skills/skill-catalog.generated.json544[17,"plugins/dotnet-maui/skills/maui-data-binding","maui-data-binding","Guidance for .NET MAUI XAML and C# data bindingsCODE
MEDIUMplatform/backend/src/routes/mcp-gateway.utils.ts578 // can edit guardrails, both gain a deep link to this tool's policyCOMMENT
MEDIUMplatform/backend/src/routes/mcp-gateway.utils.test.ts2891 // (scaffold/read/edit/validate) works from external clients and stays.COMMENT
MEDIUMplatform/backend/src/routes/proxy/llm-proxy-handler.ts647 // discovered-tool guardrails to any tools persisted below.COMMENT
MEDIUM…orm/backend/src/services/scheduled-run-conversation.ts325 // agentic loop); its request holds the full history and its response the finalCOMMENT
MEDIUMplatform/backend/src/services/apps/app-run-link.ts3// Kept in one place so scaffold/edit/render/publish surface an identical,COMMENT
MEDIUMplatform/backend/src/services/apps/app-mcp-backing.ts66 // (APP_LAUNCH_TOOL_NAME) so it shows up in the guardrails UI and isCOMMENT
MEDIUMplatform/backend/src/services/apps/app-mcp-backing.ts158 // non-model readers (the guardrails UI) current too.COMMENT
MEDIUMplatform/shared/tool-refusal.test.ts78 // not the LLM proxy's "monitors agentic traffic".COMMENT
MEDIUM…tform/archestra-rs/sandbox-core/src/backends/dagger.rs597/// warm-base user-setup command: scaffold the uv project, create the venv atCOMMENT
MEDIUMdocs/pages/platform-knowledge.md54The output of `query_knowledge_sources` is treated as sensitive by default, which can impact the ability to use subsequeCODE
MEDIUMdocs/pages/platform-agents.md73The output of `query_knowledge_sources` is treated as sensitive by default, which can impact the ability to use subsequeCODE
MEDIUMdocs/pages/platform-observability.md43### RAG & Knowledge Base MetricsCOMMENT
MEDIUMdocs/pages/platform-supported-llm-providers.md194[Cohere](https://www.cohere.ai/) provides LLMs through an API with safety guardrails, function calling, and both synchroCODE
MEDIUMdocs/pages/platform-archestra-mcp-server.md22[`query_knowledge_sources`](#query_knowledge_sources) is an exception: its output is treated as sensitive by default andCODE
MEDIUMai-labs/runner/src/chat_stream.rs22 /// agentic step). Sourced from the rows rather than the chat SSE `data-token-usage` event, whoseCOMMENT
MEDIUMai-labs/runner/src/run.rs1517 // every conversation it drove -- one row per agentic step, so the total covers all steps ratherCOMMENT
MEDIUMai-labs/runner/src/run.rs1898 // the persisted interaction rows (see grade_rollout), which capture every agentic step.COMMENT
MEDIUMai-labs/runner/src/interactions.rs89/// agentic step, so summing the rows recovers the full spend of a multi-step turn — unlike the chatCOMMENT
MEDIUMai-labs/analyzer/src/lib.rs6//! surfaces we own, led by Tier 1 — the Archestra agentic loop and `archestra__*` tools — overCOMMENT
MEDIUMai-labs/analyzer/src/analyze.rs60 r#"You are TRIAGING one trajectory from the Archestra agentic benchmark. Your job is to grade the rollout on fouCODE
MEDIUMai-labs/analyzer/src/analyze.rs439 // The primary (agentic-loop) section must come before the demoted fixture-polish section.COMMENT
Magic Placeholder Names14 hits · 75 pts
SeverityFileLineSnippetContext
HIGHplatform/backend/src/services/mcp-reinstall.test.ts968 default: "your-api-key",CODE
HIGHdocs/pages/platform-supported-llm-providers.md58- **Authentication**: Pass your OpenAI API key in the `Authorization` header as `Bearer <your-api-key>`CODE
HIGHdocs/pages/platform-supported-llm-providers.md190- **Authentication**: Pass your Cerebras API key in the `Authorization` header as `Bearer <your-api-key>`CODE
HIGHdocs/pages/platform-supported-llm-providers.md204- **Authentication**: Pass your Cohere API key in the `Authorization` header as `Bearer <your-api-key>`CODE
HIGHdocs/pages/platform-supported-llm-providers.md228- **Authentication**: Pass your Groq API key in the `Authorization` header as `Bearer <your-api-key>`CODE
HIGHdocs/pages/platform-supported-llm-providers.md264- **Authentication**: Pass your OpenRouter API key in the `Authorization` header as `Bearer <your-api-key>`CODE
HIGHdocs/pages/platform-supported-llm-providers.md308- **Authentication**: Pass your Mistral API key in the `Authorization` header as `Bearer <your-api-key>`CODE
HIGHdocs/pages/platform-supported-llm-providers.md325- **Authentication**: Pass your Perplexity API key in the `Authorization` header as `Bearer <your-api-key>`CODE
HIGHdocs/pages/platform-supported-llm-providers.md356- **Authentication**: API key is **optional**. Pass in `Authorization` header as `Bearer <your-api-key>` if your vLLM deCODE
HIGHdocs/pages/platform-supported-llm-providers.md391- **Authentication**: API key is **optional**. Pass in `Authorization` header as `Bearer <your-api-key>` if your Ollama CODE
HIGHdocs/pages/platform-supported-llm-providers.md427- **Authentication**: Pass your Zhipu AI API key in the `Authorization` header as `Bearer <your-api-key>`CODE
HIGHdocs/pages/platform-supported-llm-providers.md462- **Authentication**: Pass your xAI API key in `Authorization` header as `Bearer <your-api-key>`CODE
HIGHdocs/pages/platform-supported-llm-providers.md499- **Authentication**: Pass your MiniMax API key in the `Authorization` header as `Bearer <your-api-key>`CODE
HIGHdocs/pages/platform-supported-llm-providers.md791- **API key authentication**: Pass your Azure API key in the `Authorization` header as `Bearer <your-api-key>`CODE
AI Slop Vocabulary16 hits · 46 pts
SeverityFileLineSnippetContext
MEDIUM…atform/backend/src/skills/skill-catalog.generated.json544[17,"plugins/dotnet-maui/skills/maui-data-binding","maui-data-binding","Guidance for .NET MAUI XAML and C# data bindingsCODE
MEDIUM…atform/backend/src/skills/skill-catalog.generated.json805[25,"skills/csharp-docs","csharp-docs","Ensure that C# types are documented with XML comments and follow best practices CODE
MEDIUM…atform/backend/src/skills/skill-catalog.generated.json823[25,"skills/dotnet-best-practices","dotnet-best-practices","Ensure .NET/C# code meets best practices for the solution/prCODE
MEDIUM…form/backend/src/routes/chat/model-fetchers/bedrock.ts181 // Authoritative underlying model for pricing — more robust than parsingCOMMENT
MEDIUM…rm/backend/src/services/apps/app-sdk-injection.test.ts21// brace-matched depth scan over the comment-stripped body (robust to reformatting,COMMENT
MEDIUMplatform/e2e-tests/tests/mcp-install.spec.ts330 // instead — match either to keep the test robust.COMMENT
MEDIUM.github/bench/runner-entrypoint.sh5# exit code encodes harness health (zero passes ⇒ broken), so the pod's terminal phase is the signal CICOMMENT
MEDIUM.github/bench/runner-entrypoint.sh57# Final step: uploads to GCS, posts Slack, and exits non-zero on a broken harness so the pod's terminalCOMMENT
MEDIUM.github/workflows/claude-coreteam-review.yml1# This workflow provides comprehensive PR reviews using Claude.COMMENT
MEDIUM.github/workflows/claude-coreteam-review.yml5# https://github.com/anthropics/claude-code-action/blob/main/examples/pr-review-comprehensive.ymlCOMMENT
MEDIUMai-labs/tasks/aec-material-json-takeoff/verifier.py167 # The harness saves the artifact without an .xlsx extension; load from bytes so openpyxl judges itCOMMENT
MEDIUMai-labs/tasks/xlsx-live-formulas/verifier.py37 # The harness saves the artifact as `artifact.bin`; load from bytes so openpyxl does not reject itCOMMENT
MEDIUMai-labs/baton/baton-check/Cargo.toml8# Standalone on purpose, like baton-core: a harness sidecar for theCOMMENT
MEDIUMai-labs/baton/baton-check/Cargo.toml9# agentdojo-harness prototype, not part of the archestra-bench workspace.COMMENT
MEDIUMai-labs/scripts/publish_run.py86 # One loud line is the right shape for a broken harness — there is no leaderboard to scan.COMMENT
MEDIUMai-labs/envs/basic.toml5# Starts the harness-owned `acme_it` synthetic MCP (fixed, controlled content) and registers it to everyCOMMENT
Structural Annotation Overuse24 hits · 41 pts
SeverityFileLineSnippetContext
LOW…ntend/src/components/microsoft-365-copilot-sign-in.tsx91 // Step 1: fetch the device code and show it. We deliberately do NOT open theCOMMENT
LOW…ntend/src/components/microsoft-365-copilot-sign-in.tsx113 // Step 2: copy the code WHILE the page is still focused, then open theCOMMENT
LOW…orm/frontend/src/components/github-copilot-sign-in.tsx89 // Step 1: fetch the device code and show it. We deliberately do NOT open theCOMMENT
LOW…orm/frontend/src/components/github-copilot-sign-in.tsx110 // Step 2: copy the code WHILE the page is still focused, then open GitHub.COMMENT
LOW…rontend/src/components/chat/mcp-app-container.test.tsx894 // Step 1: the user collapses the app, reopens it, and pins it to the panelCOMMENT
LOW…rontend/src/components/chat/mcp-app-container.test.tsx903 // Step 2: the model renders a second, different app.COMMENT
LOW…rontend/src/components/chat/mcp-app-container.test.tsx955 // Step 2: the model renders a second app — both stay expanded inline.COMMENT
LOWplatform/backend/src/database/utils/pagination.md80### Step 1: Add Pagination to Your ModelCOMMENT
LOWplatform/backend/src/database/utils/pagination.md110### Step 2: Add Pagination to Your RouteCOMMENT
LOWplatform/backend/src/database/utils/pagination.md142### Step 3: Test Your EndpointCOMMENT
LOW…rails/query-knowledge-sources-invocation-chain.test.ts37 // Step 1: evaluate context trust after KB query tool resultCOMMENT
LOW…rails/query-knowledge-sources-invocation-chain.test.ts71 // Step 2: simulate the model attempting a subsequent tool invocationCOMMENT
LOWplatform/backend/src/models/agent.ts1071 // Step 1: Get paginated agent IDs with proper sortingCOMMENT
LOWplatform/backend/src/models/agent.ts1195 // Step 2: Get full agent data with tools for the paginated agent IDsCOMMENT
LOW…tform/backend/src/standalone-scripts/seed-mock-data.ts33 // Step 0: Clean existing mock data (in correct order due to foreign keys)COMMENT
LOW…tform/backend/src/standalone-scripts/seed-mock-data.ts40 // Step 1: Create usersCOMMENT
LOW…tform/backend/src/standalone-scripts/seed-mock-data.ts67 // Step 2: Create teams and add membersCOMMENT
LOW…tform/backend/src/standalone-scripts/seed-mock-data.ts129 // Step 3: Create agents, MCP gateways, and LLM proxies with ownership patternsCOMMENT
LOW…tform/backend/src/standalone-scripts/seed-mock-data.ts305 // Step 4: Create tools linked to agentsCOMMENT
LOW…tform/backend/src/standalone-scripts/seed-mock-data.ts315 // Step 5: Create agent-tool relationshipsCOMMENT
LOW…tform/backend/src/standalone-scripts/seed-mock-data.ts330 // Step 6: Create 200 mock interactionsCOMMENT
LOWplatform/e2e-tests/tests/oauth-self-hosted.spec.ts71 // Step 1: Fetch the authorization page to get the mock IdP linkCOMMENT
LOWplatform/e2e-tests/tests/oauth-self-hosted.spec.ts84 // Step 2: Call the mock IdP callback directly (simulates user clicking "Authorize")COMMENT
LOWplatform/e2e-tests/tests/oauth-self-hosted.spec.ts97 // Step 3: Extract code and state from the redirect URLCOMMENT
Verbosity Indicators21 hits · 37 pts
SeverityFileLineSnippetContext
LOW…ntend/src/components/microsoft-365-copilot-sign-in.tsx91 // Step 1: fetch the device code and show it. We deliberately do NOT open theCOMMENT
LOW…ntend/src/components/microsoft-365-copilot-sign-in.tsx113 // Step 2: copy the code WHILE the page is still focused, then open theCOMMENT
LOW…orm/frontend/src/components/github-copilot-sign-in.tsx89 // Step 1: fetch the device code and show it. We deliberately do NOT open theCOMMENT
LOW…orm/frontend/src/components/github-copilot-sign-in.tsx110 // Step 2: copy the code WHILE the page is still focused, then open GitHub.COMMENT
LOW…rontend/src/components/chat/mcp-app-container.test.tsx894 // Step 1: the user collapses the app, reopens it, and pins it to the panelCOMMENT
LOW…rontend/src/components/chat/mcp-app-container.test.tsx903 // Step 2: the model renders a second, different app.COMMENT
LOW…rontend/src/components/chat/mcp-app-container.test.tsx955 // Step 2: the model renders a second app — both stay expanded inline.COMMENT
LOW…rails/query-knowledge-sources-invocation-chain.test.ts37 // Step 1: evaluate context trust after KB query tool resultCOMMENT
LOW…rails/query-knowledge-sources-invocation-chain.test.ts71 // Step 2: simulate the model attempting a subsequent tool invocationCOMMENT
LOWplatform/backend/src/models/agent.ts1071 // Step 1: Get paginated agent IDs with proper sortingCOMMENT
LOWplatform/backend/src/models/agent.ts1195 // Step 2: Get full agent data with tools for the paginated agent IDsCOMMENT
LOW…tform/backend/src/standalone-scripts/seed-mock-data.ts33 // Step 0: Clean existing mock data (in correct order due to foreign keys)COMMENT
LOW…tform/backend/src/standalone-scripts/seed-mock-data.ts40 // Step 1: Create usersCOMMENT
LOW…tform/backend/src/standalone-scripts/seed-mock-data.ts67 // Step 2: Create teams and add membersCOMMENT
LOW…tform/backend/src/standalone-scripts/seed-mock-data.ts129 // Step 3: Create agents, MCP gateways, and LLM proxies with ownership patternsCOMMENT
LOW…tform/backend/src/standalone-scripts/seed-mock-data.ts305 // Step 4: Create tools linked to agentsCOMMENT
LOW…tform/backend/src/standalone-scripts/seed-mock-data.ts315 // Step 5: Create agent-tool relationshipsCOMMENT
LOW…tform/backend/src/standalone-scripts/seed-mock-data.ts330 // Step 6: Create 200 mock interactionsCOMMENT
LOWplatform/e2e-tests/tests/oauth-self-hosted.spec.ts71 // Step 1: Fetch the authorization page to get the mock IdP linkCOMMENT
LOWplatform/e2e-tests/tests/oauth-self-hosted.spec.ts84 // Step 2: Call the mock IdP callback directly (simulates user clicking "Authorize")COMMENT
LOWplatform/e2e-tests/tests/oauth-self-hosted.spec.ts97 // Step 3: Extract code and state from the redirect URLCOMMENT
Unused Imports18 hits · 18 pts
SeverityFileLineSnippetContext
LOWmigration-kit/install.py12CODE
LOWmigration-kit/scripts/frontmatter.py26CODE
LOWmigration-kit/scripts/discover.py18CODE
LOWmigration-kit/scripts/contracts.py18CODE
LOWmigration-kit/scripts/archestra_client.py20CODE
LOWmigration-kit/scripts/apply.py22CODE
LOW.github/scripts/check-supply-chain-policy.py3CODE
LOW.github/scripts/check-docs-links.py13CODE
LOW.github/scripts/check-docs-image-policy.py3CODE
LOW.github/scripts/test_check_supply_chain_policy.py3CODE
LOWai-labs/tasks/median-salary/expected/generate.py19CODE
LOW…labs/tasks/ai-sre-cache-treadmill/expected/generate.py41CODE
LOWai-labs/tasks/pcap-soc-triage/generate.py30CODE
LOWai-labs/tasks/renewal-churn-risk/generate.py17CODE
LOWai-labs/tasks/sqlite-orders/expected/generate.py25CODE
LOWai-labs/tasks/ai-sre-fk-drain/expected/generate.py32CODE
LOWai-labs/baton/agentdojo-harness/src/baton_dojo/bench.py65CODE
LOWai-labs/scripts/build_review_snapshot.py19CODE
Cross-Language Confusion (JS/TS)3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…atform/backend/src/services/connection-setup-script.ts506print(f"Updated {path}")`;CODE
HIGH…atform/backend/src/services/connection-setup-script.ts767print("\\n".join(seen))CODE
HIGH…atform/backend/src/services/connection-setup-script.ts864print(f"Updated {path}")`;CODE
Redundant / Tautological Comments6 hits · 10 pts
SeverityFileLineSnippetContext
LOWplatform/docker/scripts/docker-entrypoint.sh128 # Check if cluster already existsCOMMENT
LOWplatform/docker/scripts/docker-entrypoint.sh237 # Check if already connected to kind networkCOMMENT
LOWplatform/docker/scripts/docker-entrypoint.sh303# Check if using external database (ARCHESTRA_DATABASE_URL or DATABASE_URL is set)COMMENT
LOWplatform/benchmarks/setup-gcp-benchmark.sh54# Check if gcloud is installedCOMMENT
LOWplatform/dev/grafana/install-dashboards.sh146# Check if folder already existsCOMMENT
LOWplatform/helm/archestra/values.yaml441 # Set useInClusterConfig to false and configure the secret belowCOMMENT
Deep Nesting9 hits · 9 pts
SeverityFileLineSnippetContext
LOWmigration-kit/scripts/discover.py559CODE
LOWmigration-kit/scripts/apply.py768CODE
LOWplatform/dev/grafana/generate-pg-dashboard-variants.py489CODE
LOWai-labs/tasks/expense-report-continue/verifier.py74CODE
LOWai-labs/tasks/aec-material-json-takeoff/verifier.py139CODE
LOW…labs/tasks/ai-sre-cache-treadmill/expected/generate.py102CODE
LOWai-labs/tasks/xlsx-live-formulas/verifier.py70CODE
LOWai-labs/tasks/ai-sre-fk-drain/expected/generate.py85CODE
LOW…abs/baton/agentdojo-harness/src/baton_dojo/pipeline.py24CODE
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMplatform/scripts/e2e-local.sh60# Create a patched kind config with our cluster nameCOMMENT
MEDIUM.github/values-ci.yaml2# This file is used for the shared non-quickstart E2E environment in GitHub Actions.COMMENT
MEDIUM.github/workflows/platform-e2e-tests.yml564 # Create a shared Docker network so the quickstart container can reach WireMock by nameCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHplatform/backend/src/routes/proxy/adapters/gemini.ts657 // Handle inline data (images generated by Gemini)COMMENT
Excessive Try-Catch Wrapping5 hits · 6 pts
SeverityFileLineSnippetContext
LOW…atform/backend/src/services/connection-setup-script.ts758 except Exception:CODE
LOWai-labs/tasks/aec-material-json-takeoff/verifier.py171 except Exception as exc: # noqa: BLE001 -- any load failure means it is not a real workbookCODE
LOWai-labs/scripts/publish_run.py158 except Exception:CODE
LOWai-labs/scripts/publish_run.py201 except Exception:CODE
LOWai-labs/scripts/publish_run.py229 except Exception:CODE
Cross-Language Confusion1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHai-labs/tasks/invoice-approval/verifier.py72 errors.append(f"{inv_id}: flagged invoice must have amount_cents=null, got {got_amount!r}")CODE
TODO Padding2 hits · 3 pts
SeverityFileLineSnippetContext
LOW…tform/frontend/src/components/mcp-app/mcp-app-view.tsx569 // TODO: implement ui/update-model-contextCOMMENT
LOWplatform/backend/src/routes/proxy/llm-proxy-handler.ts1905 // TODO: Add test for metrics reported by the LLM proxy. It's not obvious sinceCOMMENT
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWai-labs/scripts/publish_run.py26logger = logging.getLogger(__name__)CODE
LOWai-labs/scripts/export_tensorboard.py24logger = logging.getLogger(__name__)CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWplatform/scripts/dev-stack.sh16# Usage:COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWplatform/frontend/public/mockServiceWorker.js124async function handleRequest(event, requestId, requestInterceptedAt) {CODE