@zero2webmaster/starter-kit 0.39.1 → 0.40.0

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # z2w-starter-kit
2
2
 
3
- **Version:** 0.39.1 | **Framework:** 2.19.0
3
+ **Version:** 0.40.0 | **Framework:** 2.19.0
4
4
 
5
5
  > Node CLI to scaffold new Z2W projects from canonical Templates + AGENTS.md.
6
6
 
@@ -135,4 +135,4 @@ Inquiries: kerry@zero2webmaster.com.
135
135
  ---
136
136
 
137
137
  *Scaffolded 2026-05-28 via the [[instantiate-z2w-project]] Claude Code skill v1; reconciled against the consolidated skill v1.1.0 (brief-first + Agent Coordination block) on 2026-05-29.*
138
- *Version: 0.39.1 | Last Updated: 2026-09-24*
138
+ *Version: 0.40.0 | Last Updated: 2026-09-30*
@@ -1,6 +1,6 @@
1
1
  import type { ProjectType, ScaffoldInputs } from "./index.js";
2
2
  import { type SubstitutionOptions } from "./substitute.js";
3
- export type StandardKey = "skill-vault" | "portable-stack" | "fathom" | "uptime-kuma" | "sentry" | "service-hosting" | "neon-careful" | "temp-files" | "agent-coordination" | "seo-baseline" | "email-service" | "moderation" | "card-path-bot-protection" | "text-size" | "test-count";
3
+ export type StandardKey = "skill-vault" | "portable-stack" | "fathom" | "uptime-kuma" | "sentry" | "service-hosting" | "neon-careful" | "temp-files" | "agent-coordination" | "seo-baseline" | "email-service" | "moderation" | "card-path-bot-protection" | "text-size" | "language" | "test-count";
4
4
  export type StandardDecisionState = "inserted-inline" | "skipped-not-applicable"
5
5
  /**
6
6
  * Applicable, rendered — and then removed again, because the audience gate
package/dist/standards.js CHANGED
@@ -29,6 +29,9 @@
29
29
  // the two-layer UGC-moderation baseline per [[moderation-system]]
30
30
  // (requested by event-engine on the bulletin 2026-07-08)
31
31
  // - text-size — always (Z2W standing org rule)
32
+ // - language — always (Kerry, 2026-09-30): write in American
33
+ // English (en-US) unless the owner asks otherwise;
34
+ // requested by financial-engine on the bulletin
32
35
  // - test-count — always (Z2W standing org rule, 2026-06-20): every
33
36
  // session reports its test count at session end in a
34
37
  // stable greppable `Tests: {n} passing` line so the
@@ -59,6 +62,7 @@ const STANDARD_ORDER = [
59
62
  "moderation",
60
63
  "card-path-bot-protection",
61
64
  "text-size",
65
+ "language",
62
66
  "test-count",
63
67
  ];
64
68
  const TITLES = {
@@ -76,6 +80,7 @@ const TITLES = {
76
80
  moderation: "Moderation baseline (user-generated content)",
77
81
  "card-path-bot-protection": "Card-path bot protection (accepts credit cards)",
78
82
  "text-size": "Text size (readability)",
83
+ language: "Language (en-US)",
79
84
  "test-count": "Test-count reporting (session end)",
80
85
  };
81
86
  const DEPLOY_TARGETS = [
@@ -307,6 +312,12 @@ function checkCardPathBotProtection(inputs) {
307
312
  function checkTextSize() {
308
313
  return { applies: true, reason: "Z2W standing org rule — applies to every project" };
309
314
  }
315
+ function checkLanguage() {
316
+ return {
317
+ applies: true,
318
+ reason: "Z2W standing org rule (2026-09-30) — every project writes in American English (en-US)",
319
+ };
320
+ }
310
321
  function checkTestCount() {
311
322
  return {
312
323
  applies: true,
@@ -698,6 +709,13 @@ const CARD_PATH_BOT_PROTECTION_BODY = `### Card-path bot protection (accepts cre
698
709
  const TEXT_SIZE_BODY = `### Text size (always)
699
710
 
700
711
  > **Readability:** per Z2W standing org rule, all public-facing pages and documents use large, easy-to-read type. Body text 18px+ baseline; headings proportionally larger; line-height ≥ 1.5.`;
712
+ // Always-on and deliberately short: it has to be read before the first reply,
713
+ // so it lives in the auto-loaded CLAUDE.md rather than in a skill. Says "the
714
+ // project owner", not a name, because an external-audience scaffold belongs to
715
+ // someone other than Kerry.
716
+ const LANGUAGE_BODY = `### Language (always — en-US)
717
+
718
+ > **Write in American English (en-US) everywhere** — replies, docs, code comments, commit messages, emails, UI copy and bulletin entries — unless the project owner asks otherwise. For example: *installment*, *organization*, *color*, *check*, *canceled* (not *instalment*, *organisation*, *colour*, *cheque*, *cancelled*).`;
701
719
  const TEST_COUNT_BODY = `### Test-count reporting (always — at session end)
702
720
 
703
721
  > **Report your test count at session end.** Per Zero2Webmaster standing org rule (2026-06-20), every session that touches code states how many tests pass on a stable, machine-greppable line: \`Tests: {n} passing\` — use the literal word \`Tests:\`, the running total your suite reports, and the word \`passing\`. Put that line in your session-end recap AND, if this project participates in the cross-project bulletin, in the \`## Recent commits\` entry you append (e.g. **\`Tests: 534 passing\`**). The phone-first command center greps this line across every project to display a portfolio-wide tally ("we've run N tests across the portfolio") — a real sales asset, and the uniform one-line format is what makes the total cheap to compute. If this project has no test suite yet, say so explicitly with \`Tests: none yet\` rather than omitting the line.
@@ -724,6 +742,7 @@ const BODIES = {
724
742
  moderation: MODERATION_BODY,
725
743
  "card-path-bot-protection": CARD_PATH_BOT_PROTECTION_BODY,
726
744
  "text-size": TEXT_SIZE_BODY,
745
+ language: LANGUAGE_BODY,
727
746
  "test-count": TEST_COUNT_BODY,
728
747
  };
729
748
  const APPLICABILITY = {
@@ -741,6 +760,7 @@ const APPLICABILITY = {
741
760
  moderation: checkModeration,
742
761
  "card-path-bot-protection": checkCardPathBotProtection,
743
762
  "text-size": checkTextSize,
763
+ language: checkLanguage,
744
764
  "test-count": checkTestCount,
745
765
  };
746
766
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zero2webmaster/starter-kit",
3
- "version": "0.39.1",
3
+ "version": "0.40.0",
4
4
  "description": "Node CLI to scaffold new Z2W projects from canonical Templates + AGENTS.md.",
5
5
  "author": {
6
6
  "name": "Dr. Kerry Kriger",