Repository navigation
What's New in v1.6.0
1. OpenCV UI Vision Probe Accuracy Overhaul (scripts/ui_vision_probe.py, 12/12 tests)
- Eliminated light-mode text false positives via horizontal-first DPR-scaled text coalescing and inline baseline guards (live demo screenshot:
smallTargetsAa21 → 0,tightSpacing4 → 0, bogus bold-heading container eliminated). - Fixed HSV salience dead zone (
~chroma_mask) so dark cool-neutral CTAs (#111827/#0f172a) are detected reliably, and gated tiny colored text out ofsalienceHotspots. - Added PNG
pHYsRetina auto-DPR detection via stdlibstruct, DPR-scaled morphological kernels, border-median RGBA compositing, WCAG 2.2 pixel-estimated local contrast (visualCandidates.lowContrastBlocks), CLI--compare <after.png>before/after diff, and unifiedschemaVersion: "1.0"+findings[].
2. Live DOM UX Probe Accuracy & Modern CSS Upgrades (scripts/dom_ux_probe.js, 26/26 tests)
- Added pure-JS
hsl()/hsla()parsing plus lazy browser1×1offscreen canvas normalization for CSS Color Level 4 (oklch(),oklab(),color(srgb),color(display-p3),color-mix()) andmeasured.unparseableColorCount. - Replaced resting-state
outlineStyle === 'none'false positives with safe stylesheet:focus/:focus-visibleoutline-suppression rule inspection. - Added recursive open Shadow DOM traversal, uppercase SVG
tagNamesafety, WCAG 2.2 SC 2.5.8 inline link exemption,<label>-wrapped input union hit rects, nameless icon-button detection,.sr-only/opacity/background-image contrast guards,onpasteauth & unlabeled open dialog warnings, and unifiedschemaVersion: "1.0"+findings[].
3. 100% Global English Reference Core (-29.5% Token Footprint)
- Translated all 7 remaining Turkish modules under
references/into concise global English with strictly ASCII anchors (34,951 → 24,657 o200ktokens saved 10,294 tokens / -29.5%) while keeping automatic response-language matching inSKILL.md. - Deduplicated
sources-and-evidence.mdandinterface-playbook.md, absorbed the 8th Laws of UX article intoperception-and-mental-models.md, and bridgedinterface-playbook.mdtodom_ux_probe.js,ui_vision_probe.py, andcomponent-best-practices.md.
4. Zero-Dependency Behavioral Eval Runner (evals/run_evals.mjs)
- Added
node evals/run_evals.mjs --mode contract(18/18 passing, wired into GitHub Actions CI) verifying every eval trigger, extension, probe, and guardrail against live skill files. - Added optional
--mode live --provider openai|anthropic|geminiA/B harness comparing bare-prompt Baseline vs.lawofuxon deterministic behavioral rubrics.
Install: npx skills add CycleChain/lawofux-skill
Live Demo: https://cyclechain.github.io/lawofux-skill/