AI Slop Code RIsk Monitor

charmbracelet/lipgloss

Style definitions for nice terminal layouts 👄

7.2 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for charmbracelet/lipgloss, a Go project with 11,914 GitHub stars. SynthScan examined 17,563 lines of code across 98 source files, recording 88 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 7.2 (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.

7.2
Adjusted Signal
7.2
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
11.9K
Stars
Go
Language
17.6K
Lines of Code
98
Files
88
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 17.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 4.0/100 · LOW

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

Agent Over-Engineering Ratio 12.0/100 · LOW

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

PR Review Velocity Impact 26.9/100 · MEDIUM

Which changes need focused human review? 88 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 11LOW 77

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 88 distinct pattern matches across 4 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.

Over-Commented Block59 hits · 58 pts
SeverityFileLineSnippetContext
LOWquery.go61 if bg, err = backgroundColor(f, f); err == nil {COMMENT
LOWcolor.go41)COMMENT
LOWcolor.go161type ANSIColor = ansi.IndexedColorCOMMENT
LOWcolor.go181// myHotColor := lightDark(red, blue)COMMENT
LOWcolor.go201// hasDarkBG := lipgloss.HasDarkBackground(os.Stdin, os.Stdout)COMMENT
LOWcolor.go241// complete := lipgloss.Complete(p)COMMENT
LOWjoin.go1package lipglossCOMMENT
LOWjoin.go101// the right.COMMENT
LOWwriter.go21// str := NewStyle().COMMENT
LOWwriter.go41 return fmt.Fprintf(Writer, format, v...) //nolint:wrapcheckCOMMENT
LOWwriter.go61//COMMENT
LOWwriter.go81func Fprintln(w io.Writer, v ...any) (int, error) {COMMENT
LOWwriter.go141// Sprintf returns a formatted string for stdout, automatically downsamplingCOMMENT
LOWset.go321// AlignVertical sets a vertical text alignment rule.COMMENT
LOWset.go401// Margin is a shorthand method for setting margins on all sides at once.COMMENT
LOWset.go461// rendering blocks with a specific character, such as a space or a dot.COMMENT
LOWset.go501 s.set(borderTopKey, top)COMMENT
LOWset.go601 s.set(borderBottomForegroundKey, c)COMMENT
LOWset.go641COMMENT
LOWset.go661// background colors of the borders at once. The arguments work as follows:COMMENT
LOWset.go721// only to font rendering and don't want it to change any physical dimensions.COMMENT
LOWset.go741//COMMENT
LOWset.go801// Transform applies a given function to a string at render time, allowing forCOMMENT
LOWblending.go81 }COMMENT
LOWblending.go101// Background(gradient[index]).COMMENT
LOWtree/example_test.go141 // ├── BarCOMMENT
LOWtree/tree.go1// Package tree allows you to build trees, as simple or complicated as you need.COMMENT
LOWtree/tree.go241// EnumeratorStyleFunc sets the enumeration style function. Use this functionCOMMENT
LOWtree/tree.go261// Use IndenterStyleFunc to conditionally set styles based on the tree node.COMMENT
LOWtree/tree.go301// ItemStyleFunc sets the item style function. Use this for conditional styling.COMMENT
LOWtree/tree.go321// for a classic or rounded tree. For example, you can have a rounded tree:COMMENT
LOWtree/tree.go341//COMMENT
LOWtree/enumerator.go1package treeCOMMENT
LOWtree/enumerator.go41}COMMENT
LOWtree/enumerator.go61// ├── FooCOMMENT
LOWcompat/doc.go1// Package compat is a compatibility layer for Lip Gloss that provides a way toCOMMENT
LOWtable/table_test.go1481 StyleFunc(TableStyle).COMMENT
LOWtable/table_test.go1501 // │ amet, │ び理別よン國 │ والكوري │ 名見壌府。博 │ 회의 │COMMENT
LOWtable/table_test.go1521 // │ inciderint │ 容ひるべ。際 │ عرض. ونتج │ 激伝阜中野品 │ │COMMENT
LOWtable/table_test.go1541 // │ │ ご出来ぼぎむ │ │ │ │COMMENT
LOWtable/resizing.go21// to the total width.COMMENT
LOWtable/table.go21//COMMENT
LOWexamples/compat/standalone/main.go61 // isn't a TTY (i.e. we're logging to a file) colors will be strippedCOMMENT
LOWexamples/color/standalone/main.go61COMMENT
LOWlist/list.go1// Package list allows you to build lists, as simple or complicated as you need.COMMENT
LOWlist/list.go21//COMMENT
LOWlist/list.go41// "C",COMMENT
LOWlist/list.go61//COMMENT
LOWlist/list.go121//COMMENT
LOWlist/list.go161// Use this to conditionally set different styles based on the current items,COMMENT
LOWlist/list.go181// the tree is indented. The default indentor places a border connecting siblingCOMMENT
LOWlist/list.go221// Use this to conditionally set different styles based on the current items,COMMENT
LOWlist/list.go261 for _, item := range items {COMMENT
LOWlist/list.go281//COMMENT
LOWlist/enumerator.go1package listCOMMENT
LOWlist/enumerator.go21// - BulletCOMMENT
LOWlist/enumerator.go61const abcLen = 26COMMENT
LOWlist/enumerator.go101// • BarCOMMENT
LOWlist/enumerator.go121// Example:COMMENT
Decorative Section Separators11 hits · 45 pts
SeverityFileLineSnippetContext
MEDIUMset.go648// ┌──────────┐COMMENT
MEDIUMset.go653// └──────────┘COMMENT
MEDIUM⚡table/table_test.go1491 // ┌──────────────┬───────────────┬───────────────┬───────────────┬───────────────┐COMMENT
MEDIUM⚡table/table_test.go1493 // ├──────────────┼───────────────┼───────────────┼───────────────┼───────────────┤COMMENT
MEDIUM⚡table/table_test.go1495 // └──────────────┴───────────────┴───────────────┴───────────────┴───────────────┘COMMENT
MEDIUM⚡table/table_test.go1496 // ┌──────────────┬───────────────┬───────────────┬───────────────┬───────────────┐COMMENT
MEDIUM⚡table/table_test.go1498 // ├──────────────┼───────────────┼───────────────┼───────────────┼───────────────┤COMMENT
MEDIUMtable/table_test.go1555 // └──────────────┴───────────────┴───────────────┴───────────────┴───────────────┘COMMENT
MEDIUM⚡table/resizing.go32// ┌──────┬───────────────┬──────────┐COMMENT
MEDIUM⚡table/resizing.go34// ├──────┼───────────────┼──────────┤COMMENT
MEDIUM⚡table/resizing.go38// └──────┴───────────────┴──────────┘COMMENT
Fake / Example Data12 hits · 14 pts
SeverityFileLineSnippetContext
LOW⚡table/table_test.go1494 // │ Lorem ipsum… │ 耐許ヱヨカハ… │ شيء قد للحكو… │ 版応道潟部中… │ 각급 선거관… │COMMENT
LOW⚡table/table_test.go1499 // │ Lorem ipsum │ 耐許ヱヨカハ │ شيء قد │ 版応道潟部中 │ 각급 │COMMENT
LOWtable/table_test.go902 "Lorem ipsum dolor sit amet, regione detracto eos an. Has ei quidam hendrerit intellegebat, id tamquam iudicabit neCODE
LOWtable/table_test.go902 "Lorem ipsum dolor sit amet, regione detracto eos an. Has ei quidam hendrerit intellegebat, id tamquam iudicabit neCODE
LOWtable/table_test.go1021 "Lorem ipsum dolor sit amet, regione detracto eos an. Has ei quidam hendrerit intellegebat, id tamquam iudicabit neCODE
LOWtable/table_test.go1021 "Lorem ipsum dolor sit amet, regione detracto eos an. Has ei quidam hendrerit intellegebat, id tamquam iudicabit neCODE
LOWtable/table_test.go1114 "Lorem ipsum dolor sit amet, regione detracto eos an. Has ei quidam hendrerit intellegebat, id tamquam iudicabit neCODE
LOWtable/table_test.go1114 "Lorem ipsum dolor sit amet, regione detracto eos an. Has ei quidam hendrerit intellegebat, id tamquam iudicabit neCODE
LOWtable/table_test.go1173 "Lorem ipsum dolor sit amet, regione detracto eos an. Has ei quidam hendrerit intellegebat, id tamquam iudicabit neceCODE
LOWtable/table_test.go1173 "Lorem ipsum dolor sit amet, regione detracto eos an. Has ei quidam hendrerit intellegebat, id tamquam iudicabit neceCODE
LOWtable/table_test.go1469 "Lorem ipsum dolor sit amet, regione detracto eos an. Has ei quidam hendrerit intellegebat, id tamquam iudicabit neceCODE
LOWtable/table_test.go1469 "Lorem ipsum dolor sit amet, regione detracto eos an. Has ei quidam hendrerit intellegebat, id tamquam iudicabit neceCODE
Example Usage Blocks6 hits · 9 pts
SeverityFileLineSnippetContext
LOWcolor.go49// Example usage:COMMENT
LOWcolor.go157// Example usage:COMMENT
LOWcolor.go217// Example usage:COMMENT
LOWcolor.go238// Example usage:COMMENT
LOWcolor.go255// Example usage:COMMENT
LOWcompat/color.go23// Example usage:COMMENT