Repository Analysis

KunAgent/Kun

Local-first AI agent workspace for coding, writing, design, research, and automation — one runtime for desktop GUI and TUI.

3.7 Likely human-written View on GitHub

Analysis Overview

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).

3.7
Adjusted Score
3.7
Raw Score
100%
Time Factor
2026-08-28
Last Push
6.3K
Stars
TypeScript
Language
1.4M
Lines of Code
5.9K
Files
4.6K
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 13HIGH 2MEDIUM 44LOW 4579

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

Hyper-Verbose Identifiers4435 hits · 4630 pts
SeverityFileLineSnippetContext
LOWkun/tests/history-commit-integration.test.ts12function blockFirstConditionalRewrite(store: InMemorySessionStore): ConditionalRewriteGate {CODE
LOWkun/tests/history-commit-coordinator.test.ts22async function expectStaleRewriteToConflict(store: SessionStore): Promise<void> {CODE
LOWkun/tests/graph-scheduler-test-harness.ts137export async function cleanupSchedulerHarnesses(): Promise<void> {CODE
LOWkun/tests/loop-transcript-harness.ts344function isVolatileTranscriptField(field: string): boolean {CODE
LOWkun/tests/loop-transcript-harness.ts353function createTranscriptNormalizationState(): TranscriptNormalizationState {CODE
LOWkun/tests/loop-transcript-harness.ts386function normalizeGeneratedInputIdentifier(CODE
LOW…ests/server-cases/graph-runtime-terminal-live.cases.ts294async function expectNoCancelledTransition(CODE
LOW…erver-cases/graph-runtime-terminal-settlement.cases.ts294async function expectNoCancelledTransition(CODE
LOWkun/tests/support/runtime-factory-fixtures.ts83export async function writeConfigurationExtension(root: string): Promise<void> {CODE
LOWkun/tests/support/runtime-factory-fixtures.ts120export async function writeConfigurationFixtureRunner(root: string): Promise<string> {CODE
LOWkun/tests/support/extension-host-fixtures.ts222export async function writeHandshakeMismatchRunner(CODE
LOWkun/tests/support/extension-host-fixtures.ts272async function buildBuiltinRunnerUncached(): Promise<string> {CODE
LOWkun/tests/support/thread-store-doctor-fixtures.ts76export async function expectDoctorSchemaMismatch(root: string): Promise<void> {CODE
LOWkun/tests/support/thread-store-doctor-fixtures.ts126export function createCanonicalSqliteSchema(CODE
LOWkun/tests/adapter-cases/builtin-tools-4.cases.ts130function createBackgroundBashLocalTool(CODE
LOWkun/tests/adapter-cases/builtin-tools-3.cases.ts130function createBackgroundBashLocalTool(CODE
LOWkun/tests/adapter-cases/builtin-tools-2.cases.ts130function createBackgroundBashLocalTool(CODE
LOWkun/tests/adapter-cases/builtin-tools-1.cases.ts130function createBackgroundBashLocalTool(CODE
LOWkun/src/benchmark/replay-benchmark-report.ts47export function parseReplayComparisonPolicy(input: unknown): ReplayComparisonPolicy {CODE
LOWkun/src/benchmark/replay-benchmark-report.ts189export function assertReplayReportsComparable(CODE
LOWkun/src/benchmark/replay-benchmark-report.ts242export function replayComparisonThresholdsForModel(CODE
LOWkun/src/benchmark/replay-benchmark-report.ts252export function groupReplayRunPairsByCurrentModel(CODE
LOWkun/src/benchmark/replay-benchmark-report.ts285export function replaySuiteDefinitionHash(suite: ReplaySuite, tasks: ReplayTask[]): string {CODE
LOWkun/src/benchmark/replay-benchmark-report.ts302export function canonicalizeReplayDefinition(value: unknown): unknown {CODE
LOWkun/src/benchmark/replay-benchmark-report.ts338export function formatReplayReportMarkdown(report: ReplayReport): string {CODE
LOWkun/src/benchmark/replay-benchmark-quality.ts133export function replayExpectationFailures(CODE
LOWkun/src/benchmark/replay-benchmark-quality.ts482export function formatSignedOptionalPercent(value: number | null): string {CODE
LOWkun/src/instructions/instruction-runtime.ts237async function assertSafeWorkspaceInstructionPath(path: string, workspaceRoot: string): Promise<void> {CODE
LOWkun/src/memory/memory-store.ts287export function effectiveMemoryConfidence(CODE
LOWkun/src/cache/prompt-cache-partition.ts36export function buildPromptCachePartition(input: {CODE
LOWkun/src/cache/tool-catalog-fingerprint.ts11export function buildToolCatalogFingerprint(CODE
LOWkun/src/cache/prefix-volatility.ts24export function detectVolatilePrefixContent(prefix: ImmutablePrefix): PrefixVolatilityFinding[] {CODE
LOWkun/src/cache/prefix-volatility.ts31function detectVolatileFewShotItem(item: TurnItem): PrefixVolatilityFinding[] {CODE
LOWkun/src/cache/cache-regression.ts141export function cacheRegressionSeverityRank(severity: CacheRegressionSeverity): number {CODE
LOWkun/src/cache/immutable-prefix.ts104export function shouldVerifyImmutablePrefix(): boolean {CODE
LOWkun/src/config/kun-config-application.ts407export function migrateLegacyFastContextConfig(json: unknown): unknown {CODE
LOWkun/src/config/kun-config-application.ts419export function normalizeLegacyProviderKinds(json: unknown): unknown {CODE
LOWkun/src/config/kun-config-application.ts470export function parseForwardCompatibleKunConfig(json: unknown): KunConfig | null {CODE
LOWkun/src/config/kun-config-application.ts508export function readOptionalKunConfigFile(path: string | undefined): LoadedKunConfig | null {CODE
LOWkun/src/config/project-config.ts178export async function parseAndResolveKunProjectConfig(CODE
LOWkun/src/config/project-config.ts273export async function readKunProjectConfigSource(CODE
LOWkun/src/config/project-config.ts303export async function validateKunProjectConfigText(CODE
LOWkun/src/config/project-config.ts351export async function ensureKunProjectConfigDirectory(CODE
LOWkun/src/config/project-config.ts371async function resolveContainedProjectDirectory(CODE
LOWkun/src/config/project-config.ts393async function ensureContainedProjectConfigDirectory(CODE
LOWkun/src/config/project-config.ts428function projectConfigValidationMessage(CODE
LOWkun/src/security/secret-store.ts77export async function hasPersistedSecretKeyMaterial(dataDir: string): Promise<boolean> {CODE
LOWkun/src/security/secret-store.ts81async function hasEncryptedExtensionCredentials(dataDir: string): Promise<boolean> {CODE
LOWkun/src/security/secret-store.ts95async function hasEncryptedMcpOAuthState(dataDir: string): Promise<boolean> {CODE
LOWkun/src/security/secret-store.ts117function containsEncryptedEnvelope(value: unknown): boolean {CODE
LOWkun/src/security/secret-store.ts259export function isUnreadableCredentialKeyError(error: unknown): error is UnreadableCredentialKeyError {CODE
LOWkun/src/security/secret-store.ts419function emptySecretKeyBootstrapLease(): SecretKeyBootstrapLease {CODE
LOWkun/src/security/secret-store.ts423function validateSecretKeyBootstrapLease(value: unknown): SecretKeyBootstrapLease {CODE
LOWkun/src/security/secret-store.ts444function leaseOwnerIsDefinitelyDead(ownerId: string): boolean {CODE
LOWkun/src/security/secret-store.ts458function assertExpiredLeaseOwnerCanBeReclaimed(lease: SecretKeyBootstrapLease): void {CODE
LOWkun/src/security/secret-store.ts560async function canBootstrapKeyFileFallback(options: CreateKeyProviderOptions): Promise<boolean> {CODE
LOWkun/src/security/secret-store.ts579async function createSecretEncryptorWithoutManagerLease(CODE
LOWkun/src/security/secret-store.test.ts32function installFakeAtomicJsonManager(dataDir: string) {CODE
LOWkun/src/tui/provider-quota.ts337export function providerQuotaVisibleWidth(lines: readonly string[]): number {CODE
LOWkun/src/tui/file-mentions.ts302async function listWorkspaceFilesWithRipgrep(CODE
4375 more matches not shown…
Hallucination Indicators13 hits · 130 pts
SeverityFileLineSnippetContext
CRITICAL…tests/server-cases/extension-public-workbench.cases.ts370 const workspaceContext = fixture.manager.activate.mock.calls.at(-1)?.[2]?.workspaceContextCODE
CRITICALkun/src/graph/graph-supervisor-review-service.ts72 `Acceptance criteria:\n${input.node.node.completion.acceptanceCriteria.map((item) => `- ${item}`).join('\n')}`CODE
CRITICALkun/src/server/routes/extension-public-providers.ts374 const declaration = selected.selected.manifest.contributes.modelProviders.find(CODE
CRITICALkun/src/server/routes/extension-public-workbench.ts216 if (!selected.selected.manifest.contributes.settings.some(({ id }) => id === localId)) {CODE
CRITICALkun/src/server/routes/extension-public-workbench.ts246 if (!selected.selected.manifest.contributes.settings.some(({ id }) => id === parsed.localId)) {CODE
CRITICALkun/src/cli/gui-settings-bridge-catalog.ts188 defaultModel: parsed.data.agents.kun.model.trim(),CODE
CRITICALkun/src/cli/gui-settings-bridge-catalog.ts189 defaultProviderId: parsed.data.agents.kun.providerId.trim(),CODE
CRITICAL…erer/src/design/motion/canvas-motion-mutations.test.ts235 const xTrack = result.motion.timelines.frame.tracks.find((track) => track.property === 'x')CODE
CRITICAL…erer/src/design/motion/canvas-motion-mutations.test.ts257 const track = result.motion.timelines.frame.tracks.find((candidate) => candidate.id === trackId)CODE
CRITICAL…rc/store/chat-store-maintenance-design-history.test.ts317 expect(harness.provider.deleteThread.mock.calls.map(([id]) => id).sort()).toEqual([CODE
CRITICALsrc/main/runtime-sse-ipc.test.ts444 const batch = mockEvent.sender.send.mock.calls.find((call: any) => call[0] === 'runtime:sse-event')?.[1]CODE
CRITICALsrc/main/startup-failure-window.test.ts90 const value = electron.window.loadURL.mock.calls.at(-1)?.[0]CODE
CRITICAL…n/ipc/register-extension-ipc-handlers.accounts.test.ts301 const binding = state.protectedActions.performAfterProtectedDecision.mock.calls.at(-1)?.[0]CODE
Modern AI Meta-Vocabulary26 hits · 70 pts
SeverityFileLineSnippetContext
MEDIUMDESIGN.zh-CN.md461### 9.4 Write-mode completion & RAGCOMMENT
MEDIUMDESIGN.md461### 9.4 Write-mode completion & RAGCOMMENT
MEDIUMdocs/WRITE_INLINE_EDIT_RAG.zh-CN.md1# 用 BM25 + 关键词 RAG 做 Work 文本编辑:一次探索和落地COMMENT
MEDIUMdocs/WRITE_INLINE_EDIT_RAG.zh-CN.md33## RAG 在编辑里解决什么问题COMMENT
MEDIUMdocs/WRITE_RETRIEVAL_RAG.zh-CN.md1# Work 跨文本 BM25 + 关键词检索 RAG 技术说明COMMENT
MEDIUMdocs/WRITE_INLINE_COMPLETION_MODES.en.md196## Relationship with RAGCOMMENT
MEDIUMdocs/WRITE_INLINE_COMPLETION_MODES.zh-CN.md192## 与 RAG 的关系COMMENT
MEDIUMdocs/WRITE_INLINE_EDIT_RECENT_EDITS.zh-CN.md137## 与 RAG 的关系COMMENT
MEDIUMdocs/WRITE_INLINE_EDIT_RAG.en.md1# Use BM25 + keyword RAG for Work text editing: an exploration and implementationCOMMENT
MEDIUMdocs/WRITE_INLINE_EDIT_RAG.en.md36## What problems does RAG solve in editing?COMMENT
MEDIUMdocs/WRITE_INLINE_EDIT_RECENT_EDITS.en.md140## Relationship with RAGCOMMENT
MEDIUMdocs/WRITE_RETRIEVAL_RAG.en.md1# Work cross-text BM25 + keyword search RAG technical descriptionCOMMENT
MEDIUMdocs/design/desktop-renderer-and-operations.md48 write/ # Work workspace, inline edit, RAG (internal path)CODE
MEDIUMdocs/design/desktop-renderer-and-operations.md292### 9.4 Work completion & RAGCOMMENT
MEDIUMdocs/design/foundations-and-runtime.md404 services/ # Thread and turn orchestration servicesCODE
MEDIUMdocs/design/zh-CN/desktop-renderer-and-operations.md48 write/ # Work workspace, inline edit, RAG (internal path)CODE
MEDIUMdocs/design/zh-CN/desktop-renderer-and-operations.md292### 9.4 Work completion & RAGCOMMENT
MEDIUMdocs/design/zh-CN/foundations-and-runtime.md404 services/ # Thread and turn orchestration servicesCODE
MEDIUM…pec/changes/remediate-project-health-hotspots/tasks.md1## 1. Baseline and ownership guardrailsCOMMENT
MEDIUMopenspec/changes/modularize-kun-agent-loop/tasks.md1## 1. Baseline and regression guardrailsCOMMENT
MEDIUMopenspec/changes/build-kun-extension-platform/tasks.md66## 8. Public SDKs, scaffolding, and examplesCOMMENT
MEDIUM…xtension-platform/specs/extension-host-runtime/spec.md58### Requirement: Activation is lazy, serialized, and event drivenCOMMENT
MEDIUMsrc/renderer/src/plan/prepare-plan-build.test.ts14 plan, content: '# Latest\nbody', orchestration: 'direct', graphEnabled: true,CODE
MEDIUMsrc/renderer/src/plan/prepare-plan-build.test.ts29 plan, content: '# Graph', orchestration: 'graph', graphEnabled: true,CODE
MEDIUMsrc/renderer/src/plan/prepare-plan-build.test.ts41 plan, content: '# Changed', orchestration: 'direct', graphEnabled: true,CODE
MEDIUM…rvices/write-inline-completion-service.context.test.ts197 '# RAG notes',CODE
Fake / Example Data58 hits · 60 pts
SeverityFileLineSnippetContext
LOWkun/src/knowledge/knowledge-office-extractor.test.ts73 await writeFile(path, 'placeholder')CODE
LOW…sions/kun-video-editor/tests/generation-engine.test.ts87 expect(result).not.toHaveProperty('placeholder')CODE
LOW…sions/kun-video-editor/tests/generation-engine.test.ts113 expect(created.record).toMatchObject({ state: 'placeholder', attempt: 1, placeholder: { state: 'pending' } })CODE
LOW…sions/kun-video-editor/tests/generation-engine.test.ts114 expect(persistence.snapshot?.records[0]?.state).toBe('placeholder')CODE
LOW…sions/kun-video-editor/tests/generation-engine.test.ts220 expect(retried).toMatchObject({ state: 'placeholder', attempt: 2, placeholder: { state: 'pending' } })CODE
LOW…sions/kun-video-editor/tests/generation-panel.test.tsx226 state: 'placeholder',CODE
LOW…ensions/kun-video-editor/tests/generation-host.test.ts47 expect(JSON.stringify(persisted)).toContain('"state":"placeholder"')CODE
LOW…ensions/kun-video-editor/tests/generation-host.test.ts211 record.state = 'placeholder'CODE
LOW…ensions/kun-video-editor/tests/generation-host.test.ts221 record.state = 'placeholder'CODE
LOW…nsions/kun-video-editor/src/host/generation-service.ts370 if (!['placeholder', 'queued', 'running', 'cancelling'].includes(record.state)) {CODE
LOW…nsions/kun-video-editor/src/host/generation-service.ts401 if (!['placeholder', 'queued', 'running', 'cancelling'].includes(record.state)) continueCODE
LOW…nsions/kun-video-editor/src/host/generation-service.ts427 if (record.state !== 'placeholder') {CODE
LOW…nsions/kun-video-editor/src/host/generation-service.ts444 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.ts454 if (current.state === 'placeholder' || (current.state === 'queued' && snapshot.state === 'running')) {CODE
LOW…nsions/kun-video-editor/src/host/generation-service.ts463 if (current.state === 'placeholder') {CODE
LOW…ons/kun-video-editor/src/webview/model-intelligence.ts337 state: 'placeholder' | 'queued' | 'running' | 'cancelling' | 'ready' | 'failed' | 'cancelled' | 'interrupted'CODE
LOW…ons/kun-video-editor/src/webview/controller-effects.ts319 .filter(({ state: recordState }) => ['placeholder', 'queued', 'running', 'cancelling'].includes(recordState))CODE
LOW…eo-editor/src/webview/controller-generation-support.ts252 !['placeholder', 'queued', 'running', 'cancelling', 'ready', 'failed', 'cancelled', 'interrupted'].includes(String(vCODE
LOW…eo-editor/src/webview/controller-generation-support.ts342 kind: placeholder.kind as GenerationRecordProjection['placeholder']['kind'],CODE
LOW…eo-editor/src/webview/controller-generation-support.ts343 state: placeholder.state as GenerationRecordProjection['placeholder']['state']CODE
LOW…ions/kun-video-editor/src/webview/generation-panel.tsx39 state: 'placeholder' | 'queued' | 'running' | 'cancelling' | 'ready' | 'failed' | 'cancelled' | 'interrupted'CODE
LOW…ions/kun-video-editor/src/webview/generation-panel.tsx387 {['placeholder', 'queued', 'running'].includes(record.state) && (CODE
LOW…ions/kun-video-editor/src/engine/generation-runtime.ts60export const ACTIVE_STATES = new Set<GenerationRecordState>(['placeholder', 'queued', 'running', 'cancelling'])CODE
LOW…ions/kun-video-editor/src/engine/generation-runtime.ts293 state: 'placeholder',CODE
LOW…ions/kun-video-editor/src/engine/generation-runtime.ts338 record.state = 'placeholder'CODE
LOW…ions/kun-video-editor/src/engine/generation-runtime.ts355 if (!['placeholder', 'queued', 'running'].includes(record.state)) {CODE
LOW…ions/kun-video-editor/src/engine/generation-runtime.ts370 if (record.state !== 'placeholder') throw validationError('Generation record is not awaiting job preparation')CODE
LOW…ions/kun-video-editor/src/engine/generation-runtime.ts502 if (record.state !== 'placeholder') throw validationError('Generation record is not awaiting execution')CODE
LOW…s/kun-video-editor/src/engine/generation-validation.ts402 'schemaVersion', 'id', 'generation', 'owner', 'request', 'requestDigest', 'quote', 'authorization', 'placeholder', 'CODE
LOW…s/kun-video-editor/src/engine/generation-validation.ts432 const state = oneOf(record.state, ['placeholder', 'queued', 'running', 'cancelling', 'ready', 'failed', 'cancelled', 'CODE
LOW…nsions/kun-video-editor/src/engine/generation-model.ts207 | 'placeholder'CODE
LOWsrc/renderer/src/design/design-context.ts190 '- Content realism: use plausible domain-specific labels, data, names, prices, dates, and empty-state copy; no lorem iCODE
LOW…/src/design/html-quality/runtime-script-dom-helpers.ts1export const DESIGN_RUNTIME_QUALITY_AUDIT_DOM_HELPERS = "')) return ''\n if (hash.startsWith('!')) hash = hash.slicCODE
LOW…src/design/html-quality/runtime-script-layout-rules.ts1export const DESIGN_RUNTIME_QUALITY_AUDIT_LAYOUT_RULES = " el.getAttribute('data-filter') || '',\n el.getAttriCODE
LOW…rc/design/html-quality/runtime-script-content-rules.ts1export const DESIGN_RUNTIME_QUALITY_AUDIT_CONTENT_RULES = " const closeBlocks = conversionCloseElements()\n CODE
LOW…renderer/src/design/html-quality/records-and-charts.ts255 attributeValue(tag, 'placeholder') ?? ''CODE
LOW…rer/src/design/html-quality/runtime-script-preamble.ts1export const DESIGN_RUNTIME_QUALITY_AUDIT_SCRIPT_PREAMBLE = "(() => {\n const findings = []\n const push = (code, CODE
LOWsrc/renderer/src/design/html-quality/patterns.ts4 /\b(lorem ipsum|placeholder|todo|tbd|sample data|example (card|title|user|company|product)|card title|feature [0-9]+|iCODE
LOW…/src/design/html-quality/controls-forms-and-dialogs.ts318 ...attributeValues(inner, 'placeholder'),CODE
LOW…/src/design/html-quality/controls-forms-and-dialogs.ts358 attributeValue(tag, 'placeholder') ?? '',CODE
LOW…src/design/canvas/design-system-template/foundation.ts283 const label = componentShape('text', 'placeholder', {CODE
LOW…src/design/canvas/design-system-template/foundation.ts302 slots: [{ path: 'placeholder', kind: 'text', label: 'Placeholder' }]CODE
LOWsrc/renderer/src/locales/ja/common/commands-sdd.json96 "placeholder": "エージェントに聞いてみると…(Shift+Enter で改行)",CODE
LOWsrc/renderer/src/locales/ru/common/commands-sdd.json96 "placeholder": "Спросите агента… (Shift+Enter — новая строка)",CODE
LOWsrc/renderer/src/locales/zh/common/commands-sdd.json98 "placeholder": "向智能体提问…(Shift+Enter 换行)",CODE
LOWsrc/renderer/src/locales/hi/common/commands-sdd.json96 "placeholder": "एजेंट से पूछें... (Shift+Enter से नई लाइन)",CODE
LOWsrc/renderer/src/locales/ko/common/commands-sdd.json96 "placeholder": "상담원에게 물어보세요... (Shift+Enter로 줄바꿈)",CODE
LOWsrc/renderer/src/locales/en/common/commands-sdd.json98 "placeholder": "Ask the agent… (Shift+Enter for newline)",CODE
LOWsrc/renderer/src/locales/th/common/commands-sdd.json96 "placeholder": "สอบถามตัวแทน… (Shift+Enter เพื่อขึ้นบรรทัดใหม่)",CODE
LOW…nderer/src/components/WorkspaceOfficeRenderers.test.ts410 expect(thumbnailButtons.filter((node) => node.props['data-thumbnail-state'] === 'placeholder'))CODE
LOW…renderer/src/components/WorkspacePptxThumbnailRail.tsx135 data-thumbnail-state={thumbnail ? 'ready' : 'placeholder'}CODE
LOWsrc/renderer/src/components/chat/FloatingComposer.tsx486 ? t('placeholder')CODE
LOWsrc/shared/app-settings-provider.media.test.ts146 email: 'user@example.com'CODE
LOWsrc/main/kun-process.model-media-config.test.ts571 email: 'user@example.com'CODE
LOWsrc/main/cursor-subscription-models.test.ts47 userEmail: 'user@example.com',CODE
LOWsrc/main/cursor-subscription-models.test.ts75 userEmail: 'user@example.com'CODE
LOWsrc/main/remote-ssh/remote-ssh.test.ts41 hostname: 'user@example.com',CODE
LOWsrc/main/services/write-infographic-service.test.ts164 email: 'user@example.com'CODE
Unused Imports62 hits · 58 pts
SeverityFileLineSnippetContext
LOWresources/ppt-toolchain/scripts/export_pptx.py14CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py30CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py59CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py59CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py59CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py59CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py59CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py59CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py74CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py74CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py74CODE
LOWresources/ppt-toolchain/scripts/export_pptx.py74CODE
LOW…sources/ppt-toolchain/scripts/ppt_export_validation.py3CODE
LOW…ources/ppt-toolchain/scripts/ppt_export_environment.py14CODE
LOW…ources/ppt-toolchain/scripts/ppt_export_environment.py16CODE
LOW…ources/ppt-toolchain/scripts/ppt_export_environment.py17CODE
LOW…ources/ppt-toolchain/scripts/ppt_export_environment.py18CODE
LOW…ources/ppt-toolchain/scripts/ppt_export_environment.py19CODE
LOW…ources/ppt-toolchain/scripts/ppt_export_environment.py27CODE
LOW…ources/ppt-toolchain/scripts/ppt_export_environment.py30CODE
LOW…ources/ppt-toolchain/scripts/ppt_export_environment.py31CODE
LOW…ources/ppt-toolchain/scripts/ppt_export_environment.py32CODE
LOW…ources/ppt-toolchain/scripts/ppt_export_environment.py33CODE
LOW…ources/ppt-toolchain/scripts/ppt_export_environment.py35CODE
LOW…ources/ppt-toolchain/scripts/ppt_export_environment.py35CODE
LOW…ources/ppt-toolchain/scripts/ppt_export_environment.py36CODE
LOWresources/ppt-toolchain/scripts/export_images.py9CODE
LOWresources/ppt-toolchain/scripts/ppt_export_project.py3CODE
LOWbenchmarks/agent-evals/src/kun_bench/harbor_agent.py1CODE
LOWbenchmarks/agent-evals/src/kun_bench/config.py1CODE
LOWbenchmarks/agent-evals/src/kun_bench/host.py1CODE
LOWbenchmarks/agent-evals/src/kun_bench/__init__.py3CODE
LOWbenchmarks/agent-evals/src/kun_bench/trajectory.py1CODE
LOWbenchmarks/agent-evals/src/kun_bench/git_patch.py1CODE
LOWbenchmarks/agent-evals/src/kun_bench/builder.py1CODE
LOWbenchmarks/agent-evals/src/kun_bench/suites.py1CODE
LOW…nchmarks/agent-evals/src/kun_bench/swebench_runtime.py1CODE
LOWbenchmarks/agent-evals/src/kun_bench/cli.py1CODE
LOW…chmarks/agent-evals/src/kun_bench/framework_support.py1CODE
LOWbenchmarks/agent-evals/src/kun_bench/environment.py1CODE
LOW…chmarks/agent-evals/src/kun_bench/framework_results.py1CODE
LOWbenchmarks/agent-evals/src/kun_bench/pier_agent.py1CODE
LOWbenchmarks/agent-evals/src/kun_bench/artifacts.py1CODE
2 more matches not shown…
Decorative Section Separators16 hits · 48 pts
SeverityFileLineSnippetContext
MEDIUMkun/src/quality/rules.ts142// ── slop: the unmistakable AI tells ───────────────────────────────────────COMMENT
MEDIUMkun/src/quality/rules.ts329// ── quality: general craft ─────────────────────────────────────────────────COMMENT
MEDIUMkun/src/quality/rules.ts513// ── drift: divergence from declared design context ─────────────────────────COMMENT
MEDIUMscripts/release.sh4# =============================================================================COMMENT
MEDIUMscripts/release.sh15# =============================================================================COMMENT
MEDIUM…mponents/design/canvas/properties-panel/primitives.tsx33// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…mponents/design/canvas/properties-panel/primitives.tsx35// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…mponents/design/canvas/properties-panel/primitives.tsx269// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…mponents/design/canvas/properties-panel/primitives.tsx271// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…mponents/design/canvas/properties-panel/primitives.tsx389// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUM…mponents/design/canvas/properties-panel/primitives.tsx391// ────────────────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/renderer/src/sdd/pm-skill-frameworks.ts40 // ── Discover ──────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/renderer/src/sdd/pm-skill-frameworks.ts108 // ── Structure ─────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/renderer/src/sdd/pm-skill-frameworks.ts186 // ── Risk ──────────────────────────────────────────────────────────────────COMMENT
MEDIUMsrc/renderer/src/sdd/pm-skill-frameworks.ts253 // ── Plan (injected into buildSddDraftToPlanPrompt; no button) ───────────────COMMENT
MEDIUMsrc/renderer/src/sdd/pm-skill-frameworks.ts267 // ── Verify (injected into buildSddVerifyPrompt; no button) ──────────────────COMMENT
Over-Commented Block13 hits · 13 pts
SeverityFileLineSnippetContext
LOWkun/src/adapters/model/compat-request-builder.ts121 // warnings). Hoisting them into the top-level `system` blockCOMMENT
LOWscripts/release-mac.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/release-win.sh1#!/usr/bin/env bashCOMMENT
LOWscripts/release.sh1#!/usr/bin/env bashCOMMENT
LOWsrc/renderer/src/design/design-board-layout.test.ts101 })COMMENT
LOWsrc/renderer/src/components/mcp/mcp-config-form.ts1// Structured model + (de)serialization for the MCP server config edited inCOMMENT
LOWsrc/main/workflow-runtime-helpers.ts221// WorkflowRuntimeCOMMENT
LOWsrc/main/workflow-runtime.nodes.io-loop-custom.test.ts1// Per-node-type unit-test catalog for the workflow runtime.COMMENT
LOWsrc/main/workflow-runtime.nodes.test.ts1// Per-node-type unit-test catalog for the workflow runtime.COMMENT
LOWsrc/main/feishu-inbound-coordinator.ts341 // Emoji type selection: Feishu / Lark's `im.v1.messageReaction.create`COMMENT
LOWsrc/main/feishu-inbound-coordinator.ts361 }COMMENT
LOWsrc/main/workflow-runtime.nodes.control-data.test.ts1// Per-node-type unit-test catalog for the workflow runtime.COMMENT
LOWsrc/main/services/git-checkpoint-restore.ts101 // Busy guard: a checkpoint restore runs `git reset --hard` + `git cleanCOMMENT
Cross-Language Confusion2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHresources/ppt-toolchain/scripts/export_images.py60 if (!target) return null;CODE
HIGHresources/ppt-toolchain/scripts/export_images.py69 return active ? active.textContent.trim() : null;CODE
AI Slop Vocabulary2 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUMpackage-lock.json21027 "resolved": "https://registry.npmmirror.com/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
MEDIUMkun/src/cache/cache-regression.ts79 // Median is robust to a single cold-start zero or one anomalous spike, so aCOMMENT
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOW…unsdd/plan/sdd-d92369a0-df1f-4519-9913-affab396e710.md22### Step 1: 修改容器布局方向COMMENT
LOW…unsdd/plan/sdd-d92369a0-df1f-4519-9913-affab396e710.md33### Step 2: 让两个按钮等宽COMMENT
LOW…unsdd/plan/sdd-d92369a0-df1f-4519-9913-affab396e710.md46### Step 3: 添加单元测试COMMENT
Deep Nesting4 hits · 4 pts
SeverityFileLineSnippetContext
LOWresources/ppt-toolchain/scripts/export_pptx.py244CODE
LOW…sources/ppt-toolchain/scripts/ppt_export_validation.py81CODE
LOWresources/ppt-toolchain/scripts/ppt_export_project.py262CODE
LOWbenchmarks/agent-evals/src/kun_bench/trajectory.py45CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/release-mac.sh6# Usage:COMMENT
LOWscripts/release-win.sh7# Usage:COMMENT
Modern Structural Boilerplate1 hit · 1 pts
SeverityFileLineSnippetContext
LOWbenchmarks/agent-evals/src/kun_bench/__init__.py5__all__ = ["HARNESS_VERSION"]CODE
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc/renderer/src/data-migration/renderer-state-rpc.ts49async function handleRequest(request: DataMigrationRendererRequest): Promise<unknown> {CODE