LLM Wiki is a cross-platform desktop application that turns your documents into an organized, interlinked knowledge base — automatically. Instead of traditional RAG (retrieve-and-answer from scratch every time), the LLM incrementally builds and maintains a persistent wiki from your sources。
This report presents the forensic synthetic code analysis of nashsu/llm_wiki, a TypeScript project with 14,530 GitHub stars. SynthScan v2.0 examined 130,727 lines of code across 389 source files, recording 390 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 5.7 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 390 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/debug_ollama_tokens.py | 35 | # 1687-1693). maxContextSize is in CHARACTERS. ──────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/extract_images.rs | 179 | // ── PDF (pdfium) ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/extract_images.rs | 456 | // ── PPTX / DOCX (zip) ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/extract_images.rs | 572 | // ── Helpers ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/extract_images.rs | 681 | // ── Extract-and-save: write to disk, skip the base64 round-trip ──────── | COMMENT |
| MEDIUM | src-tauri/src/commands/extract_images.rs | 993 | // ── Tauri command bindings ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/extract_images.rs | 1067 | // ── Tests ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/vectorstore.rs | 348 | // ────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/vectorstore.rs | 376 | // ────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/vectorstore.rs | 862 | // ────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/vectorstore.rs | 870 | // ────────────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src-tauri/src/commands/fs.rs | 2033 | // ── collect_related_pages: regression coverage for the three match ───── | COMMENT |
| MEDIUM | src-tauri/src/commands/fs.rs | 2229 | // ── copy_directory: folder import recursion + filtering ────────── | COMMENT |
| MEDIUM | src/lib/lint.ts | 28 | // ── helpers ─────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/lint.ts | 148 | // ── Structural lint ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/lint.ts | 300 | // ── Semantic lint ───────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/enrich-wikilinks.real-llm.test.ts | 145 | // ── Scenario-specific strict assertions ──────────────────────── | COMMENT |
| MEDIUM | src/lib/sweep-reviews.scenarios.test.ts | 50 | // ── Setup ──────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/sweep-reviews.scenarios.test.ts | 69 | // ── Scenario runner ───────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/sweep-reviews.scenarios.test.ts | 177 | // ── Test cases ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/ingest-parse.test.ts | 36 | // ── Happy paths ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/ingest-parse.test.ts | 154 | // ── H1: CRLF normalization ───────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/ingest-parse.test.ts | 189 | // ── H2: Stream truncation ────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/ingest-parse.test.ts | 220 | // ── H3: Marker whitespace / case variants ────────────────────────── | COMMENT |
| MEDIUM | src/lib/ingest-parse.test.ts | 273 | // ── H5: Literal markers inside fenced code blocks ────────────────── | COMMENT |
| MEDIUM | src/lib/ingest-parse.test.ts | 365 | // ── H6: Empty path ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/ingest-parse.test.ts | 380 | // ── Path traversal guard (security) ───────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/lib/greeting-detector.ts | 21 | // ── English ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/lib/greeting-detector.ts | 27 | // ── Chinese (简体 + 繁體) ────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/lib/greeting-detector.ts | 35 | // ── Japanese ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/lib/greeting-detector.ts | 38 | // ── Korean ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | src/lib/greeting-detector.ts | 41 | // ── European casual openers ───────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.test.ts | 16 | // ── Tiny helpers ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.test.ts | 24 | // ── stripFrontmatter ──────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.test.ts | 56 | // ── Empty / trivial inputs ───────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.test.ts | 80 | // ── Heading breadcrumb tracking ──────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.test.ts | 142 | // ── Code block preservation ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.test.ts | 189 | // ── Table preservation ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.test.ts | 227 | // ── Recursive split levels ───────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.test.ts | 270 | // ── Overlap semantics ────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.test.ts | 318 | // ── Small-chunk merging ──────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.test.ts | 346 | // ── Section-aware chunking (headings cut chunks) ─────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.test.ts | 368 | // ── Character offsets ────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.test.ts | 391 | // ── Indices and determinism ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.test.ts | 420 | // ── End-to-end: realistic wiki page ──────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.test.ts | 518 | // ── CRLF content body (Windows line endings) ─────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.test.ts | 539 | // ── Nested fences (4-tick wrapping 3-tick) ───────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.test.ts | 570 | // ── Tables without a separator row ───────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.test.ts | 595 | // ── Contract checks on the output shape ──────────────────────────── | COMMENT |
| MEDIUM | src/lib/ingest-queue.test.ts | 891 | // ── cleanupWrittenFiles — file delete + LanceDB chunk cascade ────── | COMMENT |
| MEDIUM | src/lib/text-chunker.ts | 86 | // ── Public API ──────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.ts | 124 | // ── Frontmatter handling ────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.ts | 146 | // ── Section segmentation ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.ts | 240 | // ── Section → chunks ───────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.ts | 280 | // ── Atom tokenization (splittable vs indivisible) ──────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.ts | 371 | // ── Splittable atom → pieces ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.ts | 492 | // ── Piece sizing: pack pieces into chunks ≤ maxChars ───────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.ts | 533 | // ── Small-chunk merge pass ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/text-chunker.ts | 558 | // ── Overlap injection ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/lib/wiki-page-delete.test.ts | 131 | // ── Media cascade: source-summary deletion drops images too ────── | COMMENT |
| 107 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/debug_ollama_tokens.py | 36 | def app_generation_max_tokens(max_context_chars: int) -> int: | CODE |
| LOW | src/App.tsx | 94 | async function hydrateScheduledImportAfterOpen(proj: WikiProject): Promise<void> { | CODE |
| LOW | src/stores/wiki-store.ts | 228 | export function createDefaultGraphUiState(): GraphUiState { | CODE |
| LOW | src/components/lint/lint-view.tsx | 31 | export function groupLintResultsForDisplay(results: readonly LintItem[]): { | CODE |
| LOW | src/components/chat/chat-panel.tsx | 94 | async function readAgentActivitySnapshot(path: string): Promise<string | null> { | CODE |
| LOW | src/components/chat/chat-panel.tsx | 255 | function backendReferenceToMessageReference(ref: BackendAgentReference): MessageReference { | CODE |
| LOW | src/components/chat/chat-panel.tsx | 398 | function summarizeAgentStepsForResume(steps: ChatAgentStep[] = []): string { | CODE |
| LOW | src/components/chat/chat-panel.tsx | 410 | function compactChatHistoryForResume( | CODE |
| LOW | src/components/chat/chat-panel.tsx | 1575 | function GeneratedOutputPreviewDialog({ | CODE |
| LOW | src/components/chat/chat-panel.tsx | 1618 | function ChatReferencePreviewPanel({ | CODE |
| LOW | src/components/chat/chat-panel.tsx | 1703 | function ChatReferencePreviewContent({ preview }: { preview: ChatReferencePreview }) { | CODE |
| LOW | src/components/chat/chat-panel.tsx | 1717 | function clampReferencePreviewWidth(width: number): number { | CODE |
| LOW | src/components/chat/chat-panel.tsx | 1721 | function ChatMarkdownReferencePreview({ preview }: { preview: ChatReferencePreview }) { | CODE |
| LOW | src/components/chat/chat-message.tsx | 296 | function extractShellApprovalCommand(steps: ChatAgentStep[]): string | null { | CODE |
| LOW | src/components/layout/icon-sidebar.tsx | 68 | function handleResearchPanelToggle() { | CODE |
| LOW | src/components/layout/research-panel-nav.ts | 14 | export function nextResearchPanelNavState( | CODE |
| LOW | src/components/graph/graph-view.tsx | 140 | function createGraphNodeHoverRenderer(palette: GraphThemePalette): NodeHoverDrawingFunction { | CODE |
| LOW | src/components/project/create-project-dialog.tsx | 33 | export function getCreateProjectFormStatus( | CODE |
| LOW | src/lib/web-search.ts | 108 | export function hasConfiguredSearchProvider(config: SearchApiConfig): boolean { | CODE |
| LOW | src/lib/web-search.ts | 117 | export function hasConfiguredDeepResearchSources(config: SearchApiConfig): boolean { | CODE |
| LOW | src/lib/graph-visibility.ts | 8 | export function shouldHideEdgeByNodeTypes( | CODE |
| LOW | src/lib/claude-cli-transport.ts | 31 | export function createClaudeCodeStreamParser() { | CODE |
| LOW | src/lib/ingest-sanitize.ts | 58 | export function sanitizeIngestedFileContent(content: string): string { | CODE |
| LOW | src/lib/ingest-sanitize.ts | 108 | function stripFrontmatterKeyPrefix(content: string): string { | CODE |
| LOW | src/lib/ingest-sanitize.ts | 114 | function addMissingOpeningFrontmatterFence(content: string): string { | CODE |
| LOW | src/lib/ingest-sanitize.ts | 143 | function repairWikilinkListsInFrontmatter(content: string): string { | CODE |
| LOW | src/lib/detect-language.ts | 53 | function detectArabicScriptLanguage(text: string): "Arabic" | "Persian" { | CODE |
| LOW | src/lib/selection-edit.ts | 6 | export function normalizeSelectionReplacement(content: string): string { | CODE |
| LOW | src/lib/selection-edit.ts | 17 | export function normalizeEditableMarkdown(content: string): string { | CODE |
| LOW | src/lib/file-types.ts | 156 | export function isExtractedTextPreviewFile(filePath: string): boolean { | CODE |
| LOW | src/lib/embedding.test.ts | 82 | async function fetchEmbeddingViaMockHttp( | CODE |
| LOW | src/lib/embedding.test.ts | 170 | function isGoogleEmbeddingConfigForTest(config: { endpoint: string }): boolean { | CODE |
| LOW⚡ | src/lib/embedding.test.ts | 189 | function isVolcengineEndpointForTest(endpoint: string): boolean { | CODE |
| LOW⚡ | src/lib/embedding.test.ts | 198 | function volcengineEndpointForTest(config: { endpoint: string; model: string }): string { | CODE |
| LOW⚡ | src/lib/embedding.test.ts | 204 | function appendEndpointPathForTest(endpoint: string, suffix: string): string { | CODE |
| LOW | src/lib/graph-insights.ts | 31 | export function findSurprisingConnections( | CODE |
| LOW | src/lib/review-create-page.ts | 34 | function extractMissingPageCandidates(text: string): string[] { | CODE |
| LOW | src/lib/project-file-sync.ts | 130 | function scheduleRefreshAfterFileChanges(tasks: FileChangeTask[]): void { | CODE |
| LOW | src/lib/project-file-sync.ts | 188 | async function migrateUnchangedSourceMoves( | CODE |
| LOW | src/lib/project-file-sync.ts | 316 | function isRawSourcePathForCascade(relativePath: string): boolean { | CODE |
| LOW | src/lib/reasoning-detector.ts | 42 | export function countReasoningCharsInLine(rawLine: string): number { | CODE |
| LOW | src/lib/reasoning-detector.ts | 50 | export function extractReasoningTextFromLine(rawLine: string): string[] { | CODE |
| LOW | src/lib/mineru.ts | 276 | function convertHtmlTablesInSegment(segment: string): string { | CODE |
| LOW | src/lib/mineru.ts | 308 | function convertHtmlTablesToMarkdown(markdown: string): string { | CODE |
| LOW | src/lib/mineru.ts | 330 | function rewriteMineruMarkdownImages(markdown: string, pathMap: Map<string, string>): string { | CODE |
| LOW | src/lib/mineru.ts | 572 | async function downloadAndExtractMarkdown( | CODE |
| LOW | src/lib/source-identity.ts | 39 | export function sourceSummarySlugFromIdentity(sourceIdentity: string): string { | CODE |
| LOW | src/lib/source-identity.ts | 65 | export function legacySourceSummarySlugFromIdentity(sourceIdentity: string): string { | CODE |
| LOW | src/lib/source-identity.ts | 84 | export function sourceSummarySlugCandidatesFromIdentity(sourceIdentity: string): string[] { | CODE |
| LOW | src/lib/source-identity.ts | 91 | function previousReadableSourceSummarySlugFromIdentity(sourceIdentity: string): string { | CODE |
| LOW | src/lib/llm-providers.ts | 121 | export function isLocalOrPrivateHttpEndpoint(endpoint: string): boolean { | CODE |
| LOW | src/lib/llm-providers.ts | 272 | function stripWireAgnosticOverrides(overrides?: RequestOverrides): Omit<RequestOverrides, "reasoning"> { | CODE |
| LOW | src/lib/llm-providers.ts | 285 | function supportsDeepSeekThinkingParam(config: LlmConfig): boolean { | CODE |
| LOW | src/lib/llm-providers.ts | 316 | function isOpenAiStrictCompletionModel(config: LlmConfig): boolean { | CODE |
| LOW | src/lib/llm-providers.ts | 330 | function adaptOpenAiStrictCompletionBody(config: LlmConfig, body: Record<string, unknown>): void { | CODE |
| LOW | src/lib/llm-providers.ts | 386 | function buildOpenAiCompatibleBody( | CODE |
| LOW | src/lib/llm-providers.ts | 544 | function buildAnthropicBodyWithReasoning( | CODE |
| LOW | src/lib/llm-providers.ts | 623 | function normalizeMiniMaxAnthropicBase(base: string): string { | CODE |
| LOW | src/lib/llm-providers.ts | 642 | function isOfficialMiniMaxAnthropicUrl(url: string): boolean { | CODE |
| LOW | src/lib/llm-providers.ts | 656 | function assertMiniMaxImageSupport(url: string, model: string, messages: ChatMessage[]): void { | CODE |
| 87 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/build.yml | 61 | if: startsWith(matrix.platform, 'ubuntu-22.04') | COMMENT |
| LOW | src-tauri/Cargo.toml | 41 | arrow-schema = "57" | COMMENT |
| LOW | src-tauri/src/proxy.rs | 1 | //! Global outbound HTTP proxy plumbing. | COMMENT |
| LOW | src-tauri/src/proxy.rs | 21 | "localhost,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,*.local"; | COMMENT |
| LOW | src-tauri/src/proxy.rs | 61 | serde_json::from_value(proxy.clone()).ok() | COMMENT |
| LOW | src-tauri/src/proxy.rs | 161 | mod tests { | COMMENT |
| LOW | src-tauri/src/lib.rs | 561 | // Ark's api/coding/v3, etc.) still work. Requests leave the app | COMMENT |
| LOW | src-tauri/src/agent/runtime.rs | 81 | // only when the user explicitly asks to update/overwrite an existing page; | COMMENT |
| LOW | src-tauri/src/agent/types.rs | 101 | #[serde(default)] | COMMENT |
| LOW | src-tauri/src/agent/types.rs | 181 | #[serde(default, skip_serializing_if = "Option::is_none")] | COMMENT |
| LOW | src-tauri/src/commands/extract_images.rs | 1 | //! Image extraction from PDF / PPTX / DOCX (Phase 1 of the multimodal | COMMENT |
| LOW | src-tauri/src/commands/extract_images.rs | 41 | /// (each image base64'd is ~MB-scale) AND blow up downstream VLM | COMMENT |
| LOW | src-tauri/src/commands/extract_images.rs | 81 | pub index: u32, | COMMENT |
| LOW | src-tauri/src/commands/extract_images.rs | 181 | /// Combined PDF text + image extraction in a single pdfium session. | COMMENT |
| LOW | src-tauri/src/commands/extract_images.rs | 681 | // ── Extract-and-save: write to disk, skip the base64 round-trip ──────── | COMMENT |
| LOW | src-tauri/src/commands/vectorstore.rs | 341 | .map_err(|e| format!("Count error: {e}"))?; | COMMENT |
| LOW | src-tauri/src/commands/vectorstore.rs | 361 | // chunk_text Utf8 raw chunk content (for UI re-ranking + showing | COMMENT |
| LOW | src-tauri/src/commands/vectorstore.rs | 861 | COMMENT | |
| LOW | src-tauri/src/commands/claude_cli.rs | 1 | //! Claude Code CLI subprocess transport. | COMMENT |
| LOW | src-tauri/src/commands/fs.rs | 181 | /// two threads simultaneously — interleaved calls are UB and have | COMMENT |
| LOW | src-tauri/src/commands/fs.rs | 221 | /// 2. Tauri resource dir (set via setup()) — the authoritative location | COMMENT |
| LOW | src-tauri/src/commands/fs.rs | 1601 | // - test.md (unquoted, missed by Match 1) | COMMENT |
| LOW | src-tauri/src/commands/fs.rs | 1681 | /// without round-tripping them through the JS string-as-UTF8 path | COMMENT |
| LOW | src-tauri/src/commands/fs.rs | 1821 | .unwrap() | COMMENT |
| LOW | src-tauri/src/commands/fs.rs | 2221 | "concepts/rope.md", | COMMENT |
| LOW | src/components/settings/sections/about-section.tsx | 261 | // system browser — `tauri-plugin-opener` is the official way to | COMMENT |
| LOW | src/components/layout/update-banner.tsx | 61 | dismissedVersion: result.remote, | COMMENT |
| LOW | src/components/search/search-view.tsx | 61 | }, | COMMENT |
| LOW | src/lib/ingest-sanitize.ts | 61 | // (1) Strip an outer code fence wrapping the whole document. | COMMENT |
| LOW | src/lib/markdown-image-resolver.ts | 121 | COMMENT | |
| LOW | src/lib/markdown-image-resolver.ts | 141 | // embedded images as `media/<source-slug>/img-N.png` — a path | COMMENT |
| LOW | src/lib/wiki-page-delete.test.ts | 121 | it("skips removePageEmbedding when slug derivation yields empty (defensive)", async () => { | COMMENT |
| LOW | src/lib/wiki-page-delete.ts | 81 | // embedding cascade) so a failure in either of those — already | COMMENT |
| LOW | src/lib/frontmatter.ts | 21 | // step before falling back to the locator below. | COMMENT |
| LOW | src/lib/embedding.real-llm.test.ts | 221 | "fetchEmbedding returned null on oversize input but error isn't the oversize-specific message — looksLikeOversiz | COMMENT |
| LOW | src/lib/embedding.real-llm.test.ts | 381 | } | COMMENT |
| LOW | src/lib/ingest.ts | 721 | console.log(`[ingest:diag] cache-hit branch: starting image extraction for ${sp}`) | COMMENT |
| LOW | src/lib/ingest.ts | 801 | // `wiki/media/<source-slug>/`. We DON'T inject the markdown | COMMENT |
| LOW | src/lib/ingest.ts | 841 | // Why this matters: an empty-alt image gets paraphrased away by | COMMENT |
| LOW | src/lib/ingest.ts | 861 | // `## Embedded Images` section to wiki/sources/<slug>.md | COMMENT |
| LOW | src/lib/ingest.ts | 1901 | // wouldn't make semantic sense (they aren't source-derived | COMMENT |
| LOW | src/lib/__tests__/llm-providers.test.ts | 421 | }) as Record<string, unknown> | COMMENT |
| LOW | src/lib/__tests__/llm-providers.test.ts | 441 | // "error sending request" (reqwest network error). Diagnosis: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/components/sources/sources-view.tsx | 187 | // Step 8: Refresh everything (UI side — must run with parent | COMMENT |
| LOW⚡ | src/lib/sources-merge.test.ts | 289 | // Step 2: ingest test2.md, which also covers attention. LLM emits | COMMENT |
| LOW⚡ | src/lib/sources-merge.test.ts | 298 | // Step 3: user later deletes test2.md. sources-view's deletion | COMMENT |
| LOW | src/lib/mineru.ts | 407 | // Step 1: Get upload URL | COMMENT |
| LOW | src/lib/mineru.ts | 427 | // Step 2: Upload file binary (convert base64 back to binary) | COMMENT |
| LOW | src/lib/deep-research.ts | 194 | // Step 1: gather research sources — use multiple queries if available, | COMMENT |
| LOW | src/lib/deep-research.ts | 220 | // Step 2: LLM synthesis | COMMENT |
| LOW | src/lib/deep-research.ts | 289 | // Step 3: Save to wiki | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/components/sources/sources-view.tsx | 187 | // Step 8: Refresh everything (UI side — must run with parent | COMMENT |
| LOW⚡ | src/lib/sources-merge.test.ts | 289 | // Step 2: ingest test2.md, which also covers attention. LLM emits | COMMENT |
| LOW⚡ | src/lib/sources-merge.test.ts | 298 | // Step 3: user later deletes test2.md. sources-view's deletion | COMMENT |
| LOW | src/lib/mineru.ts | 407 | // Step 1: Get upload URL | COMMENT |
| LOW | src/lib/mineru.ts | 427 | // Step 2: Upload file binary (convert base64 back to binary) | COMMENT |
| LOW | src/lib/deep-research.ts | 194 | // Step 1: gather research sources — use multiple queries if available, | COMMENT |
| LOW | src/lib/deep-research.ts | 220 | // Step 2: LLM synthesis | COMMENT |
| LOW | src/lib/deep-research.ts | 289 | // Step 3: Save to wiki | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | plans/multimodal-images.md | 240 | ### Phase 4: Settings toggle + cost guardrails | COMMENT |
| MEDIUM | src/components/settings/llm-presets.ts | 273 | // NVIDIA's own reasoning / agentic models | COMMENT |
| MEDIUM | src/components/settings/llm-presets.ts | 281 | // Popular third-party agentic / open-weight | COMMENT |
| MEDIUM | src/lib/lint.test.ts | 180 | makeFileNode("rag.md", "# RAG\nRetrieval augmented generation uses vector search."), | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src-tauri/src/agent/runtime.rs | 3152 | .get("placeholder") | CODE |
| LOW | src-tauri/src/agent/runtime.rs | 4810 | {"type":"text","id":"watermark","label":"Watermark","placeholder":"Optional"}, | CODE |
| LOW | src/i18n/zh.json | 41 | "placeholder": "解释、改写、缩短……", | CODE |
| LOW | src/i18n/zh.json | 194 | "placeholder": "向你的 Wiki 提问...", | CODE |
| LOW | src/i18n/zh.json | 280 | "placeholder": "搜索 Wiki 页面...", | CODE |
| LOW | src/i18n/en.json | 41 | "placeholder": "Explain, rewrite, shorten...", | CODE |
| LOW | src/i18n/en.json | 194 | "placeholder": "Ask about your wiki...", | CODE |
| LOW | src/i18n/en.json | 280 | "placeholder": "Search wiki pages...", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | package-lock.json | 9307 | "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz", | CODE |
| MEDIUM | src/components/layout/update-banner.tsx | 40 | // robust to (a) a newer release shipping between notification | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/lib/dedup.test.ts | 88 | 'Sure, here are the duplicates I found:\n\n{"groups": [{"slugs": ["foo","bar"], "reason": "synonyms", "confidence" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/debug_ollama_tokens.py | 55 | except Exception as e: # noqa: BLE001 — we want every failure mode visible | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/debug_ollama_tokens.py | 31 | CODE |