From 66632b050a38062565eb994bd32db908902a047d Mon Sep 17 00:00:00 2001 From: Abdul Wahab Date: Tue, 1 Sep 2026 10:18:14 +0500 Subject: [PATCH] Map main's two new detector rules into the hook discipline groups organic-clip-path and buried-raster landed on main after this branch's hook-rule-presentation map; both are produced-imagery rules, grouped under Imagery beside shape-assembled-illustration. Co-Authored-By: Claude Opus 5 --- picker/data/hook-rules.json | 6 ++++-- scripts/lib/hook-rule-presentation.js | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/picker/data/hook-rules.json b/picker/data/hook-rules.json index b199347eb..4c8ccf169 100644 --- a/picker/data/hook-rules.json +++ b/picker/data/hook-rules.json @@ -94,13 +94,15 @@ "id": "organic-clip-path", "name": "Organic contour drawn as clip-path", "description": "A clip-path polygon with many arbitrary vertices, or a curved clip-path path(), is CSS approximating a torn edge, blob, or silhouette. It reads as the cheap version of the effect and is usually a produced or photographic material replaced with code. Derive an alpha matte from the real image, or ship the shape as a cut-out raster; keep clip-path for geometry (cut corners, diagonals, hexagons).", - "group": "quality" + "group": "quality", + "discipline": "Imagery" }, { "id": "buried-raster", "name": "Raster buried under a wash or opacity", "description": "A background image under a near-opaque gradient wash, or a raster on an element at near-zero opacity, never reaches the screen: the page shows the wash, and the produced texture or photo ships as a compliance token. Let the material show (a tint under 0.9 alpha, a blend mode, an opacity you can see) or remove the file.", - "group": "quality" + "group": "quality", + "discipline": "Imagery" }, { "id": "dark-glow", diff --git a/scripts/lib/hook-rule-presentation.js b/scripts/lib/hook-rule-presentation.js index 99d90d62f..c40399775 100644 --- a/scripts/lib/hook-rule-presentation.js +++ b/scripts/lib/hook-rule-presentation.js @@ -31,6 +31,8 @@ export const DISCIPLINES = { 'pulsing-dot': 'Motion', 'blinking-cursor': 'Motion', 'shape-assembled-illustration': 'Imagery', + 'organic-clip-path': 'Imagery', + 'buried-raster': 'Imagery', 'dark-glow': 'Color & Contrast', 'radial-halo': 'Color & Contrast', 'radial-spotlight-glow': 'Color & Contrast',