一个用于在 macOS 上平滑你的鼠标滚动效果或单独设置滚动方向的小工具, 让你的滚轮爽如触控板 | A lightweight tool used to smooth scrolling and set scroll direction independently for your mouse on macOS
This report summarizes scanner evidence for Caldis/Mos, a Swift project with 21,792 GitHub stars. SynthScan examined 93,659 lines of code across 447 source files, recording 96 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 1.4 (Low 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.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 93 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 7 finding(s).
Which changes need focused human review? 96 finding(s).
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.
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.
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.
The scanner identified 96 distinct pattern matches across 7 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | MosTests/ScrollCoreHotkeyTests.swift | 1 | // | COMMENT |
| LOW | MosTests/OptionsScrollDefaultsTests.swift | 1 | import XCTest | COMMENT |
| LOW | MosTests/RemovingRegexUTF16RangeTests.swift | 1 | // | COMMENT |
| LOW | website/next-env.d.ts | 1 | /// <reference types="next" /> | COMMENT |
| LOW | website/app/wall/useViewport.ts | 101 | // It is its own little camera that follows the notes camera but attenuated by | COMMENT |
| LOW | website/app/components/Wall/StickyNote.tsx | 241 | COMMENT | |
| LOW | website/app/components/Wall/stars.ts | 1 | // Real stars — HYG v4.1 (Hipparcos + Yale BSC + Gliese), visual magnitude ≤ 7.6. | COMMENT |
| LOW | website/app/services/wall.ts | 21 | // Sticky square size + safe insets used by both the canvas and drag constraints. | COMMENT |
| LOW | website/app/services/wall.ts | 101 | COMMENT | |
| LOW | website/server/wrangler.toml | 61 | database_id = "896f4475-222f-483e-9381-4031108764fd" | COMMENT |
| LOW | website/server/pnpm-workspace.yaml | 1 | # Standalone pnpm workspace root. Its presence stops pnpm from walking up into | COMMENT |
| LOW | website/server/src/features/wall.ts | 61 | }; | COMMENT |
| LOW | website/server/src/features/wall.ts | 301 | COMMENT | |
| LOW | website/server/src/lib/admin.ts | 1 | // Admin authentication for panel moderation. A single shared secret | COMMENT |
| LOW | website/server/src/lib/moderation.ts | 1 | // Content moderation for user-submitted text. Pure and dependency-free so the | COMMENT |
| LOW | website/server/src/lib/moderation.ts | 21 | // so legit product mentions like "Mos.app" or "foo.dev" don't trip — those are | COMMENT |
| LOW | website/server/src/lib/geo.ts | 1 | // Resolves the country code to store with a wall note. Order of preference: | COMMENT |
| LOW | Mos/Shortcut/OpenTargetPayload.swift | 1 | // | COMMENT |
| LOW | Mos/Shortcut/ModifierFlagsProviding.swift | 1 | // | COMMENT |
| LOW | Mos/Shortcut/ShortcutManager.swift | 1 | // | COMMENT |
| LOW | Mos/Shortcut/ShortcutManager.swift | 21 | } | COMMENT |
| LOW | Mos/Shortcut/ScrollActionPort.swift | 1 | // | COMMENT |
| LOW | Mos/Shortcut/ShortcutExecutor.swift | 661 | } | COMMENT |
| LOW | Mos/Extension/CGEvent+Extensions.swift | 1 | // | COMMENT |
| LOW | Mos/InputEvent/InputProcessor.swift | 1 | // | COMMENT |
| LOW | Mos/InputEvent/InputEvent.swift | 1 | // | COMMENT |
| LOW | Mos/Utils/Utils.swift | 1 | // | COMMENT |
| LOW | Mos/Logi/Divert/DivertPlanner.swift | 1 | // | COMMENT |
| LOW | Mos/Logi/Core/LogiCIDDirectory.swift | 1 | // | COMMENT |
| LOW | Mos/Logi/Core/SessionActivityStatus.swift | 1 | // | COMMENT |
| LOW | Mos/Logi/Core/LogiReceiverCatalog.swift | 1 | // | COMMENT |
| LOW | Mos/Logi/Core/LogiSessionManager.swift | 1 | // | COMMENT |
| LOW | Mos/Logi/Core/LogiSessionManager.swift | 221 | COMMENT | |
| LOW | Mos/Logi/Debug/LogiSelfTestRunner.swift | 1 | // | COMMENT |
| LOW | Mos/Components/Toast/ToastManager.swift | 1 | // | COMMENT |
| LOW | Mos/Components/Toast/Toast.swift | 1 | // | COMMENT |
| LOW | Mos/Components/Toast/Toast.swift | 21 | /// Toast.show("当前设备不支持此功能", style: .warning) | COMMENT |
| LOW | Mos/Keys/KeyRecorder.swift | 1 | // | COMMENT |
| LOW | Mos/Windows/MonitorWindow/Logger.swift | 41 | unacceleratedPointerMovementX: \(event.getDoubleValueField(.eventUnacceleratedPointerMovementX)) | COMMENT |
| LOW | …s/PreferencesWindow/PreferencesTabViewController.swift | 1 | // | COMMENT |
| LOW | …dows/PreferencesWindow/ButtonsView/RecordedEvent.swift | 1 | // | COMMENT |
| LOW | …rencesWindow/ButtonsView/OpenTargetConfigPopover.swift | 821 | } | COMMENT |
| LOW | …ferencesWindow/ButtonsView/ActionDisplayRenderer.swift | 1 | // | COMMENT |
| LOW | …Window/ButtonsView/ActivityPopoverViewController.swift | 1 | // | COMMENT |
| LOW | …referencesWindow/ButtonsView/ButtonTableCellView.swift | 701 | // MARK: - NSMenuDelegate | COMMENT |
| LOW | …erpowers/plans/2026-03-22-toast-component-evolution.md | 981 | COMMENT | |
| LOW | …erpowers/plans/2026-03-22-toast-component-evolution.md | 1001 | /// ```swift | COMMENT |
| LOW | …erpowers/plans/2026-03-22-toast-component-evolution.md | 1021 | /// 红色强调, 用于错误 | COMMENT |
| LOW | …/superpowers/plans/2026-03-21-logitech-cid-registry.md | 41 | ```swift | COMMENT |
| LOW | …perpowers/plans/2026-03-16-logitech-hid-integration.md | 61 | // 统一输入事件 - 抽象 CGEventTap 和 HID++ 两种事件源 | COMMENT |
| LOW | …s/specs/2026-04-25-logi-module-consolidation-design.md | 161 | // not the live class. External code never holds a session reference. | COMMENT |
| LOW | …s/specs/2026-04-25-logi-module-consolidation-design.md | 321 | ### 4.4 LogiExternalBridge | COMMENT |
| LOW | scripts/qa/lint-logi-boundary.sh | 1 | #!/usr/bin/env bash | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tools/hidpp/divert-debug.swift | 48 | // Step 1: Discover REPROG | COMMENT |
| LOW⚡ | tools/hidpp/divert-debug.swift | 55 | // Step 2: Get control count | COMMENT |
| LOW⚡ | tools/hidpp/divert-debug.swift | 61 | // Step 3: Enumerate divertable controls | COMMENT |
| LOW⚡ | tools/hidpp/divert-debug.swift | 76 | // Step 4: TEST A - 顺序 divert (等待每个 ACK) | COMMENT |
| LOW⚡ | tools/hidpp/divert-debug.swift | 84 | // Step 5: 验证 divert 状态 (GetControlReporting, function 2) | COMMENT |
| LOW | tools/hidpp/divert-debug.swift | 97 | // Step 6: 捕获按键 (10 秒) | COMMENT |
| LOW | tools/hidpp/divert-debug.swift | 125 | // Step 7: Undivert | COMMENT |
| LOW | .agents/skills/release-preparation/SKILL.md | 64 | ### Step 0: Build, Sign & Notarize | COMMENT |
| LOW | .agents/skills/release-preparation/SKILL.md | 124 | ### Step 1: Package Zip | COMMENT |
| LOW | .agents/skills/release-preparation/SKILL.md | 140 | ### Step 2: Generate Changelog | COMMENT |
| LOW | .agents/skills/release-preparation/SKILL.md | 183 | ### Step 3: Interactive Confirm | COMMENT |
| LOW | .agents/skills/release-preparation/SKILL.md | 189 | ### Step 4: Sign & Update Appcast | COMMENT |
| LOW⚡ | .agents/skills/release-preparation/SKILL.md | 205 | ### Step 5: Commit Appcast | COMMENT |
| LOW⚡ | .agents/skills/release-preparation/SKILL.md | 213 | ### Step 6: Create GitHub Draft | COMMENT |
| LOW⚡ | .agents/skills/release-preparation/SKILL.md | 221 | ### Step 7: Verify | COMMENT |
| LOW⚡ | .agents/skills/release-preparation/SKILL.md | 230 | ### Step 8: User-Confirmed Push + Human Publish | COMMENT |
| LOW | Mos/Logi/LogiCenter.swift | 11 | // Step 3: registry added; Step 4: bridge filled in) | COMMENT |
| LOW | …erpowers/plans/2026-04-25-logi-module-consolidation.md | 100 | ## Step 0: Pre-refactor cleanup | COMMENT |
| LOW | …erpowers/plans/2026-04-25-logi-module-consolidation.md | 246 | ## Step 1: Rename Logitech* → Logi* | COMMENT |
| LOW | …erpowers/plans/2026-04-25-logi-module-consolidation.md | 698 | ## Step 2: LogiCenter facade | COMMENT |
| LOW | …erpowers/plans/2026-04-25-logi-module-consolidation.md | 791 | // Step 3: registry added; Step 4: bridge filled in) | COMMENT |
| LOW | …erpowers/plans/2026-04-25-logi-module-consolidation.md | 1263 | ## Step 3: UsageRegistry + LogiUsageBootstrap + preference panel migration | COMMENT |
| LOW | …erpowers/plans/2026-04-25-logi-module-consolidation.md | 2398 | ## Step 4: Bridge inversion | COMMENT |
| LOW | …erpowers/plans/2026-04-25-logi-module-consolidation.md | 2804 | ## Step 5: Subdirectory tidy + ConflictDetector update + Self-Test Wizard + lint | COMMENT |
| LOW | …erpowers/specs/2026-04-26-open-target-action-design.md | 194 | // Step 1: Parse the outer JSON array without decoding individual elements | COMMENT |
| LOW | …erpowers/specs/2026-04-26-open-target-action-design.md | 201 | // Step 2: Try-decode each binding individually; skip & log failures | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tools/hidpp/divert-debug.swift | 48 | // Step 1: Discover REPROG | COMMENT |
| LOW⚡ | tools/hidpp/divert-debug.swift | 55 | // Step 2: Get control count | COMMENT |
| LOW⚡ | tools/hidpp/divert-debug.swift | 61 | // Step 3: Enumerate divertable controls | COMMENT |
| LOW⚡ | tools/hidpp/divert-debug.swift | 76 | // Step 4: TEST A - 顺序 divert (等待每个 ACK) | COMMENT |
| LOW⚡ | tools/hidpp/divert-debug.swift | 84 | // Step 5: 验证 divert 状态 (GetControlReporting, function 2) | COMMENT |
| LOW | tools/hidpp/divert-debug.swift | 97 | // Step 6: 捕获按键 (10 秒) | COMMENT |
| LOW | tools/hidpp/divert-debug.swift | 125 | // Step 7: Undivert | COMMENT |
| LOW | Mos/Logi/LogiCenter.swift | 11 | // Step 3: registry added; Step 4: bridge filled in) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | website/app/wall/wheelGesture.ts | 75 | // ── Tunables ───────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/app/wall/wheelGesture.ts | 99 | // ── Types ──────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | website/app/wall/wheelGesture.ts | 119 | // ── Pure classifier ────────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | website/app/page.tsx | 36 | function HomepageStructuredSummary() { | CODE |
| LOW | …e/app/components/EasingPlayground/EasingPlayground.tsx | 17 | function generateDurationTransition(duration: number) { | CODE |
| LOW | website/app/i18n/context.tsx | 57 | function mapBrowserLanguageToSupported(langRaw: string): Language | null { | CODE |
| LOW | website/app/i18n/context.tsx | 79 | function defaultLanguageFromBrowser(): Language { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …bsite/app/components/SmoothScroll/SmoothScrollDemo.tsx | 84 | // float; the transform wraps it by one list-copy height for a seamless loop. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/release/create_gh_draft.sh | 28 | # Check if release already exists | COMMENT |