create-hq 6.0.0 → 10.0.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.
Files changed (336) hide show
  1. package/dist/__tests__/deps.test.d.ts +2 -0
  2. package/dist/__tests__/deps.test.d.ts.map +1 -0
  3. package/dist/__tests__/deps.test.js +176 -0
  4. package/dist/__tests__/deps.test.js.map +1 -0
  5. package/dist/__tests__/platform.test.d.ts +2 -0
  6. package/dist/__tests__/platform.test.d.ts.map +1 -0
  7. package/dist/__tests__/platform.test.js +127 -0
  8. package/dist/__tests__/platform.test.js.map +1 -0
  9. package/dist/__tests__/scaffold.test.d.ts +2 -0
  10. package/dist/__tests__/scaffold.test.d.ts.map +1 -0
  11. package/dist/__tests__/scaffold.test.js +150 -0
  12. package/dist/__tests__/scaffold.test.js.map +1 -0
  13. package/dist/auth.d.ts +32 -0
  14. package/dist/auth.d.ts.map +1 -0
  15. package/dist/auth.js +156 -0
  16. package/dist/auth.js.map +1 -0
  17. package/dist/cloud-sync.d.ts +11 -0
  18. package/dist/cloud-sync.d.ts.map +1 -0
  19. package/dist/cloud-sync.js +25 -0
  20. package/dist/cloud-sync.js.map +1 -0
  21. package/dist/deps.d.ts +32 -2
  22. package/dist/deps.d.ts.map +1 -1
  23. package/dist/deps.js +182 -7
  24. package/dist/deps.js.map +1 -1
  25. package/dist/fetch-template.d.ts +14 -0
  26. package/dist/fetch-template.d.ts.map +1 -0
  27. package/dist/fetch-template.js +136 -0
  28. package/dist/fetch-template.js.map +1 -0
  29. package/dist/index.js +9 -7
  30. package/dist/index.js.map +1 -1
  31. package/dist/packages.d.ts +71 -0
  32. package/dist/packages.d.ts.map +1 -0
  33. package/dist/packages.js +332 -0
  34. package/dist/packages.js.map +1 -0
  35. package/dist/platform.d.ts +9 -0
  36. package/dist/platform.d.ts.map +1 -0
  37. package/dist/platform.js +69 -0
  38. package/dist/platform.js.map +1 -0
  39. package/dist/scaffold.d.ts +3 -2
  40. package/dist/scaffold.d.ts.map +1 -1
  41. package/dist/scaffold.js +109 -290
  42. package/dist/scaffold.js.map +1 -1
  43. package/dist/ui.d.ts +2 -3
  44. package/dist/ui.d.ts.map +1 -1
  45. package/dist/ui.js +90 -44
  46. package/dist/ui.js.map +1 -1
  47. package/package.json +49 -40
  48. package/template/.claude/CLAUDE.md +0 -202
  49. package/template/.claude/commands/checkpoint.md +0 -127
  50. package/template/.claude/commands/cleanup.md +0 -307
  51. package/template/.claude/commands/execute-task.md +0 -440
  52. package/template/.claude/commands/exit-plan.md +0 -41
  53. package/template/.claude/commands/handoff.md +0 -97
  54. package/template/.claude/commands/learn.md +0 -218
  55. package/template/.claude/commands/metrics.md +0 -118
  56. package/template/.claude/commands/newworker.md +0 -162
  57. package/template/.claude/commands/nexttask.md +0 -67
  58. package/template/.claude/commands/prd.md +0 -238
  59. package/template/.claude/commands/reanchor.md +0 -51
  60. package/template/.claude/commands/remember.md +0 -126
  61. package/template/.claude/commands/run-project.md +0 -348
  62. package/template/.claude/commands/run.md +0 -110
  63. package/template/.claude/commands/search-reindex.md +0 -62
  64. package/template/.claude/commands/search.md +0 -100
  65. package/template/.claude/commands/setup.md +0 -381
  66. package/template/.claude/scripts/pure-ralph-loop.ps1 +0 -312
  67. package/template/.claude/scripts/pure-ralph-loop.sh +0 -859
  68. package/template/CHANGELOG.md +0 -220
  69. package/template/LICENSE +0 -21
  70. package/template/MIGRATION.md +0 -259
  71. package/template/README.md +0 -368
  72. package/template/data/journal/.gitkeep +0 -0
  73. package/template/docs/images/ascii-banner-options.md +0 -122
  74. package/template/docs/images/hq-banner.svg +0 -105
  75. package/template/knowledge/Ralph/01-overview.md +0 -71
  76. package/template/knowledge/Ralph/02-core-concepts.md +0 -114
  77. package/template/knowledge/Ralph/03-how-ralph-works.md +0 -184
  78. package/template/knowledge/Ralph/04-back-pressure.md +0 -222
  79. package/template/knowledge/Ralph/05-specifications.md +0 -210
  80. package/template/knowledge/Ralph/06-agents-md.md +0 -222
  81. package/template/knowledge/Ralph/07-implementation.md +0 -316
  82. package/template/knowledge/Ralph/08-economics.md +0 -182
  83. package/template/knowledge/Ralph/09-resources.md +0 -145
  84. package/template/knowledge/Ralph/10-claude-code-workflow.md +0 -212
  85. package/template/knowledge/Ralph/11-team-training-guide.md +0 -383
  86. package/template/knowledge/Ralph/README.md +0 -40
  87. package/template/knowledge/ai-security-framework/CONTRIBUTING.md +0 -139
  88. package/template/knowledge/ai-security-framework/GLOSSARY.md +0 -176
  89. package/template/knowledge/ai-security-framework/LICENSE +0 -21
  90. package/template/knowledge/ai-security-framework/QUICK-START.md +0 -172
  91. package/template/knowledge/ai-security-framework/README.md +0 -232
  92. package/template/knowledge/ai-security-framework/checklists/browser-security.md +0 -301
  93. package/template/knowledge/ai-security-framework/checklists/credential-isolation.md +0 -322
  94. package/template/knowledge/ai-security-framework/checklists/incident-response.md +0 -288
  95. package/template/knowledge/ai-security-framework/checklists/pre-flight.md +0 -249
  96. package/template/knowledge/ai-security-framework/checklists/weekly-audit.md +0 -159
  97. package/template/knowledge/ai-security-framework/configs/audit-logging.md +0 -372
  98. package/template/knowledge/ai-security-framework/configs/kill-switches.md +0 -354
  99. package/template/knowledge/ai-security-framework/docs/01-core-principles.md +0 -256
  100. package/template/knowledge/ai-security-framework/docs/02-threat-landscape.md +0 -326
  101. package/template/knowledge/ai-security-framework/docs/03-security-posture.md +0 -250
  102. package/template/knowledge/ai-security-framework/templates/agents-security.md +0 -233
  103. package/template/knowledge/design-styles/README.md +0 -42
  104. package/template/knowledge/design-styles/american-industrial.md +0 -136
  105. package/template/knowledge/design-styles/ethereal-abstract.md +0 -133
  106. package/template/knowledge/design-styles/liminal-portal.md +0 -111
  107. package/template/knowledge/design-styles/swipes/american-industrial/G-3m4YPW0AADdu2.jpeg +0 -0
  108. package/template/knowledge/design-styles/swipes/american-industrial/G-JJlt5WwAABK3K.png +0 -0
  109. package/template/knowledge/design-styles/swipes/american-industrial/G-JJmj5W0AEbJ-7.png +0 -0
  110. package/template/knowledge/design-styles/swipes/american-industrial/G59fgNuXkAAKLJQ (1).jpeg +0 -0
  111. package/template/knowledge/design-styles/swipes/american-industrial/G59fgNuXkAAKLJQ.jpeg +0 -0
  112. package/template/knowledge/design-styles/swipes/american-industrial/G7fVkn3WEAAM-ST.jpeg +0 -0
  113. package/template/knowledge/design-styles/swipes/american-industrial/G8ECO5JWEAIksyn.png +0 -0
  114. package/template/knowledge/design-styles/swipes/american-industrial/G9-3GQSWoAA8eqZ.png +0 -0
  115. package/template/knowledge/design-styles/swipes/american-industrial/G9xEOqrXkAEZRcs.png +0 -0
  116. package/template/knowledge/design-styles/swipes/american-industrial/G_MVeJrXQAA8sx4.jpeg +0 -0
  117. package/template/knowledge/design-styles/swipes/american-industrial/G_RSkmGXkAAgAVZ.png +0 -0
  118. package/template/knowledge/design-styles/swipes/american-industrial/README.md +0 -31
  119. package/template/knowledge/design-styles/swipes/american-industrial/qyqtg7Dq.png +0 -0
  120. package/template/knowledge/dev-team/README.md +0 -35
  121. package/template/knowledge/dev-team/patterns/README.md +0 -34
  122. package/template/knowledge/dev-team/patterns/frontend/react-best-practices.md +0 -178
  123. package/template/knowledge/dev-team/troubleshooting/README.md +0 -31
  124. package/template/knowledge/dev-team/workflows/README.md +0 -49
  125. package/template/knowledge/hq/checkpoint-schema.json +0 -51
  126. package/template/knowledge/hq/index-md-spec.md +0 -74
  127. package/template/knowledge/hq/thread-schema.md +0 -153
  128. package/template/knowledge/hq-core/checkpoint-schema.json +0 -51
  129. package/template/knowledge/hq-core/index-md-spec.md +0 -74
  130. package/template/knowledge/hq-core/thread-schema.md +0 -153
  131. package/template/knowledge/loom/README.md +0 -51
  132. package/template/knowledge/loom/architecture.md +0 -125
  133. package/template/knowledge/loom/code-style.md +0 -169
  134. package/template/knowledge/loom/llm-proxy.md +0 -132
  135. package/template/knowledge/loom/state-machine.md +0 -131
  136. package/template/knowledge/loom/thread-system.md +0 -117
  137. package/template/knowledge/loom/tools.md +0 -94
  138. package/template/knowledge/loom/weaver.md +0 -96
  139. package/template/knowledge/loom/web-frontend.md +0 -131
  140. package/template/knowledge/projects/README.md +0 -72
  141. package/template/knowledge/projects/templates/README.template.md +0 -28
  142. package/template/knowledge/workers/README.md +0 -195
  143. package/template/knowledge/workers/ralph-loop-pattern.md +0 -157
  144. package/template/knowledge/workers/skill-schema.md +0 -182
  145. package/template/knowledge/workers/state-machine.md +0 -102
  146. package/template/knowledge/workers/templates/base-worker.yaml +0 -73
  147. package/template/knowledge/workers/templates/code-worker.yaml +0 -85
  148. package/template/knowledge/workers/templates/skill.yaml +0 -49
  149. package/template/knowledge/workers/templates/social-worker.yaml +0 -70
  150. package/template/modules/examples/full-manifest.yaml +0 -92
  151. package/template/modules/examples/minimal.yaml +0 -14
  152. package/template/modules/modules.yaml +0 -59
  153. package/template/projects/.gitkeep +0 -0
  154. package/template/projects/incorporate-workers-into-pure-ralph/prd.json +0 -88
  155. package/template/projects/pure-ralph-branch-isolation/README.md +0 -114
  156. package/template/projects/pure-ralph-branch-isolation/prd.json +0 -123
  157. package/template/projects/purist-ralph-loop/README.md +0 -148
  158. package/template/projects/purist-ralph-loop/prd.json +0 -135
  159. package/template/projects/ralph-test/prd.json +0 -50
  160. package/template/prompts/pure-ralph-base.md +0 -551
  161. package/template/settings/.gitkeep +0 -0
  162. package/template/settings/pure-ralph.json +0 -42
  163. package/template/social-content/drafts/INDEX.md +0 -21
  164. package/template/social-content/drafts/linkedin/.gitkeep +0 -1
  165. package/template/social-content/drafts/x/.gitkeep +0 -1
  166. package/template/social-content/images/.gitkeep +0 -1
  167. package/template/starter-projects/code-worker/README.md +0 -97
  168. package/template/starter-projects/code-worker/prd.json +0 -45
  169. package/template/starter-projects/personal-assistant/README.md +0 -42
  170. package/template/starter-projects/personal-assistant/prd.json +0 -43
  171. package/template/starter-projects/social-media/README.md +0 -60
  172. package/template/starter-projects/social-media/prd.json +0 -43
  173. package/template/workers/content-brand/README.md +0 -59
  174. package/template/workers/content-brand/skills/messaging-alignment.md +0 -91
  175. package/template/workers/content-brand/skills/tone-check.md +0 -76
  176. package/template/workers/content-brand/skills/voice-analysis.md +0 -68
  177. package/template/workers/content-brand/worker.yaml +0 -81
  178. package/template/workers/content-legal/README.md +0 -80
  179. package/template/workers/content-legal/skills/claim-substantiation.md +0 -150
  180. package/template/workers/content-legal/skills/compliance-scan.md +0 -123
  181. package/template/workers/content-legal/skills/disclaimer-check.md +0 -146
  182. package/template/workers/content-legal/worker.yaml +0 -118
  183. package/template/workers/content-product/README.md +0 -77
  184. package/template/workers/content-product/skills/claim-verification.md +0 -96
  185. package/template/workers/content-product/skills/feature-accuracy.md +0 -117
  186. package/template/workers/content-product/skills/stats-check.md +0 -128
  187. package/template/workers/content-product/worker.yaml +0 -97
  188. package/template/workers/content-sales/README.md +0 -70
  189. package/template/workers/content-sales/skills/conversion-analysis.md +0 -96
  190. package/template/workers/content-sales/skills/cta-audit.md +0 -107
  191. package/template/workers/content-sales/skills/value-prop-check.md +0 -114
  192. package/template/workers/content-sales/worker.yaml +0 -93
  193. package/template/workers/content-shared/cli.ts +0 -242
  194. package/template/workers/content-shared/index.ts +0 -234
  195. package/template/workers/content-shared/lib/accuracy-analyzer.ts +0 -661
  196. package/template/workers/content-shared/lib/analyze.ts +0 -370
  197. package/template/workers/content-shared/lib/brand-analyzer.ts +0 -526
  198. package/template/workers/content-shared/lib/cms-integration.ts +0 -446
  199. package/template/workers/content-shared/lib/compliance-analyzer.ts +0 -655
  200. package/template/workers/content-shared/lib/conversion-analyzer.ts +0 -555
  201. package/template/workers/content-shared/lib/github-integration.ts +0 -582
  202. package/template/workers/content-shared/lib/output.ts +0 -373
  203. package/template/workers/content-shared/lib/parser.ts +0 -771
  204. package/template/workers/content-shared/lib/priority.ts +0 -439
  205. package/template/workers/content-shared/lib/recommendations.ts +0 -512
  206. package/template/workers/content-shared/lib/reporter.ts +0 -749
  207. package/template/workers/content-shared/lib/restructure.ts +0 -664
  208. package/template/workers/content-shared/lib/scorer.ts +0 -140
  209. package/template/workers/content-shared/lib/types.ts +0 -227
  210. package/template/workers/content-shared/lib/variants.ts +0 -595
  211. package/template/workers/content-shared/package.json +0 -51
  212. package/template/workers/content-shared/pnpm-lock.yaml +0 -39
  213. package/template/workers/content-shared/test/sample-page.json +0 -115
  214. package/template/workers/content-shared/tsconfig.json +0 -20
  215. package/template/workers/dev-team/README.md +0 -166
  216. package/template/workers/dev-team/_template.yaml +0 -70
  217. package/template/workers/dev-team/architect/package.json +0 -27
  218. package/template/workers/dev-team/architect/skills/api-design.md +0 -89
  219. package/template/workers/dev-team/architect/skills/refactor-plan.md +0 -96
  220. package/template/workers/dev-team/architect/skills/system-design.md +0 -100
  221. package/template/workers/dev-team/architect/src/index.ts +0 -49
  222. package/template/workers/dev-team/architect/src/mcp-server.ts +0 -122
  223. package/template/workers/dev-team/architect/src/skills/api-design.ts +0 -316
  224. package/template/workers/dev-team/architect/src/skills/refactor-plan.ts +0 -264
  225. package/template/workers/dev-team/architect/src/skills/system-design.ts +0 -212
  226. package/template/workers/dev-team/architect/tsconfig.json +0 -19
  227. package/template/workers/dev-team/architect/worker.yaml +0 -128
  228. package/template/workers/dev-team/backend-dev/package-lock.json +0 -1252
  229. package/template/workers/dev-team/backend-dev/package.json +0 -27
  230. package/template/workers/dev-team/backend-dev/skills/implement-endpoint.md +0 -70
  231. package/template/workers/dev-team/backend-dev/skills/implement-service.md +0 -62
  232. package/template/workers/dev-team/backend-dev/src/index.ts +0 -51
  233. package/template/workers/dev-team/backend-dev/src/mcp-server.ts +0 -109
  234. package/template/workers/dev-team/backend-dev/src/skills/implement-endpoint.ts +0 -122
  235. package/template/workers/dev-team/backend-dev/src/skills/implement-service.ts +0 -126
  236. package/template/workers/dev-team/backend-dev/tsconfig.json +0 -19
  237. package/template/workers/dev-team/backend-dev/worker.yaml +0 -128
  238. package/template/workers/dev-team/code-reviewer/package-lock.json +0 -1080
  239. package/template/workers/dev-team/code-reviewer/package.json +0 -24
  240. package/template/workers/dev-team/code-reviewer/skills/merge-to-production.md +0 -61
  241. package/template/workers/dev-team/code-reviewer/skills/merge-to-staging.md +0 -54
  242. package/template/workers/dev-team/code-reviewer/skills/request-changes.md +0 -63
  243. package/template/workers/dev-team/code-reviewer/skills/review-pr.md +0 -77
  244. package/template/workers/dev-team/code-reviewer/src/index.ts +0 -56
  245. package/template/workers/dev-team/code-reviewer/src/mcp-server.ts +0 -101
  246. package/template/workers/dev-team/code-reviewer/tsconfig.json +0 -19
  247. package/template/workers/dev-team/code-reviewer/worker.yaml +0 -90
  248. package/template/workers/dev-team/database-dev/package.json +0 -22
  249. package/template/workers/dev-team/database-dev/skills/create-schema.md +0 -48
  250. package/template/workers/dev-team/database-dev/src/index.ts +0 -50
  251. package/template/workers/dev-team/database-dev/src/mcp-server.ts +0 -76
  252. package/template/workers/dev-team/database-dev/tsconfig.json +0 -18
  253. package/template/workers/dev-team/database-dev/worker.yaml +0 -90
  254. package/template/workers/dev-team/frontend-dev/package.json +0 -22
  255. package/template/workers/dev-team/frontend-dev/skills/create-component.md +0 -26
  256. package/template/workers/dev-team/frontend-dev/src/index.ts +0 -50
  257. package/template/workers/dev-team/frontend-dev/src/mcp-server.ts +0 -77
  258. package/template/workers/dev-team/frontend-dev/tsconfig.json +0 -18
  259. package/template/workers/dev-team/frontend-dev/worker.yaml +0 -132
  260. package/template/workers/dev-team/infra-dev/package.json +0 -24
  261. package/template/workers/dev-team/infra-dev/skills/add-monitoring.md +0 -73
  262. package/template/workers/dev-team/infra-dev/skills/configure-deployment.md +0 -80
  263. package/template/workers/dev-team/infra-dev/skills/create-dockerfile.md +0 -62
  264. package/template/workers/dev-team/infra-dev/skills/setup-cicd.md +0 -63
  265. package/template/workers/dev-team/infra-dev/src/index.ts +0 -55
  266. package/template/workers/dev-team/infra-dev/src/mcp-server.ts +0 -82
  267. package/template/workers/dev-team/infra-dev/tsconfig.json +0 -19
  268. package/template/workers/dev-team/infra-dev/worker.yaml +0 -92
  269. package/template/workers/dev-team/knowledge-curator/package.json +0 -24
  270. package/template/workers/dev-team/knowledge-curator/skills/curate-troubleshooting.md +0 -63
  271. package/template/workers/dev-team/knowledge-curator/skills/process-learnings.md +0 -61
  272. package/template/workers/dev-team/knowledge-curator/skills/sync-documentation.md +0 -76
  273. package/template/workers/dev-team/knowledge-curator/skills/update-patterns.md +0 -63
  274. package/template/workers/dev-team/knowledge-curator/src/index.ts +0 -53
  275. package/template/workers/dev-team/knowledge-curator/src/mcp-server.ts +0 -92
  276. package/template/workers/dev-team/knowledge-curator/tsconfig.json +0 -19
  277. package/template/workers/dev-team/knowledge-curator/worker.yaml +0 -80
  278. package/template/workers/dev-team/motion-designer/package.json +0 -22
  279. package/template/workers/dev-team/motion-designer/skills/add-animation.md +0 -25
  280. package/template/workers/dev-team/motion-designer/skills/generate-image.md +0 -36
  281. package/template/workers/dev-team/motion-designer/src/index.ts +0 -63
  282. package/template/workers/dev-team/motion-designer/src/mcp-server.ts +0 -79
  283. package/template/workers/dev-team/motion-designer/tsconfig.json +0 -18
  284. package/template/workers/dev-team/motion-designer/worker.yaml +0 -84
  285. package/template/workers/dev-team/product-planner/queue.json +0 -4
  286. package/template/workers/dev-team/product-planner/worker.yaml +0 -220
  287. package/template/workers/dev-team/project-manager/package-lock.json +0 -1252
  288. package/template/workers/dev-team/project-manager/package.json +0 -27
  289. package/template/workers/dev-team/project-manager/skills/create-prd.md +0 -66
  290. package/template/workers/dev-team/project-manager/skills/next-issue.md +0 -51
  291. package/template/workers/dev-team/project-manager/skills/project-status.md +0 -59
  292. package/template/workers/dev-team/project-manager/skills/update-learnings.md +0 -65
  293. package/template/workers/dev-team/project-manager/src/index.ts +0 -54
  294. package/template/workers/dev-team/project-manager/src/mcp-server.ts +0 -207
  295. package/template/workers/dev-team/project-manager/src/skills/create-prd.ts +0 -86
  296. package/template/workers/dev-team/project-manager/src/skills/next-issue.ts +0 -137
  297. package/template/workers/dev-team/project-manager/src/skills/project-status.ts +0 -131
  298. package/template/workers/dev-team/project-manager/src/skills/update-learnings.ts +0 -94
  299. package/template/workers/dev-team/project-manager/tsconfig.json +0 -19
  300. package/template/workers/dev-team/project-manager/worker.yaml +0 -96
  301. package/template/workers/dev-team/qa-tester/package.json +0 -24
  302. package/template/workers/dev-team/qa-tester/skills/create-demo-account.md +0 -36
  303. package/template/workers/dev-team/qa-tester/skills/run-tests.md +0 -36
  304. package/template/workers/dev-team/qa-tester/skills/write-test.md +0 -27
  305. package/template/workers/dev-team/qa-tester/src/index.ts +0 -61
  306. package/template/workers/dev-team/qa-tester/src/mcp-server.ts +0 -88
  307. package/template/workers/dev-team/qa-tester/tsconfig.json +0 -18
  308. package/template/workers/dev-team/qa-tester/worker.yaml +0 -116
  309. package/template/workers/dev-team/task-executor/package-lock.json +0 -1252
  310. package/template/workers/dev-team/task-executor/package.json +0 -27
  311. package/template/workers/dev-team/task-executor/skills/analyze-issue.md +0 -101
  312. package/template/workers/dev-team/task-executor/skills/execute.md +0 -133
  313. package/template/workers/dev-team/task-executor/skills/report-learnings.md +0 -106
  314. package/template/workers/dev-team/task-executor/skills/validate-completion.md +0 -121
  315. package/template/workers/dev-team/task-executor/src/index.ts +0 -54
  316. package/template/workers/dev-team/task-executor/src/mcp-server.ts +0 -139
  317. package/template/workers/dev-team/task-executor/src/skills/analyze-issue.ts +0 -219
  318. package/template/workers/dev-team/task-executor/src/skills/execute.ts +0 -132
  319. package/template/workers/dev-team/task-executor/src/skills/report-learnings.ts +0 -119
  320. package/template/workers/dev-team/task-executor/src/skills/validate-completion.ts +0 -142
  321. package/template/workers/dev-team/task-executor/tsconfig.json +0 -19
  322. package/template/workers/dev-team/task-executor/worker.yaml +0 -110
  323. package/template/workers/registry.yaml +0 -171
  324. package/template/workers/security-scanner/README.md +0 -73
  325. package/template/workers/security-scanner/skills/pre-deploy-check.md +0 -205
  326. package/template/workers/security-scanner/worker.yaml +0 -26
  327. package/template/workspace/checkpoints/.gitkeep +0 -0
  328. package/template/workspace/content-ideas/inbox.jsonl +0 -0
  329. package/template/workspace/drafts/.gitkeep +0 -0
  330. package/template/workspace/learnings/.gitkeep +0 -3
  331. package/template/workspace/orchestrator/.gitkeep +0 -0
  332. package/template/workspace/ralph-test/COMPLETE.md +0 -18
  333. package/template/workspace/ralph-test/hello.txt +0 -2
  334. package/template/workspace/reports/.gitkeep +0 -0
  335. package/template/workspace/scratch/.gitkeep +0 -0
  336. package/template/workspace/threads/.gitkeep +0 -3
@@ -1,97 +0,0 @@
1
- # Code Worker Setup
2
-
3
- Set up a Ralph loop for autonomous code implementation on your projects.
4
-
5
- ## What You'll Build
6
-
7
- - **Code Worker**: Implements features from PRDs autonomously
8
- - **Back Pressure System**: Verification (tests, types, build) before commits
9
- - **Ralph Loop**: Orchestrated implementation with fresh context per task
10
-
11
- ## How It Works
12
-
13
- The Ralph methodology uses a simple loop:
14
- 1. Pick a task from PRD (where `passes: false`)
15
- 2. Implement it in a fresh context
16
- 3. Run back pressure (typecheck, build, tests)
17
- 4. If passing, commit and mark complete
18
- 5. Repeat until all tasks pass
19
-
20
- ## Quick Start
21
-
22
- 1. Run `/setup` and select "Code Worker"
23
- 2. Follow the PRD tasks in order:
24
- - Configure repository connection
25
- - Create first PRD with features
26
- - Run first Ralph loop
27
-
28
- ## Files Created
29
-
30
- ```
31
- workers/code/{project}/
32
- ├── worker.yaml # Worker configuration
33
-
34
- projects/{project}/
35
- ├── prd.json # Feature tracking
36
- └── README.md # Project documentation
37
-
38
- workspace/checkpoints/
39
- └── {feature-id}.json # Task completion records
40
- ```
41
-
42
- ## Writing Good PRDs
43
-
44
- Each feature should be:
45
- - **Atomic**: One thing, not multiple
46
- - **Verifiable**: Clear acceptance criteria
47
- - **Scoped**: Files to modify listed upfront
48
-
49
- Example feature:
50
- ```json
51
- {
52
- "id": "F1",
53
- "title": "Add user authentication",
54
- "description": "Implement JWT-based auth with login/logout endpoints",
55
- "acceptance_criteria": [
56
- "POST /login returns JWT token",
57
- "POST /logout invalidates token",
58
- "Protected routes return 401 without valid token"
59
- ],
60
- "files": ["src/auth.ts", "src/routes/auth.ts"],
61
- "passes": false
62
- }
63
- ```
64
-
65
- ## Back Pressure Commands
66
-
67
- Customize in worker.yaml based on your stack:
68
-
69
- **TypeScript/Node:**
70
- ```yaml
71
- verification:
72
- post_execute:
73
- - check: typecheck
74
- command: npm run typecheck
75
- must_pass: true
76
- - check: build
77
- command: npm run build
78
- must_pass: true
79
- ```
80
-
81
- **Python:**
82
- ```yaml
83
- verification:
84
- post_execute:
85
- - check: typecheck
86
- command: mypy .
87
- must_pass: true
88
- - check: test
89
- command: pytest
90
- must_pass: true
91
- ```
92
-
93
- ## Next Steps After Setup
94
-
95
- - Run `/ralph-loop` to implement features automatically
96
- - Use `/checkpoint` to save progress mid-task
97
- - Add more features to prd.json as you go
@@ -1,45 +0,0 @@
1
- {
2
- "project": "code-worker-setup",
3
- "goal": "Set up Ralph loop for autonomous code implementation on a project",
4
- "success_criteria": "Code worker running Ralph loops, back pressure passing, features being committed automatically",
5
- "features": [
6
- {
7
- "id": "repo-setup",
8
- "title": "Configure repository connection",
9
- "description": "Link code worker to your project repository with proper verification commands",
10
- "acceptance_criteria": [
11
- "worker.yaml has correct repo/project path",
12
- "Back pressure commands defined (typecheck, build, test)",
13
- "Verification passes when run locally"
14
- ],
15
- "files": ["workers/code/{project}/worker.yaml"],
16
- "passes": false
17
- },
18
- {
19
- "id": "first-prd",
20
- "title": "Create first PRD",
21
- "description": "Define features for Ralph loop to implement",
22
- "acceptance_criteria": [
23
- "prd.json has project name and goal",
24
- "At least 3 features defined",
25
- "Each feature has acceptance_criteria array",
26
- "All features start with passes: false"
27
- ],
28
- "files": ["projects/{project}/prd.json"],
29
- "passes": false
30
- },
31
- {
32
- "id": "first-loop",
33
- "title": "Run first Ralph loop",
34
- "description": "Execute /ralph-loop and complete one feature",
35
- "acceptance_criteria": [
36
- "Sub-agent spawned successfully",
37
- "Back pressure checks pass",
38
- "Checkpoint written to workspace/checkpoints/",
39
- "Feature marked passes: true in PRD"
40
- ],
41
- "files": [],
42
- "passes": false
43
- }
44
- ]
45
- }
@@ -1,42 +0,0 @@
1
- # Personal Assistant Setup
2
-
3
- Set up an email digest worker that creates a "Presidential Daily Brief" from your unread emails.
4
-
5
- ## What You'll Build
6
-
7
- - **Email Worker**: Fetches and classifies your emails
8
- - **Daily Digest**: HTML summary with urgent/actionable/fyi sections
9
- - **Automated Schedule**: Runs daily at your preferred time
10
-
11
- ## Prerequisites
12
-
13
- - Email account(s) you want to digest
14
- - (Optional) API credentials for your email provider
15
-
16
- ## Quick Start
17
-
18
- 1. Run `/setup` and select "Personal Assistant"
19
- 2. Follow the PRD tasks in order:
20
- - Configure email accounts
21
- - Customize worker schedule
22
- - Run first digest
23
-
24
- ## Files Created
25
-
26
- ```
27
- workers/assistant/email/
28
- ├── worker.yaml # Worker configuration
29
- └── prd.json # Task tracking
30
-
31
- settings/email/
32
- └── accounts.json # Your email accounts (gitignored)
33
-
34
- workspace/digests/
35
- └── {date}-pdb.html # Generated digests
36
- ```
37
-
38
- ## Next Steps After Setup
39
-
40
- - Run `/digest` to generate a digest on-demand
41
- - Adjust classification rules in worker.yaml
42
- - Add more email accounts as needed
@@ -1,43 +0,0 @@
1
- {
2
- "project": "personal-assistant-setup",
3
- "goal": "Set up email digest and task management workers",
4
- "success_criteria": "Daily email digest running automatically, classifying emails correctly",
5
- "features": [
6
- {
7
- "id": "email-config",
8
- "title": "Configure email accounts",
9
- "description": "Add email accounts to settings/email/accounts.json for the digest worker to access",
10
- "acceptance_criteria": [
11
- "accounts.json exists with at least one account",
12
- "Account has name, email, and provider fields",
13
- "Provider is one of: gmail, outlook, imap"
14
- ],
15
- "files": ["settings/email/accounts.json"],
16
- "passes": false
17
- },
18
- {
19
- "id": "email-worker",
20
- "title": "Customize email worker",
21
- "description": "Update email worker settings to match your schedule and preferences",
22
- "acceptance_criteria": [
23
- "worker.yaml has correct schedule (morning or evening)",
24
- "Digest format matches preferences",
25
- "Output destination is set correctly"
26
- ],
27
- "files": ["workers/assistant/email/worker.yaml"],
28
- "passes": false
29
- },
30
- {
31
- "id": "first-digest",
32
- "title": "Run first email digest",
33
- "description": "Execute email worker manually and generate first digest to verify setup",
34
- "acceptance_criteria": [
35
- "Digest generated in workspace/digests/",
36
- "Classification working (urgent/actionable/fyi/archive)",
37
- "HTML opens correctly in browser"
38
- ],
39
- "files": [],
40
- "passes": false
41
- }
42
- ]
43
- }
@@ -1,60 +0,0 @@
1
- # Social Media Worker Setup
2
-
3
- Set up a content worker that helps you maintain a consistent social media presence.
4
-
5
- ## What You'll Build
6
-
7
- - **Voice Style Guide**: Document your authentic writing voice
8
- - **Content Worker**: Generates drafts matching your style
9
- - **Content Queue**: Organized pipeline of ideas → drafts → posts
10
-
11
- ## Supported Platforms
12
-
13
- - X (Twitter)
14
- - LinkedIn
15
- - (Add more as needed)
16
-
17
- ## Quick Start
18
-
19
- 1. Run `/setup` and select "Social Media Worker"
20
- 2. Follow the PRD tasks in order:
21
- - Create voice style guide
22
- - Seed content queue with ideas
23
- - Generate first draft
24
-
25
- ## Files Created
26
-
27
- ```
28
- knowledge/{your-name}/
29
- ├── profile.md # Your identity and positioning
30
- └── voice-style.md # Writing voice documentation
31
-
32
- workers/social/{platform}/
33
- ├── worker.yaml # Worker configuration
34
- └── queue.json # Content queue
35
-
36
- social-content/drafts/
37
- ├── INDEX.md # Draft inventory
38
- ├── x/ # X/Twitter drafts
39
- └── linkedin/ # LinkedIn drafts
40
- ```
41
-
42
- ## Content Commands
43
-
44
- - `/contentidea {idea}` - Transform idea into full content suite
45
- - `/suggestposts` - Get strategic posting suggestions
46
- - `/scheduleposts` - Pick what to post based on context
47
-
48
- ## Voice Style Tips
49
-
50
- Your voice-style.md should include:
51
- - **Tone**: Professional? Casual? Direct?
52
- - **Patterns**: Phrases you use, sentence structures you prefer
53
- - **Avoid**: Things that don't sound like you
54
- - **Examples**: Real posts that capture your voice
55
-
56
- ## Next Steps After Setup
57
-
58
- - Run `/suggestposts` to get content ideas
59
- - Run `/contentidea {topic}` to build out an idea
60
- - Run `/scheduleposts` when ready to post
@@ -1,43 +0,0 @@
1
- {
2
- "project": "social-presence-setup",
3
- "goal": "Set up social media content worker for consistent posting with your authentic voice",
4
- "success_criteria": "Content queue established, voice guide documented, first draft generated matching your style",
5
- "features": [
6
- {
7
- "id": "voice-guide",
8
- "title": "Create voice style guide",
9
- "description": "Document your writing voice so content stays consistent and authentic",
10
- "acceptance_criteria": [
11
- "voice-style.md has tone section",
12
- "Includes 3+ example phrases that sound like you",
13
- "Lists things to avoid in your writing"
14
- ],
15
- "files": ["knowledge/{your-name}/voice-style.md"],
16
- "passes": false
17
- },
18
- {
19
- "id": "content-queue",
20
- "title": "Seed content queue",
21
- "description": "Add initial content ideas to the queue to get started",
22
- "acceptance_criteria": [
23
- "queue.json has at least 3 content ideas",
24
- "Each idea has topic, type (post/thread/article), and notes",
25
- "Ideas span different themes/topics"
26
- ],
27
- "files": ["workers/social/{platform}/queue.json"],
28
- "passes": false
29
- },
30
- {
31
- "id": "first-draft",
32
- "title": "Generate first content draft",
33
- "description": "Run social worker or /contentidea to create first draft",
34
- "acceptance_criteria": [
35
- "Draft saved to workspace/drafts/social/",
36
- "Matches voice style guide",
37
- "Within platform character limits"
38
- ],
39
- "files": [],
40
- "passes": false
41
- }
42
- ]
43
- }
@@ -1,59 +0,0 @@
1
- # Content Worker: Brand Voice
2
-
3
- Brand voice analysis worker for ExampleCo content.
4
-
5
- ## Purpose
6
-
7
- Analyzes website content for brand voice consistency, tone alignment, and messaging effectiveness. Ensures all content reflects ExampleCo's professional-yet-approachable brand identity.
8
-
9
- ## Skills
10
-
11
- | Skill | Description |
12
- |-------|-------------|
13
- | voice-analysis | Evaluate overall brand voice consistency |
14
- | tone-check | Check tone matches context (page type, audience) |
15
- | messaging-alignment | Verify key messages are represented |
16
-
17
- ## Knowledge Sources
18
-
19
- - `companies/example-company/knowledge/brand-guidelines.md` - Core brand voice guide
20
- - `companies/example-company/knowledge/messaging/` - Messaging by audience/vertical
21
-
22
- ## Scoring Categories
23
-
24
- | Category | Weight | Description |
25
- |----------|--------|-------------|
26
- | Tone Alignment | 30% | Matches professional-approachable balance |
27
- | Messaging Consistency | 30% | Key messages present and accurate |
28
- | Jargon Appropriateness | 20% | Technical language at right level |
29
- | Trust Elements | 20% | Proof points, credentials, social proof |
30
-
31
- ## Brand Voice Characteristics
32
-
33
- 1. **Professional but Approachable** - Enterprise credibility without coldness
34
- 2. **Confident without Arrogance** - Authority without dismissiveness
35
- 3. **Technical with Clarity** - Accuracy without confusion
36
- 4. **Trust-Building** - Proof-driven claims, no hype
37
-
38
- ## Usage
39
-
40
- ```bash
41
- # Run via HQ
42
- /run content-brand --page homepage
43
-
44
- # Or directly
45
- cd workers/content-brand
46
- npx ts-node src/analyze.ts --input content/homepage.json
47
- ```
48
-
49
- ## Output
50
-
51
- Reports go to `workspace/reports/content/` with format:
52
- - `{date}-content-brand-{page}.md`
53
-
54
- ## Integration
55
-
56
- Part of the Content Team worker group. Works alongside:
57
- - content-sales (conversion analysis)
58
- - content-product (accuracy verification)
59
- - content-legal (compliance checking)
@@ -1,91 +0,0 @@
1
- # Skill: Messaging Alignment
2
-
3
- Verify content aligns with approved brand messaging and key messages.
4
-
5
- ## Input
6
-
7
- - Page content JSON
8
- - Brand messaging guidelines
9
- - Key message library
10
-
11
- ## Process
12
-
13
- 1. **Load key messages**
14
- - Core value proposition
15
- - Product positioning statements
16
- - Audience-specific messages
17
- - Proof points and stats
18
-
19
- 2. **Scan content for alignment**
20
- - Key message presence
21
- - Accurate representation
22
- - Consistent terminology
23
- - No conflicting claims
24
-
25
- 3. **Identify gaps**
26
- - Missing key messages
27
- - Diluted messaging
28
- - Off-brand statements
29
-
30
- 4. **Score alignment**
31
- - Message coverage
32
- - Accuracy
33
- - Consistency
34
-
35
- ## Key Message Categories
36
-
37
- ### Core Value Proposition
38
- - What ExampleCo does
39
- - Who it's for
40
- - Why it matters
41
- - How it's different
42
-
43
- ### Product Messaging
44
- - Feature descriptions
45
- - Benefit statements
46
- - Use case framing
47
- - Technical capabilities
48
-
49
- ### Audience-Specific
50
- - Banking/Credit Union focus
51
- - Healthcare positioning
52
- - Enterprise requirements
53
- - Security/Compliance emphasis
54
-
55
- ### Proof Points
56
- - Customer metrics
57
- - Industry recognition
58
- - Security certifications
59
- - Case study references
60
-
61
- ## Scoring Criteria
62
-
63
- | Criterion | Weight | Description |
64
- |-----------|--------|-------------|
65
- | Coverage | 30% | Key messages present |
66
- | Accuracy | 30% | Messages stated correctly |
67
- | Consistency | 20% | Same terms throughout |
68
- | Prominence | 20% | Messages visible, not buried |
69
-
70
- ## Output
71
-
72
- ```yaml
73
- alignment_score: 85
74
- key_messages:
75
- present:
76
- - "Enterprise AI platform"
77
- - "Banking-focused"
78
- - "SOC2 certified"
79
- missing:
80
- - "Implementation support"
81
- inaccurate:
82
- - message: "Industry leader"
83
- issue: "Claim not substantiated on page"
84
- terminology:
85
- consistent:
86
- - "ExampleCo OS" (used 4x)
87
- inconsistent:
88
- - term: "AI assistant"
89
- variants: ["AI helper", "virtual assistant", "bot"]
90
- recommendation: "Standardize on 'AI assistant'"
91
- ```
@@ -1,76 +0,0 @@
1
- # Skill: Tone Check
2
-
3
- Verify tone matches page context and target audience.
4
-
5
- ## Input
6
-
7
- - Page content JSON
8
- - Page type (homepage, product, solutions, etc.)
9
- - Target audience (if specified)
10
-
11
- ## Process
12
-
13
- 1. **Identify page context**
14
- - Page type from URL/metadata
15
- - Target audience from content signals
16
- - Conversion goal
17
-
18
- 2. **Define expected tone**
19
- - Homepage: Confident, welcoming, high-level
20
- - Product pages: Detailed, technical, benefit-focused
21
- - Solutions pages: Empathetic, problem-aware, specific
22
- - About pages: Authentic, credible, human
23
-
24
- 3. **Analyze actual tone**
25
- - Sentence structure (formal vs casual)
26
- - Word choice complexity
27
- - Emotional register
28
- - Call-to-action intensity
29
-
30
- 4. **Compare and score**
31
- - Match percentage
32
- - Deviation severity
33
- - Context appropriateness
34
-
35
- ## Tone Expectations by Page Type
36
-
37
- ### Homepage
38
- - Confident but not boastful
39
- - Welcoming, inclusive
40
- - Clear value proposition
41
- - Light on details, heavy on benefits
42
-
43
- ### Product Pages
44
- - Technical accuracy
45
- - Feature-benefit connections
46
- - Use case clarity
47
- - Appropriate depth
48
-
49
- ### Solutions Pages
50
- - Problem acknowledgment
51
- - Empathy for pain points
52
- - Specific to vertical/audience
53
- - Proof points relevant to context
54
-
55
- ### Legal/Compliance Pages
56
- - Formal, precise
57
- - No marketing language
58
- - Clear and unambiguous
59
- - Properly structured
60
-
61
- ## Output
62
-
63
- ```yaml
64
- tone_score: 76
65
- page_type: "product"
66
- expected_tone: "technical, benefit-focused"
67
- actual_tone: "promotional, feature-heavy"
68
- mismatches:
69
- - element: "Product description"
70
- expected: "Specific technical capabilities"
71
- actual: "Generic marketing language"
72
- impact: "medium"
73
- recommendations:
74
- - "Add specific metrics and use cases"
75
- - "Reduce promotional adjectives"
76
- ```
@@ -1,68 +0,0 @@
1
- # Skill: Voice Analysis
2
-
3
- Evaluate overall brand voice consistency across page content.
4
-
5
- ## Input
6
-
7
- Page content JSON with extracted text sections.
8
-
9
- ## Process
10
-
11
- 1. **Extract all text elements**
12
- - Headings (H1-H6)
13
- - Paragraphs
14
- - CTAs and buttons
15
- - List items
16
-
17
- 2. **Analyze voice characteristics**
18
- - Professional tone markers
19
- - Approachability indicators
20
- - Confidence level (without arrogance)
21
- - Technical clarity
22
-
23
- 3. **Score each characteristic**
24
- - 0-25: Poor alignment
25
- - 26-50: Needs improvement
26
- - 51-75: Acceptable
27
- - 76-100: Strong alignment
28
-
29
- 4. **Identify deviations**
30
- - Flag overly casual language
31
- - Flag aggressive sales language
32
- - Flag inconsistent tone shifts
33
-
34
- ## Scoring Rubric
35
-
36
- ### Professional Markers (positive)
37
- - Industry-appropriate terminology
38
- - Clear, direct statements
39
- - Data-backed claims
40
- - Formal structure
41
-
42
- ### Approachability Markers (positive)
43
- - Second person ("you", "your")
44
- - Benefit-focused language
45
- - Conversational clarity
46
- - Empathetic acknowledgment
47
-
48
- ### Red Flags (negative)
49
- - Hyperbole ("revolutionary", "game-changing")
50
- - Urgency pressure ("act now", "don't miss")
51
- - Unexplained acronyms
52
- - Jargon overload
53
-
54
- ## Output
55
-
56
- ```yaml
57
- voice_score: 82
58
- characteristics:
59
- professional: 85
60
- approachable: 78
61
- confident: 80
62
- clear: 84
63
- deviations:
64
- - location: "Hero section"
65
- issue: "Overly promotional language"
66
- evidence: "Revolutionary AI that transforms everything"
67
- suggestion: "Focus on specific, provable benefits"
68
- ```