Skip to content

DSAF v0.9.2

Choose a tag to compare

@zintaen zintaen released this 26 Nov 18:38
· 7 commits to main since this release
v0.9.2
f699dfb

Release Notes

Concise version highlights for DSAF (@zintaen/dsaf). Follows Semantic Versioning.


v0.9.2 (2026-11-27) — Simplified Onboarding, Editorial Shell & Report (--html), and auto-evolve-strategy v1.2.0

  • Dead-Simple CLI (dsaf check, dsaf setup, dsaf mcp install): Bare path invocations (npx @zintaen/dsaf . or dsaf check) immediately run a clean one-command health check with next-step hints; dsaf setup installs the Tier 1 agent skill and wires MCP JSON (dsaf mcp install) across Claude, Cursor, Codex, and Antigravity in one step.
  • Persona-to-Finding Linking & Standalone HTML Reports (--html): audit-pipeline.mjs now maps every Floor/Reflex/token defect directly to affected user persona IDs (P01..Pn), includes a Persona Impact Matrix in Markdown/PR comments, and exports self-contained dark/light editorial HTML reports (generate-html-report.mjs) with accessible tabs and container-responsive tables.
  • Anti-AI-Slop Preview Shell & Docs Redesign: Rebuilt canonical preview-shell.html and GitHub Pages (docs/) with quiet hairline studio chrome, an authentic Team Billing specimen (Before vs Track A vs Track B), plain 3-step onboarding copy, and a live Sample HTML Report.
  • Live Interactive Probes (audit-runtime.mjs): Automatically exercises visible tabs, collapsed <details> disclosures, and theme toggles on live targets to catch hidden overflow or state regressions.
  • auto-evolve-strategy v1.2.0 Adoption: Pinned canonical STRATEGY.md v1.2.0 in .evolve/ (excluded from npm tarballs) and upgraded dsaf init / dsaf evolve with A9.4 atomic numbered lease.<n> + owner: none release semantics and .dsaf/.evolve STOP parity. Also fixed action.yml Floor/Reflex count extraction (data.ciGate).

v0.9.1 (2026-11-27) — Uncapped Signal-Driven Personas & Container-Query Preview Shell

  • Uncapped Persona Scaling (dsaf personas / dsaf init / dsaf_personas): Removed the if/else 8-persona branch cap; generate-personas.mjs (--depth auto default) now derives every applicable orthogonal persona from repo signals (Mode S/C, routes, forms, dense tables, docs/Storybook, dark mode, hybrid WebView shells, fault tolerance) and merges unlimited domain roles from .dsaf/personas.custom.json or --custom <file>.
  • Container-Query Preview Shell (preview-shell.html): Moved internal layout breakpoints inside .uxs-canvas (@container uxs-stage) and .uxs-pane (@container uxs-pane) so toggling 768px or 390px on a desktop monitor in Compare + Pins mode authentically stacks columns, KPIs, cards, and tables with zero text crushing or floating pin overflow.
  • Simulated-Viewport Runtime Enforcement (audit-runtime.mjs): auditShellContract now clicks [data-viewport="tablet"] and [data-viewport="mobile"] with Compare + Pins (4) active and fails if any child spills .uxs-canvas, crushes text, or overflows unstacked tables.

v0.9.0 (2026-11-27) — Deterministic Personas (dsaf personas), Hardened Probes & Rebuilt UI

  • Topology-Seeded Persona Generator (dsaf personas): Added deterministic generate-personas.mjs generating 5 (quick) or 8 (deep) orthogonal multi-axis personas bound to detected routes, Surface Mode, and T2-Mock edge cases, automatically written to .dsaf/personas.json during dsaf init and exposed as the 9th MCP tool (dsaf_personas).
  • CSS Nesting, Base UI & Monorepo Accuracy: dsaf hook now resolves nested & rules with isolated directChunks, top-level comma splitting outside (...), Base UI [data-highlighted]/[data-focus-visible] wrappers, and :has(> child:focus-visible) parent focus rules (17 -> 0 false-positive Floor findings on nested DS libraries), while dsaf recon & dsaf tokens discover tokens/*.json directories and exclude monorepo self-dependencies + headless primitives (@base-ui/*, @radix-ui/*) for clean Mode S classification.
  • Anti-Broken-UI Runtime Probes (dsaf runtime): Added pseudo ::before/::after extended touch hit-area detection (computeEffectiveHitArea) plus explicit guards for mobile headerBloat, crushedBadges vertical pill wrapping, and horizontally clippedTables.
  • Rebuilt Docs & Canonical Preview Shell: Fixed mobile header crowding, 24px single-line badges, Light + Dark showcase captures, responsive stacked Release Notes cards (<= 640px), 44x44 transparent hit wrappers around 26px Gold pins, and opaque dark card surface fallbacks (apcaBodyMin=67..69, axe=0, clip=0 across 320px–1920px).

v0.8.0 (2026-11-26) — Ink & Gold v3 Theme, Safe Floor Auto-Fix (dsaf fix) & Repo Auto-Evolve (dsaf evolve)

  • Ink & Gold v3 Aesthetic (preview-shell.html, docs/): Rebuilt canonical preview-shell.html, docs/index.html, docs/styles.css, docs/favicon.svg, docs/assets/og-card.png, and docs/assets/preview-shell-showcase.png around an Ink & Gold v3 token hierarchy (#F7F8FA/#0A111D, #14243D Ink, #F4BA17 Gold, 3-stop blue/teal/gold aurora wash, Manrope + Be Vietnam Pro + JetBrains Mono) passing WCAG 2.2 AA & APCA Lc (0 hardcoded colors, 0 orphans, 0 !important).
  • Safe Floor Auto-Remediator (dsaf fix): Previews (--dry-run) and applies (--apply --backup) deterministic Floor fixes for transition: all, width: 100vw / w-[100vw], naked outline: none, and unmuted <video autoplay> while respecting .dsaf/rules.json protectedFiles.
  • Supervised Repo Evolution Runner (dsaf evolve): Enforces .dsaf/STOP kill switches, .dsaf/circuit-breaker.json consecutive failure caps, bounded Floor remediations, and automatic .dsaf/handoff.md telemetry logs.
  • External DS Focus Awareness (--ds-css) & Noise Filtering: dsaf hook discovers ancestor DS CSS packages (node_modules/@*/design*/dist/*.css, --ds-css) to honor parent :focus-within / :has(...:focus-visible) focus rings cleanly, while recon, audit-tokens, and dsaf-hook ignore playwright-report/ and test-results/.
  • 8-Tool Stdio MCP Server (dsaf mcp): Added read-only dsaf_fix_preview and dsaf_evolve_status alongside existing audit tools.

v0.7.0 (2026-11-26) — Preview Studio & Docs Redesign, Repo Auto-Evolve (dsaf init), Stdio MCP & 2-Vertex Diff

  • Studio & Docs Visual Redesign (preview-shell.html, docs/): Rebuilt canonical preview-shell.html (100% offline, generic --uxs-* vars, zero external assets) and the GitHub Pages showcase (docs/) with Warm Alabaster, Deep Umber, and Ochre palettes, composite focus halos, realistic Before/Pragmatic/North-Star specimens, 1200x630 OG card, and passing 5–7 viewport Playwright + APCA checks (axe=0, hardcodedColorHits=0).
  • Universal Repo Auto-Evolution (dsaf init): Bootstraps .dsaf/ governance (STRATEGY.md, rules.json, decision-queue.md, strategy-feedback.md, handoff.md) with C1–C10 adversarial verifier rules, .dsaf/STOP kill-switch, circuit breakers, plus --with-hook, --with-guardrails, and --with-workflow.
  • Zero-Dep Stdio MCP Server (dsaf mcp): Exposes 6 read-only audit tools (dsaf_recon, dsaf_tokens, dsaf_doctor, dsaf_hook_check, dsaf_figma_diff, dsaf_audit) over Content-Length and NDJSON JSON-RPC 2.0 framing.
  • 2-Vertex Defined <-> Shipped & Pixel Diff Gate: Extends dsaf figma-diff --tokens ... --runtime ... to verify CSS/DTCG definitions directly against live computed browser variables without requiring Figma, and adds zero-dep PNG pixel-diff gating (--screenshot-diff / --diff-threshold) to dsaf runtime.
  • Precision Refinements & CI Action Smoke: Separates TSX <svg> icons and swatch tables (svgPaletteHits / swatchPaletteHits) in dsaf tokens, enforces per-branch focus fallback across comma-separated selectors in dsaf hook, and adds an action-smoke job to .github/workflows/ci.yml.

v0.6.0 (2026-11-26) — Zero-Clone Skill Install, GitHub Action & Field-Hardened Probes

  • Zero-Clone Agent Skill Installer (dsaf install-skill): Installs ONLY Tier 1 production skill files directly from npm/npx into Claude Code, Cursor, Codex, Antigravity, or .agents (--agent, --scope user|project, --dir, --dry-run).
  • Official GitHub Action (action.yml): Runs dsaf audit, optional dsaf doctor, uploads SARIF 2.1.0, posts sticky PR scorecards (<!-- dsaf-audit-comment -->), enforces Floor gates, and upgrades all CI workflows to Node 24-native action tags (checkout@v7, setup-node@v7, upload-sarif@v4).
  • GitHub Pages Live Interactive Demo & Social Metadata (docs/): Publishes live interactive Preview Shell demo (docs/demo/preview-shell.html), capability comparison table, favicon, sitemap.xml, and generated 1200x630 og-card.png.
  • Field-Hardened Probes (dsaf-evolve Cycle):
    • Broadened cookie/consent hiding ([aria-label*="cookie"], [data-testid*="cookie"], [class*="consent"]), bounded domcontentloaded + networkidle fallback navigation, and in-viewport horizontal scroller exemptions for clippedTargets.
    • Unified built/verification/mobile bundle exclusions (_audit/, storybook-static/, src-tauri/, ios/App/App/public/) across recon, audit-tokens, dsaf-hook, and doctor (eliminating DTCG duplicate counts and stale bundle hits).
    • Refined dsaf/no-outline-none-naked to respect skip-link focus destinations, sibling :focus-visible, and parent :focus-within composite widgets, while integrating dsaf-hook Floor rules into dsaf audit and --json into dsaf figma-diff.
    • Upgraded recon.mjs detectSurfaceMode (desktop/mobile shell + interactive component detection -> operate, Mode S libraries -> read) and t2MockRequired cloud BaaS SDK detection.

v0.5.0 (2026-11-26) — Surface Modes, Runtime Hardening, Doctor & GitHub Pages

  • Surface Mode Auto-Detection & No-Slop Guard: dsaf recon classifies Persuade / Operate / Read / Experience surfaces so audits adapt to dashboards vs docs vs marketing; Mode P skips gratuitous redesigns on already-clean UIs and follows the 9-pass causal redline order.
  • Runtime Edge Hardening (dsaf runtime): Adds --cdp <port> attachment (Electron / WebView2 / authenticated Chrome), consent banner hiding, coveredText occlusion checks, RTL script/dir="rtl"/Arabic tracking checks, and --extended-viewports (320px + 1920px).
  • 6-Point Read-Only Diagnostic (dsaf doctor): Verifies CLI/guardrail parity, token freshness, edit-time hook setup, CI gate presence, Playwright/axe availability, and stale dsaf-ignore waivers.
  • Promotional GitHub Pages Site (docs/): Added accessible Light/Dark documentation & live inspector site with full CI dogfooding (tokens, hook, runtime).

v0.4.0 (2026-11-26) — CI Native Gates, Edit-Time Hooks & Controlled Waivers

  • SARIF 2.1.0 & GitHub Annotations (--sarif, --github): dsaf tokens, dsaf audit, and dsaf hook now emit native SARIF 2.1.0 reports and PR-inline GitHub Actions annotations.
  • Edit-Time Agent Hook (dsaf hook): Runs a fast Floor/Reflex check on UI file edits via Claude Code, Cursor, or Codex PostToolUse hooks (dsaf hook install).
  • 3-Tier Gate & Waiver Engine (Floor · Reflex · Finish): Floor rules cannot be suppressed; Reflex rules accept concrete /* dsaf-ignore <rule> -- <reason> */ waivers; --report-unused-ignores flags stale waivers.
  • Anti-Anchoring Review Provenance: compute-scorecard.mjs records dual-agent vs ⚠️ DEGRADED: single-context provenance and rejects Floor/boilerplate waivers.

v0.3.0 (2026-11-26) — One-Click Pipeline & Live Vertex 3

  • Unified dsaf audit Pipeline: Chains read-only recon, tokens, multi-route runtime, 3-vertex figma-diff, and audit-diff into audit-summary.json and Markdown.
  • Live Vertex 3 (Shipped) Triangulation: Captures live :root computedVars, multi-route --routes, and multi-stack Light↔Dark mode checks against Figma variables.
  • Monorepo & Touch Precision: Skips prototype demo/ trees by default (--include-demos opt-in), separates semantic orphans from palette scales, and flags overlapping small mobile tap targets.

v0.2.2 (2026-11-26) — Zero-NODE_PATH Discovery & Trusted Publishing

  • npm Scope & OIDC Publishing: Published as @zintaen/dsaf with provenance via GitHub Actions OIDC on v* tags.
  • Auto Runtime Discovery: Automatically resolves playwright and axe-core from target/ancestor node_modules without NODE_PATH.
  • Cleaner Codebase Noise Filtering: Excludes test/fixture trees and server-side ImageResponse OG image generators from token drift counts.

v0.2.1 (2026-11-26) — Real-World Figma & Guardrail Separation

  • SVG / Swatch Separation (+SG): Guardrail scanner separates CSS/inline-style hexes and Tailwind arbitrary utilities from declarative <svg> colors and swatch constants.
  • Code Connect v2 & CSS Alias Triangulation: Resolves CSS var() aliases, dark blocks, --prefix auto-stripping, and batch Code Connect files.

v0.2.0 (2026-11-26) — Automated Figma Diff & Static Storybook

  • Automated 3-Vertex dsaf figma-diff: Compares Figma variables & Code Connect against DTCG/CSS tokens and runtime summaries.
  • Local Static Storybook & Defect Fixtures: Supports --storybook <index.json> locally alongside CI verification fixtures.

v0.1.1 (2026-11-26) — Accurate Topology & Tailwind v4 @theme

  • Auth/Bundle Filtering: Stops auth token routes, hidden agent folders, and mobile WebView bundles from skewing Mode C detection.
  • Tailwind v4 @theme Resolution: Tracks @theme inline utility consumption and JS getPropertyValue references accurately.

v0.1.0 (2026-11-26) — Single-Entry CLI & Executable Guardrails

  • Unified dsaf CLI (bin/dsaf.mjs): Exposed all core workflows under one command.
  • Executable Guardrails & Keyboard Audit: Added +SG (check-design-discipline.mjs, CI workflow, AGENTS rules), keyboardMap, APCA/WCAG DTCG pairs, and --screenshot --pins.

v0.0.1 (2026-11-26) — Initial Clean-Room Framework

  • Launched 3 auto-detected modes (Mode S System Core, Mode C Conformance & Drift, Mode P Product UX/UI), Step 0 Clarification Gate, Canonical Dual-Track Preview Shell, zero-dep Node ESM toolchain, and isolated evolve/ closed-loop evolution.