github miqdadbadjuber/anti-slop v4.1.0
v4.1.0: Scoped Gate & Design Tokens

one hour ago

v4.1.0 makes the Delivery Gate match the size of the change and turns design.md into a token block that antislop-ui can use directly. New pages, screens, redesigns, and full audits still get the complete report. Bounded edits get a compact one that still covers every rule they touch. antislop-pixel now writes a measured :root block with colors, type, radii, gaps, and shadows.

Added

  • A scoped Delivery Gate format for bounded edits: one component, a section tweak, a copy pass, or a code-comment cleanup. It lists every touched rule with concrete evidence, names the untouched blocks, and still forbids skipping any rule the edit can break.
  • A :root CSS custom properties block in design.md, generated by spec.py from measured evidence: background and surface colors, text colors, borders, a measured accent, font stacks, type sizes, radii, gaps, and shadows.

Changed

  • antislop-ui consumes the measured custom properties directly for colors, typography, radii, shadows, and spacing when a design.md carries the token block.
  • The full four-block report remains required for new pages, new screens, app shells, full redesigns, and full after audits.
  • spec.py numbers its sections by the data that exists, so a reference without a token block does not leave a gap.

Notes

  • The token block omits categories the measurement did not find. Nothing is filled in from a template.
  • Accent tokens come from interactive elements first. Border tokens count only borders with a real style and a width above zero.
  • The scoped format is for bounded edits only. A new page or a full audit still needs the full report.

Full Changelog: v4.0.2...v4.1.0

Don't miss a new anti-slop release

NewReleases is sending notifications on new releases.