AI Slop Code Risk Monitor

zai-org/ZCode

SlopCodeMonitor badge for zai-org/ZCode Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Z.ai's coding agent harness. Powerful, intelligent, extensible.

4.7 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for zai-org/ZCode, a TypeScript project with 8,707 GitHub stars. SynthScan examined 2,819,022 lines of code across 13999 source files, recording 12066 pattern matches distributed across 22 syntactic categories. The legacy adjusted pattern signal is 4.7 (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.

4.7
Adjusted Signal
4.7
Raw Pattern Score
100%
Time Factor
2026-11-16
Last Push
8.7K
Stars
TypeScript
Language
2.8M
Lines of Code
14.0K
Files
12.1K
Pattern Hits
2026-11-16
Scan Date
0.01
HC Hit Rate

Risk Review · Payload v1

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-11-16.

Cognitive Ownership Risk 18.9/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.8/100 · LOW

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

Agent Over-Engineering Ratio 19.3/100 · LOW

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

PR Review Velocity Impact 20.9/100 · LOW

Which changes need focused human review? 12066 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

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

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 26HIGH 47MEDIUM 358LOW 11635

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 12066 distinct pattern matches across 22 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 Identifiers10821 hits · 10952 pts
SeverityFileLineSnippetContext
LOW…lans/completed/2026-06-13-ssh-alias-workspace-title.md213function formatWorkspaceSidebarLabel(tab: WorkspaceTabState): string {CODE
LOW⚡…ser-use/2026-06-05-browser-use-mcp-integration-plan.md339export function getAutomationSurfaceWorkspaceKey(input: {CODE
LOW⚡…ser-use/2026-06-05-browser-use-mcp-integration-plan.md346export function buildAutomationSurfaceSessionId(input: {CODE
LOW⚡…ser-use/2026-06-05-browser-use-mcp-integration-plan.md355export function buildAutomationSurfaceInstanceId(input: {CODE
LOW…ser-use/2026-06-05-browser-use-mcp-integration-plan.md655export function resolveAutomationSurfaceFeaturePolicy(input: {CODE
LOW…ser-use/2026-06-05-browser-use-mcp-integration-plan.md854export function parseAutomationSurfacePartitionHint(raw: string | undefined) {CODE
LOW…ser-use/2026-06-05-browser-use-mcp-integration-plan.md862export function isAllowedAutomationSurfaceUrl(rawUrl: string): boolean {CODE
LOW…ser-use/2026-07-07-phase2-unified-browser-view-plan.md373export function buildBrowserViewStatePayload(CODE
LOW…browser-use/2026-07-07-agent-host-main-channel-spec.md27 export function createProtocolBrowserControlBroker(CODE
LOWdocs/superpowers/plans/2026-06-29-remote-skill-sync.md967export function shouldShowRemoteSkillSyncAction(params: {CODE
LOW⚡…rs/plans/2026-06-23-session-shell-environment-owner.md51export function getSessionShellEnvironment(CODE
LOW⚡…rs/plans/2026-06-23-session-shell-environment-owner.md55export function initializeSessionShellEnvironmentIfNeeded(CODE
LOW⚡…rs/plans/2026-06-23-session-shell-environment-owner.md60export function applySessionShellEnvironment(CODE
LOW⚡…rs/plans/2026-06-23-session-shell-environment-owner.md66export function getContextSourceShellDisplayName(CODE
LOW…rs/plans/2026-06-23-session-shell-environment-owner.md245export function buildContextHistoryEntries(CODE
LOW…rs/plans/2026-06-23-session-shell-environment-owner.md274export function refreshContextModelSnapshot(runtime: AgentRuntimeInternal): void {CODE
LOW…rs/plans/2026-06-23-session-shell-environment-owner.md338export function getSessionShellEnvironment(CODE
LOW…rs/plans/2026-06-23-session-shell-environment-owner.md355export function getContextSourceShellDisplayName(CODE
LOW…rs/plans/2026-06-23-session-shell-environment-owner.md361export function initializeSessionShellEnvironmentIfNeeded(CODE
LOW…rs/plans/2026-06-23-session-shell-environment-owner.md374export function applySessionShellEnvironment(CODE
LOW…rs/plans/2026-06-23-session-shell-environment-owner.md398function refreshPreConversationShellContext(CODE
LOW…rs/plans/2026-06-23-session-shell-environment-owner.md515export function initializeSessionShellEnvironmentIfNeeded(CODE
LOW…rs/plans/2026-06-23-session-shell-environment-owner.md603export async function persistSessionShellEnvironmentSnapshot(CODE
LOW…rs/plans/2026-06-23-session-shell-environment-owner.md616export async function restoreSessionShellEnvironmentSelectionForResume(CODE
LOW…rs/plans/2026-06-23-session-shell-environment-owner.md644export function announceSessionShellEnvironmentDriftAfterResume(CODE
LOW…/2026-04-19-internal-feature-effective-env-override.md149export function resolveInternalOnlyFeatureRuntimeOverrides(CODE
LOW…/2026-04-19-internal-feature-effective-env-override.md175export function resolveInternalOnlyFeatureGateState(params: {CODE
LOW…/2026-04-19-internal-feature-effective-env-override.md275export function useInternalOnlyFeatureVisibility(): boolean {CODE
LOW…owers/plans/2026-04-02-mention-panel-virtual-scroll.md133export function filterMentionItemsWithOptions(CODE
LOW…wers/plans/2026-08-20-draft-prewarm-runtime-rebuild.md129 export function useDraftRuntimeRebuildGate(params: {CODE
LOW…wers/plans/2026-08-20-draft-prewarm-runtime-rebuild.md330export function useDraftRuntimeRebuildGate(params: {CODE
LOW…s/plans/2026-07-24-browser-screenshot-negative-zoom.md348function resolveScreenshotMetricsScale(CODE
LOW…s/plans/2026-07-24-browser-screenshot-negative-zoom.md433function resolveScreenshotMetricsScale(CODE
LOW…s/plans/2026-07-24-browser-screenshot-negative-zoom.md448function buildViewportMetricsOverride(CODE
LOW…6-07-07-exit-plan-mode-plan-file-compact-continuity.md309export function resolveApprovedPlanFilePath(input: {CODE
LOW…6-07-07-exit-plan-mode-plan-file-compact-continuity.md351export async function readApprovedPlanFileReferenceEntry(input: {CODE
LOW…6-07-07-exit-plan-mode-plan-file-compact-continuity.md395function sanitizePlanFileSessionId(sessionId: SessionId | string): string {CODE
LOW…6-07-07-exit-plan-mode-plan-file-compact-continuity.md1176async function waitForPlanFileContaining(CODE
LOW…/plans/2026-06-10-model-switch-context-window-guard.md301function resolveModelEntryContextWindow(CODE
LOW…/plans/2026-06-10-model-switch-context-window-guard.md330export function resolveTargetModelContextWindow(CODE
LOW…/plans/2026-06-10-model-switch-context-window-guard.md553export async function runModelSwitchContextWindowGuard(CODE
LOW…owers/plans/2026-06-17-issue-report-auto-screenshot.md87export async function captureFeedbackScreenshotDraft(CODE
LOW…s/plans/2026-06-15-read-file-state-windows-path-key.md140export function createReadFileStatePathKey(CODE
LOW…s/plans/2026-06-15-read-file-state-windows-path-key.md160export function findStrictFullReadFileState(CODE
LOW…s/plans/2026-06-15-read-file-state-windows-path-key.md175export function findEditableReadFileState(CODE
LOW⚡…s/plans/2026-06-15-read-file-state-windows-path-key.md228function normalizeWindowsDriveAlias(filePath: string): string {CODE
LOW⚡…s/plans/2026-06-15-read-file-state-windows-path-key.md238function canonicalizeWindowsDriveLetter(filePath: string): string {CODE
LOW⚡…s/plans/2026-06-15-read-file-state-windows-path-key.md242function stripWindowsExtendedPathPrefix(filePath: string): string {CODE
LOW…erpowers/plans/2026-06-26-bundled-bfs-ugrep-runtime.md409export function resolveSearchRuntimeDownloadBaseUrl(env = process.env) {CODE
LOW…erpowers/plans/2026-06-26-bundled-bfs-ugrep-runtime.md416export function resolveSearchRuntimeToolPlan({CODE
LOW…erpowers/plans/2026-06-26-bundled-bfs-ugrep-runtime.md576export async function downloadSearchRuntimeTool(argv = process.argv.slice(2), env = process.env) {CODE
LOW…erpowers/plans/2026-06-26-bundled-bfs-ugrep-runtime.md842export function resolveEffectiveMulticallName(CODE
LOW…erpowers/plans/2026-06-26-bundled-bfs-ugrep-runtime.md850export function runBundledSearchMulticall(CODE
LOW…erpowers/plans/2026-06-26-bundled-bfs-ugrep-runtime.md1098function createBackendEnvAssignments(backend: EmbeddedSearchBackend): string {CODE
LOW…rs/plans/2026-07-28-windows-cua-development-runtime.md451export async function resolveWindowsCuaDevRuntime(CODE
LOW…ers/plans/2026-07-06-subagent-permission-delegation.md320export function createSubagentInteractionBroker(CODE
LOW…owers/plans/2026-06-16-analyze-image-client-wrapper.md182export function toAnalyzeImageProviderNativeArgs(CODE
LOW…owers/plans/2026-06-16-analyze-image-client-wrapper.md188export function isAnalyzeImageCapableBaseURL(baseURL: string | undefined): boolean {CODE
LOW…owers/plans/2026-06-16-analyze-image-client-wrapper.md490export function resolveAnalyzeImageModelConnection(CODE
LOW…owers/plans/2026-06-16-analyze-image-client-wrapper.md519export function assertProviderSupportsAnalyzeImage(CODE
10761 more matches not shown…
Decorative Section Separators297 hits · 896 pts
SeverityFileLineSnippetContext
MEDIUM…kills/agent-browser/templates/authenticated-session.sh32# ================================================================COMMENT
MEDIUM…kills/agent-browser/templates/authenticated-session.sh34# ================================================================COMMENT
MEDIUM…kills/agent-browser/templates/authenticated-session.sh54# ================================================================COMMENT
MEDIUM…kills/agent-browser/templates/authenticated-session.sh56# ================================================================COMMENT
MEDIUM…kills/agent-browser/templates/authenticated-session.sh76# ================================================================COMMENT
MEDIUM…kills/agent-browser/templates/authenticated-session.sh78# ================================================================COMMENT
MEDIUMdocs/cua/producer/2026-09-10-cua-sdk-v3-api.md93// ───────────────────────────────────────────── 标量COMMENT
MEDIUMdocs/cua/producer/2026-09-10-cua-sdk-v3-api.md136// ───────────────────────────────────────────── 交互面(12 个成员)COMMENT
MEDIUMdocs/cua/producer/2026-09-10-cua-sdk-v3-api.md163// ───────────────────────────────────────────── 数据COMMENT
MEDIUMdocs/cua/producer/2026-09-10-cua-sdk-v3-api.md176// ───────────────────────────────────────────── 根对象COMMENT
MEDIUM…superpowers/plans/2026-06-02-app-usage-db-migration.md83// ── App Usage(agent 数据库真实统计)────────────────────────────────COMMENT
MEDIUM…ui/src/browser-use/useBrowserScreenshotSurfaceReady.ts29// 后台:prepare ──► rAF 冻结 ───────────────► (无 ready) ──► 1500ms timeout ❌COMMENT
MEDIUMpackages/ui/src/store/zcodeSessionStoreSelectors.ts24// ────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/store/zcodeSessionStoreSelectors.ts26// ────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/store/zcodeSessionStoreSelectors.ts183// ────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/store/zcodeSessionStoreSelectors.ts185// ────────────────────────────────────────────COMMENT
MEDIUM⚡packages/ui/src/store/zcodeSessionStoreSelectors.ts300// ────────────────────────────────────────────COMMENT
MEDIUM⚡packages/ui/src/store/zcodeSessionStoreSelectors.ts302// ────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/store/zcodeSessionStore.ts38// ────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/store/zcodeSessionStore.ts40// ────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/store/zcodeSessionStoreTypes.ts39// ────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/store/zcodeSessionStoreTypes.ts41// ────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/store/zcodeSessionStoreTypes.ts516// ────────────────────────────────────────────COMMENT
MEDIUMpackages/ui/src/store/zcodeSessionStoreTypes.ts518// ────────────────────────────────────────────COMMENT
MEDIUM⚡packages/ui/src/store/zcodeSessionStoreTypes.ts550// ────────────────────────────────────────────COMMENT
MEDIUM⚡packages/ui/src/store/zcodeSessionStoreTypes.ts552// ────────────────────────────────────────────COMMENT
MEDIUM…utomations/workflows/automations-workflows-hub.test.ts426// ── 直接启动:中枢「运行」→ 新会话顶部启动卡(docs/dynamic-workflow/launch.md)─────────COMMENT
MEDIUMpackages/shared/src/zcode-agent-model-state.ts1// ── 旧协议兼容面(过渡期)──────────────────────────────COMMENT
MEDIUMpackages/shared/src/usage-stats.ts175// ── App Usage(agent 数据库真实统计)────────────────────────────────COMMENT
MEDIUMpackages/shared/src/zcode-session-visible-content.ts1// ── 旧协议兼容面(过渡期)──────────────────────────────COMMENT
MEDIUMpackages/shared/src/task-realtime.ts2// ── 旧协议兼容面(过渡期)──────────────────────────────COMMENT
MEDIUMpackages/shared/src/zcode-task-types.ts2// ── 旧协议兼容面(过渡期)──────────────────────────────COMMENT
MEDIUMpackages/shared/src/zcode-session-task-status.ts1// ── 旧协议兼容面(过渡期)──────────────────────────────COMMENT
MEDIUMpackages/shared/src/zcode-protocol/index.ts26// ── 旧协议删除边界──────────────────────COMMENT
MEDIUM⚡packages/rpc/examples/04-remote-connection.ts206 // ──────── 1. 设置 Remote 基础设施 ────────COMMENT
MEDIUM⚡packages/rpc/examples/04-remote-connection.ts216 // ──────── 2. 解析 Remote Authority ────────COMMENT
MEDIUM⚡packages/rpc/examples/04-remote-connection.ts222 // ──────── 3. 建立 Socket 连接 ────────COMMENT
MEDIUMpackages/rpc/examples/04-remote-connection.ts234 // ──────── 4. 服务端设置 ────────COMMENT
MEDIUMpackages/rpc/examples/04-remote-connection.ts262 // ──────── 5. 客户端使用远程服务 ────────COMMENT
MEDIUMpackages/rpc/examples/04-remote-connection.ts294 // ──────── 6. URI 转换演示 ────────COMMENT
MEDIUM…subscription/bigmodelCodingPlanSubscriptionProvider.ts236 // ─────────── family 维度抽象(供 ZaiCodingPlanSubscriptionProvider 覆盖)───────────COMMENT
MEDIUMthird-party/runtime/node-22.16.0-LICENSE.txt673 # ----------------------------------------------------------------------STRING
MEDIUMthird-party/runtime/node-22.16.0-LICENSE.txt698 # --------------------------------------------------------------------------STRING
MEDIUMthird-party/runtime/node-22.16.0-LICENSE.txt710 # --------------------------------------------------------------------------STRING
MEDIUMthird-party/runtime/node-22.16.0-LICENSE.txt740 # --------------------------------------------------------------------------STRING
MEDIUMthird-party/runtime/node-24.14.0-LICENSE.txt681 # ----------------------------------------------------------------------STRING
MEDIUMthird-party/runtime/node-24.14.0-LICENSE.txt706 # --------------------------------------------------------------------------STRING
MEDIUMthird-party/runtime/node-24.14.0-LICENSE.txt718 # --------------------------------------------------------------------------STRING
MEDIUMthird-party/runtime/node-24.14.0-LICENSE.txt748 # --------------------------------------------------------------------------STRING
MEDIUM…79b887ec05a45d72cf1b73544dd9ec7e72f20110ed104229ee.txt307 # ----------------------------------------------------------------------COMMENT
MEDIUM…79b887ec05a45d72cf1b73544dd9ec7e72f20110ed104229ee.txt332 # --------------------------------------------------------------------------COMMENT
MEDIUM…79b887ec05a45d72cf1b73544dd9ec7e72f20110ed104229ee.txt344 # --------------------------------------------------------------------------COMMENT
MEDIUM…79b887ec05a45d72cf1b73544dd9ec7e72f20110ed104229ee.txt374 # --------------------------------------------------------------------------COMMENT
MEDIUM…documents-plugin/skills/docx/references/decorations.md33// ══════════════════════════════════════════════════════════════COMMENT
MEDIUM…documents-plugin/skills/docx/references/decorations.md35// ══════════════════════════════════════════════════════════════COMMENT
MEDIUM…kages/documents-plugin/skills/docx/scripts/document.py42# ---------------------------------------------------------------------------COMMENT
MEDIUM…kages/documents-plugin/skills/docx/scripts/document.py44# ---------------------------------------------------------------------------COMMENT
MEDIUM…uments-plugin/skills/docx/scripts/fix_footer_fields.py36# ── Namespace helpers ──────────────────────────────────────────────COMMENT
MEDIUM…s/bootstrap/tests/dynamic-workflow-run-service.test.ts1037// ── 请求的并发上界(docs/dynamic-workflow/concurrency.md「Two bounds on a run」)─────────────COMMENT
MEDIUM…s/bootstrap/tests/dynamic-workflow-run-service.test.ts1484// ── 端到端:真 AmendWorkflow 工具 → 真 run service → 真引擎 → journal / 事件 ─────────────COMMENT
237 more matches not shown…
Over-Commented Block339 hits · 334 pts
SeverityFileLineSnippetContext
LOWvitest.config.ts41 ].map((file) => resolve(__dirname, file)),COMMENT
LOW…nts/skills/agent-browser/templates/capture-workflow.sh1#!/bin/bashCOMMENT
LOW…ents/skills/agent-browser/templates/form-automation.sh1#!/bin/bashCOMMENT
LOW…ents/skills/agent-browser/templates/form-automation.sh21agent-browser open "$FORM_URL"COMMENT
LOW…kills/agent-browser/templates/authenticated-session.sh1#!/bin/bashCOMMENT
LOW…kills/agent-browser/templates/authenticated-session.sh81#COMMENT
LOW…kills/agent-browser/templates/authenticated-session.sh101# # Save state for future runsCOMMENT
LOWdocs/side-pane-terminal-session-keepalive.md221}COMMENT
LOWdocs/cua/producer/cua-act-verify-scenarios.md212. **act** — drive the real model (GLM-5V-Turbo) via `scripts/e2e_opus.py` with aCOMMENT
LOWdocs/webdriverio/docs/ConfigurationFile.md21 // =====================COMMENT
LOWdocs/webdriverio/docs/ConfigurationFile.md41 //COMMENT
LOWdocs/webdriverio/docs/ConfigurationFile.md61 //COMMENT
LOWdocs/webdriverio/docs/ConfigurationFile.md81 // CapabilitiesCOMMENT
LOWdocs/webdriverio/docs/ConfigurationFile.md101 //COMMENT
LOWdocs/webdriverio/docs/ConfigurationFile.md121 // - if value is true: ignore all DevTools 'default flags' and Puppeteer 'default arguments'COMMENT
LOWdocs/webdriverio/docs/ConfigurationFile.md141 // it is possible to configure which logTypes to exclude.COMMENT
LOWdocs/webdriverio/docs/ConfigurationFile.md161 // use 'silent' level to disable loggerCOMMENT
LOWdocs/webdriverio/docs/ConfigurationFile.md181 // Default timeout for all waitForXXX commands.COMMENT
LOWdocs/webdriverio/docs/ConfigurationFile.md201 specFileRetriesDelay: 0,COMMENT
LOWdocs/webdriverio/docs/ConfigurationFile.md221 ui: 'bdd'COMMENT
LOWdocs/webdriverio/docs/ConfigurationFile.md261 // but you can specify a custom path here or by setting the TSX_TSCONFIG_PATH env varCOMMENT
LOWdocs/webdriverio/docs/Emulation.md121 now?: number | Date | undefined;COMMENT
LOW…on/docs/tutorial/native-code-and-electron-cpp-win32.md181COMMENT
LOW…on/docs/tutorial/native-code-and-electron-cpp-linux.md161## 4) Implementing GTK3 GUI CodeCOMMENT
LOW…on/docs/fiddles/native-ui/dialogs/error-dialog/main.js101// In this file you can include the rest of your app's specific main processCOMMENT
LOW…powers/specs/2026-03-31-bigmodel-oauth-login-design.md221 // 生成 PKCE code_verifier + code_challengeCOMMENT
LOW…powers/specs/2026-03-31-bigmodel-oauth-login-design.md481// 删除 hasAuthToken() 函数及其分支判断COMMENT
LOWpackages/ui/src/replay.ts1// 回放导出桶。COMMENT
LOWpackages/ui/src/WorkflowPermissionBlock.tsx161 // 入参里的脚本是 CLI 回填的那一份——图与折叠照常画将要跑的脚本,lineage 行多说一句「脚本不变」。COMMENT
LOW…ages/ui/src/settings/officialMarketplaceAutoRefresh.ts1// 商店页「目录自动刷新」(Catalog Auto-Refresh)的节流判据。COMMENT
LOW…rc/settings/saved-workflows/useSavedWorkflowPromote.ts1// 「提升为全局」的发起编排。COMMENT
LOW…src/workspace-file-search/workspaceFileEntriesCodec.ts1// 实现已上移 @zcode/shared/workspaceFileEntriesCodec(services/Host 侧也要使用,COMMENT
LOW…ges/ui/src/terminal/sidePaneTerminalSessionRegistry.ts1// sidePaneTerminalSessionRegistry —— side pane terminal 跨 workspace 会话保活的模块级单例。COMMENT
LOW…ponents/workflow-timeline/WorkflowAskSettingsLines.tsx1// ============================================================COMMENT
LOWpackages/ui/src/components/ai-elements/message.tsx2261 // Artifact reader/session 同样只存在于 img renderer 闭包里。权限上下文变化时必须重挂载COMMENT
LOWpackages/ui/src/v4/SessionPane.tsx2741 // 值不只是 runId:run 态的卡片本身要渲染状态词与步数,所以联接一次就把摘要算完COMMENT
LOWpackages/ui/src/v4/paneLayoutTree.ts1// 分屏 Layout 层二叉分割树的模型与纯状态机。COMMENT
LOWpackages/ui/src/v4/composer/useDraftConfigControl.ts261 // 进入 composer 编辑态前的原 scope 状态。COMMENT
LOW…ges/ui/src/v4/composer/composerSubmissionSettlement.ts1// Bug 根因(R3A-B-07):ACK 丢失时远端 ChannelClient dispose 会先 reject 在途 sendText,COMMENT
LOWpackages/ui/src/v4/composer/useDraftSessionPrewarm.ts1/* oxlint-disable eslint(max-lines) -- draft prewarm 的创建、复用、回收和首帧 ModelSelection 必须共享同一 owner 状态机;拆到多文件会让 StrictMode/traCOMMENT
LOWpackages/ui/src/hooks/useCuaPermissionStatus.ts1// Computer Use Helper 的 macOS 权限状态。状态来自 Helper 当前 runtime preflight,COMMENT
LOW…es/ui/src/root/reconnectRemoteWorkspaceHistoryEntry.ts281 options?.onSshHostReady?.(sshCredentials);COMMENT
LOWpackages/ui/src/lib/codingPlanQuotaResetUi.ts181 // 共享 has_unread_history 只归属 used_at 最新的一类;相等时按当前类型归属,COMMENT
LOWpackages/ui/src/lib/patchDiffPreview.ts421 // `@pierre/diffs` 也可能在同步渲染阶段卡住主线程,表现成整个界面都点不动。COMMENT
LOWpackages/ui/src/lib/workspacePrepareReason.ts61 // Bugfix: 首屏冷启动时,selectedProvider 会先按最近一次选择恢复,COMMENT
LOW…es/ui/src/project-sidebar/ProjectDirectoryProvider.tsx121 // 角标 = 本次运行新增的未读(基线分界,见下)。挂在 Provider owner(Root 顶层,常驻COMMENT
LOW…ui/src/browser-use/useBrowserScreenshotSurfaceReady.ts21COMMENT
LOW…ckages/ui/src/store/zcodeSessionStoreWorkspaceSlice.ts621 // Electron 菜单和按钮点击会先拿走焦点,导致用户看到草稿已打开,但光标要过一拍才回来。COMMENT
LOW…kages/ui/src/store/dynamicWorkflowAvailabilityStore.ts1import { create } from "zustand";COMMENT
LOWpackages/desktop/electron-builder.config.js121 // 但 electron-builder 重打 app.asar 时不会因为 @arms/rum-electron 本体进包,就稳定把这个 peer 运行时一起带上。COMMENT
LOWpackages/desktop/electron-builder.config.js141 // 去重成没有子依赖的空节点;electron-builder 的 pnpm collector 以先登记的空节点为准,COMMENT
LOWpackages/desktop/electron-builder.config.js961 NSBluetoothAlwaysUsageDescription: `${desktopProductIdentity.productName} needs Bluetooth access to list nearby deCOMMENT
LOWpackages/desktop/electron-builder.config.js1021 // 生产版与 Preview 必须是两个 dpkg package;只改可执行名仍会让安装器把另一版本当成升级替换。COMMENT
LOWpackages/desktop/electron-builder.config.js1041 // depends 会整组替换默认 Requires 集。COMMENT
LOWpackages/desktop/wdio.conf.ts1041 // 原地覆盖 out/host 时会同时破坏已经启动的隔离副本。COMMENT
LOWpackages/desktop/wdio.conf.ts1101 // Bugfix: WDIO 为加载 TypeScript config 会通过 NODE_OPTIONS 注入 tsx loader。COMMENT
LOWpackages/desktop/native/macos-window-bounds/main.swift1// 输出「系统设置」主窗口的屏幕几何,供 CUA 权限浮窗吸附定位。COMMENT
LOW…namic-workflow-gray-always-on-run-pane-details.test.ts21 selectUpstreamThoughtLevel,COMMENT
LOW…session-dynamic-workflow-gray-always-on-resume.test.ts21 waitForV4Pane,COMMENT
LOW…sion-dynamic-workflow-gray-always-on-questions.test.ts21import { isOutsideClosedHistory, openClosedHistoryFolds } from "#e2e/helpers/v4-history-folds";COMMENT
279 more matches not shown…
Hallucination Indicators26 hits · 270 pts
SeverityFileLineSnippetContext
CRITICALpackages/ui/src/lib/composerRecent.ts211 !model.config.optionSpecs.reasoningLevel.values.includes(reasoning)CODE
CRITICALapps/zcode-cli/tools/provider-regression/src/run.ts107 : [model.config.optionSpecs.reasoningLevel.values.at(test.kind === "web" ? 0 : -1)!];CODE
CRITICAL…ode-cli/packages/core/tests/permission-logging.test.ts100 const evaluated = h.logger.debug.mock.calls.find(CODE
CRITICAL…ode-cli/packages/core/tests/permission-logging.test.ts141 const resolved = h.logger.info.mock.calls.filter(CODE
CRITICAL…ages/bootstrap/tests/v4-gateway-sessions-index.test.ts336 const ids = res.initialFrame.payload.snapshot.sessions.map((s) => s.sessionId).sort();CODE
CRITICAL…de-cli/packages/bootstrap/tests/v4-cold-resume.test.ts1513 frame.payload.snapshot.rows.window.some(CODE
CRITICAL…de-cli/packages/bootstrap/tests/v4-cold-resume.test.ts1675 frame.payload.snapshot.rows.window.some(CODE
CRITICAL…de-cli/packages/bootstrap/tests/v4-cold-resume.test.ts1705 frame.payload.snapshot.rows.window.some(CODE
CRITICAL…de-cli/packages/bootstrap/tests/v4-cold-resume.test.ts2540 const targetRow = child.payload.snapshot.rows.window.findLast(CODE
CRITICAL…de-cli/packages/bootstrap/tests/v4-cold-resume.test.ts2829 frame.payload.snapshot.rows.window.some(CODE
CRITICAL…/bootstrap/tests/dynamic-workflow-quota-resume.test.ts329 const readFailed = h.logger.warn.mock.calls.find(CODE
CRITICAL…s/bootstrap/tests/conversation-topic-publisher.test.ts1598 ? desktopSnapshot.payload.snapshot.rows.window.some((row) => row.kind === "hookInvocation")CODE
CRITICAL…s/bootstrap/tests/conversation-topic-publisher.test.ts1603 ? webSnapshot.payload.snapshot.rows.window.some((row) => row.kind === "hookInvocation")CODE
CRITICAL…s/bootstrap/tests/conversation-row-degradation.test.ts113 const degraded = parsed.payload.snapshot.rows.window.at(-1);CODE
CRITICAL…s/bootstrap/tests/conversation-row-degradation.test.ts128 expect(parsedSkewed.payload.snapshot.rows.window.slice(0, -1)).toEqual(CODE
CRITICAL…packages/bootstrap/tests/session-resident-pool.test.ts939 resubscribed.initialFrame.payload.snapshot.rows.window.some(CODE
CRITICAL…packages/bootstrap/tests/session-resident-pool.test.ts944 resubscribed.initialFrame.payload.snapshot.rows.window.some(CODE
CRITICAL…ages/bootstrap/tests/v4-native-fork-edit-retry.test.ts330 options.modelExecution.requestDependencies.requestAuth.source.resolve(),CODE
CRITICAL…/zcode-cli/packages/bootstrap/tests/v4-gateway.test.ts2709 ? initial.initialFrame.payload.snapshot.rows.window.find((row) => row.kind === "turnHeader")CODE
CRITICAL…/zcode-cli/packages/bootstrap/tests/v4-gateway.test.ts2741 ? after.initialFrame.payload.snapshot.rows.window.find((row) => row.kind === "turnHeader")CODE
CRITICAL…e-cli/packages/bootstrap/tests/v4-native-queue.test.ts646 sendOptions.modelExecution.requestDependencies.requestAuth.source.resolve(),CODE
CRITICAL…e-cli/packages/bootstrap/tests/v4-native-queue.test.ts702 sendOptions.modelExecution.requestDependencies.requestAuth.source.resolve(),CODE
CRITICAL⚡…e-cli/packages/bootstrap/src/zcode-protocol/plugins.ts136 configResult.sources.plugins.dirs.workspace.some(CODE
CRITICAL⚡…e-cli/packages/bootstrap/src/zcode-protocol/plugins.ts143 configResult.sources.plugins.dirs.user.some(CODE
CRITICAL…-cli/packages/telemetry/tests/otlp-integration.test.ts129 const decoded = opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest.decode(CODE
CRITICAL…-cli/packages/telemetry/tests/otlp-integration.test.ts160 opentelemetry.proto.collector.metrics.v1.ExportMetricsServiceRequest.decode(CODE
Structural Annotation Overuse154 hits · 267 pts
SeverityFileLineSnippetContext
LOW⚡…ents/skills/agent-browser/templates/form-automation.sh20# Step 1: Navigate to formCOMMENT
LOW⚡…ents/skills/agent-browser/templates/form-automation.sh24# Step 2: Snapshot to discover form elementsCOMMENT
LOW⚡…ents/skills/agent-browser/templates/form-automation.sh29# Step 3: Fill form fields (customize these refs based on snapshot output)COMMENT
LOW⚡…ents/skills/agent-browser/templates/form-automation.sh46# Step 4: Wait for submissionCOMMENT
LOW⚡…ents/skills/agent-browser/templates/form-automation.sh50# Step 5: Verify resultCOMMENT
LOWdocs/todo/wsl-native-support.md28## Step 1: WSLBackend 实现COMMENT
LOWdocs/todo/wsl-native-support.md70## Step 2: WSL 检测工具COMMENT
LOWdocs/todo/wsl-native-support.md104## Step 3: 类型定义与消息协议扩展COMMENT
LOWdocs/todo/wsl-native-support.md164## Step 4: Host Process 扩展COMMENT
LOWdocs/todo/wsl-native-support.md202## Step 5: Main Process 扩展COMMENT
LOWdocs/todo/wsl-native-support.md242## Step 6: Preload Bridge 扩展COMMENT
LOWdocs/todo/wsl-native-support.md257## Step 7: Platform Service 接口扩展COMMENT
LOWdocs/todo/wsl-native-support.md278## Step 8: UI —— WSL 连接对话框COMMENT
LOWdocs/todo/wsl-native-support.md308## Step 9: 国际化COMMENT
LOWdocs/todo/wsl-native-support.md329## Step 10: 导出和模块注册COMMENT
LOWdocs/webdriverio/docs/VisualTesting.md288### Step 1: Add Type DefinitionsCOMMENT
LOWdocs/webdriverio/docs/VisualTesting.md299### Step 2: Enable Type Safety for Service OptionsCOMMENT
LOW⚡…iverio/docs/visual-testing/integrate-with-app-percy.md11### Step 1: Create new app project on percy dashboardCOMMENT
LOW⚡…iverio/docs/visual-testing/integrate-with-app-percy.md15### Step 2: Set the project token as an environment variableCOMMENT
LOW⚡…iverio/docs/visual-testing/integrate-with-app-percy.md25### Step 3: Install Percy packagesCOMMENT
LOW⚡…iverio/docs/visual-testing/integrate-with-app-percy.md34### Step 4: Install dependenciesCOMMENT
LOW⚡…iverio/docs/visual-testing/integrate-with-app-percy.md42### Step 5: Update test scriptCOMMENT
LOW…iverio/docs/visual-testing/integrate-with-app-percy.md62### Step 6: Run your test scriptCOMMENT
LOW⚡…ebdriverio/docs/visual-testing/integrate-with-percy.md11### Step 1: Create a Percy projectCOMMENT
LOW⚡…ebdriverio/docs/visual-testing/integrate-with-percy.md16### Step 2: Set the project token as an environment variableCOMMENT
LOW⚡…ebdriverio/docs/visual-testing/integrate-with-percy.md26### Step 3: Install Percy dependenciesCOMMENT
LOW⚡…ebdriverio/docs/visual-testing/integrate-with-percy.md36### Step 4: Update your test scriptCOMMENT
LOW…ebdriverio/docs/visual-testing/integrate-with-percy.md92### Step 5: Run PercyCOMMENT
LOWdocs/electron/docs/tutorial/snapcraft.md36### Step 1: Package Your Electron ApplicationCOMMENT
LOWdocs/electron/docs/tutorial/snapcraft.md62### Step 2: Running `electron-installer-snap`COMMENT
LOWdocs/electron/docs/tutorial/snapcraft.md84### Step 1: Create Sample Snapcraft ProjectCOMMENT
LOWdocs/electron/docs/tutorial/snapcraft.md90### Step 2: Create Sample Snapcraft ProjectCOMMENT
LOW⚡docs/electron/docs/tutorial/snapcraft.md138### Step 3: Build the snapCOMMENT
LOW⚡docs/electron/docs/tutorial/snapcraft.md147### Step 4: Install the snapCOMMENT
LOW⚡docs/electron/docs/tutorial/snapcraft.md153### Step 5: Run the snapCOMMENT
LOWdocs/electron/docs/tutorial/snapcraft.md166### Step 1: Create a Debian PackageCOMMENT
LOWdocs/electron/docs/tutorial/snapcraft.md174### Step 2: Create a snapcraft.yamlCOMMENT
LOWdocs/electron/docs/tutorial/code-signing.md193// Step 1: Instantiate the MSICreatorCOMMENT
LOWdocs/electron/docs/tutorial/code-signing.md209// Step 2: Create a .wxs template fileCOMMENT
LOWdocs/electron/docs/tutorial/code-signing.md220// Step 3: Compile the template to a .msi fileCOMMENT
LOWdocs/electron/docs/tutorial/updates.md162### Step 1: Deploying an update serverCOMMENT
LOWdocs/electron/docs/tutorial/updates.md180### Step 2: Receiving updates in your appCOMMENT
LOWdocs/electron/docs/tutorial/updates.md218### Step 3: Notifying users when updates are availableCOMMENT
LOWdocs/electron/docs/tutorial/windows-store-guide.md43## Step 1: Package Your Electron ApplicationCOMMENT
LOWdocs/electron/docs/tutorial/windows-store-guide.md73## Step 2: Running electron-windows-storeCOMMENT
LOWdocs/electron/docs/tutorial/windows-store-guide.md101## Step 3: Using the AppX PackageCOMMENT
LOWdocs/electron/docs/development/pull-requests.md22### Step 1: ForkCOMMENT
LOWdocs/electron/docs/development/pull-requests.md26### Step 2: BuildCOMMENT
LOWdocs/electron/docs/development/pull-requests.md54### Step 3: BranchCOMMENT
LOWdocs/electron/docs/development/pull-requests.md65### Step 4: CodeCOMMENT
LOWdocs/electron/docs/development/pull-requests.md79### Step 5: CommitCOMMENT
LOWdocs/electron/docs/development/pull-requests.md144### Step 6: RebaseCOMMENT
LOWdocs/electron/docs/development/pull-requests.md157### Step 7: TestCOMMENT
LOW⚡docs/electron/docs/development/pull-requests.md184### Step 8: PushCOMMENT
LOW⚡docs/electron/docs/development/pull-requests.md194### Step 9: Opening the Pull RequestCOMMENT
LOW⚡docs/electron/docs/development/pull-requests.md202### Step 10: Discuss and updateCOMMENT
LOWdocs/electron/docs/development/pull-requests.md243### Step 11: LandingCOMMENT
LOW⚡packages/desktop/src/main/editors.ts623 // Step 1: 尝试从 .icns 文件加载真实 app 图标COMMENT
LOWpackages/desktop/src/main/editors.ts650 // Step 2: NSWorkspace 能读 Assets.car;Electron 的 app.getFileIcon 对这类 bundleCOMMENT
LOWpackages/rpc/examples/01-basic-ipc.ts31// Step 1: 定义一个 service(普通 TypeScript 对象)COMMENT
94 more matches not shown…
Empty Error Handlers26 hits · 130 pts
SeverityFileLineSnippetContext
HIGH…kages/documents-plugin/skills/docx/scripts/document.py929except ValueError:CODE
HIGH…kages/documents-plugin/skills/docx/scripts/document.py122except ValueError:CODE
HIGH…ages/documents-plugin/skills/docx/scripts/utilities.py297except ValueError:CODE
HIGH…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py494except (ValueError, TypeError):CODE
HIGH…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py225except (ValueError, TypeError):CODE
HIGH…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py485except ValueError:CODE
HIGH…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py831except (AttributeError, Exception):CODE
HIGH…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py848except (ImportError, Exception):CODE
HIGH…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py206except (ValueError, TypeError):CODE
HIGH…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1363except ValueError:CODE
HIGH…e-cli/packages/pdf-plugin/skills/pdf/scripts/pdf_qa.py327except Exception:CODE
HIGH…e-cli/packages/pdf-plugin/skills/pdf/scripts/pdf_qa.py400except Exception:CODE
HIGH…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py341except Exception:CODE
HIGH…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py327except Exception:CODE
HIGH…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py680except Exception:CODE
HIGH…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py926except Exception:CODE
HIGH…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py964except Exception:CODE
HIGH…kages/pdf-plugin/skills/pdf/scripts/poster_validate.py244except Exception:CODE
HIGH…ackages/pdf-plugin/skills/pdf/scripts/design_engine.py2061except ValueError:CODE
HIGH…ackages/pdf-plugin/skills/pdf/scripts/design_engine.py2458except (ValueError, IndexError):CODE
HIGH…es/visualize-plugin/skills/visualize/scripts/render.py180except KeyboardInterrupt:CODE
HIGH…e-cli/packages/spreadsheets-plugin/skills/xlsx/xlsx.py362except Exception:CODE
HIGH…e-cli/packages/spreadsheets-plugin/skills/xlsx/xlsx.py1252except Exception:CODE
HIGH…e-cli/packages/spreadsheets-plugin/skills/xlsx/xlsx.py1039except Exception:CODE
HIGH…e-cli/packages/spreadsheets-plugin/skills/xlsx/xlsx.py1132except Exception:CODE
HIGH…e-cli/packages/spreadsheets-plugin/skills/xlsx/xlsx.py269except (FileNotFoundError, subprocess.TimeoutExpired):CODE
Fake / Example Data108 hits · 114 pts
SeverityFileLineSnippetContext
LOW.agents/skills/agent-browser/SKILL.md32agent-browser fill @e1 "user@example.com"CODE
LOW.agents/skills/agent-browser/SKILL.md48agent-browser fill @e1 "user@example.com" && agent-browser fill @e2 "password123" && agent-browser click @e3CODE
LOW.agents/skills/agent-browser/SKILL.md221agent-browser fill @e1 "Jane Doe"CODE
LOW…ents/skills/agent-browser/references/authentication.md139agent-browser fill @e1 "user@example.com"CODE
LOW…ents/skills/agent-browser/references/authentication.md158agent-browser fill @e1 "user@example.com"CODE
LOW…ents/skills/agent-browser/references/authentication.md215agent-browser fill @e1 "user@example.com"CODE
LOW…gents/skills/agent-browser/references/snapshot-refs.md81agent-browser fill @e10 "user@example.com"CODE
LOW…/skills/agent-browser/references/session-management.md36agent-browser --session auth fill @e1 "user@example.com"CODE
LOW⚡…ents/skills/agent-browser/templates/form-automation.sh32# agent-browser fill @e1 "John Doe" # Text inputCOMMENT
LOW⚡…ents/skills/agent-browser/templates/form-automation.sh33# agent-browser fill @e2 "user@example.com" # Email inputCOMMENT
LOW…s/skills/ai-elements/scripts/tool-output-available.tsx31 Name: "John Doe",CODE
LOW.agents/skills/dogfood/references/issue-taxonomy.md72- Placeholder or lorem ipsum content left inCODE
LOWdocs/electron/docs/tutorial/recent-documents.md42fs.writeFile(fileName, 'Lorem Ipsum', () => {CODE
LOWdocs/electron/docs/tutorial/tutorial-2-first-app.md100 "author": "Jane Doe",CODE
LOWdocs/electron/docs/tutorial/tutorial-2-first-app.md160 "author": "Jane Doe",CODE
LOW…lectron/docs/fiddles/features/recent-documents/main.js15fs.writeFile(fileName, 'Lorem Ipsum', () => {CODE
LOW…uperpowers/plans/2026-04-27-zai-backend-oauth-token.md67 email: "user@example.com",CODE
LOW…uperpowers/plans/2026-04-27-zai-backend-oauth-token.md106 username: "user@example.com",CODE
LOW…uperpowers/plans/2026-04-27-zai-backend-oauth-token.md107 displayName: "user@example.com",CODE
LOW…uperpowers/plans/2026-04-27-zai-backend-oauth-token.md173 email: "user@example.com",CODE
LOW…uperpowers/specs/2026-04-28-web-remote-login-design.md414 "email": "user@example.com",CODE
LOW…ers/specs/2026-04-27-zai-backend-oauth-token-design.md52 "email": "user@example.com",CODE
LOWpackages/session-control/test/session-id.test.ts168 ["placeholder", "dummy", false],CODE
LOW…er/manual-review/pending/agent-placeholder.fixture.tsx13 { id: "placeholder", input: {} },CODE
LOW…src/remote-connection/RemoteConnectionHistoryInput.tsx39 "children" | "onChange" | "placeholder" | "size" | "value"CODE
LOWpackages/ui/src/lib/askUserQuestion.ts77 "placeholder",CODE
LOWpackages/design-runtime/src/elementInspector.ts100 element.getAttribute("placeholder") ||CODE
LOWpackages/design-runtime/src/elementInspector.ts109 element.getAttribute("placeholder") ||CODE
LOWpackages/design-runtime/src/elementInspector.ts157 element.getAttribute("placeholder") ||CODE
LOWpackages/design-runtime/src/elementInspector.ts176 name === "placeholder" ||CODE
LOW…kages/desktop/test/agent-crash-diagnostic.node.test.ts234 "password=fake-password-0005 token: 'fake-token-0006'",CODE
LOW…p/test/e2e/settings/general/settings-ui-polish.test.ts987 expect((await reasoningMapEditor.getAttribute("placeholder"))?.trim()).not.toBe("");CODE
LOW…settings/providers/provider-reasoning-fallback.test.ts67 (await $('[data-model-settings-group="tokens"] input').getAttribute("placeholder")) ===CODE
LOW…settings/providers/provider-reasoning-fallback.test.ts71 expect(await $("[data-model-max-output] input").getAttribute("placeholder")).toBe("128000");CODE
LOW…settings/providers/provider-model-smart-config.test.ts83 await browser.waitUntil(async () => Boolean(await context().getAttribute("placeholder")), {CODE
LOW…settings/providers/provider-model-smart-config.test.ts87 expect(await context().getAttribute("placeholder")).not.toBe("");CODE
LOW…settings/providers/provider-model-smart-config.test.ts100 await browser.waitUntil(async () => Boolean(await context().getAttribute("placeholder")), {CODE
LOW…settings/providers/provider-model-smart-config.test.ts264 expect(await editor().getAttribute("placeholder")).toBe(expected);CODE
LOW…settings/providers/provider-model-smart-config.test.ts289 expect(await editor().getAttribute("placeholder")).toBe(expected);CODE
LOW…settings/providers/provider-model-smart-config.test.ts319 async () => (await editor().getAttribute("placeholder")) === expected,CODE
LOW…st/e2e/settings/agent/settings-personalization.test.ts112 expect(await editor.getAttribute("placeholder")).toMatch(CODE
LOW…gement/conversation-session-archive-management.test.ts280 "placeholder",CODE
LOW…ession-dynamic-workflow-gray-always-on-confirm.test.ts162 expect(await refineInput.getAttribute("placeholder")).toBe("描述这个工作流应该怎么改…");CODE
LOW…n-dynamic-workflow-gray-always-on-english-dark.test.ts207 for (const attribute of ["aria-label", "title", "placeholder"]) {CODE
LOW…tion-session-claude-anthropic-reasoning-budget.test.ts259 const placeholder = input.getAttribute("placeholder") ?? "";CODE
LOW…on-session-opus47-anthropic-adaptive-reasoning.test.ts257 const placeholder = input.getAttribute("placeholder") ?? "";CODE
LOW…on-session-deepseek-v4-reasoning-request-shape.test.ts243 const placeholder = input.getAttribute("placeholder") ?? "";CODE
LOW…session-gpt-openai-compatible-reasoning-effort.test.ts249 const placeholder = input.getAttribute("placeholder") ?? "";CODE
LOW…ges/desktop/test/e2e/helpers/custom-openai-provider.ts179 const placeholder = input.getAttribute("placeholder") ?? "";CODE
LOWpackages/desktop/test/e2e/helpers/upstream-provider.ts356 placeholder: input.getAttribute("placeholder") ?? "",CODE
LOW…ges/desktop/test/e2e/helpers/workspace-agent-warmup.ts78 const placeholderPrefix = formatZCodeAgentProcessName("placeholder");CODE
LOW…ges/desktop/test/e2e/helpers/workspace-agent-warmup.ts80 const formatted = formatZCodeAgentProcessName("placeholder", workspacePath);CODE
LOW⚡…/desktop/src/main/browserView/browserCommandScripts.ts43 "function accName(el){var n=el.getAttribute('aria-label')||el.getAttribute('alt')||el.getAttribute('title')||el.getACODE
LOW⚡…/desktop/src/main/browserView/browserCommandScripts.ts44 "function semanticName(el,tag){var n=el.getAttribute('aria-label')||el.getAttribute('alt')||el.getAttribute('title')CODE
LOW⚡…/desktop/src/main/browserView/browserCommandScripts.ts45 "function attrsOf(el){var out={};var keys=['id','href','name','type','placeholder','title','alt','role','aria-label'CODE
LOW…/desktop/src/main/browserView/browserCommandScripts.ts173 "function accName(el){var n=el.getAttribute('aria-label')||el.getAttribute('alt')||el.getAttribute('title')||el.getACODE
LOW…kages/documents-plugin/skills/docx/references/ooxml.md31doc = Document('unpacked', author="John Doe", initials="JD")CODE
LOW…kages/documents-plugin/skills/docx/scripts/document.py10 doc = Document('workspace/unpacked', author="John Doe", initials="JD")STRING
LOW…/packages/core/tests/provider-request-messages.test.ts1101 ["placeholder", { role: "assistant", content: [{ type: "text", text: "(no content)" }] }],CODE
LOW…cli/packages/core/tests/workflow-routing-hints.test.ts48 expect(lowered).not.toContain("placeholder");CODE
48 more matches not shown…
Excessive Try-Catch Wrapping97 hits · 86 pts
SeverityFileLineSnippetContext
LOW…iguration/conversation-session-r3-remote-hooks.test.ts37except Exception:CODE
LOW…-review/pending/conversation-session-r3-mobile.test.ts626except Exception as e:CODE
LOW…ages/documents-plugin/skills/docx/scripts/postcheck.py377 except Exception:CODE
LOW…ages/documents-plugin/skills/docx/scripts/postcheck.py393 except Exception:CODE
LOW…ages/documents-plugin/skills/docx/scripts/postcheck.py630 except Exception as e:CODE
LOW…ages/documents-plugin/skills/docx/scripts/postcheck.py743 except Exception as e:CODE
LOW…ages/documents-plugin/skills/docx/scripts/postcheck.py754 except Exception as e:CODE
LOW…ages/documents-plugin/skills/docx/scripts/postcheck.py760 except Exception as e:CODE
MEDIUM…nts-plugin/skills/docx/scripts/add_toc_placeholders.py723 print(f"Error parsing entries JSON: {e}", file=sys.stderr)CODE
LOW…nts-plugin/skills/docx/scripts/add_toc_placeholders.py742 except Exception as e:CODE
MEDIUM…nts-plugin/skills/docx/scripts/add_toc_placeholders.py743 print(f"Error: {e}", file=sys.stderr)CODE
LOW…uments-plugin/skills/docx/scripts/fix_footer_fields.py279 except Exception as e:CODE
MEDIUM⚡…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1963 print("Error: Missing DOCX file path.", file=sys.stderr)CODE
MEDIUM⚡…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1968 print(f"Error: File not found: {docx_path}", file=sys.stderr)CODE
MEDIUM⚡…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1974 print("Error: Missing PDF file path.", file=sys.stderr)CODE
MEDIUM⚡…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1979 print(f"Error: File not found: {pdf_path}", file=sys.stderr)CODE
MEDIUM⚡…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1985 print("Error: Missing file paths. Need both DOCX and PDF.",CODE
MEDIUM⚡…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1992 print(f"Error: File not found: {docx_path}", file=sys.stderr)CODE
MEDIUM⚡…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1995 print(f"Error: File not found: {pdf_path}", file=sys.stderr)CODE
MEDIUM⚡…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py2001 print("Error: Missing DOCX file path.", file=sys.stderr)CODE
MEDIUM⚡…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py2006 print(f"Error: File not found: {docx_path}", file=sys.stderr)CODE
MEDIUM⚡…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py2015 print("Error: -o flag requires an output path.",CODE
MEDIUM⚡…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py2022 print("Error: Need both fixed DOCX and pass1 PDF paths.", file=sys.stderr)CODE
MEDIUM⚡…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py2028 print(f"Error: File not found: {fixed_docx}", file=sys.stderr)CODE
MEDIUM⚡…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py2031 print(f"Error: File not found: {pass1_pdf}", file=sys.stderr)CODE
MEDIUM⚡…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py2041 print(f"Error: Unknown command '{command}'", file=sys.stderr)CODE
LOW⚡…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py2051 except Exception as e:CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py707 except Exception as e:CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py726 except Exception:CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py899 except Exception as e:CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py914 except Exception:CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1239 except Exception as e:CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1742 except Exception as e:CODE
LOW…e-cli/packages/pdf-plugin/skills/pdf/scripts/pdf_qa.py327 except Exception:CODE
LOW…e-cli/packages/pdf-plugin/skills/pdf/scripts/pdf_qa.py400 except Exception:CODE
MEDIUM⚡…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py1006 print(f"Error: Input file not found: {input_path}", file=sys.stderr)CODE
MEDIUM⚡…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py1012 print(f"Error: Cannot open PDF: {e}", file=sys.stderr)CODE
MEDIUM…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py1042 print(f"Error: Cannot write output file: {e}", file=sys.stderr)CODE
MEDIUM…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py1978 print(f"Error extracting PDF info: {exc}", file=sys.stderr)CODE
MEDIUM…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py258def _probe_python() -> tuple[str, str]:CODE
LOW⚡…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py638 except Exception:CODE
LOW⚡…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py1011 except Exception as e:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py136 except Exception as exc:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py181 except Exception:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py195 except Exception:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py251 except Exception:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py262 except Exception:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py327 except Exception:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py341 except Exception:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py525 except Exception as exc:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py559 except Exception as exc:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py606 except Exception as exc:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py674 except Exception as exc:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py680 except Exception:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py701 except Exception as exc:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py715 except Exception as exc:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py740 except Exception as exc:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py750 except Exception as exc:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py772 except Exception:CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py780 except Exception as exc:CODE
37 more matches not shown…
AI Slop Vocabulary30 hits · 69 pts
SeverityFileLineSnippetContext
MEDIUM…est/e2e/bots/runtime/bot-r3-workspace-identity.test.ts18} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…est/e2e/bots/runtime/bot-deleted-task-recovery.test.ts9} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…/test/e2e/bots/runtime/bot-effective-selection.test.ts14} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…/test/e2e/bots/runtime/feishu-runtime-error-ui.test.ts12} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…est/e2e/bots/runtime/bot-polling-retry-backoff.test.ts6} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…/test/e2e/bots/runtime/bot-remote-disconnected.test.ts6} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…op/test/e2e/bots/runtime/bot-runtime-authority.test.ts12} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…p/test/e2e/bots/delivery/bot-private-task-sync.test.ts8} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…p/test/e2e/bots/delivery/feishu-delivery-error.test.ts8} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…/test/e2e/bots/delivery/bot-private-redelivery.test.ts11} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…op/test/e2e/bots/delivery/bot-large-attachment.test.ts10} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…/bots/delivery/feishu-streaming-card-lifecycle.test.ts1import { createBotProjectFixture } from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…/bots/delivery/feishu-streaming-card-lifecycle.test.ts6import { createBotModelSelectionView } from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…e/bots/delivery/bot-automation-result-delivery.test.ts15} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…/test/e2e/bots/channels/feishu-channel-mention.test.ts8} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…/test/e2e/bots/channels/feishu-bound-groups-ui.test.ts11import { createFeishuConfig } from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…t/e2e/bots/channels/feishu-group-collaboration.test.ts8} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…st/e2e/bots/channels/feishu-topic-interactions.test.ts8} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…e2e/bots/channels/feishu-provider-interactions.test.ts10} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…els/manual-review/pending/feishu-group-runtime.test.ts13import { createFeishuConfig } from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…ontrol/conversation-session-bot-channel-worker.test.ts6} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…onversation-session-worker-effective-selection.test.ts8} from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…/conversation-session-r3-bot-private-client-id.test.ts4import { createFeishuConfig } from "#e2e/bots/helpers/bots-service-harness";CODE
MEDIUM…nts-plugin/skills/docx/scripts/add_toc_placeholders.py125 # Find TOC structure and add placeholders (uses lxml for robust XML parsing)COMMENT
MEDIUM…ackages/pdf-plugin/skills/pdf/scripts/html2pdf-next.js634 // Creative PDF: seamless multi-page canvasCOMMENT
MEDIUM…ackages/pdf-plugin/skills/pdf/scripts/html2pdf-next.js673 // This is correct for both posters (seamless multi-page) and documents.COMMENT
MEDIUM…ackages/pdf-plugin/skills/pdf/scripts/design_engine.py2668 # Render all pages as one seamless surface, then let Playwright's page.pdf() slice it.STRING
MEDIUM⚡…rs-plugin/skills/brainstorming/scripts/start-server.sh102# Resolve the harness PID (grandparent of this script).COMMENT
MEDIUM⚡…rs-plugin/skills/brainstorming/scripts/start-server.sh103# $PPID is the ephemeral shell the harness spawned to run us — it diesCOMMENT
MEDIUM⚡…rs-plugin/skills/brainstorming/scripts/start-server.sh104# when this script exits. The harness itself is $PPID's parent.COMMENT
Deep Nesting79 hits · 48 pts
SeverityFileLineSnippetContext
LOW…ages/documents-plugin/skills/docx/scripts/postcheck.py103CODE
LOW…ages/documents-plugin/skills/docx/scripts/postcheck.py217CODE
LOW…ages/documents-plugin/skills/docx/scripts/postcheck.py312CODE
LOW…ages/documents-plugin/skills/docx/scripts/postcheck.py417CODE
LOW…ages/documents-plugin/skills/docx/scripts/postcheck.py512CODE
LOW…ages/documents-plugin/skills/docx/scripts/postcheck.py645CODE
LOW…nts-plugin/skills/docx/scripts/add_toc_placeholders.py82CODE
LOW…nts-plugin/skills/docx/scripts/add_toc_placeholders.py433CODE
LOW…kages/documents-plugin/skills/docx/scripts/document.py64CODE
LOW…kages/documents-plugin/skills/docx/scripts/document.py112CODE
LOW…kages/documents-plugin/skills/docx/scripts/document.py153CODE
LOW…kages/documents-plugin/skills/docx/scripts/document.py301CODE
LOW…kages/documents-plugin/skills/docx/scripts/document.py379CODE
LOW…kages/documents-plugin/skills/docx/scripts/document.py519CODE
LOW…kages/documents-plugin/skills/docx/scripts/document.py1017CODE
LOW…ages/documents-plugin/skills/docx/scripts/utilities.py75CODE
LOW…uments-plugin/skills/docx/scripts/fix_footer_fields.py158CODE
LOW…sources/skills/frontend-slides/scripts/extract-pptx.py18CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py182CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py252CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py304CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py458CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py503CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py686CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py865CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1002CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1031CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1079CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1772CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1952CODE
LOW…e-cli/packages/pdf-plugin/skills/pdf/scripts/pdf_qa.py124CODE
LOW…e-cli/packages/pdf-plugin/skills/pdf/scripts/pdf_qa.py185CODE
LOW…e-cli/packages/pdf-plugin/skills/pdf/scripts/pdf_qa.py284CODE
LOW…e-cli/packages/pdf-plugin/skills/pdf/scripts/pdf_qa.py352CODE
LOW…e-cli/packages/pdf-plugin/skills/pdf/scripts/pdf_qa.py478CODE
LOW…e-cli/packages/pdf-plugin/skills/pdf/scripts/pdf_qa.py598CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py109CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py312CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py471CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py592CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py1082CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py1181CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py1282CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py1310CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py1394CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py1436CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py1708CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py1982CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py2008CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py2106CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py2307CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py2488CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py2582CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py2903CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py1225CODE
LOW…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py2038CODE
LOW…kages/pdf-plugin/skills/pdf/scripts/poster_validate.py253CODE
LOW…kages/pdf-plugin/skills/pdf/scripts/poster_validate.py973CODE
LOW…kages/pdf-plugin/skills/pdf/scripts/poster_validate.py1258CODE
LOW…ackages/pdf-plugin/skills/pdf/scripts/design_engine.py187CODE
19 more matches not shown…
Cross-Language Confusion (JS/TS)8 hits · 40 pts
SeverityFileLineSnippetContext
HIGH.agents/skills/ai-elements/scripts/artifact.tsx72print(dijkstra(graph, 'A'))`;CODE
HIGH.agents/skills/ai-elements/scripts/sandbox.tsx52 print(f"Found {len(primes)} prime numbers up to 50:")CODE
HIGH.agents/skills/ai-elements/scripts/sandbox.tsx53 print(primes)`;CODE
HIGH.agents/skills/ai-elements/scripts/code-block.tsx45print(greet("World"))`,CODE
HIGHpackages/desktop/test/cdnPreloadScript.test.ts171 elif [[ "$profile" == "zcode-ai-account" ]]; thenCODE
HIGH…iguration/conversation-session-r3-remote-hooks.test.ts41print("patched")CODE
HIGH…-review/pending/conversation-session-r3-mobile.test.ts627 print("closed:"+str(e))CODE
HIGH…execution/conversation-session-r3-task-actions.test.ts192 print(json.dumps([dict(row) for row in rows]))CODE
Verbosity Indicators20 hits · 37 pts
SeverityFileLineSnippetContext
LOW⚡…ents/skills/agent-browser/templates/form-automation.sh20# Step 1: Navigate to formCOMMENT
LOW⚡…ents/skills/agent-browser/templates/form-automation.sh24# Step 2: Snapshot to discover form elementsCOMMENT
LOW⚡…ents/skills/agent-browser/templates/form-automation.sh29# Step 3: Fill form fields (customize these refs based on snapshot output)COMMENT
LOW⚡…ents/skills/agent-browser/templates/form-automation.sh46# Step 4: Wait for submissionCOMMENT
LOW⚡…ents/skills/agent-browser/templates/form-automation.sh50# Step 5: Verify resultCOMMENT
LOW⚡packages/desktop/src/main/editors.ts623 // Step 1: 尝试从 .icns 文件加载真实 app 图标COMMENT
LOWpackages/desktop/src/main/editors.ts650 // Step 2: NSWorkspace 能读 Assets.car;Electron 的 app.getFileIcon 对这类 bundleCOMMENT
LOWpackages/rpc/examples/01-basic-ipc.ts31// Step 1: 定义一个 service(普通 TypeScript 对象)COMMENT
LOWpackages/rpc/examples/01-basic-ipc.ts61// Step 2: 手写 IServerChannel(后面的例子会用 ProxyChannel 自动化)COMMENT
LOWpackages/rpc/examples/01-basic-ipc.ts91// Step 3: 建立连接并进行 RPCCOMMENT
LOW⚡packages/rpc/src/remote.ts280 // Step 1: 解析 authorityCOMMENT
LOW⚡packages/rpc/src/remote.ts283 // Step 2: 建立 socketCOMMENT
LOW⚡packages/rpc/src/remote.ts287 // Step 3: 用 PersistentProtocol 包装(加 ACK + 重连能力)COMMENT
LOW⚡packages/rpc/src/remote.ts290 // Step 4: 包装为 IPCClientCOMMENT
LOW⚡packages/rpc/src/remote.ts293 // Step 5: 监听断线,触发重连COMMENT
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1293 # Step 1: Remove existing TOC (SDT or field code range)COMMENT
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1366 # Step 2: Determine insertion pointCOMMENT
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1386 # Step 3: Build TOC paragraphs as OxmlElements and insert themCOMMENT
LOW⚡…/spreadsheets-plugin/skills/xlsx/templates/palettes.py333# Step 1: Explicit style keywords (highest priority)COMMENT
LOW…/spreadsheets-plugin/skills/xlsx/templates/palettes.py384# Step 2: Scene keywords → infer style (lower priority)COMMENT
Docstring Block Structure7 hits · 35 pts
SeverityFileLineSnippetContext
HIGH…nts-plugin/skills/docx/scripts/add_toc_placeholders.py434Insert placeholder TOC entries and heading bookmarks into XML content. Uses lxml ElementTree for robust XML manipulSTRING
HIGH…kages/documents-plugin/skills/docx/scripts/document.py302Reject an insertion by wrapping its content in a deletion. Wraps all runs inside w:ins in w:del, converting w:tSTRING
HIGH…kages/documents-plugin/skills/docx/scripts/document.py380Reject a deletion by re-inserting the deleted content. Creates w:ins elements after each w:del, copying deletedSTRING
HIGH…kages/documents-plugin/skills/docx/scripts/document.py520Mark a w:r or w:p element as deleted with tracked changes (in-place DOM manipulation). For w:r: wraps in <w:delSTRING
HIGH…kages/documents-plugin/skills/docx/scripts/document.py718 Get or create a DocxXMLEditor for the specified XML file. Enables lazy-loaded editors with bracket notSTRING
HIGH…ages/documents-plugin/skills/docx/scripts/utilities.py82 Get a DOM element by tag and identifier. Finds an element by either its line number in the original fiSTRING
HIGH…ages/documents-plugin/skills/docx/scripts/utilities.py312 Parse XML fragment and return list of imported nodes. Args: xml_content: String containingSTRING
Redundant / Tautological Comments24 hits · 28 pts
SeverityFileLineSnippetContext
LOW…uments-plugin/skills/docx/env_setup/setup_mac_linux.sh246# Set FONT_DIR to user font directory (fonts are now installed there)COMMENT
LOW…ages/documents-plugin/skills/docx/scripts/postcheck.py598 # Check if pPr has outlineLvlCOMMENT
LOW…nts-plugin/skills/docx/scripts/add_toc_placeholders.py212 # Check if outlineLvl already exists in this styleCOMMENT
LOW…kages/documents-plugin/skills/docx/scripts/document.py576 # Check if it's a numbered list itemCOMMENT
LOW…kages/documents-plugin/skills/docx/scripts/document.py1110 # Check if this rsid already existsCOMMENT
LOW…kages/documents-plugin/skills/docx/scripts/document.py1247 # Check if author already existsCOMMENT
LOW…ges/pdf-plugin/skills/pdf/env_setup/setup_mac_linux.sh334# Set FONT_DIR to user font directory (fonts are now installed there)COMMENT
LOW⚡…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1010 # Check if this SDT contains TOC-related contentCOMMENT
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py658 # Check if runs containing hint text are properly styledCOMMENT
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1849 # Check if the original DOCX already had a TOC (pass1 already includes TOC space)COMMENT
LOW…e-cli/packages/pdf-plugin/skills/pdf/scripts/pdf_qa.py621 # Check if document contains CJK charactersCOMMENT
LOW…e-cli/packages/pdf-plugin/skills/pdf/scripts/pdf_qa.py628 # Check if Helvetica is actually used to render visible text on this pageCOMMENT
LOW⚡…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py998 # Check if output is specified for multiple filesCOMMENT
LOW…kages/pdf-plugin/skills/pdf/scripts/poster_validate.py308 # Check if this selector is a containerCOMMENT
LOW…kages/pdf-plugin/skills/pdf/scripts/poster_validate.py477 # Check if html/body has margin:0 reset (Chromium defaults to body { margin: 8px })COMMENT
LOW…kages/pdf-plugin/skills/pdf/scripts/poster_validate.py600 # Check if body/html background matches main content container backgroundCOMMENT
LOW…kages/pdf-plugin/skills/pdf/scripts/poster_validate.py644 # Check if @media screen html background matches body/canvas backgroundCOMMENT
LOW…kages/pdf-plugin/skills/pdf/scripts/poster_validate.py688 # Check if body/html already sets background globally (would be inherited)COMMENT
LOW…kages/pdf-plugin/skills/pdf/scripts/poster_validate.py758 # Check if content containers use height:100% instead of min-heightCOMMENT
LOW…kages/pdf-plugin/skills/pdf/scripts/poster_validate.py1016 # Check if this tabular is wrapped in protective environmentsCOMMENT
LOW…kages/pdf-plugin/skills/pdf/scripts/poster_validate.py1066 # Check if tabularx is loaded in preambleCOMMENT
LOW…sheets-plugin/skills/xlsx/env_setup/setup_mac_linux.sh208# Set FONT_DIR to system font directoryCOMMENT
LOW…ages/spreadsheets-plugin/skills/xlsx/templates/base.py670 # Check if cell has wrap_text enabledCOMMENT
LOW…rs-plugin/skills/systematic-debugging/find-polluter.sh44 # Check if pollution appearedCOMMENT
Synthetic Comment Markers3 hits · 20 pts
SeverityFileLineSnippetContext
HIGH…design-resources/design-systems/atelier-zero/DESIGN.md244### Anti-patterns specific to AI-generated imageryCOMMENT
HIGHapps/zcode-cli/packages/pdf-plugin/skills/pdf/SKILL.md951- [ ] **No process artifacts in output**: NEVER include version numbers ("V3"), iteration markers, draft labels ("DRAFT"CODE
HIGH…cli/packages/presentations-plugin/skills/pptx/SKILL.md135## 9. Avoid list (sources of an "AI-generated" look)COMMENT
Modern AI Meta-Vocabulary6 hits · 16 pts
SeverityFileLineSnippetContext
MEDIUM…design-resources/design-skeletons/hyperframes/SKILL.md58# 2. Get an immediately-renderable scaffold (hyperframes.json,COMMENT
MEDIUM…design-resources/design-skeletons/hyperframes/SKILL.md69# Keep edits minimal; the scaffold is already valid HF.COMMENT
MEDIUM…etons/live-artifact/examples/monday-operator-live.html861 { num: '#1262', title: 'Settings page redesign · scaffolding only', files: '22 files', author: 'Nora', age: '4h ago'CODE
MEDIUM…ackages/pdf-plugin/skills/pdf/scripts/design_engine.py1250 # Lightness guardrailsCOMMENT
MEDIUM…gin/skills/using-superpowers/references/codex-tools.md7| `Task` tool (dispatch subagent) | `spawn_agent` (see [Subagent dispatch requires multi-agent support](#subagent-dispatCODE
MEDIUM…gin/skills/using-superpowers/references/codex-tools.md16## Subagent dispatch requires multi-agent supportCOMMENT
Cross-Language Confusion3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py459 print(" Playwright: npm install -g playwright && npx playwright install chromium # large download, minutes")CODE
HIGH…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py2135 print(" mv tectonic ~/tectonic && chmod +x ~/tectonic")CODE
HIGH…code-cli/packages/pdf-plugin/skills/pdf/scripts/pdf.py2141 print(" mv tectonic ~/tectonic && chmod +x ~/tectonic")CODE
Unused Imports9 hits · 7 pts
SeverityFileLineSnippetContext
LOW…packages/pdf-plugin/skills/pdf/scripts/toc_validate.py1793CODE
LOW…kages/pdf-plugin/skills/pdf/scripts/poster_validate.py22CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/cover_render.py28CODE
LOW…packages/pdf-plugin/skills/pdf/scripts/cover_render.py30CODE
LOW…es/visualize-plugin/skills/visualize/scripts/render.py1CODE
LOW…e-cli/packages/spreadsheets-plugin/skills/xlsx/xlsx.py19CODE
LOW…e-cli/packages/spreadsheets-plugin/skills/xlsx/xlsx.py35CODE
LOW…/spreadsheets-plugin/skills/xlsx/templates/palettes.py26CODE
LOW…ages/spreadsheets-plugin/skills/xlsx/templates/base.py275CODE
Overly Generic Function Names5 hits · 5 pts
SeverityFileLineSnippetContext
LOW…op/test/e2e/helpers/coding-plan-upgrade-mock-server.ts209async function handleRequest(CODE
LOW…desktop/test/e2e/helpers/mcp-oauth-status-isolation.ts99async function handleRequest(CODE
LOWpackages/desktop/src/host/remoteMediaPreviewProxy.ts266 async function handleRequest(request: IncomingMessage, response: ServerResponse): Promise<void> {CODE
LOW…i/tools/prompt-trajectory/src/openai-provider-proxy.ts49async function handleRequest(input: {CODE
LOW…e-cli/packages/dynamic-workflow-runtime/src/harness.ts546function handleRequest(CODE
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…kages/documents-plugin/skills/docx/scripts/document.py1013 # Create the relationship entryCOMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUM.agents/skills/ai-elements/scripts/message.tsx128Here's a simple example:CODE
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…/spreadsheets-plugin/skills/xlsx/templates/palettes.py36CODE
LOW…ages/spreadsheets-plugin/skills/xlsx/templates/base.py296CODE