@growthub/cli 0.7.9 → 0.8.1

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.
Files changed (179) hide show
  1. package/assets/worker-kits/creative-strategist-v1/SKILL.md +95 -0
  2. package/assets/worker-kits/creative-strategist-v1/bundles/creative-strategist-v1.json +12 -2
  3. package/assets/worker-kits/creative-strategist-v1/helpers/README.md +29 -0
  4. package/assets/worker-kits/creative-strategist-v1/helpers/extract-muse-frames.sh +81 -0
  5. package/assets/worker-kits/creative-strategist-v1/helpers/grep-hooks.sh +62 -0
  6. package/assets/worker-kits/creative-strategist-v1/kit.json +20 -2
  7. package/assets/worker-kits/creative-strategist-v1/skills/README.md +23 -0
  8. package/assets/worker-kits/creative-strategist-v1/skills/frame-analysis/SKILL.md +88 -0
  9. package/assets/worker-kits/creative-strategist-v1/templates/project.md +48 -0
  10. package/assets/worker-kits/creative-strategist-v1/templates/self-eval.md +67 -0
  11. package/assets/worker-kits/creative-strategist-v1/workers/creative-strategist/CLAUDE.md +22 -0
  12. package/assets/worker-kits/growthub-agency-portal-starter-v1/.env.example +53 -0
  13. package/assets/worker-kits/growthub-agency-portal-starter-v1/QUICKSTART.md +98 -0
  14. package/assets/worker-kits/growthub-agency-portal-starter-v1/SKILL.md +89 -0
  15. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/.env.example +25 -0
  16. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/README.md +36 -0
  17. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/app/api/settings/integrations/route.js +13 -0
  18. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/app/api/workspace/route.js +27 -0
  19. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/app/globals.css +237 -0
  20. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/app/layout.jsx +14 -0
  21. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/app/page.jsx +165 -0
  22. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/app/settings/integrations/page.jsx +134 -0
  23. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/auth/index.js +21 -0
  24. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/env.js +28 -0
  25. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/integrations/growthub-connection-normalizer.js +95 -0
  26. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/integrations/index.js +178 -0
  27. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/payments/index.js +13 -0
  28. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/persistence/index.js +13 -0
  29. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/persistence/postgres.js +16 -0
  30. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/persistence/provider-managed.js +16 -0
  31. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/adapters/persistence/qstash-kv.js +16 -0
  32. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/domain/integrations.js +185 -0
  33. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/lib/domain/portal.js +16 -0
  34. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/next.config.js +10 -0
  35. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/package-lock.json +976 -0
  36. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/package.json +17 -0
  37. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/postcss.config.mjs +3 -0
  38. package/assets/worker-kits/growthub-agency-portal-starter-v1/apps/agency-portal/vercel.json +5 -0
  39. package/assets/worker-kits/growthub-agency-portal-starter-v1/brands/NEW-CLIENT.md +10 -0
  40. package/assets/worker-kits/growthub-agency-portal-starter-v1/brands/_template/brand-kit.md +27 -0
  41. package/assets/worker-kits/growthub-agency-portal-starter-v1/brands/growthub/brand-kit.md +25 -0
  42. package/assets/worker-kits/growthub-agency-portal-starter-v1/bundles/growthub-agency-portal-starter-v1.json +65 -0
  43. package/assets/worker-kits/growthub-agency-portal-starter-v1/docs/adapter-contracts.md +79 -0
  44. package/assets/worker-kits/growthub-agency-portal-starter-v1/docs/fork-sync-integration.md +32 -0
  45. package/assets/worker-kits/growthub-agency-portal-starter-v1/docs/governed-workspace-primitives.md +182 -0
  46. package/assets/worker-kits/growthub-agency-portal-starter-v1/docs/starter-kit-overview.md +30 -0
  47. package/assets/worker-kits/growthub-agency-portal-starter-v1/docs/vercel-serverless-deployment.md +46 -0
  48. package/assets/worker-kits/growthub-agency-portal-starter-v1/docs/vite-ui-shell-guide.md +24 -0
  49. package/assets/worker-kits/growthub-agency-portal-starter-v1/examples/portal-brief-sample.md +44 -0
  50. package/assets/worker-kits/growthub-agency-portal-starter-v1/examples/workspace-sample.md +10 -0
  51. package/assets/worker-kits/growthub-agency-portal-starter-v1/growthub-meta/README.md +11 -0
  52. package/assets/worker-kits/growthub-agency-portal-starter-v1/growthub-meta/kit-standard.md +16 -0
  53. package/assets/worker-kits/growthub-agency-portal-starter-v1/helpers/README.md +49 -0
  54. package/assets/worker-kits/growthub-agency-portal-starter-v1/kit.json +156 -0
  55. package/assets/worker-kits/growthub-agency-portal-starter-v1/output/README.md +13 -0
  56. package/assets/worker-kits/growthub-agency-portal-starter-v1/output-standards.md +25 -0
  57. package/assets/worker-kits/growthub-agency-portal-starter-v1/runtime-assumptions.md +15 -0
  58. package/assets/worker-kits/growthub-agency-portal-starter-v1/setup/check-deps.sh +20 -0
  59. package/assets/worker-kits/growthub-agency-portal-starter-v1/setup/verify-env.mjs +92 -0
  60. package/assets/worker-kits/growthub-agency-portal-starter-v1/skills/README.md +55 -0
  61. package/assets/worker-kits/growthub-agency-portal-starter-v1/skills.md +133 -0
  62. package/assets/worker-kits/growthub-agency-portal-starter-v1/studio/index.html +12 -0
  63. package/assets/worker-kits/growthub-agency-portal-starter-v1/studio/package-lock.json +1677 -0
  64. package/assets/worker-kits/growthub-agency-portal-starter-v1/studio/package.json +20 -0
  65. package/assets/worker-kits/growthub-agency-portal-starter-v1/studio/serve.mjs +42 -0
  66. package/assets/worker-kits/growthub-agency-portal-starter-v1/studio/src/App.jsx +162 -0
  67. package/assets/worker-kits/growthub-agency-portal-starter-v1/studio/src/app.css +138 -0
  68. package/assets/worker-kits/growthub-agency-portal-starter-v1/studio/src/main.jsx +10 -0
  69. package/assets/worker-kits/growthub-agency-portal-starter-v1/studio/vite.config.js +8 -0
  70. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/agent-contract.md +9 -0
  71. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/client-onboarding-plan.md +56 -0
  72. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/deployment-handoff.md +61 -0
  73. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/deployment-plan.md +22 -0
  74. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/portal-brief.md +65 -0
  75. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/project.md +55 -0
  76. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/self-eval.md +67 -0
  77. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/supabase-setup-plan.md +26 -0
  78. package/assets/worker-kits/growthub-agency-portal-starter-v1/templates/workspace-brief.md +11 -0
  79. package/assets/worker-kits/growthub-agency-portal-starter-v1/validation-checklist.md +32 -0
  80. package/assets/worker-kits/growthub-agency-portal-starter-v1/workers/agency-portal-operator/CLAUDE.md +75 -0
  81. package/assets/worker-kits/growthub-ai-website-cloner-v1/SKILL.md +89 -0
  82. package/assets/worker-kits/growthub-ai-website-cloner-v1/bundles/growthub-ai-website-cloner-v1.json +9 -2
  83. package/assets/worker-kits/growthub-ai-website-cloner-v1/helpers/README.md +29 -0
  84. package/assets/worker-kits/growthub-ai-website-cloner-v1/kit.json +14 -2
  85. package/assets/worker-kits/growthub-ai-website-cloner-v1/skills/README.md +23 -0
  86. package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/project.md +48 -0
  87. package/assets/worker-kits/growthub-ai-website-cloner-v1/templates/self-eval.md +67 -0
  88. package/assets/worker-kits/growthub-ai-website-cloner-v1/workers/ai-website-cloner-operator/CLAUDE.md +22 -0
  89. package/assets/worker-kits/growthub-custom-workspace-starter-v1/SKILL.md +122 -0
  90. package/assets/worker-kits/growthub-custom-workspace-starter-v1/bundles/growthub-custom-workspace-starter-v1.json +14 -2
  91. package/assets/worker-kits/growthub-custom-workspace-starter-v1/docs/governed-workspace-primitives.md +182 -0
  92. package/assets/worker-kits/growthub-custom-workspace-starter-v1/helpers/README.md +44 -0
  93. package/assets/worker-kits/growthub-custom-workspace-starter-v1/kit.json +16 -2
  94. package/assets/worker-kits/growthub-custom-workspace-starter-v1/skills/README.md +55 -0
  95. package/assets/worker-kits/growthub-custom-workspace-starter-v1/templates/project.md +55 -0
  96. package/assets/worker-kits/growthub-custom-workspace-starter-v1/templates/self-eval.md +67 -0
  97. package/assets/worker-kits/growthub-custom-workspace-starter-v1/workers/custom-workspace-operator/CLAUDE.md +24 -2
  98. package/assets/worker-kits/growthub-email-marketing-v1/SKILL.md +90 -0
  99. package/assets/worker-kits/growthub-email-marketing-v1/bundles/growthub-email-marketing-v1.json +9 -2
  100. package/assets/worker-kits/growthub-email-marketing-v1/helpers/README.md +29 -0
  101. package/assets/worker-kits/growthub-email-marketing-v1/kit.json +14 -2
  102. package/assets/worker-kits/growthub-email-marketing-v1/skills/README.md +23 -0
  103. package/assets/worker-kits/growthub-email-marketing-v1/templates/project.md +48 -0
  104. package/assets/worker-kits/growthub-email-marketing-v1/templates/self-eval.md +67 -0
  105. package/assets/worker-kits/growthub-email-marketing-v1/workers/email-marketing-strategist/CLAUDE.md +22 -0
  106. package/assets/worker-kits/growthub-geo-seo-v1/SKILL.md +90 -0
  107. package/assets/worker-kits/growthub-geo-seo-v1/bundles/growthub-geo-seo-v1.json +12 -3
  108. package/assets/worker-kits/growthub-geo-seo-v1/helpers/README.md +29 -0
  109. package/assets/worker-kits/growthub-geo-seo-v1/kit.json +23 -5
  110. package/assets/worker-kits/growthub-geo-seo-v1/skills/README.md +23 -0
  111. package/assets/worker-kits/growthub-geo-seo-v1/templates/project.md +48 -0
  112. package/assets/worker-kits/growthub-geo-seo-v1/templates/self-eval.md +67 -0
  113. package/assets/worker-kits/growthub-geo-seo-v1/workers/geo-seo-operator/CLAUDE.md +22 -0
  114. package/assets/worker-kits/growthub-hyperframes-studio-v1/SKILL.md +89 -0
  115. package/assets/worker-kits/growthub-hyperframes-studio-v1/bundles/growthub-hyperframes-studio-v1.json +6 -1
  116. package/assets/worker-kits/growthub-hyperframes-studio-v1/helpers/README.md +29 -0
  117. package/assets/worker-kits/growthub-hyperframes-studio-v1/kit.json +14 -2
  118. package/assets/worker-kits/growthub-hyperframes-studio-v1/skills/README.md +23 -0
  119. package/assets/worker-kits/growthub-hyperframes-studio-v1/templates/project.md +48 -0
  120. package/assets/worker-kits/growthub-hyperframes-studio-v1/templates/self-eval.md +67 -0
  121. package/assets/worker-kits/growthub-hyperframes-studio-v1/workers/hyperframes-studio-operator/CLAUDE.md +22 -0
  122. package/assets/worker-kits/growthub-marketing-skills-v1/SKILL.md +90 -0
  123. package/assets/worker-kits/growthub-marketing-skills-v1/bundles/growthub-marketing-skills-v1.json +12 -3
  124. package/assets/worker-kits/growthub-marketing-skills-v1/helpers/README.md +29 -0
  125. package/assets/worker-kits/growthub-marketing-skills-v1/kit.json +23 -5
  126. package/assets/worker-kits/growthub-marketing-skills-v1/skills/README.md +23 -0
  127. package/assets/worker-kits/growthub-marketing-skills-v1/templates/project.md +48 -0
  128. package/assets/worker-kits/growthub-marketing-skills-v1/templates/self-eval.md +67 -0
  129. package/assets/worker-kits/growthub-marketing-skills-v1/workers/marketing-operator/CLAUDE.md +22 -0
  130. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/SKILL.md +89 -0
  131. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/bundles/growthub-open-higgsfield-studio-v1.json +9 -2
  132. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/helpers/README.md +29 -0
  133. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/kit.json +14 -2
  134. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/skills/README.md +23 -0
  135. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/templates/project.md +48 -0
  136. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/templates/self-eval.md +67 -0
  137. package/assets/worker-kits/growthub-open-higgsfield-studio-v1/workers/open-higgsfield-studio-operator/CLAUDE.md +22 -0
  138. package/assets/worker-kits/growthub-open-montage-studio-v1/SKILL.md +89 -0
  139. package/assets/worker-kits/growthub-open-montage-studio-v1/bundles/growthub-open-montage-studio-v1.json +9 -2
  140. package/assets/worker-kits/growthub-open-montage-studio-v1/helpers/README.md +29 -0
  141. package/assets/worker-kits/growthub-open-montage-studio-v1/kit.json +14 -2
  142. package/assets/worker-kits/growthub-open-montage-studio-v1/skills/README.md +23 -0
  143. package/assets/worker-kits/growthub-open-montage-studio-v1/templates/project.md +48 -0
  144. package/assets/worker-kits/growthub-open-montage-studio-v1/templates/self-eval.md +67 -0
  145. package/assets/worker-kits/growthub-open-montage-studio-v1/workers/open-montage-studio-operator/CLAUDE.md +22 -0
  146. package/assets/worker-kits/growthub-postiz-social-v1/SKILL.md +90 -0
  147. package/assets/worker-kits/growthub-postiz-social-v1/bundles/growthub-postiz-social-v1.json +9 -2
  148. package/assets/worker-kits/growthub-postiz-social-v1/helpers/README.md +29 -0
  149. package/assets/worker-kits/growthub-postiz-social-v1/kit.json +14 -2
  150. package/assets/worker-kits/growthub-postiz-social-v1/skills/README.md +23 -0
  151. package/assets/worker-kits/growthub-postiz-social-v1/templates/project.md +48 -0
  152. package/assets/worker-kits/growthub-postiz-social-v1/templates/self-eval.md +67 -0
  153. package/assets/worker-kits/growthub-postiz-social-v1/workers/postiz-social-operator/CLAUDE.md +22 -0
  154. package/assets/worker-kits/growthub-twenty-crm-v1/SKILL.md +89 -0
  155. package/assets/worker-kits/growthub-twenty-crm-v1/bundles/growthub-twenty-crm-v1.json +9 -2
  156. package/assets/worker-kits/growthub-twenty-crm-v1/helpers/README.md +29 -0
  157. package/assets/worker-kits/growthub-twenty-crm-v1/kit.json +14 -2
  158. package/assets/worker-kits/growthub-twenty-crm-v1/skills/README.md +23 -0
  159. package/assets/worker-kits/growthub-twenty-crm-v1/templates/project.md +48 -0
  160. package/assets/worker-kits/growthub-twenty-crm-v1/templates/self-eval.md +67 -0
  161. package/assets/worker-kits/growthub-twenty-crm-v1/workers/twenty-crm-operator/CLAUDE.md +22 -0
  162. package/assets/worker-kits/growthub-video-use-studio-v1/SKILL.md +89 -0
  163. package/assets/worker-kits/growthub-video-use-studio-v1/bundles/growthub-video-use-studio-v1.json +6 -1
  164. package/assets/worker-kits/growthub-video-use-studio-v1/helpers/README.md +29 -0
  165. package/assets/worker-kits/growthub-video-use-studio-v1/kit.json +14 -2
  166. package/assets/worker-kits/growthub-video-use-studio-v1/skills/README.md +23 -0
  167. package/assets/worker-kits/growthub-video-use-studio-v1/templates/project.md +48 -0
  168. package/assets/worker-kits/growthub-video-use-studio-v1/templates/self-eval.md +67 -0
  169. package/assets/worker-kits/growthub-video-use-studio-v1/workers/video-use-studio-operator/CLAUDE.md +22 -0
  170. package/assets/worker-kits/growthub-zernio-social-v1/SKILL.md +90 -0
  171. package/assets/worker-kits/growthub-zernio-social-v1/bundles/growthub-zernio-social-v1.json +9 -2
  172. package/assets/worker-kits/growthub-zernio-social-v1/helpers/README.md +29 -0
  173. package/assets/worker-kits/growthub-zernio-social-v1/kit.json +14 -2
  174. package/assets/worker-kits/growthub-zernio-social-v1/skills/README.md +23 -0
  175. package/assets/worker-kits/growthub-zernio-social-v1/templates/project.md +48 -0
  176. package/assets/worker-kits/growthub-zernio-social-v1/templates/self-eval.md +67 -0
  177. package/assets/worker-kits/growthub-zernio-social-v1/workers/zernio-social-operator/CLAUDE.md +22 -0
  178. package/dist/index.js +970 -241
  179. package/package.json +2 -2
@@ -0,0 +1,67 @@
1
+ # Self-evaluation template — v1 primitive (Growthub, capability-agnostic)
2
+
3
+ A skill's `selfEval` contract declares **what good looks like** (`criteria[]`) and **the retry ceiling** (`maxRetries`). The agent drives the loop; this file is the pattern the agent follows at every unit of work.
4
+
5
+ The contract is defined in `@growthub/api-contract/skills::SkillSelfEval` and is **capability-agnostic** — the same primitive applies to code edits, copy drafts, CRM rules, API payloads, asset renders, audit passes, and every other domain. The "unit of work" is the smallest reversible change the skill operates on; concrete boundaries are defined in the kit's own `skills.md` operator runbook, not here.
6
+
7
+ ## Loop
8
+
9
+ ```
10
+ for attempt in 1..maxRetries: # default maxRetries = 3
11
+ generate — produce a proposal (whatever the skill produces)
12
+ apply — materialise the proposal against the fork
13
+ self-evaluate — for each criterion in skill.selfEval.criteria:
14
+ check → pass / fail / needs-confirmation
15
+ record — append to project.md (human) + trace.jsonl (machine)
16
+
17
+ if all criteria pass: break
18
+ if attempt == maxRetries: park with needs_confirmation note. Stop.
19
+ ```
20
+
21
+ ## What each attempt writes
22
+
23
+ ### Human row — append to `.growthub-fork/project.md` "Session log"
24
+
25
+ ```md
26
+ ### 2026-04-23 18:40 UTC · <skill-slug>
27
+ - **Plan.** What you intend to do this unit of work.
28
+ - **Changes.** Material change applied (must correspond to a trace event).
29
+ - **Self-eval.** attempt 2/3 — criterion "<one of skill.selfEval.criteria>" ✗ (<note>). Retrying.
30
+ - **Outcome.** retry-pending / pass / parked.
31
+ - **Next.** What the next attempt (or next session) should pick up.
32
+ ```
33
+
34
+ ### Machine row — append to `.growthub-fork/trace.jsonl` (via `appendKitForkTraceEvent`)
35
+
36
+ ```json
37
+ {
38
+ "ts": "2026-04-23T18:40:00.000Z",
39
+ "forkId": "<fork-id>",
40
+ "kitId": "<kit-id>",
41
+ "type": "self_eval_recorded",
42
+ "summary": "attempt 2/3 failed on <criterion>",
43
+ "detail": {
44
+ "skill": "<skill-slug>",
45
+ "attempt": 2,
46
+ "maxRetries": 3,
47
+ "criterion": "<one of skill.selfEval.criteria>",
48
+ "outcome": "fail",
49
+ "notes": "<short explanation>"
50
+ }
51
+ }
52
+ ```
53
+
54
+ ## Hard rules
55
+
56
+ 1. **Never exceed `maxRetries`.** At the ceiling, park with a `needs_confirmation` note and stop. Do not loop forever.
57
+ 2. **Record every attempt.** Even the first pass. Continuity depends on a complete journal.
58
+ 3. **Keep `project.md` and `trace.jsonl` in sync.** One without the other is a protocol violation.
59
+ 4. **Preserve prior entries.** Append-only. Never rewrite history.
60
+
61
+ ## Bound the blast radius
62
+
63
+ Evaluate at the smallest unit of work the skill operates on, not only at the end of a multi-step run. The retry ceiling applies to that unit — so a bad attempt does not sink the whole job.
64
+
65
+ What counts as a "unit of work" is **kit-specific** and lives in that kit's `skills.md` operator runbook — not in this agnostic template. A kit picks its own smallest reversible boundary and documents it in `skills.md`; this template does not prescribe one.
66
+
67
+ The agnostic SDK (`@growthub/api-contract/skills::SkillSelfEval`) does not encode any domain-specific boundaries — it only carries `criteria[]`, `maxRetries`, and `traceTo`. See `SKILL.md::selfEval.criteria` in this kit for the concrete checks, and `skills.md` for the kit-specific unit of work.
@@ -0,0 +1,26 @@
1
+ # Database Provider Setup Plan
2
+
3
+ This file name is retained for compatibility with older agency portal notes. The v1 worker-kit contract is not Supabase-specific.
4
+
5
+ Use `AGENCY_PORTAL_DATA_ADAPTER` to select persistence:
6
+
7
+ - `postgres` with `DATABASE_URL`
8
+ - `qstash-kv` with `QSTASH_KV_REST_URL` and `QSTASH_KV_REST_TOKEN`
9
+ - `provider-managed` for a hosted database surface outside this kit
10
+
11
+ Supabase may be used only as one Postgres-compatible provider behind `DATABASE_URL`. Do not add Supabase SDK dependencies or Supabase-only assumptions to the starter unless a user explicitly chooses that provider in their own fork.
12
+
13
+ ## Selected Provider
14
+
15
+ - Adapter:
16
+ - Provider:
17
+ - Required env:
18
+ - Migration owner:
19
+ - Backup owner:
20
+
21
+ ## Validation
22
+
23
+ ```bash
24
+ node setup/verify-env.mjs
25
+ cd apps/agency-portal && npm run build
26
+ ```
@@ -0,0 +1,11 @@
1
+ # Workspace Brief — Template
2
+
3
+ Use this template to capture what a new custom workspace is for.
4
+
5
+ - Client:
6
+ - Project slug:
7
+ - Goals (3 bullets max):
8
+ - Surface area (which worker kits this workspace composes):
9
+ - Out of scope:
10
+ - Success criteria:
11
+ - First heal checkpoint:
@@ -0,0 +1,32 @@
1
+ # Agency Portal Starter — Validation Checklist
2
+
3
+ - [ ] `kit.json` is schema-v2 valid and identifies `growthub-agency-portal-starter-v1`.
4
+ - [ ] Every path in `kit.json.frozenAssetPaths` exists.
5
+ - [ ] `SKILL.md`, `templates/project.md`, `templates/self-eval.md`, `helpers/README.md`, and `skills/README.md` are present.
6
+ - [ ] `studio/` builds with `npm run build`.
7
+ - [ ] `apps/agency-portal/` builds with `npm run build`.
8
+ - [ ] `node setup/verify-env.mjs` validates the selected adapters.
9
+ - [ ] Vercel root is `apps/agency-portal`.
10
+ - [ ] Persistence adapter is documented as `postgres`, `qstash-kv`, or `provider-managed`.
11
+ - [ ] Auth and payment adapters are documented without provider lock-in.
12
+ - [ ] Integration adapter is documented as `static`, `growthub-bridge`, or `byo-api-key`.
13
+ - [ ] `/settings/integrations` renders a dedicated sidebar nav page, not home-page integration content.
14
+ - [ ] Data pipeline objects are explicit: Windsor AI, Google Sheets blended data, Google Analytics, Shopify, Meta Facebook/Instagram.
15
+ - [ ] MCP connection integrations are explicit: Asana, Slack, GoHighLevel, Google Drive, Notion.
16
+ - [ ] Growthub bridge mode shows active/connected status when normalized MCP account rows are returned by the bridge.
17
+ - [ ] `growthub-connection-normalizer.js` accepts both SDK/profile-style `integrations[]` and GH app MCP `accounts[]` payloads.
18
+ - [ ] Unknown active MCP providers are preserved as discovered workspace integrations instead of being dropped.
19
+ - [ ] BYO API key mode works from `AGENCY_PORTAL_BYO_CONNECTIONS_JSON` using the same object shape.
20
+ - [ ] Windsor BYO mode works with `WINDSOR_API_KEY` alone and renders Windsor AI as connected.
21
+ - [ ] Windsor API key path is supported as `WINDSOR_API_KEY` and represented as a first-class data pipeline object.
22
+ - [ ] CLI discovery/list/export path succeeds:
23
+ ```bash
24
+ growthub kit list --family studio --json
25
+ growthub kit download growthub-agency-portal-starter-v1 --out /tmp/agency-portal-qa --yes
26
+ ```
27
+ - [ ] Fork registration/status path succeeds on an exported workspace:
28
+ ```bash
29
+ growthub kit fork register /tmp/agency-portal-qa/growthub-agent-worker-kit-agency-portal-starter-v1
30
+ growthub kit fork status <fork-id>
31
+ ```
32
+ - [ ] Governed forks record material changes to `.growthub-fork/project.md` and `.growthub-fork/trace.jsonl`.
@@ -0,0 +1,75 @@
1
+ # Agency Portal Operator — Agent Operating Instructions
2
+
3
+ **Kit:** `growthub-agency-portal-starter-v1`
4
+ **Worker ID:** `agency-portal-operator`
5
+ **Version:** `1.0.0`
6
+
7
+ ## Role
8
+
9
+ You operate the Agency Portal Starter as a governed workspace built from the custom workspace starter primitive. Keep the Growthub local-first Vite shell in `studio/`; operate the deployable Vercel/serverless portal under `apps/agency-portal/`.
10
+
11
+ ## Source Of Truth
12
+
13
+ 1. `.growthub-fork/project.md`
14
+ 2. `SKILL.md`
15
+ 3. `skills.md`
16
+ 4. `docs/governed-workspace-primitives.md`
17
+ 5. `docs/adapter-contracts.md`
18
+ 6. `docs/vercel-serverless-deployment.md`
19
+ 7. `docs/vite-ui-shell-guide.md`
20
+ 8. `validation-checklist.md`
21
+
22
+ ## Hard Rules
23
+
24
+ - Do not collapse the kit into the Vercel app. The kit root is the governed workspace; `studio/` is the local-first Vite operator shell; `apps/agency-portal/` is the serverless app payload.
25
+ - Do not hardcode one database provider into the worker-kit contract. Persistence is selected by adapter env: `postgres`, `qstash-kv`, or `provider-managed`.
26
+ - Do not hardcode payments. Payments are selected by `AGENCY_PORTAL_PAYMENT_ADAPTER`.
27
+ - Do not move third-party provider tokens into source. Growthub bridge mode consumes hosted GH app connection state; BYO mode references env names and normalized metadata only.
28
+ - Do not place integration lists on the home dashboard. Use the dedicated sidebar route `/settings/integrations`.
29
+ - Do not collapse data pipelines and operational integrations into one opaque bucket. Data pipeline objects and MCP connection integrations stay distinct under the unified integrations page.
30
+ - Do not treat cloud deployment as the local runtime. Local Growthub operation stays first; Vercel is the clean serverless deployment lane.
31
+ - Every material change in a governed fork records to `.growthub-fork/project.md` and `.growthub-fork/trace.jsonl`.
32
+
33
+ ## Integration Model
34
+
35
+ Model the GH app primitive without importing the GH app runtime:
36
+
37
+ - Catalog metadata: `id`, `provider`, `name`, `description`, `category`, `authType`.
38
+ - User connection state: `isConnected`, `isActive`, `connectionId`, `connectionMetadata`.
39
+ - Worker-kit lane: `lane`, `objectType`, `authPath`, `setupMode`.
40
+
41
+ Data pipeline objects:
42
+
43
+ - Windsor AI
44
+ - Google Sheets blended data
45
+ - Google Analytics
46
+ - Shopify
47
+ - Meta Facebook/Instagram
48
+
49
+ MCP connection integrations:
50
+
51
+ - Asana
52
+ - Slack
53
+ - GoHighLevel
54
+ - Google Drive
55
+ - Notion
56
+
57
+ `growthub-bridge` means hosted GH app authority resolves active connections. `byo-api-key` means the exported workspace owns explicit setup through env vars and `AGENCY_PORTAL_BYO_CONNECTIONS_JSON`.
58
+
59
+ ## Verification
60
+
61
+ ```bash
62
+ bash setup/check-deps.sh
63
+ node setup/verify-env.mjs
64
+ cd studio && npm install && npm run build
65
+ cd apps/agency-portal && npm install && npm run build
66
+ ```
67
+
68
+ CLI export/fork verification:
69
+
70
+ ```bash
71
+ growthub kit list --family studio --json
72
+ growthub kit download growthub-agency-portal-starter-v1 --out /tmp/agency-portal-qa --yes
73
+ growthub kit fork register /tmp/agency-portal-qa/growthub-agent-worker-kit-agency-portal-starter-v1
74
+ growthub kit fork status <fork-id>
75
+ ```
@@ -0,0 +1,89 @@
1
+ ---
2
+ name: growthub-ai-website-cloner-v1
3
+ description: "Self-contained workspace for cloning any website into a clean Next.js 16 + shadcn/ui + Tailwind CSS v4 codebase. Use when the user says: \"clone this site\", \"next.js rebuild\", \"website cloner\". Session memory tracks source URL, DOM-scrape milestones, and component extraction self-eval outcomes."
4
+ triggers:
5
+ - ai website cloner
6
+ - fork growthub-ai-website-cloner-v1
7
+ progressiveDisclosure: true
8
+ sessionMemory:
9
+ path: .growthub-fork/project.md
10
+ selfEval:
11
+ criteria:
12
+ - Operator contract (workers/ai-website-cloner-operator/CLAUDE.md) read before any material change.
13
+ - .growthub-fork/project.md appended to at each material change.
14
+ - .growthub-fork/trace.jsonl receives a typed event for each material change.
15
+ - Kit-specific QUICKSTART / runtime-assumptions / output-standards honoured.
16
+ maxRetries: 3
17
+ traceTo: .growthub-fork/trace.jsonl
18
+ helpers: []
19
+ subSkills: []
20
+ mcpTools: []
21
+ ---
22
+
23
+ # Growthub Agent Worker Kit — AI Website Cloner
24
+
25
+ Discovery entry + routing menu for the `growthub-ai-website-cloner-v1` worker kit. Family: `studio`. Agent contract: `workers/ai-website-cloner-operator/CLAUDE.md`.
26
+
27
+ ## When to use this skill
28
+
29
+ When the user's intent matches any of the triggers above — or when an agent has been dropped into a fork whose `.growthub-fork/fork.json` declares `kitId: "growthub-ai-website-cloner-v1"`.
30
+
31
+ ## Decision tree
32
+
33
+ ```
34
+ Fork exists (this directory contains .growthub-fork/fork.json)?
35
+ ├── No → run: growthub starter init --out <path> (or import-repo / import-skill)
36
+ │ then: growthub kit download growthub-ai-website-cloner-v1 --out <path>
37
+
38
+ └── Yes → read in this order:
39
+ 1. .growthub-fork/project.md — session memory (primitive #3)
40
+ 2. SKILL.md (this file) — routing menu (primitive #1)
41
+ 3. skills.md — operator runbook
42
+ 4. workers/ai-website-cloner-operator/CLAUDE.md — agent contract
43
+ 5. QUICKSTART.md — first-run steps
44
+ 6. runtime-assumptions.md — host expectations
45
+ 7. .growthub-fork/policy.json — what you may touch
46
+ 8. .growthub-fork/trace.jsonl (tail 20) — recent machine history
47
+ ```
48
+
49
+ ## The six primitives (same shape across every Growthub worker kit)
50
+
51
+ 1. **`SKILL.md`** — this file.
52
+ 2. **Symlinked pointer** — repo-root `AGENTS.md` is authoritative.
53
+ 3. **`.growthub-fork/project.md`** — session memory, seeded by the CLI from `templates/project.md` at init/import time.
54
+ 4. **Self-evaluation** — generate → apply → evaluate → record; retry up to `selfEval.maxRetries` (default 3); mirrors the Fork Sync Agent's preview → apply → trace loop (primitive #4). Contract: `@growthub/api-contract/skills::SkillSelfEval`.
55
+ 5. **`skills/`** — nested sub-skills for parallel sub-agents on heavy / narrow work.
56
+ 6. **`helpers/`** — safe shell tool layer. Promote inline shell here whenever the same snippet is re-used.
57
+
58
+ ## Self-evaluation (primitive #4)
59
+
60
+ Enforce `selfEval.maxRetries: 3`. At the ceiling, park with a `needs_confirmation` note in `project.md` and stop. Record every attempt to both `project.md` and `trace.jsonl`.
61
+
62
+ ## Session memory (primitive #3)
63
+
64
+ `.growthub-fork/project.md` is the only cross-session continuity surface for this fork. Append at every material change, approval boundary, and self-eval outcome.
65
+
66
+ ## Sub-skills (primitive #5)
67
+
68
+ (None declared at the baseline; populate `skills/` and the frontmatter `subSkills[]` array as specialist lanes emerge.)
69
+
70
+ ## Helpers (primitive #6)
71
+
72
+ (None declared at the baseline; populate `helpers/` and the frontmatter `helpers[]` array as inline shell matures.)
73
+
74
+ ## MCP routing (optional)
75
+
76
+ List concrete MCP tool IDs in `mcpTools[]` when a fork runs an MCP server for auth-heavy actions. Declarative only at v1.
77
+
78
+ ## Related files
79
+
80
+ - `skills.md` — operator runbook (deep)
81
+ - `QUICKSTART.md` — first-run steps
82
+ - `runtime-assumptions.md` — host expectations
83
+ - `output-standards.md` — output locations + manifest shape
84
+ - `validation-checklist.md` — pre-flight checklist (if present)
85
+ - `templates/project.md` — session-memory template
86
+ - `templates/self-eval.md` — self-evaluation template
87
+ - `helpers/README.md` — safe shell tool layer convention
88
+ - `skills/README.md` — sub-skill convention
89
+ - `workers/ai-website-cloner-operator/CLAUDE.md` — agent contract
@@ -42,12 +42,19 @@
42
42
  "docs/parallel-builder-dispatch.md",
43
43
  "docs/design-token-system.md",
44
44
  "growthub-meta/README.md",
45
- "growthub-meta/kit-standard.md"
45
+ "growthub-meta/kit-standard.md",
46
+ "SKILL.md",
47
+ "templates/project.md",
48
+ "templates/self-eval.md",
49
+ "helpers/README.md",
50
+ "skills/README.md"
46
51
  ],
47
52
  "optionalPresets": [],
48
53
  "export": {
49
54
  "folderName": "growthub-agent-worker-kit-ai-website-cloner-v1",
50
55
  "zipFileName": "growthub-agent-worker-kit-ai-website-cloner-v1.zip"
51
56
  },
52
- "activationModes": ["export"]
57
+ "activationModes": [
58
+ "export"
59
+ ]
53
60
  }
@@ -0,0 +1,29 @@
1
+ # `helpers/` — safe shell tool layer (primitive #6)
2
+
3
+ A **helper** is a small, deterministic script an agent invokes via one shell call instead of reconstructing a raw pipeline inline. Helpers are reviewable, deterministic, and safer than raw commands.
4
+
5
+ ## Convention
6
+
7
+ ```
8
+ helpers/
9
+ ├── README.md # this file
10
+ ├── <verb>.sh # single-purpose shell scripts
11
+ ├── <verb>.mjs # optional: Node-based helper
12
+ └── <verb>.py # optional: Python-based helper
13
+ ```
14
+
15
+ Every helper:
16
+
17
+ 1. Carries a one-line header comment: what it does + how to invoke it.
18
+ 2. Uses `set -euo pipefail` (or equivalent) — no silent failures.
19
+ 3. Has a matching row in the parent `SKILL.md`'s `helpers[]` frontmatter.
20
+ 4. Is referenced from `skills.md` at the step the agent should invoke it (no duplicated shell bodies).
21
+
22
+ ## When to promote an inline snippet
23
+
24
+ - Appears more than once in `skills.md`.
25
+ - Has fragile quoting or path interpolation.
26
+ - Calls a side-effecting binary (ffmpeg, git, gh, npm install).
27
+ - Multiple sub-skills invoke it.
28
+
29
+ See the parent `SKILL.md` `helpers[]` array for the current roster.
@@ -54,7 +54,12 @@
54
54
  "docs/parallel-builder-dispatch.md",
55
55
  "docs/design-token-system.md",
56
56
  "growthub-meta/README.md",
57
- "growthub-meta/kit-standard.md"
57
+ "growthub-meta/kit-standard.md",
58
+ "SKILL.md",
59
+ "templates/project.md",
60
+ "templates/self-eval.md",
61
+ "helpers/README.md",
62
+ "skills/README.md"
58
63
  ],
59
64
  "setupPaths": {
60
65
  "quickstart": "QUICKSTART.md",
@@ -81,7 +86,14 @@
81
86
  "output/README.md",
82
87
  "templates",
83
88
  "docs",
84
- "growthub-meta"
89
+ "growthub-meta",
90
+ "SKILL.md",
91
+ "templates/project.md",
92
+ "templates/self-eval.md",
93
+ "helpers",
94
+ "helpers/README.md",
95
+ "skills",
96
+ "skills/README.md"
85
97
  ]
86
98
  },
87
99
  "bundles": [
@@ -0,0 +1,23 @@
1
+ # `skills/` — nested sub-skill convention (primitive #5)
2
+
3
+ A **sub-skill** is a full `SKILL.md`-addressable lane that a parent skill can spawn as a parallel sub-agent.
4
+
5
+ ## Convention
6
+
7
+ ```
8
+ skills/
9
+ ├── README.md # this file
10
+ └── <slug>/ # kebab-case; matches the SKILL.md name
11
+ ├── SKILL.md # frontmatter + routing body (≤ 500 lines)
12
+ ├── references/ # optional — long docs loaded on demand
13
+ ├── templates/ # optional — reusable text/JS templates
14
+ └── scripts/ # optional — deterministic helpers
15
+ ```
16
+
17
+ Each sub-skill's frontmatter follows `@growthub/api-contract/skills::SkillManifest`. Sub-skills share the parent's `.growthub-fork/project.md` journal — they do not branch it.
18
+
19
+ ## Parallelism
20
+
21
+ Spawn a sub-skill sub-agent when (a) the sub-skill's work is fully scoped by its own criteria, and (b) the parent's next step does not depend on intermediate state from the sub-skill. Each sub-skill run appends a row to `project.md::subSkillRuns` so the parent can read the outcome on return.
22
+
23
+ See the parent `SKILL.md` `subSkills[]` array for the current roster.
@@ -0,0 +1,48 @@
1
+ ---
2
+ # .growthub-fork/project.md — session memory primitive (v1)
3
+ #
4
+ # Written by the CLI at init/import time. Append-only, human-readable; sits
5
+ # alongside the machine-readable `trace.jsonl`. Approvals, self-eval outcomes,
6
+ # and sub-skill runs all record here.
7
+ #
8
+ # Replaceable tokens (seeded at init time):
9
+ # {{KIT_ID}} {{FORK_ID}} {{STARTED_AT}} {{SOURCE}} {{SOURCE_REF}}
10
+
11
+ kitId: "{{KIT_ID}}"
12
+ forkId: "{{FORK_ID}}"
13
+ startedAt: "{{STARTED_AT}}"
14
+ source: "{{SOURCE}}"
15
+ sourceRef: "{{SOURCE_REF}}"
16
+ skillManifestVersion: 1
17
+ approvals: []
18
+ selfEvalHistory: []
19
+ subSkillRuns: []
20
+ ---
21
+
22
+ # Project journal — fork `{{FORK_ID}}`
23
+
24
+ Baseline primitive: `{{KIT_ID}}`. Seeded at `{{STARTED_AT}}` from `{{SOURCE}}` (`{{SOURCE_REF}}`).
25
+
26
+ This is your cross-session continuity surface. Read the last few entries before every session; append after every material change, approval, and self-eval boundary.
27
+
28
+ ## How to use this file
29
+
30
+ 1. **Session start.** Read the last 3 entries + tail 20 events in `.growthub-fork/trace.jsonl`. State your plan.
31
+ 2. **Material change.** Record as a dated bullet (what, why, outcome). Simultaneously append a typed event to `trace.jsonl` via the Fork Sync Agent — never bypass.
32
+ 3. **Approval boundary.** Add a row to `approvals` in the frontmatter (verbatim decision).
33
+ 4. **Self-eval boundary.** Append to `selfEvalHistory`: `attempt`, `criteria`, `outcome`, `notes`. Enforce `maxRetries: 3`.
34
+ 5. **Sub-skill spawn.** Append to `subSkillRuns`: `subSkill`, `startedAt`, `result`.
35
+
36
+ ## Session log
37
+
38
+ <!-- Append newest entries at the bottom. Format:
39
+
40
+ ### {{YYYY-MM-DD HH:mm UTC}} · {{skill-slug}}
41
+ - **Plan.** What you intend to do.
42
+ - **Changes.** Material changes (each must correspond to a trace event).
43
+ - **Outcome.** Pass / fail / parked. Reference self-eval criteria.
44
+ - **Next.** What the next session should pick up.
45
+
46
+ -->
47
+
48
+ _No sessions recorded yet. Populated as the fork is operated._
@@ -0,0 +1,67 @@
1
+ # Self-evaluation template — v1 primitive (Growthub, capability-agnostic)
2
+
3
+ A skill's `selfEval` contract declares **what good looks like** (`criteria[]`) and **the retry ceiling** (`maxRetries`). The agent drives the loop; this file is the pattern the agent follows at every unit of work.
4
+
5
+ The contract is defined in `@growthub/api-contract/skills::SkillSelfEval` and is **capability-agnostic** — the same primitive applies to code edits, copy drafts, CRM rules, API payloads, asset renders, audit passes, and every other domain. The "unit of work" is the smallest reversible change the skill operates on; concrete boundaries are defined in the kit's own `skills.md` operator runbook, not here.
6
+
7
+ ## Loop
8
+
9
+ ```
10
+ for attempt in 1..maxRetries: # default maxRetries = 3
11
+ generate — produce a proposal (whatever the skill produces)
12
+ apply — materialise the proposal against the fork
13
+ self-evaluate — for each criterion in skill.selfEval.criteria:
14
+ check → pass / fail / needs-confirmation
15
+ record — append to project.md (human) + trace.jsonl (machine)
16
+
17
+ if all criteria pass: break
18
+ if attempt == maxRetries: park with needs_confirmation note. Stop.
19
+ ```
20
+
21
+ ## What each attempt writes
22
+
23
+ ### Human row — append to `.growthub-fork/project.md` "Session log"
24
+
25
+ ```md
26
+ ### 2026-04-23 18:40 UTC · <skill-slug>
27
+ - **Plan.** What you intend to do this unit of work.
28
+ - **Changes.** Material change applied (must correspond to a trace event).
29
+ - **Self-eval.** attempt 2/3 — criterion "<one of skill.selfEval.criteria>" ✗ (<note>). Retrying.
30
+ - **Outcome.** retry-pending / pass / parked.
31
+ - **Next.** What the next attempt (or next session) should pick up.
32
+ ```
33
+
34
+ ### Machine row — append to `.growthub-fork/trace.jsonl` (via `appendKitForkTraceEvent`)
35
+
36
+ ```json
37
+ {
38
+ "ts": "2026-04-23T18:40:00.000Z",
39
+ "forkId": "<fork-id>",
40
+ "kitId": "<kit-id>",
41
+ "type": "self_eval_recorded",
42
+ "summary": "attempt 2/3 failed on <criterion>",
43
+ "detail": {
44
+ "skill": "<skill-slug>",
45
+ "attempt": 2,
46
+ "maxRetries": 3,
47
+ "criterion": "<one of skill.selfEval.criteria>",
48
+ "outcome": "fail",
49
+ "notes": "<short explanation>"
50
+ }
51
+ }
52
+ ```
53
+
54
+ ## Hard rules
55
+
56
+ 1. **Never exceed `maxRetries`.** At the ceiling, park with a `needs_confirmation` note and stop. Do not loop forever.
57
+ 2. **Record every attempt.** Even the first pass. Continuity depends on a complete journal.
58
+ 3. **Keep `project.md` and `trace.jsonl` in sync.** One without the other is a protocol violation.
59
+ 4. **Preserve prior entries.** Append-only. Never rewrite history.
60
+
61
+ ## Bound the blast radius
62
+
63
+ Evaluate at the smallest unit of work the skill operates on, not only at the end of a multi-step run. The retry ceiling applies to that unit — so a bad attempt does not sink the whole job.
64
+
65
+ What counts as a "unit of work" is **kit-specific** and lives in that kit's `skills.md` operator runbook — not in this agnostic template. A kit picks its own smallest reversible boundary and documents it in `skills.md`; this template does not prescribe one.
66
+
67
+ The agnostic SDK (`@growthub/api-contract/skills::SkillSelfEval`) does not encode any domain-specific boundaries — it only carries `criteria[]`, `maxRetries`, and `traceTo`. See `SKILL.md::selfEval.criteria` in this kit for the concrete checks, and `skills.md` for the kit-specific unit of work.
@@ -254,3 +254,25 @@ Append a deliverable line in the active brand kit:
254
254
  5. `BuilderDispatchPlan`
255
255
  6. `VisualQAChecklist`
256
256
  7. `PlatformHandoff`
257
+
258
+ ---
259
+
260
+ ## Governed-workspace primitives (v1.2)
261
+
262
+ This workspace carries the six architectural primitives every Growthub fork inherits. The contract is capability-agnostic (`@growthub/api-contract/skills::SkillManifest`); kit-specific specialisation lives in `skills.md` above.
263
+
264
+ 1. **`SKILL.md`** at the kit root — the discovery entry / routing menu. Read before `skills.md`.
265
+ 2. **Repo-root `AGENTS.md` pointer** — Cursor / Claude / Codex all read the same contract.
266
+ 3. **`.growthub-fork/project.md`** — session memory, seeded at init/import from `templates/project.md`. Append a dated entry after every material change.
267
+ 4. **Self-evaluation (`selfEval.criteria` + `maxRetries`)** — generate → apply → evaluate → record; retry up to 3; every attempt writes to both `project.md` (human) and `trace.jsonl` (machine). Use `recordSelfEval` (`cli/src/skills/self-eval.ts`); never bypass the fork-trace primitive.
268
+ 5. **Nested `skills/<slug>/SKILL.md`** — sub-skill lanes for parallel sub-agents on heavy or narrow work.
269
+ 6. **`helpers/<verb>.{sh,mjs,py}`** — safe shell tool layer; promote any inline shell that gets used twice.
270
+
271
+ Command surface from inside this fork:
272
+
273
+ - `growthub skills list` — enumerate this fork’s SKILL.md tree
274
+ - `growthub skills validate` — strict shape check
275
+ - `growthub skills session show` — print the current `.growthub-fork/project.md`
276
+ - `growthub skills session init --kit <kit-id>` — (re-)seed session memory
277
+
278
+ Full user-facing narrative: `cli/assets/worker-kits/growthub-custom-workspace-starter-v1/docs/governed-workspace-primitives.md` (also shipped into any workspace forked from the starter kit).