An Open-Source Asynchronous Coding Agent
This report presents the forensic synthetic code analysis of langchain-ai/open-swe, a Python project with 10,626 GitHub stars. SynthScan v2.0 examined 205,491 lines of code across 903 source files, recording 3385 pattern matches distributed across 15 syntactic categories. The overall adjusted score of 17.1 places this repository in the Moderate AI signal 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).
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.
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.
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.
The scanner identified 3385 distinct pattern matches across 15 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …es/settings/components/PersonalInstructionsSection.tsx | 10 | export function PersonalInstructionsSection() { | CODE |
| LOW | ui/src/features/agents/terminal/terminalLinks.ts | 65 | export function collectWrappedTerminalLinkLine( | CODE |
| LOW | ui/src/features/agents/terminal/ghostty/surface.ts | 63 | function ensureTerminalSymbolsFont(): Promise<void> { | CODE |
| LOW | ui/src/features/agents/terminal/ghostty/surface.ts | 79 | function quoteTerminalFontFamilies(list: string): string { | CODE |
| LOW | ui/src/features/agents/terminal/ghostty/surface.ts | 93 | function uncheckedTerminalFontFamily(family?: string): string { | CODE |
| LOW | ui/src/features/agents/terminal/ghostty/surface.ts | 152 | export function shouldBlinkTerminalCursor(state: { | CODE |
| LOW | ui/src/features/agents/terminal/ghostty/surface.ts | 191 | export function terminalScrollbarGeometry( | CODE |
| LOW | ui/src/features/agents/terminal/ghostty/surface.ts | 212 | export function terminalScrollbarOffsetAtPointer( | CODE |
| LOW | ui/src/features/agents/terminal/ghostty/surface.ts | 297 | export function terminalLinkAtPositionWithRange( | CODE |
| LOW | ui/src/features/agents/terminal/ghostty/surface.ts | 404 | export function isTerminalCompositionCommitInput( | CODE |
| LOW | ui/src/features/agents/terminal/ghostty/surface.ts | 420 | export function shouldReportTerminalMouse( | CODE |
| LOW | ui/src/features/agents/terminal/ghostty/surface.ts | 461 | export function isTerminalLinkPointerGesture( | CODE |
| LOW | ui/src/features/agents/terminal/ghostty/surface.ts | 470 | export function shouldShowTerminalLinkHover( | CODE |
| LOW | ui/src/features/agents/terminal/ghostty/surface.ts | 501 | export function advanceTerminalSelectionClickSequence( | CODE |
| LOW | ui/src/features/agents/terminal/ghostty/keyCodes.ts | 223 | export function loadGhosttyKeyboardLayoutMap(): Promise< | CODE |
| LOW | ui/src/features/agents/terminal/ghostty/keyCodes.ts | 242 | export function ghosttyUnshiftedCodepoint( | CODE |
| LOW | ui/src/features/agents/utils/diffUtils.ts | 43 | function handleDiffOverflowStorage(event: StorageEvent): void { | CODE |
| LOW | …atures/agents/components/DesktopThreadSourceToggle.tsx | 12 | export function DesktopThreadSourceToggle({ | CODE |
| LOW | …gents/components/OptimisticThreadHydrationRecovery.tsx | 6 | export function OptimisticThreadHydrationRecovery({ | CODE |
| LOW | ui/src/features/agents/components/AgentsSidebar.tsx | 114 | function openContextMenuFromKeyboard( | CODE |
| LOW | …es/agents/components/composer/ComposerPromptEditor.tsx | 526 | function ComposerPromptEditorInner({ | CODE |
| LOW | …features/agents/components/composer/composerTrigger.ts | 29 | export function serializeComposerMentionPath(path: string): string { | CODE |
| LOW | …features/agents/components/composer/composerTrigger.ts | 46 | function encodeMarkdownLinkDestination(path: string): string { | CODE |
| LOW | …features/agents/components/composer/composerTrigger.ts | 59 | export function serializeComposerFileLink(path: string): string { | CODE |
| LOW | ui/src/features/agents/lib/diffPanelStore.ts | 36 | export function migratePersistedDiffPanelState(persistedState: unknown): { | CODE |
| LOW | ui/src/features/agents/lib/contextUsage.ts | 16 | export function contextTokensFromUsageMetadata(usage: unknown): number | null { | CODE |
| LOW | ui/src/features/agents/lib/queries.ts | 53 | export function invalidateAgentThreadLists(queryClient: QueryClient): void { | CODE |
| LOW | ui/src/features/agents/lib/queries.ts | 119 | function snapshotAgentThreadQueries( | CODE |
| LOW | ui/src/features/agents/lib/queries.ts | 145 | function restoreAgentThreadQueries( | CODE |
| LOW | ui/src/features/agents/lib/queries.ts | 346 | export function useOrganizationAgentSkills(enabled = true) { | CODE |
| LOW | ui/src/features/agents/lib/queries.ts | 435 | export function useSeedAgentThreadDetails( | CODE |
| LOW | ui/src/features/agents/lib/queries.ts | 546 | export function useAgentThreadPullRequestStatus( | CODE |
| LOW | ui/src/features/agents/lib/queries.ts | 571 | export function useAgentThreadWorkingTreeDiff( | CODE |
| LOW | ui/src/features/agents/lib/queries.ts | 623 | export function useWorkflowApprovalDecision(threadId: string) { | CODE |
| LOW | ui/src/features/agents/lib/queries.ts | 772 | export function useAdminCancelAgentThread() { | CODE |
| LOW | ui/src/features/agents/lib/desktopLocal.ts | 27 | export async function ensureDesktopModelCredential( | CODE |
| LOW | ui/src/features/agents/lib/desktopLocal.ts | 47 | export function useReadyDesktopLocalThread(threadId: string) { | CODE |
| LOW | ui/src/features/agents/lib/terminalSession.ts | 151 | export function useDesktopTerminalMetadata( | CODE |
| LOW | ui/src/features/agents/lib/terminalSession.ts | 245 | export function cloudTerminalReconnectDelay(attempt: number): number { | CODE |
| LOW | ui/src/features/agents/lib/terminalSession.ts | 249 | export function shouldReconnectCloudTerminal( | CODE |
| LOW | ui/src/features/agents/lib/sidebarFilter.ts | 152 | export function reconcilePinnedAttentionThread( | CODE |
| LOW | ui/src/features/agents/lib/api.ts | 187 | function filenameFromContentDisposition(value: string | null): string | null { | CODE |
| LOW | ui/src/features/agents/lib/gitPanelPreferences.ts | 17 | export function writeStoredPanelCollapsed( | CODE |
| LOW | ui/src/features/agents/lib/structuredInputMessages.ts | 193 | export function collectStructuredEntities( | CODE |
| LOW | ui/src/features/agents/lib/rightPanelStore.ts | 177 | export function migratePersistedRightPanelState(persistedState: unknown): { | CODE |
| LOW | ui/src/features/agents/lib/rightPanelStore.ts | 582 | export function selectThreadRightPanelState( | CODE |
| LOW | ui/src/features/agents/lib/rightPanelStore.ts | 591 | export function selectSelectedRightPanelSurface( | CODE |
| LOW | ui/src/features/agents/lib/rightPanelStore.ts | 602 | export function selectActiveRightPanelSurface( | CODE |
| LOW | ui/src/features/agents/lib/desktopThreadSource.ts | 9 | export function readStoredDesktopThreadSource(): DesktopThreadSource { | CODE |
| LOW | ui/src/features/agents/lib/desktopThreadSource.ts | 40 | export function writeStoredDesktopThreadSource( | CODE |
| LOW | …/src/features/agents/lib/AgentThreadStreamProvider.tsx | 44 | export function AgentThreadStreamProvider({ | CODE |
| LOW | …tures/agents/lib/provider/useIsInAgentThreadStream.tsx | 22 | export function AgentThreadStreamBoundary({ | CODE |
| LOW | ui/src/features/reviews/components/ReviewMainBody.tsx | 153 | function buildSelectionAttachments( | CODE |
| LOW | ui/src/features/reviews/components/ReviewMainBody.tsx | 392 | function scrollFindingLineToCenter({ | CODE |
| LOW | ui/src/features/reviews/components/ReviewMainBody.tsx | 2472 | function readStoredReviewPanelWidth(): number { | CODE |
| LOW | ui/src/features/reviews/components/ReviewChat.tsx | 63 | export function ReviewChatComposerProvider({ | CODE |
| LOW | ui/src/components/ui/scroll-area.tsx | 7 | function getVirtualizedScrollFadeClassName({ | CODE |
| LOW | ui/src/lib/datadog.ts | 49 | export function subscribeToDatadogInitialization( | CODE |
| LOW | ui/src/lib/notifications.ts | 9 | export function getNotificationPermission(): NotificationPermission | null { | CODE |
| LOW | ui/src/lib/notifications.ts | 24 | export async function requestNotificationPermission(): Promise<NotificationPermission | null> { | CODE |
| 2481 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | evals/reviewer/run_eval.py | 244 | except Exception: | CODE |
| LOW | evals/reviewer/run_eval.py | 271 | except Exception: | CODE |
| LOW | evals/reviewer/run_eval.py | 286 | except Exception as exc: | CODE |
| LOW | evals/reviewer/store_reporter.py | 104 | except Exception: | CODE |
| LOW | evals/reviewer/target.py | 194 | except Exception: | CODE |
| LOW | evals/reviewer/build_dataset.py | 132 | except Exception as exc: | CODE |
| LOW | tests/e2e/harness.py | 153 | except Exception: # noqa: BLE001 | CODE |
| LOW⚡ | agent/server.py | 296 | except Exception: | CODE |
| LOW⚡ | agent/server.py | 311 | except Exception: | CODE |
| LOW⚡ | agent/server.py | 322 | except Exception: | CODE |
| LOW⚡ | agent/server.py | 335 | except Exception: | CODE |
| LOW | agent/server.py | 481 | except Exception as exc: | CODE |
| LOW | agent/server.py | 551 | except Exception as exc: | CODE |
| LOW | agent/server.py | 662 | except Exception as create_exc: | CODE |
| LOW | agent/server.py | 1047 | except Exception: | CODE |
| LOW | agent/server.py | 1184 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | agent/server.py | 1372 | except Exception: | CODE |
| LOW | agent/baby_sit.py | 58 | except Exception: | CODE |
| LOW | agent/baby_sit.py | 67 | except Exception: | CODE |
| LOW | agent/baby_sit.py | 211 | except Exception: | CODE |
| LOW | agent/baby_sit.py | 262 | except Exception: | CODE |
| LOW | agent/baby_sit.py | 267 | except Exception: | CODE |
| LOW | agent/baby_sit.py | 280 | except Exception: | CODE |
| LOW | agent/baby_sit.py | 315 | except Exception: | CODE |
| LOW | agent/baby_sit.py | 334 | except Exception: | CODE |
| LOW | agent/baby_sit.py | 522 | except Exception: | CODE |
| LOW | agent/background_tasks.py | 159 | except Exception: | CODE |
| LOW | agent/completion.py | 133 | except Exception: # noqa: BLE001 | CODE |
| LOW⚡ | agent/completion.py | 233 | except Exception: # noqa: BLE001 | CODE |
| LOW⚡ | agent/completion.py | 247 | except Exception: # noqa: BLE001 | CODE |
| LOW | agent/completion.py | 286 | except Exception: # noqa: BLE001 | CODE |
| LOW | agent/completion.py | 317 | except Exception: # noqa: BLE001 | CODE |
| LOW | agent/completion.py | 342 | except Exception: # noqa: BLE001 | CODE |
| LOW | agent/session_cost.py | 79 | except Exception: # noqa: BLE001 | CODE |
| LOW | agent/session_cost.py | 164 | except Exception: # noqa: BLE001 | CODE |
| LOW | agent/analyzer.py | 113 | except Exception as e: # noqa: BLE001 | STRING |
| LOW | agent/chat.py | 153 | except Exception as e: # noqa: BLE001 | STRING |
| LOW | agent/thread_title.py | 161 | except Exception as exc: # noqa: BLE001 | CODE |
| MEDIUM | agent/thread_title.py | 153 | def run() -> None: | CODE |
| LOW | agent/reviewer.py | 854 | except Exception as e: # noqa: BLE001 | CODE |
| LOW | agent/reviewer.py | 1134 | except Exception: | CODE |
| LOW | agent/reviewer.py | 1171 | except Exception: | CODE |
| MEDIUM | agent/reviewer.py | 1164 | def _prepare_pr_trace_context() -> PRTraceContext | None: | CODE |
| LOW | agent/prompt.py | 43 | except Exception: | CODE |
| LOW | agent/slack_thinking.py | 286 | except Exception: | CODE |
| LOW | agent/slack_thinking.py | 291 | except Exception: | CODE |
| LOW | agent/reconcile.py | 62 | except Exception: | CODE |
| LOW | agent/reconcile.py | 105 | except Exception: | CODE |
| LOW⚡ | agent/middleware/refresh_github_proxy.py | 31 | except Exception: # noqa: BLE001 | CODE |
| LOW⚡ | agent/middleware/refresh_github_proxy.py | 39 | except Exception: # noqa: BLE001 | CODE |
| LOW | agent/middleware/model_fallback.py | 179 | except Exception as exc: | CODE |
| LOW | agent/middleware/notify_step_limit.py | 80 | except Exception: | CODE |
| LOW | agent/middleware/subdir_agents.py | 50 | except Exception: | CODE |
| LOW | agent/middleware/subdir_agents.py | 176 | except Exception: | CODE |
| LOW | agent/middleware/workflow_push_guard.py | 104 | except Exception: | CODE |
| LOW | agent/middleware/workflow_push_guard.py | 234 | except Exception: | CODE |
| LOW | agent/middleware/workflow_push_guard.py | 521 | except Exception: | CODE |
| LOW | agent/middleware/dynamic_tools.py | 175 | except Exception: | CODE |
| LOW | agent/middleware/settle_review_check.py | 82 | except Exception: | CODE |
| LOW | agent/middleware/tool_error_handler.py | 122 | except Exception: | CODE |
| 277 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/reviewer/test_reviewer_publish.py | 645 | explicit null, so the fetch must guard against it and return collected threads.""" | STRING |
| HIGH | tests/tools/test_output_iframe.py | 76 | "test -f /workspace/project/chart.html && stat -c %s -- /workspace/project/chart.html", | CODE |
| HIGH⚡ | tests/agent/test_repo_prep.py | 57 | assert "git checkout --force abc123 --quiet 2>/dev/null || true" not in cmd | CODE |
| HIGH⚡ | tests/agent/test_repo_prep.py | 59 | assert "git fetch --all --quiet || true" in cmd | CODE |
| HIGH⚡ | tests/agent/test_workflow_push_guard.py | 94 | "cd /repo && git push -u origin HEAD:feature" | CODE |
| HIGH⚡ | tests/agent/test_workflow_push_guard.py | 102 | assert guard._parse_git_push("git status && git push") is None | CODE |
| HIGH⚡ | tests/sandbox/test_sandbox_paths.py | 70 | assert backend.commands == ["test -d /workspace && test -w /workspace"] | CODE |
| HIGH⚡ | tests/sandbox/test_sandbox_paths.py | 87 | "test -d /workspace && test -w /workspace", | CODE |
| HIGH⚡ | tests/sandbox/test_sandbox_paths.py | 89 | "test -d /home/daytona && test -w /home/daytona", | CODE |
| HIGH⚡ | tests/sandbox/test_sandbox_paths.py | 104 | assert backend.commands == ["test -d /workspace && test -w /workspace"] | CODE |
| HIGH⚡ | tests/sandbox/test_sandbox_paths.py | 116 | assert backend.commands == ["test -d /home/daytona && test -w /home/daytona"] | CODE |
| HIGH | tests/e2e/fake_llm.py | 480 | {"name": "execute", "args": {"command": "echo planning && ls"}, "id": "call-plan-read"} | STRING |
| HIGH | tests/e2e/fake_llm.py | 533 | ENVIRONMENT_PROVISION_SCRIPT = "mkdir -p repos && echo provisioned > repos/.provisioned && ls repos" | STRING |
| HIGH | tests/e2e/fake_llm.py | 664 | {"command": "sleep 12 && ls"}, | STRING |
| HIGH | agent/background_tasks.py | 101 | f"rmdir {shlex.quote(f'{TASK_ROOT}/{task_id}/notify.claim')} 2>/dev/null || true", | CODE |
| HIGH | agent/background_tasks.py | 181 | f"rmdir {shlex.quote(MONITOR_LOCK)} 2>/dev/null || true", timeout=10 | CODE |
| HIGH | agent/reviewer.py | 380 | git fetch origin {head_sha_or_placeholder} --quiet || git fetch origin refs/pull/{pr_number}/head --quiet | CODE |
| HIGH | agent/tools/background_execute.py | 151 | f"acquired=; for _ in 1 2 3 4 5 6 7 8 9 10; do mkdir {lock} 2>/dev/null && acquired=1 && break; sleep .1; done; | STRING |
| HIGH⚡ | agent/utils/repo_prep.py | 49 | f" cd {q_repo_dir} && {{ git fetch --all --quiet || true; }}", | CODE |
| HIGH⚡ | agent/utils/repo_prep.py | 56 | lines.append(f"git fetch origin {q_base} --quiet 2>/dev/null || true") | CODE |
| HIGH⚡ | agent/utils/repo_prep.py | 60 | lines.append(f"git fetch origin {q_head} --quiet 2>/dev/null || true") | CODE |
| HIGH⚡ | agent/utils/repo_prep.py | 63 | lines.append(f"git fetch origin {pull_ref} --quiet 2>/dev/null || true") | CODE |
| HIGH | agent/utils/turn_checkpoint.py | 26 | "if git rev-parse --verify -q HEAD >/dev/null; then git read-tree HEAD; " | CODE |
| HIGH⚡ | agent/utils/turn_checkpoint.py | 57 | 'if B=$(git rev-parse --verify "${B_INPUT}^{tree}" 2>/dev/null); then :; ' | CODE |
| HIGH⚡ | agent/utils/turn_checkpoint.py | 58 | 'elif [ "$B_INPUT" = HEAD ]; then B=$(git hash-object -t tree /dev/null); ' | CODE |
| HIGH⚡ | agent/utils/turn_checkpoint.py | 60 | 'H=$(git rev-parse --verify "${H}^{tree}" 2>/dev/null) || exit 4' | CODE |
| HIGH | agent/integrations/stagehand_browser.py | 75 | f"python {runtime} request {socket} {health} >/dev/null 2>&1 && break; sleep .1; " | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | evals/reviewer/run_eval.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | evals/reviewer/store_reporter.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | evals/reviewer/target.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/reviewer/test_reviewer_outcomes.py | 83 | def update_example(self, **kwargs: Any) -> None: | CODE |
| LOW | tests/auth/test_encryption.py | 13 | def _set_key(monkeypatch: pytest.MonkeyPatch, value: str) -> None: | CODE |
| LOW | tests/utils/test_startup_trace.py | 25 | def update_run(self, run_id: Any, **kwargs: Any) -> None: | CODE |
| LOW | tests/agent/test_langsmith_trace_url.py | 19 | def _set_env(monkeypatch: pytest.MonkeyPatch) -> None: | CODE |
| LOW | tests/github/test_open_pull_request.py | 101 | def _set_config(monkeypatch: pytest.MonkeyPatch, configurable: dict[str, Any]) -> None: | CODE |
| LOW | tests/e2e/agent_entrypoint.py | 19 | __all__ = ["traced_agent"] | CODE |
| LOW | tests/e2e/patches.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/e2e/fakes.py | 379 | def set_repo_private(value: bool) -> None: | CODE |
| LOW | agent/store.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/server.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/server.py | 516 | async def _settle_git_identity(task: asyncio.Task[None], *, failed: bool) -> None: | CODE |
| LOW | agent/encryption.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/baby_sit.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/background_tasks.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/completion.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/completion.py | 90 | async def _settle_failed_reviewer_check(thread_id: str, metadata: dict[str, Any]) -> None: | CODE |
| LOW | agent/session_cost.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/dispatch.py | 48 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/webapp.py | 5 | __all__ = ["app"] | CODE |
| LOW | agent/analyzer.py | 63 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/chat.py | 75 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/thread_ids.py | 13 | __all__ = [ | CODE |
| LOW | agent/thread_title.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/reviewer.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/source_context.py | 27 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/scheduler.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/prompt.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/slack_thinking.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/reconcile.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | agent/middleware/refresh_github_proxy.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/middleware/sandbox_circuit_breaker.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/middleware/repair_orphaned_tool_calls.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/middleware/model_call_timeout.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/middleware/model_fallback.py | 42 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/middleware/notify_step_limit.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/middleware/__init__.py | 33 | __all__ = [ | CODE |
| LOW | agent/middleware/subdir_agents.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/middleware/workflow_push_guard.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/middleware/sanitize_tool_inputs.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/middleware/dynamic_tools.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/middleware/settle_review_check.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/middleware/tool_error_handler.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/middleware/check_message_queue.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/tools/approve_plan.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/tools/schedule_thread_wakeup.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/tools/open_pull_request.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/tools/recreate_sandbox.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/tools/publish_review.py | 67 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/tools/notify_automation_channel.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/tools/__init__.py | 70 | __all__ = [ | CODE |
| LOW | agent/tools/save_user_instructions.py | 12 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/tools/sandbox_reset.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/tools/threads.py | 44 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/tools/automations.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/tools/background_execute.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/tools/environments.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | agent/tools/save_review_style.py | 11 | logger = logging.getLogger(__name__) | CODE |
| 103 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/tools/test_observability_tools.py | 1 | CODE | |
| LOW | tests/github/test_open_pull_request.py | 8 | CODE | |
| LOW | tests/e2e/agent_entrypoint.py | 17 | CODE | |
| LOW | tests/e2e/patches.py | 16 | CODE | |
| LOW | agent/server.py | 131 | CODE | |
| LOW | agent/webapp.py | 3 | CODE | |
| LOW | agent/middleware/__init__.py | 62 | CODE | |
| LOW | agent/middleware/__init__.py | 63 | CODE | |
| LOW | agent/middleware/__init__.py | 63 | CODE | |
| LOW | agent/middleware/__init__.py | 64 | CODE | |
| LOW | agent/middleware/__init__.py | 65 | CODE | |
| LOW | agent/middleware/__init__.py | 66 | CODE | |
| LOW | agent/middleware/__init__.py | 67 | CODE | |
| LOW | agent/middleware/__init__.py | 68 | CODE | |
| LOW | agent/middleware/__init__.py | 69 | CODE | |
| LOW | agent/middleware/__init__.py | 70 | CODE | |
| LOW | agent/middleware/__init__.py | 70 | CODE | |
| LOW | agent/middleware/__init__.py | 71 | CODE | |
| LOW | agent/middleware/__init__.py | 72 | CODE | |
| LOW | agent/middleware/__init__.py | 73 | CODE | |
| LOW | agent/middleware/__init__.py | 74 | CODE | |
| LOW | agent/middleware/__init__.py | 75 | CODE | |
| LOW | agent/middleware/__init__.py | 76 | CODE | |
| LOW | agent/middleware/__init__.py | 77 | CODE | |
| LOW | agent/middleware/__init__.py | 78 | CODE | |
| LOW | agent/middleware/__init__.py | 79 | CODE | |
| LOW | agent/middleware/__init__.py | 80 | CODE | |
| LOW | agent/middleware/__init__.py | 80 | CODE | |
| LOW | agent/middleware/__init__.py | 81 | CODE | |
| LOW | agent/middleware/__init__.py | 82 | CODE | |
| LOW | agent/middleware/__init__.py | 83 | CODE | |
| LOW | agent/tools/__init__.py | 136 | CODE | |
| LOW | agent/tools/__init__.py | 137 | CODE | |
| LOW | agent/tools/__init__.py | 138 | CODE | |
| LOW | agent/tools/__init__.py | 138 | CODE | |
| LOW | agent/tools/__init__.py | 138 | CODE | |
| LOW | agent/tools/__init__.py | 138 | CODE | |
| LOW | agent/tools/__init__.py | 138 | CODE | |
| LOW | agent/tools/__init__.py | 145 | CODE | |
| LOW | agent/tools/__init__.py | 145 | CODE | |
| LOW | agent/tools/__init__.py | 146 | CODE | |
| LOW | agent/tools/__init__.py | 147 | CODE | |
| LOW | agent/tools/__init__.py | 148 | CODE | |
| LOW | agent/tools/__init__.py | 149 | CODE | |
| LOW | agent/tools/__init__.py | 149 | CODE | |
| LOW | agent/tools/__init__.py | 149 | CODE | |
| LOW | agent/tools/__init__.py | 149 | CODE | |
| LOW | agent/tools/__init__.py | 155 | CODE | |
| LOW | agent/tools/__init__.py | 156 | CODE | |
| LOW | agent/tools/__init__.py | 157 | CODE | |
| LOW | agent/tools/__init__.py | 158 | CODE | |
| LOW | agent/tools/__init__.py | 159 | CODE | |
| LOW | agent/tools/__init__.py | 160 | CODE | |
| LOW | agent/tools/__init__.py | 161 | CODE | |
| LOW | agent/tools/__init__.py | 162 | CODE | |
| LOW | agent/tools/__init__.py | 163 | CODE | |
| LOW | agent/tools/__init__.py | 164 | CODE | |
| LOW | agent/tools/__init__.py | 165 | CODE | |
| LOW | agent/tools/__init__.py | 166 | CODE | |
| LOW | agent/tools/__init__.py | 167 | CODE | |
| 128 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | evals/reviewer/run_eval.py | 290 | CODE | |
| LOW | tests/e2e/fake_llm.py | 274 | CODE | |
| LOW | agent/baby_sit.py | 217 | CODE | |
| LOW | agent/background_tasks.py | 125 | CODE | |
| LOW | agent/dispatch.py | 71 | CODE | |
| LOW | agent/prompt.py | 202 | CODE | |
| LOW | agent/reconcile.py | 37 | CODE | |
| LOW | agent/middleware/pr_creation_guard.py | 150 | CODE | |
| LOW | agent/middleware/check_message_queue.py | 180 | CODE | |
| LOW | agent/tools/open_pull_request.py | 529 | CODE | |
| LOW | agent/tools/open_pull_request.py | 691 | CODE | |
| LOW | agent/tools/publish_review.py | 262 | CODE | |
| LOW | agent/tools/publish_review.py | 805 | CODE | |
| LOW | agent/tools/publish_review.py | 945 | CODE | |
| LOW | agent/tools/manage_code_channel.py | 46 | CODE | |
| LOW | agent/tools/environments.py | 65 | CODE | |
| LOW | agent/utils/url_safety.py | 100 | CODE | |
| LOW | agent/utils/slack_stop.py | 86 | CODE | |
| LOW | agent/utils/model.py | 311 | CODE | |
| LOW | agent/utils/model.py | 346 | CODE | |
| LOW | agent/utils/thread_participants.py | 135 | CODE | |
| LOW | agent/utils/slack.py | 504 | CODE | |
| LOW | agent/utils/slack.py | 1523 | CODE | |
| LOW | agent/dashboard/pull_request_status.py | 178 | CODE | |
| LOW | agent/dashboard/pull_request_status.py | 224 | CODE | |
| LOW | agent/dashboard/review_chat_api.py | 129 | CODE | |
| LOW | agent/dashboard/review_chat_api.py | 322 | CODE | |
| LOW | agent/dashboard/pull_request_context.py | 124 | CODE | |
| LOW | agent/dashboard/pull_request_context.py | 330 | CODE | |
| LOW | agent/dashboard/thread_api.py | 408 | CODE | |
| LOW | agent/dashboard/thread_api.py | 845 | CODE | |
| LOW | agent/dashboard/thread_api.py | 975 | CODE | |
| LOW | agent/dashboard/thread_api.py | 1542 | CODE | |
| LOW | agent/dashboard/routes.py | 2012 | CODE | |
| LOW | agent/dashboard/routes.py | 2055 | CODE | |
| LOW | agent/integrations/langsmith.py | 348 | CODE | |
| LOW | agent/review/diff.py | 72 | CODE | |
| LOW | agent/review/style_collector.py | 279 | CODE | |
| LOW | agent/review/publish.py | 543 | CODE | |
| LOW | agent/review/publish.py | 665 | CODE | |
| LOW | agent/webhooks/linear.py | 26 | CODE | |
| LOW | agent/webhooks/common.py | 801 | CODE | |
| LOW | agent/webhooks/common.py | 1366 | CODE | |
| LOW | agent/webhooks/github.py | 355 | CODE | |
| LOW | agent/webhooks/github.py | 1077 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/reviewer/test_review_chat.py | 430 | async def fake_token(repositories=None): | CODE |
| LOW⚡ | tests/reviewer/test_review_chat.py | 439 | monkeypatch.setattr(review_chat_api, "get_github_app_installation_token", fake_token) | CODE |
| LOW⚡ | tests/reviewer/test_review_api.py | 107 | async def fake_token(): | CODE |
| LOW⚡ | tests/reviewer/test_review_api.py | 114 | monkeypatch.setattr(review_api, "_require_app_token", fake_token) | CODE |
| LOW⚡ | tests/reviewer/test_review_api.py | 121 | async def fake_token(): | CODE |
| LOW⚡ | tests/reviewer/test_review_api.py | 127 | monkeypatch.setattr(review_api, "_require_app_token", fake_token) | CODE |
| LOW⚡ | tests/tools/test_observability_tools.py | 271 | monkeypatch.setenv("CONFIGURED_ADMINS", "admin@example.com") | CODE |
| LOW⚡ | tests/tools/test_observability_tools.py | 275 | admin_config = cast(RunnableConfig, {"configurable": {"user_email": "admin@example.com"}}) | CODE |
| LOW⚡ | tests/tools/test_observability_tools.py | 347 | monkeypatch.setenv("CONFIGURED_ADMINS", "admin@example.com") | CODE |
| LOW⚡ | tests/tools/test_observability_tools.py | 354 | config = cast(RunnableConfig, {"configurable": {"user_email": "admin@example.com"}}) | CODE |
| LOW⚡ | tests/tools/test_observability_tools.py | 365 | monkeypatch.setenv("CONFIGURED_ADMINS", "admin@example.com") | CODE |
| LOW | tests/tools/test_observability_tools.py | 377 | admin = cast(RunnableConfig, {"configurable": {"user_email": "admin@example.com"}}) | CODE |
| LOW⚡ | tests/dashboard/test_dashboard_thread_api.py | 2862 | routes._require_admin({"sub": "not-admin", "email": "user@example.com"}) | CODE |
| LOW | tests/dashboard/test_dashboard_thread_api.py | 1920 | email="admin@example.com", | CODE |
| LOW⚡ | tests/dashboard/test_public_repo_org_gate.py | 348 | async def fake_token(**_kwargs) -> None: | CODE |
| LOW⚡ | tests/dashboard/test_public_repo_org_gate.py | 354 | monkeypatch.setattr(github_org_membership, "get_github_app_installation_token", fake_token) | CODE |
| LOW | tests/dashboard/test_public_repo_org_gate.py | 390 | async def fake_token(**kwargs) -> str: | CODE |
| LOW | tests/dashboard/test_public_repo_org_gate.py | 397 | monkeypatch.setattr(github_org_membership, "get_github_app_installation_token", fake_token) | CODE |
| LOW | tests/github/test_repo_extraction.py | 102 | "user": {"id": "user-1", "name": "Test User", "email": "test@test.com"}, | CODE |
| LOW | tests/github/test_repo_extraction.py | 156 | "user": {"id": "user-1", "name": "Test User", "email": "test@test.com"}, | CODE |
| LOW | tests/e2e/patches.py | 79 | return "dummy-user-oauth-token" | CODE |
| LOW | tests/e2e/tests/desktop.spec.ts | 88 | ANTHROPIC_API_KEY: "e2e-fake-key", | CODE |
| LOW | tests/e2e/tests/desktop.spec.ts | 89 | OPENAI_API_KEY: "e2e-fake-key", | CODE |
| LOW | docs/CUSTOMIZATION.md | 416 | "user_email": "user@example.com", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/slack/test_slack_context.py | 1393 | # resolve to a mapping (login_for_email returns None in this harness). | COMMENT |
| MEDIUM | tests/e2e/local_desktop_login.py | 69 | # harness's own callback and escape what reaches the page. | COMMENT |
| MEDIUM | tests/e2e/harness.py | 338 | # dev:mock), not this harness, so the cookie + the hot-reloading UI line up. | COMMENT |
| MEDIUM | tests/e2e/dev-mock.sh | 2 | # Local dev against the mock harness, with a REAL LLM and a Vite HMR dev server. | COMMENT |
| MEDIUM | tests/e2e/dev-mock.sh | 5 | # Slack/GitHub + sign-in to the harness ($API). Same-origin is what lets the | COMMENT |
| MEDIUM | tests/e2e/dev-mock.sh | 20 | # Pulled line-by-line, not by sourcing .env, which would clobber the harness's | COMMENT |
| MEDIUM | tests/e2e/dev-mock.sh | 37 | # own origin and Vite proxies it (and the WS) to the harness. | COMMENT |
| MEDIUM | tests/e2e/patches.py | 42 | # Set E2E_REAL_LLM=1 to drive the harness (mock Slack/GitHub, real agent) | COMMENT |
| MEDIUM | agent/dashboard/routes.py | 264 | # Module-level so a local harness can point the browser leg at a fake consent | COMMENT |
| MEDIUM | .github/workflows/reviewer_eval.yml | 3 | # selecting the `prod` branch so the harness + judge match the deployed reviewer it scores. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | ui/vite.config.ts | 181 | // directory under the vite plugin. Deployed builds only — dev proxies the | COMMENT |
| LOW | ui/vitest.config.ts | 1 | import { defineConfig } from "vitest/config" | COMMENT |
| LOW | ui/native/libghostty-vt/include/ghostty/vt.h | 121 | extern "C" { | COMMENT |
| LOW | ui/native/libghostty-vt/include/ghostty/vt.h | 141 | #include <ghostty/vt/modes.h> | COMMENT |
| LOW | ui/native/libghostty-vt/include/ghostty/vt/device.h | 21 | #define GHOSTTY_DA_CONFORMANCE_VT220 62 | COMMENT |
| LOW | ui/native/libghostty-vt/include/ghostty/vt/device.h | 41 | #define GHOSTTY_DA_FEATURE_NATIONAL_REPLACEMENT 9 | COMMENT |
| LOW | ui/native/libghostty-vt/include/ghostty/vt/types.h | 1 | /** | COMMENT |
| LOW | ui/native/libghostty-vt/include/ghostty/vt/types.h | 21 | #if defined(GHOSTTY_STATIC) | COMMENT |
| LOW | ui/native/libghostty-vt/include/ghostty/vt/formatter.h | 1 | /** | COMMENT |
| LOW | ui/native/libghostty-vt/include/ghostty/vt/terminal.h | 1 | /** | COMMENT |
| LOW | ui/native/libghostty-vt/include/ghostty/vt/modes.h | 61 | #define GHOSTTY_MODE_SLOW_SCROLL (ghostty_mode_new(4, false)) /**< Slow scroll */ | COMMENT |
| LOW | ui/native/libghostty-vt/include/ghostty/vt/modes.h | 81 | #define GHOSTTY_MODE_ALT_SCROLL (ghostty_mode_new(1007, false)) /**< Alternate scroll mode */ | COMMENT |
| LOW | ui/native/libghostty-vt/include/ghostty/vt/selection.h | 1 | /** | COMMENT |
| LOW | ui/native/libghostty-vt/include/ghostty/vt/render.h | 1 | /** | COMMENT |
| LOW | tests/e2e/dev-mock.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | docs/INSTALLATION.md | 481 | COMMENT | |
| LOW | docs/INSTALLATION.md | 501 | # Comma-separated list of specific owner/repo pairs allowed by the GitHub/Linear webhook filter. | COMMENT |
| LOW | docs/INSTALLATION.md | 521 | # HMAC secret for dashboard JWTs (session cookie and OAuth state). | COMMENT |
| LOW | examples/github-actions/set-base-snapshot.yml | 1 | # Example: point Open SWE at a new base sandbox snapshot from CI. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | agent/dashboard/user_mappings.py | 50 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | agent/dashboard/user_mappings.py | 52 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | agent/dashboard/user_mappings.py | 112 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | agent/dashboard/user_mappings.py | 114 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | agent/dashboard/user_mappings.py | 167 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | agent/dashboard/user_mappings.py | 169 | # --------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | ui/native/libghostty-vt/include/ghostty/vt/terminal.h | 86 | * ### Defining a write_pty callback | COMMENT |
| MEDIUM⚡ | ui/native/libghostty-vt/include/ghostty/vt/terminal.h | 89 | * ### Defining a bell callback | COMMENT |
| MEDIUM⚡ | ui/native/libghostty-vt/include/ghostty/vt/terminal.h | 92 | * ### Defining a title_changed callback | COMMENT |
| MEDIUM | ui/native/libghostty-vt/include/ghostty/vt/sys.h | 33 | * ### Defining a PNG decode callback | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | agent/webhooks/linear.py | 0 | slack webhook handler — moved out of common.py (behavior-identical). helpers and constants stay in common.py; they are a | STRING |
| HIGH | agent/webhooks/github.py | 0 | slack webhook handler — moved out of common.py (behavior-identical). helpers and constants stay in common.py; they are a | STRING |
| HIGH | agent/webhooks/slack.py | 0 | slack webhook handler — moved out of common.py (behavior-identical). helpers and constants stay in common.py; they are a | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | agent/dispatch.py | 233 | CODE | |
| LOW | agent/dispatch.py | 278 | CODE | |
| LOW | agent/reviewer.py | 412 | CODE | |
| LOW | agent/prompt.py | 549 | CODE | |
| LOW | agent/middleware/workflow_push_guard.py | 254 | CODE | |
| LOW | agent/tools/manage_code_channel.py | 46 | CODE | |
| LOW | agent/tools/threads.py | 139 | CODE | |
| LOW | agent/tools/threads.py | 619 | CODE | |
| LOW | agent/tools/automations.py | 89 | CODE | |
| LOW | agent/utils/slack_code_channels.py | 355 | CODE | |
| LOW | agent/dashboard/thread_api.py | 845 | CODE | |
| LOW | agent/dashboard/thread_api.py | 975 | CODE | |
| LOW | agent/dashboard/thread_api.py | 1120 | CODE | |
| LOW | agent/dashboard/thread_api.py | 1302 | CODE | |
| LOW | agent/dashboard/routes.py | 1893 | CODE | |
| LOW | agent/integrations/langsmith.py | 751 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | ui/native/libghostty-vt/include/ghostty/vt/wasm.h | 33 | * Here's a simple example of using the Wasm utilities with the key encoder: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/tools/test_observability_tools.py | 233 | CODE |