AI Slop Code RIsk Monitor

google-labs-code/design.md

A format specification for describing a visual identity to coding agents. DESIGN.md gives agents a persistent, structured understanding of a design system.

20.0 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for google-labs-code/design.md, a TypeScript project with 28,320 GitHub stars. SynthScan examined 18,613 lines of code across 120 source files, recording 185 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 20.0 (Elevated 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.

20.0
Adjusted Signal
20.0
Raw Pattern Score
100%
Time Factor
2026-10-08
Last Push
28.3K
Stars
TypeScript
Language
18.6K
Lines of Code
120
Files
185
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 24.3/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 0.0/100 · LOW

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

Agent Over-Engineering Ratio 51.5/100 · HIGH

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

PR Review Velocity Impact 61.7/100 · HIGH

Which changes need focused human review? 185 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 0HIGH 0MEDIUM 86LOW 99

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 185 distinct pattern matches across 5 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.

Decorative Section Separators85 hits · 268 pts
SeverityFileLineSnippetContext
MEDIUMpackages/cli/scripts/check-package.ts31// ── Helpers ────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/scripts/check-package.ts78// ── Phase 1: Pre-pack validation ───────────────────────────────────COMMENT
MEDIUMpackages/cli/scripts/check-package.ts150// ── Phase 2: Clean build ───────────────────────────────────────────COMMENT
MEDIUMpackages/cli/scripts/check-package.ts185// ── Phase 3: Pack audit ────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/scripts/check-package.ts249// ── Phase 4: Consumer smoke test ───────────────────────────────────COMMENT
MEDIUMpackages/cli/scripts/check-package.ts329// ── Main ───────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/spec-config.test.ts36// ── Loader robustness ─────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/spec-config.test.ts102// ── Lazy loading ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/spec-config.test.ts119// ── Structural invariants ─────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/spec-config.test.ts186// ── Derived constants ─────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/spec-config.test.ts221// ── PRIMITIVE_TYPES ───────────────────────────────────────────────────COMMENT
MEDIUM⚡packages/cli/src/linter/index.test.ts60 // ── State assertions ────────────────────────────────────────────COMMENT
MEDIUM⚡packages/cli/src/linter/index.test.ts67 // ── Lint assertions ─────────────────────────────────────────────COMMENT
MEDIUM⚡packages/cli/src/linter/index.test.ts72 // ── Tailwind assertions ─────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/spec-config.ts33// ── Schema ────────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/spec-config.ts72// ── Load & Validate ──────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/spec-config.ts81// ── Lazy singleton ───────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/spec-config.ts97// ── Interfaces ───────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/spec-config.ts137// ── Constant exports ─────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/spec-config.ts175// ── Derived constants ─────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/spec-config.ts198// ── Aggregate type ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/index.ts15// ── Primary API ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/index.ts20// ── Result types ───────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/index.ts35// ── Advanced linting ───────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/dtcg/spec.ts39// ── DTCG Token & Group Structures ─────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/dtcg/spec.ts58// ── Result ─────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/dtcg/spec.ts76// ── Interface ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/css-vars/spec.ts25// ── Result ─────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/css-vars/spec.ts45// ── Interface ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/linter/spec.ts21// ── LINT RESULT ────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/linter/spec.ts31// ── GRADED TOKEN EDITS ─────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/linter/spec.ts48// ── INTERFACE ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/linter/handler.test.ts39 // ── Cycle 15: E3 — Broken reference emits error ──────────────────COMMENT
MEDIUMpackages/cli/src/linter/linter/handler.test.ts56 // ── Cycle 16: E4 — Circular reference emits error ────────────────COMMENT
MEDIUMpackages/cli/src/linter/linter/handler.test.ts76 // ── Cycle 17: W1 — Missing primary emits warning ─────────────────COMMENT
MEDIUMpackages/cli/src/linter/linter/handler.test.ts97 // ── Cycle 18: W2 — Low contrast ratio emits warning ──────────────COMMENT
MEDIUMpackages/cli/src/linter/linter/handler.test.ts140 // ── Cycle 19: I1 — Token count summary emits info ────────────────COMMENT
MEDIUMpackages/cli/src/linter/linter/handler.test.ts157 // ── Cycle 20: Clean document produces zero errors ─────────────────COMMENT
MEDIUMpackages/cli/src/linter/linter/handler.test.ts180 // ── Cycle 21: preEvaluate graded menu ─────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/linter/handler.test.ts207 // ── Summary counts ───────────────────────────────────────────────COMMENT
MEDIUM⚡packages/cli/src/linter/parser/spec.ts17// ── INPUT ──────────────────────────────────────────────────────────COMMENT
MEDIUM⚡packages/cli/src/linter/parser/spec.ts24// ── ERROR CODES ────────────────────────────────────────────────────COMMENT
MEDIUM⚡packages/cli/src/linter/parser/spec.ts33// ── OUTPUT ──────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/parser/spec.ts80// ── RESULT ─────────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/parser/spec.ts92// ── INTERFACE ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/parser/handler.test.ts21 // ── Cycle 2: Frontmatter extraction ───────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/parser/handler.test.ts41 // ── Cycle 3: Code block extraction ────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/parser/handler.test.ts78 // ── Cycle 4: Merge multiple code blocks ───────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/parser/handler.test.ts106 // ── Cycle 5: Duplicate section detection ──────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/parser/handler.test.ts129 // ── Cycle 6: Malformed YAML ───────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/tailwind/spec.ts19// ── TAILWIND CONFIG SCHEMA ──────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/tailwind/spec.ts52// ── INTERFACE ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/tailwind/handler.test.ts34 // ── Cycle 22: Colors map to theme.extend.colors ─────────────────COMMENT
MEDIUMpackages/cli/src/linter/tailwind/handler.test.ts48 // ── Cycle 23: Typography maps to fontFamily + fontSize ──────────COMMENT
MEDIUMpackages/cli/src/linter/tailwind/handler.test.ts85 // ── Cycle 24: Rounded + spacing map correctly ───────────────────COMMENT
MEDIUMpackages/cli/src/linter/tailwind/handler.test.ts105 // ── Empty state produces empty config ─────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/tailwind/v4/spec.ts18// ── TAILWIND v4 THEME DATA SCHEMA ────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/tailwind/v4/spec.ts52// ── INTERFACE ──────────────────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/model/spec.ts34// ── RESOLVED VALUE TYPES ───────────────────────────────────────────COMMENT
MEDIUMpackages/cli/src/linter/model/spec.ts67// ── Re-exported from spec-config (single source of truth) ─────────COMMENT
25 more matches not shown…
Over-Commented Block95 hits · 95 pts
SeverityFileLineSnippetContext
LOWexamples/paws-and-paths/tailwind.config.js1// Copyright 2026 Google LLCCOMMENT
LOWexamples/atmospheric-glass/tailwind.config.js1// Copyright 2026 Google LLCCOMMENT
LOWexamples/totality-festival/tailwind.config.js1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/scripts/check-package.ts1#!/usr/bin/env bunCOMMENT
LOWpackages/cli/src/utils.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/utils.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/version.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/index.ts1#!/usr/bin/env nodeCOMMENT
LOWpackages/cli/src/version.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/spec-config.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/lint.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/index.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/fixture.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/spec-config.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/index.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/spec-config.yaml1# Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/dtcg/conformance.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/dtcg/spec.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/dtcg/handler.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/dtcg/handler.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/fixer/spec.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/fixer/handler.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/fixer/handler.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/css-vars/spec.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/css-vars/handler.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/css-vars/handler.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/css-vars/serialize.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/spec.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/runner.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/handler.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/handler.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/runner.ts1// Copyright 2026 Google LLCCOMMENT
LOW…ages/cli/src/linter/linter/rules/token-like-ignored.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/rules/orphaned-tokens.ts1// Copyright 2026 Google LLCCOMMENT
LOW…ges/cli/src/linter/linter/rules/contrast-ratio.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/rules/test-helpers.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/rules/types.test.ts1// Copyright 2026 Google LLCCOMMENT
LOW…ckages/cli/src/linter/linter/rules/missing-sections.ts1// Copyright 2026 Google LLCCOMMENT
LOW…es/cli/src/linter/linter/rules/missing-primary.test.ts1// Copyright 2026 Google LLCCOMMENT
LOW…ckages/cli/src/linter/linter/rules/levenshtein.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/rules/levenshtein.ts1// Copyright 2026 Google LLCCOMMENT
LOW…cli/src/linter/linter/rules/missing-typography.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/rules/omitted.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/rules/missing-primary.ts1// Copyright 2026 Google LLCCOMMENT
LOW…s/cli/src/linter/linter/rules/missing-sections.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/rules/types.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/rules/broken-ref.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/rules/section-order.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/rules/unknown-key.ts1// Copyright 2026 Google LLCCOMMENT
LOW…ages/cli/src/linter/linter/rules/token-summary.test.ts1// Copyright 2026 Google LLCCOMMENT
LOW…es/cli/src/linter/linter/rules/orphaned-tokens.test.ts1// Copyright 2026 Google LLCCOMMENT
LOW…ckages/cli/src/linter/linter/rules/unknown-key.test.ts1// Copyright 2026 Google LLCCOMMENT
LOW…cli/src/linter/linter/rules/token-like-ignored.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/rules/token-summary.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/rules/index.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/rules/contrast-ratio.ts1// Copyright 2026 Google LLCCOMMENT
LOW…ages/cli/src/linter/linter/rules/section-order.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/rules/broken-ref.test.ts1// Copyright 2026 Google LLCCOMMENT
LOWpackages/cli/src/linter/linter/rules/omitted.test.ts1// Copyright 2026 Google LLCCOMMENT
LOW…ages/cli/src/linter/linter/rules/missing-typography.ts1// Copyright 2026 Google LLCCOMMENT
35 more matches not shown…
Structural Annotation Overuse3 hits · 4 pts
SeverityFileLineSnippetContext
LOW.agents/skills/typed-service-contracts/SKILL.md37### Step 1: Define the Contract (`spec.ts`)COMMENT
LOW.agents/skills/typed-service-contracts/SKILL.md90### Step 2: Implement the Handler (`handler.ts`)COMMENT
LOW.agents/skills/typed-service-contracts/SKILL.md136### Step 3: Testing StrategyCOMMENT
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMpackages/cli/src/linter/spec-config.yaml16# This file is the single source of truth for the DESIGN.md format specification.COMMENT
Hyper-Verbose Identifiers1 hit · 1 pts
SeverityFileLineSnippetContext
LOWpackages/cli/src/linter/lint.ts117function extractSectionsFromContent(content: string): Array<{ heading: string; content: string }> {CODE