AI Slop Code RIsk Monitor

op7418/CodePilot

A multi-model AI agent desktop client — connect any AI provider, extend with MCP & skills, control from your phone. Built with Electron + Next.js.

9.6 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for op7418/CodePilot, a TypeScript project with 6,498 GitHub stars. SynthScan examined 474,900 lines of code across 2300 source files, recording 2291 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 9.6 (Moderate pattern signal); it is not an authorship estimate.

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

9.6
Adjusted Signal
9.6
Raw Pattern Score
100%
Time Factor
2026-09-22
Last Push
6.5K
Stars
TypeScript
Language
474.9K
Lines of Code
2.3K
Files
2.3K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 12.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.5/100 · LOW

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

Agent Over-Engineering Ratio 34.4/100 · MEDIUM

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

PR Review Velocity Impact 38.3/100 · MEDIUM

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 0HIGH 6MEDIUM 1130LOW 1155

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 2291 distinct pattern matches across 9 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.

Decorative Section Separators1113 hits · 3296 pts
SeverityFileLineSnippetContext
MEDIUM⚡…shu-openclaw-plugin/package/src/card/markdown-style.js27 // ── 1. 提取代码块,用占位符保护,处理后再还原 ─────────────────────COMMENT
MEDIUM⚡…shu-openclaw-plugin/package/src/card/markdown-style.js33 // ── 2. 标题降级 ────────────────────────────────────────────────────COMMENT
MEDIUM⚡…shu-openclaw-plugin/package/src/card/markdown-style.js43 // ── 3. 连续标题间增加段落间距 ───────────────────────────────────────COMMENT
MEDIUM⚡…shu-openclaw-plugin/package/src/card/markdown-style.js45 // ── 4. 表格前后增加段落间距 ─────────────────────────────────────────COMMENT
MEDIUM⚡…shu-openclaw-plugin/package/src/card/markdown-style.js61 // ── 5. 还原代码块,并在前后追加 <br> ──────────────────────────────COMMENT
MEDIUM⚡…shu-openclaw-plugin/package/src/card/markdown-style.js67 // ── 5. 还原代码块(无 <br>)───────────────────────────────────────COMMENT
MEDIUM⚡…shu-openclaw-plugin/package/src/card/markdown-style.js72 // ── 6. 压缩多余空行(3 个以上连续换行 → 2 个)────────────────────COMMENT
MEDIUMscripts/smoke-ai-sdk7-phase5-decision.ts41// ── Isolated app data dir (BEFORE any @/lib import) ─────────────COMMENT
MEDIUMscripts/smoke-ai-sdk7-phase5-decision.ts49// ── Credential loading (READ-ONLY on the real DB) ───────────────COMMENT
MEDIUMscripts/smoke-ai-sdk7-phase5-decision.ts95// ── Contract fact extraction ────────────────────────────────────COMMENT
MEDIUMscripts/smoke-ai-sdk7-phase5-decision.ts159// ── Runner ──────────────────────────────────────────────────────COMMENT
MEDIUMscripts/smoke-ai-sdk7-phase5-decision.ts207// ── Scenarios ───────────────────────────────────────────────────COMMENT
MEDIUMscripts/smoke-ai-sdk7-phase5-decision.ts439 // ── Report ───────────────────────────────────────────────────COMMENT
MEDIUMscripts/smoke-ai-sdk7-phase5-decision.ts461// ── Mechanical comparison ───────────────────────────────────────COMMENT
MEDIUM⚡scripts/after-sign.js153 // ── No certificate — ad-hoc signing fallback ─────────────────────────COMMENT
MEDIUMscripts/smoke-ai-sdk7-phase4-mcp-poc.ts28// ── Isolated app data dir (BEFORE any @/lib import) ─────────────COMMENT
MEDIUMscripts/smoke-ai-sdk7-phase3-poc.ts32// ── Isolated app data dir (BEFORE any @/lib import) ─────────────COMMENT
MEDIUMscripts/smoke-ai-sdk7-phase3-poc.ts41// ── Credential loading (READ-ONLY on the real DB) ───────────────COMMENT
MEDIUMscripts/smoke-ai-sdk7-phase3-poc.ts88// ── Scenario harness ────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/preview-build.yml56 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/preview-build.yml63 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/preview-build.yml91 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/preview-build.yml102 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/preview-build.yml166 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/preview-build.yml171 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/preview-build.yml201 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/preview-build.yml203 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/preview-build.yml334 # --------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/preview-build.yml336 # --------------------------------------------------------------------------COMMENT
MEDIUMelectron/main.ts2309// ── Single-instance lock (Windows multi-tray / multi-process feedback) ──────COMMENT
MEDIUMsrc/app/api/chat/route.ts175 // ─── Phase 2 Step 3 — early resolver gate ───────────────────────COMMENT
MEDIUMsrc/app/api/chat/route.ts249 // ── /compact command handler ────────────────────────────────────COMMENT
MEDIUMsrc/app/api/chat/route.ts637 // ── Context compression check ───────────────────────────────────COMMENT
MEDIUMsrc/components/settings/HealthSection.tsx106 // ── 1. Provider connectivity ─────────────────────────────────COMMENT
MEDIUMsrc/components/settings/HealthSection.tsx141 // ── 2. 执行引擎 / CLI ─────────────────────────────────────────COMMENT
MEDIUMsrc/components/settings/HealthSection.tsx205 // ── 3. Default model validity ────────────────────────────────COMMENT
MEDIUMsrc/components/settings/HealthSection.tsx287 // ── 4. Models exposure ───────────────────────────────────────COMMENT
MEDIUMsrc/components/settings/HealthSection.tsx336 // ── 5. Assistant workspace / local environment ───────────────COMMENT
MEDIUMsrc/components/settings/AppearanceSection.tsx25// ── Theme Mode Pill Selector ────────────────────────────────────────COMMENT
MEDIUMsrc/components/settings/AppearanceSection.tsx69// ── Shiki Code Preview ──────────────────────────────────────────────COMMENT
MEDIUMsrc/components/settings/AppearanceSection.tsx124// ── UI Token Preview ────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/settings/AppearanceSection.tsx145// ── Main Appearance Section ─────────────────────────────────────────COMMENT
MEDIUMsrc/components/patterns/CommandList.tsx11// ── Root container ──────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/patterns/CommandList.tsx42// ── Search input ────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/patterns/CommandList.tsx74// ── Scrollable items area ───────────────────────────────────────────COMMENT
MEDIUMsrc/components/patterns/CommandList.tsx89// ── Single item ─────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/patterns/CommandList.tsx153// ── Group with label header ─────────────────────────────────────────COMMENT
MEDIUMsrc/components/patterns/CommandList.tsx180// ── Footer ──────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/patterns/CommandList.tsx194// ── Footer action button ────────────────────────────────────────────COMMENT
MEDIUMsrc/components/patterns/CommandList.tsx215// ── Empty state ─────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/chat/WidgetRenderer.tsx71 // ── postMessage handler ────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/chat/WidgetRenderer.tsx174 // ── Streaming updates ──────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/chat/WidgetRenderer.tsx191 // ── Finalize ───────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/chat/WidgetRenderer.tsx213 // ── Theme sync ─────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/components/bridge/WeixinBridgeSection.tsx136 // ── QR Login Flow ───────────────────────────────────────COMMENT
MEDIUMsrc/components/ai-elements/shiki-worker-client.ts185// ── Real-worker singleton ────────────────────────────────────────────────COMMENT
MEDIUM⚡src/components/ai-elements/code-block.tsx45// ── Collapse/expand constants ──────────────────────────────────────────COMMENT
MEDIUM⚡src/components/ai-elements/code-block.tsx49// ── Terminal language detection ────────────────────────────────────────COMMENT
MEDIUM⚡src/components/ai-elements/code-block.tsx52// ── Language icon mapping ──────────────────────────────────────────────COMMENT
MEDIUMsrc/components/ai-elements/code-block.tsx1025// ── InlineCode ─────────────────────────────────────────────────────────COMMENT
1053 more matches not shown…
Hyper-Verbose Identifiers712 hits · 706 pts
SeverityFileLineSnippetContext
LOW资料/weixin-openclaw-package/package/src/runtime.ts53export async function resolveWeixinChannelRuntime(params: {CODE
LOW资料/weixin-openclaw-package/package/src/auth/pairing.ts35export function resolveFrameworkAllowFromPath(accountId: string): string {CODE
LOW资料/weixin-openclaw-package/package/src/auth/pairing.ts50export function readFrameworkAllowFromList(accountId: string): string[] {CODE
LOW资料/weixin-openclaw-package/package/src/auth/pairing.ts78export async function registerUserInFrameworkStore(params: {CODE
LOW资料/weixin-openclaw-package/package/src/auth/accounts.ts48export function listIndexedWeixinAccountIds(): string[] {CODE
LOW资料/weixin-openclaw-package/package/src/auth/accounts.ts229export async function triggerWeixinChannelReload(): Promise<void> {}CODE
LOW…eixin-openclaw-package/package/src/storage/sync-buf.ts21function getLegacySyncBufDefaultJsonPath(): string {CODE
LOW资料/weixin-openclaw-package/package/src/cdn/upload.ts30export async function downloadRemoteImageToTemp(url: string, destDir: string): Promise<string> {CODE
LOW资料/weixin-openclaw-package/package/src/cdn/upload.ts143export async function uploadFileAttachmentToWeixin(params: {CODE
LOW…ixin-openclaw-package/package/src/messaging/inbound.ts129export function weixinMessageToMsgContext(CODE
LOW…ixin-openclaw-package/package/src/messaging/inbound.ts169export function getContextTokenFromMsgContext(ctx: WeixinMsgContext): string | undefined {CODE
LOW资料/weixin-openclaw-package/package/src/media/mime.ts68export function getExtensionFromContentTypeOrUrl(contentType: string | null, url: string): string {CODE
LOW…/feishu-openclaw-plugin/package/src/tools/auto-auth.js607export async function handleInvokeErrorWithAutoAuth(err, cfg) {CODE
LOW…-openclaw-plugin/package/src/tools/oauth-batch-auth.js31export function registerFeishuOAuthBatchAuthTool(api) {CODE
LOW…penclaw-plugin/package/src/tools/oauth-batch-auth.d.ts11export declare function registerFeishuOAuthBatchAuthTool(api: OpenClawPluginApi): void;CODE
LOW…eishu-openclaw-plugin/package/src/tools/auto-auth.d.ts56export declare function handleInvokeErrorWithAutoAuth(err: unknown, cfg: ClawdbotConfig): Promise<{CODE
LOW…feishu-openclaw-plugin/package/src/tools/mcp/shared.js73function readMcpUrlFromOpenclawJson() {CODE
LOW…shu-openclaw-plugin/package/src/tools/mcp/doc/index.js17export function registerFeishuMcpDocTools(api) {CODE
LOW…u-openclaw-plugin/package/src/tools/mcp/doc/index.d.ts12export declare function registerFeishuMcpDocTools(api: OpenClawPluginApi): void;CODE
LOW…ishu-openclaw-plugin/package/src/tools/oapi/helpers.js44export function createFeishuClientFromConfig(config) {CODE
LOW…ishu-openclaw-plugin/package/src/tools/oapi/helpers.js245export function formatTimestampToBeijingTime(timestamp) {CODE
LOW…ishu-openclaw-plugin/package/src/tools/oapi/helpers.js270export function formatTimestampMsToBeijingTime(timestamp) {CODE
LOW…hu-openclaw-plugin/package/src/tools/oapi/helpers.d.ts38export declare function createFeishuClientFromConfig(config: ClawdbotConfig): LarkClient;CODE
LOW…hu-openclaw-plugin/package/src/tools/oapi/helpers.d.ts131export declare function formatTimestampToBeijingTime(timestamp: string | number): string;CODE
LOW…hu-openclaw-plugin/package/src/tools/oapi/helpers.d.ts144export declare function formatTimestampMsToBeijingTime(timestamp: string | number): string;CODE
LOW…ugin/package/src/tools/oapi/bitable/app-table-field.js67export function registerFeishuBitableAppTableFieldTool(api) {CODE
LOW…law-plugin/package/src/tools/oapi/bitable/app-table.js78export function registerFeishuBitableAppTableTool(api) {CODE
LOW…penclaw-plugin/package/src/tools/oapi/bitable/app.d.ts18export declare function registerFeishuBitableAppTool(api: OpenClawPluginApi): void;CODE
LOW…gin/package/src/tools/oapi/bitable/app-table-record.js127export function registerFeishuBitableAppTableRecordTool(api) {CODE
LOW…lugin/package/src/tools/oapi/bitable/app-table-view.js70export function registerFeishuBitableAppTableViewTool(api) {CODE
LOW…gin/package/src/tools/oapi/bitable/app-table-view.d.ts17export declare function registerFeishuBitableAppTableViewTool(api: OpenClawPluginApi): void;CODE
LOW…in/package/src/tools/oapi/bitable/app-table-field.d.ts16export declare function registerFeishuBitableAppTableFieldTool(api: OpenClawPluginApi): void;CODE
LOW…n/package/src/tools/oapi/bitable/app-table-record.d.ts20export declare function registerFeishuBitableAppTableRecordTool(api: OpenClawPluginApi): void;CODE
LOW…w-plugin/package/src/tools/oapi/bitable/app-table.d.ts19export declare function registerFeishuBitableAppTableTool(api: OpenClawPluginApi): void;CODE
LOW…-openclaw-plugin/package/src/tools/oapi/bitable/app.js59export function registerFeishuBitableAppTool(api) {CODE
LOW…enclaw-plugin/package/src/tools/oapi/calendar/event.js287function normalizeCalendarTimeValue(value) {CODE
LOW…enclaw-plugin/package/src/tools/oapi/calendar/event.js322function normalizeEventListTimeFields(events) {CODE
LOW…enclaw-plugin/package/src/tools/oapi/calendar/event.js330export function registerFeishuCalendarEventTool(api) {CODE
LOW…law-plugin/package/src/tools/oapi/calendar/freebusy.js36export function registerFeishuCalendarFreebusyTool(api) {CODE
LOW…ugin/package/src/tools/oapi/calendar/event-attendee.js96export function registerFeishuCalendarEventAttendeeTool(api) {CODE
LOW…in/package/src/tools/oapi/calendar/event-attendee.d.ts16export declare function registerFeishuCalendarEventAttendeeTool(api: OpenClawPluginApi): void;CODE
LOW…claw-plugin/package/src/tools/oapi/calendar/event.d.ts16export declare function registerFeishuCalendarEventTool(api: OpenClawPluginApi): void;CODE
LOW…w-plugin/package/src/tools/oapi/calendar/freebusy.d.ts13export declare function registerFeishuCalendarFreebusyTool(api: OpenClawPluginApi): void;CODE
LOW…w-plugin/package/src/tools/oapi/calendar/calendar.d.ts15export declare function registerFeishuCalendarCalendarTool(api: OpenClawPluginApi): void;CODE
LOW…law-plugin/package/src/tools/oapi/calendar/calendar.js45export function registerFeishuCalendarCalendarTool(api) {CODE
LOW…openclaw-plugin/package/src/tools/oapi/sheets/index.js14export function registerFeishuSheetsTools(api) {CODE
LOW…enclaw-plugin/package/src/tools/oapi/sheets/index.d.ts12export declare function registerFeishuSheetsTools(api: OpenClawPluginApi): void;CODE
LOW…openclaw-plugin/package/src/tools/oapi/wiki/space.d.ts15export declare function registerFeishuWikiSpaceTool(api: OpenClawPluginApi): void;CODE
LOW…nclaw-plugin/package/src/tools/oapi/wiki/space-node.js127export function registerFeishuWikiSpaceNodeTool(api) {CODE
LOW…law-plugin/package/src/tools/oapi/wiki/space-node.d.ts17export declare function registerFeishuWikiSpaceNodeTool(api: OpenClawPluginApi): void;CODE
LOW…u-openclaw-plugin/package/src/tools/oapi/wiki/space.js53export function registerFeishuWikiSpaceTool(api) {CODE
LOW…openclaw-plugin/package/src/tools/oapi/search/index.js14export function registerFeishuSearchTools(api) {CODE
LOW…w-plugin/package/src/tools/oapi/search/doc-search.d.ts13export declare function registerFeishuSearchDocWikiTool(api: OpenClawPluginApi): void;CODE
LOW…law-plugin/package/src/tools/oapi/search/doc-search.js113function normalizeSearchResultTimeFields(value, converted) {CODE
LOW…law-plugin/package/src/tools/oapi/search/doc-search.js138export function registerFeishuSearchDocWikiTool(api) {CODE
LOW…enclaw-plugin/package/src/tools/oapi/search/index.d.ts12export declare function registerFeishuSearchTools(api: OpenClawPluginApi): void;CODE
LOW…enclaw-plugin/package/src/tools/oapi/task/subtask.d.ts14export declare function registerFeishuTaskSubtaskTool(api: OpenClawPluginApi): void;CODE
LOW…openclaw-plugin/package/src/tools/oapi/task/subtask.js53export function registerFeishuTaskSubtaskTool(api) {CODE
LOW…-openclaw-plugin/package/src/tools/oapi/task/task.d.ts16export declare function registerFeishuTaskTaskTool(api: OpenClawPluginApi): void;CODE
LOW…hu-openclaw-plugin/package/src/tools/oapi/task/task.js158export function registerFeishuTaskTaskTool(api) {CODE
652 more matches not shown…
Over-Commented Block336 hits · 307 pts
SeverityFileLineSnippetContext
LOWnext.config.ts1import type { NextConfig } from "next";COMMENT
LOWnext.config.ts21 cacheHandler: path.join(import.meta.dirname, 'cache-handler.js'),COMMENT
LOWnext.config.ts41 // resources (HMR, fonts) unless the host is explicitly allowed.COMMENT
LOWnext.config.ts61 // serverExternalPackages: keep these in node_modules at runtime instead of bundling.COMMENT
LOW资料/feishu-openclaw-plugin/package/src/doctor.js381 // basicInfoOk: basicInfoResult.apiOk,COMMENT
LOW资料/feishu-openclaw-plugin/package/src/tools/oauth.js61 const scopeDesc = formatScopeDescription(scope, isBatchAuth, totalAppScopes, alreadyGranted, batchInfo, filteredScopCOMMENT
LOW资料/feishu-openclaw-plugin/package/src/tools/oauth.js81 // color: "orange",COMMENT
LOW资料/feishu-openclaw-plugin/package/src/tools/oauth.js181 message += `\n\n${batchInfo}`;COMMENT
LOW资料/feishu-openclaw-plugin/package/src/tools/oauth.js241 template: "green",COMMENT
LOW资料/feishu-openclaw-plugin/package/src/tools/oauth.js261 // elements: [COMMENT
LOW资料/feishu-openclaw-plugin/package/src/tools/oauth.js321 // tag: "column_set",COMMENT
LOW资料/feishu-openclaw-plugin/package/src/tools/oauth.js341 // content: "授权未完成",COMMENT
LOW资料/feishu-openclaw-plugin/package/src/tools/oauth.js401 if (!acct.configured) {COMMENT
LOW资料/feishu-openclaw-plugin/package/src/tools/oauth.js421 // }COMMENT
LOW…feishu-openclaw-plugin/package/src/tools/oapi/index.js61 registerFeishuDriveTools(api);COMMENT
LOW…ishu-openclaw-plugin/package/src/tools/oapi/helpers.js361// return json({COMMENT
LOW…ishu-openclaw-plugin/package/src/tools/oapi/helpers.js381// (link ? `\n权限管理链接:${link}` : ""),COMMENT
LOW…ishu-openclaw-plugin/package/src/tools/oapi/helpers.js401// return json({COMMENT
LOW…ishu-openclaw-plugin/package/src/tools/oapi/helpers.js421// if (err instanceof NeedAuthorizationError) {COMMENT
LOW…n/package/src/tools/oapi/bitable/app-table-record.d.ts21//# sourceMappingURL=app-table-record.d.ts.mapCOMMENT
LOW…law-plugin/package/src/tools/oapi/calendar/calendar.js121//# sourceMappingURL=calendar.js.mapCOMMENT
LOW…aw-plugin/package/src/tools/oapi/im/format-messages.js161//# sourceMappingURL=format-messages.js.mapCOMMENT
LOW…shu-openclaw-plugin/package/src/card/markdown-style.js41 }COMMENT
LOW…penclaw-plugin/package/src/core/app-scope-checker.d.ts81//# sourceMappingURL=app-scope-checker.d.ts.mapCOMMENT
LOW…enclaw-plugin/package/src/core/app-owner-fallback.d.ts21//# sourceMappingURL=app-owner-fallback.d.ts.mapCOMMENT
LOW…penclaw-plugin/package/src/workspace/task-tracker.d.ts41//# sourceMappingURL=task-tracker.d.ts.mapCOMMENT
LOW…/feishu-openclaw-plugin/package/src/commands/doctor.js361 // 3. 检查应用权限COMMENT
LOW…claw-plugin/package/src/messaging/converters/folder.js21//# sourceMappingURL=folder.js.mapCOMMENT
LOW…enclaw-plugin/package/src/messaging/converters/file.js21//# sourceMappingURL=file.js.mapCOMMENT
LOW…ugin/package/src/messaging/converters/merge-forward.js221//# sourceMappingURL=merge-forward.js.mapCOMMENT
LOW…law-plugin/package/src/messaging/inbound/dispatch.d.ts41//# sourceMappingURL=dispatch.d.ts.mapCOMMENT
LOW…nclaw-plugin/package/src/messaging/inbound/enrich.d.ts101//# sourceMappingURL=enrich.d.ts.mapCOMMENT
LOW…enclaw-plugin/package/src/messaging/outbound/typing.js141//# sourceMappingURL=typing.js.mapCOMMENT
LOW…claw-plugin/package/src/messaging/outbound/typing.d.ts61//# sourceMappingURL=typing.d.ts.mapCOMMENT
LOWdocs/research/provider-registry-comparison.md181## 对 CodePilot 的改进建议COMMENT
LOW.github/workflows/preview-build.yml1name: Preview Build (manual · artifacts only · no release)COMMENT
LOW.github/workflows/build.yml1name: Build & PackageCOMMENT
LOWelectron/main.ts741 } else {COMMENT
LOWelectron/main.ts1881 // see Phase 7c plan D-3 — actual AppKit offset may be ±2px soCOMMENT
LOWelectron/main.ts2041 // read the diagnostic line, no DevTools needed.COMMENT
LOWelectron/main.ts2201 // First time the sanitizer runs in a given logs dir, rename theCOMMENT
LOWelectron/main.ts2301 console.error = (...args: unknown[]) => { logWriter.write(fmt('error', args)); origError(...args); };COMMENT
LOWelectron/main.ts3721 `The internal server could not start.\n\n${err instanceof Error ? err.message : String(err)}\n\nPlease try restartCOMMENT
LOWsrc/app/settings/runtime/page.tsx1// Server component that derives the capability matrix per Runtime andCOMMENT
LOWsrc/app/chat/page.tsx21import { OnboardingWizard } from '@/components/assistant/OnboardingWizard';COMMENT
LOWsrc/app/chat/page.tsx181 const [streamingToolOutput, setStreamingToolOutput] = useState('');COMMENT
LOWsrc/app/chat/page.tsx201 // overlay so a Codex-Account-only user (no traditionalCOMMENT
LOWsrc/app/chat/page.tsx221 // (`/api/openai-oauth/status`-managed).COMMENT
LOWsrc/app/chat/page.tsx241 // - currentProviderId is a DB provider → hasProvider true (weCOMMENT
LOWsrc/app/chat/page.tsx261 // Round-1 review fix — derive the chat-runtime param up front soCOMMENT
LOWsrc/app/chat/page.tsx281 // numbers". That coupling cost the chat first paint a fan-out ofCOMMENT
LOWsrc/app/chat/page.tsx401 }).catch(() => {COMMENT
LOWsrc/app/chat/page.tsx421 // Fetch models filtered by the **current** session runtime param —COMMENT
LOWsrc/app/chat/page.tsx441 const savedModel = localStorage.getItem('codepilot:last-model') || 'sonnet';COMMENT
LOWsrc/app/chat/page.tsx481 setCurrentModel('');COMMENT
LOWsrc/app/chat/page.tsx821 // would resolve them via the env-default chain, silently bypassingCOMMENT
LOWsrc/app/chat/page.tsx841 // Pre-round-4 this branch hard-blocked sends wheneverCOMMENT
LOWsrc/app/chat/page.tsx861 // click send and hit the legacy "no provider configured" wall.COMMENT
LOWsrc/app/chat/page.tsx1001 // #4/#5 (Codex P2) — also mark the URL prefill consumed so the remount'sCOMMENT
LOWsrc/app/chat/page.tsx1181 // Phase 5 extension-point; no producer currently (seeCOMMENT
276 more matches not shown…
Structural Annotation Overuse33 hits · 59 pts
SeverityFileLineSnippetContext
LOW…ugin/package/src/tools/oapi/calendar/event-attendee.js193 // Step 1: List all attendees to get attendee_id (user_...) from open_id (ou_...)COMMENT
LOW…ugin/package/src/tools/oapi/calendar/event-attendee.js206 // Step 2: Map open_id to attendee_id (user_...) and track organizersCOMMENT
LOW…ugin/package/src/tools/oapi/calendar/event-attendee.js226 // Step 3: Find attendee_ids for the given open_idsCOMMENT
LOW…ugin/package/src/tools/oapi/calendar/event-attendee.js245 // Step 4: Call batch_delete API with attendee_ids (user_...)COMMENT
LOW…openclaw-plugin/package/src/tools/oapi/sheets/sheet.js523 // Step 1: 创建电子表格COMMENT
LOW…openclaw-plugin/package/src/tools/oapi/sheets/sheet.js538 // Step 2: 如果有 headers 或 data,写入初始数据COMMENT
LOW…openclaw-plugin/package/src/tools/oapi/sheets/sheet.js589 // Step 1: 创建导出任务COMMENT
LOW…openclaw-plugin/package/src/tools/oapi/sheets/sheet.js604 // Step 2: 轮询等待完成COMMENT
LOW…openclaw-plugin/package/src/tools/oapi/sheets/sheet.js629 // Step 3: 下载(如果指定了 output_path)COMMENT
LOW…u-openclaw-plugin/package/src/card/reply-dispatcher.js304 // Step 1: Create card entityCOMMENT
LOW…u-openclaw-plugin/package/src/card/reply-dispatcher.js316 // Step 2: Send IM message referencing card_idCOMMENT
LOW⚡docs/exec-plans/completed/v0.48-post-release-issues.md531 // Step 1: 先尝试从 DB 回填(若 apiKey 缺失或是 mask)COMMENT
LOW⚡docs/exec-plans/completed/v0.48-post-release-issues.md538 // Step 2: 再做 NO_CREDENTIALS 校验COMMENT
LOW⚡docs/exec-plans/completed/v0.48-post-release-issues.md543 // Step 3: 正常走 testProviderConnectionCOMMENT
LOWscripts/after-pack.js42 // Step 1: Explicitly rebuild standalone native modules for the targetCOMMENT
LOW⚡scripts/after-pack.js90 // Step 2: Verify every rebuilt .node file.COMMENT
LOW⚡scripts/after-pack.js99 // Step 3: Find and replace all target .node files in standalone resources.COMMENT
LOW⚡scripts/after-sign.js160 // Step 1: Sign all native binaries (.node, .dylib, .so)COMMENT
LOW⚡scripts/after-sign.js170 // Step 2: Sign executable helper binaries inside frameworks before signingCOMMENT
LOW⚡scripts/after-sign.js183 // Step 3: Sign all FrameworksCOMMENT
LOW⚡scripts/after-sign.js193 // Step 4: Sign all Helper appsCOMMENT
LOW⚡scripts/after-sign.js203 // Step 5: Sign the main app bundleCOMMENT
LOWelectron/main.ts2771 // Step 1: Install Claude Code via native installerCOMMENT
LOWelectron/main.ts2889 // Step 2: Verify claude is availableCOMMENT
LOWsrc/app/api/settings/qq/verify/route.ts33 // Step 1: Get access tokenCOMMENT
LOWsrc/app/api/settings/qq/verify/route.ts49 // Step 2: Verify gateway is reachableCOMMENT
LOWsrc/app/api/providers/test/route.ts37 // Step 1: back-fill real api_key from DB when the caller sends no key or aCOMMENT
LOWsrc/app/api/providers/test/route.ts53 // Step 2: credential check (after back-fill)COMMENT
LOWsrc/lib/bridge/adapters/telegram-media.ts202 // Step 1: Get file path from TelegramCOMMENT
LOWsrc/lib/bridge/adapters/telegram-media.ts230 // Step 2: Download the fileCOMMENT
LOW⚡src/lib/bridge/adapters/telegram-media.ts252 // Step 3: Read buffer and validate actual sizeCOMMENT
LOW⚡src/lib/bridge/adapters/telegram-media.ts259 // Step 4: Determine MIME typeCOMMENT
LOW⚡src/lib/bridge/adapters/telegram-media.ts262 // Step 5: Convert to base64 and build FileAttachmentCOMMENT
Verbosity Indicators30 hits · 52 pts
SeverityFileLineSnippetContext
LOW…ugin/package/src/tools/oapi/calendar/event-attendee.js193 // Step 1: List all attendees to get attendee_id (user_...) from open_id (ou_...)COMMENT
LOW…ugin/package/src/tools/oapi/calendar/event-attendee.js206 // Step 2: Map open_id to attendee_id (user_...) and track organizersCOMMENT
LOW…ugin/package/src/tools/oapi/calendar/event-attendee.js226 // Step 3: Find attendee_ids for the given open_idsCOMMENT
LOW…ugin/package/src/tools/oapi/calendar/event-attendee.js245 // Step 4: Call batch_delete API with attendee_ids (user_...)COMMENT
LOW…openclaw-plugin/package/src/tools/oapi/sheets/sheet.js523 // Step 1: 创建电子表格COMMENT
LOW…openclaw-plugin/package/src/tools/oapi/sheets/sheet.js538 // Step 2: 如果有 headers 或 data,写入初始数据COMMENT
LOW…openclaw-plugin/package/src/tools/oapi/sheets/sheet.js589 // Step 1: 创建导出任务COMMENT
LOW…openclaw-plugin/package/src/tools/oapi/sheets/sheet.js604 // Step 2: 轮询等待完成COMMENT
LOW…openclaw-plugin/package/src/tools/oapi/sheets/sheet.js629 // Step 3: 下载(如果指定了 output_path)COMMENT
LOW…u-openclaw-plugin/package/src/card/reply-dispatcher.js304 // Step 1: Create card entityCOMMENT
LOW…u-openclaw-plugin/package/src/card/reply-dispatcher.js316 // Step 2: Send IM message referencing card_idCOMMENT
LOWscripts/after-pack.js42 // Step 1: Explicitly rebuild standalone native modules for the targetCOMMENT
LOW⚡scripts/after-pack.js90 // Step 2: Verify every rebuilt .node file.COMMENT
LOW⚡scripts/after-pack.js99 // Step 3: Find and replace all target .node files in standalone resources.COMMENT
LOW⚡scripts/after-sign.js160 // Step 1: Sign all native binaries (.node, .dylib, .so)COMMENT
LOW⚡scripts/after-sign.js170 // Step 2: Sign executable helper binaries inside frameworks before signingCOMMENT
LOW⚡scripts/after-sign.js183 // Step 3: Sign all FrameworksCOMMENT
LOW⚡scripts/after-sign.js193 // Step 4: Sign all Helper appsCOMMENT
LOW⚡scripts/after-sign.js203 // Step 5: Sign the main app bundleCOMMENT
LOWelectron/main.ts2771 // Step 1: Install Claude Code via native installerCOMMENT
LOWelectron/main.ts2889 // Step 2: Verify claude is availableCOMMENT
LOWsrc/app/api/settings/qq/verify/route.ts33 // Step 1: Get access tokenCOMMENT
LOWsrc/app/api/settings/qq/verify/route.ts49 // Step 2: Verify gateway is reachableCOMMENT
LOWsrc/app/api/providers/test/route.ts37 // Step 1: back-fill real api_key from DB when the caller sends no key or aCOMMENT
LOWsrc/app/api/providers/test/route.ts53 // Step 2: credential check (after back-fill)COMMENT
LOWsrc/lib/bridge/adapters/telegram-media.ts202 // Step 1: Get file path from TelegramCOMMENT
LOWsrc/lib/bridge/adapters/telegram-media.ts230 // Step 2: Download the fileCOMMENT
LOW⚡src/lib/bridge/adapters/telegram-media.ts252 // Step 3: Read buffer and validate actual sizeCOMMENT
LOW⚡src/lib/bridge/adapters/telegram-media.ts259 // Step 4: Determine MIME typeCOMMENT
LOW⚡src/lib/bridge/adapters/telegram-media.ts262 // Step 5: Convert to base64 and build FileAttachmentCOMMENT
Fake / Example Data44 hits · 50 pts
SeverityFileLineSnippetContext
LOW…plugin/package/src/messaging/converters/interactive.js558 const paths = ["content", "text", "title", "label", "placeholder"];CODE
LOWdocs/exec-plans/active/automatic-chat-titles.md74- [x] 「首轮」的判定复用 fallback CAS 的返回值而不是数消息。→ `route.ts` 把 `updateSessionTitle(..., expectOrigin: ['placeholder'])` 的返回值存成 `CODE
LOWsrc/app/api/chat/route.ts456 // The CAS on 'placeholder' is what makes this safe to run on everyCOMMENT
LOWsrc/app/api/chat/route.ts468 expectOrigin: ['placeholder'],CODE
LOWsrc/__tests__/functional-test.ts170 const placeholder = await chatInput.getAttribute('placeholder') || '';CODE
LOWsrc/__tests__/unit/conversation-title.test.ts258 for (const origin of ['placeholder', 'fallback', 'generated', 'manual', 'system', 'import']) {CODE
LOWsrc/__tests__/unit/title-generation-trigger.test.ts99 updateSessionTitle(s.id, 'Fallback title', 'fallback', { expectOrigin: ['placeholder'] });CODE
LOWsrc/__tests__/unit/native-timeout-reasons.test.ts17 * 4. 反例 (anti-fake-data): with budgets configured but generous, a normalCOMMENT
LOWsrc/__tests__/unit/native-timeout-reasons.test.ts453 // 反例 1 (anti-fake-data): budgets configured but generous → normal turn,COMMENT
LOWsrc/__tests__/unit/agent-loop-error-event.test.ts7 * normal-vs-trigger difference required by the project's anti-fake-data rule.COMMENT
LOWsrc/__tests__/unit/xai-oauth-manager.test.ts71 const idToken = jwt({ email: 'user@example.com', sub: 'account-1' });CODE
LOWsrc/__tests__/unit/xai-oauth-manager.test.ts81 assert.equal(bundle.email, 'user@example.com');CODE
LOWsrc/__tests__/unit/bridge-delivery-visibility.test.ts92 setSetting('telegram_bot_token', 'fake-token');CODE
LOWsrc/__tests__/unit/bridge-delivery-visibility.test.ts118 setSetting('telegram_bot_token', 'fake-token');CODE
LOWsrc/__tests__/unit/session-title-wiring.test.ts77 assert.match(branch, /expectOrigin: \['placeholder'\]/);CODE
LOWsrc/__tests__/unit/xai-oauth.test.ts75 assert.deepEqual(parseJwtClaims(jwt({ exp: 123, email: 'user@example.com', sub: 'acct' })), {CODE
LOWsrc/__tests__/unit/xai-oauth.test.ts77 email: 'user@example.com',CODE
LOWsrc/__tests__/unit/xai-oauth.test.ts109 id_token: jwt({ nonce: 'nonce-1', email: 'user@example.com' }),CODE
LOWsrc/__tests__/unit/codex-account-state.test.ts75 account: { type: 'chatgpt', email: 'user@example.com', planType: 'pro' },CODE
LOWsrc/__tests__/unit/codex-account-state.test.ts82 email: 'user@example.com',CODE
LOWsrc/__tests__/unit/title-generation.test.ts84 updateSessionTitle(s.id, fallback, 'fallback', { expectOrigin: ['placeholder'] });CODE
LOWsrc/__tests__/unit/title-generation.test.ts702 assert.equal(getSession(s.id)!.title_origin, 'placeholder');CODE
LOWsrc/__tests__/unit/session-title-provenance.test.ts47 assert.equal(s.title_origin, 'placeholder');CODE
LOW⚡src/__tests__/unit/session-title-provenance.test.ts71 const ok = updateSessionTitle(s.id, 'Fix login', 'fallback', { expectOrigin: ['placeholder'] });CODE
LOW⚡src/__tests__/unit/session-title-provenance.test.ts80 updateSessionTitle(s.id, 'First message', 'fallback', { expectOrigin: ['placeholder'] });CODE
LOW⚡src/__tests__/unit/session-title-provenance.test.ts81 const ok = updateSessionTitle(s.id, 'Second message', 'fallback', { expectOrigin: ['placeholder'] });CODE
LOW⚡src/__tests__/unit/session-title-provenance.test.ts89 const ok = updateSessionTitle(s.id, 'clobbered', 'fallback', { expectOrigin: ['placeholder'] });CODE
LOW⚡src/__tests__/unit/session-title-provenance.test.ts99 updateSessionTitle(s.id, 'auto title', 'fallback', { expectOrigin: ['placeholder'] });CODE
LOWsrc/__tests__/unit/session-title-provenance.test.ts110 assert.equal(updateSessionTitle(s.id, 'ghost', 'fallback', { expectOrigin: ['placeholder'] }), false);CODE
LOWsrc/__tests__/unit/session-title-provenance.test.ts127 updateSessionTitle(s.id, 'fallback title', 'fallback', { expectOrigin: ['placeholder'] });CODE
LOWsrc/__tests__/unit/session-title-provenance.test.ts258 assert.equal(untitled?.title_origin, 'placeholder');CODE
LOWsrc/__tests__/unit/session-title-provenance.test.ts259 assert.equal(empty?.title_origin, 'placeholder');CODE
LOWsrc/__tests__/unit/session-title-provenance.test.ts272 assert.equal(again.getSession('legacy-untitled')?.title_origin, 'placeholder');CODE
LOWsrc/__tests__/unit/session-title-provenance.test.ts315 assert.equal(recovered.getSession('half-untitled')?.title_origin, 'placeholder');CODE
LOWsrc/__tests__/unit/session-title-provenance.test.ts326 for (const origin of ['placeholder', 'fallback', 'generated', 'manual', 'system', 'import'] as const) {CODE
LOWsrc/__tests__/e2e/chat.spec.ts67 const placeholder = await input.getAttribute('placeholder');CODE
LOWsrc/__tests__/e2e/chat-enhanced.spec.ts145 const placeholder = await input.getAttribute('placeholder');CODE
LOWsrc/lib/db.ts789 // ALTER ... DEFAULT 'placeholder' would silently stamp every legacy rowCOMMENT
LOWsrc/lib/db.ts799 // 'New Chat' / '' → 'placeholder': never had a real title, so the nextCOMMENT
LOWsrc/lib/db.ts2310 * caller that passed no title gets 'placeholder' (a fallback may fill itCOMMENT
LOWsrc/lib/db.ts811 SET title_origin = CASE WHEN title = '' OR title = 'New Chat' THEN 'placeholder' ELSE 'manual' ENDCODE
LOWsrc/lib/db.ts2324 const originValue: TitleOrigin = titleOrigin ?? (title ? 'manual' : 'placeholder');CODE
LOWsrc/lib/conversation-title.ts24 | 'placeholder'CODE
LOWsrc/lib/conversation-title.ts37 'placeholder',CODE
Synthetic Comment Markers6 hits · 45 pts
SeverityFileLineSnippetContext
HIGHsrc/components/layout/panels/PreviewPanel.tsx330 // because that's the common case for previewing AI-generatedCOMMENT
HIGHsrc/components/cli-tools/CliToolsManager.tsx144 // displayName + id + AI-generated description (extra/custom). TheCOMMENT
HIGHsrc/__tests__/unit/inline-html-csp.test.ts85 // Codex review finding: AI-generated HTML / code fence contentCOMMENT
HIGHsrc/lib/claude-client.ts2275 // only to CodePilot's transcript payload as requested-modelCOMMENT
HIGHsrc/lib/inline-html-csp.ts41 // https://...img.png from an AI-generated artifact is allowed; theCOMMENT
HIGHsrc/lib/db.ts1306 // CLI tools: persisted AI-generated descriptionsCOMMENT
AI Slop Vocabulary10 hits · 26 pts
SeverityFileLineSnippetContext
MEDIUMsrc/__tests__/unit/harness-extension-fragment.test.ts100 assert.match(out, /## Your harness extensions/);CODE
MEDIUMsrc/__tests__/unit/harness-extension-fragment.test.ts178 /## Your harness extensions/.test(base.systemPromptAppend),CODE
MEDIUMsrc/__tests__/unit/harness-extension-fragment.test.ts192 assert.match(out.systemPromptAppend, /## Your harness extensions/);CODE
MEDIUMsrc/__tests__/unit/heartbeat-copy-honesty.test.ts53 // bundles are flat key→string objects, so this is robust enough.COMMENT
MEDIUM…/__tests__/unit/codex-builtin-no-anti-patterns.test.ts101 // This guard is more nuanced: OPENAI_API_KEY may legitimately beCOMMENT
MEDIUMsrc/__tests__/unit/session-runtime-immunity.test.ts983 // Counting the flag inside dep arrays is the cheapest robustCOMMENT
MEDIUMsrc/__tests__/unit/context-compressor-handoff.test.ts304 // monotonically increasing per insert, so this is robust even when writesCOMMENT
MEDIUM…ests__/unit/extract-token-usage-context-window.test.ts92 // faster and more robust.COMMENT
MEDIUMsrc/lib/harness/runtime-adapter.ts160 * ## Your harness extensionsCOMMENT
MEDIUMsrc/lib/harness/runtime-adapter.ts203 const lines: string[] = ['## Your harness extensions', ''];CODE
Modern AI Meta-Vocabulary7 hits · 20 pts
SeverityFileLineSnippetContext
MEDIUMdocs/research/sub-agent-system.md414 // 4. 执行 agentic loopCOMMENT
MEDIUM…plans/completed/context-accounting-runtime-contract.md498- 2026-05-20(**v4 P2 deferred → tech-debt #22**):selectedSkills 仍是 `readonly string[]`。同名 skill 在 project + global 重复时按 CODE
MEDIUM…/exec-plans/active/development-harness-optimization.md217### Step 4 — 把"必读"扩到 guardrails/ 八类高风险入口 🔄 部分完成COMMENT
MEDIUMsrc/components/settings/UsageStatsSection.tsx232 // Derive cost-by-day series — same date scaffold as the bar chart soCOMMENT
MEDIUMsrc/components/chat/RunCockpit.tsx177 // v0.56.x Phase 2 (#632) — only show a percentage when the context windowCOMMENT
MEDIUMsrc/__tests__/unit/codex-proxy-foundation.test.ts424 // scaffold returned. Codex's HTTP client readsCOMMENT
MEDIUMsrc/lib/claude-client.ts999 // #632: trust the SDK-reported context window only for a first-partyCOMMENT