AI Slop Code Risk Monitor

KunAgent/Kun

SlopCodeMonitor badge for KunAgent/Kun Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

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

3.3 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for KunAgent/Kun, a TypeScript project with 6,350 GitHub stars. SynthScan examined 2,125,126 lines of code across 12541 source files, recording 6344 pattern matches distributed across 16 syntactic categories. The legacy adjusted pattern signal is 3.3 (Low pattern signal); it is not an authorship estimate.

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

3.3
Adjusted Signal
3.3
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
6.3K
Stars
TypeScript
Language
2.1M
Lines of Code
12.5K
Files
6.3K
Pattern Hits
2026-10-31
Scan Date
0.00
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 14.1/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.9/100 · LOW

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

Agent Over-Engineering Ratio 14.0/100 · LOW

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

PR Review Velocity Impact 14.6/100 · LOW

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

What These Metrics Mean

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

Pattern-Signal History

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

Severity Breakdown

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

CRITICAL 23HIGH 9MEDIUM 43LOW 6269

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

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

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hyper-Verbose Identifiers6112 hits · 6348 pts
SeverityFileLineSnippetContext
LOWkun/tests/history-commit-integration.test.ts12function blockFirstConditionalRewrite(store: InMemorySessionStore): ConditionalRewriteGate {CODE
LOWkun/tests/review-service.test.ts51function inspectingUntilFinalModel(CODE
LOWkun/tests/loop-test-harness.ts195function withValidTerminalResponse(model: ModelClient): ModelClient {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.ts244export async function writeHandshakeMismatchRunner(CODE
LOWkun/tests/support/extension-host-fixtures.ts294async 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/helpers/offline-agent-sdk-harness.ts23export function offlineAgentProfileConfig(providerIds: Array<string | undefined>) {CODE
LOWkun/tests/adapter-cases/builtin-tools-4.cases.ts130function createBackgroundBashLocalTool(CODE
LOWkun/tests/adapter-cases/builtin-tools-3.cases.ts135function createBackgroundBashLocalTool(CODE
LOWkun/tests/adapter-cases/builtin-tools-2.cases.ts135function createBackgroundBashLocalTool(CODE
LOW…tests/adapter-cases/image-gen-codex-catalog.fixture.ts11export function isCodexModelCatalogRequest(url: string | URL): boolean {CODE
LOW…tests/adapter-cases/image-gen-codex-catalog.fixture.ts15export function codexModelCatalogResponse(CODE
LOWkun/tests/adapter-cases/builtin-tools-1.cases.ts135function createBackgroundBashLocalTool(CODE
LOWkun/src/benchmark/item-index-pagination.ts27export async function runItemIndexPaginationBenchmark(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/benchmark/manager-lease-renewal.ts38export async function runManagerLeaseRenewalBenchmark(CODE
LOWkun/src/instructions/instruction-import.ts552async function assertSafeWorkspaceTarget(target: string, workspace: string): Promise<void> {CODE
LOWkun/src/instructions/instruction-runtime.ts237async function assertSafeWorkspaceInstructionPath(path: string, workspaceRoot: string): Promise<void> {CODE
LOWkun/src/memory/memory-distillation-evaluation.ts13export function evaluateMemoryDistillation(CODE
LOWkun/src/memory/memory-distillation-evaluation.ts51export function formatMemoryDistillationEvaluation(CODE
LOW…n/src/memory/memory-feedback-tiebreaker-calibration.ts32export function deriveMemoryFeedbackTiebreakerBoundaries(gaps: readonly number[]): Array<{CODE
LOW…n/src/memory/memory-feedback-tiebreaker-calibration.ts48export function buildMemoryFeedbackTiebreakerCandidates(CODE
LOW…n/src/memory/memory-feedback-tiebreaker-calibration.ts80export function compareMemoryFeedbackTiebreakerItems(CODE
LOW…n/src/memory/semantic-memory-evaluation-v2-workflow.ts239function assertCandidateMatchesConfiguration(CODE
LOWkun/src/memory/memory-feedback-store.ts462export function sanitizeMemoryFeedbackReason(value: string): string {CODE
LOWkun/src/memory/memory-store.ts515export function effectiveMemoryConfidence(record: MemoryRecord, _nowMs?: number, _halfLifeMs?: number): number {CODE
LOWkun/src/memory/memory-store.ts526function assertDirectiveConstraints(record: MemoryRecord): void {CODE
LOWkun/src/memory/memory-distillation-coordinator.ts466export function sanitizeMemoryDistillationDiagnostic(error: unknown): string {CODE
LOWkun/src/memory/memory-feedback-tiebreaker-plan.ts12export function createMemoryFeedbackTiebreakerDecisionPlan(input: {CODE
LOWkun/src/memory/memory-feedback-tiebreaker-gates.ts8export function evaluateMemoryFeedbackTiebreakerGates(CODE
LOWkun/src/memory/memory-context-format.ts6export function formatMemoryReferenceBlock(CODE
LOWkun/src/memory/memory-feedback-evaluation-workflow.ts52export function runMemoryFeedbackEvaluationWorkflow(input: {CODE
LOWkun/src/memory/memory-feedback-evaluation-workflow.ts159function pairedBootstrapLowerBounds(CODE
LOWkun/src/memory/memory-feedback-fixtures.ts51export async function loadMemoryFeedbackFixtures(CODE
LOWkun/src/memory/memory-feedback-fixtures.ts70function validateFixtureReferences(fixture: z.infer<typeof FixtureFile>): void {CODE
LOWkun/src/memory/memory-feedback-tiebreaker-metrics.ts47export function scoreMemoryFeedbackTiebreakerCases(input: {CODE
LOWkun/src/memory/memory-feedback-tiebreaker-evaluator.ts31export function evaluateMemoryFeedbackTiebreakerCase(input: {CODE
LOWkun/src/memory/memory-feedback-evaluation.ts85export function evaluateMemoryFeedbackCandidate(CODE
LOWkun/src/memory/semantic-memory-evaluation-decision.ts30export function semanticMemoryLockedCandidateMetadata(CODE
LOWkun/src/memory/semantic-memory-evaluation-decision.ts48export function assertSemanticMemoryCandidateMatchesLock(CODE
LOWkun/src/memory/semantic-memory-evaluation-decision.ts61export function evaluateSemanticMemoryDecision(input: {CODE
LOWkun/src/memory/memory-longitudinal-evaluation.ts30export async function runMemoryLongitudinalReplay(runtime: MemoryReplayRuntime, paths: MemoryReplayPaths,CODE
6052 more matches not shown…
Hallucination Indicators23 hits · 230 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.ts201 defaultModel: parsed.data.agents.kun.model.trim(),CODE
CRITICALkun/src/cli/gui-settings-bridge-catalog.ts202 defaultProviderId: parsed.data.agents.kun.providerId.trim(),CODE
CRITICALkun/src/workbench-bridge/harnesses.test.ts119 expect(h.detector.status.mock.calls.every(([id]) => id === 'kun')).toBe(true)CODE
CRITICALkun/src/workbench-bridge/harnesses.test.ts157 expect(new Set(h.detector.status.mock.calls.map(([id]) => id))).toEqual(new Set(['codex', 'opencode']))CODE
CRITICALkun/src/rooms/room-peer-runner.ts192 const member = updates.topic.value.roomSnapshot.members.find((entry) => entry.id === updates.member.value.memberId)!CODE
CRITICALsrc/renderer/src/write/tiptap/math-edit.ts173 this.editor.schema.nodes.blockMath.create({ latex: '' }),CODE
CRITICALsrc/renderer/src/write/tiptap/math-edit.ts174 this.editor.schema.nodes.paragraph.create()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.ts542 const batch = mockEvent.sender.send.mock.calls.find((call: any) => call[0] === 'runtime:sse-event')?.[1]CODE
CRITICALsrc/main/runtime-sse-ipc.test.ts598 const batch = mockEvent.sender.send.mock.calls.find((call: any) => call[0] === 'runtime:sse-event')?.[1]CODE
CRITICALsrc/main/startup-failure-window.test.ts95 const value = electron.window.loadURL.mock.calls.at(-1)?.[0]CODE
CRITICALsrc/main/mobile-link/relay-resume.test.ts145 expect(f.relay.enable.mock.calls.map((call) => call[0])).toEqual([true, true, false])CODE
CRITICALsrc/main/mobile-link/recovery.test.ts43 expect(f.deps.reconnect.mock.calls.map(([code]) => code)).toEqual(['NETWORK_CHANGED', 'HOST_RESUMED'])CODE
CRITICAL…n/ipc/register-extension-ipc-handlers.accounts.test.ts301 const binding = state.protectedActions.performAfterProtectedDecision.mock.calls.at(-1)?.[0]CODE
CRITICALsrc/main/ipc/app-ipc-handler-utils.ts190 ...(settings.write.paperMode.search.semanticScholarApiKey.trim()CODE
CRITICALsrc/main/ipc/app-ipc-handler-utils.ts193 ...(settings.write.paperMode.search.coreApiKey.trim()CODE
Fake / Example Data70 hits · 72 pts
SeverityFileLineSnippetContext
LOW…rc/harness/additional-native-agent-credentials.test.ts47 { type: 'api', key: 'mimocode-oauth-dummy-key' }, { type: 'api_key', key: 'wrong-dialect' }, { model: 'model' }]) CODE
LOWkun/src/harness/additional-native-agent-credentials.ts180 token(value.key) && value.key !== 'mimocode-oauth-dummy-key'CODE
LOWkun/src/prompt/design-authoring-rules.ts88 '- Content realism: use plausible domain-specific labels, data, names, prices, dates, and empty-state copy; no lorem iCODE
LOWkun/src/knowledge/knowledge-office-extractor.test.ts73 await writeFile(path, 'placeholder')CODE
LOWkun/src/gmail/google-client.test.ts108 await expect(client.list('subject:nothing', 5, 'fake-token')).resolves.toEqual({ messages: [], hasMore: false })CODE
LOW…services/extension-credential-store-inspection.test.ts66 await store.set('cred_token', { accessToken: 'fake-token' })CODE
LOW…vices/model-connection-registry-snapshot-cache.test.ts31 let snapshot = await registry.connect({ ...connection, id: 'first', expectedRevision: 0, credential: 'fake-key' })CODE
LOW…vices/model-connection-registry-snapshot-cache.test.ts32 snapshot = await registry.connect({ ...connection, id: 'second', expectedRevision: snapshot.revision, credential: 'fakCODE
LOW…vices/model-connection-registry-snapshot-cache.test.ts54 await registry.connect({ ...connection, id: 'third', expectedRevision: revision, credential: 'fake-key' })CODE
LOW…ervices/model-connection-registry-health-batch.test.ts34 credential: 'fake-key', customHeaders: { 'X-Test': 'fake-header' } })CODE
LOW…ervices/model-connection-registry-health-batch.test.ts57 const connected = await registry.connect({ ...connection, id: 'key', expectedRevision: 0, credential: 'fake-key' })CODE
LOW…/services/paper-search/paper-search-connectors.test.ts58 authors: ['Jane Doe', 'Consortium X'],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/paper/pdf-citation-resolve.test.ts55 { n: 2, title: 'B', authors: ['John Doe'], year: '2020' }CODE
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.json97 "placeholder": "エージェントに聞いてみると…(Shift+Enter で改行)",CODE
LOWsrc/renderer/src/locales/ru/common/commands-sdd.json97 "placeholder": "Спросите агента… (Shift+Enter — новая строка)",CODE
LOWsrc/renderer/src/locales/zh/common/agent-dispatch.json80 "placeholder": "例如:\n- 前端界面和样式:Claude Code · opus\n- 代码审查、安全检查:Codex · gpt-6.1-codex\n- 批量小改动、跑测试:Kun · deepseek-flaCODE
LOWsrc/renderer/src/locales/zh/common/commands-sdd.json98 "placeholder": "向智能体提问…(Shift+Enter 换行)",CODE
LOWsrc/renderer/src/locales/hi/common/commands-sdd.json97 "placeholder": "एजेंट से पूछें... (Shift+Enter से नई लाइन)",CODE
LOWsrc/renderer/src/locales/ko/common/commands-sdd.json97 "placeholder": "상담원에게 물어보세요... (Shift+Enter로 줄바꿈)",CODE
LOWsrc/renderer/src/locales/en/common/agent-dispatch.json80 "placeholder": "For example:\n- UI and styling: Claude Code · opus\n- Code review and security checks: Codex · gpt-6CODE
10 more matches not shown…
Modern AI Meta-Vocabulary22 hits · 61 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
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
MEDIUMsrc/renderer/src/plan/prepare-plan-build.test.ts50 const result = await preparePlanBuild({ plan, content: '# Plan', orchestration: 'direct',CODE
MEDIUMsrc/main/ipc/app-ipc-schemas.schedule-tasks.test.ts39 // #1342: the read path fills sourcePlanId/sourceThreadId/orchestration (andCOMMENT
MEDIUM…rvices/write-inline-completion-service.context.test.ts198 '# RAG notes',CODE
Unused Imports62 hits · 57 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
Cross-Language Confusion (JS/TS)3 hits · 22 pts
SeverityFileLineSnippetContext
HIGH⚡src/main/terminal/terminal-shell-integration.ts52 elif [[ "$char" == ";" ]]; then out+="\\\\x3b"CODE
HIGH⚡src/main/terminal/terminal-shell-integration.ts53 elif [[ "$char" == $'\\n' ]]; then out+="\\\\x0a"CODE
HIGH⚡src/main/terminal/terminal-shell-integration.ts54 elif [[ "$char" == $'\\e' || "$char" == $'\\a' ]]; then :CODE
Empty Error Handlers4 hits · 20 pts
SeverityFileLineSnippetContext
HIGHresources/ppt-toolchain/scripts/export_pptx.py332except OSError:CODE
HIGH…ources/ppt-toolchain/scripts/ppt_export_environment.py119except OSError:CODE
HIGH…ources/ppt-toolchain/scripts/ppt_export_environment.py295except ValueError:CODE
HIGHresources/ppt-toolchain/scripts/export_images.py363except OSError:CODE
Over-Commented Block14 hits · 14 pts
SeverityFileLineSnippetContext
LOWkun/src/server/routes/threads.ts121 userInputGate?: UserInputGate,COMMENT
LOWkun/src/loop/context-compactor.ts101 // e.g. the first turn after a restart) systematically under-counts andCOMMENT
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/renderer/src/store/chat-store-schedulers.ts1import type { ChatState, ChatStoreGet, ChatStoreSet } from './chat-store-types'COMMENT
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
AI Slop Vocabulary5 hits · 13 pts
SeverityFileLineSnippetContext
MEDIUMpackage-lock.json23349 "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
MEDIUMkun/src/delegation/workspace-agents.ts30 * credential-mode: native-login # optional harness credential pathCOMMENT
MEDIUMkun/src/delegation/workspace-agents.ts33 * model: claude-sonnet-5 # optional harness model pinCOMMENT
MEDIUM…kun-avatar/sources/generation-records-v2-material.json71 "prompt": "Make only a careful local material correction to this existing transparent FOUR-column TWO-row sheet ofCODE
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
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