Repository Analysis

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.9 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of op7418/CodePilot, a TypeScript project with 6,435 GitHub stars. SynthScan v2.0 examined 454,481 lines of code across 2160 source files, recording 2223 pattern matches distributed across 9 syntactic categories. The overall adjusted score of 9.9 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

9.9
Adjusted Score
9.9
Raw Score
100%
Time Factor
2026-08-26
Last Push
6.4K
Stars
TypeScript
Language
454.5K
Lines of Code
2.2K
Files
2.2K
Pattern Hits
2026-08-29
Scan Date
0.00
HC Hit Rate

What These Metrics Mean

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

Score History

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

Severity Breakdown

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

CRITICAL 0HIGH 7MEDIUM 1128LOW 1088

Directory Score Breakdown

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

Pattern Findings

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

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

Decorative Section Separators1111 hits · 3293 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
MEDIUMscripts/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.ts2229// ── Single-instance lock (Windows multi-tray / multi-process feedback) ──────COMMENT
MEDIUMsrc/app/api/chat/route.ts127 // ─── Phase 2 Step 3 — early resolver gate ───────────────────────COMMENT
MEDIUMsrc/app/api/chat/route.ts215 // ── /compact command handler ────────────────────────────────────COMMENT
MEDIUMsrc/app/api/chat/route.ts625 // ── 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
MEDIUMsrc/components/ai-elements/code-block.tsx45// ── Collapse/expand constants ──────────────────────────────────────────COMMENT
MEDIUMsrc/components/ai-elements/code-block.tsx49// ── Terminal language detection ────────────────────────────────────────COMMENT
MEDIUMsrc/components/ai-elements/code-block.tsx52// ── Language icon mapping ──────────────────────────────────────────────COMMENT
MEDIUMsrc/components/ai-elements/code-block.tsx1025// ── InlineCode ─────────────────────────────────────────────────────────COMMENT
1051 more matches not shown…
Hyper-Verbose Identifiers640 hits · 636 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
580 more matches not shown…
Over-Commented Block341 hits · 314 pts
SeverityFileLineSnippetContext
LOWnext.config.ts1import type { NextConfig } from "next";COMMENT
LOWnext.config.ts21 // Without this, Next walks upward looking for the nearest lockfileCOMMENT
LOWnext.config.ts41 // worktrees this cache can grow to multi-GB under `.next/dev/cache` andCOMMENT
LOWnext.config.ts61 // as a child process. When Next.js bundles the SDK, the standalone buildCOMMENT
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.ts1801 // half-height of the macOS traffic-light cluster (~14px tall);COMMENT
LOWelectron/main.ts1961 // read the diagnostic line, no DevTools needed.COMMENT
LOWelectron/main.ts2121 // First time the sanitizer runs in a given logs dir, rename theCOMMENT
LOWelectron/main.ts2221 console.error = (...args: unknown[]) => { logWriter.write(fmt('error', args)); origError(...args); };COMMENT
LOWelectron/main.ts3641 `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.tsx21// Chat first-paint memory contract (2026-05-09): NewChatPage must NOTCOMMENT
LOWsrc/app/chat/page.tsx81 );COMMENT
LOWsrc/app/chat/page.tsx181 // Phase 6 Phase 3 — per-source split (attachment / mention / directory).COMMENT
LOWsrc/app/chat/page.tsx201 // and the resolver has landed on (codex_account, gpt-5.5).COMMENT
LOWsrc/app/chat/page.tsx221 // Everything else still requires the legacy "provider set up"COMMENT
LOWsrc/app/chat/page.tsx241 // - currentProviderId === '' → genuinely no provider reachableCOMMENT
LOWsrc/app/chat/page.tsx261 //COMMENT
LOWsrc/app/chat/page.tsx281 // memory cut moves global health (provider count / models enabled /COMMENT
LOWsrc/app/chat/page.tsx401 }, [currentProviderId]);COMMENT
LOWsrc/app/chat/page.tsx441 setModelReady(true);COMMENT
LOWsrc/app/chat/page.tsx481 } else if (resolved.status === 'invalid-default') {COMMENT
LOWsrc/app/chat/page.tsx621 // Sync provider/model, applying global default model for new conversations.COMMENT
LOWsrc/app/chat/page.tsx821 message: t('error.providerUnavailable'),COMMENT
LOWsrc/app/chat/page.tsx841 // unavailable" banner + a disabled composer at the same time —COMMENT
LOWsrc/app/chat/page.tsx861 // working route. `hasProvider` stays purely as theCOMMENT
LOWsrc/app/chat/page.tsx881 firstSendInFlightRef.current = true;COMMENT
LOWsrc/app/chat/page.tsx1001 requestError.reason = err?.reason;COMMENT
281 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
LOWdocs/exec-plans/completed/v0.48-post-release-issues.md531 // Step 1: 先尝试从 DB 回填(若 apiKey 缺失或是 mask)COMMENT
LOWdocs/exec-plans/completed/v0.48-post-release-issues.md538 // Step 2: 再做 NO_CREDENTIALS 校验COMMENT
LOWdocs/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
LOWscripts/after-pack.js90 // Step 2: Verify every rebuilt .node file.COMMENT
LOWscripts/after-pack.js99 // Step 3: Find and replace all target .node files in standalone resources.COMMENT
LOWscripts/after-sign.js160 // Step 1: Sign all native binaries (.node, .dylib, .so)COMMENT
LOWscripts/after-sign.js170 // Step 2: Sign executable helper binaries inside frameworks before signingCOMMENT
LOWscripts/after-sign.js183 // Step 3: Sign all FrameworksCOMMENT
LOWscripts/after-sign.js193 // Step 4: Sign all Helper appsCOMMENT
LOWscripts/after-sign.js203 // Step 5: Sign the main app bundleCOMMENT
LOWelectron/main.ts2691 // Step 1: Install Claude Code via native installerCOMMENT
LOWelectron/main.ts2809 // 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
LOWsrc/lib/bridge/adapters/telegram-media.ts252 // Step 3: Read buffer and validate actual sizeCOMMENT
LOWsrc/lib/bridge/adapters/telegram-media.ts259 // Step 4: Determine MIME typeCOMMENT
LOWsrc/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
LOWscripts/after-pack.js90 // Step 2: Verify every rebuilt .node file.COMMENT
LOWscripts/after-pack.js99 // Step 3: Find and replace all target .node files in standalone resources.COMMENT
LOWscripts/after-sign.js160 // Step 1: Sign all native binaries (.node, .dylib, .so)COMMENT
LOWscripts/after-sign.js170 // Step 2: Sign executable helper binaries inside frameworks before signingCOMMENT
LOWscripts/after-sign.js183 // Step 3: Sign all FrameworksCOMMENT
LOWscripts/after-sign.js193 // Step 4: Sign all Helper appsCOMMENT
LOWscripts/after-sign.js203 // Step 5: Sign the main app bundleCOMMENT
LOWelectron/main.ts2691 // Step 1: Install Claude Code via native installerCOMMENT
LOWelectron/main.ts2809 // 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
LOWsrc/lib/bridge/adapters/telegram-media.ts252 // Step 3: Read buffer and validate actual sizeCOMMENT
LOWsrc/lib/bridge/adapters/telegram-media.ts259 // Step 4: Determine MIME typeCOMMENT
LOWsrc/lib/bridge/adapters/telegram-media.ts262 // Step 5: Convert to base64 and build FileAttachmentCOMMENT
Synthetic Comment Markers7 hits · 52 pts
SeverityFileLineSnippetContext
HIGHsrc/app/api/workspace/quick-actions/route.ts77 // 4. Dynamic AI-generated suggestions (cached for 10 minutes)COMMENT
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.ts2334 // 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.ts1178 // CLI tools: persisted AI-generated descriptionsCOMMENT
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.ts400 // The CAS on 'placeholder' is what makes this safe to run on everyCOMMENT
LOWsrc/app/api/chat/route.ts412 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
LOWsrc/__tests__/unit/session-title-provenance.test.ts71 const ok = updateSessionTitle(s.id, 'Fix login', 'fallback', { expectOrigin: ['placeholder'] });CODE
LOWsrc/__tests__/unit/session-title-provenance.test.ts80 updateSessionTitle(s.id, 'First message', 'fallback', { expectOrigin: ['placeholder'] });CODE
LOWsrc/__tests__/unit/session-title-provenance.test.ts81 const ok = updateSessionTitle(s.id, 'Second message', 'fallback', { expectOrigin: ['placeholder'] });CODE
LOWsrc/__tests__/unit/session-title-provenance.test.ts89 const ok = updateSessionTitle(s.id, 'clobbered', 'fallback', { expectOrigin: ['placeholder'] });CODE
LOWsrc/__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.ts661 // ALTER ... DEFAULT 'placeholder' would silently stamp every legacy rowCOMMENT
LOWsrc/lib/db.ts671 // 'New Chat' / '' → 'placeholder': never had a real title, so the nextCOMMENT
LOWsrc/lib/db.ts2049 * caller that passed no title gets 'placeholder' (a fallback may fill itCOMMENT
LOWsrc/lib/db.ts683 SET title_origin = CASE WHEN title = '' OR title = 'New Chat' THEN 'placeholder' ELSE 'manual' ENDCODE
LOWsrc/lib/db.ts2062 const originValue: TitleOrigin = titleOrigin ?? (title ? 'manual' : 'placeholder');CODE
LOWsrc/lib/conversation-title.ts24 | 'placeholder'CODE
LOWsrc/lib/conversation-title.ts37 'placeholder',CODE
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.ts1006 // 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.tsx224 // 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.ts1061 // #632: trust the SDK-reported context window only for a first-partyCOMMENT