Repository Analysis

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.

6.5 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of rullerzhou-afk/clawd-on-desk, a JavaScript project with 6,064 GitHub stars. SynthScan v2.0 examined 431,094 lines of code across 978 source files, recording 2246 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 6.5 places this repository in the Low 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).

6.5
Adjusted Score
6.5
Raw Score
100%
Time Factor
2026-08-29
Last Push
6.1K
Stars
JavaScript
Language
431.1K
Lines of Code
978
Files
2.2K
Pattern Hits
2026-08-29
Scan Date
0.05
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 26HIGH 25MEDIUM 177LOW 2018

Directory Score Breakdown

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

Pattern Findings

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

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hyper-Verbose Identifiers1626 hits · 1564 pts
SeverityFileLineSnippetContext
LOWtest/server-hook-management.test.js19function createGuardedIntegrationCtx(target, calls) {CODE
LOWtest/server-hook-management.test.js213function healthyClaudeSettingsWithThirdPartyHook() {CODE
LOWtest/server-hook-management.test.js1028function makeServerWithLiveAutoStart(initialValue) {CODE
LOWtest/state-agent-icons.test.js112function shouldCheckRuntimeIconEntry(entry) {CODE
LOWtest/claude-hook-health.test.js535 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/dashboard.test.js12function loadDashboardWithElectron(fakeElectron) {CODE
LOWtest/dashboard.test.js759 async function assertFailedPreScaleFlushRetries({ asyncFailure, moved }) {CODE
LOWtest/dashboard.test.js832 async function assertOlderAsyncCompletionPreservesNewerDebt(firstResponse) {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.js636function wireNativeGeometryListeners(harness) {CODE
LOWtest/pet-window-runtime.test.js1051function makeInsetMutterClampedWindow(bounds, { rightInset = 0 } = {}) {CODE
LOWtest/focus-mac-extras.test.js18function setupHermeticSupersetHome({ withDb = true } = {}) {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.js156function 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/cleanup-integrations.test.js498 function assertOnlyClawdHooksRemoved(settingsPath) {CODE
LOWtest/accessory-theme-capability.test.js34function assertDeclaredTargetsExist(themeId, raw) {CODE
LOWtest/permission-family-lifecycle.test.js27function loadPermissionWithElectron(fakeElectron) {CODE
LOWtest/permission-family-lifecycle.test.js116function assertSecretAbsentFromLifecycleLogs(harness, secret) {CODE
LOWtest/readme-contributors.test.js141function extractContributorSection(markdown, filename) {CODE
LOWtest/permission-codex-response.test.js9function loadPermissionWithElectron(fakeElectron = null) {CODE
LOWtest/permission-codex-response.test.js32function createCodexDecisionHarness() {CODE
LOWtest/copilot-install.test.js40function makeTempHomeWithoutCopilot() {CODE
LOWtest/settings-controller.test.js1476 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.js38function envWithoutTerminalIdentity() {CODE
LOWtest/permission-notify-autoclose.test.js16function loadPermissionWithElectron(fakeElectron) {CODE
LOWtest/settings-effect-router.test.js12function createFakeSettingsController(initialSnapshot = {}) {CODE
LOWtest/settings-renderer-browser-env.test.js11808 assert.ok(coreSource.includes("function readCustomToolDetectionResults("));CODE
LOWtest/settings-renderer-browser-env.test.js11809 assert.ok(coreSource.includes("function readCustomAgentDetectionResults("));CODE
LOWtest/settings-renderer-browser-env.test.js11811 assert.ok(agentsSource.includes("function buildCustomToolResultRows("));CODE
LOWtest/settings-renderer-browser-env.test.js432function loadSharedLanguagePickerForTest({CODE
LOWtest/settings-renderer-browser-env.test.js569function loadGeneralLanguageRowForTest({CODE
LOWtest/settings-renderer-browser-env.test.js857function createKeyboardEventForTest(key) {CODE
LOWtest/settings-renderer-browser-env.test.js1407function loadTelegramApprovalTabForTest({CODE
LOWtest/settings-renderer-browser-env.test.js1695function createFeishuCredentialDraftLifecycleHarness({CODE
LOWtest/settings-renderer-browser-env.test.js1762function fillFeishuCredentialDraft(card, prefix) {CODE
LOWtest/settings-renderer-browser-env.test.js1777async function openFeishuCredentialReplacementEditor(harness, prefix) {CODE
LOWtest/settings-renderer-browser-env.test.js1790function loadDiscordPresenceTabForTest({ snapshot, update } = {}) {CODE
LOWtest/settings-renderer-browser-env.test.js1867function createFeishuLookupPreflightHarness({CODE
LOWtest/settings-renderer-browser-env.test.js1953function assertVisibleFeishuLookupPreflight(card, lookupButton, expectedMessage) {CODE
LOWtest/settings-renderer-browser-env.test.js2051function loadAnimOverridesTabForTest({CODE
LOWtest/settings-renderer-browser-env.test.js2206function createAnimOverridesRuntime(card, overrides = {}) {CODE
LOWtest/settings-renderer-browser-env.test.js8940 assert.ok(generalSource.includes("function buildRoamMovementStyleRow()"));CODE
LOWtest/settings-renderer-browser-env.test.js9249 assert.ok(generalSource.includes("function buildSessionHudOptionsList("));CODE
LOWtest/settings-renderer-browser-env.test.js9472 assert.ok(coreSource.includes("function clearTransientStateForChanges(changes)"));CODE
LOWtest/settings-renderer-browser-env.test.js10883 assert.ok(tabSource.includes("function supportsThemeCustomization(theme)"));CODE
1566 more matches not shown…
Decorative Section Separators161 hits · 477 pts
SeverityFileLineSnippetContext
MEDIUMtest/state.test.js5551// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js5560// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js18// ── Helpers ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMtest/state.test.js231// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js233// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js503// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js505// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js610// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js612// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js1145// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js1147// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js1330// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js1332// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js1598// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js1600// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js3656// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js3658// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js5109// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js5111// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js5275// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js5277// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js5500// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js5502// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js5706// ═════════════════════════════════════════════════════════════════════════════COMMENT
MEDIUMtest/state.test.js5710// ═════════════════════════════════════════════════════════════════════════════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
MEDIUMtest/slack-notify-client.test.js316// ── Delivery is a queue, not a fan-out ──────────────────────────────────────COMMENT
MEDIUMtest/slack-notify-client.test.js969// ── Startup recovery ────────────────────────────────────────────────────────COMMENT
101 more matches not shown…
Over-Commented Block338 hits · 295 pts
SeverityFileLineSnippetContext
LOWtest-oneshot-gate.sh1#!/bin/bashCOMMENT
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.js5541 seed(api, 20, new Set([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]));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.js581 assert.equal(runtime.looseClampPetToDisplays(0, 10_000, 200, 200).y, 600);COMMENT
LOWtest/pet-window-runtime.test.js681 851,COMMENT
LOWtest/pet-window-runtime.test.js1061COMMENT
LOWtest/pet-window-runtime.test.js1321 // but mechanistically identical side effect discovered while implementingCOMMENT
LOWtest/pet-window-runtime.test.js1341 harness.runtime.applyPetWindowBounds({COMMENT
LOWtest/pet-window-runtime.test.js1361 const renderWin = harness.renderWin;COMMENT
LOWtest/pet-window-runtime.test.js1381 harness.runtime.getPetWindowBounds().x,COMMENT
LOWtest/pet-window-runtime.test.js1421 clock.advance(50); // t=100, well within gen2's own settle window (until t=450)COMMENT
LOWtest/pet-window-runtime.test.js1541 // KNOWN-WRONG edge case ("semantics to be revisited with P1-4"). C-1'sCOMMENT
LOWtest/pet-window-runtime.test.js1561 // means the generation never turns over). `fromSettleSweep` is true purelyCOMMENT
LOWtest/pet-window-runtime.test.js1761 //COMMENT
LOWtest/pet-window-runtime.test.js1801 // lastLogicalBounds, then unconditionally fall through to the Y offsetCOMMENT
LOWtest/pet-window-runtime.test.js1921 // purely on clamp-explainability, not the settle-window grace periodCOMMENT
LOWtest/pet-window-runtime.test.js2161// own new code and found 5 further blocking issues plus 2 non-blocking ones,COMMENT
LOWtest/pet-window-runtime.test.js2221 "the settle sweep must rebase to the actual position a real event chain reported, not adopt-clamp it as if nothingCOMMENT
LOWtest/pet-window-runtime.test.js2361 // WRITE time, independent of whether any native event ever arrives),COMMENT
LOWtest/pet-window-runtime.test.js2381 // be explained through (right) was never eligible.COMMENT
LOWtest/pet-window-runtime.test.js2441 // target, applyPetWindowBounds()'s own same-rect skipCOMMENT
LOWtest/pet-window-runtime.test.js2481 );COMMENT
LOWtest/pet-window-runtime.test.js2501 // of whatever the software's OWN inset-learning state is — so once theCOMMENT
LOWtest/pet-window-runtime.test.js2541 assert.equal(setBoundsCallsAfterFirstSync, 1, "sanity: the first sync is a genuine write");COMMENT
LOWtest/pet-window-runtime.test.js2581COMMENT
LOWtest/session-hud-style.test.js81 // color-vision deficiency.COMMENT
LOWtest/bubble-kimi-cue.test.js101COMMENT
LOWtest/permission-auto-approve.test.js1// Permission automation chokepoint in showPermissionBubble.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/telegram-approval-settings.test.js261 // test fails loudly if a future refactor re-introduces the read.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
LOWtest/edge-virtualization.test.js961 );COMMENT
LOWtest/edge-virtualization.test.js981 // could see this — this is the first assembly wiring both sides to theCOMMENT
LOWtest/edge-virtualization.test.js1021 // exit must consume the deferred topology change) — using this harness'sCOMMENT
LOWtest/edge-virtualization.test.js1061 "miniPeekIn()'s own exit must consume the deferred topology change AND preserve peek semantics: the new resting poCOMMENT
LOWtest/topmost-runtime.test.js361 });COMMENT
LOWtest/topmost-runtime.test.js1001 // setImeEditingPetDodge() dedupes against its own `imeEditingPetDodge`COMMENT
LOWtest/antigravity-install.test.js601 const command = __test.buildAntigravityHookCommand(COMMENT
LOWtest/antigravity-install.test.js661 // #568: [Console]::In.ReadToEnd() blocks forever when the runner neverCOMMENT
278 more matches not shown…
Hallucination Indicators26 hits · 230 pts
SeverityFileLineSnippetContext
CRITICALtest/settings-renderer-browser-env.test.js9180 harness.core.state.mountedControls.roamArea.chooseButton.dispatchEvent({ type: "click", bubbles: false });CODE
CRITICALtest/settings-renderer-browser-env.test.js9546 harness.core.state.mountedControls.generalSwitches.delete("showDock");CODE
CRITICALtest/settings-renderer-browser-env.test.js10279 assert.strictEqual(harness.core.state.transientUiState.generalSwitches.has("soundMuted"), false);CODE
CRITICALtest/settings-renderer-browser-env.test.js10315 assert.strictEqual(harness.core.state.transientUiState.generalSwitches.has("soundMuted"), false);CODE
CRITICALtest/settings-renderer-browser-env.test.js10332 const manage = harness.core.state.mountedControls.generalSwitches.get("manageClaudeHooksAutomatically");CODE
CRITICALtest/settings-renderer-browser-env.test.js10333 const autoStart = harness.core.state.mountedControls.generalSwitches.get("autoStartWithClaude");CODE
CRITICALtest/settings-renderer-browser-env.test.js10358 let autoStart = harness.core.state.mountedControls.generalSwitches.get("autoStartWithClaude");CODE
CRITICALtest/settings-renderer-browser-env.test.js10370 autoStart = harness.core.state.mountedControls.generalSwitches.get("autoStartWithClaude");CODE
CRITICALtest/settings-renderer-browser-env.test.js10381 autoStart = harness.core.state.mountedControls.generalSwitches.get("autoStartWithClaude");CODE
CRITICALtest/settings-renderer-browser-env.test.js10438 const autoStart = harness.core.state.mountedControls.generalSwitches.get("autoStartWithCodex");CODE
CRITICALtest/settings-renderer-browser-env.test.js10475 const notificationPolicy = harness.core.state.mountedControls.bubblePolicyControls.get("notificationBubbleAutoCloseSCODE
CRITICALtest/settings-renderer-browser-env.test.js10607 const notificationPolicy = harness.core.state.mountedControls.bubblePolicyControls.get("notificationBubbleAutoCloseSCODE
CRITICALtest/settings-renderer-browser-env.test.js10662 const notificationPolicy = harness.core.state.mountedControls.bubblePolicyControls.get("notificationBubbleAutoCloseSCODE
CRITICALtest/settings-renderer-browser-env.test.js10692 const notificationPolicy = harness.core.state.mountedControls.bubblePolicyControls.get("notificationBubbleAutoCloseSCODE
CRITICALtest/settings-renderer-browser-env.test.js12273 harness.core.runtime.agentInstallationHints.agents.map((agent) => agent.agentId),CODE
CRITICALtest/settings-renderer-browser-env.test.js12325 harness.core.runtime.agentInstallationHints.agents.map((entry) => entry.detectedInstalled),CODE
CRITICALtest/settings-renderer-browser-env.test.js12999 const permissionsSwitch = [...harness.core.state.mountedControls.agentSwitches.values()]CODE
CRITICALtest/settings-renderer-browser-env.test.js13036 const soundSwitch = [...harness.core.state.mountedControls.agentSwitches.values()]CODE
CRITICALtest/settings-renderer-browser-env.test.js13096 const subagentSwitch = [...harness.core.state.mountedControls.agentSwitches.values()]CODE
CRITICALtest/settings-renderer-browser-env.test.js13153 const subagentSwitch = [...harness.core.state.mountedControls.agentSwitches.values()]CODE
CRITICALtest/settings-renderer-browser-env.test.js13156 const permissionsSwitch = [...harness.core.state.mountedControls.agentSwitches.values()]CODE
CRITICALtest/settings-renderer-browser-env.test.js13190 const permissionsSwitch = [...harness.core.state.mountedControls.agentSwitches.values()]CODE
CRITICALtest/settings-renderer-browser-env.test.js13197 const notificationSwitch = [...harness.core.state.mountedControls.agentSwitches.values()]CODE
CRITICALtest/settings-renderer-browser-env.test.js13496 harness.core.state.mountedControls.animMapSwitches.set("clawd:error", {CODE
CRITICALtest/settings-renderer-browser-env.test.js13540 harness.core.state.mountedControls.animMapSwitches.set("clawd:error", {CODE
CRITICALtest/settings-renderer-browser-env.test.js13606 harness.core.state.mountedControls.animMapSwitches.set("clawd:error", {CODE
Cross-Language Confusion (JS/TS)23 hits · 108 pts
SeverityFileLineSnippetContext
HIGHtest/hermes-plugin.test.js103print(json.dumps({"events": [item["event"] for item in posts]}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js124 return NoneCODE
HIGHtest/hermes-plugin.test.js152print(json.dumps([{"event": item["event"], "session_id": item["session_id"]} for item in posts]))CODE
HIGHtest/hermes-plugin.test.js188print(json.dumps(posts, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js236print(json.dumps(posts[-1], sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js267print(json.dumps(posts[-1], sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js294 return NoneCODE
HIGHtest/hermes-plugin.test.js326print(json.dumps(cases, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js358 return NoneCODE
HIGHtest/hermes-plugin.test.js376print(json.dumps({"meta": meta, "payload": payload, "unresolved": unresolved}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js446print(json.dumps({"calls": calls, "meta": meta}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js496print(json.dumps({"calls": calls, "meta": meta}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js535 return NoneCODE
HIGHtest/hermes-plugin.test.js551print(json.dumps({CODE
HIGHtest/hermes-plugin.test.js608 return FalseCODE
HIGHtest/hermes-plugin.test.js632print(json.dumps({"result": result, "calls": calls, "cached_port": mod._cached_port}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js687print(json.dumps({"received": received, "cached_port": mod._cached_port}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js720 return FalseCODE
HIGHtest/hermes-plugin.test.js749print(json.dumps({CODE
HIGHtest/hermes-plugin.test.js786print(json.dumps({"result": result, "calls": calls, "logs": logs}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js809print(json.dumps({"result": result, "hook_events": hook_events}, sort_keys=True))CODE
HIGHtest/hermes-plugin.test.js839 return FalseCODE
HIGHtest/hermes-plugin.test.js855print(json.dumps({CODE
Modern AI Meta-Vocabulary9 hits · 30 pts
SeverityFileLineSnippetContext
MEDIUMtest/state.test.js5552// 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
MEDIUMhooks/qwen-code-hook.js30// agentic-loop tool-result feedback, NOT user input. It used to flashCOMMENT
MEDIUMhooks/clawd-hook.js13// #634: the pid cache + lifecycle orchestration is owned by the shared resolverCOMMENT
MEDIUMhooks/clawd-hook.js708 // #627/#634: the per-session pid cache + lifecycle orchestration now livesCOMMENT
MEDIUMsrc/state.js445// 2000ms window covers the agentic loop with ~2x headroom while still lettingCOMMENT
MEDIUMsrc/state.js450// PostToolUseFailure (where the agentic loop may still self-submit), andCOMMENT
MEDIUMsrc/state.js2018 // Qwen Code 0.16.1 self-submit guard. qwen's agentic loop fires a syntheticCOMMENT
Excessive Try-Catch Wrapping22 hits · 22 pts
SeverityFileLineSnippetContext
MEDIUMhooks/hermes-plugin/__init__.py190def _read_runtime_port() -> Optional[int]:CODE
LOWhooks/hermes-plugin/__init__.py512 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py526 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py529 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py645 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py655 except Exception as exc:CODE
LOWhooks/hermes-plugin/__init__.py672 except Exception as exc:CODE
LOWhooks/hermes-plugin/__init__.py185 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py196 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py248 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py265 except Exception as exc:CODE
LOWhooks/hermes-plugin/__init__.py327 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py359 except Exception as exc:CODE
LOWhooks/hermes-plugin/__init__.py392 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py409 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py457 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py485 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py755 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py1009 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py1038 except Exception as exc:CODE
LOWhooks/hermes-plugin/__init__.py1122 except Exception:CODE
LOWhooks/hermes-plugin/__init__.py1168 except Exception:CODE
Verbosity Indicators10 hits · 16 pts
SeverityFileLineSnippetContext
LOWtest/gemini-log-monitor.test.js128 // Step 1: user message → thinkingCOMMENT
LOWtest/gemini-log-monitor.test.js145 // Step 2: 300ms — gemini text, no toolCalls (deferred idle starts)COMMENT
LOWtest/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
Structural Annotation Overuse10 hits · 16 pts
SeverityFileLineSnippetContext
LOWtest/gemini-log-monitor.test.js128 // Step 1: user message → thinkingCOMMENT
LOWtest/gemini-log-monitor.test.js145 // Step 2: 300ms — gemini text, no toolCalls (deferred idle starts)COMMENT
LOWtest/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
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.js187 // server is always second-to-last, tool is last — robust to extra prefixes.COMMENT
MEDIUMhooks/opencode-family-install.js90 // to the REAL ~/.config, which is how #825's verification harness firstCOMMENT
MEDIUMsrc/remote-ssh-deploy.js424 // with .trim(), so it's robust to either, but no-newline avoidsCOMMENT
Synthetic Comment Markers2 hits · 15 pts
SeverityFileLineSnippetContext
HIGHtest/pet-window-runtime.test.js2232 // write landed exactly as requested) and takes (a) — pre-fix, (a) leftCOMMENT
HIGHsrc/pet-window-runtime.js995 // (a) our own write landed exactly as requested.COMMENT
Fake / Example Data6 hits · 6 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
LOWsrc/settings-renderer.js59 div.className = "placeholder";CODE
LOWsrc/settings-renderer.js61 `<div class="placeholder-icon">${getTabIcon("placeholder")}</div>` +CODE
LOWsrc/settings-tab-agents.js91 empty.className = "placeholder";CODE
LOWsrc/settings-tab-theme.js58 empty.className = "placeholder";CODE
Deep Nesting4 hits · 2 pts
SeverityFileLineSnippetContext
LOWhooks/hermes-plugin/__init__.py218CODE
LOWhooks/hermes-plugin/__init__.py277CODE
LOWhooks/hermes-plugin/__init__.py571CODE
LOWhooks/hermes-plugin/__init__.py1082CODE
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