@piercebarney/whs-eleventy 2026.9.28 → 2026.9.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/compliance.js CHANGED
@@ -445,7 +445,7 @@ const CHECKS = {
445
445
  // The privacy page may be a standalone src/privacy.njk or a pages.json
446
446
  // entry rendered by a src/pages/ shell — check the built output, with a
447
447
  // source fallback for when _site isn't built yet.
448
- const built = has("_site/privacy/index.html");
448
+ const built = has("_site/privacy/index.html") || has("_site/privacy.html");
449
449
  const source =
450
450
  has("src/privacy.njk") ||
451
451
  /["']slug["']\s*:\s*["']privacy["']/.test(read("src/content/pages.json") || "");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@piercebarney/whs-eleventy",
3
- "version": "2026.9.28",
3
+ "version": "2026.9.29",
4
4
  "description": "The web house style's Eleventy + Netlify tooling — the compliance sweep, the infra doctor, the link/CSP integrity check, and the a11y scan, shared by every project on the stack.",
5
5
  "bin": {
6
6
  "whs": "cli.js"
@@ -21,6 +21,22 @@ enforced, new *opt-in* chapters/capabilities, tooling-only changes — is
21
21
 
22
22
  ---
23
23
 
24
+ ## 2026-09-29 [non-breaking]
25
+
26
+ ### packages/whs-eleventy
27
+
28
+ `privacy` in `lib/compliance.js`'s built-output signal only matched a
29
+ directory-style permalink (`_site/privacy/index.html`), so a project with a
30
+ flat `privacy.html` permalink failed the chapter despite having a real,
31
+ working privacy page — the same directory-assumption class as the earlier
32
+ `check-links.js` relative-resolution fix. Now also accepts `_site/privacy.html`,
33
+ mirroring how the adjacent source-level signal in the same chapter already
34
+ carries multiple fallbacks for the same question. No `feedback/` file this
35
+ time: found and fixed while reviewing a real project's migration report, not
36
+ filed by an adopting session. Fixed in `41881c2`.
37
+
38
+ ---
39
+
24
40
  ## 2026-09-28 [non-breaking]
25
41
 
26
42
  ### packages/whs-eleventy
package/standard/core.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Web project house style — CORE (stack-agnostic)
2
2
 
3
- **Version:** 2026-09-28 · **Status:** active
3
+ **Version:** 2026-09-29 · **Status:** active
4
4
 
5
5
  This is the stack-agnostic contract every web project follows, regardless of
6
6
  framework, host, or CSS system. It says **what** must be true, with concrete
@@ -1467,7 +1467,7 @@ governs it and follow that chapter — the slugs are the index (a `<script>` →
1467
1467
  - production-url: https://example.com
1468
1468
  - content-type: tool # tool | article (article => feeds)
1469
1469
  - publishing-rate: ~5 pages/week
1470
- - standard-version: 2026-09-28 # recommended — enables standard-version drift tracking (#compliance)
1470
+ - standard-version: 2026-09-29 # recommended — enables standard-version drift tracking (#compliance)
1471
1471
  ```
1472
1472
 
1473
1473
  If the section is absent, the assistant's first action is to run the flow above