Skip to content

v0.9.0

Choose a tag to compare

@mabry1985 mabry1985 released this 27 Sep 14:53
· 18 commits to main since this release
32d16f8

Audit live sites for design-system compliance, extract brand themes, and harden all outbound network requests.

Design System Auditing

  • ds_audit_repo now audits local checkouts for token adherence using a 12-rule engine, producing markdown and JSON reports with adherence scores.
  • New siteaudit capability probes live sites via browser_eval, identifying missing design-system components and contrast issues with ready-to-file gap reports.
  • themegen extracts brand colors, fonts, and radii from URLs or CSS, generating dark/light themes that pass AA contrast checks with reported repairs.
  • ds_check now detects raw colors in unnamed snippets, including Tailwind arbitrary values and JavaScript constants.

Network Security Hardening

  • fetch.py becomes the single guarded fetcher for all URL reads, enforcing global IP allowlists, IP-pinned connections, and rejecting HTTPS-to-HTTP downgrades.
  • Report generation now escapes untrusted text from pages and repos, preventing markdown injection and malicious issue references.
  • The plugin data directory resolves through instance_paths with a one-time migration of legacy snapshots; users relying on custom data paths must verify this location after upgrade.

Performance and Safety

  • audit_tree enforces a 60-second time budget, flagging truncated results in the summary if large codebases exceed the limit.
  • Symlinked files and FIFOs are excluded from file walks to prevent directory traversal and hangs during audits.
  • Large stylesheets process approximately 50x faster due to optimized span lookups; a 1.1MB stylesheet now audits in under 2 seconds.