THE Copilot in Obsidian
This report presents the forensic synthetic code analysis of logancyang/obsidian-copilot, a TypeScript project with 7,409 GitHub stars. SynthScan v2.0 examined 170,208 lines of code across 585 source files, recording 290 pattern matches distributed across 13 syntactic categories. The overall adjusted score of 2.8 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 290 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | designdocs/todo/AGENT_REASONING_BLOCK.md | 112 | export function createInitialReasoningState(): AgentReasoningState { | CODE |
| LOW | designdocs/todo/AGENT_REASONING_BLOCK.md | 427 | function parseAgentReasoningMarker(content: string): { | CODE |
| LOW | src/aiParams.ts | 196 | export function subscribeToModelKeyChange(callback: () => void): () => void { | CODE |
| LOW | src/aiParams.ts | 214 | export function subscribeToChainTypeChange(callback: () => void): () => void { | CODE |
| LOW | src/aiParams.ts | 262 | export function removeSelectedTextContext(id: string) { | CODE |
| LOW | src/aiParams.ts | 267 | export function clearSelectedTextContexts() { | CODE |
| LOW | src/aiParams.ts | 280 | export function setProjectContextLoadState(state: ProjectContextLoadState) { | CODE |
| LOW | src/aiParams.ts | 323 | export function updateIndexingProgressState(partial: Partial<IndexingProgressState>) { | CODE |
| LOW | src/aiParams.ts | 342 | export function resetIndexingProgressState() { | CODE |
| LOW | src/aiParams.ts | 367 | export function throttledUpdateIndexingCount(indexedCount: number): void { | CODE |
| LOW | src/utils.ts | 308 | export function stringToFormattedDateTime(timestamp: string): FormattedDateTime { | CODE |
| LOW | src/utils.ts | 344 | export function isAllowedFileForNoteContext(file: TFile | null): boolean { | CODE |
| LOW | src/utils.ts | 367 | export function isAllowedFileForChainContext(file: TFile | null, chainType: ChainType): boolean { | CODE |
| LOW | src/utils.ts | 437 | function resolveNoteFilesFromTitles(noteTitles: string[], vault: Vault): TFile[] { | CODE |
| LOW | src/utils.ts | 528 | export function processVariableNameForNotePath(variableName: string): string { | CODE |
| LOW | src/utils.ts | 539 | export function extractUniqueTitlesFromDocs(docs: Document[]): string[] { | CODE |
| LOW | src/utils.ts | 789 | function createReadableStreamFromString(input: string) { | CODE |
| LOW | src/utils.ts | 1051 | export function shouldUseGitHubCopilotResponsesApi( | CODE |
| LOW | src/plusUtils.ts | 282 | export async function refreshSelfHostModeValidation(): Promise<void> { | CODE |
| LOW | src/settings/model.ts | 329 | export function subscribeToSettingsChange( | CODE |
| LOW | src/settings/model.ts | 656 | function mergeAllActiveModelsWithCoreModels(settings: CopilotSettings): CopilotSettings { | CODE |
| LOW | src/settings/model.ts | 721 | function filterUnsupportedEmbeddingModels(models: CustomModel[]): CustomModel[] { | CODE |
| LOW | src/settings/v2/components/ModelImporter.tsx | 38 | function renderVerificationMessage(message: string): React.ReactNode { | CODE |
| LOW | src/tools/ToolResultFormatter.ts | 7 | export function deriveReadNoteDisplayName(rawNotePath: string): string { | CODE |
| LOW | src/tools/NoteTools.ts | 269 | function extractLinkedNoteMetadata(content: string, sourceFile: TFile): LinkedNoteMetadata[] { | CODE |
| LOW | src/tools/TimeTools.ts | 527 | async function convertTimeBetweenTimezones( | CODE |
| LOW | src/LLMProviders/brevilabsClient.ts | 17 | async function buildMultipartFromFormData( | CODE |
| LOW | src/LLMProviders/BedrockChatModel.ts | 54 | function rewriteBedrockErrorMessage(status: number, body: string, streaming = false): string { | CODE |
| LOW | …Providers/githubCopilot/GitHubCopilotResponsesModel.ts | 24 | export function buildGitHubCopilotAuthedFetch( | CODE |
| LOW | src/LLMProviders/chainRunner/README.md | 506 | async function executeSequentialToolCall( | CODE |
| LOW | …c/LLMProviders/chainRunner/utils/toolPromptDebugger.ts | 77 | function formatPromptSectionsWithAnnotations(sections: PromptSection[]): string { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/imageExtraction.ts | 13 | export function extractMarkdownImagePaths(markdown: string): string[] { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/imageExtraction.ts | 91 | function stripOptionalTitleFromEnd(value: string): string { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/imageExtraction.ts | 167 | function findClosingParenIndexForImage(source: string, openParenIndex: number): number | null { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/imageExtraction.ts | 251 | function findMatchingUnescapedQuoteFromEnd( | CODE |
| LOW | src/LLMProviders/chainRunner/utils/imageExtraction.ts | 267 | function findMatchingOpeningParenForEnd(source: string): number | null { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/toolCallParser.ts | 64 | function buildOmittedResultMessage(toolName: string): string { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/searchResultUtils.ts | 101 | export function formatSearchResultsForLLM(searchResults: unknown): string { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/searchResultUtils.ts | 161 | export function formatSearchResultStringForLLM(resultString: string): string { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/searchResultUtils.ts | 180 | export function extractSourcesFromSearchResults( | CODE |
| LOW | src/LLMProviders/chainRunner/utils/searchResultUtils.ts | 312 | export function formatSplitSearchResultsForLLM( | CODE |
| LOW | src/LLMProviders/chainRunner/utils/searchResultUtils.ts | 424 | export function formatMetadataOnlyDocuments(docs: unknown, snippetLength = 300): string { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/searchResultUtils.ts | 448 | export function logSearchResultsDebugTable(searchResults: SearchDoc[]): void { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/nativeToolCalling.ts | 141 | export function createAIMessageWithToolCalls( | CODE |
| LOW | …LMProviders/chainRunner/utils/promptPayloadRecorder.ts | 48 | function buildLayeredViewFromMessages( | CODE |
| LOW | …LMProviders/chainRunner/utils/promptPayloadRecorder.ts | 276 | export function clearRecordedPromptPayload(): void { | CODE |
| LOW | …LMProviders/chainRunner/utils/promptPayloadRecorder.ts | 284 | export async function flushRecordedPromptPayloadToLog(): Promise<void> { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/chatHistoryUtils.ts | 115 | export function processedMessagesToTextOnly( | CODE |
| LOW | …c/LLMProviders/chainRunner/utils/promptDebugService.ts | 25 | export async function generatePromptDebugReportForAgent( | CODE |
| LOW | …c/LLMProviders/chainRunner/utils/promptDebugService.ts | 86 | export async function buildAgentPromptDebugReport( | CODE |
| LOW | …/LLMProviders/chainRunner/utils/AgentReasoningState.ts | 39 | export function createInitialReasoningState(): AgentReasoningState { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/citationUtils.ts | 74 | export function getQACitationInstructions( | CODE |
| LOW | src/LLMProviders/chainRunner/utils/citationUtils.ts | 94 | export function getCitationFormatReminder(enableInlineCitations: boolean): string | null { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/citationUtils.ts | 144 | export function sanitizeContentForCitations(text: string | null | undefined): string { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/citationUtils.ts | 186 | export function getWebSearchCitationInstructions(enableInlineCitations: boolean = true): string { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/citationUtils.ts | 368 | function convertFootnoteDefinitions(sourcesBlock: string, map: Map<number, number>): string[] { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/citationUtils.ts | 406 | function consolidateDuplicateSources(items: string[]): { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/citationUtils.ts | 447 | export function updateCitationsForConsolidation( | CODE |
| LOW | src/LLMProviders/chainRunner/utils/citationUtils.ts | 474 | export function deduplicateAdjacentCitations(content: string): string { | CODE |
| LOW | src/LLMProviders/chainRunner/utils/cicPromptUtils.ts | 12 | export function buildLocalSearchInnerContent(introText: string, formattedContent: string): string { | CODE |
| 97 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .claude/agents/prerelease.md | 20 | ### Step 0: Pre-flight Sanity Checks | COMMENT |
| LOW | .claude/agents/prerelease.md | 99 | ### Step 1: Determine Prerelease Identity | COMMENT |
| LOW | .claude/agents/prerelease.md | 110 | ### Step 2: Prepare the Branch | COMMENT |
| LOW | .claude/agents/prerelease.md | 123 | ### Step 3: Bump the Version | COMMENT |
| LOW | .claude/agents/prerelease.md | 147 | ### Step 4: Gather and Understand Merged PRs | COMMENT |
| LOW | .claude/agents/prerelease.md | 158 | ### Step 5: Generate Prerelease Notes | COMMENT |
| LOW | .claude/agents/prerelease.md | 203 | ### Step 6: Update RELEASES.md | COMMENT |
| LOW | .claude/agents/prerelease.md | 209 | ### Step 7: Commit and Create PR | COMMENT |
| LOW | .claude/agents/prerelease.md | 238 | ### Step 8: Report Back | COMMENT |
| LOW | .claude/agents/release.md | 22 | ### Step 0: Pre-flight Sanity Checks | COMMENT |
| LOW | .claude/agents/release.md | 94 | ### Step 1: Determine Release Type | COMMENT |
| LOW | .claude/agents/release.md | 102 | ### Step 2: Prepare the Branch | COMMENT |
| LOW | .claude/agents/release.md | 115 | ### Step 3: Bump the Version | COMMENT |
| LOW | .claude/agents/release.md | 123 | ### Step 4: Gather and Understand Merged PRs | COMMENT |
| LOW | .claude/agents/release.md | 159 | ### Step 5: Generate Release Notes | COMMENT |
| LOW | .claude/agents/release.md | 195 | ### Step 6: Update RELEASES.md | COMMENT |
| LOW | .claude/agents/release.md | 199 | ### Step 7: Commit and Create PR | COMMENT |
| LOW | .claude/agents/release.md | 226 | ### Step 8: Report Back | COMMENT |
| LOW | docs/getting-started.md | 32 | ### Step 1: Open Plugin Settings | COMMENT |
| LOW | docs/getting-started.md | 36 | ### Step 2: Add an API Key | COMMENT |
| LOW | docs/getting-started.md | 49 | ### Step 3: Choose a Default Model | COMMENT |
| LOW | docs/getting-started.md | 53 | ### Step 4: Choose a Chat Mode | COMMENT |
| LOW | src/core/MessageLifecycle.test.ts | 24 | // Step 1: User types a message and attaches a note | COMMENT |
| LOW | src/core/MessageLifecycle.test.ts | 39 | // Step 2: Message is stored with basic display text | COMMENT |
| LOW | src/core/MessageLifecycle.test.ts | 62 | // Step 3: Context Manager processes the note and updates processed text | COMMENT |
| LOW | src/core/MessageLifecycle.test.ts | 92 | // Step 4: Verify different views for UI vs LLM | COMMENT |
| LOW | src/core/MessageLifecycle.test.ts | 110 | // Step 5: AI responds based on the context | COMMENT |
| LOW | src/core/MessageLifecycle.test.ts | 131 | // Step 6: Verify complete conversation | COMMENT |
| LOW | src/core/MessageLifecycle.test.ts | 152 | // Step 7: Verify what LLM history contains (for chat memory) | COMMENT |
| LOW⚡ | src/LLMProviders/chainRunner/VaultQAChainRunner.ts | 74 | // Step 1: Extract L5 (raw user query) from envelope | COMMENT |
| LOW⚡ | src/LLMProviders/chainRunner/VaultQAChainRunner.ts | 79 | // Step 2: Extract tags from raw query (BEFORE condensing!) | COMMENT |
| LOW⚡ | src/LLMProviders/chainRunner/VaultQAChainRunner.ts | 83 | // Step 3: Get chat history from memory (L4) | COMMENT |
| LOW⚡ | src/LLMProviders/chainRunner/VaultQAChainRunner.ts | 88 | // Step 4: Condense L4 + L5 into standalone question for RAG retrieval | COMMENT |
| LOW⚡ | src/LLMProviders/chainRunner/VaultQAChainRunner.ts | 97 | // Step 5: Create retriever based on semantic search setting | COMMENT |
| LOW | src/LLMProviders/chainRunner/VaultQAChainRunner.ts | 151 | // Step 6: Build messages array with envelope-aware logic | COMMENT |
| LOW⚡ | src/system-prompts/migration.ts | 173 | // Step 1: Create the file | COMMENT |
| LOW⚡ | src/system-prompts/migration.ts | 176 | // Step 2: Add frontmatter | COMMENT |
| LOW⚡ | src/system-prompts/migration.ts | 184 | // Step 3: Write-then-verify - read back and confirm content matches | COMMENT |
| LOW⚡ | src/components/chat-components/ChatControls.tsx | 166 | // Step 1: Completely clear all cached data for this project (in-memory and on-disk) | COMMENT |
| LOW⚡ | src/components/chat-components/ChatControls.tsx | 173 | // Step 2: Trigger a full reload from scratch. | COMMENT |
| LOW⚡ | src/services/settingsPersistence.test.ts | 818 | // Step 1: force the double-failure so the lock arms. | COMMENT |
| LOW⚡ | src/services/settingsPersistence.test.ts | 827 | // Step 2: the user fixes whatever was wrong and edits any setting → | COMMENT |
| LOW⚡ | src/services/settingsPersistence.test.ts | 835 | // Step 3: the lock must be lifted so the next migration attempt can run. | COMMENT |
| LOW | src/services/settingsPersistence.ts | 768 | // Step 3: reconcile with any concurrent settings edits that landed | COMMENT |
| LOW | …c/services/webViewerService/webViewerServiceActions.ts | 298 | // Step 1: Extract video metadata from JSON-LD (structured data) | COMMENT |
| LOW | …c/services/webViewerService/webViewerServiceActions.ts | 368 | // Step 2: Fallback to DOM selectors for missing metadata | COMMENT |
| LOW | …c/services/webViewerService/webViewerServiceActions.ts | 384 | // Step 3: Find or open the transcript panel | COMMENT |
| LOW | …c/services/webViewerService/webViewerServiceActions.ts | 448 | // Step 4: Extract transcript segments from the panel | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/core/MessageLifecycle.test.ts | 24 | // Step 1: User types a message and attaches a note | COMMENT |
| LOW | src/core/MessageLifecycle.test.ts | 39 | // Step 2: Message is stored with basic display text | COMMENT |
| LOW | src/core/MessageLifecycle.test.ts | 62 | // Step 3: Context Manager processes the note and updates processed text | COMMENT |
| LOW | src/core/MessageLifecycle.test.ts | 92 | // Step 4: Verify different views for UI vs LLM | COMMENT |
| LOW | src/core/MessageLifecycle.test.ts | 110 | // Step 5: AI responds based on the context | COMMENT |
| LOW | src/core/MessageLifecycle.test.ts | 131 | // Step 6: Verify complete conversation | COMMENT |
| LOW | src/core/MessageLifecycle.test.ts | 152 | // Step 7: Verify what LLM history contains (for chat memory) | COMMENT |
| LOW⚡ | src/LLMProviders/chainRunner/VaultQAChainRunner.ts | 74 | // Step 1: Extract L5 (raw user query) from envelope | COMMENT |
| LOW⚡ | src/LLMProviders/chainRunner/VaultQAChainRunner.ts | 79 | // Step 2: Extract tags from raw query (BEFORE condensing!) | COMMENT |
| LOW⚡ | src/LLMProviders/chainRunner/VaultQAChainRunner.ts | 83 | // Step 3: Get chat history from memory (L4) | COMMENT |
| LOW⚡ | src/LLMProviders/chainRunner/VaultQAChainRunner.ts | 88 | // Step 4: Condense L4 + L5 into standalone question for RAG retrieval | COMMENT |
| LOW⚡ | src/LLMProviders/chainRunner/VaultQAChainRunner.ts | 97 | // Step 5: Create retriever based on semantic search setting | COMMENT |
| LOW | src/LLMProviders/chainRunner/VaultQAChainRunner.ts | 151 | // Step 6: Build messages array with envelope-aware logic | COMMENT |
| LOW⚡ | src/system-prompts/migration.ts | 173 | // Step 1: Create the file | COMMENT |
| LOW⚡ | src/system-prompts/migration.ts | 176 | // Step 2: Add frontmatter | COMMENT |
| LOW⚡ | src/system-prompts/migration.ts | 184 | // Step 3: Write-then-verify - read back and confirm content matches | COMMENT |
| LOW⚡ | src/components/chat-components/ChatControls.tsx | 166 | // Step 1: Completely clear all cached data for this project (in-memory and on-disk) | COMMENT |
| LOW⚡ | src/components/chat-components/ChatControls.tsx | 173 | // Step 2: Trigger a full reload from scratch. | COMMENT |
| LOW⚡ | src/services/settingsPersistence.test.ts | 818 | // Step 1: force the double-failure so the lock arms. | COMMENT |
| LOW⚡ | src/services/settingsPersistence.test.ts | 827 | // Step 2: the user fixes whatever was wrong and edits any setting → | COMMENT |
| LOW⚡ | src/services/settingsPersistence.test.ts | 835 | // Step 3: the lock must be lifted so the next migration attempt can run. | COMMENT |
| LOW | src/services/settingsPersistence.ts | 768 | // Step 3: reconcile with any concurrent settings edits that landed | COMMENT |
| LOW | …c/services/webViewerService/webViewerServiceActions.ts | 298 | // Step 1: Extract video metadata from JSON-LD (structured data) | COMMENT |
| LOW | …c/services/webViewerService/webViewerServiceActions.ts | 368 | // Step 2: Fallback to DOM selectors for missing metadata | COMMENT |
| LOW | …c/services/webViewerService/webViewerServiceActions.ts | 384 | // Step 3: Find or open the transcript panel | COMMENT |
| LOW | …c/services/webViewerService/webViewerServiceActions.ts | 448 | // Step 4: Extract transcript segments from the panel | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | src/utils/curlCommand.ts | 93 | return { apiKey: "<YOUR_API_KEY>", warnings }; | CODE |
| HIGH⚡ | src/utils/curlCommand.ts | 93 | return { apiKey: "<YOUR_API_KEY>", warnings }; | CODE |
| HIGH⚡ | src/utils/curlCommand.ts | 100 | return { apiKey: "<YOUR_API_KEY>", warnings }; | CODE |
| HIGH⚡ | src/utils/curlCommand.ts | 100 | return { apiKey: "<YOUR_API_KEY>", warnings }; | CODE |
| HIGH⚡ | src/utils/curlCommand.ts | 105 | return { apiKey: "<YOUR_API_KEY>", warnings }; | CODE |
| HIGH⚡ | src/utils/curlCommand.ts | 105 | return { apiKey: "<YOUR_API_KEY>", warnings }; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | .github/workflows/release.yml | 60 | # ── Step 2: Checkout the merge commit on master ───────────────────────── | COMMENT |
| MEDIUM⚡ | .github/workflows/release.yml | 118 | # ── Step 4: Set up Node.js ─────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | .github/workflows/release.yml | 126 | # ── Step 5: Install dependencies ──────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | .github/workflows/release.yml | 131 | # ── Step 6: Build the plugin ───────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | .github/workflows/release.yml | 136 | # ── Step 7: Write PR body to a file (avoids shell injection) ───────────── | COMMENT |
| MEDIUM⚡ | .github/workflows/release.yml | 146 | # ── Step 8: Check if release already exists (idempotency guard) ───────── | COMMENT |
| MEDIUM | .github/workflows/release.yml | 160 | # ── Step 9: Prepare release-asset manifest ────────────────────────────── | COMMENT |
| MEDIUM | .github/workflows/release.yml | 174 | # ── Step 10: Generate build provenance attestation ────────────────────── | COMMENT |
| MEDIUM | .github/workflows/release.yml | 192 | # ── Step 11: Create GitHub Release ─────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | RELEASES.md | 782 | - #1809 Show embedding model @logancyang | CODE |
| MEDIUM | RELEASES.md | 1086 | - #1405 Encrypt embedding model api keys @logancyang | CODE |
| MEDIUM | RELEASES.md | 1139 | - #1266 Add support for rendering `<think>` sections and fix RAG with reasoning models @logancyang | CODE |
| MEDIUM | RELEASES.md | 1245 | - #1107 Add copilot-plus-large embedding model @logancyang | CODE |
| MEDIUM | RELEASES.md | 1333 | - #1001 Add copilot plus multilingual embedding model @logancyang | CODE |
| MEDIUM | RELEASES.md | 1371 | - #969 Enable batch embedding and add experimental `copilot-plus-small` embedding model for Plus users @logancyang | CODE |
| MEDIUM | local_copilot.md | 34 | #### Important note about setting context window | COMMENT |
| MEDIUM | designdocs/OBSIDIAN_CLI_INTEGRATION.md | 203 | ### Phase 0: Design + scaffolding (done) | COMMENT |
| MEDIUM | src/search/v3/README.md | 80 | ### 3. Merge and dedup at orchestration layer | COMMENT |
| MEDIUM | src/search/v3/README.md | 90 | ### 4. How they reach final RAG context | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/logFileManager.ts | 52 | // Error handling: include stack traces by default as requested, collapsed to one line | COMMENT |
| HIGH | src/search/indexBackend/OramaIndexBackend.ts | 40 | * @returns True because Orama depends on embeddings generated by Copilot. | COMMENT |
| HIGH | src/styles/tailwind.css | 3 | This file is generated by Copilot plugin. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/release.yml | 61 | - name: Checkout | COMMENT |
| LOW | .github/workflows/release.yml | 161 | # For a prerelease, the manifest.json asset uploaded to the GitHub | COMMENT |
| LOW | src/plusUtils.ts | 21 | export const DEFAULT_COPILOT_PLUS_EMBEDDING_MODEL_KEY = | COMMENT |
| LOW | src/settings/v2/components/AdvancedSettings.tsx | 61 | const keychainAvailable = KeychainService.getInstance().isAvailable(); | COMMENT |
| LOW | src/settings/v2/components/AdvancedSettings.tsx | 221 | } | COMMENT |
| LOW | src/LLMProviders/chainRunner/README.md | 481 | COMMENT | |
| LOW | src/commands/customCommandUtils.ts | 201 | // Containing {selected_text} means the prompt was using the custom prompt | COMMENT |
| LOW | src/services/settingsPersistence.test.ts | 781 | // Migration's first save IS durable; memory must match so the next save | COMMENT |
| LOW | src/services/settingsPersistence.ts | 321 | // regardless of any downstream cleanup that happens to `settings`. | COMMENT |
| LOW | src/services/settingsPersistence.ts | 361 | COMMENT | |
| LOW | src/services/settingsPersistence.ts | 381 | // `{ ...getSettings(), ...loadedSparse }` and | COMMENT |
| LOW | src/services/settingsPersistence.ts | 501 | // import, external setSettings, cross-version sync) that could smuggle a | COMMENT |
| LOW | src/services/settingsPersistence.ts | 741 | // Step 1+2: persist secrets to keychain and stripped data.json. | COMMENT |
| LOW | src/services/settingsPersistence.ts | 761 | // the data.json copy that already exists. A migration-specific rollback | COMMENT |
| LOW | src/services/settingsPersistence.ts | 781 | // persist once more with `target` as the baseline so keychain + disk | COMMENT |
| LOW | src/services/settingsPersistence.ts | 921 | // junk into the keychain during a compound failure. Considered and | COMMENT |
| LOW | …c/services/webViewerService/webViewerServiceActions.ts | 381 | } | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/context/L2ContextCompactor.test.ts | 509 | print("Hello, World!") | CODE |
| HIGH⚡ | src/search/v3/chunks.test.ts | 88 | "# Code Examples\n\n```javascript\nfunction example() {\n const x = 'This code block should not be split' | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | src/components/CopilotView.tsx | 127 | this.containerEl.doc.documentElement.style.getPropertyValue("--keyboard-height") || "0" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/LLMProviders/chainRunner/CopilotPlusChainRunner.ts | 428 | // Process standard markdown images using robust character-scanning parser | COMMENT |
| MEDIUM | …LLMProviders/chainRunner/utils/imageExtraction.test.ts | 47 | // Process standard markdown images using robust character-scanning parser | COMMENT |
| MEDIUM | src/LLMProviders/chainRunner/utils/citationUtils.ts | 167 | // More robust detection: look for ANY line starting with [^digits]: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/settings/v2/components/ModelAddDialog.tsx | 313 | const hasRealKey = !result.warnings.some((w) => w.includes("placeholder")); | CODE |
| LOW | src/settings/v2/components/ModelAddDialog.tsx | 315 | const otherWarnings = result.warnings.filter((w) => !w.includes("placeholder")); | CODE |
| LOW⚡ | src/search/v3/chunks.test.ts | 86 | "# Large Document\n\nThis is a very long document that will need chunking.\n\n## Chapter 1: Introduction\n | CODE |
| LOW⚡ | src/search/v3/chunks.test.ts | 86 | "# Large Document\n\nThis is a very long document that will need chunking.\n\n## Chapter 1: Introduction\n | CODE |
| LOW | src/search/v3/chunks.test.ts | 146 | frontmatter: { title: "Test Document", author: "John Doe", tags: ["test", "chunk"] }, | CODE |
| LOW | src/search/v3/engines/FullTextEngine.test.ts | 270 | author: "John Doe", | CODE |
| LOW | src/search/v3/engines/FullTextEngine.test.ts | 840 | const results = engine.search(["John Doe"], 10, [], "John Doe"); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/components/modals/CustomPatternInputModal.tsx | 15 | // TODO: Add validation | COMMENT |