Local-first AI agent workspace for coding, writing, design, research, and automation — one runtime for desktop GUI and TUI.
This report presents the forensic synthetic code analysis of KunAgent/Kun, a TypeScript project with 6,265 GitHub stars. SynthScan v2.0 examined 1,360,810 lines of code across 5928 source files, recording 4638 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 3.7 places this repository in the Likely human-written 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).
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.
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.
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.
The scanner identified 4638 distinct pattern matches across 14 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | kun/tests/history-commit-integration.test.ts | 12 | function blockFirstConditionalRewrite(store: InMemorySessionStore): ConditionalRewriteGate { | CODE |
| LOW | kun/tests/history-commit-coordinator.test.ts | 22 | async function expectStaleRewriteToConflict(store: SessionStore): Promise<void> { | CODE |
| LOW | kun/tests/graph-scheduler-test-harness.ts | 137 | export async function cleanupSchedulerHarnesses(): Promise<void> { | CODE |
| LOW | kun/tests/loop-transcript-harness.ts | 344 | function isVolatileTranscriptField(field: string): boolean { | CODE |
| LOW | kun/tests/loop-transcript-harness.ts | 353 | function createTranscriptNormalizationState(): TranscriptNormalizationState { | CODE |
| LOW | kun/tests/loop-transcript-harness.ts | 386 | function normalizeGeneratedInputIdentifier( | CODE |
| LOW | …ests/server-cases/graph-runtime-terminal-live.cases.ts | 294 | async function expectNoCancelledTransition( | CODE |
| LOW | …erver-cases/graph-runtime-terminal-settlement.cases.ts | 294 | async function expectNoCancelledTransition( | CODE |
| LOW | kun/tests/support/runtime-factory-fixtures.ts | 83 | export async function writeConfigurationExtension(root: string): Promise<void> { | CODE |
| LOW | kun/tests/support/runtime-factory-fixtures.ts | 120 | export async function writeConfigurationFixtureRunner(root: string): Promise<string> { | CODE |
| LOW | kun/tests/support/extension-host-fixtures.ts | 222 | export async function writeHandshakeMismatchRunner( | CODE |
| LOW | kun/tests/support/extension-host-fixtures.ts | 272 | async function buildBuiltinRunnerUncached(): Promise<string> { | CODE |
| LOW | kun/tests/support/thread-store-doctor-fixtures.ts | 76 | export async function expectDoctorSchemaMismatch(root: string): Promise<void> { | CODE |
| LOW | kun/tests/support/thread-store-doctor-fixtures.ts | 126 | export function createCanonicalSqliteSchema( | CODE |
| LOW | kun/tests/adapter-cases/builtin-tools-4.cases.ts | 130 | function createBackgroundBashLocalTool( | CODE |
| LOW | kun/tests/adapter-cases/builtin-tools-3.cases.ts | 130 | function createBackgroundBashLocalTool( | CODE |
| LOW | kun/tests/adapter-cases/builtin-tools-2.cases.ts | 130 | function createBackgroundBashLocalTool( | CODE |
| LOW | kun/tests/adapter-cases/builtin-tools-1.cases.ts | 130 | function createBackgroundBashLocalTool( | CODE |
| LOW | kun/src/benchmark/replay-benchmark-report.ts | 47 | export function parseReplayComparisonPolicy(input: unknown): ReplayComparisonPolicy { | CODE |
| LOW | kun/src/benchmark/replay-benchmark-report.ts | 189 | export function assertReplayReportsComparable( | CODE |
| LOW | kun/src/benchmark/replay-benchmark-report.ts | 242 | export function replayComparisonThresholdsForModel( | CODE |
| LOW | kun/src/benchmark/replay-benchmark-report.ts | 252 | export function groupReplayRunPairsByCurrentModel( | CODE |
| LOW | kun/src/benchmark/replay-benchmark-report.ts | 285 | export function replaySuiteDefinitionHash(suite: ReplaySuite, tasks: ReplayTask[]): string { | CODE |
| LOW | kun/src/benchmark/replay-benchmark-report.ts | 302 | export function canonicalizeReplayDefinition(value: unknown): unknown { | CODE |
| LOW | kun/src/benchmark/replay-benchmark-report.ts | 338 | export function formatReplayReportMarkdown(report: ReplayReport): string { | CODE |
| LOW | kun/src/benchmark/replay-benchmark-quality.ts | 133 | export function replayExpectationFailures( | CODE |
| LOW | kun/src/benchmark/replay-benchmark-quality.ts | 482 | export function formatSignedOptionalPercent(value: number | null): string { | CODE |
| LOW | kun/src/instructions/instruction-runtime.ts | 237 | async function assertSafeWorkspaceInstructionPath(path: string, workspaceRoot: string): Promise<void> { | CODE |
| LOW | kun/src/memory/memory-store.ts | 287 | export function effectiveMemoryConfidence( | CODE |
| LOW | kun/src/cache/prompt-cache-partition.ts | 36 | export function buildPromptCachePartition(input: { | CODE |
| LOW | kun/src/cache/tool-catalog-fingerprint.ts | 11 | export function buildToolCatalogFingerprint( | CODE |
| LOW | kun/src/cache/prefix-volatility.ts | 24 | export function detectVolatilePrefixContent(prefix: ImmutablePrefix): PrefixVolatilityFinding[] { | CODE |
| LOW | kun/src/cache/prefix-volatility.ts | 31 | function detectVolatileFewShotItem(item: TurnItem): PrefixVolatilityFinding[] { | CODE |
| LOW | kun/src/cache/cache-regression.ts | 141 | export function cacheRegressionSeverityRank(severity: CacheRegressionSeverity): number { | CODE |
| LOW | kun/src/cache/immutable-prefix.ts | 104 | export function shouldVerifyImmutablePrefix(): boolean { | CODE |
| LOW | kun/src/config/kun-config-application.ts | 407 | export function migrateLegacyFastContextConfig(json: unknown): unknown { | CODE |
| LOW | kun/src/config/kun-config-application.ts | 419 | export function normalizeLegacyProviderKinds(json: unknown): unknown { | CODE |
| LOW | kun/src/config/kun-config-application.ts | 470 | export function parseForwardCompatibleKunConfig(json: unknown): KunConfig | null { | CODE |
| LOW | kun/src/config/kun-config-application.ts | 508 | export function readOptionalKunConfigFile(path: string | undefined): LoadedKunConfig | null { | CODE |
| LOW | kun/src/config/project-config.ts | 178 | export async function parseAndResolveKunProjectConfig( | CODE |
| LOW | kun/src/config/project-config.ts | 273 | export async function readKunProjectConfigSource( | CODE |
| LOW | kun/src/config/project-config.ts | 303 | export async function validateKunProjectConfigText( | CODE |
| LOW | kun/src/config/project-config.ts | 351 | export async function ensureKunProjectConfigDirectory( | CODE |
| LOW | kun/src/config/project-config.ts | 371 | async function resolveContainedProjectDirectory( | CODE |
| LOW | kun/src/config/project-config.ts | 393 | async function ensureContainedProjectConfigDirectory( | CODE |
| LOW | kun/src/config/project-config.ts | 428 | function projectConfigValidationMessage( | CODE |
| LOW | kun/src/security/secret-store.ts | 77 | export async function hasPersistedSecretKeyMaterial(dataDir: string): Promise<boolean> { | CODE |
| LOW | kun/src/security/secret-store.ts | 81 | async function hasEncryptedExtensionCredentials(dataDir: string): Promise<boolean> { | CODE |
| LOW | kun/src/security/secret-store.ts | 95 | async function hasEncryptedMcpOAuthState(dataDir: string): Promise<boolean> { | CODE |
| LOW | kun/src/security/secret-store.ts | 117 | function containsEncryptedEnvelope(value: unknown): boolean { | CODE |
| LOW | kun/src/security/secret-store.ts | 259 | export function isUnreadableCredentialKeyError(error: unknown): error is UnreadableCredentialKeyError { | CODE |
| LOW | kun/src/security/secret-store.ts | 419 | function emptySecretKeyBootstrapLease(): SecretKeyBootstrapLease { | CODE |
| LOW | kun/src/security/secret-store.ts | 423 | function validateSecretKeyBootstrapLease(value: unknown): SecretKeyBootstrapLease { | CODE |
| LOW | kun/src/security/secret-store.ts | 444 | function leaseOwnerIsDefinitelyDead(ownerId: string): boolean { | CODE |
| LOW | kun/src/security/secret-store.ts | 458 | function assertExpiredLeaseOwnerCanBeReclaimed(lease: SecretKeyBootstrapLease): void { | CODE |
| LOW | kun/src/security/secret-store.ts | 560 | async function canBootstrapKeyFileFallback(options: CreateKeyProviderOptions): Promise<boolean> { | CODE |
| LOW | kun/src/security/secret-store.ts | 579 | async function createSecretEncryptorWithoutManagerLease( | CODE |
| LOW | kun/src/security/secret-store.test.ts | 32 | function installFakeAtomicJsonManager(dataDir: string) { | CODE |
| LOW | kun/src/tui/provider-quota.ts | 337 | export function providerQuotaVisibleWidth(lines: readonly string[]): number { | CODE |
| LOW | kun/src/tui/file-mentions.ts | 302 | async function listWorkspaceFilesWithRipgrep( | CODE |
| 4375 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …tests/server-cases/extension-public-workbench.cases.ts | 370 | const workspaceContext = fixture.manager.activate.mock.calls.at(-1)?.[2]?.workspaceContext | CODE |
| CRITICAL | kun/src/graph/graph-supervisor-review-service.ts | 72 | `Acceptance criteria:\n${input.node.node.completion.acceptanceCriteria.map((item) => `- ${item}`).join('\n')}` | CODE |
| CRITICAL | kun/src/server/routes/extension-public-providers.ts | 374 | const declaration = selected.selected.manifest.contributes.modelProviders.find( | CODE |
| CRITICAL | kun/src/server/routes/extension-public-workbench.ts | 216 | if (!selected.selected.manifest.contributes.settings.some(({ id }) => id === localId)) { | CODE |
| CRITICAL | kun/src/server/routes/extension-public-workbench.ts | 246 | if (!selected.selected.manifest.contributes.settings.some(({ id }) => id === parsed.localId)) { | CODE |
| CRITICAL | kun/src/cli/gui-settings-bridge-catalog.ts | 188 | defaultModel: parsed.data.agents.kun.model.trim(), | CODE |
| CRITICAL | kun/src/cli/gui-settings-bridge-catalog.ts | 189 | defaultProviderId: parsed.data.agents.kun.providerId.trim(), | CODE |
| CRITICAL | …erer/src/design/motion/canvas-motion-mutations.test.ts | 235 | const xTrack = result.motion.timelines.frame.tracks.find((track) => track.property === 'x') | CODE |
| CRITICAL | …erer/src/design/motion/canvas-motion-mutations.test.ts | 257 | const track = result.motion.timelines.frame.tracks.find((candidate) => candidate.id === trackId) | CODE |
| CRITICAL | …rc/store/chat-store-maintenance-design-history.test.ts | 317 | expect(harness.provider.deleteThread.mock.calls.map(([id]) => id).sort()).toEqual([ | CODE |
| CRITICAL | src/main/runtime-sse-ipc.test.ts | 444 | const batch = mockEvent.sender.send.mock.calls.find((call: any) => call[0] === 'runtime:sse-event')?.[1] | CODE |
| CRITICAL | src/main/startup-failure-window.test.ts | 90 | const value = electron.window.loadURL.mock.calls.at(-1)?.[0] | CODE |
| CRITICAL | …n/ipc/register-extension-ipc-handlers.accounts.test.ts | 301 | const binding = state.protectedActions.performAfterProtectedDecision.mock.calls.at(-1)?.[0] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | DESIGN.zh-CN.md | 461 | ### 9.4 Write-mode completion & RAG | COMMENT |
| MEDIUM | DESIGN.md | 461 | ### 9.4 Write-mode completion & RAG | COMMENT |
| MEDIUM | docs/WRITE_INLINE_EDIT_RAG.zh-CN.md | 1 | # 用 BM25 + 关键词 RAG 做 Work 文本编辑:一次探索和落地 | COMMENT |
| MEDIUM | docs/WRITE_INLINE_EDIT_RAG.zh-CN.md | 33 | ## RAG 在编辑里解决什么问题 | COMMENT |
| MEDIUM | docs/WRITE_RETRIEVAL_RAG.zh-CN.md | 1 | # Work 跨文本 BM25 + 关键词检索 RAG 技术说明 | COMMENT |
| MEDIUM | docs/WRITE_INLINE_COMPLETION_MODES.en.md | 196 | ## Relationship with RAG | COMMENT |
| MEDIUM | docs/WRITE_INLINE_COMPLETION_MODES.zh-CN.md | 192 | ## 与 RAG 的关系 | COMMENT |
| MEDIUM | docs/WRITE_INLINE_EDIT_RECENT_EDITS.zh-CN.md | 137 | ## 与 RAG 的关系 | COMMENT |
| MEDIUM | docs/WRITE_INLINE_EDIT_RAG.en.md | 1 | # Use BM25 + keyword RAG for Work text editing: an exploration and implementation | COMMENT |
| MEDIUM | docs/WRITE_INLINE_EDIT_RAG.en.md | 36 | ## What problems does RAG solve in editing? | COMMENT |
| MEDIUM | docs/WRITE_INLINE_EDIT_RECENT_EDITS.en.md | 140 | ## Relationship with RAG | COMMENT |
| MEDIUM | docs/WRITE_RETRIEVAL_RAG.en.md | 1 | # Work cross-text BM25 + keyword search RAG technical description | COMMENT |
| MEDIUM | docs/design/desktop-renderer-and-operations.md | 48 | write/ # Work workspace, inline edit, RAG (internal path) | CODE |
| MEDIUM | docs/design/desktop-renderer-and-operations.md | 292 | ### 9.4 Work completion & RAG | COMMENT |
| MEDIUM | docs/design/foundations-and-runtime.md | 404 | services/ # Thread and turn orchestration services | CODE |
| MEDIUM | docs/design/zh-CN/desktop-renderer-and-operations.md | 48 | write/ # Work workspace, inline edit, RAG (internal path) | CODE |
| MEDIUM | docs/design/zh-CN/desktop-renderer-and-operations.md | 292 | ### 9.4 Work completion & RAG | COMMENT |
| MEDIUM | docs/design/zh-CN/foundations-and-runtime.md | 404 | services/ # Thread and turn orchestration services | CODE |
| MEDIUM | …pec/changes/remediate-project-health-hotspots/tasks.md | 1 | ## 1. Baseline and ownership guardrails | COMMENT |
| MEDIUM | openspec/changes/modularize-kun-agent-loop/tasks.md | 1 | ## 1. Baseline and regression guardrails | COMMENT |
| MEDIUM | openspec/changes/build-kun-extension-platform/tasks.md | 66 | ## 8. Public SDKs, scaffolding, and examples | COMMENT |
| MEDIUM | …xtension-platform/specs/extension-host-runtime/spec.md | 58 | ### Requirement: Activation is lazy, serialized, and event driven | COMMENT |
| MEDIUM | src/renderer/src/plan/prepare-plan-build.test.ts | 14 | plan, content: '# Latest\nbody', orchestration: 'direct', graphEnabled: true, | CODE |
| MEDIUM | src/renderer/src/plan/prepare-plan-build.test.ts | 29 | plan, content: '# Graph', orchestration: 'graph', graphEnabled: true, | CODE |
| MEDIUM | src/renderer/src/plan/prepare-plan-build.test.ts | 41 | plan, content: '# Changed', orchestration: 'direct', graphEnabled: true, | CODE |
| MEDIUM | …rvices/write-inline-completion-service.context.test.ts | 197 | '# RAG notes', | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | kun/src/knowledge/knowledge-office-extractor.test.ts | 73 | await writeFile(path, 'placeholder') | CODE |
| LOW | …sions/kun-video-editor/tests/generation-engine.test.ts | 87 | expect(result).not.toHaveProperty('placeholder') | CODE |
| LOW | …sions/kun-video-editor/tests/generation-engine.test.ts | 113 | expect(created.record).toMatchObject({ state: 'placeholder', attempt: 1, placeholder: { state: 'pending' } }) | CODE |
| LOW | …sions/kun-video-editor/tests/generation-engine.test.ts | 114 | expect(persistence.snapshot?.records[0]?.state).toBe('placeholder') | CODE |
| LOW | …sions/kun-video-editor/tests/generation-engine.test.ts | 220 | expect(retried).toMatchObject({ state: 'placeholder', attempt: 2, placeholder: { state: 'pending' } }) | CODE |
| LOW | …sions/kun-video-editor/tests/generation-panel.test.tsx | 226 | state: 'placeholder', | CODE |
| LOW | …ensions/kun-video-editor/tests/generation-host.test.ts | 47 | expect(JSON.stringify(persisted)).toContain('"state":"placeholder"') | CODE |
| LOW | …ensions/kun-video-editor/tests/generation-host.test.ts | 211 | record.state = 'placeholder' | CODE |
| LOW | …ensions/kun-video-editor/tests/generation-host.test.ts | 221 | record.state = 'placeholder' | CODE |
| LOW | …nsions/kun-video-editor/src/host/generation-service.ts | 370 | if (!['placeholder', 'queued', 'running', 'cancelling'].includes(record.state)) { | CODE |
| LOW | …nsions/kun-video-editor/src/host/generation-service.ts | 401 | if (!['placeholder', 'queued', 'running', 'cancelling'].includes(record.state)) continue | CODE |
| LOW | …nsions/kun-video-editor/src/host/generation-service.ts | 427 | if (record.state !== 'placeholder') { | CODE |
| LOW⚡ | …nsions/kun-video-editor/src/host/generation-service.ts | 444 | if (current.state !== 'placeholder') throw new Error('Only a placeholder may resume a prepared generation job. | CODE |
| LOW⚡ | …nsions/kun-video-editor/src/host/generation-service.ts | 454 | if (current.state === 'placeholder' || (current.state === 'queued' && snapshot.state === 'running')) { | CODE |
| LOW⚡ | …nsions/kun-video-editor/src/host/generation-service.ts | 463 | if (current.state === 'placeholder') { | CODE |
| LOW | …ons/kun-video-editor/src/webview/model-intelligence.ts | 337 | state: 'placeholder' | 'queued' | 'running' | 'cancelling' | 'ready' | 'failed' | 'cancelled' | 'interrupted' | CODE |
| LOW | …ons/kun-video-editor/src/webview/controller-effects.ts | 319 | .filter(({ state: recordState }) => ['placeholder', 'queued', 'running', 'cancelling'].includes(recordState)) | CODE |
| LOW | …eo-editor/src/webview/controller-generation-support.ts | 252 | !['placeholder', 'queued', 'running', 'cancelling', 'ready', 'failed', 'cancelled', 'interrupted'].includes(String(v | CODE |
| LOW | …eo-editor/src/webview/controller-generation-support.ts | 342 | kind: placeholder.kind as GenerationRecordProjection['placeholder']['kind'], | CODE |
| LOW | …eo-editor/src/webview/controller-generation-support.ts | 343 | state: placeholder.state as GenerationRecordProjection['placeholder']['state'] | CODE |
| LOW | …ions/kun-video-editor/src/webview/generation-panel.tsx | 39 | state: 'placeholder' | 'queued' | 'running' | 'cancelling' | 'ready' | 'failed' | 'cancelled' | 'interrupted' | CODE |
| LOW | …ions/kun-video-editor/src/webview/generation-panel.tsx | 387 | {['placeholder', 'queued', 'running'].includes(record.state) && ( | CODE |
| LOW | …ions/kun-video-editor/src/engine/generation-runtime.ts | 60 | export const ACTIVE_STATES = new Set<GenerationRecordState>(['placeholder', 'queued', 'running', 'cancelling']) | CODE |
| LOW | …ions/kun-video-editor/src/engine/generation-runtime.ts | 293 | state: 'placeholder', | CODE |
| LOW | …ions/kun-video-editor/src/engine/generation-runtime.ts | 338 | record.state = 'placeholder' | CODE |
| LOW | …ions/kun-video-editor/src/engine/generation-runtime.ts | 355 | if (!['placeholder', 'queued', 'running'].includes(record.state)) { | CODE |
| LOW | …ions/kun-video-editor/src/engine/generation-runtime.ts | 370 | if (record.state !== 'placeholder') throw validationError('Generation record is not awaiting job preparation') | CODE |
| LOW | …ions/kun-video-editor/src/engine/generation-runtime.ts | 502 | if (record.state !== 'placeholder') throw validationError('Generation record is not awaiting execution') | CODE |
| LOW | …s/kun-video-editor/src/engine/generation-validation.ts | 402 | 'schemaVersion', 'id', 'generation', 'owner', 'request', 'requestDigest', 'quote', 'authorization', 'placeholder', ' | CODE |
| LOW | …s/kun-video-editor/src/engine/generation-validation.ts | 432 | const state = oneOf(record.state, ['placeholder', 'queued', 'running', 'cancelling', 'ready', 'failed', 'cancelled', ' | CODE |
| LOW | …nsions/kun-video-editor/src/engine/generation-model.ts | 207 | | 'placeholder' | CODE |
| LOW | src/renderer/src/design/design-context.ts | 190 | '- Content realism: use plausible domain-specific labels, data, names, prices, dates, and empty-state copy; no lorem i | CODE |
| LOW | …/src/design/html-quality/runtime-script-dom-helpers.ts | 1 | export const DESIGN_RUNTIME_QUALITY_AUDIT_DOM_HELPERS = "')) return ''\n if (hash.startsWith('!')) hash = hash.slic | CODE |
| LOW | …src/design/html-quality/runtime-script-layout-rules.ts | 1 | export const DESIGN_RUNTIME_QUALITY_AUDIT_LAYOUT_RULES = " el.getAttribute('data-filter') || '',\n el.getAttri | CODE |
| LOW | …rc/design/html-quality/runtime-script-content-rules.ts | 1 | export const DESIGN_RUNTIME_QUALITY_AUDIT_CONTENT_RULES = " const closeBlocks = conversionCloseElements()\n | CODE |
| LOW | …renderer/src/design/html-quality/records-and-charts.ts | 255 | attributeValue(tag, 'placeholder') ?? '' | CODE |
| LOW | …rer/src/design/html-quality/runtime-script-preamble.ts | 1 | export const DESIGN_RUNTIME_QUALITY_AUDIT_SCRIPT_PREAMBLE = "(() => {\n const findings = []\n const push = (code, | CODE |
| LOW | src/renderer/src/design/html-quality/patterns.ts | 4 | /\b(lorem ipsum|placeholder|todo|tbd|sample data|example (card|title|user|company|product)|card title|feature [0-9]+|i | CODE |
| LOW | …/src/design/html-quality/controls-forms-and-dialogs.ts | 318 | ...attributeValues(inner, 'placeholder'), | CODE |
| LOW | …/src/design/html-quality/controls-forms-and-dialogs.ts | 358 | attributeValue(tag, 'placeholder') ?? '', | CODE |
| LOW | …src/design/canvas/design-system-template/foundation.ts | 283 | const label = componentShape('text', 'placeholder', { | CODE |
| LOW | …src/design/canvas/design-system-template/foundation.ts | 302 | slots: [{ path: 'placeholder', kind: 'text', label: 'Placeholder' }] | CODE |
| LOW | src/renderer/src/locales/ja/common/commands-sdd.json | 96 | "placeholder": "エージェントに聞いてみると…(Shift+Enter で改行)", | CODE |
| LOW | src/renderer/src/locales/ru/common/commands-sdd.json | 96 | "placeholder": "Спросите агента… (Shift+Enter — новая строка)", | CODE |
| LOW | src/renderer/src/locales/zh/common/commands-sdd.json | 98 | "placeholder": "向智能体提问…(Shift+Enter 换行)", | CODE |
| LOW | src/renderer/src/locales/hi/common/commands-sdd.json | 96 | "placeholder": "एजेंट से पूछें... (Shift+Enter से नई लाइन)", | CODE |
| LOW | src/renderer/src/locales/ko/common/commands-sdd.json | 96 | "placeholder": "상담원에게 물어보세요... (Shift+Enter로 줄바꿈)", | CODE |
| LOW | src/renderer/src/locales/en/common/commands-sdd.json | 98 | "placeholder": "Ask the agent… (Shift+Enter for newline)", | CODE |
| LOW | src/renderer/src/locales/th/common/commands-sdd.json | 96 | "placeholder": "สอบถามตัวแทน… (Shift+Enter เพื่อขึ้นบรรทัดใหม่)", | CODE |
| LOW | …nderer/src/components/WorkspaceOfficeRenderers.test.ts | 410 | expect(thumbnailButtons.filter((node) => node.props['data-thumbnail-state'] === 'placeholder')) | CODE |
| LOW | …renderer/src/components/WorkspacePptxThumbnailRail.tsx | 135 | data-thumbnail-state={thumbnail ? 'ready' : 'placeholder'} | CODE |
| LOW | src/renderer/src/components/chat/FloatingComposer.tsx | 486 | ? t('placeholder') | CODE |
| LOW | src/shared/app-settings-provider.media.test.ts | 146 | email: 'user@example.com' | CODE |
| LOW | src/main/kun-process.model-media-config.test.ts | 571 | email: 'user@example.com' | CODE |
| LOW | src/main/cursor-subscription-models.test.ts | 47 | userEmail: 'user@example.com', | CODE |
| LOW | src/main/cursor-subscription-models.test.ts | 75 | userEmail: 'user@example.com' | CODE |
| LOW | src/main/remote-ssh/remote-ssh.test.ts | 41 | hostname: 'user@example.com', | CODE |
| LOW | src/main/services/write-infographic-service.test.ts | 164 | email: 'user@example.com' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 14 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 30 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 59 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 59 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 59 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 59 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 59 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 59 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 74 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 74 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 74 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 74 | CODE | |
| LOW | …sources/ppt-toolchain/scripts/ppt_export_validation.py | 3 | CODE | |
| LOW | …ources/ppt-toolchain/scripts/ppt_export_environment.py | 14 | CODE | |
| LOW | …ources/ppt-toolchain/scripts/ppt_export_environment.py | 16 | CODE | |
| LOW | …ources/ppt-toolchain/scripts/ppt_export_environment.py | 17 | CODE | |
| LOW | …ources/ppt-toolchain/scripts/ppt_export_environment.py | 18 | CODE | |
| LOW | …ources/ppt-toolchain/scripts/ppt_export_environment.py | 19 | CODE | |
| LOW | …ources/ppt-toolchain/scripts/ppt_export_environment.py | 27 | CODE | |
| LOW | …ources/ppt-toolchain/scripts/ppt_export_environment.py | 30 | CODE | |
| LOW | …ources/ppt-toolchain/scripts/ppt_export_environment.py | 31 | CODE | |
| LOW | …ources/ppt-toolchain/scripts/ppt_export_environment.py | 32 | CODE | |
| LOW | …ources/ppt-toolchain/scripts/ppt_export_environment.py | 33 | CODE | |
| LOW | …ources/ppt-toolchain/scripts/ppt_export_environment.py | 35 | CODE | |
| LOW | …ources/ppt-toolchain/scripts/ppt_export_environment.py | 35 | CODE | |
| LOW | …ources/ppt-toolchain/scripts/ppt_export_environment.py | 36 | CODE | |
| LOW | resources/ppt-toolchain/scripts/export_images.py | 9 | CODE | |
| LOW | resources/ppt-toolchain/scripts/ppt_export_project.py | 3 | CODE | |
| LOW | benchmarks/agent-evals/src/kun_bench/harbor_agent.py | 1 | CODE | |
| LOW | benchmarks/agent-evals/src/kun_bench/config.py | 1 | CODE | |
| LOW | benchmarks/agent-evals/src/kun_bench/host.py | 1 | CODE | |
| LOW | benchmarks/agent-evals/src/kun_bench/__init__.py | 3 | CODE | |
| LOW | benchmarks/agent-evals/src/kun_bench/trajectory.py | 1 | CODE | |
| LOW | benchmarks/agent-evals/src/kun_bench/git_patch.py | 1 | CODE | |
| LOW | benchmarks/agent-evals/src/kun_bench/builder.py | 1 | CODE | |
| LOW | benchmarks/agent-evals/src/kun_bench/suites.py | 1 | CODE | |
| LOW | …nchmarks/agent-evals/src/kun_bench/swebench_runtime.py | 1 | CODE | |
| LOW | benchmarks/agent-evals/src/kun_bench/cli.py | 1 | CODE | |
| LOW | …chmarks/agent-evals/src/kun_bench/framework_support.py | 1 | CODE | |
| LOW | benchmarks/agent-evals/src/kun_bench/environment.py | 1 | CODE | |
| LOW | …chmarks/agent-evals/src/kun_bench/framework_results.py | 1 | CODE | |
| LOW | benchmarks/agent-evals/src/kun_bench/pier_agent.py | 1 | CODE | |
| LOW | benchmarks/agent-evals/src/kun_bench/artifacts.py | 1 | CODE | |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | kun/src/quality/rules.ts | 142 | // ── slop: the unmistakable AI tells ─────────────────────────────────────── | COMMENT |
| MEDIUM | kun/src/quality/rules.ts | 329 | // ── quality: general craft ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | kun/src/quality/rules.ts | 513 | // ── drift: divergence from declared design context ───────────────────────── | COMMENT |
| MEDIUM | scripts/release.sh | 4 | # ============================================================================= | COMMENT |
| MEDIUM | scripts/release.sh | 15 | # ============================================================================= | COMMENT |
| MEDIUM | …mponents/design/canvas/properties-panel/primitives.tsx | 33 | // ──────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …mponents/design/canvas/properties-panel/primitives.tsx | 35 | // ──────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …mponents/design/canvas/properties-panel/primitives.tsx | 269 | // ──────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …mponents/design/canvas/properties-panel/primitives.tsx | 271 | // ──────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …mponents/design/canvas/properties-panel/primitives.tsx | 389 | // ──────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | …mponents/design/canvas/properties-panel/primitives.tsx | 391 | // ──────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/src/sdd/pm-skill-frameworks.ts | 40 | // ── Discover ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/src/sdd/pm-skill-frameworks.ts | 108 | // ── Structure ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/src/sdd/pm-skill-frameworks.ts | 186 | // ── Risk ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/renderer/src/sdd/pm-skill-frameworks.ts | 253 | // ── Plan (injected into buildSddDraftToPlanPrompt; no button) ─────────────── | COMMENT |
| MEDIUM | src/renderer/src/sdd/pm-skill-frameworks.ts | 267 | // ── Verify (injected into buildSddVerifyPrompt; no button) ────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | kun/src/adapters/model/compat-request-builder.ts | 121 | // warnings). Hoisting them into the top-level `system` block | COMMENT |
| LOW | scripts/release-mac.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/release-win.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/release.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | src/renderer/src/design/design-board-layout.test.ts | 101 | }) | COMMENT |
| LOW | src/renderer/src/components/mcp/mcp-config-form.ts | 1 | // Structured model + (de)serialization for the MCP server config edited in | COMMENT |
| LOW | src/main/workflow-runtime-helpers.ts | 221 | // WorkflowRuntime | COMMENT |
| LOW | src/main/workflow-runtime.nodes.io-loop-custom.test.ts | 1 | // Per-node-type unit-test catalog for the workflow runtime. | COMMENT |
| LOW | src/main/workflow-runtime.nodes.test.ts | 1 | // Per-node-type unit-test catalog for the workflow runtime. | COMMENT |
| LOW | src/main/feishu-inbound-coordinator.ts | 341 | // Emoji type selection: Feishu / Lark's `im.v1.messageReaction.create` | COMMENT |
| LOW | src/main/feishu-inbound-coordinator.ts | 361 | } | COMMENT |
| LOW | src/main/workflow-runtime.nodes.control-data.test.ts | 1 | // Per-node-type unit-test catalog for the workflow runtime. | COMMENT |
| LOW | src/main/services/git-checkpoint-restore.ts | 101 | // Busy guard: a checkpoint restore runs `git reset --hard` + `git clean | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | resources/ppt-toolchain/scripts/export_images.py | 60 | if (!target) return null; | CODE |
| HIGH | resources/ppt-toolchain/scripts/export_images.py | 69 | return active ? active.textContent.trim() : null; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | package-lock.json | 21027 | "resolved": "https://registry.npmmirror.com/robust-predicates/-/robust-predicates-3.0.3.tgz", | CODE |
| MEDIUM | kun/src/cache/cache-regression.ts | 79 | // Median is robust to a single cold-start zero or one anomalous spike, so a | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …unsdd/plan/sdd-d92369a0-df1f-4519-9913-affab396e710.md | 22 | ### Step 1: 修改容器布局方向 | COMMENT |
| LOW | …unsdd/plan/sdd-d92369a0-df1f-4519-9913-affab396e710.md | 33 | ### Step 2: 让两个按钮等宽 | COMMENT |
| LOW | …unsdd/plan/sdd-d92369a0-df1f-4519-9913-affab396e710.md | 46 | ### Step 3: 添加单元测试 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | resources/ppt-toolchain/scripts/export_pptx.py | 244 | CODE | |
| LOW | …sources/ppt-toolchain/scripts/ppt_export_validation.py | 81 | CODE | |
| LOW | resources/ppt-toolchain/scripts/ppt_export_project.py | 262 | CODE | |
| LOW | benchmarks/agent-evals/src/kun_bench/trajectory.py | 45 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/release-mac.sh | 6 | # Usage: | COMMENT |
| LOW | scripts/release-win.sh | 7 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | benchmarks/agent-evals/src/kun_bench/__init__.py | 5 | __all__ = ["HARNESS_VERSION"] | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/renderer/src/data-migration/renderer-state-rpc.ts | 49 | async function handleRequest(request: DataMigrationRendererRequest): Promise<unknown> { | CODE |