AI Slop Code Risk Monitor

logancyang/obsidian-copilot

SlopCodeMonitor badge for logancyang/obsidian-copilot Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

Run agents in Obsidian - OpenCode, Codex, Claude Code etc.

1.6 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for logancyang/obsidian-copilot, a TypeScript project with 7,919 GitHub stars. SynthScan examined 326,065 lines of code across 1701 source files, recording 400 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 1.6 (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.

1.6
Adjusted Signal
1.6
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
7.9K
Stars
TypeScript
Language
326.1K
Lines of Code
1.7K
Files
400
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 6.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 1.0/100 · LOW

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

Agent Over-Engineering Ratio 5.8/100 · LOW

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

PR Review Velocity Impact 7.5/100 · LOW

Which changes need focused human review? 400 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 6HIGH 1MEDIUM 25LOW 368

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 400 distinct pattern matches across 11 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 Identifiers331 hits · 345 pts
SeverityFileLineSnippetContext
LOWscripts/bundleSizeGuard.js67function dedupeEsbuildLegalComments(source) {CODE
LOWdev/gallery/audit.ts217function hasVisibleUnsupportedColor(value: string): boolean {CODE
LOWdev/gallery/audit.ts222export function resolveObsidianColorTokens(doc: Document): ReadonlySet<string> {CODE
LOWdev/gallery/main.test.ts215 function installImperativeRenderSimulation(retainedClosedStoryId?: string): jest.Mock {CODE
LOWsrc/aiParams.ts104export function subscribeToModelKeyChange(callback: () => void): () => void {CODE
LOWsrc/aiParams.ts118export function subscribeToChainTypeChange(callback: () => void): () => void {CODE
LOWsrc/utils.ts172export function getPropertyValuesFromNote(app: App, file: TFile, key: string): string[] {CODE
LOWsrc/utils.ts272export function isAllowedFileForNoteContext(file: TFile | null): boolean {CODE
LOWsrc/utils.ts303function resolveNoteFilesFromTitles(noteTitles: string[], vault: Vault): TFile[] {CODE
LOWsrc/utils.ts359export function processVariableNameForNotePath(variableName: string): string {CODE
LOWsrc/utils.ts547function createReadableStreamFromString(input: string) {CODE
LOWsrc/plusUtils.ts95function subscribeToVerifiedEntitlement(listener: () => void): () => void {CODE
LOWsrc/plusUtils.ts139export async function ensureMultiAgentEntitlement(app?: App): Promise<boolean> {CODE
LOWsrc/plusUtils.ts149export function showMultiAgentUpgradePrompt(): void {CODE
LOWsrc/plusUtils.ts255function waitForLicensedChatModelId(): Promise<string | undefined> {CODE
LOWsrc/plusUtils.ts306export function markPaidPendingEntitlement(): void {CODE
LOWsrc/plusUtils.test.ts185 function settingsWithFlashConfigured(): CopilotSettings {CODE
LOWsrc/instructions/agentsFile.test.ts14function setCaseInsensitiveFilesystem(value: boolean) {CODE
LOWsrc/instructions/agentsFile.ts20export async function agentsFileIsUninitialized(app: App, folderPath: string): Promise<boolean> {CODE
LOWsrc/instructions/agentsFile.ts47export async function removeGeneratedInstructionFiles(app: App, folderPath: string): Promise<void> {CODE
LOWsrc/instructions/agentsFile.ts117export async function ensureAgentsFileForDiscovery(app: App, folderPath: string): Promise<void> {CODE
LOWsrc/instructions/agentsFile.ts140export function findCachedInstructionFile(app: App, filePath: string): TFile | null {CODE
LOWsrc/instructions/agentsFile.ts168async function convertLegacyGeneratedFile(CODE
LOWsrc/settings/revealCopilotFolder.ts16export async function revealHiddenCopilotFolder(CODE
LOWsrc/settings/deviceProfiles.ts68function stripDeviceFieldsFromBackends(backends: Backends | undefined): Backends {CODE
LOWsrc/settings/model.ts349function preserveProvidersWithCredentials(CODE
LOWsrc/settings/model.ts358function preserveConfiguredModelsForProviders(CODE
LOWsrc/settings/model.ts421export function subscribeToSettingsChange(CODE
LOWsrc/settings/model.ts846export function sanitizeBuiltinPreferences(raw: unknown): BuiltinPreferences {CODE
LOWsrc/settings/model.ts1031function sanitizeClaudeAutoModePermission(raw: unknown): ClaudeAutoModePermission | undefined {CODE
LOWsrc/settings/model.ts1038function sanitizeClaudeBackendSettings(raw: unknown): ClaudeBackendSettings {CODE
LOWsrc/settings/model.ts1050function sanitizeCodexBackendSettings(raw: unknown): CodexBackendSettings {CODE
LOWsrc/settings/model.ts1071function sanitizeOpencodeBackendSettings(raw: unknown): OpencodeBackendSettings {CODE
LOWsrc/settings/model.ts1094function sanitizeDeviceAgentProfile(raw: unknown): DeviceAgentProfile | undefined {CODE
LOWsrc/settings/openSettings.test.ts65 function settingsWithCorePluginsTab() {CODE
LOWsrc/settings/upgradeNotice.ts70export function buildUpgradeRelocationEntries(CODE
LOWsrc/settings/skillLoadErrorState.ts6export function publishSkillLoadErrorCount(count: number): void {CODE
LOWsrc/settings/copilotRootChange.ts39export function findCopilotRootFileConflict(app: App, folder: string): string | null {CODE
LOWsrc/settings/openSettings.ts45export function consumeRequestedCopilotSettingsTab(): CopilotSettingsTabId {CODE
LOW⚡src/settings/copilotFolder.ts26export function deriveConversationsFolder(settings: FolderSettings): string {CODE
LOW⚡src/settings/copilotFolder.ts30export function deriveConversationAttachmentsFolder(conversationsFolder: string): string {CODE
LOW⚡src/settings/copilotFolder.ts34export function deriveCustomPromptsFolder(settings: FolderSettings): string {CODE
LOW⚡src/settings/copilotFolder.ts38export function deriveSystemPromptsFolder(settings: FolderSettings): string {CODE
LOW⚡src/settings/copilotFolder.ts54export function getEffectiveCopilotFolder(): string {CODE
LOW⚡src/settings/copilotFolder.ts58export function getEffectiveConversationsFolder(): string {CODE
LOW⚡src/settings/copilotFolder.ts62export function getEffectiveCustomPromptsFolder(): string {CODE
LOW⚡src/settings/copilotFolder.ts66export function getEffectiveSystemPromptsFolder(): string {CODE
LOWsrc/settings/copilotFolder.ts78export function getEffectiveProjectsFolder(): string {CODE
LOWsrc/settings/v2/components/configuredModelGrouping.ts80export function opencodeOnlySubGroupLabel(model: ConfiguredModel, provider: Provider): string {CODE
LOWsrc/settings/v2/components/configuredModelGrouping.ts116function opencodeProviderDestination(providerId: string): Destination {CODE
LOWsrc/tools/ToolResultFormatter.ts1export function deriveReadNoteDisplayName(rawNotePath: string): string {CODE
LOWsrc/tools/NoteTools.ts258function extractLinkedNoteMetadata(CODE
LOWsrc/tools/TimeTools.ts456async function convertTimeBetweenTimezones(CODE
LOWsrc/types/message.ts36export function isNoteSelectedTextContext(CODE
LOWsrc/context/contextUpdatesBlockBuilder.ts7export function buildProjectContextUpdatesBlock(): string {CODE
LOWsrc/context/L2ContextCompactor.ts15function extractSourceFromCommonTags(xmlBlock: string): string {CODE
LOWsrc/LLMProviders/selfHostServices.test.ts57function requestAgentSearchChannel(CODE
LOWsrc/LLMProviders/selfHostServices.ts46export function createSelfHostWebSearchAgentBridge(CODE
LOWsrc/LLMProviders/chainRunner/README.md478async function executeSequentialToolCall(CODE
LOW…c/LLMProviders/chainRunner/utils/toolPromptDebugger.ts59function formatPromptSectionsWithAnnotations(sections: PromptSection[]): string {CODE
271 more matches not shown…
Hallucination Indicators6 hits · 60 pts
SeverityFileLineSnippetContext
CRITICALsrc/agentMode/ui/useRelevantNotesPaneOpen.test.tsx76 expect(fixture.workspace.offref.mock.calls.map(([ref]) => ref.name).sort()).toEqual([CODE
CRITICALsrc/agentMode/skills/SkillManager.test.ts277 const renameHandler = app.vault.on.mock.calls.find(([event]) => event === "rename")?.[1];CODE
CRITICALsrc/agentMode/skills/SkillManager.test.ts769 const call = app.vault.on.mock.calls.find(([e]) => e === event);CODE
CRITICALsrc/components/modals/OpenArtifactsModal.tsx114 await event.currentTarget.win.navigator.clipboard.writeText(receipt.url);CODE
CRITICALsrc/components/modals/OpenArtifactsModal.tsx226 await event.currentTarget.win.navigator.clipboard.writeText(state?.url ?? docUrl ?? "");CODE
CRITICALsrc/services/releaseUpdateNotice.ts26 const fragment = app.workspace.containerEl.doc.win.createFragment();CODE
Decorative Section Separators12 hits · 44 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/release.yml76 # ── Step 2: Checkout the merge commit on master ─────────────────────────COMMENT
MEDIUM⚡.github/workflows/release.yml132 # ── Step 4: Set up Node.js ───────────────────────────────────────────────COMMENT
MEDIUM⚡.github/workflows/release.yml139 # ── Step 5: Install dependencies ────────────────────────────────────────COMMENT
MEDIUM⚡.github/workflows/release.yml146 # ── Step 6: Build the plugin ─────────────────────────────────────────────COMMENT
MEDIUM⚡.github/workflows/release.yml150 # ── Step 7: Write PR body to a file (avoids shell injection) ─────────────COMMENT
MEDIUM⚡.github/workflows/release.yml159 # ── Step 8: Check if release already exists (idempotency guard) ─────────COMMENT
MEDIUM.github/workflows/release.yml172 # ── Step 9: Prepare release-asset manifest ──────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml186 # ── Step 10: Generate build provenance attestation ──────────────────────COMMENT
MEDIUM.github/workflows/release.yml204 # ── Step 11: Create GitHub Release ───────────────────────────────────────COMMENT
MEDIUM.github/workflows/canary.yml46 # ── Step 1: Authorize the commenter and resolve the PR ──────────────────COMMENT
MEDIUM.github/workflows/canary.yml79 # ── Step 2: Checkout the PR head ────────────────────────────────────────COMMENT
MEDIUM.github/workflows/canary.yml135 # ── Step 4: Replace this version's previous canary ──────────────────────COMMENT
Structural Annotation Overuse22 hits · 33 pts
SeverityFileLineSnippetContext
LOW.claude/agents/prerelease.md20### Step 0: Pre-flight Sanity ChecksCOMMENT
LOW.claude/agents/prerelease.md99### Step 1: Determine Prerelease IdentityCOMMENT
LOW.claude/agents/prerelease.md110### Step 2: Prepare the BranchCOMMENT
LOW.claude/agents/prerelease.md123### Step 3: Bump the VersionCOMMENT
LOW.claude/agents/prerelease.md147### Step 4: Gather and Understand Merged PRsCOMMENT
LOW.claude/agents/prerelease.md158### Step 5: Generate Prerelease NotesCOMMENT
LOW.claude/agents/prerelease.md203### Step 6: Update RELEASES.mdCOMMENT
LOW.claude/agents/prerelease.md209### Step 7: Commit and Create PRCOMMENT
LOW.claude/agents/prerelease.md238### Step 8: Report BackCOMMENT
LOW.claude/agents/release.md22### Step 0: Pre-flight Sanity ChecksCOMMENT
LOW.claude/agents/release.md94### Step 1: Determine Release TypeCOMMENT
LOW.claude/agents/release.md102### Step 2: Prepare the BranchCOMMENT
LOW.claude/agents/release.md115### Step 3: Bump the VersionCOMMENT
LOW.claude/agents/release.md123### Step 4: Gather and Understand Merged PRsCOMMENT
LOW.claude/agents/release.md159### Step 5: Generate Release NotesCOMMENT
LOW.claude/agents/release.md195### Step 6: Update RELEASES.mdCOMMENT
LOW.claude/agents/release.md199### Step 7: Commit and Create PRCOMMENT
LOW.claude/agents/release.md226### Step 8: Report BackCOMMENT
LOW…c/services/webViewerService/webViewerServiceActions.ts180 // Step 1: Extract video metadata from JSON-LD (structured data)COMMENT
LOW…c/services/webViewerService/webViewerServiceActions.ts250 // Step 2: Fallback to DOM selectors for missing metadataCOMMENT
LOW…c/services/webViewerService/webViewerServiceActions.ts266 // Step 3: Find or open the transcript panelCOMMENT
LOW…c/services/webViewerService/webViewerServiceActions.ts330 // Step 4: Extract transcript segments from the panelCOMMENT
Modern AI Meta-Vocabulary12 hits · 28 pts
SeverityFileLineSnippetContext
MEDIUMRELEASES.md1570- #1809 Show embedding model @logancyangCODE
MEDIUMRELEASES.md1874- #1405 Encrypt embedding model api keys @logancyangCODE
MEDIUMRELEASES.md1927- #1266 Add support for rendering `<think>` sections and fix RAG with reasoning models @logancyangCODE
MEDIUMRELEASES.md2033- #1107 Add copilot-plus-large embedding model @logancyangCODE
MEDIUMRELEASES.md2121- #1001 Add copilot plus multilingual embedding model @logancyangCODE
MEDIUMRELEASES.md2159- #969 Enable batch embedding and add experimental `copilot-plus-small` embedding model for Plus users @logancyangCODE
MEDIUMlocal_copilot.md34#### Important note about setting context windowCOMMENT
MEDIUMinternal-docs/STYLE_GUIDE.md129## Writing testable code (dependency injection)COMMENT
MEDIUMdocs/context-and-mentions.md60Agent mentions select OpenCode, Claude, or Codex. They are different from note, folder, and web context mentions. See [MCODE
MEDIUMdocs/index.md17- [Ask multiple agents](agent-mode-and-tools.md#multi-agent-answers) to research or review the same question in parallelCODE
MEDIUMsrc/search/v3/README.md76### 3. Merge and dedup at orchestration layerCOMMENT
MEDIUMsrc/search/v3/README.md86### 4. How they reach final RAG contextCOMMENT
Over-Commented Block6 hits · 6 pts
SeverityFileLineSnippetContext
LOWscripts/obsidian-vault.sh1# Sourced by the scripts that deploy into $COPILOT_TEST_VAULT_PATH and reload aCOMMENT
LOWscripts/seed-skills-scenarios.sh1#!/usr/bin/env bashCOMMENT
LOW.github/workflows/canary.yml1# Canary workflow: a maintainer comments `/canary` on an open stable release PRCOMMENT
LOWsrc/settings/model.ts381 }COMMENT
LOWsrc/agentMode/backends/opencode/ui/opencodeVersion.ts1// Before bumping, check that opencodeCopilotPlugin.ts still matches OpenCode'sCOMMENT
LOW…c/services/webViewerService/webViewerServiceActions.ts261 if (!duration) {COMMENT
Verbosity Indicators4 hits · 6 pts
SeverityFileLineSnippetContext
LOW…c/services/webViewerService/webViewerServiceActions.ts180 // Step 1: Extract video metadata from JSON-LD (structured data)COMMENT
LOW…c/services/webViewerService/webViewerServiceActions.ts250 // Step 2: Fallback to DOM selectors for missing metadataCOMMENT
LOW…c/services/webViewerService/webViewerServiceActions.ts266 // Step 3: Find or open the transcript panelCOMMENT
LOW…c/services/webViewerService/webViewerServiceActions.ts330 // Step 4: Extract transcript segments from the panelCOMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHsrc/styles/tailwind.css3 This file is generated by Copilot plugin.CODE
Fake / Example Data3 hits · 3 pts
SeverityFileLineSnippetContext
LOWjest.setup.js61 for (const key of ["title", "value", "type", "placeholder", "href"]) {CODE
LOWsrc/agentMode/session/AgentSessionManager.test.ts4264 sessionId: "placeholder",CODE
LOW…/modelManagement/ui/components/ModelChecklist.test.tsx95 expect(inputs[1].getAttribute("placeholder")).toBe("Search available models…");CODE
Example Usage Blocks2 hits · 3 pts
SeverityFileLineSnippetContext
LOWscripts/test-reset-data.sh7# Usage:COMMENT
LOWscripts/seed-skills-scenarios.sh8# Usage:COMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMscripts/seed-skills-scenarios.sh113# Create a relative symlink from an agent skills folder back to the canonicalCOMMENT