@zero2webmaster/starter-kit 0.28.0 → 0.29.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 +2 -2
- package/dist/inventory.d.ts +14 -3
- package/dist/inventory.js +15 -3
- package/dist/standards.d.ts +1 -1
- package/dist/standards.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# z2w-starter-kit
|
|
2
2
|
|
|
3
|
-
**Version:** 0.
|
|
3
|
+
**Version:** 0.29.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.
|
|
138
|
+
*Version: 0.29.0 | Last Updated: 2026-09-08*
|
package/dist/inventory.d.ts
CHANGED
|
@@ -4,15 +4,26 @@ export declare const INVENTORY_TABLE = "projects";
|
|
|
4
4
|
/** The conflict key — the `projects/{slug}.md` filename the cron keys on. */
|
|
5
5
|
export declare const INVENTORY_CONFLICT_KEY = "slug";
|
|
6
6
|
/**
|
|
7
|
-
* The
|
|
8
|
-
*
|
|
7
|
+
* The projects holding `ecosystem_role = 'ecosystem'`. Kerry ruled and CLOSED
|
|
8
|
+
* this set at 8 on 2026-08-02. Mirrored here from the registry's
|
|
9
9
|
* `projects_ecosystem_set_closed_chk` so this CLI can assert it never scaffolds
|
|
10
|
-
*
|
|
10
|
+
* an unlisted member; the database is the enforcement point, this is the local
|
|
11
|
+
* copy. **Both must move together** — see `ecosystemRoleFor` for why a stale
|
|
12
|
+
* copy here silently DEMOTES a real `ecosystem` row rather than erroring.
|
|
11
13
|
*
|
|
12
14
|
* An `ecosystem` project's subject matter IS the other projects — it has no
|
|
13
15
|
* purpose outside the portfolio. Everything else, including the shared
|
|
14
16
|
* capability engines Kerry explicitly ruled on (`z2w-ai-engine`,
|
|
15
17
|
* `crawl-engine`, `backup-engine`, `dashboard-engine`), is `domain`.
|
|
18
|
+
*
|
|
19
|
+
* **`z2w-templates` added 2026-09-08 as the 9th, and that is an APPLICATION of
|
|
20
|
+
* Kerry's rule rather than a reopening of his ruling.** Its registry row (id
|
|
21
|
+
* 104) was not created until 2026-08-29, so it could not have been classified
|
|
22
|
+
* when he closed the set three weeks earlier — it was the only one of 100 rows
|
|
23
|
+
* left `NULL`. It holds the canonical AGENTS/Resources bodies that every other
|
|
24
|
+
* project is scaffolded FROM, which is the criterion above stated almost
|
|
25
|
+
* literally, and its authoring sibling `cursor-project-templates` was already
|
|
26
|
+
* in the set. Reversible in one `UPDATE` plus this line if Kerry disagrees.
|
|
16
27
|
*/
|
|
17
28
|
export declare const ECOSYSTEM_PROJECTS: readonly string[];
|
|
18
29
|
/**
|
package/dist/inventory.js
CHANGED
|
@@ -34,15 +34,26 @@ export const INVENTORY_TABLE = "projects";
|
|
|
34
34
|
/** The conflict key — the `projects/{slug}.md` filename the cron keys on. */
|
|
35
35
|
export const INVENTORY_CONFLICT_KEY = "slug";
|
|
36
36
|
/**
|
|
37
|
-
* The
|
|
38
|
-
*
|
|
37
|
+
* The projects holding `ecosystem_role = 'ecosystem'`. Kerry ruled and CLOSED
|
|
38
|
+
* this set at 8 on 2026-08-02. Mirrored here from the registry's
|
|
39
39
|
* `projects_ecosystem_set_closed_chk` so this CLI can assert it never scaffolds
|
|
40
|
-
*
|
|
40
|
+
* an unlisted member; the database is the enforcement point, this is the local
|
|
41
|
+
* copy. **Both must move together** — see `ecosystemRoleFor` for why a stale
|
|
42
|
+
* copy here silently DEMOTES a real `ecosystem` row rather than erroring.
|
|
41
43
|
*
|
|
42
44
|
* An `ecosystem` project's subject matter IS the other projects — it has no
|
|
43
45
|
* purpose outside the portfolio. Everything else, including the shared
|
|
44
46
|
* capability engines Kerry explicitly ruled on (`z2w-ai-engine`,
|
|
45
47
|
* `crawl-engine`, `backup-engine`, `dashboard-engine`), is `domain`.
|
|
48
|
+
*
|
|
49
|
+
* **`z2w-templates` added 2026-09-08 as the 9th, and that is an APPLICATION of
|
|
50
|
+
* Kerry's rule rather than a reopening of his ruling.** Its registry row (id
|
|
51
|
+
* 104) was not created until 2026-08-29, so it could not have been classified
|
|
52
|
+
* when he closed the set three weeks earlier — it was the only one of 100 rows
|
|
53
|
+
* left `NULL`. It holds the canonical AGENTS/Resources bodies that every other
|
|
54
|
+
* project is scaffolded FROM, which is the criterion above stated almost
|
|
55
|
+
* literally, and its authoring sibling `cursor-project-templates` was already
|
|
56
|
+
* in the set. Reversible in one `UPDATE` plus this line if Kerry disagrees.
|
|
46
57
|
*/
|
|
47
58
|
export const ECOSYSTEM_PROJECTS = [
|
|
48
59
|
"audit-engine",
|
|
@@ -53,6 +64,7 @@ export const ECOSYSTEM_PROJECTS = [
|
|
|
53
64
|
"z2w-observability-bridge",
|
|
54
65
|
"z2w-skill-vault",
|
|
55
66
|
"z2w-starter-kit",
|
|
67
|
+
"z2w-templates",
|
|
56
68
|
];
|
|
57
69
|
/**
|
|
58
70
|
* The `ecosystem_role` a given slug must hold, derived from the closed set.
|
package/dist/standards.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ export interface StandardsResolution {
|
|
|
78
78
|
* family — the safe default for anything else with `has_web_ui=true`.
|
|
79
79
|
*/
|
|
80
80
|
export declare function fathomEnvVarFor(projectType: ProjectType): string;
|
|
81
|
-
export declare const CANONICAL_COORDINATION_BLOCK_VERSION = "v0.1.
|
|
81
|
+
export declare const CANONICAL_COORDINATION_BLOCK_VERSION = "v0.1.31";
|
|
82
82
|
/**
|
|
83
83
|
* The canonical **Capture Learnings** block, emitted VERBATIM into every
|
|
84
84
|
* scaffolded `CLAUDE.md`.
|
package/dist/standards.js
CHANGED
|
@@ -475,7 +475,7 @@ const NEON_CAREFUL_BODY = `### Neon-careful (Neon Postgres)
|
|
|
475
475
|
// Two consecutive handoffs compared this constant against the DOCUMENT version
|
|
476
476
|
// and reported a "15-version gap" that did not exist — the real gap was 4. Read
|
|
477
477
|
// the `<!-- ... canonical-block vX.Y.Z -->` comment, never the `**Version:**` line.
|
|
478
|
-
export const CANONICAL_COORDINATION_BLOCK_VERSION = "v0.1.
|
|
478
|
+
export const CANONICAL_COORDINATION_BLOCK_VERSION = "v0.1.31";
|
|
479
479
|
/**
|
|
480
480
|
* The canonical **Capture Learnings** block, emitted VERBATIM into every
|
|
481
481
|
* scaffolded `CLAUDE.md`.
|
|
@@ -583,7 +583,7 @@ This project participates in the Z2W cross-project coordination bulletin.
|
|
|
583
583
|
|
|
584
584
|
**At session start:**
|
|
585
585
|
|
|
586
|
-
1. **Get a PRIVATE workspace — never do session work in the shared clone.** If a clone exists at \`~/.cache/z2w-coordination\` OR at \`~/Desktop/Zero2Webmaster/AI/Cursor Projects/z2w-agent-coordination/\`, \`cd\` there
|
|
586
|
+
1. **Get a PRIVATE workspace — never do session work in the shared clone.** If a clone exists at \`~/.cache/z2w-coordination\` OR at \`~/Desktop/Zero2Webmaster/AI/Cursor Projects/z2w-agent-coordination/\`, \`cd\` there — **since 2026-08-29 those are ONE clone: the Desktop path is a symlink to \`~/.cache/z2w-coordination\`, so \`pwd -P\` from either resolves to the same \`.git\`.** Otherwise \`git clone git@github.com:zero2webmaster/z2w-agent-coordination.git ~/.cache/z2w-coordination\`. 🔴 **NO \`--depth 1\` — that flag makes git LIE about what is published (v0.1.31).** A shallow clone keeps no history, so git cannot compute that its commits are contained in \`origin/main\` and **reports already-pushed commits as unpushed**; the shared clone once read as *"22 commits ahead of origin"* when all 22 were already on origin. Cloning this repo in full costs ~2 s. **If your clone is already shallow, \`git fetch --unshallow origin\` fixes it** — objects only, no working file, branch or commit is touched (\`agent-workspace.sh\` now does this for you). Then take a workspace of your own — \`WS="$(bash scripts/agent-workspace.sh {{slug}})"\` then \`cd "$WS"\` — and do **every read and write of this session inside \`$WS\`**. Publish at session end with \`bash scripts/publish-from-workspace.sh "{{slug}}: {summary}"\` (it commits, prints \`git show --numstat HEAD\`, then pushes \`HEAD:main\`, rebasing and retrying if another agent pushed first). **Why:** two shared working trees serving ~40 agents produced **seven concurrent-write sweeps in six weeks** — work published inside another project's commit, or silently reverted. Staging narrowly does not prevent it; a linked worktree has its own index, so the failure class is gone rather than mitigated. Costs ~0.1 s and ~8 MB. \`agent-workspace.sh\` also sets the bot commit identity and arms a \`pre-commit\` guard that makes the shared tree **refuse** commits — if you see that refusal, follow the commands it prints.
|
|
587
587
|
|
|
588
588
|
1b. **Read the LIVE canonical block, and prefer it over this file.** You are already inside the clone from step 1, so this is one command and needs no network:
|
|
589
589
|
|