A personal AI agent with memory, personality, and autonomy.
This report summarizes scanner evidence for liliMozi/openhanako, a TypeScript project with 6,757 GitHub stars. SynthScan examined 703,613 lines of code across 2547 source files, recording 2497 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 4.7 (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.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 2076 finding(s).
Are imports declared and package/API names verified? 55 finding(s).
Are wrappers, guards, and repeated structures necessary? 2363 finding(s).
Which changes need focused human review? 2497 finding(s).
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.
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.
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.
The scanner identified 2497 distinct pattern matches across 13 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | vite.config.ts | 176 | function serveMobilePwaStaticFiles(): Plugin { | CODE |
| LOW | core/execution-boundary.ts | 4 | export function createRuntimeExecutionBoundary(runtimeContext, options: { workbenchRoot?: any; workbenchKind?: string } | CODE |
| LOW | core/execution-boundary.ts | 16 | export function createLocalExecutionBoundary({ | CODE |
| LOW | core/plugin-manager.ts | 102 | function normalizeUiHostCapabilities(raw, pluginId) { | CODE |
| LOW | core/plugin-manager.ts | 120 | function normalizeActivationEvents(raw, hasLifecycle) { | CODE |
| LOW | core/plugin-manager.ts | 148 | function normalizePluginToolResult(raw, pluginId) { | CODE |
| LOW | core/plugin-manager.ts | 163 | function getDynamicToolInvocationStyle( toolDef: any = {}) { | CODE |
| LOW | core/plugin-manager.ts | 199 | function withInvocationSessionHelpers(ctx, sessionCtx) { | CODE |
| LOW | core/server-runtime-context.ts | 17 | export function createServerRuntimeContext({ hanakoHome, appVersion = "?" }) { | CODE |
| LOW | core/provider-catalog.ts | 36 | function normalizeDeletedProviders(value: any): string[] { | CODE |
| LOW | core/capability-policy.ts | 102 | export function capabilityDecisionSummary(value) { | CODE |
| LOW | core/workspace-instruction-files.ts | 76 | export function collectWorkspaceInstructionFiles({ cwd, workspaceContext, excludeFiles }: { cwd?: any; workspaceContext? | CODE |
| LOW | core/workspace-instruction-files.ts | 114 | export function formatWorkspaceInstructionFiles(files: any, { locale }: { locale?: any } = {}) { | CODE |
| LOW | core/workspace-instruction-files.ts | 137 | export function buildWorkspaceInstructionPrompt({ cwd, workspaceContext, locale, excludeFiles }: { cwd?: string; workspa | CODE |
| LOW⚡ | core/session-coordinator.ts | 359 | function cacheContractDebugEnabled() { | CODE |
| LOW⚡ | core/session-coordinator.ts | 363 | function assertVideoInputSupported(model: any, videos: any) { | CODE |
| LOW⚡ | core/session-coordinator.ts | 373 | function assertAudioInputSupported(model: any, audios: any) { | CODE |
| LOW⚡ | core/session-coordinator.ts | 867 | function buildDeepSeekRoleplayReasoningContext(agent: any) { | CODE |
| LOW⚡ | core/session-coordinator.ts | 875 | function normalizeSessionExperimentFlags(value: any) { | CODE |
| LOW⚡ | core/session-coordinator.ts | 883 | function sessionExperimentFlagsForMeta(value: any) { | CODE |
| LOW⚡ | core/session-coordinator.ts | 888 | function hasSessionPermissionModeFields(value: any) { | CODE |
| LOW⚡ | core/session-coordinator.ts | 896 | function normalizeSessionWorkspaceMount(value: any) { | CODE |
| LOW | core/session-coordinator.ts | 192 | function createModelContextTooLargeError(currentTokens: number, effectiveWindow: number) { | CODE |
| LOW | core/session-coordinator.ts | 202 | function classifySessionModelAvailability(models: any, provider: string, modelId: string): SessionModelAvailability { | CODE |
| LOW | core/session-coordinator.ts | 245 | function createUnavailableSessionModel(models: any, provider: string, modelId: string) { | CODE |
| LOW | core/session-coordinator.ts | 264 | function splitLeadingSessionReminder(text: any) { | CODE |
| LOW | core/session-coordinator.ts | 278 | function detachReminderFromLatestUserMessage(messages: any) { | CODE |
| LOW | core/session-coordinator.ts | 310 | function reattachReminderToLatestUserMessage(messages: any, reminder: any) { | CODE |
| LOW | core/session-coordinator.ts | 337 | function createReminderAwareTurnContextExtension(options: any) { | CODE |
| LOW | core/session-coordinator.ts | 399 | function normalizePluginSessionMeta({ ownerPluginId, sessionKind, sessionVisibility }: any = {}) { | CODE |
| LOW | core/session-coordinator.ts | 417 | function sessionMatchesListOptions(sessionLike, options: any = {}) { | CODE |
| LOW | core/session-coordinator.ts | 435 | function extractPlainTextFromContent(content: any, { stripThink = false } = {}) { | CODE |
| LOW | core/session-coordinator.ts | 449 | function timestampFromHistoryMessage(message: any, fallback = Date.now()) { | CODE |
| LOW | core/session-coordinator.ts | 458 | function activeToolDefinitionsFromSnapshot(allToolObjects: any, snapshotToolNames: any) { | CODE |
| LOW | core/session-coordinator.ts | 469 | function normalizeDeletedAgentTranscriptMessage(message: any) { | CODE |
| LOW | core/session-coordinator.ts | 490 | function readSessionBranchMessages(sessionManager: any) { | CODE |
| LOW | core/session-coordinator.ts | 517 | function deletedAgentContinuationError(code: string, message: string, status = 422) { | CODE |
| LOW | core/session-coordinator.ts | 528 | function resolveAssistantUsageModel(modelMeta: any, fallbackModel: any, resolveModel: any) { | CODE |
| LOW | core/session-coordinator.ts | 544 | function modelMetaForAssistantUsage(message: any, fallbackModel: any, resolvedModel: any) { | CODE |
| LOW | core/session-coordinator.ts | 552 | function costRatesForAssistantUsage({ modelMeta, resolvedModel, fallbackModel }: any) { | CODE |
| LOW | core/session-coordinator.ts | 595 | function logDeepSeekReasoningVisibility({ event, model, sessionPath, agentId }: any) { | CODE |
| LOW | core/session-coordinator.ts | 614 | function collectThinkingVisibilityStats(message: any) { | CODE |
| LOW | core/session-coordinator.ts | 649 | function collectAssistantTextFromMessage(message: any) { | CODE |
| LOW | core/session-coordinator.ts | 676 | function collectSessionFilesFromToolResult(result: any) { | CODE |
| LOW | core/session-coordinator.ts | 715 | function normalizeMemoryPressureOptions(raw: any) { | CODE |
| LOW | core/session-coordinator.ts | 735 | function estimateSessionRuntimeRetainedBytes(session: any) { | CODE |
| LOW | core/session-coordinator.ts | 746 | function estimateRetainedValueBytes(value: any, seen: WeakSet<any>, budget: any, depth = 0) { | CODE |
| LOW | core/session-coordinator.ts | 800 | function buildAppendSystemPromptSnapshot({ | CODE |
| LOW | core/session-coordinator.ts | 832 | function readDeepSeekRoleplayExperimentFlag(prefs: any) { | CODE |
| LOW | core/session-coordinator.ts | 840 | function normalizeDeepSeekRoleplayReasoningContext(value: any) { | CODE |
| LOW | core/session-coordinator.ts | 853 | function readAgentRosterDescription(agent: any) { | CODE |
| LOW | core/session-coordinator.ts | 940 | function countRetainedSessionMessages(entries: any[]) { | CODE |
| LOW | core/session-coordinator.ts | 974 | function rewriteForkedSessionDraftValue(value: any, replacements: [string, string][]): any { | CODE |
| LOW | core/session-coordinator.ts | 992 | function rewriteForkedSessionDraftReferences(sessionManager: any, suggestionIdMap: any) { | CODE |
| LOW | core/session-coordinator.ts | 7938 | session.agent.streamFn = function providerCacheAffinityStream(model, context, options) { | CODE |
| LOW | core/web-session-store.ts | 128 | function persistWebSessionRegistry(hanakoHome, registry) { | CODE |
| LOW | core/web-session-store.ts | 133 | function validateWebSessionRegistry(value, label) { | CODE |
| LOW | core/vision-prepare.ts | 19 | function isRecoverableVisionPrepareError(err) { | CODE |
| LOW | core/vision-prepare.ts | 39 | function appendVisionFailureNotice(text, err) { | CODE |
| LOW | core/vision-prepare.ts | 48 | export async function prepareVisionInputForTextOnlyModel({ | CODE |
| 1937 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | core/plugin-manager.ts | 820 | // ── Task 5: Tool loader ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/plugin-manager.ts | 950 | // ── Task 6: Skill paths + Command loader ──────────────────────────────── | COMMENT |
| MEDIUM | core/plugin-manager.ts | 1048 | // ── Task 7: Route loader ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/plugin-manager.ts | 1136 | // ── Task 8: Extension loader ───────────────────────────────────────────── | COMMENT |
| MEDIUM | core/plugin-manager.ts | 1162 | // ── Task 9: Configuration loader ───────────────────────────────────────── | COMMENT |
| MEDIUM | core/plugin-manager.ts | 1259 | // ── Page / Widget loader ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/plugin-manager.ts | 1333 | // ── Task 10: Agent templates + Provider loader ─────────────────────────── | COMMENT |
| MEDIUM | core/plugin-manager.ts | 1385 | // ── Operation queue ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/plugin-manager.ts | 1405 | // ── Hot operations ─────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/plugin-manager.ts | 1598 | // ── Lifecycle ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/migrate-providers.ts | 33 | // ── 原子写入工具 ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/migrate-providers.ts | 50 | // ── 主迁移函数 ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/migrate-providers.ts | 255 | // ── 内部工具 ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/migrations.ts | 73 | // ── 迁移表 ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/migrations.ts | 274 | // ── Runner ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/migrations.ts | 330 | // ── 迁移实现 ───────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/agent.ts | 261 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/agent.ts | 263 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/agent.ts | 783 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/agent.ts | 785 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/agent.ts | 807 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/agent.ts | 809 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/agent.ts | 1009 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/agent.ts | 1011 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/agent.ts | 1047 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/agent.ts | 1049 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/agent.ts | 1103 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/agent.ts | 1105 | // ════════════════════════════ | COMMENT |
| MEDIUM⚡ | core/engine.ts | 2093 | // ════════════════════════════ | COMMENT |
| MEDIUM⚡ | core/engine.ts | 2095 | // ════════════════════════════ | COMMENT |
| MEDIUM⚡ | core/engine.ts | 2102 | // ════════════════════════════ | COMMENT |
| MEDIUM⚡ | core/engine.ts | 2104 | // ════════════════════════════ | COMMENT |
| MEDIUM⚡ | core/engine.ts | 3573 | // ════════════════════════════ | COMMENT |
| MEDIUM⚡ | core/engine.ts | 3575 | // ════════════════════════════ | COMMENT |
| MEDIUM⚡ | core/engine.ts | 3582 | // ════════════════════════════ | COMMENT |
| MEDIUM⚡ | core/engine.ts | 3584 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 761 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 763 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 1339 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 1341 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 1741 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 1743 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 2194 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 2196 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 2343 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 2345 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 2369 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 2371 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 2726 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 2728 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 2853 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 2855 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 3336 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 3338 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 3416 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 3418 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 3502 | // ════════════════════════════ | COMMENT |
| MEDIUM | core/engine.ts | 3504 | // ════════════════════════════ | COMMENT |
| MEDIUM⚡ | core/provider-registry.ts | 367 | // ── 内置插件 ──────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | core/provider-registry.ts | 457 | // ── Types (JSDoc) ───────────────────────────────────────────────────────────── | COMMENT |
| 291 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | …2set/hana-plugin-creator/scripts/create_hana_plugin.py | 337 | ? {{ sessionId: toolCtx.sessionId, sessionPath: toolCtx.sessionPath || null }} | CODE |
| HIGH⚡ | …2set/hana-plugin-creator/scripts/create_hana_plugin.py | 337 | ? {{ sessionId: toolCtx.sessionId, sessionPath: toolCtx.sessionPath || null }} | CODE |
| HIGH⚡ | …2set/hana-plugin-creator/scripts/create_hana_plugin.py | 338 | : null); | CODE |
| HIGH⚡ | …2set/hana-plugin-creator/scripts/create_hana_plugin.py | 398 | ? {{ sessionId: toolCtx.sessionId, sessionPath: toolCtx.sessionPath || null }} | CODE |
| HIGH⚡ | …2set/hana-plugin-creator/scripts/create_hana_plugin.py | 398 | ? {{ sessionId: toolCtx.sessionId, sessionPath: toolCtx.sessionPath || null }} | CODE |
| HIGH⚡ | …2set/hana-plugin-creator/scripts/create_hana_plugin.py | 399 | : null); | CODE |
| HIGH | …2set/hana-plugin-creator/scripts/create_hana_plugin.py | 446 | if (payload?.pluginId && payload.pluginId !== ctx.pluginId) return HANA_BUS_SKIP; | CODE |
| HIGH | …2set/hana-plugin-creator/scripts/create_hana_plugin.py | 476 | if (payload?.pluginId && payload.pluginId !== ctx.pluginId) return HANA_BUS_SKIP; | CODE |
| HIGH | …2set/hana-plugin-creator/scripts/create_hana_plugin.py | 641 | if (msg.protocol !== PROTOCOL || msg.version !== VERSION || msg.id !== id || msg.type !== type) return; | CODE |
| HIGH | …2set/hana-plugin-creator/scripts/create_hana_plugin.py | 671 | if (!stripped || stripped.startsWith("./") || stripped === "api/plugins" || stripped.startsWith("api/plugins/")) {{ | CODE |
| HIGH | …2set/hana-plugin-creator/scripts/create_hana_plugin.py | 715 | return {{ theme: params.get("hana-theme") || undefined, cssUrl: params.get("hana-css") || undefined }}; | CODE |
| HIGH | …2set/hana-plugin-creator/scripts/create_hana_plugin.py | 975 | theme={{customTheme || (themeMode === 'hana' ? 'warm-paper' : undefined)}} | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | skills2set/skill-creator/eval-viewer/generate_review.py | 303 | except subprocess.TimeoutExpired: | CODE |
| HIGH | skills2set/skill-creator/eval-viewer/generate_review.py | 231 | except (json.JSONDecodeError, OSError, KeyError): | CODE |
| HIGH | skills2set/skill-creator/eval-viewer/generate_review.py | 97 | except (json.JSONDecodeError, OSError): | CODE |
| HIGH | skills2set/skill-creator/eval-viewer/generate_review.py | 135 | except (json.JSONDecodeError, OSError): | CODE |
| HIGH | skills2set/skill-creator/eval-viewer/generate_review.py | 111 | except OSError: | CODE |
| HIGH | skills2set/skill-creator/eval-viewer/generate_review.py | 299 | except (ProcessLookupError, ValueError): | CODE |
| HIGH | skills2set/skill-creator/eval-viewer/generate_review.py | 340 | except (json.JSONDecodeError, OSError): | CODE |
| HIGH | skills2set/skill-creator/scripts/aggregate_benchmark.py | 135 | except json.JSONDecodeError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/server-home-guards.test.ts | 151 | token: "fake-token", | CODE |
| LOW | tests/data-epoch-restore.test.ts | 114 | JSON.stringify({ pid: process.pid, port, token: "fake-token", version: "0.1.0", ownerKind: "standalone" }), | CODE |
| LOW | tests/desk-route.test.ts | 123 | fs.writeFileSync(zipPath, "placeholder"); | CODE |
| LOW | tests/desk-route.test.ts | 246 | contentBase64: Buffer.from("placeholder").toString("base64"), | CODE |
| LOW | desktop/src/locales/zh.json | 296 | "placeholder": "在会话中查找" | CODE |
| LOW | desktop/src/locales/zh.json | 365 | "placeholder": "说点什么...", | CODE |
| LOW | desktop/src/locales/zh.json | 574 | "placeholder": { | CODE |
| LOW | desktop/src/locales/zh.json | 1055 | "placeholder": "搜索设置", | CODE |
| LOW | desktop/src/locales/zh.json | 2467 | "placeholder": "你的名字", | CODE |
| LOW | desktop/src/locales/zh.json | 2816 | "placeholder": "搜索工作台", | CODE |
| LOW | desktop/src/locales/ja.json | 296 | "placeholder": "会話内を検索" | CODE |
| LOW | desktop/src/locales/ja.json | 365 | "placeholder": "なにか話しかけてみてください...", | CODE |
| LOW | desktop/src/locales/ja.json | 619 | "placeholder": { | CODE |
| LOW | desktop/src/locales/ja.json | 1055 | "placeholder": "設定を検索", | CODE |
| LOW | desktop/src/locales/ja.json | 2468 | "placeholder": "あなたの名前", | CODE |
| LOW | desktop/src/locales/ja.json | 2817 | "placeholder": "ワークスペースを検索", | CODE |
| LOW | desktop/src/locales/en.json | 296 | "placeholder": "Find in conversation" | CODE |
| LOW | desktop/src/locales/en.json | 365 | "placeholder": "Say something...", | CODE |
| LOW | desktop/src/locales/en.json | 619 | "placeholder": { | CODE |
| LOW | desktop/src/locales/en.json | 1055 | "placeholder": "Search settings", | CODE |
| LOW | desktop/src/locales/en.json | 2467 | "placeholder": "Your name", | CODE |
| LOW | desktop/src/locales/en.json | 2816 | "placeholder": "Search workspace", | CODE |
| LOW | desktop/src/locales/ko.json | 296 | "placeholder": "대화에서 찾기" | CODE |
| LOW | desktop/src/locales/ko.json | 365 | "placeholder": "무슨 이야기든 해보세요...", | CODE |
| LOW | desktop/src/locales/ko.json | 619 | "placeholder": { | CODE |
| LOW | desktop/src/locales/ko.json | 1055 | "placeholder": "설정 검색", | CODE |
| LOW | desktop/src/locales/ko.json | 2468 | "placeholder": "당신의 이름", | CODE |
| LOW | desktop/src/locales/ko.json | 2817 | "placeholder": "작업 공간 검색", | CODE |
| LOW | desktop/src/locales/zh-TW.json | 296 | "placeholder": "在會話中查找" | CODE |
| LOW | desktop/src/locales/zh-TW.json | 365 | "placeholder": "說點什麼...", | CODE |
| LOW | desktop/src/locales/zh-TW.json | 574 | "placeholder": { | CODE |
| LOW | desktop/src/locales/zh-TW.json | 1055 | "placeholder": "搜尋設定", | CODE |
| LOW | desktop/src/locales/zh-TW.json | 2468 | "placeholder": "你的名字", | CODE |
| LOW | desktop/src/locales/zh-TW.json | 2817 | "placeholder": "搜尋工作台", | CODE |
| LOW | …/src/react/components/input/input-editor-extensions.ts | 10 | export type InputEditorPlaceholder = PlaceholderOptions['placeholder']; | CODE |
| LOW | …eact/__tests__/settings/BridgeTab.credentials.test.tsx | 324 | expect(input).toHaveAttribute('placeholder', 'settings.bridge.secretStoredPlaceholder'); | CODE |
| LOW | …_tests__/components/InputArea.paste-and-slash.test.tsx | 160 | default: { configure: () => ({ name: 'placeholder' }) }, | CODE |
| LOW | …/__tests__/components/InputArea.focus-surface.test.tsx | 63 | default: { configure: () => ({ name: 'placeholder' }) }, | CODE |
| LOW | …t/__tests__/components/InputArea.file-mention.test.tsx | 97 | default: { configure: () => ({ name: 'placeholder' }) }, | CODE |
| LOW | …ts__/components/InputArea.welcome-placeholder.test.tsx | 124 | const placeholderExtension = mocks.editorOptions?.extensions?.find(ext => ext.name === 'placeholder'); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/alpha-gate-worker/wrangler.toml | 21 | # How many fresh codes a successful redemption hands back. | COMMENT |
| LOW | core/migrations.ts | 81 | 3: migrateWorkspaceToPerAgent, | COMMENT |
| LOW | core/migrations.ts | 161 | // Provider Catalog v2:provider/model/capability canonical store 一次性 cutover | COMMENT |
| LOW | core/migrations.ts | 1821 | ]); | COMMENT |
| LOW | core/skill-manager.ts | 21 | // 上限(macOS 默认 256),触发 EMFILE → 错误日志雪崩 → server OOM/SIGKILL。 | COMMENT |
| LOW | core/session-manifest/legacy-migration.ts | 41 | } catch { | COMMENT |
| LOW | core/session-manifest/legacy-migration.ts | 61 | // 跳过语义:账本只对"判了死刑"的文件(too_large / parse_error)做跳过记忆——这类文件 | COMMENT |
| LOW | core/mcp/manager.ts | 21 | COMMENT | |
| LOW | core/mcp/manager.ts | 341 | authorizationToken, | COMMENT |
| LOW | core/mcp/manager.ts | 921 | // in memory only: a hint describes one live response, so persisting it | COMMENT |
| LOW | core/mcp/manager.ts | 941 | // Runtime-only transient status overrides (connecting/reconnecting/failed/ | COMMENT |
| LOW | core/mcp/manager.ts | 1441 | // re-auth consumes this state. We do NOT silently swallow the failure — the | COMMENT |
| LOW | core/mcp/manager.ts | 1481 | this.clients.delete(id); | COMMENT |
| LOW | core/mcp/manager.ts | 1601 | } | COMMENT |
| LOW | core/mcp/manager.ts | 1981 | const canonical = toMcpToolId(connector.id, tool.name); | COMMENT |
| LOW | core/slash-commands/index.ts | 1 | import { SlashCommandRegistry } from "../slash-command-registry.ts"; | COMMENT |
| LOW | tests/server-composition-boundary.test.ts | 21 | import { describe, expect, it } from "vitest"; | COMMENT |
| LOW | tests/server-composition-boundary.test.ts | 201 | // No engine/store side effects: no server-info.json written, no | COMMENT |
| LOW | tests/artifact-boot.test.ts | 801 | COMMENT | |
| LOW | tests/persistence-schema-tripwire.test.ts | 201 | // by creating a throwaway database and reading its schema back. That result | COMMENT |
| LOW | tests/todo-compat.test.ts | 421 | describe("extractLatestTodosFromEntries (branch-aware)", () => { | COMMENT |
| LOW | tests/builtin-tool-permission-coverage.test.ts | 81 | } | COMMENT |
| LOW | tests/bootstrap-keepalive.test.ts | 101 | && e.receivedAt <= blockEnd.receivedAt | COMMENT |
| LOW | tests/update-config-non-focus.test.ts | 461 | }); | COMMENT |
| LOW | tests/bridge-strip-internal-tags.test.ts | 141 | }); | COMMENT |
| LOW | tests/setup-auto-updater.ts | 81 | // | COMMENT |
| LOW | desktop/native/HanaWindowsSandboxHelper/main.cpp | 1 | #ifndef UNICODE | COMMENT |
| LOW | …s__/components/StreamingSelectionPreservation.test.tsx | 1 | // @vitest-environment jsdom | COMMENT |
| LOW | server/index.ts | 261 | } catch {} | COMMENT |
| LOW | server/index.ts | 301 | homeDir: hanakoHome, | COMMENT |
| LOW | server/http/route-security.ts | 541 | // rather than settings.write. | COMMENT |
| LOW | server/routes/ws-session-context.ts | 1 | // WS 入站消息的 session/agent 身份唯一解析边界。 | COMMENT |
| LOW | shared/tool-categories.ts | 1 | // shared/tool-categories.ts | COMMENT |
| LOW | shared/contract-versions.ts | 1 | import contractVersions from "./contract-versions.json"; | COMMENT |
| LOW | .github/workflows/stale.yml | 1 | name: Stale Issues | COMMENT |
| LOW | lib/sandbox/win32-runtime-cache.ts | 181 | return false; | COMMENT |
| LOW | lib/sandbox/win32-exec.ts | 1181 | ...(grants?.optionalWritePaths || []), | COMMENT |
| LOW | lib/sandbox/win32-exec.ts | 1301 | // ── 沙盒 PowerShell 启动探针 ── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/data-epoch-restore.ts | 478 | // Step 1: write (or, on resume, keep) the restore-phase journal. | COMMENT |
| LOW | core/data-epoch-restore.ts | 510 | // Step 4: republish the stamp back to fromEpoch — the sole guarded | COMMENT |
| LOW | skills2set/skill-creator/SKILL.md | 201 | ### Step 1: Spawn all runs (with-skill AND baseline) in the same turn | COMMENT |
| LOW | skills2set/skill-creator/SKILL.md | 231 | ### Step 2: While runs are in progress, draft assertions | COMMENT |
| LOW | skills2set/skill-creator/SKILL.md | 239 | ### Step 3: As runs complete, capture timing data | COMMENT |
| LOW | skills2set/skill-creator/SKILL.md | 253 | ### Step 4: Grade, aggregate, and launch the viewer | COMMENT |
| LOW | skills2set/skill-creator/SKILL.md | 294 | ### Step 5: Read the feedback | COMMENT |
| LOW | skills2set/skill-creator/SKILL.md | 364 | ### Step 1: Generate trigger eval queries | COMMENT |
| LOW | skills2set/skill-creator/SKILL.md | 387 | ### Step 2: Review with user | COMMENT |
| LOW | skills2set/skill-creator/SKILL.md | 402 | ### Step 3: Run the optimization loop | COMMENT |
| LOW | skills2set/skill-creator/SKILL.md | 429 | ### Step 4: Apply the result | COMMENT |
| LOW | lib/memory/memory-ticker.ts | 869 | // Step 0: compileDaily——把已经翻篇的昨天蒸馏成 memory/daily/{date}.md。 | COMMENT |
| LOW | lib/memory/memory-ticker.ts | 890 | // Step 1: compileToday(日期切换后刷新 today.md,新一天无 session 时会清空) | COMMENT |
| LOW | lib/memory/memory-ticker.ts | 904 | // Step 2: rollDailyWindow——把滚出 6 日窗口的 daily 条目 fold 进 longterm 并删除源文件。 | COMMENT |
| LOW | lib/memory/memory-ticker.ts | 925 | // Step 3: compileFacts(独立于 step 1-2)——恒走增量编译,facts.md 是唯一产物 | COMMENT |
| LOW⚡ | lib/memory/memory-ticker.ts | 943 | // Step 4: assemble(纯文件操作,先从 daily/ 目录装配 week.md 再拼 memory.md,总是执行) | COMMENT |
| LOW⚡ | lib/memory/memory-ticker.ts | 953 | // Step 5: deep-memory(独立,更新 facts.db) | COMMENT |
| LOW | lib/bridge/qq-adapter.ts | 710 | // Step 1: 上传。实时 Bridge 路径会传 isGroup;手动发送等未知入口保留探测顺序。 | COMMENT |
| LOW | lib/bridge/qq-adapter.ts | 724 | // Step 2: 发送富媒体消息 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/data-epoch-restore.ts | 478 | // Step 1: write (or, on resume, keep) the restore-phase journal. | COMMENT |
| LOW | core/data-epoch-restore.ts | 510 | // Step 4: republish the stamp back to fromEpoch — the sole guarded | COMMENT |
| LOW | lib/memory/memory-ticker.ts | 869 | // Step 0: compileDaily——把已经翻篇的昨天蒸馏成 memory/daily/{date}.md。 | COMMENT |
| LOW | lib/memory/memory-ticker.ts | 890 | // Step 1: compileToday(日期切换后刷新 today.md,新一天无 session 时会清空) | COMMENT |
| LOW | lib/memory/memory-ticker.ts | 904 | // Step 2: rollDailyWindow——把滚出 6 日窗口的 daily 条目 fold 进 longterm 并删除源文件。 | COMMENT |
| LOW | lib/memory/memory-ticker.ts | 925 | // Step 3: compileFacts(独立于 step 1-2)——恒走增量编译,facts.md 是唯一产物 | COMMENT |
| LOW⚡ | lib/memory/memory-ticker.ts | 943 | // Step 4: assemble(纯文件操作,先从 daily/ 目录装配 week.md 再拼 memory.md,总是执行) | COMMENT |
| LOW⚡ | lib/memory/memory-ticker.ts | 953 | // Step 5: deep-memory(独立,更新 facts.db) | COMMENT |
| LOW | lib/bridge/qq-adapter.ts | 710 | // Step 1: 上传。实时 Bridge 路径会传 isGroup;手动发送等未知入口保留探测顺序。 | COMMENT |
| LOW | lib/bridge/qq-adapter.ts | 724 | // Step 2: 发送富媒体消息 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | skills2set/skill-creator/eval-viewer/generate_review.py | 404 | print(f"Error: {workspace} is not a directory", file=sys.stderr) | CODE |
| LOW | skills2set/skill-creator/scripts/run_eval.py | 223 | except Exception as e: | CODE |
| MEDIUM | skills2set/skill-creator/scripts/run_eval.py | 276 | print(f"Error: No SKILL.md found at {skill_path}", file=sys.stderr) | CODE |
| LOW | skills2set/skill-creator/scripts/package_skill.py | 106 | except Exception as e: | CODE |
| MEDIUM | skills2set/skill-creator/scripts/improve_description.py | 204 | print(f"Error: No SKILL.md found at {skill_path}", file=sys.stderr) | CODE |
| MEDIUM | skills2set/skill-creator/scripts/run_loop.py | 269 | print(f"Error: No SKILL.md found at {skill_path}", file=sys.stderr) | CODE |
| LOW | …2set/hana-plugin-creator/scripts/create_hana_plugin.py | 71 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | skills2set/skill-creator/eval-viewer/generate_review.py | 85 | CODE | |
| LOW | skills2set/skill-creator/eval-viewer/generate_review.py | 149 | CODE | |
| LOW | skills2set/skill-creator/eval-viewer/generate_review.py | 288 | CODE | |
| LOW | skills2set/skill-creator/scripts/run_eval.py | 35 | CODE | |
| LOW | skills2set/skill-creator/scripts/package_skill.py | 42 | CODE | |
| LOW | skills2set/skill-creator/scripts/improve_description.py | 19 | CODE | |
| LOW | skills2set/skill-creator/scripts/aggregate_benchmark.py | 67 | CODE | |
| LOW | skills2set/skill-creator/scripts/generate_report.py | 16 | CODE | |
| LOW | skills2set/skill-creator/scripts/utils.py | 7 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | package-lock.json | 16209 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", | CODE |
| MEDIUM | desktop/src/react/settings/helpers.ts | 194 | ..._ids.slice(2), // high-contrast, grass-aroma, contemplation, absolutely, delve, deep-think, new-warm-pape | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | core/session-health.ts | 76 | // 坏数据成因:agentic 工具循环里 assistant 回包 stopReason=error/aborted 时,Pi SDK | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | skills2set/skill-creator/scripts/quick_validate.py | 7 | CODE | |
| LOW | …2set/hana-plugin-creator/scripts/create_hana_plugin.py | 2 | CODE | |
| LOW | …2set/hana-plugin-creator/scripts/create_hana_plugin.py | 7 | CODE |