

Why
pnpm audit:blocks fails on any client JavaScript nobody approved. The approved files were listed only in the template’s own list, which every update of a project overwrites, so a project’s approved carousel kept failing the audit.
What changed
A project lists its approved files, each with who approved it and where, and the rule exceptions it keeps on purpose, each with its reason, in html/project/audit-allowlist.ts. The audit adds them to the template’s, and its hint prints the line to copy, naming that file. pnpm check:project checks the file: a missing approval or reason, or a repeat of a template entry, stops it.
Where to read more
The template-site README, “Auditing a project’s blocks”, and the front-end style guide, section 7 (JavaScript). Nothing changes on the public site: the audit is a developer’s check.
pnpm check:project
pnpm audit:blocks --package ../blocks