Repository Analysis

manaflow-ai/cmux

Ghostty-based macOS terminal with vertical tabs and notifications for AI coding agents

3.4 Likely human-written View on GitHub
3.4
Adjusted Score
3.4
Raw Score
100%
Time Factor
2026-05-30
Last Push
20,434
Stars
JavaScript
Language
619,050
Lines of Code
1454
Files
1643
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 2HIGH 45MEDIUM 168LOW 1428

Pattern Findings

1643 matches across 16 categories. Click a row to expand file-level details.

Excessive Try-Catch Wrapping596 hits · 638 pts
SeverityFileLineSnippet
LOWtests/test_blank_screen.py55 except Exception as e:
LOWtests/test_blank_screen.py82 except Exception as e:
MEDIUMtests/test_blank_screen.py95 print(f"Error: Socket not found at {socket_path}")
MEDIUMtests/test_blank_screen.py126 print(f"Error: {e}")
LOWtests/test_codex_hook_agent_ports.py53 except Exception as exc:
LOWtests/test_codex_hook_agent_ports.py71 except Exception:
LOWtests/test_codex_hook_agent_ports.py152 except Exception:
LOWtests/test_codex_hook_agent_ports.py155 except Exception:
LOWtests/test_codex_hook_agent_ports.py162 except Exception:
LOWtests/test_codex_hook_agent_ports.py165 except Exception:
LOWtests/test_codex_hook_agent_ports.py169 except Exception:
LOWtests/test_codex_hook_agent_ports.py305 except Exception as exc:
LOWtests/test_codex_hook_agent_ports.py416 except Exception:
MEDIUMtests/test_codex_hook_agent_ports.py302def main() -> int:
LOWtests/test_cli_sigpipe_ignore.py58 except Exception as exc:
MEDIUMtests/test_cli_sigpipe_ignore.py55def main() -> int:
LOWtests/test_omnibar_focus_cpu.py39 except Exception:
LOWtests/test_omnibar_focus_cpu.py180 except Exception:
LOWtests/test_cli_claude_teams_main_vertical.py274 except Exception as exc:
MEDIUMtests/test_cli_claude_teams_main_vertical.py271def main() -> int:
LOWtests/test_sidebar_ports.py57 except Exception as e:
LOWtests/test_sidebar_ports.py79 except Exception:
LOWtests/test_sidebar_ports.py236 except Exception:
LOWtests/test_sidebar_ports.py239 except Exception:
LOWtests/test_sidebar_ports.py246 except Exception:
LOWtests/test_sidebar_ports.py249 except Exception:
LOWtests/test_sidebar_ports.py253 except Exception:
LOWtests/test_sidebar_ports.py284 except Exception as e:
LOWtests/test_sidebar_ports.py289 except Exception:
LOWtests/test_sidebar_ports.py355 except Exception:
LOWtests/test_sidebar_ports.py369 except Exception:
LOWtests/test_sidebar_ports.py372 except Exception:
LOWtests/test_sidebar_ports.py377 except Exception:
LOW…sts/test_initial_terminal_interactive_and_rendering.py44 except Exception:
LOW…sts/test_initial_terminal_interactive_and_rendering.py50 except Exception:
LOW…sts/test_initial_terminal_interactive_and_rendering.py59 except Exception:
LOW…sts/test_initial_terminal_interactive_and_rendering.py74 except Exception:
LOW…sts/test_initial_terminal_interactive_and_rendering.py126 except Exception:
MEDIUM…sts/test_initial_terminal_interactive_and_rendering.py123def wrote_file() -> bool:
LOWtests/test_multi_workspace_focus.py59 except Exception:
LOWtests/test_multi_workspace_focus.py65 except Exception:
LOWtests/test_multi_workspace_focus.py79 except Exception:
LOWtests/test_multi_workspace_focus.py367 except Exception as e:
LOWtests/test_cli_omx_hud_tmux_split.py161 except Exception as exc:
LOWtests/test_cli_omx_hud_tmux_split.py497 except Exception as exc:
MEDIUMtests/test_cli_omx_hud_tmux_split.py494def main() -> int:
LOWtests/test_terminal_drop_overlay_animation_probe.py75 except Exception:
LOWtests/test_new_tab_render_after_splits.py36 except Exception:
LOWtests/test_new_tab_render_after_splits.py42 except Exception:
LOWtests/test_new_tab_render_after_splits.py49 except Exception:
LOWtests/test_new_tab_render_after_splits.py64 except Exception as e:
LOWtests/test_new_tab_render_after_splits.py168 except Exception:
LOWtests/test_cli_tmux_compat_split_window_surface_ref.py131 except Exception as exc:
LOWtests/test_cli_tmux_compat_split_window_surface_ref.py222 except Exception as exc:
MEDIUMtests/test_cli_tmux_compat_split_window_surface_ref.py219def main() -> int:
LOWtests/test_cli_version_flag.py52 except Exception as exc:
MEDIUMtests/test_cli_version_flag.py49def main() -> int:
LOWtests/test_browser_custom_keybinds.py88 except Exception:
LOWtests/test_browser_custom_keybinds.py146 except Exception as e:
LOWtests/test_cli_socket_autodiscovery.py94 except Exception as exc: # pragma: no cover - explicit surface on failure
536 more matches not shown…
Hyper-Verbose Identifiers420 hits · 393 pts
SeverityFileLineSnippet
LOWweb/app/[locale]/testimonials.tsx400export function getTestimonialTranslation(
LOWweb/app/[locale]/components/docs-search-utils.ts72export function normalizeDocsSearchResult(
LOWweb/app/[locale]/deeplink/[kind]/page.tsx108function containsUnsafeHiddenCharacter(value: string) {
LOWweb/app/lib/agent-page-markdown.ts285function spaceAdjacentMarkdownLinks(markdown: string): string {
LOWweb/app/lib/agent-page-markdown.ts342function tableCellsFromMarkdownLine(line: string): string[] | null {
LOWweb/app/lib/agent-page-markdown.ts388function isMatchingTopLevelHeading(line: string, title: string): boolean {
LOWweb/app/lib/agent-page-paths.ts196function normalizeCanonicalPagePath(pathWithoutExtension: string): string | null {
LOWweb/app/lib/agent-page-paths.ts216function normalizeEnglishLocalePrefix(path: string): string {
LOWweb/app/lib/agent-page-canonical-fetch.ts34export function hasSensitiveCanonicalAccess(headers: Headers): boolean {
LOWweb/tests/vm-workflows.test.ts1460async function waitForBlockedAdvisoryLock(sql: Sql, billingTeamId: string): Promise<void> {
LOWweb/tests/vm-route-auth.test.ts824function expectNoCloudVmImplementationLeaks(payload: unknown): void {
LOWweb/scripts/test-cloud-vm-ws-auth.ts274async function readFreestyleWebSocketService(vm: FreestyleVmRef): Promise<{
LOWweb/scripts/test-cloud-vm-ws-auth.ts338async function websocketRPCProxyHTTPRoundTrip(
LOWweb/scripts/test-cloud-vm-ws-auth.ts557function ensurePrivateDirectoryCommand(filePath: string): string {
LOWweb/scripts/build-cloud-vm-images.ts299export async function findFreestyleSnapshotByName(
LOWweb/scripts/build-cloud-vm-images.ts334export async function waitForFreestyleSnapshotByName(
LOWweb/scripts/build-cloud-vm-images.ts369export function cloudImageSmokeTestCommands(): string[] {
LOWweb/scripts/build-cloud-vm-images.ts395export function cloudAgentToolPackageSpecs(): CloudAgentToolPackage[] {
LOWweb/scripts/build-cloud-vm-images.ts466function freestylePythonOpenSSLCommands(): string[] {
LOWweb/scripts/build-cloud-vm-images.ts481function freestyleBaseDockerfileContent(daemonURL: string): string {
LOWweb/scripts/build-cloud-vm-images.ts582export function freestyleRecoveryWindowStart(startedAt: Date): string {
LOWweb/services/vms/errors.ts73export function isVmCreateInProgressError(err: unknown): err is VmCreateInProgressError {
LOWweb/services/vms/errors.ts93export function isVmCreateCreditsInsufficientError(err: unknown): err is VmCreateCreditsInsufficientError {
LOWweb/services/vms/errors.ts105export function isVmProviderOperationError(err: unknown): err is VmProviderOperationError {
LOWweb/services/vms/errors.ts143function vmWorkflowErrorFromEffectCause(cause: unknown): VmWorkflowError | null {
LOWweb/services/vms/workflows.ts173function beginCreateWithLazyProviderRefresh(
LOWweb/services/vms/workflows.ts197function refreshActiveLimitProviderStatuses(
LOWweb/services/vms/workflows.ts249function dbStatusFromProviderStatus(status: "running" | "paused" | "destroyed"): CloudVmStatus {
LOWweb/services/vms/workflows.ts536function recordCreateRequestedEvents(
LOWweb/services/vms/workflows.ts575function recordCreateSuccessEvents(
LOWweb/services/vms/providerErrors.ts6function hasProviderMissingMessage(message: string): boolean {
LOWweb/services/vms/entitlements.ts51export function isVmBillingTeamResolutionError(err: unknown): err is VmBillingTeamResolutionError {
LOWweb/services/vms/billingGateway.ts70export function makeStackVmBillingGateway(
LOWweb/services/vms/billingGateway.ts196function resolvedCreateCreditItemIdValue(
LOWweb/services/vms/billingGateway.ts206function isDisabledCreateCreditValue(value: string): boolean {
LOWweb/services/vms/billingGateway.ts235function initialCreateCreditGrantAmount(
LOWweb/services/vms/routeHelpers.ts181export function requestedVmTeamIdFromRequest(request: Request): string | null {
LOWweb/services/vms/routeHelpers.ts203function requiresBrowserMutationProtection(method: string, bearer: StackBearer | null): boolean {
LOWweb/services/vms/routeHelpers.ts210function browserMutationOriginAllowed(request: Request): boolean {
LOWweb/services/vms/drivers/wsLease.ts18export function ensurePrivateDirectoryCommand(filePath: string): string {
LOWweb/services/vms/drivers/freestyle.ts497async function ensureFreestyleWebSocketHealthy(domain: string): Promise<void> {
LOWweb/services/vms/drivers/freestyle.ts506async function readFreestyleWebSocketService(vm: FreestyleVmRef): Promise<{
LOWweb/services/vms/images/resolver.ts43export function listVmImageManifestEntries(): readonly VmImageManifestEntry[] {
LOWResources/markdown-viewer/shell.html570 function removeRemoteImagePlaceholder(img) {
LOWResources/markdown-viewer/shell.html577 function remoteImagePlaceholderForImage(img) {
LOWResources/markdown-viewer/shell.html583 function setRemoteImageLoadingState(img, loading) {
LOWResources/markdown-viewer/shell.html680 function temporarilySetButtonLabel(button, label, restoreLabel) {
LOWResources/markdown-viewer/shell.html704 function insertRemoteImagePlaceholder(img, placeholder) {
LOWResources/markdown-viewer/shell.html713 function ensureRemoteImagePlaceholder(img) {
LOWResources/markdown-viewer/shell.html790 function rewriteRemoteImageSources() {
LOWResources/markdown-viewer/shell.html1061 function firstVisibleMarkdownAnchor() {
LOWResources/markdown-viewer/shell.html1079 function captureMarkdownScrollState() {
LOWResources/markdown-viewer/shell.html1090 function restoreMarkdownScrollState(state) {
LOWResources/markdown-viewer/shell.html1160 function isVegaExternalReferencePath(path, key) {
LOWResources/markdown-viewer/shell.html1175 function firstVegaExternalReference(value, path, seen) {
LOWResources/markdown-viewer/shell.html1310 function markdownCandidateForElement(el) {
LOWResources/markdown-viewer/shell.html1322 function applyResolvedMarkdownFile(rawPath, result, elements) {
LOWResources/markdown-viewer/shell.html1445 function cleanRenderedContentClone(options) {
LOWResources/feed-tui/index.ts1072function sourceSupportsPersistentPermissionModes(source: string): boolean {
LOWResources/feed-tui/index.ts1076function sourceSupportsBypassPermissions(source: string): boolean {
360 more matches not shown…
Self-Referential Comments57 hits · 190 pts
SeverityFileLineSnippet
MEDIUMtests/test_omnibar_focus_cpu.py110 # Create a workspace with a browser panel.
MEDIUMtests/test_multi_workspace_focus.py259 # Create a browser surface in the same pane
MEDIUMtests/test_multi_workspace_focus.py300 # Create a browser in workspace B
MEDIUMtests/test_new_tab_render_after_splits.py85 # Create a dense layout (similar to "4 splits") to exercise attach/focus races.
MEDIUMtests/test_new_tab_render_after_splits.py98 # Create a new nested tab in the focused pane.
MEDIUMtests/test_browser_custom_keybinds.py54 # Create a browser pane to the right, loading a real page.
MEDIUMtests/test_browser_back_forward.py72 # Create a browser surface
MEDIUMtests/test_browser_goto_split.py44 # Create a browser pane to the right, loading a real page
MEDIUMtests/test_new_tab_interactive_after_splits.py185 # Create a multi-pane layout to exercise bonsplit/SwiftUI focus races.
MEDIUMtests/test_signals_auto.py21 # Create a PTY pair
MEDIUMtests/test_terminal_focus_routing.py126 # Create a bunch of terminals to stress layout/focus code paths.
MEDIUMtests/test_terminal_focus_routing.py136 # Create a split to the right (this may trigger bonsplit reparenting/structural updates).
MEDIUMtests/test_browser_panel_stability.py109 # Create a browser pane (split). This should leave us with at least 2 panes.
MEDIUMtests/test_file_drop_split_targeting.py61 # Create a vertical (top/bottom) split.
MEDIUMtests/test_tab_dragging.py307 # Create a new tab for clean state
MEDIUMtests/test_tab_dragging.py622 # Create a new tab for clean state
MEDIUMtests/test_tab_dragging.py706 # Create a new tab for clean state
MEDIUMtests/test_tab_dragging.py970 # Create a new tab for clean state
MEDIUMtests/test_tab_dragging.py1018 # Create a new tab for clean state
MEDIUMtests/test_tab_dragging.py371 # Create a new tab
MEDIUMtests/test_tab_dragging.py424 # Create a new tab for clean state
MEDIUMtests/test_tab_dragging.py428 # Create a horizontal split
MEDIUMtests/test_tab_dragging.py517 # Create a new workspace for clean state
MEDIUMtests/test_tab_dragging.py563 # Create a new tab
MEDIUMtests/test_tab_dragging.py567 # Create a split to have multiple panes
MEDIUMtests/test_tab_dragging.py633 # Create a horizontal split
MEDIUMtests/test_tab_dragging.py717 # Create a vertical split
MEDIUMtests/test_tab_dragging.py794 # Create a new tab for clean state
MEDIUMtests/test_tab_dragging.py805 # Create a vertical split (first terminal on top, second on bottom)
MEDIUMtests/test_tab_dragging.py880 # Create a new tab for clean state
MEDIUMtests_v2/test_new_tab_render_after_splits.py85 # Create a dense layout (similar to "4 splits") to exercise attach/focus races.
MEDIUMtests_v2/test_new_tab_render_after_splits.py98 # Create a new nested tab in the focused pane.
MEDIUMtests_v2/test_browser_custom_keybinds.py54 # Create a browser pane to the right, loading a real page.
MEDIUMtests_v2/test_ctrl_enter_keybind.py109 # Create a fresh tab to avoid interfering with existing sessions
MEDIUMtests_v2/test_browser_goto_split.py44 # Create a browser pane to the right, loading a real page
MEDIUMtests_v2/test_new_tab_interactive_after_splits.py193 # Create a multi-pane layout to exercise bonsplit/SwiftUI focus races.
MEDIUMtests_v2/test_signals_auto.py21 # Create a PTY pair
MEDIUMtests_v2/test_terminal_focus_routing.py126 # Create a bunch of terminals to stress layout/focus code paths.
MEDIUMtests_v2/test_terminal_focus_routing.py136 # Create a split to the right (this may trigger bonsplit reparenting/structural updates).
MEDIUMtests_v2/test_browser_panel_stability.py109 # Create a browser pane (split). This should leave us with at least 2 panes.
MEDIUMtests_v2/test_windows_api.py52 # Create a workspace in w1, ensure it has at least 2 surfaces, then move it to w2.
MEDIUMtests_v2/test_tab_dragging.py307 # Create a new tab for clean state
MEDIUMtests_v2/test_tab_dragging.py517 # Create a new workspace for clean state
MEDIUMtests_v2/test_tab_dragging.py610 # Create a new tab for clean state
MEDIUMtests_v2/test_tab_dragging.py700 # Create a new tab for clean state
MEDIUMtests_v2/test_tab_dragging.py974 # Create a new tab for clean state
MEDIUMtests_v2/test_tab_dragging.py1027 # Create a new tab for clean state
MEDIUMtests_v2/test_tab_dragging.py371 # Create a new tab
MEDIUMtests_v2/test_tab_dragging.py424 # Create a new tab for clean state
MEDIUMtests_v2/test_tab_dragging.py428 # Create a horizontal split
MEDIUMtests_v2/test_tab_dragging.py565 # Create a new tab
MEDIUMtests_v2/test_tab_dragging.py569 # Create a split to have multiple panes
MEDIUMtests_v2/test_tab_dragging.py625 # Create a horizontal split
MEDIUMtests_v2/test_tab_dragging.py714 # Create a vertical split
MEDIUMtests_v2/test_tab_dragging.py793 # Create a new tab for clean state
MEDIUMtests_v2/test_tab_dragging.py807 # Create a vertical split (first terminal on top, second on bottom)
MEDIUMtests_v2/test_tab_dragging.py884 # Create a new tab for clean state
Decorative Section Separators56 hits · 164 pts
SeverityFileLineSnippet
MEDIUMtests/test_remote_daemon_release_assets.sh67# ------------------------------------------------------------------
MEDIUMtests/test_remote_daemon_release_assets.sh69# ------------------------------------------------------------------
MEDIUMtests/test_socket_access.py634# ---------------------------------------------------------------------------
MEDIUMtests/test_socket_access.py636# ---------------------------------------------------------------------------
MEDIUMtests/test_socket_access.py242# ---------------------------------------------------------------------------
MEDIUMtests/test_socket_access.py244# ---------------------------------------------------------------------------
MEDIUMtests/test_socket_access.py346# ---------------------------------------------------------------------------
MEDIUMtests/test_socket_access.py348# ---------------------------------------------------------------------------
MEDIUMtests/test_socket_access.py438# ---------------------------------------------------------------------------
MEDIUMtests/test_socket_access.py440# ---------------------------------------------------------------------------
MEDIUMtests/test_ci_pbxproj_test_wiring.sh74# ---------------------------------------------------------------------------
MEDIUMtests/test_ci_pbxproj_test_wiring.sh95# ---------------------------------------------------------------------------
MEDIUMtests/test_ci_pbxproj_test_wiring.sh129# ---------------------------------------------------------------------------
MEDIUMtests/test_ci_pbxproj_test_wiring.sh205# ---------------------------------------------------------------------------
MEDIUMtests/test_visual_screenshots.py1171# ---------------------------------------------------------------------------
MEDIUMtests/test_visual_screenshots.py1173# ---------------------------------------------------------------------------
MEDIUMtests/test_visual_screenshots.py72# ---------------------------------------------------------------------------
MEDIUMtests/test_visual_screenshots.py74# ---------------------------------------------------------------------------
MEDIUMtests/test_visual_screenshots.py354# ---------------------------------------------------------------------------
MEDIUMtests/test_visual_screenshots.py356# ---------------------------------------------------------------------------
MEDIUMtests/test_visual_screenshots.py1366# ---------------------------------------------------------------------------
MEDIUMtests/test_visual_screenshots.py1368# ---------------------------------------------------------------------------
MEDIUMtests_v2/test_cli_id_format_defaults.py114 # ------------------------------------------------------------------
MEDIUMtests_v2/test_cli_id_format_defaults.py116 # ------------------------------------------------------------------
MEDIUMtests_v2/cmux.py152 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py154 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py202 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py204 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py272 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py274 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py359 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py361 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py376 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py378 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py404 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py406 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py531 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py533 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py721 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py723 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py814 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py816 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py844 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py846 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py886 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py888 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py940 # ---------------------------------------------------------------------
MEDIUMtests_v2/cmux.py942 # ---------------------------------------------------------------------
MEDIUMtests_v2/test_visual_screenshots.py1132# ---------------------------------------------------------------------------
MEDIUMtests_v2/test_visual_screenshots.py1134# ---------------------------------------------------------------------------
MEDIUMtests_v2/test_visual_screenshots.py71# ---------------------------------------------------------------------------
MEDIUMtests_v2/test_visual_screenshots.py73# ---------------------------------------------------------------------------
MEDIUMtests_v2/test_visual_screenshots.py325# ---------------------------------------------------------------------------
MEDIUMtests_v2/test_visual_screenshots.py327# ---------------------------------------------------------------------------
MEDIUMtests_v2/test_visual_screenshots.py1327# ---------------------------------------------------------------------------
MEDIUMtests_v2/test_visual_screenshots.py1329# ---------------------------------------------------------------------------
Cross-Language Confusion27 hits · 160 pts
SeverityFileLineSnippet
HIGHtests/test_sidebar_ports.py330 client.send(f"kill {pid} >/dev/null 2>&1 || true\n")
HIGHtests/test_ghostty_zsh_pure_preprompt_redraw.py50 zle && zle .reset-prompt
HIGH…hostty_zsh_pure_hidden_cr_omits_continuation_marker.py49 zle && zle .reset-prompt
HIGHtests/test_ssh_relay_report_tty_retry.py50hash -r 2>/dev/null || true
HIGHtests/test_ssh_relay_report_tty_retry.py55_cmux_report_tty_once || true
HIGHtests/test_ssh_relay_report_tty_retry.py57_cmux_report_tty_once || true
HIGHtests/test_opencode_plugin_install.py176if (!hooks || typeof hooks.event !== "function") {
HIGHtests/test_opencode_plugin_install.py179if (duplicateHooks && typeof duplicateHooks.event === "function") {
HIGHtests/test_visual_screenshots.py1338 feedback.push(`## ${title}`);
HIGHtests/test_visual_screenshots.py1339 if (cmdText) feedback.push(`Command: ${cmdText}`);
HIGHtests/test_visual_screenshots.py1340 feedback.push(`Issue: ${notes}`);
HIGHtests/test_visual_screenshots.py1341 feedback.push('');
HIGHtests/test_issue_1138_sidebar_pr_polling.py174 _cmux_cleanup() {{ type _cmux_bash_cleanup >/dev/null 2>&1 && _cmux_bash_cleanup; }}
HIGHtests/test_codex_feed_hooks.py573 'then cmux_cli="$(command -v cmux 2>/dev/null || true)"; fi; if [ -n "$CMUX_SURFACE_ID" ] '
HIGHtests/test_codex_feed_hooks.py561 'then cmux_cli="$(command -v cmux 2>/dev/null || true)"; fi; if [ -n "$CMUX_SURFACE_ID" ] '
HIGHtests_v2/test_browser_api_comprehensive.py106 <div id="hover" onmouseover="window.__hover = (window.__hover || 0) + 1">hover target</div>
HIGHtests_v2/test_browser_api_comprehensive.py107 <div id="dbl" ondblclick="window.__dbl = (window.__dbl || 0) + 1">double target</div>
HIGHtests_v2/test_ssh_remote_cli_relay.py252 "daemon=\"$(cat \"$map\" 2>/dev/null || true)\" && "
HIGHtests_v2/test_ssh_remote_browser_move_rebinds_proxy.py282 cleanup = f"pkill -f 'python3 -m http.server {ssh_web_port}' >/dev/null 2>&1 || true"
HIGHtests_v2/test_visual_screenshots.py1299 feedback.push(`## ${title}`);
HIGHtests_v2/test_visual_screenshots.py1300 if (cmdText) feedback.push(`Command: ${cmdText}`);
HIGHtests_v2/test_visual_screenshots.py1301 feedback.push(`Issue: ${notes}`);
HIGHtests_v2/test_visual_screenshots.py1302 feedback.push('');
HIGHtests_v2/test_browser_api_extended_families.py87 <button id="frame-btn" onclick="window.top.frameClicks = (window.top.frameClicks || 0) + 1">Frame Button</button>
HIGHtests_v2/test_browser_api_extended_families.py123 <button id="action-btn" role="button" onclick="window.actionCount = (window.actionCount || 0) + 1; document.querySel
HIGHtests_v2/test_browser_api_extended_families.py225 frame_clicks = c._call("browser.eval", {"surface_id": sid, "script": "window.frameClicks || 0"}) or {}
HIGHtests_v2/test_ssh_remote_browser_favicon_uses_proxy.py298 f"pkill -f {server_script_path} >/dev/null 2>&1 || true; "
Deep Nesting156 hits · 144 pts
SeverityFileLineSnippet
LOWtests/test_codex_hook_agent_ports.py302
LOWtests/test_omnibar_focus_cpu.py34
LOWtests/test_sidebar_ports.py257
LOWtests/test_shell_git_config_remote_url_parsing.py28
LOWtests/test_shell_git_config_remote_url_parsing.py129
LOWtests/test_cli_omx_hud_tmux_split.py35
LOWtests/test_new_tab_render_after_splits.py31
LOWtests/test_new_tab_render_after_splits.py77
LOWtests/test_ghostty_zsh_pure_preprompt_redraw.py92
LOWtests/test_cli_socket_autodiscovery.py462
LOWtests/test_cli_socket_autodiscovery.py103
LOW…ts/test_issue_464_cmdw_close_terminal_browser_split.py79
LOWtests/test_socket_access.py246
LOWtests/test_socket_access.py265
LOWtests/test_socket_access.py350
LOWtests/test_workspace_churn_up_arrow_lag.py152
LOWtests/test_workspace_churn_up_arrow_lag.py361
LOW…hostty_zsh_pure_hidden_cr_omits_continuation_marker.py89
LOWtests/test_claude_hook_clear_running_status.py60
LOWtests/test_claude_hook_clear_running_status.py80
LOWtests/test_claude_hook_clear_running_status.py102
LOWtests/test_real_click_overlay_forwarding.py234
LOWtests/test_cpu_notifications.py42
LOWtests/test_notifications.py218
LOWtests/test_cli_layout_focus_contract.py173
LOWtests/test_browser_goto_split.py177
LOWtests/test_focus_notification_dismiss.py50
LOWtests/test_new_tab_interactive_after_splits.py34
LOWtests/test_new_tab_interactive_after_splits.py145
LOWtests/regression_helpers.py30
LOWtests/cmux.py187
LOWtests/cmux.py1378
LOWtests/cmux.py293
LOWtests/cmux.py1325
LOWtests/test_signals_auto.py17
LOWtests/test_signals_auto.py111
LOWtests/test_signals_auto.py182
LOW…_session_restore_unfocused_workspace_relaunch_cycle.py138
LOWtests/test_nested_split_no_detach_during_update.py41
LOWtests/test_bash_integration_no_done_notifications.py114
LOWtests/test_visual_screenshots.py85
LOWtests/test_visual_screenshots.py232
LOWtests/test_visual_screenshots.py415
LOWtests/test_visual_screenshots.py779
LOWtests/test_claude_hook_stop_last_assistant.py68
LOWtests/test_claude_hook_stop_last_assistant.py88
LOWtests/test_ctrl_socket.py53
LOWtests/test_ctrl_socket.py143
LOWtests/test_ctrl_socket.py188
LOWtests/test_restore_session_relaunches_codex_resume.py161
LOWtests/test_issue_1138_sidebar_pr_polling.py271
LOWtests/test_bonsplit_tab_drag_overlay_gate.py120
LOW…ts/test_ghostty_zsh_prompt_redraw_uses_prompt_start.py76
LOWtests/test_cli_socket_operation_deadline.py185
LOWtests/test_shell_zdotdir_wrapper.py21
LOWtests/test_codex_feed_hooks.py587
LOWtests/test_codex_feed_hooks.py655
LOWtests/test_codex_feed_hooks.py679
LOWtests/test_codex_feed_hooks.py104
LOW…sion_restore_unfocused_workspace_multi_window_cycle.py210
96 more matches not shown…
Over-Commented Block139 hits · 139 pts
SeverityFileLineSnippet
LOWghostty.h1#ifndef CMUX_GHOSTTY_BRIDGE_HEADER_H
LOW…xUITests/SettingsAccountJSONResetBehaviorUITests.swift1import XCTest
LOW…xUITests/SettingsAccountJSONResetBehaviorUITests.swift21/// - TIER 3: Account Sign In / Sign Out (browser auth round trip),
LOW…xUITests/SettingsAccountJSONResetBehaviorUITests.swift181 if let value = element.value as? Bool {
LOW…xUITests/SettingsAccountJSONResetBehaviorUITests.swift201 // cmux sign-in page in the system browser for an OAuth-style round trip;
LOWcmuxUITests/SettingsBrowserBehaviorUITests.swift1import XCTest
LOWcmuxUITests/SettingsBrowserBehaviorUITests.swift121 // never writes (only the legacy `cmuxApp.browserEnabledBinding`
LOWcmuxUITests/SettingsBrowserBehaviorUITests.swift141 // happens inside web content, not in any AppKit accessibility element.
LOWcmuxUITests/SettingsBrowserBehaviorUITests.swift161 //
LOWcmuxUITests/SettingsBrowserBehaviorUITests.swift181 // (settings.browser.history.clearButton) —
LOWcmuxUITests/SettingsAutomationBehaviorUITests.swift1import XCTest
LOWcmuxUITests/SettingsAutomationBehaviorUITests.swift21/// surface, which is the contract this section actually owns:
LOWcmuxUITests/SettingsAutomationBehaviorUITests.swift381 // their *behavior* is enacted entirely in backend/CLI/terminal-env code
LOWcmuxUITests/SettingsAutomationBehaviorUITests.swift401 // toggles — when enabled, cmux injects session-tracking + notification
LOWcmuxUITests/SettingsAutomationBehaviorUITests.swift421 // accessibility identifier and no observable consequence to assert
LOWcmuxUITests/SettingsAppBehaviorUITests.swift1import XCTest
LOWcmuxUITests/SettingsAppBehaviorUITests.swift21/// new subtitle string appears / the old one disappears, or the gated
LOWcmuxUITests/SettingsAppBehaviorUITests.swift41/// - Inherit CWD effect on a real new workspace (the *subtitle* swap is
LOWcmuxUITests/SettingsAppBehaviorUITests.swift61/// - Reorder on Notification (workspaceAutoReorderOnNotification): needs
LOWcmuxUITests/SettingsAppBehaviorUITests.swift81/// confirmation on the tab "X" button; needs a tab and a stable id.
LOWcmuxUITests/SettingsAppBehaviorUITests.swift261
LOWcmuxUITests/SettingsSidebarBetaBehaviorUITests.swift1import XCTest
LOWcmuxUITests/SettingsSidebarBetaBehaviorUITests.swift21///
LOWcmuxUITests/SettingsSidebarBetaBehaviorUITests.swift161
LOWcmuxUITests/SettingsSidebarBetaBehaviorUITests.swift181 // harness does not provide. The picker binding itself is covered above.
LOWcmuxUITests/SettingsTerminalBehaviorUITests.swift1import XCTest
LOWcmuxUITests/SettingsTerminalBehaviorUITests.swift21///
LOWcmuxUITests/SettingsTerminalBehaviorUITests.swift41///
LOWcmuxUITests/SettingsTerminalBehaviorUITests.swift61/// input's growth height. The effect is pure layout geometry of the
LOWcmuxUITests/SettingsTerminalBehaviorUITests.swift81/// (`AgentHibernationResumeButton` appears in `TerminalPanelView`).
LOWcmuxUITests/SettingsShortcutsBehaviorUITests.swift1import XCTest
LOWcmuxUITests/SettingsShortcutsBehaviorUITests.swift21/// - per-action `ShortcutRecorderView` + `ShortcutRecorderClearRestoreButton`.
LOWcmuxUITests/SettingsShortcutsBehaviorUITests.swift101 XCTAssertTrue(
LOWcmuxUITests/SettingsShortcutsBehaviorUITests.swift181
LOWcmuxUITests/SettingsShortcutsBehaviorUITests.swift281// MARK: - Tier 2 (needs runtime seam)
LOWcmuxUITests/SettingsShortcutsBehaviorUITests.swift301// from inside the recorder's keyDown handler (onBareKeyRejected, and the
LOWcmuxUITests/SettingsShortcutsBehaviorUITests.swift321// MARK: - Tier 3 (not e2e)
LOW…uxUITests/SettingsWorkspaceColorsBehaviorUITests.swift1import XCTest
LOW…uxUITests/SettingsWorkspaceColorsBehaviorUITests.swift21/// - **Reset Palette** (action): restores the built-in palette and
LOW…uxUITests/SettingsWorkspaceColorsBehaviorUITests.swift41/// `sidebarWorkspace.<uuid>` but no accessibility *value* that reflects
LOW…uxUITests/SettingsWorkspaceColorsBehaviorUITests.swift61///
LOWweb/app/[locale]/docs/configuration/page.tsx61 // "newWorkspacePlacement": "afterCurrent",
LOWweb/app/[locale]/docs/configuration/page.tsx81
LOWweb/app/[locale]/docs/configuration/page.tsx101 // },
LOWtests/test_ci_nightly_tag_push_auth.sh1#!/usr/bin/env bash
LOWtests/test_ci_sparkle_build_monotonic.sh1#!/usr/bin/env bash
LOWtests/test_ci_pbxproj_test_wiring.sh1#!/usr/bin/env bash
LOWscripts/create-virtual-display.m1// Creates a virtual display on headless macOS (CI runners without a physical monitor).
LOWscripts/sign-cmux-bundle.sh1#!/usr/bin/env bash
LOWscripts/cleanup-dev-builds.sh1#!/usr/bin/env bash
LOWscripts/cleanup-dev-builds.sh21# Defaults to dry-run. Pass --apply to actually delete.
LOWscripts/lint-pbxproj-test-wiring.sh1#!/usr/bin/env bash
LOWscripts/lint-pbxproj-test-wiring.sh61
LOW…ojectModel/Sources/CMUXProjectModel/ProjectModel.swift1import Foundation
LOW…ectModel/Sources/CMUXProjectModel/XcconfigParser.swift1import Foundation
LOW…tModel/Sources/CMUXProjectModel/ProjectLoadError.swift1import Foundation
LOW…del/Sources/CMUXProjectModel/XcodeProjectAdapter.swift1import Foundation
LOW…ectModel/Sources/CMUXProjectModel/ProjectAdapter.swift1import Foundation
LOW…ectModel/Sources/CMUXProjectModel/ProjectAdapter.swift21 /// - Returns: `true` when this adapter is likely to be able to load
LOW…Model/Sources/CMUXProjectModel/ProjectGroupStyle.swift1import Foundation
79 more matches not shown…
Unused Imports131 hits · 128 pts
SeverityFileLineSnippet
LOWtests/test_shell_zdotdir_user_override.py18
LOWtests/test_codex_hook_agent_ports.py11
LOWtests/test_claude_wrapper_hooks.py6
LOWtests/test_cli_sigpipe_ignore.py4
LOWtests/test_omnibar_focus_cpu.py26
LOWtests/test_cli_claude_teams_main_vertical.py20
LOWtests/test_sidebar_ports.py12
LOWtests/test_shell_git_config_remote_url_parsing.py10
LOWtests/test_cli_omx_hud_tmux_split.py6
LOWtests/test_terminal_input_render_report.py26
LOWtests/test_cli_tmux_compat_split_window_surface_ref.py6
LOWtests/test_ghostty_zsh_pure_preprompt_redraw.py16
LOWtests/test_cli_version_flag.py6
LOW…est_shell_scrollback_restore_replay_path_regression.py10
LOWtests/test_cli_socket_autodiscovery.py4
LOWtests/test_socket_access.py28
LOWtests/test_shell_histfile_ghostty_zdotdir_regression.py17
LOWtests/test_sidebar_meta_block.py11
LOWtests/test_terminfo_bright_colors.py14
LOWtests/test_terminfo_bright_colors.py18
LOWtests/test_workspace_churn_up_arrow_lag.py20
LOWtests/test_ghostty_zsh_job_table_saturation_guard.py10
LOW…hostty_zsh_pure_hidden_cr_omits_continuation_marker.py13
LOWtests/test_cli_claude_teams_skips_wrapper_claude.py6
LOWtests/test_claude_hook_clear_running_status.py4
LOWtests/test_ci_xcodebuild_noninteractive_helper.py4
LOWtests/test_ssh_relay_report_tty_retry.py8
LOW…sts/test_issue_734_shell_integration_none_respected.py8
LOWtests/test_open_wrapper.py6
LOWtests/test_claude_hook_missing_socket_error.py6
LOWtests/claude_teams_test_utils.py3
LOWtests/test_shell_scrollback_restore_color_replay.py6
LOWtests/test_claude_hook_session_mapping.py11
LOWtests/test_cpu_notifications.py16
LOWtests/test_notifications.py19
LOWtests/test_amp_extension_install.py6
LOWtests/test_cli_contract_help.py10
LOWtests/test_cli_layout_focus_contract.py4
LOWtests/test_sidebar_meta.py12
LOWtests/test_sidebar_cwd_git.py12
LOWtests/regression_helpers.py4
LOWtests/test_cli_claude_teams_tmux_sequence.py6
LOWtests/test_signals_auto.py15
LOWtests/test_cli_version_memory_guard.py7
LOWtests/test_sidebar_copy_ssh_error_context_menu.py4
LOW…_session_restore_unfocused_workspace_relaunch_cycle.py11
LOWtests/test_bash_integration_no_done_notifications.py10
LOWtests/test_opencode_plugin_install.py6
LOWtests/test_visual_screenshots.py31
LOWtests/test_claude_hook_stop_last_assistant.py4
LOWtests/test_split_cwd_inheritance.py16
LOWtests/test_restore_session_relaunches_codex_resume.py8
LOWtests/test_cli_claude_teams_help_passthrough.py6
LOWtests/test_issue_1138_sidebar_pr_polling.py12
LOW…ts/test_ghostty_zsh_prompt_redraw_uses_prompt_start.py12
LOWtests/test_cli_socket_operation_deadline.py4
LOWtests/test_pi_extension_install.py6
LOWtests/test_cli_omo_openagent_plugin_migration.py8
LOWtests/test_shell_zdotdir_wrapper.py12
LOWtests/test_shell_zdotdir_wrapper.py16
71 more matches not shown…
Cross-File Repetition16 hits · 80 pts
SeverityFileLineSnippet
HIGHtests/test_browser_back_forward.py0return the pane_id of the currently focused pane, or none.
HIGHtests/test_browser_goto_split.py0return the pane_id of the currently focused pane, or none.
HIGHtests_v2/test_browser_goto_split.py0return the pane_id of the currently focused pane, or none.
HIGH…gentLaunchTests/HermesAgentCodexEnvironmentTests.swift0openai_base_url = "http://subrouter-team:31415/v1" chatgpt_base_url = "http://subrouter-team:31415/backend-api"
HIGHcmuxTests/GhosttyTerminalStartupEnvironmentTests.swift0openai_base_url = "http://subrouter-team:31415/v1" chatgpt_base_url = "http://subrouter-team:31415/backend-api"
HIGHcmuxTests/GhosttyTerminalStartupEnvironmentTests.swift0openai_base_url = "http://subrouter-team:31415/v1" chatgpt_base_url = "http://subrouter-team:31415/backend-api"
HIGHcmuxTests/CmuxConfigTests.swift0{ "notifications": { "hooks": [{ "id": "global", "command": "cat" }] } }
HIGHcmuxTests/CmuxConfigTests.swift0{ "notifications": { "hooks": [{ "id": "global", "command": "cat" }] } }
HIGHcmuxTests/CmuxConfigTests.swift0{ "notifications": { "hooks": [{ "id": "global", "command": "cat" }] } }
HIGHcmuxTests/CmuxConfigTests.swift0{ "notifications": { "hooks": [{ "id": "global", "command": "cat" }] } }
HIGHcmuxTests/GhosttyConfigTests.swift0#!/bin/sh printf '%s\\n' "$*" >> "\(logpath.path)" exit 0
HIGHcmuxTests/GhosttyConfigTests.swift0#!/bin/sh printf '%s\\n' "$*" >> "\(logpath.path)" exit 0
HIGHcmuxTests/GhosttyConfigTests.swift0#!/bin/sh printf '%s\\n' "$*" >> "\(logpath.path)" exit 0
HIGHcmuxTests/GhosttyConfigTests.swift0#!/bin/sh printf '%s\\n' "$*" >> "\(logpath.path)" exit 0
HIGHcmuxTests/GhosttyConfigTests.swift0#!/bin/sh printf '%s\\n' "$*" >> "\(logpath.path)" exit 0
HIGHcmuxTests/GhosttyConfigTests.swift0#!/bin/sh printf '%s\\n' "$*" >> "\(logpath.path)" exit 0
Hallucination Indicators2 hits · 20 pts
SeverityFileLineSnippet
CRITICALResources/markdown-viewer/vega-lite.min.js1!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("vega")):"function"==typeof define
CRITICALResources/markdown-viewer/marked.min.js6!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?def
Fake / Example Data20 hits · 19 pts
SeverityFileLineSnippet
LOWweb/tests/vm-route-auth.test.ts124 primaryEmail: "user@example.com",
LOWweb/tests/vm-route-auth.test.ts209 primaryEmail: "user@example.com",
LOWweb/tests/vm-route-auth.test.ts260 primaryEmail: "user@example.com",
LOWweb/tests/vm-route-auth.test.ts369 primaryEmail: "user@example.com",
LOWweb/tests/vm-route-auth.test.ts402 primaryEmail: "user@example.com",
LOWweb/tests/vm-route-auth.test.ts430 primaryEmail: "user@example.com",
LOWweb/tests/vm-route-auth.test.ts465 primaryEmail: "user@example.com",
LOWweb/tests/vm-route-auth.test.ts812 primaryEmail: "user@example.com",
LOW…hCore/Tests/CMUXAuthCoreTests/CMUXAuthStateTests.swift125 let user = CMUXAuthUser(id: "user_123", primaryEmail: "user@example.com", displayName: "Test User")
LOW…hCore/Tests/CMUXAuthCoreTests/CMUXAuthStateTests.swift143 let user = CMUXAuthUser(id: "user_123", primaryEmail: "user@example.com", displayName: "Test User")
LOW…hCore/Tests/CMUXAuthCoreTests/CMUXAuthStateTests.swift187 let user = CMUXAuthUser(id: "user_123", primaryEmail: "user@example.com", displayName: "Test User")
LOWSources/AppDelegate.swift8862 let base = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore.
LOWSources/AppDelegate.swift8862 let base = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore.
LOWskills/cmux-browser/SKILL.md67cmux browser surface:7 fill e1 "Jane Doe"
LOWskills/cmux-browser/references/authentication.md27cmux browser surface:7 fill e1 "user@example.com"
LOWskills/cmux-browser/references/authentication.md71cmux browser surface:7 fill e1 "user@example.com"
LOWskills/cmux-browser/references/snapshot-refs.md42cmux browser surface:7 fill e10 "user@example.com"
LOWcmuxTests/SessionIndexViewTests.swift73 try Data(#"{"oauthAccount":{"email":"user@example.com"}}"#.utf8)
LOWcmuxTests/SessionIndexViewTests.swift105 try Data(#"{"oauthAccount":{"email":"user@example.com"}}"#.utf8)
LOWcmuxTests/ClaudeConfigDirectoryPathTests.swift105 try Data(#"{"oauthAccount":{"email":"user@example.com"}}"#.utf8)
Redundant / Tautological Comments12 hits · 16 pts
SeverityFileLineSnippet
LOWtests/test_ctrl_interactive.py80 # Check if running in a terminal
LOWtests/test_app_keystrokes.sh10# Check if cmux is running
LOWtests/test_cpu_usage.py174 # Check if CPU is too high
LOWtests/test_tab_dragging.py992 # Check if remaining terminal is responsive
LOWtests/test_tab_dragging.py474 # Check if columns are approximately equal (within 5 columns tolerance)
LOWtests/test_tab_dragging.py1040 # Check if remaining terminal is responsive
LOWscripts/smoke-test-ci.sh56 # Check if process died while waiting
LOWscripts/sparkle_generate_appcast.sh93# Check if generate_appcast added the edSignature. If not, use sign_update
LOWtests_v2/test_ctrl_interactive.py80 # Check if running in a terminal
LOWtests_v2/test_tab_dragging.py474 # Check if columns are approximately equal (within 5 columns tolerance)
LOWtests_v2/test_tab_dragging.py999 # Check if remaining terminal is responsive
LOWtests_v2/test_tab_dragging.py1052 # Check if remaining terminal is responsive
Cross-Language Confusion (JS/TS)2 hits · 10 pts
SeverityFileLineSnippet
HIGHweb/app/[locale]/docs/api/page.tsx458print(rpc("workspace.list", req_id="ws"))
HIGHweb/app/[locale]/docs/api/page.tsx461print(rpc(
Example Usage Blocks4 hits · 6 pts
SeverityFileLineSnippet
LOWscripts/bump-version.sh5# Usage:
LOWscripts/run-e2e.sh4# Usage:
LOWscripts/sign-cmux-bundle.sh4# Usage:
LOWscripts/lint-pbxproj-test-wiring.sh17# Usage:
AI Slop Vocabulary2 hits · 6 pts
SeverityFileLineSnippet
MEDIUM.github/workflows/test-e2e.yml284 # so recording must start after that harness is ready.
MEDIUMSources/Update/UpdateTitlebarAccessory.swift2894 // We want to be robust to SwiftUI/AppKit timing and to XCTest automation. Scanning
Verbosity Indicators3 hits · 4 pts
SeverityFileLineSnippet
LOWSources/Auth/AuthManager.swift377 // Step 1: Initiate CLI auth session
LOWSources/Auth/AuthManager.swift392 // Step 2: Open system browser to confirm page
LOWSources/Auth/AuthManager.swift396 // Step 3: Poll for token