Skip to content

v1.6.0 — Hardened Probes, 100% English References & Behavioral Eval Harness

Latest

Choose a tag to compare

@fatihmert fatihmert released this 04 Dec 09:43
· 7 commits to main since this release

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: smallTargetsAa 21 → 0, tightSpacing 4 → 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 of salienceHotspots.
  • Added PNG pHYs Retina auto-DPR detection via stdlib struct, 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 unified schemaVersion: "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 browser 1×1 offscreen canvas normalization for CSS Color Level 4 (oklch(), oklab(), color(srgb), color(display-p3), color-mix()) and measured.unparseableColorCount.
  • Replaced resting-state outlineStyle === 'none' false positives with safe stylesheet :focus / :focus-visible outline-suppression rule inspection.
  • Added recursive open Shadow DOM traversal, uppercase SVG tagName safety, 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, onpaste auth & unlabeled open dialog warnings, and unified schemaVersion: "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 o200k tokens saved 10,294 tokens / -29.5%) while keeping automatic response-language matching in SKILL.md.
  • Deduplicated sources-and-evidence.md and interface-playbook.md, absorbed the 8th Laws of UX article into perception-and-mental-models.md, and bridged interface-playbook.md to dom_ux_probe.js, ui_vision_probe.py, and component-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|gemini A/B harness comparing bare-prompt Baseline vs. lawofux on deterministic behavioral rubrics.

Install: npx skills add CycleChain/lawofux-skill
Live Demo: https://cyclechain.github.io/lawofux-skill/