AI Slop Code RIsk Monitor

rullerzhou-afk/clawd-on-desk

A pixel desktop pet that watches Claude Code, Codex, Cursor & other AI coding agents — so you don't have to.

5.9 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for rullerzhou-afk/clawd-on-desk, a JavaScript project with 6,416 GitHub stars. SynthScan examined 576,816 lines of code across 1228 source files, recording 2766 pattern matches distributed across 17 syntactic categories. The legacy adjusted pattern signal is 5.9 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

5.9
Adjusted Signal
5.9
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
6.4K
Stars
JavaScript
Language
576.8K
Lines of Code
1.2K
Files
2.8K
Pattern Hits
2026-10-12
Scan Date
0.06
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 18.5/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 3.5/100 · LOW

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

Agent Over-Engineering Ratio 19.2/100 · LOW

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

PR Review Velocity Impact 27.3/100 · MEDIUM

Which changes need focused human review? 2766 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

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

CRITICAL 27HIGH 52MEDIUM 208LOW 2479

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 2766 distinct pattern matches across 17 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers1946 hits · 1839 pts
SeverityFileLineSnippetContext
LOWtest/server-hook-management.test.js47function createGuardedIntegrationCtx(target, calls) {CODE
LOWtest/server-hook-management.test.js276function healthyClaudeSettingsWithThirdPartyHook() {CODE
LOWtest/server-hook-management.test.js1500function makeServerWithLiveAutoStart(initialValue) {CODE
LOWtest/state-agent-icons.test.js112function shouldCheckRuntimeIconEntry(entry) {CODE
LOWtest/claude-hook-health.test.js620 function missingCoreEventOnlyReport() {CODE
LOWtest/telegram-identity-wiring-main.test.js14 const start = MAIN_SOURCE.indexOf("async function initTelegramMigrationController()");CODE
LOWtest/telegram-identity-wiring-main.test.js34 const start = MAIN_SOURCE.indexOf("function buildTelegramApprovalIdentitySignature(config)");CODE
LOWtest/telegram-identity-wiring-main.test.js117 const tokenWriteStart = MAIN_SOURCE.indexOf("function writeTelegramApprovalToken(token)");CODE
LOWtest/telegram-identity-wiring-main.test.js118 const tokenWriteEnd = MAIN_SOURCE.indexOf("\nasync function initTelegramMigrationController()", tokenWriteStart);CODE
LOWtest/dashboard.test.js12function loadDashboardWithElectron(fakeElectron, originFocus) {CODE
LOWtest/dashboard.test.js1292 async function assertFailedPreScaleFlushRetries({ asyncFailure, moved }) {CODE
LOWtest/dashboard.test.js1365 async function assertOlderAsyncCompletionPreservesNewerDebt(firstResponse) {CODE
LOWtest/main-size-preview-wiring.test.js49 const rebase = section("function rebaseSizeToRealizedPixels() {", "function getCurrentPixelSize(");CODE
LOWtest/telegram-legacy-retirement.test.js71 const start = main.indexOf("async function persistTelegramMigrationPatch(patch) {");CODE
LOWtest/permission-slack-announce.test.js59function loadPermissionWithFakeElectron() {CODE
LOWtest/updater.test.js129function makeLatestReleaseResponse(release) {CODE
LOWtest/updater.test.js144function makePendingReleaseResponse(queue) {CODE
LOWtest/pet-window-runtime.test.js644function wireNativeGeometryListeners(harness) {CODE
LOWtest/pet-window-runtime.test.js1059function makeInsetMutterClampedWindow(bounds, { rightInset = 0 } = {}) {CODE
LOWtest/focus-mac-extras.test.js18function setupHermeticSupersetHome({ withDb = true } = {}) {CODE
LOWtest/doctor-opencode-managed.test.js412 function writeLegacyFourFileGeneration(home) {CODE
LOWtest/recap-private-permissions.test.js66function canonicalWindowsOwnerPrincipal(userSid) {CODE
LOWtest/recap-private-permissions.test.js88function assertWindowsPrivatePrincipals(principals) {CODE
LOWtest/dashboard-quick-app-quit.test.js42function loadDashboardWithElectron(fakeElectron, originFocus) {CODE
LOWtest/copilot-hook.test.js32function makeFakeCopilotHomeWithSession(rootName, sessionId, contents) {CODE
LOWtest/feishu-approval-sdk-security.test.js63function assertSafeApplicationLogs(applicationCalls) {CODE
LOWtest/remote-ssh-ipc.test.js159function actionBackedSettingsController(profiles = [], { failOnce = null } = {}) {CODE
LOWtest/permission-hotkey-focus.test.js108async function assertHotkeyLeavesFocusUntouchedOnCaptureFailure({ accelerator, expectedBehavior }) {CODE
LOWtest/server-route-permission.test.js158function callPermissionPostThroughAutomation(body, mode, options = {}) {CODE
LOWtest/session-automation-dialog-parent.test.js47 const start = mainSource.indexOf("async function showSessionAutomationWarning(entry)");CODE
LOWtest/settings-effect-router-notify-autoclose.test.js8function createFakeSettingsController() {CODE
LOWtest/dsh-desktop-repair.test.js197function writeIncompleteLinkedProfile(harness, profile) {CODE
LOWtest/codex-hook.test.js1283 async function runClientEphemeralSessionStart(options = {}) {CODE
LOWtest/cleanup-integrations.test.js782 function assertOnlyClawdHooksRemoved(settingsPath) {CODE
LOWtest/accessory-theme-capability.test.js34function assertDeclaredTargetsExist(themeId, raw) {CODE
LOWtest/permission-auto-approve.test.js337 function withRealSessionAutomation(globalMode) {CODE
LOWtest/permission-family-lifecycle.test.js27function loadPermissionWithElectron(fakeElectron) {CODE
LOWtest/permission-family-lifecycle.test.js116function assertSecretAbsentFromLifecycleLogs(harness, secret) {CODE
LOWtest/readme-contributors.test.js168function extractContributorSection(markdown, filename) {CODE
LOWtest/permission-codex-response.test.js9function loadPermissionWithElectron(fakeElectron = null) {CODE
LOWtest/permission-codex-response.test.js32function createCodexDecisionHarness() {CODE
LOWtest/quota-alerts.test.js17function deferredNotificationHarness(options = {}) {CODE
LOWtest/copilot-install.test.js40function makeTempHomeWithoutCopilot() {CODE
LOWtest/agent-runtime-main.test.js2158 function makeArchiveRuntimeHarness({ root, extraOptions = {} } = {}) {CODE
LOWtest/dsh-install-bridge.test.js162function writeHistoricalGeneration(harness, version, sourceClawdVersion = "1.2.3") {CODE
LOWtest/recap-store.test.js38function grantWindowsParentReadToEveryone(dirPath) {CODE
LOWtest/recap-store.test.js78function canonicalWindowsOwnerPrincipal(userSid) {CODE
LOWtest/recap-store.test.js100function assertWindowsPrivatePrincipals(principals) {CODE
LOWtest/settings-controller.test.js1573 function createControllerWithReadFailure(p, injectedDeps = {}) {CODE
LOWtest/edge-virtualization.test.js217function createEdgeVirtualizationHarness(overrides = {}) {CODE
LOWtest/edge-virtualization.test.js249 function countedRuntimeGetAllDisplays() {CODE
LOWtest/edge-virtualization.test.js253 function countedMiniGetAllDisplays() {CODE
LOWtest/edge-virtualization.test.js268 function countedRepositionSessionHud() {CODE
LOWtest/edge-virtualization.test.js689 function tickUntilJumpAnimationEnds(mini, maxSteps = 60, stepMs = 10) {CODE
LOWtest/hermes-plugin.test.js41function envWithoutTerminalIdentity() {CODE
LOWtest/permission-notify-autoclose.test.js17function loadPermissionWithElectron(fakeElectron) {CODE
LOWtest/permission-notify-autoclose.test.js680 function withBridgeRequestRecorder(run) {CODE
LOWtest/settings-effect-router.test.js12function createFakeSettingsController(initialSnapshot = {}) {CODE
LOW⚡test/settings-renderer-browser-env.test.js14928 assert.ok(coreSource.includes("function readCustomToolDetectionResults("));CODE
LOW⚡test/settings-renderer-browser-env.test.js14929 assert.ok(coreSource.includes("function readCustomAgentDetectionResults("));CODE
1886 more matches not shown…
Decorative Section Separators190 hits · 566 pts
SeverityFileLineSnippetContext
MEDIUM⚡test/state.test.js7169// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUM⚡test/state.test.js7178// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js21// ── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/state.test.js402// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js404// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js678// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js680// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js806// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js808// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js1369// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js1371// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js1554// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js1556// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js1870// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js1872// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js4500// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js4502// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js6653// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js6655// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js6893// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js6895// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js7118// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js7120// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js7324// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js7328// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js7395// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js7400// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/win-foreground-terminal.test.js297// ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/win-foreground-terminal.test.js303// ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/doctor-local-server.test.js75 // ── #681: runtime IDENTITY, not just the port ─────────────────────────────COMMENT
MEDIUMtest/doctor-local-server.test.js75 // ── #681: runtime IDENTITY, not just the port ─────────────────────────────COMMENT
MEDIUMtest/pid-resolver-offline-gate.test.js63// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/pid-resolver-offline-gate.test.js65// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/pid-resolver-offline-gate.test.js154// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/pid-resolver-offline-gate.test.js156// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/pid-resolver-offline-gate.test.js187// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/pid-resolver-offline-gate.test.js189// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/pid-resolver-offline-gate.test.js318// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/pid-resolver-offline-gate.test.js320// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/pid-resolver-offline-gate.test.js364// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/pid-resolver-offline-gate.test.js366// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/pid-resolver-offline-gate.test.js395// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/pid-resolver-offline-gate.test.js397// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state-source-pid-merge.test.js27// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state-source-pid-merge.test.js29// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state-source-pid-merge.test.js108// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state-source-pid-merge.test.js110// ═══════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/permission-slack-announce.test.js598// ── Interaction kind and action target (review item 4) ──────────────────────COMMENT
MEDIUMtest/updater.test.js1603// ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/updater.test.js1610// ──────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/hook-pid-cache-contexts.test.js47// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/hook-pid-cache-contexts.test.js49// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/hook-pid-cache-contexts.test.js137// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/hook-pid-cache-contexts.test.js140// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/hook-pid-cache-contexts.test.js301// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/hook-pid-cache-contexts.test.js303// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/hook-pid-cache-contexts.test.js507// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/hook-pid-cache-contexts.test.js509// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/copilot-hook.test.js383// ─────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/copilot-hook.test.js385// ─────────────────────────────────────────────────────────────────────────COMMENT
130 more matches not shown…
Over-Commented Block465 hits · 409 pts
SeverityFileLineSnippetContext
LOWtest-oneshot-gate.sh1#!/bin/bashCOMMENT
LOWtools/generate-kirocrew-fallback-icon.js1#!/usr/bin/env nodeCOMMENT
LOWtools/copilot-permission-capture/e2e-hook.js1#!/usr/bin/env nodeCOMMENT
LOWtools/copilot-permission-capture/capture.js1#!/usr/bin/env nodeCOMMENT
LOWtest/permission-family-payload.test.js1// opencode-family payload ↔ renderer contract (plan §3.5/§9).COMMENT
LOWtest/state.test.js7161 // s0 is oldest ack-pending (smallest updatedAt) — must be the victim.COMMENT
LOWtest/pid-resolver-offline-gate.test.js1// test/pid-resolver-offline-gate.test.js — #681 Slice A1.COMMENT
LOWtest/state-source-pid-merge.test.js1// test/state-source-pid-merge.test.js — #681 Slice A1, server-side contract.COMMENT
LOWtest/opencode-family-jsonc.test.js501 });COMMENT
LOWtest/permission-slack-announce.test.js1// Slack "approval needed" announcements must describe reality.COMMENT
LOWtest/hook-pid-cache-contexts.test.js1"use strict";COMMENT
LOWtest/hook-pid-cache-contexts.test.js501 const r = runHook("reasonix-hook.js", { event: "PostToolUse", session_id: "default", cwd: "D:/repo", toolName: "bashCOMMENT
LOWtest/pet-window-runtime.test.js681 // I2's rebase formula: logical = actualPhysicalX + oldViewportOffsetX =COMMENT
LOWtest/pet-window-runtime.test.js701 // can exceed 250ms) — misjudging the pause as "grab ended" and acting onCOMMENT
LOWtest/pet-window-runtime.test.js761 // already computes for a 203px-wide window: Math.round(203 * 0.25) = 51;COMMENT
LOWtest/pet-window-runtime.test.js1181 // PR #751 rework batch A-5: each sub-case below used to advance the fakeCOMMENT
LOWtest/pet-window-runtime.test.js1221COMMENT
LOWtest/pet-window-runtime.test.js1321 assert.equal(COMMENT
LOWtest/pet-window-runtime.test.js1361 }, { force: true });COMMENT
LOWtest/pet-window-runtime.test.js1381 // stuck at gen2's original 1700 despite a real move having happened.COMMENT
LOWtest/pet-window-runtime.test.js1401 // "stale" closure actually read gen2's OWN CURRENT sweepGen by the timeCOMMENT
LOWtest/pet-window-runtime.test.js1421 clock.advance(50);COMMENT
LOWtest/pet-window-runtime.test.js1541 harness.runtime.getPetWindowBounds().x, 851,COMMENT
LOWtest/pet-window-runtime.test.js1561 // advances writeGen), that debt survives untouched all the way toCOMMENT
LOWtest/pet-window-runtime.test.js1761COMMENT
LOWtest/pet-window-runtime.test.js1881 // the reviewer's own exact counter-example timeline; coordinator-verifiedCOMMENT
LOWtest/pet-window-runtime.test.js1921COMMENT
LOWtest/pet-window-runtime.test.js2161 if (originalDebug === undefined) delete process.env.CLAWD_WINDOW_DEBUG;COMMENT
LOWtest/pet-window-runtime.test.js2181 // time — even though 5 real events genuinely happened — misclassifying aCOMMENT
LOWtest/pet-window-runtime.test.js2361 "the genuine external move after the consumption point must still correctly rebase (the bit must have been re-armeCOMMENT
LOWtest/pet-window-runtime.test.js2381 // C-2 (Codex B2): reproduces Codex's own dual-display counter-example.COMMENT
LOWtest/pet-window-runtime.test.js2441 // side itself. Same two-display topology as C-2 (left=eligible outerCOMMENT
LOWtest/pet-window-runtime.test.js2501 // out from under a rect that was never actually re-written.COMMENT
LOWtest/pet-window-runtime.test.js2541 assert.equal(harness.renderWin.getBounds().x, 1770, "sanity: software-clamped physical, no Mutter mock needed");COMMENT
LOWtest/pet-window-runtime.test.js2561 harness.runtime.syncHitWin();COMMENT
LOWtest/pet-window-runtime.test.js2581 clock.advance(300); // one hit reconcile cycle (past HIT_QUIET_MS)COMMENT
LOWtest/dashboard-quick-app-quit.test.js1"use strict";COMMENT
LOWtest/session-hud-style.test.js81 // color-vision deficiency.COMMENT
LOWtest/bubble-kimi-cue.test.js101COMMENT
LOWtest/cleanup-integrations.test.js481 assert.strictEqual(claudeAgent.error, "queue disposed");COMMENT
LOWtest/permission-auto-approve.test.js1// Permission automation chokepoint in showPermissionBubble.COMMENT
LOWtest/mini.test.js421 assert.equal(mini.getMiniMode(), true);COMMENT
LOWtest/permission-plan-feedback.test.js1// Tests for the ExitPlanMode "Tell Claude what to change" feedback path.COMMENT
LOWtest/permission-plan-feedback.test.js261 destroy: () => {},COMMENT
LOWtest/server-runtime-write.test.js1// test/server-runtime-write.test.js — #681 Slice A1, runtime write robustness.COMMENT
LOWtest/server-runtime-write.test.js181COMMENT
LOWtest/pid-cache-sanitized.test.js1// test/pid-cache-sanitized.test.js — #681 Slice A2, the privacy boundary.COMMENT
LOWtest/remote-ssh-runtime.test.js2261 const probe = children[1];COMMENT
LOWtest/telegram-approval-settings.test.js261 // test fails loudly if a future refactor re-introduces the read.COMMENT
LOWtest/dashboard-quick-scroll.test.js1"use strict";COMMENT
LOWtest/edge-virtualization.test.js1"use strict";COMMENT
LOWtest/edge-virtualization.test.js121const ISSUE_690_WORK_AREA = { x: 0, y: 0, width: 1920, height: 1080 };COMMENT
LOWtest/edge-virtualization.test.js161 // geometry change — it would fire a real ConfigureNotify/move event, notCOMMENT
LOWtest/edge-virtualization.test.js181 offsetRatio,COMMENT
LOWtest/edge-virtualization.test.js221 let cursor = { x: 100, y: 100 };COMMENT
LOWtest/edge-virtualization.test.js261 // (src/main.js's petWindowRuntime options) — a single shared counter hereCOMMENT
LOWtest/edge-virtualization.test.js501 afterEach(() => {COMMENT
LOWtest/edge-virtualization.test.js621 );COMMENT
LOWtest/edge-virtualization.test.js641 assert.equal(h.runtime.getPetWindowBounds().x, 1816, "logical X must settle at calcMiniX()'s resting position");COMMENT
LOWtest/edge-virtualization.test.js941COMMENT
405 more matches not shown…
Hallucination Indicators27 hits · 235 pts
SeverityFileLineSnippetContext
CRITICALtest/settings-renderer-browser-env.test.js8967 harness.core.state.mountedControls.size.dispose();CODE
CRITICALtest/settings-renderer-browser-env.test.js11012 harness.core.state.mountedControls.roamArea.chooseButton.dispatchEvent({ type: "click", bubbles: false });CODE
CRITICALtest/settings-renderer-browser-env.test.js11424 harness.core.state.mountedControls.generalSwitches.delete("showDock");CODE
CRITICALtest/settings-renderer-browser-env.test.js12485 assert.strictEqual(harness.core.state.transientUiState.generalSwitches.has("soundMuted"), false);CODE
CRITICALtest/settings-renderer-browser-env.test.js12521 assert.strictEqual(harness.core.state.transientUiState.generalSwitches.has("soundMuted"), false);CODE
CRITICALtest/settings-renderer-browser-env.test.js12538 const manage = harness.core.state.mountedControls.generalSwitches.get("manageClaudeHooksAutomatically");CODE
CRITICALtest/settings-renderer-browser-env.test.js12539 const autoStart = harness.core.state.mountedControls.generalSwitches.get("autoStartWithClaude");CODE
CRITICALtest/settings-renderer-browser-env.test.js12564 let autoStart = harness.core.state.mountedControls.generalSwitches.get("autoStartWithClaude");CODE
CRITICALtest/settings-renderer-browser-env.test.js12576 autoStart = harness.core.state.mountedControls.generalSwitches.get("autoStartWithClaude");CODE
CRITICALtest/settings-renderer-browser-env.test.js12587 autoStart = harness.core.state.mountedControls.generalSwitches.get("autoStartWithClaude");CODE
CRITICALtest/settings-renderer-browser-env.test.js12912 const autoStart = harness.core.state.mountedControls.generalSwitches.get("autoStartWithCodex");CODE
CRITICALtest/settings-renderer-browser-env.test.js12949 const notificationPolicy = harness.core.state.mountedControls.bubblePolicyControls.get("notificationBubbleAutoCloseSCODE
CRITICALtest/settings-renderer-browser-env.test.js13081 const notificationPolicy = harness.core.state.mountedControls.bubblePolicyControls.get("notificationBubbleAutoCloseSCODE
CRITICALtest/settings-renderer-browser-env.test.js13136 const notificationPolicy = harness.core.state.mountedControls.bubblePolicyControls.get("notificationBubbleAutoCloseSCODE
CRITICALtest/settings-renderer-browser-env.test.js13166 const notificationPolicy = harness.core.state.mountedControls.bubblePolicyControls.get("notificationBubbleAutoCloseSCODE
CRITICALtest/settings-renderer-browser-env.test.js15393 harness.core.runtime.agentInstallationHints.agents.map((agent) => agent.agentId),CODE
CRITICALtest/settings-renderer-browser-env.test.js15445 harness.core.runtime.agentInstallationHints.agents.map((entry) => entry.detectedInstalled),CODE
CRITICALtest/settings-renderer-browser-env.test.js16183 const permissionsSwitch = [...harness.core.state.mountedControls.agentSwitches.values()]CODE
CRITICALtest/settings-renderer-browser-env.test.js16220 const soundSwitch = [...harness.core.state.mountedControls.agentSwitches.values()]CODE
CRITICALtest/settings-renderer-browser-env.test.js16280 const subagentSwitch = [...harness.core.state.mountedControls.agentSwitches.values()]CODE
CRITICALtest/settings-renderer-browser-env.test.js16337 const subagentSwitch = [...harness.core.state.mountedControls.agentSwitches.values()]CODE
CRITICALtest/settings-renderer-browser-env.test.js16340 const permissionsSwitch = [...harness.core.state.mountedControls.agentSwitches.values()]CODE
CRITICALtest/settings-renderer-browser-env.test.js16374 const permissionsSwitch = [...harness.core.state.mountedControls.agentSwitches.values()]CODE
CRITICALtest/settings-renderer-browser-env.test.js16381 const notificationSwitch = [...harness.core.state.mountedControls.agentSwitches.values()]CODE
CRITICALtest/settings-renderer-browser-env.test.js16685 harness.core.state.mountedControls.animMapSwitches.set("clawd:error", {CODE
CRITICALtest/settings-renderer-browser-env.test.js16735 harness.core.state.mountedControls.animMapSwitches.set("clawd:error", {CODE
CRITICALtest/settings-renderer-browser-env.test.js16807 harness.core.state.mountedControls.animMapSwitches.set("clawd:error", {CODE
Cross-Language Confusion (JS/TS)44 hits · 160 pts
SeverityFileLineSnippetContext
HIGHtest/hermes-plugin.test.js132 return FalseCODE
HIGHtest/hermes-plugin.test.js182print(json.dumps({"events": [item["event"] for item in posts]}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js203 return NoneCODE
HIGHtest/hermes-plugin.test.js231print(json.dumps([{"event": item["event"], "session_id": item["session_id"]} for item in posts]))CODE
HIGHtest/hermes-plugin.test.js267print(json.dumps(posts, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js315print(json.dumps(posts[-1], sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js346print(json.dumps(posts[-1], sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js373 return NoneCODE
HIGHtest/hermes-plugin.test.js405print(json.dumps(cases, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js437 return NoneCODE
HIGHtest/hermes-plugin.test.js455print(json.dumps({"meta": meta, "payload": payload, "unresolved": unresolved}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js525print(json.dumps({"calls": calls, "meta": meta}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js575print(json.dumps({"calls": calls, "meta": meta}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js614 return NoneCODE
HIGHtest/hermes-plugin.test.js630print(json.dumps({CODE
HIGHtest/hermes-plugin.test.js691print(json.dumps({"results": results, "calls": calls, "events": events}))CODE
HIGHtest/hermes-plugin.test.js733 return FalseCODE
HIGHtest/hermes-plugin.test.js757print(json.dumps({"result": result, "calls": calls, "cached_port": mod._cached_port}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js812print(json.dumps({"received": received, "cached_port": mod._cached_port}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js845 return FalseCODE
HIGHtest/hermes-plugin.test.js874print(json.dumps({CODE
HIGHtest/hermes-plugin.test.js911print(json.dumps({"result": result, "calls": calls, "logs": logs}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js934print(json.dumps({"result": result, "hook_events": hook_events}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js964 return FalseCODE
HIGHtest/hermes-plugin.test.js980print(json.dumps({CODE
HIGHtest/hermes-plugin.test.js1017print(json.dumps({"calls": calls, "logs": logs, "cached_port": mod._cached_port}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js1051print(json.dumps({"result": result, "calls": calls}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js1096print(json.dumps({CODE
HIGHtest/hermes-plugin.test.js1124print(json.dumps({"identity": identity, "reason": reason, "calls": calls, "logs": logs}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js1147print(json.dumps({"result": result, "calls": calls, "logs": logs}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js1186print(json.dumps({"calls": calls}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js1227print(json.dumps({"result": result, "calls": calls}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js1265print(json.dumps({"result": result, "calls": calls, "logs": logs}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js1312print(json.dumps({CODE
HIGHtest/hermes-plugin.test.js1336print(json.dumps({CODE
HIGHtest/hermes-plugin.test.js1389print(json.dumps({"log_text": log_text, "safe": safe}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js1432print(json.dumps({CODE
HIGHtest/hermes-plugin.test.js1452print(json.dumps({"agent_pid": payload.get("agent_pid")}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js1468print(json.dumps({"calls": calls, "secure": mod._ssh_secure_mode()}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js1496print(json.dumps({CODE
HIGHtest/hermes-plugin.test.js1511print(json.dumps({"orca": payload.get("orca_pane_key")}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js1545print(json.dumps({"identity": identity, "reason": reason, "calls": calls}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js1577print(json.dumps({"preferred": mod._hermes_home() == Path("/tmp/x")}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js1594print(json.dumps({"fallback": mod._hermes_home() == Path(os.environ["HERMES_HOME"])}, sort_keys=True))CODE
Modern AI Meta-Vocabulary10 hits · 32 pts
SeverityFileLineSnippetContext
MEDIUM⚡test/state.test.js7170// Qwen Code 0.16.1 self-submit filter — qwen's agentic loop fires a syntheticCOMMENT
MEDIUMdocs/releases/release-v0.6.0.md6- **Theme ecosystem** — fully pluggable theme system replacing hardcoded constants. Themes now define state-to-asset mapCODE
MEDIUMdocs/releases/release-v0.9.0.md13- **Mobile companion — read-only PWA LAN preview (M1)** (#391, #412, #419) - A new read-only mobile companion serves a sCODE
MEDIUMdocs/guides/setup-guide.md270The statusline installer preserves an existing third-party statusline unless you explicitly opt into chaining; see [AgenCODE
MEDIUMhooks/qwen-code-hook.js30// agentic-loop tool-result feedback, NOT user input. It used to flashCOMMENT
MEDIUMhooks/clawd-hook.js16// #634: the pid cache + lifecycle orchestration is owned by the shared resolverCOMMENT
MEDIUMhooks/clawd-hook.js799 // #627/#634: the per-session pid cache + lifecycle orchestration now livesCOMMENT
MEDIUM⚡src/state.js572// 2000ms window covers the agentic loop with ~2x headroom while still lettingCOMMENT
MEDIUM⚡src/state.js577// PostToolUseFailure (where the agentic loop may still self-submit), andCOMMENT
MEDIUMsrc/state.js2766 // Qwen Code 0.16.1 self-submit guard. qwen's agentic loop fires a syntheticCOMMENT
Empty Error Handlers5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHhooks/hermes-plugin/__init__.py226except Exception:CODE
HIGHhooks/hermes-plugin/__init__.py137except Exception:CODE
HIGHhooks/hermes-plugin/__init__.py715except Exception:CODE
HIGHhooks/hermes-plugin/__init__.py875except Exception:CODE
HIGHhooks/hermes-plugin/__init__.py437except Exception:CODE
Excessive Try-Catch Wrapping28 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMhooks/hermes-plugin/__init__.py231def _read_runtime_port() -> Optional[int]:CODE
MEDIUMhooks/hermes-plugin/__init__.py242def _read_remote_identity() -> Tuple[Optional[Dict[str, Any]], str]:CODE
LOW⚡hooks/hermes-plugin/__init__.py742 except Exception:CODE
LOW⚡hooks/hermes-plugin/__init__.py756 except Exception:CODE
LOW⚡hooks/hermes-plugin/__init__.py759 except Exception:CODE
LOW⚡hooks/hermes-plugin/__init__.py875 except Exception:CODE
LOW⚡hooks/hermes-plugin/__init__.py885 except Exception as exc:CODE
LOW⚡hooks/hermes-plugin/__init__.py902 except Exception as exc:CODE
LOWhooks/hermes-plugin/__init__.py27except Exception:CODE
LOWhooks/hermes-plugin/__init__.py137 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py174 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py226 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py237 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py247 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py338 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py437 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py454 except Exception as exc:CODE
LOWhooks/hermes-plugin/__init__.py513 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py588 except Exception as exc:CODE
LOWhooks/hermes-plugin/__init__.py622 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py639 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py687 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py715 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py985 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py1245 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py1274 except Exception as exc:CODE
LOWhooks/hermes-plugin/__init__.py1358 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py1406 except Exception:CODE
Verbosity Indicators12 hits · 20 pts
SeverityFileLineSnippetContext
LOWtest/gemini-log-monitor.test.js128 // Step 1: user message → thinkingCOMMENT
LOW⚡test/gemini-log-monitor.test.js145 // Step 2: 300ms — gemini text, no toolCalls (deferred idle starts)COMMENT
LOW⚡test/gemini-log-monitor.test.js153 // Step 3: 800ms — toolCalls arrive (within 2s defer) → cancel idle, emit attentionCOMMENT
LOWtest/gemini-log-monitor.test.js275 // Step 1: user messageCOMMENT
LOWtest/gemini-log-monitor.test.js287 // Step 2: gemini with tools → attention, turnHasTools=trueCOMMENT
LOWtest/gemini-log-monitor.test.js299 // Step 3: follow-up text (no tools) → should be SKIPPED (turnHasTools=true)COMMENT
LOWtest/gemini-log-monitor.test.js323 // Step 1: user messageCOMMENT
LOWtest/gemini-log-monitor.test.js335 // Step 2: gemini with tools → attention, turnHasTools=trueCOMMENT
LOWtest/gemini-log-monitor.test.js347 // Step 3: new user message → resets turnHasToolsCOMMENT
LOWtest/gemini-log-monitor.test.js360 // Step 4: gemini text without tools → should NOT be skipped (new turn, turnHasTools reset)COMMENT
LOW⚡src/settings-actions.js2440 // Step 1: always disable every managed target so a failed disk cleanup canCOMMENT
LOWsrc/settings-actions.js2468 // Step 2: decide `integrationInstalled` from the per-agent disk result.COMMENT
Structural Annotation Overuse12 hits · 20 pts
SeverityFileLineSnippetContext
LOWtest/gemini-log-monitor.test.js128 // Step 1: user message → thinkingCOMMENT
LOW⚡test/gemini-log-monitor.test.js145 // Step 2: 300ms — gemini text, no toolCalls (deferred idle starts)COMMENT
LOW⚡test/gemini-log-monitor.test.js153 // Step 3: 800ms — toolCalls arrive (within 2s defer) → cancel idle, emit attentionCOMMENT
LOWtest/gemini-log-monitor.test.js275 // Step 1: user messageCOMMENT
LOWtest/gemini-log-monitor.test.js287 // Step 2: gemini with tools → attention, turnHasTools=trueCOMMENT
LOWtest/gemini-log-monitor.test.js299 // Step 3: follow-up text (no tools) → should be SKIPPED (turnHasTools=true)COMMENT
LOWtest/gemini-log-monitor.test.js323 // Step 1: user messageCOMMENT
LOWtest/gemini-log-monitor.test.js335 // Step 2: gemini with tools → attention, turnHasTools=trueCOMMENT
LOWtest/gemini-log-monitor.test.js347 // Step 3: new user message → resets turnHasToolsCOMMENT
LOWtest/gemini-log-monitor.test.js360 // Step 4: gemini text without tools → should NOT be skipped (new turn, turnHasTools reset)COMMENT
LOW⚡src/settings-actions.js2440 // Step 1: always disable every managed target so a failed disk cleanup canCOMMENT
LOWsrc/settings-actions.js2468 // Step 2: decide `integrationInstalled` from the per-agent disk result.COMMENT
Synthetic Comment Markers3 hits · 20 pts
SeverityFileLineSnippetContext
HIGHtest/pet-window-runtime.test.js2240 // write landed exactly as requested) and takes (a) — pre-fix, (a) leftCOMMENT
HIGHdocs/releases/release-v1.3.0.md16- **Session titles** (#1127; issue #1125) — shows AI-generated Claude Code CLICODE
HIGHsrc/pet-window-runtime.js1012 // (a) our own write landed exactly as requested.COMMENT
AI Slop Vocabulary6 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUMtest/remote-ssh-codespaces-harness.test.js18test("#546 manual harness is tracked, isolated, and never uses broad process cleanup", () => {CODE
MEDIUMtest/remote-ssh-codespaces-harness.test.js51test("#546 V10 readiness harness uses a test-only identity and exact cleanup", () => {CODE
MEDIUMtest/edge-virtualization.test.js274 // (1 per write, from the runtime's own tail-end call only) — a robustCOMMENT
MEDIUMtest/bubble-format.test.js211 // server is always second-to-last, tool is last — robust to extra prefixes.COMMENT
MEDIUMhooks/opencode-family-install.js1476 // to the REAL ~/.config, which is how #825's verification harness firstCOMMENT
MEDIUMsrc/remote-ssh-deploy.js483 // with .trim(), so it's robust to either, but no-newline avoidsCOMMENT
Fake / Example Data10 hits · 10 pts
SeverityFileLineSnippetContext
LOWtest/settings-icons.test.js58 const placeholder = icons.getIcon("placeholder");CODE
LOWtest/settings-icons.test.js66 assert.strictEqual(icons.getIcon("no-such-tab-xyz"), icons.getIcon("placeholder"));CODE
LOWtest/contribution-template-parity.test.js59 hasPlaceholder: hasOwn(attributes, "placeholder"),CODE
LOWtest/session-history-loader.test.js201 writeTranscript("placeholder", projectCwd); // gives projectCwd its own directoryCODE
LOWtest/session-history-loader.test.js219 writeTranscript("placeholder", projectCwd); // the ENOENT branch needs the dir to existCODE
LOWtest/claude-statusline-local-chain.test.js279 const f = fixture(process.platform, { type: "command", command: "placeholder", padding: 4 });CODE
LOWsrc/settings-renderer.js60 div.className = "placeholder";CODE
LOWsrc/settings-renderer.js62 `<div class="placeholder-icon">${getTabIcon("placeholder")}</div>` +CODE
LOWsrc/settings-tab-agents.js94 empty.className = "placeholder";CODE
LOWsrc/settings-tab-theme.js104 empty.className = "placeholder";CODE
Deep Nesting5 hits · 2 pts
SeverityFileLineSnippetContext
LOWhooks/hermes-plugin/__init__.py242CODE
LOWhooks/hermes-plugin/__init__.py393CODE
LOWhooks/hermes-plugin/__init__.py467CODE
LOWhooks/hermes-plugin/__init__.py801CODE
LOWhooks/hermes-plugin/__init__.py1318CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtest-macos.sh95# Check if the state server received itCOMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWci/wayland-smoke.sh4# Usage:COMMENT
Unused Imports1 hit · 0 pts
SeverityFileLineSnippetContext
LOWhooks/hermes-plugin/__init__.py8CODE