Skip to content

stop-guard.mjs

  • Event: Stop
  • Type: wall: blocks the action and says why (exits with code 2)

BLOCKS closing (once) if something is missing: the day’s devlog, verify-build after editing code, or mobile ui-verify after touching UI. It also warns about heavy assets added in the last 24 h (images over 500 KB, fonts without woff2, large videos).

See the code of stop-guard.mjs on GitHub