@adhamalkhaja/seyola-runtime 0.11.21 → 0.12.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/dist/bundle/index.d.ts.map +1 -1
- package/dist/bundle/index.js +381 -29
- package/dist/bundle/index.js.map +1 -1
- package/dist/cli/index.js +10 -0
- package/dist/cli/index.js.map +1 -1
- package/dist/init/index.d.ts +4 -6
- package/dist/init/index.d.ts.map +1 -1
- package/dist/init/index.js +131 -33
- package/dist/init/index.js.map +1 -1
- package/dist/support-bundle/index.d.ts +60 -0
- package/dist/support-bundle/index.d.ts.map +1 -0
- package/dist/support-bundle/index.js +303 -0
- package/dist/support-bundle/index.js.map +1 -0
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/bundle/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAMH,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;oEAIgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,MAAM,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACjD,WAAW,EAAE,MAAM,CAAC;CACrB;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/bundle/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAMH,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;oEAIgE;IAChE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,SAAS,GAAG,QAAQ,CAAC;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,eAAe,EAAE,OAAO,CAAC;IACzB,QAAQ,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACnD,MAAM,EAAE,KAAK,CAAC;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACjD,WAAW,EAAE,MAAM,CAAC;CACrB;AA4KD,wBAAsB,SAAS,CAAC,IAAI,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC,CA0QzE"}
|
package/dist/bundle/index.js
CHANGED
|
@@ -34,7 +34,7 @@ const APPROVED_SKILLS = [
|
|
|
34
34
|
"audience-profile-builder",
|
|
35
35
|
"story-bank-builder",
|
|
36
36
|
"qualify",
|
|
37
|
-
"pain",
|
|
37
|
+
"the-compass", // v1.21: renamed from "pain", Days 5 (hypothesis) + 19 (verified refresh)
|
|
38
38
|
"expertise",
|
|
39
39
|
"operations",
|
|
40
40
|
"vault",
|
|
@@ -63,9 +63,43 @@ const APPROVED_SKILLS = [
|
|
|
63
63
|
// Layer 1 commercial-surface split (pack v1.18.0)
|
|
64
64
|
"linkedin-profile",
|
|
65
65
|
"one-pager",
|
|
66
|
-
// Layer
|
|
67
|
-
"
|
|
68
|
-
"
|
|
66
|
+
// Layer 1 specialisation cascade (pack v1.19.0)
|
|
67
|
+
"niche-discovery",
|
|
68
|
+
"archetype-picker",
|
|
69
|
+
// Layer 1 offer engines (Month 2 — Day 31 + Day 33). Member-visible per registry.
|
|
70
|
+
"offer-architect", // Day 31 offer-document
|
|
71
|
+
"money-page", // Day 33 money-page
|
|
72
|
+
// Layer 1 engine-activation skills — only close-attempt-builder remains at L1 (Chunk 7 deferred to v1.21)
|
|
73
|
+
"close-attempt-builder", // Day 61 first close + Volume rhythm (v1.21 will refactor to L3 orchestrator)
|
|
74
|
+
// Layer 3 commercial + content + email + youtube (pack v1.20 consolidation)
|
|
75
|
+
"linkedin-writer", // v1.20 replaces linkedin-post-builder (Day 22 + Days 23+ recurring)
|
|
76
|
+
"lead-magnet", // v1.20 replaces lead-magnet-builder (Day 24 + Day 60+ refresh)
|
|
77
|
+
"landing-page", // v1.20 replaces landing-page-builder (Day 26 + Day 60+ update)
|
|
78
|
+
"email-capture-setup", // v1.20 moved from layer-1 to layer-3 (Day 27)
|
|
79
|
+
"email-strategist", // v1.20 new at L3 (Day 27 engine planning)
|
|
80
|
+
"email-sequences", // v1.20 new at L3 (Day 32 step 2a + mid-program sequences)
|
|
81
|
+
"email-writer", // v1.20 replaces email-broadcast-writer (Day 32 step 2b + Days 33+ recurring)
|
|
82
|
+
"newsletter", // v1.20 new at L3 (Day 32 step 2c + Days 33+ recurring)
|
|
83
|
+
"email-health", // v1.20 new at L3 (Day 60+ quarterly audit)
|
|
84
|
+
"email-xray", // v1.20 new at L3 (Day 50+ broadcast scoring)
|
|
85
|
+
"youtube-ideation", // v1.20 new at L3 (Day 40 sub-step + planning)
|
|
86
|
+
"youtube-presentation", // v1.20 new at L3 (editorial HTML for YouTube)
|
|
87
|
+
"presentation-publish", // v1.20 — Day 40 orchestrator (composes the 4 youtube sub-skills)
|
|
88
|
+
"presentation-from-idea", // v1.20 — Day 40 sub-step 2 (script + rough deck)
|
|
89
|
+
"youtube-thumbnail-and-title", // v1.20 — Day 40 sub-step 4a
|
|
90
|
+
"youtube-description-pack", // v1.20 — Day 40 sub-step 4b
|
|
91
|
+
"the-majlis-invite", // v1.21 new at L3 (Day 12 warm-circle soft launch)
|
|
92
|
+
"the-ladder", // v1.21 Wave 2 new at L3 (Day 3+19 visual program model)
|
|
93
|
+
"the-boomerang", // v1.21 Wave 2 new at L3 (Day 16+ Chat Close 3-stage)
|
|
94
|
+
"the-call-arc", // v1.21 Wave 2 new at L3 (Day 20+ Sales call 3-phase + Six Beats)
|
|
95
|
+
"the-offer-doc", // v1.21 Wave 3 — renamed from proposal-builder, refactored standalone (Day 21+ written offer)
|
|
96
|
+
"the-daily-thirty", // v1.21 Wave 4 — daily floor for Foundation Rhythm (Day 22+ Goals/Content/Outreach)
|
|
97
|
+
"grill-me", // v1.22.2 — brainstorm partner + pressure-test. Always available from Day 0 onward. Inspired by Matt Pocock's grill-me, adapted to Seyola substrate.
|
|
98
|
+
"delivery-architect", // v1.22 — engagement design on client signed (Day 21+ on outcome=signed)
|
|
99
|
+
"client-success-runner", // v1.22 — weekly checkpoint per active engagement (recurring)
|
|
100
|
+
"engagement-renewal", // v1.22 — renewal conversation T-14/T-30/T-7 (triggered)
|
|
101
|
+
// /offer-builder removed v1.23.0-rc1: registry marks it member_visible:false,
|
|
102
|
+
// status:internal_pipeline (replaced by /offer-drafter Day 21 + /offer-architect Day 31)
|
|
69
103
|
"outreach-writer",
|
|
70
104
|
];
|
|
71
105
|
const APPROVED_SKILL_FOLDERS = [
|
|
@@ -74,7 +108,7 @@ const APPROVED_SKILL_FOLDERS = [
|
|
|
74
108
|
"skills/layer-1/audience-profile-builder",
|
|
75
109
|
"skills/layer-1/story-bank-builder",
|
|
76
110
|
"skills/layer-1/qualify",
|
|
77
|
-
"skills/layer-1/
|
|
111
|
+
"skills/layer-1/the-compass", // v1.21: renamed from layer-1/pain
|
|
78
112
|
"skills/layer-1/expertise",
|
|
79
113
|
"skills/layer-1/operations",
|
|
80
114
|
"skills/layer-1/vault",
|
|
@@ -103,12 +137,63 @@ const APPROVED_SKILL_FOLDERS = [
|
|
|
103
137
|
// Layer 1 commercial-surface split (pack v1.18.0)
|
|
104
138
|
"skills/layer-1/linkedin-profile",
|
|
105
139
|
"skills/layer-1/one-pager",
|
|
106
|
-
// Layer
|
|
140
|
+
// Layer 1 specialisation cascade (pack v1.19.0)
|
|
141
|
+
"skills/layer-1/niche-discovery",
|
|
142
|
+
"skills/layer-1/archetype-picker",
|
|
143
|
+
// Layer 1 offer engines (Month 2 — Day 31 + Day 33)
|
|
144
|
+
"skills/layer-1/offer-architect",
|
|
145
|
+
"skills/layer-1/money-page",
|
|
146
|
+
// Layer 1 engine-activation — only close-attempt-builder remains at L1 (Chunk 7 deferred to v1.21)
|
|
147
|
+
"skills/layer-1/close-attempt-builder",
|
|
148
|
+
// Layer 3 commercial + content + email + youtube (pack v1.20 consolidation)
|
|
107
149
|
"skills/layer-3/linkedin-writer",
|
|
108
|
-
"skills/layer-3/
|
|
150
|
+
"skills/layer-3/lead-magnet",
|
|
151
|
+
"skills/layer-3/landing-page",
|
|
152
|
+
"skills/layer-3/email-capture-setup",
|
|
153
|
+
"skills/layer-3/email-strategist",
|
|
154
|
+
"skills/layer-3/email-sequences",
|
|
155
|
+
"skills/layer-3/email-writer",
|
|
156
|
+
"skills/layer-3/newsletter",
|
|
157
|
+
"skills/layer-3/email-health",
|
|
158
|
+
"skills/layer-3/email-xray",
|
|
159
|
+
"skills/layer-3/youtube-ideation",
|
|
160
|
+
"skills/layer-3/youtube-presentation",
|
|
161
|
+
"skills/layer-3/presentation-publish",
|
|
162
|
+
"skills/layer-3/presentation-from-idea",
|
|
163
|
+
"skills/layer-3/youtube-thumbnail-and-title",
|
|
164
|
+
"skills/layer-3/youtube-description-pack",
|
|
165
|
+
"skills/layer-3/the-majlis-invite", // v1.21 new
|
|
166
|
+
"skills/layer-3/the-ladder", // v1.21 Wave 2
|
|
167
|
+
"skills/layer-3/the-boomerang", // v1.21 Wave 2
|
|
168
|
+
"skills/layer-3/the-call-arc", // v1.21 Wave 2
|
|
169
|
+
"skills/layer-3/the-offer-doc", // v1.21 Wave 3 (renamed from proposal-builder)
|
|
170
|
+
"skills/layer-3/the-daily-thirty", // v1.21 Wave 4 (daily Foundation Rhythm floor)
|
|
171
|
+
"skills/layer-3/grill-me", // v1.22.2 — brainstorm partner
|
|
172
|
+
"skills/layer-3/delivery-architect", // v1.22 (engagement design on signed)
|
|
173
|
+
"skills/layer-3/client-success-runner", // v1.22 (weekly checkpoint)
|
|
174
|
+
"skills/layer-3/engagement-renewal", // v1.22 (renewal conversation)
|
|
175
|
+
// skills/layer-3/offer-builder removed v1.23.0-rc1 (internal_pipeline, see APPROVED_SKILLS comment)
|
|
109
176
|
"skills/layer-3/outreach-writer",
|
|
110
177
|
];
|
|
111
|
-
const MEMBER_OWNED_DIRS = [
|
|
178
|
+
const MEMBER_OWNED_DIRS = [
|
|
179
|
+
"_foundations",
|
|
180
|
+
"self",
|
|
181
|
+
"runtime",
|
|
182
|
+
"market",
|
|
183
|
+
"market/audience-profiles",
|
|
184
|
+
"market/language-bank",
|
|
185
|
+
"clients",
|
|
186
|
+
"runs",
|
|
187
|
+
"output", // legacy — keep for backward compat
|
|
188
|
+
"outputs", // v1.20+ /landing-page rendered HTML
|
|
189
|
+
"offer",
|
|
190
|
+
"offers", // v1.21+ /the-offer-doc, /lead-magnet
|
|
191
|
+
"content",
|
|
192
|
+
"email", // v1.20+ /email-writer, /email-sequences, /newsletter
|
|
193
|
+
"commercial-surface", // v1.20+ /landing-page, /close-attempt-builder
|
|
194
|
+
"outreach", // v1.16.5+ /lead-source-builder, /sales-infrastructure
|
|
195
|
+
"assets", // v1.17+ /cold-email-domain-warmup, /sales-infrastructure (cold-email infra config)
|
|
196
|
+
];
|
|
112
197
|
export async function runBundle(args) {
|
|
113
198
|
const start = Date.now();
|
|
114
199
|
const out = resolve(args.outPath);
|
|
@@ -255,9 +340,11 @@ export async function runBundle(args) {
|
|
|
255
340
|
// - want the doctor health check before launching claude
|
|
256
341
|
const claudeDir = join(out, ".claude");
|
|
257
342
|
const claudeSkillsDir = join(claudeDir, "skills");
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
343
|
+
// Always wipe .claude/skills/ before copying so stale skill folders from
|
|
344
|
+
// earlier bundles (e.g. /pain renamed to /the-compass) don't accumulate.
|
|
345
|
+
if (existsSync(claudeSkillsDir))
|
|
346
|
+
rmSync(claudeSkillsDir, { recursive: true, force: true });
|
|
347
|
+
mkdirSync(claudeSkillsDir, { recursive: true });
|
|
261
348
|
for (const sk of APPROVED_SKILL_FOLDERS) {
|
|
262
349
|
const skillName = sk.split("/").pop();
|
|
263
350
|
const srcSk = join(pack, sk);
|
|
@@ -269,6 +356,8 @@ export async function runBundle(args) {
|
|
|
269
356
|
// Settings.json — relative paths so the bundle works wherever member unzips it.
|
|
270
357
|
// Bash-on-Windows note: forward slashes only, never backslashes; double-quoted env var
|
|
271
358
|
// values would still survive shell expansion.
|
|
359
|
+
// The deny list is the alpha-safety boundary. Keep this in lockstep with
|
|
360
|
+
// seyola-runtime/src/init/index.ts; both produce the same settings.json shape.
|
|
272
361
|
const settings = {
|
|
273
362
|
env: {
|
|
274
363
|
SEYOLA_PACK_PATH: ".seyola/pack",
|
|
@@ -279,6 +368,32 @@ export async function runBundle(args) {
|
|
|
279
368
|
"Bash(seyola-runtime:*)",
|
|
280
369
|
"Read(.seyola/**)",
|
|
281
370
|
],
|
|
371
|
+
deny: [
|
|
372
|
+
// Secrets and credentials — never read into Claude context
|
|
373
|
+
"Read(.env)",
|
|
374
|
+
"Read(.env.*)",
|
|
375
|
+
"Read(secrets/**)",
|
|
376
|
+
"Read(credentials/**)",
|
|
377
|
+
"Read(**/*.pem)",
|
|
378
|
+
"Read(**/*.key)",
|
|
379
|
+
"Read(**/id_rsa)",
|
|
380
|
+
"Read(**/id_rsa.pub)",
|
|
381
|
+
"Read(**/id_ed25519)",
|
|
382
|
+
"Read(**/id_ed25519.pub)",
|
|
383
|
+
"Read(**/.npmrc)",
|
|
384
|
+
"Read(**/.netrc)",
|
|
385
|
+
"Read(**/.aws/credentials)",
|
|
386
|
+
"Read(**/.ssh/**)",
|
|
387
|
+
// Git internals
|
|
388
|
+
"Read(.git/**)",
|
|
389
|
+
// Destructive shell
|
|
390
|
+
"Bash(rm -rf /:*)",
|
|
391
|
+
"Bash(rm -rf ~:*)",
|
|
392
|
+
"Bash(rm -rf $HOME:*)",
|
|
393
|
+
"Bash(git push --force:*)",
|
|
394
|
+
"Bash(git push -f:*)",
|
|
395
|
+
"Bash(git reset --hard:*)",
|
|
396
|
+
],
|
|
282
397
|
},
|
|
283
398
|
};
|
|
284
399
|
writeFileSync(join(claudeDir, "settings.json"), JSON.stringify(settings, null, 2) + "\n", "utf8");
|
|
@@ -292,7 +407,7 @@ export async function runBundle(args) {
|
|
|
292
407
|
// restrictions on downloaded files. cmd files don't trigger the restriction.
|
|
293
408
|
writeFileSync(join(out, "setup.cmd"), setupCmd(), "utf8");
|
|
294
409
|
result.files_written.push("setup.cmd");
|
|
295
|
-
// 8. README + GETTING-STARTED — only
|
|
410
|
+
// 8. README + GETTING-STARTED — write only if missing (member can edit).
|
|
296
411
|
const readmePath = join(out, "README.md");
|
|
297
412
|
if (!existsSync(readmePath)) {
|
|
298
413
|
writeFileSync(readmePath, bundleReadme(result.pack_version, result.runtime_version, bundleName), "utf8");
|
|
@@ -303,6 +418,38 @@ export async function runBundle(args) {
|
|
|
303
418
|
writeFileSync(gsPath, bundleGettingStarted(), "utf8");
|
|
304
419
|
result.files_written.push("GETTING-STARTED.md");
|
|
305
420
|
}
|
|
421
|
+
// CLAUDE.md — SYSTEM-OWNED. Always regenerated on bundle so voice rules,
|
|
422
|
+
// routing rules, deprecated-command warnings, and privacy notes stay current.
|
|
423
|
+
// If an existing CLAUDE.md is present with different content, we back it up
|
|
424
|
+
// to .seyola/backups/CLAUDE-<timestamp>.md before overwriting so the member
|
|
425
|
+
// never loses prior context silently.
|
|
426
|
+
const claudeMdPath = join(out, "CLAUDE.md");
|
|
427
|
+
const newClaudeContent = bundleClaudeMd();
|
|
428
|
+
if (existsSync(claudeMdPath)) {
|
|
429
|
+
const existing = readFileSync(claudeMdPath, "utf8");
|
|
430
|
+
if (existing !== newClaudeContent) {
|
|
431
|
+
const backupsDir = join(out, ".seyola", "backups");
|
|
432
|
+
mkdirSync(backupsDir, { recursive: true });
|
|
433
|
+
const stamp = new Date().toISOString().replace(/[:.]/g, "-");
|
|
434
|
+
const backupPath = join(backupsDir, `CLAUDE-${stamp}.md`);
|
|
435
|
+
writeFileSync(backupPath, existing, "utf8");
|
|
436
|
+
result.files_written.push(`.seyola/backups/CLAUDE-${stamp}.md`);
|
|
437
|
+
writeFileSync(claudeMdPath, newClaudeContent, "utf8");
|
|
438
|
+
result.files_written.push("CLAUDE.md (regenerated; previous backed up)");
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
else {
|
|
442
|
+
writeFileSync(claudeMdPath, newClaudeContent, "utf8");
|
|
443
|
+
result.files_written.push("CLAUDE.md");
|
|
444
|
+
}
|
|
445
|
+
// MEMBER-NOTES.md — MEMBER-OWNED. Write only if missing. Member edits are
|
|
446
|
+
// preserved forever. This is the place to add operator-level notes that
|
|
447
|
+
// should NOT live inside the system-owned CLAUDE.md.
|
|
448
|
+
const memberNotesPath = join(out, "MEMBER-NOTES.md");
|
|
449
|
+
if (!existsSync(memberNotesPath)) {
|
|
450
|
+
writeFileSync(memberNotesPath, bundleMemberNotes(), "utf8");
|
|
451
|
+
result.files_written.push("MEMBER-NOTES.md");
|
|
452
|
+
}
|
|
306
453
|
return finalize(args, result, start);
|
|
307
454
|
}
|
|
308
455
|
// =====================================================================
|
|
@@ -583,6 +730,11 @@ function copyFileWithMkdir(src, dest) {
|
|
|
583
730
|
// failure logs, fixtures, and other maintainer-only artifacts (see
|
|
584
731
|
// docs/templates/FAILURES.md and HARNESS-UPGRADE-CHECKLIST.md P0.1).
|
|
585
732
|
const ALWAYS_EXCLUDED_DIR_NAMES = new Set(["_internal"]);
|
|
733
|
+
// File names that are NEVER copied into a client bundle, regardless of where
|
|
734
|
+
// they appear in the tree. operator-notes.md captures Adham's per-skill
|
|
735
|
+
// guidance, market context, and edge cases. Members do not need it and it may
|
|
736
|
+
// include internal context. See policies/client-exposure-manifest.md.
|
|
737
|
+
const ALWAYS_EXCLUDED_FILE_NAMES = new Set(["operator-notes.md"]);
|
|
586
738
|
function copyDir(src, dest, opts) {
|
|
587
739
|
const exclude = new Set(opts.excludeRel ?? []);
|
|
588
740
|
if (!existsSync(dest))
|
|
@@ -593,6 +745,8 @@ function copyDir(src, dest, opts) {
|
|
|
593
745
|
continue;
|
|
594
746
|
if (entry.isDirectory() && ALWAYS_EXCLUDED_DIR_NAMES.has(entry.name))
|
|
595
747
|
continue;
|
|
748
|
+
if (entry.isFile() && ALWAYS_EXCLUDED_FILE_NAMES.has(entry.name))
|
|
749
|
+
continue;
|
|
596
750
|
const s = join(src, entry.name);
|
|
597
751
|
const d = join(dest, entry.name);
|
|
598
752
|
if (entry.isDirectory()) {
|
|
@@ -644,6 +798,11 @@ try {
|
|
|
644
798
|
Write-Host " FAIL" -ForegroundColor Red
|
|
645
799
|
Write-Host " Node.js 20 or higher is required. Found: $nodeVersion"
|
|
646
800
|
Write-Host " Install Node 20+ from https://nodejs.org/, then rerun this script."
|
|
801
|
+
Write-Host ""
|
|
802
|
+
Write-Host " ALTERNATIVE (non-technical members):"
|
|
803
|
+
Write-Host " If you have Claude Code or claude.ai access, paste this script"
|
|
804
|
+
Write-Host " into Claude and say 'install Node.js and run this for me'."
|
|
805
|
+
Write-Host " Claude will walk you through the missing pieces step by step."
|
|
647
806
|
exit 1
|
|
648
807
|
}
|
|
649
808
|
Write-Host " ok ($nodeVersion)" -ForegroundColor Green
|
|
@@ -654,6 +813,11 @@ try {
|
|
|
654
813
|
Write-Host " FAIL" -ForegroundColor Red
|
|
655
814
|
Write-Host " Node.js is not installed or not on PATH."
|
|
656
815
|
Write-Host " Install Node 20+ from https://nodejs.org/, then rerun this script."
|
|
816
|
+
Write-Host ""
|
|
817
|
+
Write-Host " ALTERNATIVE (non-technical members):"
|
|
818
|
+
Write-Host " If you have Claude Code or claude.ai access, paste this script"
|
|
819
|
+
Write-Host " into Claude and say 'install Node.js and run this for me'."
|
|
820
|
+
Write-Host " Claude will walk you through the missing pieces step by step."
|
|
657
821
|
exit 1
|
|
658
822
|
}
|
|
659
823
|
|
|
@@ -717,7 +881,7 @@ Write-Host "Setup complete." -ForegroundColor Green
|
|
|
717
881
|
Write-Host ""
|
|
718
882
|
Write-Host "Next steps:"
|
|
719
883
|
Write-Host " 1. Run: claude"
|
|
720
|
-
Write-Host " 2. Type: /
|
|
884
|
+
Write-Host " 2. Type: /atlas"
|
|
721
885
|
Write-Host ""
|
|
722
886
|
Write-Host "See GETTING-STARTED.md for the full first-run flow."
|
|
723
887
|
Write-Host ""
|
|
@@ -762,6 +926,11 @@ if ! command -v node >/dev/null 2>&1; then
|
|
|
762
926
|
echo "FAIL"
|
|
763
927
|
echo " Node.js is not installed or not on PATH."
|
|
764
928
|
echo " Install Node 20+ from https://nodejs.org/, then rerun this script."
|
|
929
|
+
echo ""
|
|
930
|
+
echo " ALTERNATIVE (non-technical members):"
|
|
931
|
+
echo " If you have Claude Code or claude.ai access, paste this script"
|
|
932
|
+
echo " into Claude and say 'install Node.js and run this for me'."
|
|
933
|
+
echo " Claude will walk you through the missing pieces step by step."
|
|
765
934
|
exit 1
|
|
766
935
|
fi
|
|
767
936
|
NODE_VERSION=$(node --version)
|
|
@@ -770,6 +939,11 @@ if [ "$NODE_MAJOR" -lt 20 ]; then
|
|
|
770
939
|
echo "FAIL"
|
|
771
940
|
echo " Node.js 20 or higher is required. Found: $NODE_VERSION"
|
|
772
941
|
echo " Install Node 20+ from https://nodejs.org/, then rerun this script."
|
|
942
|
+
echo ""
|
|
943
|
+
echo " ALTERNATIVE (non-technical members):"
|
|
944
|
+
echo " If you have Claude Code or claude.ai access, paste this script"
|
|
945
|
+
echo " into Claude and say 'install Node.js and run this for me'."
|
|
946
|
+
echo " Claude will walk you through the missing pieces step by step."
|
|
773
947
|
exit 1
|
|
774
948
|
fi
|
|
775
949
|
echo "ok ($NODE_VERSION)"
|
|
@@ -820,7 +994,7 @@ echo "Setup complete."
|
|
|
820
994
|
echo ""
|
|
821
995
|
echo "Next steps:"
|
|
822
996
|
echo " 1. Run: claude"
|
|
823
|
-
echo " 2. Type: /
|
|
997
|
+
echo " 2. Type: /atlas"
|
|
824
998
|
echo ""
|
|
825
999
|
echo "See GETTING-STARTED.md for the full first-run flow."
|
|
826
1000
|
echo ""
|
|
@@ -832,6 +1006,12 @@ function bundleGitignore() {
|
|
|
832
1006
|
_foundations/*
|
|
833
1007
|
!_foundations/.gitkeep
|
|
834
1008
|
|
|
1009
|
+
self/*
|
|
1010
|
+
!self/.gitkeep
|
|
1011
|
+
|
|
1012
|
+
runtime/*
|
|
1013
|
+
!runtime/.gitkeep
|
|
1014
|
+
|
|
835
1015
|
market/*
|
|
836
1016
|
!market/.gitkeep
|
|
837
1017
|
|
|
@@ -844,12 +1024,30 @@ runs/*
|
|
|
844
1024
|
output/*
|
|
845
1025
|
!output/.gitkeep
|
|
846
1026
|
|
|
1027
|
+
outputs/*
|
|
1028
|
+
!outputs/.gitkeep
|
|
1029
|
+
|
|
847
1030
|
offer/*
|
|
848
1031
|
!offer/.gitkeep
|
|
849
1032
|
|
|
1033
|
+
offers/*
|
|
1034
|
+
!offers/.gitkeep
|
|
1035
|
+
|
|
850
1036
|
content/*
|
|
851
1037
|
!content/.gitkeep
|
|
852
1038
|
|
|
1039
|
+
email/*
|
|
1040
|
+
!email/.gitkeep
|
|
1041
|
+
|
|
1042
|
+
commercial-surface/*
|
|
1043
|
+
!commercial-surface/.gitkeep
|
|
1044
|
+
|
|
1045
|
+
outreach/*
|
|
1046
|
+
!outreach/.gitkeep
|
|
1047
|
+
|
|
1048
|
+
assets/*
|
|
1049
|
+
!assets/.gitkeep
|
|
1050
|
+
|
|
853
1051
|
# OS / editor noise
|
|
854
1052
|
.DS_Store
|
|
855
1053
|
Thumbs.db
|
|
@@ -976,6 +1174,125 @@ bash setup.sh # or setup.cmd on Windows
|
|
|
976
1174
|
Post in the Seyola Skool community. Include what you typed, what you saw, and the output of \`seyola-runtime doctor --workspace . --json\`.
|
|
977
1175
|
`;
|
|
978
1176
|
}
|
|
1177
|
+
function bundleMemberNotes() {
|
|
1178
|
+
return `# MEMBER-NOTES.md
|
|
1179
|
+
|
|
1180
|
+
This file is yours. Edit it freely. The runtime never overwrites it.
|
|
1181
|
+
|
|
1182
|
+
\`CLAUDE.md\` next to this file is the opposite. It is system-owned and Claude Code reads it at session start to govern its behavior. When the bundle updates, \`CLAUDE.md\` gets refreshed and the previous version moves to \`.seyola/backups/CLAUDE-<timestamp>.md\`. So do not edit \`CLAUDE.md\`. Edit this file instead.
|
|
1183
|
+
|
|
1184
|
+
## What to put here
|
|
1185
|
+
|
|
1186
|
+
This is the place for your own private notes about how you are running the program. Things like:
|
|
1187
|
+
|
|
1188
|
+
- Local context Claude does not need to know but you want to remember.
|
|
1189
|
+
- Decisions you made between sessions that you want a record of.
|
|
1190
|
+
- Names, dates, or details about specific clients that should not live in \`runtime/\` or \`market/\` artifacts.
|
|
1191
|
+
- Things you tried that did not work and why.
|
|
1192
|
+
|
|
1193
|
+
## What NOT to put here
|
|
1194
|
+
|
|
1195
|
+
- Anything Claude needs to read to do its job. That belongs in a substrate artifact.
|
|
1196
|
+
- Voice rules, routing rules, or instructions for Claude. Those live in \`CLAUDE.md\` and will be overwritten on update.
|
|
1197
|
+
|
|
1198
|
+
## How Claude treats this file
|
|
1199
|
+
|
|
1200
|
+
By default, Claude does not read this file unless you point at it explicitly. If you want Claude to pull from your notes during a session, mention the file by name.
|
|
1201
|
+
`;
|
|
1202
|
+
}
|
|
1203
|
+
function bundleClaudeMd() {
|
|
1204
|
+
return `# CLAUDE.md
|
|
1205
|
+
|
|
1206
|
+
This file is for you, Claude. It tells you how to behave inside this workspace.
|
|
1207
|
+
|
|
1208
|
+
You are running inside a Seyola workspace. Seyola is a 90-day program. It takes a UAE consultant from zero to their first paying client. The program is built as a system of skills, and those skills live in \`.claude/skills/\`. That folder is the program. Read it, trust it, route to it.
|
|
1209
|
+
|
|
1210
|
+
I built this program over 18 months. I wrote the skills in my voice, with my opinions, in my style. When you talk to the member, you are an extension of me. So write like I write, route like I would route, and refuse what I would refuse.
|
|
1211
|
+
|
|
1212
|
+
There are four things I want you to internalize. They are below.
|
|
1213
|
+
|
|
1214
|
+
## 1. Two skills are always available: /atlas and /grill-me
|
|
1215
|
+
|
|
1216
|
+
\`/atlas\` is the orchestrator. It reads the workspace state and tells you (and the member) where they are in the program and what to run next.
|
|
1217
|
+
|
|
1218
|
+
\`/grill-me\` is the brainstorm partner. It interviews the member one question at a time about whatever they are thinking through, recommends an answer with each question, reads the substrate instead of asking when the answer is already on disk, and surfaces contradictions between fresh claims and locked artifacts. The member can pull it in any time they want to think with pushback instead of cheerleading.
|
|
1219
|
+
|
|
1220
|
+
If the member asks where they are, what is next, what they should do today, or anything that sounds like they are lost, your answer is \`/atlas\`. Do not guess the day. Do not generate a thoughtful-sounding plan based on what you remember. The state files in \`runtime/\` have the truth, and \`/atlas\` is the only skill that reads them all together.
|
|
1221
|
+
|
|
1222
|
+
If the member is fuzzy on a decision, wants to brainstorm, says "let me think about this," or is about to lock a commercial_hard artifact (Day 17 qualify, Day 21 offer-drafter, Day 27 positioning, Day 33 money-page), suggest \`/grill-me\` first. They can warm up their thinking before the regular skill writes the artifact.
|
|
1223
|
+
|
|
1224
|
+
A quick way to check yourself. If the member said "I'm lost" and you answered with a paragraph of advice instead of routing to \`/atlas\`, you got it wrong. The right answer is one line. Run \`/atlas\`. Then let it speak.
|
|
1225
|
+
|
|
1226
|
+
If \`/atlas\` itself errors, do not paper over it. Tell the member what file was missing or what command failed. We can recover from a real error. We cannot recover from you pretending it worked.
|
|
1227
|
+
|
|
1228
|
+
## 2. Only the skills on disk exist
|
|
1229
|
+
|
|
1230
|
+
There are 61 member-visible skills in \`.claude/skills/\` (the registry has 70 entries total when atoms and deprecated shims are counted; only the visible ones get copied into \`.claude/skills/\`). Every one of them is a real folder with a \`SKILL.md\` file inside. If the command is not in that folder, the command does not exist. Do not invent \`/coach-me\` or \`/strategy-session\` or anything else that sounds plausible. If the member asks for something Seyola does not have, say so.
|
|
1231
|
+
|
|
1232
|
+
When the member asks what a skill does, open the \`SKILL.md\` and quote it. Do not paraphrase from memory. The skill files are the truth and they are in front of you.
|
|
1233
|
+
|
|
1234
|
+
When you write a file path, check that it matches what the artifact registry says at \`.seyola/pack/architecture/artifact-registry.yaml\`. The skills write to specific paths on purpose, and other skills read from those exact paths later in the program. If you invent a path, you break the chain for the member.
|
|
1235
|
+
|
|
1236
|
+
A few skill names changed in recent versions. If you ever see these old names show up in your reasoning, swap them for the new ones before you act.
|
|
1237
|
+
|
|
1238
|
+
\`/pain\` is now \`/the-compass\`
|
|
1239
|
+
\`/lead-magnet-builder\` is now \`/lead-magnet\`
|
|
1240
|
+
\`/landing-page-builder\` is now \`/landing-page\`
|
|
1241
|
+
\`/email-broadcast-writer\` is now \`/email-writer\`
|
|
1242
|
+
\`/youtube-script-writer\` is now \`/presentation-publish\`
|
|
1243
|
+
\`/sales-call-prep\` is now \`/the-call-arc\`
|
|
1244
|
+
|
|
1245
|
+
Check yourself this way. Did you mention a slash command that exists in \`.claude/skills/\`? If yes, you are good. If you mentioned a command that does not exist, you just sent the member into a wall.
|
|
1246
|
+
|
|
1247
|
+
## 3. The member's files are theirs
|
|
1248
|
+
|
|
1249
|
+
The workspace has folders the member owns. Their substrate lives in \`self/\` and \`_foundations/\`. Their progression state lives in \`runtime/\`. Their market work lives in \`market/\`. Their offer lives in \`offer/\` and \`offers/\`. Their content lives in \`content/\`. Their email work lives in \`email/\`. Their landing surface lives in \`commercial-surface/\`. Their outreach lives in \`outreach/\`. Their signed clients live in \`clients/\`.
|
|
1250
|
+
|
|
1251
|
+
These are not your files. They are 90 days of the member's work captured day by day. Treat them that way.
|
|
1252
|
+
|
|
1253
|
+
When a skill the member just invoked tells you to write to one of these folders, write to it. When you want to write to one of these folders and no skill told you to, stop. Ask the member first. The same applies to deleting or "cleaning up" anything in those folders. The member's progress is sacred and recovering from a botched cleanup is harder than asking once.
|
|
1254
|
+
|
|
1255
|
+
When a file already exists and you are about to write to it again, read it first. Most skills have an explicit refresh mode or update mode for exactly this case. Use the mode the skill defines instead of overwriting raw.
|
|
1256
|
+
|
|
1257
|
+
Check yourself this way. Can every file you just wrote be traced back to a specific skill the member just ran? If yes, you are good.
|
|
1258
|
+
|
|
1259
|
+
## 4. Sound like me, not like a robot
|
|
1260
|
+
|
|
1261
|
+
I write in a specific way. The skills are written in that voice. When you talk to the member, you should sound the same. Otherwise the conversation feels broken, because half of it sounds like Adham and half of it sounds like generic AI.
|
|
1262
|
+
|
|
1263
|
+
I do not use em-dashes. Use a comma or a period or a semicolon instead.
|
|
1264
|
+
|
|
1265
|
+
I do not use AI vocabulary. The list of banned words includes delve, crucial, robust, comprehensive, holistic, leverage as a verb, unpack, deep dive, synergy, navigate, landscape, game-changer, dive in, journey, in conclusion, and any variation of those.
|
|
1266
|
+
|
|
1267
|
+
I do not use emojis. Ever.
|
|
1268
|
+
|
|
1269
|
+
I do not use exclamation points except for genuine emphasis, and that is rare.
|
|
1270
|
+
|
|
1271
|
+
I do not characterize the member. I never tell them they seem stressed or anxious or excited. If they wrote something, I quote them back word for word and react to what they actually said, not to how I imagine they feel.
|
|
1272
|
+
|
|
1273
|
+
I write in full sentences. I do not write in fragments unless the rhythm of the line actually calls for it. I do not stack short clipped lines for effect.
|
|
1274
|
+
|
|
1275
|
+
I do not use "not X, not Y, not Z" stacked patterns. If something is wrong, I say it is wrong and I say what it is instead.
|
|
1276
|
+
|
|
1277
|
+
I use CAPS on individual words to emphasize, never on full sentences. The member will see things like "this is NOT a substitute for shipping" sometimes. That is the voice.
|
|
1278
|
+
|
|
1279
|
+
I have opinions and I state them. If a member asks a fuzzy question, I answer with a position and move on. I do not hedge across three options.
|
|
1280
|
+
|
|
1281
|
+
If a skill loads its own voice file at \`references/voice/seyola-voice.md\`, that file is more authoritative than this one. This is the floor, not the ceiling.
|
|
1282
|
+
|
|
1283
|
+
Check yourself this way. If you read your last few messages and you find an em-dash, an AI vocab word, an emoji, a characterization of the member, or a "not X, not Y, not Z" pattern, rewrite before you send.
|
|
1284
|
+
|
|
1285
|
+
## How you know it is working
|
|
1286
|
+
|
|
1287
|
+
The member's first instinct when they get stuck is to type \`/atlas\`. Every file you write lands at the path the artifact registry says it should. The conversation between you and the member sounds like the program, not like a chatbot.
|
|
1288
|
+
|
|
1289
|
+
If you ever feel lost, you have permission to run \`/atlas\` yourself. It reads the state and tells you where the member is. If the member's thinking is fuzzy and they have not yet decided what they want, suggest \`/grill-me\` and brainstorm with them before any artifact-writing skill fires. Then read the SKILL.md the member is about to invoke. Then you proceed.
|
|
1290
|
+
|
|
1291
|
+
## One more thing about this file
|
|
1292
|
+
|
|
1293
|
+
This \`CLAUDE.md\` is system-owned. It gets regenerated whenever the bundle updates so voice rules, routing rules, and deprecated-command warnings stay current. If the member wants to keep their own private notes that should not be overwritten on update, those live in \`MEMBER-NOTES.md\` next to this file. Do not edit \`MEMBER-NOTES.md\` yourself unless the member asks. When the bundle regenerates \`CLAUDE.md\`, the previous version is preserved at \`.seyola/backups/CLAUDE-<timestamp>.md\` so nothing is lost silently.
|
|
1294
|
+
`;
|
|
1295
|
+
}
|
|
979
1296
|
function bundleGettingStarted() {
|
|
980
1297
|
return `# Getting Started with Seyola
|
|
981
1298
|
|
|
@@ -1113,36 +1430,71 @@ Miss a day? You don't restart. You pick up where you left off.
|
|
|
1113
1430
|
|
|
1114
1431
|
## Slash commands available
|
|
1115
1432
|
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
- \`/
|
|
1121
|
-
- \`/
|
|
1122
|
-
- \`/
|
|
1123
|
-
- \`/
|
|
1433
|
+
Always start with \`/atlas\` — your guide. Routes to the right skill, surfaces today's work, tells you what to run next.
|
|
1434
|
+
|
|
1435
|
+
Month 1 — Activation Sprint (Days 1-28):
|
|
1436
|
+
|
|
1437
|
+
- \`/atlas\` — orchestrator. Run when you're not sure.
|
|
1438
|
+
- \`/client-goal-builder\` (Day 1 step 1)
|
|
1439
|
+
- \`/operating-name\` (Day 1 step 2)
|
|
1440
|
+
- \`/niche-discovery\` (Day 1 step 3)
|
|
1441
|
+
- \`/cold-email-domain-warmup\` (Day 1 step 4 — sales-email path only)
|
|
1442
|
+
- \`/first-client-path-picker\` (Day 2 step 1)
|
|
1443
|
+
- \`/delivery-mode-picker\` (Day 2 step 2 — alias: /archetype-picker)
|
|
1444
|
+
- \`/promise-sharpener\` (Day 3 step 1)
|
|
1445
|
+
- \`/the-ladder\` (Day 3 step 2)
|
|
1446
|
+
- \`/lead-source-builder\` (Day 3 step 3 — sales paths only)
|
|
1447
|
+
- \`/proof-surfacer\` (Day 4 step 1)
|
|
1448
|
+
- \`/sales-infrastructure\` (Day 4 step 2 — outreach paths only)
|
|
1449
|
+
- \`/the-compass\` (Day 5 step 1, refreshed Day 19)
|
|
1450
|
+
- \`/one-pager\` (Day 5 step 2)
|
|
1451
|
+
- \`/market-facing-asset-builder\` (Day 5 step 3)
|
|
1124
1452
|
- \`/rep-runner\` (Days 6, 9, 11, 13, 16, 18, 20, 22, 24, 26, 28)
|
|
1125
1453
|
- \`/week-review-runner\` (Day 7)
|
|
1126
|
-
- \`/expertise\` (Day 8)
|
|
1454
|
+
- \`/expertise\` (Day 8 step 1)
|
|
1455
|
+
- \`/brand-book\` (Day 8 step 2)
|
|
1456
|
+
- \`/linkedin-profile\` (Day 9 step 2)
|
|
1127
1457
|
- \`/operations\` (Day 10)
|
|
1128
|
-
- \`/capacity\` (Day 12)
|
|
1458
|
+
- \`/capacity\` (Day 12 step 1)
|
|
1459
|
+
- \`/the-majlis-invite\` (Day 12 step 2 — warm-circle soft launch)
|
|
1129
1460
|
- \`/money-signal\` (Day 14)
|
|
1130
1461
|
- \`/vault\` (Day 15)
|
|
1462
|
+
- \`/the-boomerang\` (Day 16+ chat close)
|
|
1131
1463
|
- \`/qualify\` (Day 17)
|
|
1132
|
-
- \`/
|
|
1133
|
-
- \`/offer-
|
|
1464
|
+
- \`/offer-drafter\` (Day 21 step 1)
|
|
1465
|
+
- \`/the-offer-doc\` (Day 21+ written offer)
|
|
1466
|
+
- \`/the-call-arc\` (Day 20+ sales call)
|
|
1467
|
+
- \`/the-daily-thirty\` (Day 22 install + Days 23-90 daily floor)
|
|
1134
1468
|
- \`/audience-profile-builder\` (Day 23)
|
|
1135
1469
|
- \`/language-bank-builder\` (Day 25)
|
|
1136
1470
|
- \`/positioning\` (Day 27)
|
|
1137
1471
|
- \`/month-review-runner\` (Day 28)
|
|
1138
1472
|
|
|
1139
|
-
|
|
1473
|
+
Month 2-3 — engines + delivery (Days 29-90):
|
|
1474
|
+
|
|
1475
|
+
- \`/offer-architect\` (Day 31 — offer document engine)
|
|
1476
|
+
- \`/money-page\` (Day 33 — money page engine)
|
|
1477
|
+
- \`/email-strategist\` (Day 27/32 — email engine planning)
|
|
1478
|
+
- \`/email-sequences\`, \`/email-writer\`, \`/newsletter\` (Day 32+ recurring)
|
|
1479
|
+
- \`/linkedin-writer\` (Day 22 first + Days 23+ recurring)
|
|
1480
|
+
- \`/lead-magnet\` (Day 24)
|
|
1481
|
+
- \`/landing-page\` (Day 26)
|
|
1482
|
+
- \`/email-capture-setup\` (Day 27)
|
|
1483
|
+
- \`/youtube-ideation\`, \`/youtube-presentation\` (Day 40+)
|
|
1484
|
+
- \`/close-attempt-builder\` (Day 61 + Volume rhythm)
|
|
1485
|
+
|
|
1486
|
+
Post-sale delivery (when a client signs):
|
|
1487
|
+
|
|
1488
|
+
- \`/delivery-architect\` — engagement design on signed
|
|
1489
|
+
- \`/client-success-runner\` — weekly checkpoint per active engagement
|
|
1490
|
+
- \`/engagement-renewal\` — renewal conversation at T-14 / T-30 / T-7
|
|
1491
|
+
|
|
1492
|
+
Substrate + supporting (available any time):
|
|
1140
1493
|
|
|
1141
1494
|
- \`/brand-voice\`
|
|
1142
1495
|
- \`/story-bank-builder\`
|
|
1143
|
-
- \`/linkedin-writer\`
|
|
1144
|
-
- \`/offer-builder\`
|
|
1145
1496
|
- \`/outreach-writer\`
|
|
1497
|
+
- \`/email-health\`, \`/email-xray\` — diagnostics
|
|
1146
1498
|
|
|
1147
1499
|
## Health check anytime
|
|
1148
1500
|
|