The design language that makes your AI harness better at design.
JavaScript
Re-record eight goldens for main's rule descriptions
Paul Bakaus16d075918233
diff --git a/tests/oracle/golden/detect-design-blue-json.json b/tests/oracle/golden/detect-design-blue-json.jsonindex c833b5c08..1e032d6a6 100644--- a/tests/oracle/golden/detect-design-blue-json.json+++ b/tests/oracle/golden/detect-design-blue-json.json@@ -1,5 +1,5 @@{- "stdout": "[\n {\n \"antipattern\": \"ai-color-palette\",\n \"name\": \"AI color palette\",\n \"description\": \"Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. Choose a distinctive, intentional palette.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<WS>/src/Hero.jsx\",\n \"line\": 3,\n \"snippet\": \"text-purple-700 on heading\"\n },\n {\n \"antipattern\": \"ai-color-palette\",\n \"name\": \"AI color palette\",\n \"description\": \"Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. Choose a distinctive, intentional palette.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<WS>/src/Hero.jsx\",\n \"line\": 2,\n \"snippet\": \"from-violet-600 gradient\"\n },\n {\n \"antipattern\": \"ai-color-palette\",\n \"name\": \"AI color palette\",\n \"description\": \"Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. Choose a distinctive, intentional palette.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<WS>/src/page.html\",\n \"line\": 0,\n \"snippet\": \"Purple/violet text (#5c2d91) on heading\"\n },\n {\n \"antipattern\": \"design-system-color\",\n \"name\": \"Color outside DESIGN.md\",\n \"description\": \"A literal color is outside the DESIGN.md palette and sidecar tonal ramps. This may be legitimate, but it should be an intentional design-system addition rather than drift.\",\n \"severity\": \"advisory\",\n \"category\": \"quality\",\n \"file\": \"<WS>/src/page.html\",\n \"line\": 5,\n \"snippet\": \"text color rgb(92, 45, 145) on h1 \\\"Featured services\\\" is outside DESIGN.md colors\",\n \"advisory\": true,\n \"ignoreValue\": \"rgb(92, 45, 145)\"\n },\n {\n \"antipattern\": \"design-system-color\",\n \"name\": \"Color outside DESIGN.md\",\n \"description\": \"A literal color is outside the DESIGN.md palette and sidecar tonal ramps. This may be legitimate, but it should be an intentional design-system addition rather than drift.\",\n \"severity\": \"advisory\",\n \"category\": \"quality\",\n \"file\": \"<WS>/src/page.html\",\n \"line\": 6,\n \"snippet\": \"text color rgb(124, 58, 237) on p \\\"The brand purple on a promotion.\\\" is outside DESIGN.md colors\",\n \"advisory\": true,\n \"ignoreValue\": \"rgb(124, 58, 237)\"\n }\n]\n",+ "stdout": "[\n {\n \"antipattern\": \"ai-color-palette\",\n \"name\": \"AI color palette\",\n \"description\": \"Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. A gradient in one of those hues is the tell on its own; flat neon ink on a dark ground is charged once a second tell hue joins it. Choose a distinctive, intentional palette.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<WS>/src/Hero.jsx\",\n \"line\": 3,\n \"snippet\": \"text-purple-700 on heading\"\n },\n {\n \"antipattern\": \"ai-color-palette\",\n \"name\": \"AI color palette\",\n \"description\": \"Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. A gradient in one of those hues is the tell on its own; flat neon ink on a dark ground is charged once a second tell hue joins it. Choose a distinctive, intentional palette.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<WS>/src/Hero.jsx\",\n \"line\": 2,\n \"snippet\": \"from-violet-600 gradient\"\n },\n {\n \"antipattern\": \"ai-color-palette\",\n \"name\": \"AI color palette\",\n \"description\": \"Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. A gradient in one of those hues is the tell on its own; flat neon ink on a dark ground is charged once a second tell hue joins it. Choose a distinctive, intentional palette.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<WS>/src/page.html\",\n \"line\": 0,\n \"snippet\": \"Purple/violet text (#5c2d91) on heading\"\n },\n {\n \"antipattern\": \"design-system-color\",\n \"name\": \"Color outside DESIGN.md\",\n \"description\": \"A literal color is outside the DESIGN.md palette and sidecar tonal ramps. This may be legitimate, but it should be an intentional design-system addition rather than drift.\",\n \"severity\": \"advisory\",\n \"category\": \"quality\",\n \"file\": \"<WS>/src/page.html\",\n \"line\": 5,\n \"snippet\": \"text color rgb(92, 45, 145) on h1 \\\"Featured services\\\" is outside DESIGN.md colors\",\n \"advisory\": true,\n \"ignoreValue\": \"rgb(92, 45, 145)\"\n },\n {\n \"antipattern\": \"design-system-color\",\n \"name\": \"Color outside DESIGN.md\",\n \"description\": \"A literal color is outside the DESIGN.md palette and sidecar tonal ramps. This may be legitimate, but it should be an intentional design-system addition rather than drift.\",\n \"severity\": \"advisory\",\n \"category\": \"quality\",\n \"file\": \"<WS>/src/page.html\",\n \"line\": 6,\n \"snippet\": \"text color rgb(124, 58, 237) on p \\\"The brand purple on a promotion.\\\" is outside DESIGN.md colors\",\n \"advisory\": true,\n \"ignoreValue\": \"rgb(124, 58, 237)\"\n }\n]\n","stderr": "","exit": 2,"signal": null,diff --git a/tests/oracle/golden/detect-design-blue-text.json b/tests/oracle/golden/detect-design-blue-text.jsonindex a28a97277..6648deb53 100644--- a/tests/oracle/golden/detect-design-blue-text.json+++ b/tests/oracle/golden/detect-design-blue-text.json@@ -1,6 +1,6 @@{"stdout": "",- "stderr": "\n<WS>/src/Hero.jsx\n line 3: [ai-color-palette] text-purple-700 on heading\n → Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. Choose a distinctive, intentional palette.\n line 2: [ai-color-palette] from-violet-600 gradient\n → Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. Choose a distinctive, intentional palette.\n\n<WS>/src/page.html\n [ai-color-palette] Purple/violet text (#5c2d91) on heading\n → Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. Choose a distinctive, intentional palette.\n\n3 anti-patterns found.\n\n── Advisory (not counted as failures) ──\n\n<WS>/src/page.html\n line 5: [design-system-color] text color rgb(92, 45, 145) on h1 \"Featured services\" is outside DESIGN.md colors\n → A literal color is outside the DESIGN.md palette and sidecar tonal ramps. This may be legitimate, but it should be an intentional design-system addition rather than drift.\n line 6: [design-system-color] text color rgb(124, 58, 237) on p \"The brand purple on a promotion.\" is outside DESIGN.md colors\n → A literal color is outside the DESIGN.md palette and sidecar tonal ramps. This may be legitimate, but it should be an intentional design-system addition rather than drift.\n\n2 advisory notes. Suppress with --no-advisory.\n",+ "stderr": "\n<WS>/src/Hero.jsx\n line 3: [ai-color-palette] text-purple-700 on heading\n → Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. A gradient in one of those hues is the tell on its own; flat neon ink on a dark ground is charged once a second tell hue joins it. Choose a distinctive, intentional palette.\n line 2: [ai-color-palette] from-violet-600 gradient\n → Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. A gradient in one of those hues is the tell on its own; flat neon ink on a dark ground is charged once a second tell hue joins it. Choose a distinctive, intentional palette.\n\n<WS>/src/page.html\n [ai-color-palette] Purple/violet text (#5c2d91) on heading\n → Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. A gradient in one of those hues is the tell on its own; flat neon ink on a dark ground is charged once a second tell hue joins it. Choose a distinctive, intentional palette.\n\n3 anti-patterns found.\n\n── Advisory (not counted as failures) ──\n\n<WS>/src/page.html\n line 5: [design-system-color] text color rgb(92, 45, 145) on h1 \"Featured services\" is outside DESIGN.md colors\n → A literal color is outside the DESIGN.md palette and sidecar tonal ramps. This may be legitimate, but it should be an intentional design-system addition rather than drift.\n line 6: [design-system-color] text color rgb(124, 58, 237) on p \"The brand purple on a promotion.\" is outside DESIGN.md colors\n → A literal color is outside the DESIGN.md palette and sidecar tonal ramps. This may be legitimate, but it should be an intentional design-system addition rather than drift.\n\n2 advisory notes. Suppress with --no-advisory.\n","exit": 2,"signal": null,"files": {}diff --git a/tests/oracle/golden/detect-fixture-json-ai-color-palette-brand-hue-headings-only-html.json b/tests/oracle/golden/detect-fixture-json-ai-color-palette-brand-hue-headings-only-html.jsonindex faa5956bb..b09cb9969 100644--- a/tests/oracle/golden/detect-fixture-json-ai-color-palette-brand-hue-headings-only-html.json+++ b/tests/oracle/golden/detect-fixture-json-ai-color-palette-brand-hue-headings-only-html.json@@ -1,5 +1,5 @@{- "stdout": "[\n {\n \"antipattern\": \"ai-color-palette\",\n \"name\": \"AI color palette\",\n \"description\": \"Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. Choose a distinctive, intentional palette.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<REPO>/tests/fixtures/antipatterns/ai-color-palette-brand-hue-headings-only.html\",\n \"line\": 0,\n \"snippet\": \"Purple/violet text (#5c2d91) on heading\"\n },\n {\n \"antipattern\": \"ai-color-palette\",\n \"name\": \"AI color palette\",\n \"description\": \"Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. Choose a distinctive, intentional palette.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<REPO>/tests/fixtures/antipatterns/ai-color-palette-brand-hue-headings-only.html\",\n \"line\": 0,\n \"snippet\": \"Purple/violet text (#6a35a6) on heading\"\n }\n]\n",+ "stdout": "[\n {\n \"antipattern\": \"ai-color-palette\",\n \"name\": \"AI color palette\",\n \"description\": \"Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. A gradient in one of those hues is the tell on its own; flat neon ink on a dark ground is charged once a second tell hue joins it. Choose a distinctive, intentional palette.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<REPO>/tests/fixtures/antipatterns/ai-color-palette-brand-hue-headings-only.html\",\n \"line\": 0,\n \"snippet\": \"Purple/violet text (#5c2d91) on heading\"\n },\n {\n \"antipattern\": \"ai-color-palette\",\n \"name\": \"AI color palette\",\n \"description\": \"Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. A gradient in one of those hues is the tell on its own; flat neon ink on a dark ground is charged once a second tell hue joins it. Choose a distinctive, intentional palette.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<REPO>/tests/fixtures/antipatterns/ai-color-palette-brand-hue-headings-only.html\",\n \"line\": 0,\n \"snippet\": \"Purple/violet text (#6a35a6) on heading\"\n }\n]\n","stderr": "","exit": 2,"signal": null,diff --git a/tests/oracle/golden/detect-fixture-json-ai-color-palette-brand-hue-html.json b/tests/oracle/golden/detect-fixture-json-ai-color-palette-brand-hue-html.jsonindex 79f33d4ef..a2b37f17f 100644--- a/tests/oracle/golden/detect-fixture-json-ai-color-palette-brand-hue-html.json+++ b/tests/oracle/golden/detect-fixture-json-ai-color-palette-brand-hue-html.json@@ -1,5 +1,5 @@{- "stdout": "[\n {\n \"antipattern\": \"ai-color-palette\",\n \"name\": \"AI color palette\",\n \"description\": \"Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. Choose a distinctive, intentional palette.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<REPO>/tests/fixtures/antipatterns/ai-color-palette-brand-hue.html\",\n \"line\": 0,\n \"snippet\": \"Purple/violet text (#5c2d91) on heading\"\n },\n {\n \"antipattern\": \"ai-color-palette\",\n \"name\": \"AI color palette\",\n \"description\": \"Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. Choose a distinctive, intentional palette.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<REPO>/tests/fixtures/antipatterns/ai-color-palette-brand-hue.html\",\n \"line\": 0,\n \"snippet\": \"Purple/violet text (#6a35a6) on heading\"\n }\n]\n",+ "stdout": "[\n {\n \"antipattern\": \"ai-color-palette\",\n \"name\": \"AI color palette\",\n \"description\": \"Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. A gradient in one of those hues is the tell on its own; flat neon ink on a dark ground is charged once a second tell hue joins it. Choose a distinctive, intentional palette.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<REPO>/tests/fixtures/antipatterns/ai-color-palette-brand-hue.html\",\n \"line\": 0,\n \"snippet\": \"Purple/violet text (#5c2d91) on heading\"\n },\n {\n \"antipattern\": \"ai-color-palette\",\n \"name\": \"AI color palette\",\n \"description\": \"Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. A gradient in one of those hues is the tell on its own; flat neon ink on a dark ground is charged once a second tell hue joins it. Choose a distinctive, intentional palette.\",\n \"severity\": \"warning\",\n \"category\": \"slop\",\n \"file\": \"<REPO>/tests/fixtures/antipatterns/ai-color-palette-brand-hue.html\",\n \"line\": 0,\n \"snippet\": \"Purple/violet text (#6a35a6) on heading\"\n }\n]\n","stderr": "","exit": 2,"signal": null,diff --git a/tests/oracle/golden/detect-fixture-text-ai-color-palette-brand-hue-headings-only-html.json b/tests/oracle/golden/detect-fixture-text-ai-color-palette-brand-hue-headings-only-html.jsonindex e4db39875..c12c2e821 100644--- a/tests/oracle/golden/detect-fixture-text-ai-color-palette-brand-hue-headings-only-html.json+++ b/tests/oracle/golden/detect-fixture-text-ai-color-palette-brand-hue-headings-only-html.json@@ -1,6 +1,6 @@{"stdout": "",- "stderr": "\n<REPO>/tests/fixtures/antipatterns/ai-color-palette-brand-hue-headings-only.html\n [ai-color-palette] Purple/violet text (#5c2d91) on heading\n → Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. Choose a distinctive, intentional palette.\n [ai-color-palette] Purple/violet text (#6a35a6) on heading\n → Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. Choose a distinctive, intentional palette.\n\n2 anti-patterns found.\n",+ "stderr": "\n<REPO>/tests/fixtures/antipatterns/ai-color-palette-brand-hue-headings-only.html\n [ai-color-palette] Purple/violet text (#5c2d91) on heading\n → Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. A gradient in one of those hues is the tell on its own; flat neon ink on a dark ground is charged once a second tell hue joins it. Choose a distinctive, intentional palette.\n [ai-color-palette] Purple/violet text (#6a35a6) on heading\n → Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. A gradient in one of those hues is the tell on its own; flat neon ink on a dark ground is charged once a second tell hue joins it. Choose a distinctive, intentional palette.\n\n2 anti-patterns found.\n","exit": 2,"signal": null,"files": {}diff --git a/tests/oracle/golden/detect-fixture-text-ai-color-palette-brand-hue-html.json b/tests/oracle/golden/detect-fixture-text-ai-color-palette-brand-hue-html.jsonindex f3fc6bf43..689f40bd4 100644--- a/tests/oracle/golden/detect-fixture-text-ai-color-palette-brand-hue-html.json+++ b/tests/oracle/golden/detect-fixture-text-ai-color-palette-brand-hue-html.json@@ -1,6 +1,6 @@{"stdout": "",- "stderr": "\n<REPO>/tests/fixtures/antipatterns/ai-color-palette-brand-hue.html\n [ai-color-palette] Purple/violet text (#5c2d91) on heading\n → Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. Choose a distinctive, intentional palette.\n [ai-color-palette] Purple/violet text (#6a35a6) on heading\n → Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. Choose a distinctive, intentional palette.\n\n2 anti-patterns found.\n",+ "stderr": "\n<REPO>/tests/fixtures/antipatterns/ai-color-palette-brand-hue.html\n [ai-color-palette] Purple/violet text (#5c2d91) on heading\n → Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. A gradient in one of those hues is the tell on its own; flat neon ink on a dark ground is charged once a second tell hue joins it. Choose a distinctive, intentional palette.\n [ai-color-palette] Purple/violet text (#6a35a6) on heading\n → Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. A gradient in one of those hues is the tell on its own; flat neon ink on a dark ground is charged once a second tell hue joins it. Choose a distinctive, intentional palette.\n\n2 anti-patterns found.\n","exit": 2,"signal": null,"files": {}diff --git a/tests/oracle/golden/detect-fixture-text-cramped-padding-html.json b/tests/oracle/golden/detect-fixture-text-cramped-padding-html.jsonindex 67a7bb90a..70f76b581 100644--- a/tests/oracle/golden/detect-fixture-text-cramped-padding-html.json+++ b/tests/oracle/golden/detect-fixture-text-cramped-padding-html.json@@ -1,6 +1,6 @@{"stdout": "",- "stderr": "\n<REPO>/tests/fixtures/antipatterns/cramped-padding.html\n [low-contrast] 3.7:1 (need 4.5:1) — text #ffffff on #3b82f6\n → Text does not meet WCAG AA contrast requirements (4.5:1 for body, 3:1 for large text). Increase the contrast between text and background.\n [cramped-padding] <div> \"flag-touching-chip\": children flush against bg on top/bottom (no inset)\n → Text is too close to the edge of its container. Two shapes: (1) an element with its own text where the padding is too low for the font size, and (2) a wrapper with text-bearing children and near-zero padding against a visible boundary (border, outline, or non-transparent background) — children land flush against the boundary line. Add at least 8px (ideally 12–16px) of padding inside bordered, outlined, or colored containers.\n [cramped-padding] <div> \"flag-price-chip\": children flush against bg on top/bottom (no inset)\n → Text is too close to the edge of its container. Two shapes: (1) an element with its own text where the padding is too low for the font size, and (2) a wrapper with text-bearing children and near-zero padding against a visible boundary (border, outline, or non-transparent background) — children land flush against the boundary line. Add at least 8px (ideally 12–16px) of padding inside bordered, outlined, or colored containers.\n [cramped-padding] <div> \"flag-price-chip-subpixel\": children flush against bg on top/bottom (no inset)\n → Text is too close to the edge of its container. Two shapes: (1) an element with its own text where the padding is too low for the font size, and (2) a wrapper with text-bearing children and near-zero padding against a visible boundary (border, outline, or non-transparent background) — children land flush against the boundary line. Add at least 8px (ideally 12–16px) of padding inside bordered, outlined, or colored containers.\n [cramped-padding] <div> \"pass-step-chip\": children flush against bg on top/bottom (no inset)\n → Text is too close to the edge of its container. Two shapes: (1) an element with its own text where the padding is too low for the font size, and (2) a wrapper with text-bearing children and near-zero padding against a visible boundary (border, outline, or non-transparent background) — children land flush against the boundary line. Add at least 8px (ideally 12–16px) of padding inside bordered, outlined, or colored containers.\n [cramped-padding] <div> \"pass-price-chip\": children flush against bg on top/bottom (no inset)\n → Text is too close to the edge of its container. Two shapes: (1) an element with its own text where the padding is too low for the font size, and (2) a wrapper with text-bearing children and near-zero padding against a visible boundary (border, outline, or non-transparent background) — children land flush against the boundary line. Add at least 8px (ideally 12–16px) of padding inside bordered, outlined, or colored containers.\n\n6 anti-patterns found.\n",+ "stderr": "\n<REPO>/tests/fixtures/antipatterns/cramped-padding.html\n [low-contrast] 3.7:1 (need 4.5:1) — text #ffffff on #3b82f6\n → Text does not meet WCAG AA contrast requirements (4.5:1 for body, 3:1 for large text). Increase the contrast between text and background.\n [cramped-padding] <div> \"flag-touching-chip\": children flush against bg on top/bottom (no inset)\n → Text is too close to the edge of its container. Two shapes: (1) an element with its own text where the space between the rendered text and the border box is too small for the font size, and (2) a wrapper whose children's text lands flush against a visible boundary (border, outline, or non-transparent background) with nothing to inset it. Add at least 8px (ideally 12–16px) of space inside bordered, outlined, or colored containers.\n [cramped-padding] <div> \"flag-price-chip\": children flush against bg on top/bottom (no inset)\n → Text is too close to the edge of its container. Two shapes: (1) an element with its own text where the space between the rendered text and the border box is too small for the font size, and (2) a wrapper whose children's text lands flush against a visible boundary (border, outline, or non-transparent background) with nothing to inset it. Add at least 8px (ideally 12–16px) of space inside bordered, outlined, or colored containers.\n [cramped-padding] <div> \"flag-price-chip-subpixel\": children flush against bg on top/bottom (no inset)\n → Text is too close to the edge of its container. Two shapes: (1) an element with its own text where the space between the rendered text and the border box is too small for the font size, and (2) a wrapper whose children's text lands flush against a visible boundary (border, outline, or non-transparent background) with nothing to inset it. Add at least 8px (ideally 12–16px) of space inside bordered, outlined, or colored containers.\n [cramped-padding] <div> \"pass-step-chip\": children flush against bg on top/bottom (no inset)\n → Text is too close to the edge of its container. Two shapes: (1) an element with its own text where the space between the rendered text and the border box is too small for the font size, and (2) a wrapper whose children's text lands flush against a visible boundary (border, outline, or non-transparent background) with nothing to inset it. Add at least 8px (ideally 12–16px) of space inside bordered, outlined, or colored containers.\n [cramped-padding] <div> \"pass-price-chip\": children flush against bg on top/bottom (no inset)\n → Text is too close to the edge of its container. Two shapes: (1) an element with its own text where the space between the rendered text and the border box is too small for the font size, and (2) a wrapper whose children's text lands flush against a visible boundary (border, outline, or non-transparent background) with nothing to inset it. Add at least 8px (ideally 12–16px) of space inside bordered, outlined, or colored containers.\n\n6 anti-patterns found.\n","exit": 2,"signal": null,"files": {}diff --git a/tests/oracle/golden/hook-stop-purple-heading-design-none.json b/tests/oracle/golden/hook-stop-purple-heading-design-none.jsonindex fb50b5c37..20c97f623 100644--- a/tests/oracle/golden/hook-stop-purple-heading-design-none.json+++ b/tests/oracle/golden/hook-stop-purple-heading-design-none.json@@ -7,7 +7,7 @@"signal": null},{- "stdout": "{\"hookSpecificOutput\":{\"hookEventName\":\"Stop\",\"additionalContext\":\"[impeccable@1] Design hook findings requiring review in src/Hero.tsx (1 issue(s)):\\n- L1 [ai-color-palette] [new] AI color palette. Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. Choose a distinctive, intentional palette.\\n\\nTriage each finding, then state in your reply what you fixed, what you suppressed, and what you left standing:\\n- Real design problem: fix it. Keep intentional design as designed.\\n- Confident false positive or sanctioned exception (an intentional demo or fixture, documentation of bad design, literal or domain-appropriate motion, a choice the user confirmed): persist the narrowest ignore yourself and disclose it. Run `<HOOK_ADMIN_CMD> ignore-value <rule> \\\"<value>\\\" --reason \\\"<who decided: evidence>\\\"` with the pair shown on the finding line, or value \\\"*\\\" plus `--file <path>` when the line shows none. Write \\\"user confirmed\\\" in a reason only when the user did.\\n- Unsure: leave it as is and ask the user in one line.\\nSelf-serve ends at ignore-value: `ignore-file` and `ignore-rule` need the user's explicit approval, and never add an ignore to push a blocked write through. Full suppression ladder: /impeccable hooks.\"}}",+ "stdout": "{\"hookSpecificOutput\":{\"hookEventName\":\"Stop\",\"additionalContext\":\"[impeccable@1] Design hook findings requiring review in src/Hero.tsx (1 issue(s)):\\n- L1 [ai-color-palette] [new] AI color palette. Purple/violet gradients and cyan-on-dark are the most recognizable tells of AI-generated UIs. A gradient in one of those hues is the tell on its own; flat neon ink on a dark ground is charged once a second tell hue joins it. Choose a distinctive, intentional palette.\\n\\nTriage each finding, then state in your reply what you fixed, what you suppressed, and what you left standing:\\n- Real design problem: fix it. Keep intentional design as designed.\\n- Confident false positive or sanctioned exception (an intentional demo or fixture, documentation of bad design, literal or domain-appropriate motion, a choice the user confirmed): persist the narrowest ignore yourself and disclose it. Run `<HOOK_ADMIN_CMD> ignore-value <rule> \\\"<value>\\\" --reason \\\"<who decided: evidence>\\\"` with the pair shown on the finding line, or value \\\"*\\\" plus `--file <path>` when the line shows none. Write \\\"user confirmed\\\" in a reason only when the user did.\\n- Unsure: leave it as is and ask the user in one line.\\nSelf-serve ends at ignore-value: `ignore-file` and `ignore-rule` need the user's explicit approval, and never add an ignore to push a blocked write through. Full suppression ladder: /impeccable hooks.\"}}","stderr": "","exit": 0,"signal": null