AI Slop Code RIsk Monitor

refactoringhq/tolaria

Desktop app to manage markdown knowledge bases

5.4 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for refactoringhq/tolaria, a TypeScript project with 20,034 GitHub stars. SynthScan examined 439,677 lines of code across 2208 source files, recording 2107 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 5.4 (Moderate 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.

5.4
Adjusted Signal
5.4
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
20.0K
Stars
TypeScript
Language
439.7K
Lines of Code
2.2K
Files
2.1K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 22.0/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.7/100 · LOW

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

Agent Over-Engineering Ratio 22.8/100 · LOW

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

PR Review Velocity Impact 22.5/100 · LOW

Which changes need focused human review? 2107 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 5HIGH 1MEDIUM 43LOW 2058

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 2107 distinct pattern matches across 10 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 Identifiers2032 hits · 2163 pts
SeverityFileLineSnippetContext
LOWvite.config.ts65function collectWikiLinksFromValue(value: unknown, depth: number): string[] {CODE
LOWvite.config.ts355function isScalarFrontmatterProperty(value: unknown): value is number | boolean {CODE
LOWvite.config.ts557function commandVaultRenameFilename({ args }: VaultCommandContext): VaultCommandResponse {CODE
LOWvite.config.ts649function collectLegacyWikilinkTargets({ oldPath, oldTitle, vaultPath }: LegacyWikilinkTargetInput): string[] {CODE
LOWvite.config.ts655function updateWikilinksForTargets({ excludePath, newTarget, oldTargets, vaultPath }: WikilinkTargetUpdateInput): numberCODE
LOWvite.config.ts711function collectVaultSearchResults({ excludeFrontmatter, vaultPath, query }: SearchRequestInput): VaultSearchResult[] {CODE
LOW⚡vite.config.ts795function validateMarkdownFilenameStem(value: unknown): FilenameStemValidation {CODE
LOW⚡vite.config.ts802function isUnsafeMarkdownFilenameStem(stem: string): boolean {CODE
LOW⚡vite.config.ts811async function handleVaultRenameFilename(url: URL, req: IncomingMessage, res: ServerResponse): Promise<boolean> {CODE
LOWmcp-server/vault-path.js96function existingOrPreferredAppConfigPath(configDirs, fileName) {CODE
LOWmcp-server/test.js767function assertToolsUseReadOnlyAnnotations(toolsByName, names) {CODE
LOWmcp-server/test.js773function assertToolsUseWritableAnnotations(toolsByName, names) {CODE
LOWmcp-server/test.js787function assertWritableContentToolSchema(toolsByName, name) {CODE
LOWmcp-server/test.js803async function assertRejectsOutsideVault(prefix, resolveNotePath) {CODE
LOWmcp-server/test.js827async function assertWriteRejectsOutsideVault(prefix, writeOutsideNote) {CODE
LOWmcp-server/vault-lifecycle.js120async function assertCloneDestinationAvailable(destinationPath) {CODE
LOWmcp-server/agent-instructions.js18export async function vaultContextWithInstructions(vaultPath) {CODE
LOWmcp-server/tool-service.js249function fallbackCreateNoteContent(args = {}) {CODE
LOWmcp-server/vault.js247async function ensureWritableParentInsideVault(vaultRoot, requestedPath) {CODE
LOWmcp-server/vault.js274function relativeNotePathInsideVault(vaultRoot, requestedPath) {CODE
LOWmcp-server/vault.js349function shouldUseFallbackFrontmatter(parsed, fallback) {CODE
LOWmcp-server/vault.js539async function assertNoteMatchesExpectedMtime(noteRealPath, expectedMtime) {CODE
LOWtests/smoke/tldraw-whiteboard-notes.spec.ts35async function installTauriContextMenuHarness(page: Page): Promise<void> {CODE
LOWtests/smoke/tldraw-whiteboard-notes.spec.ts78async function expectNoEditorNodeSelection(page: Page): Promise<void> {CODE
LOWtests/smoke/note-width-modes.spec.ts27async function expectWideModeHasUnboundedWidth(page: Page) {CODE
LOWtests/smoke/fenced-code-copy.spec.ts62async function expectRichCodeBlockButtonCopy(page: Page, blockIndex: number, expectedText: string) {CODE
LOWtests/smoke/missing-string-metadata-open-note.spec.ts11function isMissingStringMetadataCrash(message: string): boolean {CODE
LOWtests/smoke/missing-string-metadata-open-note.spec.ts19function collectMissingMetadataCrashes(page: Page): string[] {CODE
LOWtests/smoke/missing-string-metadata-open-note.spec.ts32function removeAlphaProjectStringMetadata(entries: Array<Record<string, unknown>>) {CODE
LOWtests/smoke/missing-string-metadata-open-note.spec.ts50function appendMalformedReloadEntry(entries: Array<Record<string, unknown>>) {CODE
LOW⚡tests/smoke/missing-string-metadata-open-note.spec.ts73async function reloadVaultFromCommandPalette(page: Page): Promise<void> {CODE
LOW⚡tests/smoke/missing-string-metadata-open-note.spec.ts83async function expectAlphaProjectHeading(page: Page): Promise<void> {CODE
LOW⚡tests/smoke/missing-string-metadata-open-note.spec.ts87async function switchFromNoteBBackToAlpha(page: Page, noteList: Locator): Promise<void> {CODE
LOWtests/smoke/create-empty-vault-flows.spec.ts42async function expectFreshVaultSeedEntries(page: Page) {CODE
LOWtests/smoke/create-empty-vault-flows.spec.ts85 function buildFreshVaultSeedEntries(vaultPath: string): MockEntry[] {CODE
LOWtests/smoke/plain-filename-autolink.spec.ts60async function appendPlainFilenameParagraph(page: Page, value: string) {CODE
LOWtests/smoke/blocknote-slash-menu-mouse.spec.ts32async function openFilteredSlashMenuOnNewLine(page: Page) {CODE
LOWtests/smoke/blocknote-slash-menu-mouse.spec.ts41async function openEmojiShortcodeMenuOnNewLine(page: Page, query: string) {CODE
LOWtests/smoke/table-hover-crash.spec.ts91function writeTableWikilinkAliasNotes(vaultDir: string): void {CODE
LOWtests/smoke/new-note-first-property.spec.ts11async function holdCompletedAutoRenameResponse(page: Page): Promise<void> {CODE
LOWtests/smoke/new-note-first-property.spec.ts32async function waitForCompletedAutoRename(page: Page): Promise<void> {CODE
LOWtests/smoke/new-note-first-property.spec.ts36async function releaseCompletedAutoRenameResponse(page: Page): Promise<void> {CODE
LOW⚡tests/smoke/sidebar-type-picker-sync.spec.ts13function seedJournalInstanceWithoutType(vaultPath: string): void {CODE
LOW⚡tests/smoke/sidebar-type-picker-sync.spec.ts23async function openSidebarVisibilityPopover(page: Page): Promise<void> {CODE
LOW⚡tests/smoke/sidebar-type-picker-sync.spec.ts31async function closeSidebarVisibilityPopover(page: Page): Promise<void> {CODE
LOWtests/smoke/create-open-relationship-note.spec.ts22async function openFirstRelationshipInput(page: import('@playwright/test').Page) {CODE
LOWtests/smoke/create-note-backing-file.spec.ts87async function installCreateNoteBackingFileProbe(page: Page): Promise<void> {CODE
LOWtests/smoke/list-marker-paste-regression.spec.ts45async function expectPastedFreshListItem(page: Page, options: {CODE
LOWtests/smoke/multi-selection-shortcuts.spec.ts36function frontmatterDelimiterLineCount(content: string): number {CODE
LOWtests/smoke/wikilink-cmd-click-history.spec.ts33function trackStaleLinkClickErrors(page: Page): string[] {CODE
LOWtests/smoke/wikilink-cmd-click-history.spec.ts122async function dispatchModifiedLinkActivation(link: Locator): Promise<void> {CODE
LOWtests/smoke/wikilink-cmd-click-history.spec.ts157async function typeWikilinkQueryInNewParagraph(page: Page, target: string): Promise<Locator> {CODE
LOWtests/smoke/wikilink-cmd-click-history.spec.ts165async function createFromWikilinkAutocomplete(CODE
LOWtests/smoke/vault-loading-skeleton.spec.ts101async function expectUnifiedShellWhileVaultLoads(page: Page): Promise<void> {CODE
LOWtests/smoke/new-note-title-caret-click.spec.ts45async function editorHasContentEditableFocus(page: Page): Promise<boolean> {CODE
LOWtests/smoke/raw-editor-type-propagation.spec.ts3async function openFirstNoteWithProperties(page: Page) {CODE
LOWtests/smoke/gitignored-visibility.spec.ts24async function installGitignoredVisibilityHarness(page: Page): Promise<void> {CODE
LOWtests/smoke/gitignored-visibility.spec.ts73async function reloadVaultFromCommandPalette(page: Page): Promise<void> {CODE
LOW⚡tests/smoke/add-remote-from-no-remote.spec.ts78async function expectAddRemoteModalAndClose(page: Page): Promise<void> {CODE
LOW⚡tests/smoke/add-remote-from-no-remote.spec.ts85async function openAddRemoteFromStatusChip(page: Page): Promise<void> {CODE
1972 more matches not shown…
Decorative Section Separators39 hits · 117 pts
SeverityFileLineSnippetContext
MEDIUMscripts/generate_demo_vault.py33# ── Quarter / month mappings ─────────────────────────────────────COMMENT
MEDIUMscripts/generate_demo_vault.py71# ── Helpers ──────────────────────────────────────────────────────COMMENT
MEDIUMscripts/generate_demo_vault.py113# ── AREAS ────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/generate_demo_vault.py126# ── RESPONSIBILITIES ─────────────────────────────────────────────COMMENT
MEDIUMscripts/generate_demo_vault.py172# ── MEASURES ─────────────────────────────────────────────────────COMMENT
MEDIUMscripts/generate_demo_vault.py193# ── TOPICS ───────────────────────────────────────────────────────COMMENT
MEDIUMscripts/generate_demo_vault.py223# ── PERSONS ──────────────────────────────────────────────────────COMMENT
MEDIUMscripts/generate_demo_vault.py392# ── PROJECTS ─────────────────────────────────────────────────────COMMENT
MEDIUMscripts/generate_demo_vault.py437# ── EXPERIMENTS ───────────────────────────────────────────────────COMMENT
MEDIUMscripts/generate_demo_vault.py447# ── GOALS ─────────────────────────────────────────────────────────COMMENT
MEDIUMscripts/generate_demo_vault.py461# ── EVERGREEN TOPICS AND BODIES ───────────────────────────────────COMMENT
MEDIUMscripts/generate_demo_vault.py517# ── READING NOTES ─────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml18 # ─────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml21 # ─────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml49 # -------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release.yml51 # -------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release.yml62 # ─────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml65 # ─────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml266 # ─────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release.yml268 # ─────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release-stable.yml14 # ─────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release-stable.yml16 # ─────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release-stable.yml41 # -------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-stable.yml43 # -------------------------------------------------------------COMMENT
MEDIUM.github/workflows/release-stable.yml54 # ─────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release-stable.yml56 # ─────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release-stable.yml267 # ─────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/release-stable.yml269 # ─────────────────────────────────────────────────────────────COMMENT
MEDIUM.github/workflows/ci.yml51 # ── 0. Build check (catches type errors and bundler failures) ─────────COMMENT
MEDIUM.github/workflows/ci.yml118 # ── 2. Documentation check (warning only — does not fail build) ───────COMMENT
MEDIUM.github/workflows/ci.yml136 # ── 3. Lint & format ──────────────────────────────────────────────────COMMENT
MEDIUMsrc-tauri/src/commands/ai.rs116// ── Claude CLI commands (desktop) ───────────────────────────────────────────COMMENT
MEDIUMsrc-tauri/src/commands/ai.rs264// ── Claude CLI (mobile stubs) ───────────────────────────────────────────────COMMENT
MEDIUMsrc-tauri/src/commands/system.rs106// ── MCP commands (desktop) ──────────────────────────────────────────────────COMMENT
MEDIUMsrc-tauri/src/commands/system.rs176// ── MCP commands (mobile stubs) ─────────────────────────────────────────────COMMENT
MEDIUMsrc-tauri/src/commands/system.rs217// ── Menu commands ───────────────────────────────────────────────────────────COMMENT
MEDIUMsrc-tauri/src/commands/system.rs383// ── Settings & config commands ──────────────────────────────────────────────COMMENT
MEDIUMsrc-tauri/src/commands/git.rs32// ── Git commands (desktop) ──────────────────────────────────────────────────COMMENT
MEDIUMsrc-tauri/src/commands/git.rs340// ── Git commands (mobile stubs) ─────────────────────────────────────────────COMMENT
Hallucination Indicators5 hits · 50 pts
SeverityFileLineSnippetContext
CRITICALsrc-tauri/gen/apple/assets/mcp-server/index.js17094 const parsedReturns = await me._def.returns._def.type.parseAsync(result, params).catch((e) => {CODE
CRITICALsrc/components/arrowLigaturesExtension.test.ts94 fixture.view.state.doc.textBetween.mockReturnValue('-')CODE
CRITICALsrc/components/arrowLigaturesExtension.test.ts108 fixture.view.state.doc.textBetween.mockReturnValueOnce('\\<')CODE
CRITICALsrc/components/arrowLigaturesExtension.test.ts111 fixture.view.state.doc.textBetween.mockReturnValueOnce('<-')CODE
CRITICALsrc/components/arrowLigaturesExtension.test.ts133 fixture.view.state.doc.textBetween.mockReturnValue('-')CODE
Fake / Example Data12 hits · 12 pts
SeverityFileLineSnippetContext
LOWsrc-tauri/src/git/mod_tests.rs71 .args(["config", "user.email", "test@test.com"])CODE
LOWsrc-tauri/src/git/dates.rs192 .args(["config", "user.email", "test@test.com"])CODE
LOWsrc-tauri/src/git/dates.rs260 .args(["config", "user.email", "test@test.com"])CODE
LOWsrc-tauri/src/vault/rename.rs716 run_git(vault, &["config", "user.email", "test@test.com"]);CODE
LOWsrc-tauri/src/vault/frontmatter_regression_tests.rs35 Some("Acme Corp")CODE
LOWsrc-tauri/src/vault/cache_tests/support.rs32 .args(["config", "user.email", "test@test.com"])CODE
LOWsrc/mock-tauri/mock-entries.ts268 properties: { Company: 'Acme Corp', Role: 'Engineering Lead' },CODE
LOWsrc/components/FilterBuilder.test.tsx40 expect(screen.getByTestId('filter-value-input')).toHaveAttribute('placeholder', 'value')CODE
LOWsrc/components/FeedbackDialog.test.tsx198 opener.setAttribute('placeholder', 'Type a command...')CODE
LOWsrc/components/InspectorPanels.test.tsx95 entry: { path: '/vault/people/john-doe.md', filename: 'john-doe.md', title: 'John Doe', isA: 'Person' as const },CODE
LOWsrc/hooks/useNoteCreation.extra.test.ts272 const { entry } = resolveNewNote({ title: 'John Doe', type: 'Person', vaultPath: '/my/vault' })CODE
LOWsrc/lib/feedbackDialogOpener.ts16 && element.getAttribute('placeholder') === 'Type a command...'CODE
Modern AI Meta-Vocabulary4 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUMdocs/GETTING-STARTED.md171│ │ ├── Editor.tsx # Third panel: editor orchestrationCODE
MEDIUMdocs/GETTING-STARTED.md178│ │ ├── AiWorkspace.tsx # Multi-chat AI workspace orchestration (docked or native window)CODE
MEDIUMdocs/GETTING-STARTED.md285│ │ │ └── getting_started.rs # Getting Started vault clone orchestrationCODE
MEDIUMscripts/generate_demo_vault.py522 ("note-building-a-second-brain","Building a Second Brain","Tiago Forte","topic-productivity-systems","https://examplCODE
Over-Commented Block9 hits · 8 pts
SeverityFileLineSnippetContext
LOWsrc-tauri/gen/apple/assets/mcp-server/index.js16281 });COMMENT
LOWsrc-tauri/gen/apple/assets/mcp-server/index.js16321 }),COMMENT
LOWsrc-tauri/gen/apple/assets/mcp-server/index.js16341 // : never;COMMENT
LOWsrc-tauri/gen/apple/assets/mcp-server/index.js16361 setKey(key, schema) {COMMENT
LOWsrc-tauri/src/ai_agents.rs141/// Probe every supported AI-agent CLI in parallel.COMMENT
LOWsrc-tauri/src/vault/mod_tests.rs41COMMENT
LOWsrc-tauri/src/vault/mod.rs521COMMENT
LOWsrc-tauri/src/vault/entry.rs41 /// Accent color key for Type entries: "red", "purple", "blue", "green", "yellow", "orange".COMMENT
LOWsrc-tauri/src/vault/entry.rs61 pub display: Option<String>,COMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHVERITY.md3> This project uses [Verity](https://verity.md) to enforce quality and security standards on AI-generated code.CODE
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOW.claude/commands/create-adr.md90### Step 1: Mark the old ADR as supersededCOMMENT
LOW.claude/commands/create-adr.md107### Step 2: Create the new ADRCOMMENT
LOW.claude/commands/create-adr.md119### Step 3: Update the README indexCOMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWsrc-tauri/gen/apple/assets/mcp-server/index.js2782 function getData($data, { dataLevel, dataNames, dataPathArr }) {CODE
Deep Nesting1 hit · 0 pts
SeverityFileLineSnippetContext
LOWscripts/generate_demo_vault.py85CODE