godpowers 0.15.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 (444) hide show
  1. package/AGENTS.md +37 -0
  2. package/CHANGELOG.md +639 -0
  3. package/INSPIRATION.md +52 -0
  4. package/LICENSE +21 -0
  5. package/README.md +232 -0
  6. package/SKILL.md +500 -0
  7. package/agents/god-archaeologist.md +139 -0
  8. package/agents/god-architect.md +92 -0
  9. package/agents/god-auditor.md +150 -0
  10. package/agents/god-browser-tester.md +144 -0
  11. package/agents/god-context-writer.md +137 -0
  12. package/agents/god-coordinator.md +138 -0
  13. package/agents/god-debt-assessor.md +132 -0
  14. package/agents/god-debugger.md +77 -0
  15. package/agents/god-deploy-engineer.md +87 -0
  16. package/agents/god-deps-auditor.md +111 -0
  17. package/agents/god-design-reviewer.md +137 -0
  18. package/agents/god-designer.md +171 -0
  19. package/agents/god-docs-writer.md +102 -0
  20. package/agents/god-executor.md +76 -0
  21. package/agents/god-explorer.md +110 -0
  22. package/agents/god-harden-auditor.md +163 -0
  23. package/agents/god-incident-investigator.md +144 -0
  24. package/agents/god-launch-strategist.md +103 -0
  25. package/agents/god-migration-strategist.md +126 -0
  26. package/agents/god-observability-engineer.md +76 -0
  27. package/agents/god-orchestrator.md +728 -0
  28. package/agents/god-org-context-loader.md +124 -0
  29. package/agents/god-planner.md +73 -0
  30. package/agents/god-pm.md +105 -0
  31. package/agents/god-quality-reviewer.md +74 -0
  32. package/agents/god-reconciler.md +230 -0
  33. package/agents/god-reconstructor.md +124 -0
  34. package/agents/god-repo-scaffolder.md +60 -0
  35. package/agents/god-retrospective.md +109 -0
  36. package/agents/god-roadmap-reconciler.md +123 -0
  37. package/agents/god-roadmap-updater.md +89 -0
  38. package/agents/god-roadmapper.md +82 -0
  39. package/agents/god-spec-reviewer.md +70 -0
  40. package/agents/god-spike-runner.md +119 -0
  41. package/agents/god-stack-selector.md +93 -0
  42. package/agents/god-standards-check.md +132 -0
  43. package/agents/god-storyteller.md +116 -0
  44. package/agents/god-updater.md +174 -0
  45. package/bin/install.js +514 -0
  46. package/extensions/data-pack/README.md +33 -0
  47. package/extensions/data-pack/agents/god-dashboard-builder.md +66 -0
  48. package/extensions/data-pack/agents/god-etl-engineer.md +64 -0
  49. package/extensions/data-pack/agents/god-ml-feature-engineer.md +66 -0
  50. package/extensions/data-pack/manifest.yaml +39 -0
  51. package/extensions/data-pack/package.json +42 -0
  52. package/extensions/data-pack/skills/god-dashboard.md +28 -0
  53. package/extensions/data-pack/skills/god-etl.md +28 -0
  54. package/extensions/data-pack/skills/god-ml-feature.md +28 -0
  55. package/extensions/data-pack/workflows/dashboard-arc.yaml +13 -0
  56. package/extensions/data-pack/workflows/etl-arc.yaml +13 -0
  57. package/extensions/data-pack/workflows/ml-feature-arc.yaml +13 -0
  58. package/extensions/launch-pack/README.md +36 -0
  59. package/extensions/launch-pack/agents/god-indie-hackers-strategist.md +128 -0
  60. package/extensions/launch-pack/agents/god-oss-release-strategist.md +125 -0
  61. package/extensions/launch-pack/agents/god-product-hunt-strategist.md +118 -0
  62. package/extensions/launch-pack/agents/god-show-hn-strategist.md +113 -0
  63. package/extensions/launch-pack/manifest.yaml +45 -0
  64. package/extensions/launch-pack/package.json +41 -0
  65. package/extensions/launch-pack/skills/god-indie-hackers.md +39 -0
  66. package/extensions/launch-pack/skills/god-oss-release.md +43 -0
  67. package/extensions/launch-pack/skills/god-product-hunt.md +41 -0
  68. package/extensions/launch-pack/skills/god-show-hn.md +40 -0
  69. package/extensions/launch-pack/workflows/indie-hackers.yaml +13 -0
  70. package/extensions/launch-pack/workflows/oss-release.yaml +13 -0
  71. package/extensions/launch-pack/workflows/product-hunt.yaml +13 -0
  72. package/extensions/launch-pack/workflows/show-hn.yaml +13 -0
  73. package/extensions/security-pack/README.md +48 -0
  74. package/extensions/security-pack/agents/god-hipaa-auditor.md +117 -0
  75. package/extensions/security-pack/agents/god-pci-auditor.md +100 -0
  76. package/extensions/security-pack/agents/god-soc2-auditor.md +107 -0
  77. package/extensions/security-pack/manifest.yaml +39 -0
  78. package/extensions/security-pack/package.json +42 -0
  79. package/extensions/security-pack/skills/god-hipaa-audit.md +41 -0
  80. package/extensions/security-pack/skills/god-pci-audit.md +40 -0
  81. package/extensions/security-pack/skills/god-soc2-audit.md +42 -0
  82. package/extensions/security-pack/workflows/hipaa-arc.yaml +15 -0
  83. package/extensions/security-pack/workflows/pci-arc.yaml +15 -0
  84. package/extensions/security-pack/workflows/soc2-arc.yaml +15 -0
  85. package/hooks/pre-tool-use.sh +40 -0
  86. package/hooks/session-start.sh +74 -0
  87. package/lib/README.md +28 -0
  88. package/lib/agent-browser-driver.js +215 -0
  89. package/lib/agent-cache.js +194 -0
  90. package/lib/agent-validator.js +275 -0
  91. package/lib/artifact-diff.js +168 -0
  92. package/lib/artifact-linter.js +142 -0
  93. package/lib/awesome-design.js +312 -0
  94. package/lib/browser-bridge.js +209 -0
  95. package/lib/budget.js +215 -0
  96. package/lib/checkpoint.js +390 -0
  97. package/lib/code-scanner.js +262 -0
  98. package/lib/context-budget.js +170 -0
  99. package/lib/context-writer.js +348 -0
  100. package/lib/cost-tracker.js +325 -0
  101. package/lib/cross-artifact-impact.js +162 -0
  102. package/lib/cross-repo-linkage.js +150 -0
  103. package/lib/design-detector.js +167 -0
  104. package/lib/design-spec.js +348 -0
  105. package/lib/drift-detector.js +212 -0
  106. package/lib/event-reader.js +174 -0
  107. package/lib/events.js +183 -0
  108. package/lib/extensions.js +257 -0
  109. package/lib/have-nots-validator.js +647 -0
  110. package/lib/impact.js +314 -0
  111. package/lib/impeccable-bridge.js +139 -0
  112. package/lib/intent.js +177 -0
  113. package/lib/linkage.js +232 -0
  114. package/lib/meta-linter.js +263 -0
  115. package/lib/multi-repo-detector.js +182 -0
  116. package/lib/otel-exporter.js +308 -0
  117. package/lib/recipes.js +186 -0
  118. package/lib/reverse-sync.js +332 -0
  119. package/lib/review-required.js +224 -0
  120. package/lib/router.js +278 -0
  121. package/lib/runtime-audit.js +455 -0
  122. package/lib/runtime-test.js +309 -0
  123. package/lib/skillui-bridge.js +216 -0
  124. package/lib/state-lock.js +201 -0
  125. package/lib/state.js +142 -0
  126. package/lib/story-validator.js +301 -0
  127. package/lib/suite-state.js +220 -0
  128. package/lib/workflow-parser.js +109 -0
  129. package/lib/workflow-runner.js +221 -0
  130. package/package.json +63 -0
  131. package/references/HAVE-NOTS.md +573 -0
  132. package/references/building/BUILD-ANTIPATTERNS.md +102 -0
  133. package/references/building/BUILD-VERTICAL-SLICES.md +75 -0
  134. package/references/building/BUILD-WAVES.md +61 -0
  135. package/references/building/README.md +17 -0
  136. package/references/design/COLOR.md +122 -0
  137. package/references/design/DESIGN-ANATOMY.md +121 -0
  138. package/references/design/DESIGN-ANTIPATTERNS.md +108 -0
  139. package/references/design/INTERACTION.md +148 -0
  140. package/references/design/MOTION.md +120 -0
  141. package/references/design/RESPONSIVE.md +157 -0
  142. package/references/design/SPATIAL.md +109 -0
  143. package/references/design/TYPOGRAPHY.md +121 -0
  144. package/references/design/UX-WRITING.md +135 -0
  145. package/references/orchestration/MODE-DETECTION.md +74 -0
  146. package/references/orchestration/README.md +18 -0
  147. package/references/orchestration/SCALE-DETECTION.md +81 -0
  148. package/references/planning/ARCH-ANATOMY.md +143 -0
  149. package/references/planning/ARCH-ANTIPATTERNS.md +52 -0
  150. package/references/planning/PRD-ANATOMY.md +117 -0
  151. package/references/planning/PRD-ANTIPATTERNS.md +138 -0
  152. package/references/planning/README.md +16 -0
  153. package/references/planning/ROADMAP-ANATOMY.md +43 -0
  154. package/references/planning/ROADMAP-ANTIPATTERNS.md +94 -0
  155. package/references/planning/STACK-ANATOMY.md +60 -0
  156. package/references/planning/STACK-ANTIPATTERNS.md +95 -0
  157. package/references/shared/GLOSSARY.md +80 -0
  158. package/references/shared/ORCHESTRATORS.md +76 -0
  159. package/references/shared/README.md +14 -0
  160. package/references/shipping/DEPLOY-ANTIPATTERNS.md +64 -0
  161. package/references/shipping/DEPLOY-PATTERNS.md +110 -0
  162. package/references/shipping/HARDEN-ANTIPATTERNS.md +66 -0
  163. package/references/shipping/HARDEN-OWASP-WORKSHEETS.md +89 -0
  164. package/references/shipping/LAUNCH-ANTIPATTERNS.md +68 -0
  165. package/references/shipping/OBSERVE-ANTIPATTERNS.md +62 -0
  166. package/references/shipping/OBSERVE-SLO-EXAMPLES.md +107 -0
  167. package/references/shipping/README.md +18 -0
  168. package/routing/god-add-backlog.yaml +24 -0
  169. package/routing/god-add-tests.yaml +27 -0
  170. package/routing/god-add-todo.yaml +24 -0
  171. package/routing/god-agent-audit.yaml +24 -0
  172. package/routing/god-arch.yaml +46 -0
  173. package/routing/god-archaeology.yaml +28 -0
  174. package/routing/god-audit.yaml +32 -0
  175. package/routing/god-budget.yaml +24 -0
  176. package/routing/god-build-agent.yaml +24 -0
  177. package/routing/god-build.yaml +46 -0
  178. package/routing/god-cache-clear.yaml +24 -0
  179. package/routing/god-check-todos.yaml +24 -0
  180. package/routing/god-context-scan.yaml +24 -0
  181. package/routing/god-context.yaml +44 -0
  182. package/routing/god-cost.yaml +24 -0
  183. package/routing/god-debug.yaml +28 -0
  184. package/routing/god-deploy.yaml +34 -0
  185. package/routing/god-design-impact.yaml +25 -0
  186. package/routing/god-design.yaml +67 -0
  187. package/routing/god-discuss.yaml +27 -0
  188. package/routing/god-docs.yaml +33 -0
  189. package/routing/god-doctor.yaml +27 -0
  190. package/routing/god-explore.yaml +27 -0
  191. package/routing/god-extension-add.yaml +24 -0
  192. package/routing/god-extension-info.yaml +24 -0
  193. package/routing/god-extension-list.yaml +24 -0
  194. package/routing/god-extension-remove.yaml +24 -0
  195. package/routing/god-extract-learnings.yaml +24 -0
  196. package/routing/god-fast.yaml +27 -0
  197. package/routing/god-feature.yaml +34 -0
  198. package/routing/god-graph.yaml +24 -0
  199. package/routing/god-harden.yaml +41 -0
  200. package/routing/god-help.yaml +27 -0
  201. package/routing/god-hotfix.yaml +34 -0
  202. package/routing/god-hygiene.yaml +28 -0
  203. package/routing/god-init.yaml +37 -0
  204. package/routing/god-intel.yaml +24 -0
  205. package/routing/god-launch.yaml +41 -0
  206. package/routing/god-lifecycle.yaml +27 -0
  207. package/routing/god-link.yaml +24 -0
  208. package/routing/god-lint.yaml +24 -0
  209. package/routing/god-list-assumptions.yaml +27 -0
  210. package/routing/god-locate.yaml +24 -0
  211. package/routing/god-logs.yaml +24 -0
  212. package/routing/god-map-codebase.yaml +24 -0
  213. package/routing/god-metrics.yaml +24 -0
  214. package/routing/god-mode.yaml +31 -0
  215. package/routing/god-next.yaml +27 -0
  216. package/routing/god-note.yaml +24 -0
  217. package/routing/god-observe.yaml +34 -0
  218. package/routing/god-org-context.yaml +28 -0
  219. package/routing/god-party.yaml +24 -0
  220. package/routing/god-pause-work.yaml +27 -0
  221. package/routing/god-plant-seed.yaml +24 -0
  222. package/routing/god-postmortem.yaml +34 -0
  223. package/routing/god-pr-branch.yaml +25 -0
  224. package/routing/god-prd.yaml +49 -0
  225. package/routing/god-quick.yaml +28 -0
  226. package/routing/god-reconcile.yaml +48 -0
  227. package/routing/god-reconstruct.yaml +36 -0
  228. package/routing/god-redo.yaml +27 -0
  229. package/routing/god-refactor.yaml +36 -0
  230. package/routing/god-repair.yaml +27 -0
  231. package/routing/god-repo.yaml +35 -0
  232. package/routing/god-restore.yaml +27 -0
  233. package/routing/god-resume-work.yaml +27 -0
  234. package/routing/god-review-changes.yaml +25 -0
  235. package/routing/god-review.yaml +28 -0
  236. package/routing/god-roadmap-check.yaml +39 -0
  237. package/routing/god-roadmap-update.yaml +37 -0
  238. package/routing/god-roadmap.yaml +42 -0
  239. package/routing/god-rollback.yaml +27 -0
  240. package/routing/god-scan.yaml +24 -0
  241. package/routing/god-set-profile.yaml +24 -0
  242. package/routing/god-settings.yaml +24 -0
  243. package/routing/god-skip.yaml +27 -0
  244. package/routing/god-smite.yaml +29 -0
  245. package/routing/god-spike.yaml +35 -0
  246. package/routing/god-sprint.yaml +25 -0
  247. package/routing/god-stack.yaml +41 -0
  248. package/routing/god-standards.yaml +24 -0
  249. package/routing/god-status.yaml +27 -0
  250. package/routing/god-stories.yaml +24 -0
  251. package/routing/god-story-build.yaml +25 -0
  252. package/routing/god-story-close.yaml +25 -0
  253. package/routing/god-story-verify.yaml +25 -0
  254. package/routing/god-story.yaml +24 -0
  255. package/routing/god-suite-init.yaml +24 -0
  256. package/routing/god-suite-patch.yaml +25 -0
  257. package/routing/god-suite-release.yaml +25 -0
  258. package/routing/god-suite-status.yaml +25 -0
  259. package/routing/god-suite-sync.yaml +25 -0
  260. package/routing/god-sync.yaml +33 -0
  261. package/routing/god-tech-debt.yaml +32 -0
  262. package/routing/god-test-extension.yaml +24 -0
  263. package/routing/god-test-runtime.yaml +25 -0
  264. package/routing/god-thread.yaml +24 -0
  265. package/routing/god-trace.yaml +24 -0
  266. package/routing/god-undo.yaml +27 -0
  267. package/routing/god-update-deps.yaml +39 -0
  268. package/routing/god-upgrade.yaml +33 -0
  269. package/routing/god-version.yaml +24 -0
  270. package/routing/god-workstream.yaml +24 -0
  271. package/routing/god.yaml +24 -0
  272. package/routing/recipes/add-feature-defer-current-milestone.yaml +21 -0
  273. package/routing/recipes/add-feature-future-conditional.yaml +21 -0
  274. package/routing/recipes/add-feature-mid-arc-pause.yaml +33 -0
  275. package/routing/recipes/add-feature-next-milestone.yaml +23 -0
  276. package/routing/recipes/add-feature-parallel.yaml +29 -0
  277. package/routing/recipes/add-feature-prd-update.yaml +21 -0
  278. package/routing/recipes/add-feature-small.yaml +24 -0
  279. package/routing/recipes/add-feature-tiny.yaml +24 -0
  280. package/routing/recipes/bluefield-org-aware.yaml +27 -0
  281. package/routing/recipes/broken-install.yaml +22 -0
  282. package/routing/recipes/brownfield-onboarding.yaml +32 -0
  283. package/routing/recipes/bug-no-urgency.yaml +21 -0
  284. package/routing/recipes/capture-idea.yaml +22 -0
  285. package/routing/recipes/capture-todo.yaml +21 -0
  286. package/routing/recipes/clean-pr.yaml +21 -0
  287. package/routing/recipes/code-cleanup.yaml +23 -0
  288. package/routing/recipes/docs-drift.yaml +21 -0
  289. package/routing/recipes/existing-codebase-onboarding.yaml +32 -0
  290. package/routing/recipes/extract-learnings.yaml +22 -0
  291. package/routing/recipes/greenfield-fast.yaml +25 -0
  292. package/routing/recipes/greenfield-manual.yaml +32 -0
  293. package/routing/recipes/greenfield-with-ideation.yaml +29 -0
  294. package/routing/recipes/incident-postmortem.yaml +24 -0
  295. package/routing/recipes/major-framework-upgrade.yaml +23 -0
  296. package/routing/recipes/monthly-deps.yaml +22 -0
  297. package/routing/recipes/multi-repo-suite.yaml +56 -0
  298. package/routing/recipes/parallel-engineers.yaml +26 -0
  299. package/routing/recipes/pause-handoff.yaml +21 -0
  300. package/routing/recipes/production-broken.yaml +26 -0
  301. package/routing/recipes/rerun-tier.yaml +21 -0
  302. package/routing/recipes/returning-after-break.yaml +31 -0
  303. package/routing/recipes/state-drift.yaml +21 -0
  304. package/routing/recipes/undo-last.yaml +21 -0
  305. package/routing/recipes/weekly-health-check.yaml +24 -0
  306. package/routing/recipes/whats-next.yaml +22 -0
  307. package/routing/recipes/where-am-i.yaml +21 -0
  308. package/schema/events.v1.json +63 -0
  309. package/schema/extension-manifest.v1.json +84 -0
  310. package/schema/intent.v1.yaml.json +116 -0
  311. package/schema/recipe.v1.json +120 -0
  312. package/schema/routing.v1.json +163 -0
  313. package/schema/state.v1.json +146 -0
  314. package/schema/workflow.v1.json +96 -0
  315. package/skills/god-add-backlog.md +40 -0
  316. package/skills/god-add-tests.md +53 -0
  317. package/skills/god-add-todo.md +32 -0
  318. package/skills/god-agent-audit.md +87 -0
  319. package/skills/god-arch.md +81 -0
  320. package/skills/god-archaeology.md +48 -0
  321. package/skills/god-audit.md +65 -0
  322. package/skills/god-budget.md +103 -0
  323. package/skills/god-build-agent.md +91 -0
  324. package/skills/god-build.md +90 -0
  325. package/skills/god-cache-clear.md +75 -0
  326. package/skills/god-check-todos.md +42 -0
  327. package/skills/god-context-scan.md +125 -0
  328. package/skills/god-context.md +147 -0
  329. package/skills/god-cost.md +118 -0
  330. package/skills/god-debug.md +30 -0
  331. package/skills/god-deploy.md +76 -0
  332. package/skills/god-design-impact.md +86 -0
  333. package/skills/god-design.md +275 -0
  334. package/skills/god-discuss.md +46 -0
  335. package/skills/god-docs.md +81 -0
  336. package/skills/god-doctor.md +94 -0
  337. package/skills/god-explore.md +50 -0
  338. package/skills/god-export-otel.md +87 -0
  339. package/skills/god-extension-add.md +79 -0
  340. package/skills/god-extension-info.md +75 -0
  341. package/skills/god-extension-list.md +55 -0
  342. package/skills/god-extension-remove.md +66 -0
  343. package/skills/god-extract-learnings.md +60 -0
  344. package/skills/god-fast.md +47 -0
  345. package/skills/god-feature.md +114 -0
  346. package/skills/god-graph.md +56 -0
  347. package/skills/god-harden.md +106 -0
  348. package/skills/god-help.md +66 -0
  349. package/skills/god-hotfix.md +139 -0
  350. package/skills/god-hygiene.md +104 -0
  351. package/skills/god-init.md +161 -0
  352. package/skills/god-intel.md +36 -0
  353. package/skills/god-launch.md +86 -0
  354. package/skills/god-lifecycle.md +119 -0
  355. package/skills/god-link.md +90 -0
  356. package/skills/god-lint.md +128 -0
  357. package/skills/god-list-assumptions.md +56 -0
  358. package/skills/god-locate.md +97 -0
  359. package/skills/god-logs.md +57 -0
  360. package/skills/god-map-codebase.md +45 -0
  361. package/skills/god-metrics.md +51 -0
  362. package/skills/god-mode.md +159 -0
  363. package/skills/god-next.md +257 -0
  364. package/skills/god-note.md +39 -0
  365. package/skills/god-observe.md +76 -0
  366. package/skills/god-org-context.md +81 -0
  367. package/skills/god-party.md +87 -0
  368. package/skills/god-pause-work.md +64 -0
  369. package/skills/god-plant-seed.md +59 -0
  370. package/skills/god-postmortem.md +103 -0
  371. package/skills/god-pr-branch.md +50 -0
  372. package/skills/god-prd.md +90 -0
  373. package/skills/god-quick.md +50 -0
  374. package/skills/god-reconcile.md +90 -0
  375. package/skills/god-reconstruct.md +72 -0
  376. package/skills/god-redo.md +73 -0
  377. package/skills/god-refactor.md +137 -0
  378. package/skills/god-repair.md +82 -0
  379. package/skills/god-repo.md +49 -0
  380. package/skills/god-restore.md +91 -0
  381. package/skills/god-resume-work.md +42 -0
  382. package/skills/god-review-changes.md +93 -0
  383. package/skills/god-review.md +52 -0
  384. package/skills/god-roadmap-check.md +66 -0
  385. package/skills/god-roadmap-update.md +64 -0
  386. package/skills/god-roadmap.md +77 -0
  387. package/skills/god-rollback.md +88 -0
  388. package/skills/god-scan.md +106 -0
  389. package/skills/god-set-profile.md +58 -0
  390. package/skills/god-settings.md +44 -0
  391. package/skills/god-skip.md +78 -0
  392. package/skills/god-smite.md +86 -0
  393. package/skills/god-spike.md +120 -0
  394. package/skills/god-sprint.md +77 -0
  395. package/skills/god-stack.md +74 -0
  396. package/skills/god-standards.md +62 -0
  397. package/skills/god-status.md +99 -0
  398. package/skills/god-stories.md +60 -0
  399. package/skills/god-story-build.md +76 -0
  400. package/skills/god-story-close.md +82 -0
  401. package/skills/god-story-verify.md +71 -0
  402. package/skills/god-story.md +55 -0
  403. package/skills/god-suite-init.md +75 -0
  404. package/skills/god-suite-patch.md +64 -0
  405. package/skills/god-suite-release.md +58 -0
  406. package/skills/god-suite-status.md +63 -0
  407. package/skills/god-suite-sync.md +49 -0
  408. package/skills/god-sync.md +102 -0
  409. package/skills/god-tech-debt.md +56 -0
  410. package/skills/god-test-extension.md +87 -0
  411. package/skills/god-test-runtime.md +144 -0
  412. package/skills/god-thread.md +39 -0
  413. package/skills/god-trace.md +50 -0
  414. package/skills/god-undo.md +68 -0
  415. package/skills/god-update-deps.md +134 -0
  416. package/skills/god-upgrade.md +139 -0
  417. package/skills/god-version.md +37 -0
  418. package/skills/god-workstream.md +61 -0
  419. package/skills/god.md +207 -0
  420. package/templates/ARCH.md +99 -0
  421. package/templates/DEPS-AUDIT.md +66 -0
  422. package/templates/DESIGN.md +71 -0
  423. package/templates/DOCS-UPDATE-LOG.md +64 -0
  424. package/templates/HARDEN-FINDINGS.md +69 -0
  425. package/templates/MIGRATION.md +86 -0
  426. package/templates/POSTMORTEM.md +88 -0
  427. package/templates/PRD.md +80 -0
  428. package/templates/PROGRESS.md +49 -0
  429. package/templates/ROADMAP.md +47 -0
  430. package/templates/SPIKE.md +72 -0
  431. package/templates/STACK-DECISION.md +61 -0
  432. package/workflows/audit-only.yaml +22 -0
  433. package/workflows/bluefield-arc.yaml +87 -0
  434. package/workflows/brownfield-arc.yaml +44 -0
  435. package/workflows/deps-audit.yaml +56 -0
  436. package/workflows/docs-arc.yaml +22 -0
  437. package/workflows/feature-arc.yaml +59 -0
  438. package/workflows/full-arc.yaml +84 -0
  439. package/workflows/hotfix-arc.yaml +59 -0
  440. package/workflows/hygiene.yaml +43 -0
  441. package/workflows/migration-arc.yaml +73 -0
  442. package/workflows/postmortem.yaml +31 -0
  443. package/workflows/refactor-arc.yaml +59 -0
  444. package/workflows/spike.yaml +23 -0
@@ -0,0 +1,77 @@
1
+ ---
2
+ name: god-roadmap
3
+ description: |
4
+ Sequence the work into milestones. Spawns the god-roadmapper agent in a
5
+ fresh context. Gated on Architecture.
6
+
7
+ Triggers on: "god roadmap", "/god-roadmap", "sequence the work", "milestone plan"
8
+ ---
9
+
10
+ # /god-roadmap
11
+
12
+ Spawn the **god-roadmapper** agent in a fresh context via Task tool.
13
+
14
+ ## Setup
15
+
16
+ 1. Verify `.godpowers/arch/ARCH.md` exists. If not, tell user to run `/god-arch` first.
17
+ 2. Spawn god-auditor briefly to verify ARCH passes have-nots.
18
+ 3. Spawn god-roadmapper with PRD and ARCH paths.
19
+ 4. The agent writes `.godpowers/roadmap/ROADMAP.md`.
20
+
21
+ ## Verification
22
+
23
+ After god-roadmapper returns:
24
+ 1. Verify ROADMAP.md exists on disk
25
+ 2. Spawn god-auditor to verify have-nots pass
26
+ 3. Update `.godpowers/PROGRESS.md`: Roadmap status = done
27
+
28
+ ## On Completion
29
+
30
+ ```
31
+ Roadmap complete: .godpowers/roadmap/ROADMAP.md
32
+
33
+ Suggested next: /god-stack (pick the tech) if not already done,
34
+ otherwise /god-repo (scaffold the repo)
35
+ ```
36
+
37
+
38
+ ## Re-invocation contract
39
+
40
+ What happens if `/god-roadmap` is run when `.godpowers/roadmap/ROADMAP.md` already exists:
41
+
42
+ | Existing state | Behavior |
43
+ |---|---|
44
+ | File does not exist | Spawn god-roadmapper; produce file; mark sub-step done |
45
+ | File exists, passes lint, state.json says `done` | Pause: ask user (A) re-run anyway with diff preview, (B) treat as imported (no-op), (C) cancel |
46
+ | File exists, fails lint or have-nots | Spawn god-roadmapper in update mode with current file + findings as input. Diff preview before overwrite. |
47
+ | File exists, state.json says `pending` | Treat as imported: hash + register, no agent spawn. User can `/god-roadmap --force` to re-run. |
48
+ | `--force` flag passed | Snapshot existing file to `.godpowers/.trash/god-roadmap-<ts>/`. Spawn agent fresh. |
49
+ | `--dry-run` flag passed | Show what would happen; touch nothing |
50
+
51
+ Snapshots in `.trash/` are recoverable via `/god-restore` for 30 days.
52
+ The reflog records every god-roadmap invocation as `op:god-roadmap` for `/god-undo`.
53
+
54
+ ### Idempotency guarantees
55
+
56
+ - Running `/god-roadmap` twice with no user input between them is a no-op
57
+ (second call detects the artifact and pauses).
58
+ - Running `/god-roadmap --dry-run` is always read-only.
59
+ - An interrupted `/god-roadmap` (agent crashes mid-run) leaves state.json
60
+ with `status: failed` and the artifact path either missing or marked
61
+ for `/god-repair` review. Re-running picks up cleanly.
62
+
63
+
64
+ ## Locking
65
+
66
+ The orchestrator acquires a state-lock before this skill mutates anything,
67
+ scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
68
+ `linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
69
+ same holder; force-reclaimable if stale via `/god-repair`.
70
+
71
+ Read-only inspection commands (`/god-status`, `/god-doctor`,
72
+ `/god-locate`) do NOT block on the lock. Concurrent writers on
73
+ non-overlapping scopes are allowed; on overlapping scopes, the second
74
+ writer pauses or routes elsewhere via `/god-next`.
75
+
76
+ See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
77
+ the full contract.
@@ -0,0 +1,88 @@
1
+ ---
2
+ name: god-rollback
3
+ description: |
4
+ Walk back a tier and everything downstream. Moves affected artifacts
5
+ to .godpowers/.trash/ and marks tier statuses as pending. Heavier
6
+ than /god-undo (which is single-operation). Use when a tier is
7
+ fundamentally wrong and downstream cleanup is needed.
8
+
9
+ Triggers on: "god rollback", "/god-rollback", "roll back tier", "undo
10
+ the architecture and everything that depends on it"
11
+ ---
12
+
13
+ # /god-rollback
14
+
15
+ Walk back a tier + every downstream tier in one atomic operation.
16
+
17
+ ## Usage
18
+
19
+ ### `/god-rollback <tier>`
20
+
21
+ Examples:
22
+ - `/god-rollback arch` - moves ARCH.md, ROADMAP.md, STACK.md,
23
+ build/, deploy/, observe/, launch/, harden/ to `.trash/rollback-<id>/`.
24
+ Marks each tier `pending` in state.json.
25
+ - `/god-rollback deploy` - moves deploy/, observe/, launch/, harden/.
26
+ - `/god-rollback build` - moves build/, deploy/, observe/, launch/,
27
+ harden/. Resets the linkage map for code under those tiers.
28
+
29
+ ## Process
30
+
31
+ 1. Identify the tier from the argument.
32
+ 2. Compute the dependency closure: every tier whose `needs:` includes
33
+ the target tier (transitively).
34
+ 3. Show the user what will move and ask for confirmation. This is
35
+ destructive (recoverable via `/god-restore`, but disruptive).
36
+ 4. Move all affected artifacts to `.godpowers/.trash/rollback-<id>/`
37
+ preserving directory structure.
38
+ 5. Mark each tier `status: pending` in state.json.
39
+ 6. Append a `op:rollback` event to the reflog with the full closure.
40
+ 7. Truncate the linkage map entries belonging to rolled-back artifacts.
41
+ 8. Update PROGRESS.md.
42
+
43
+ ## Difference from /god-undo
44
+
45
+ - `/god-undo`: revert the single most recent operation
46
+ - `/god-rollback`: revert a tier and all downstream work in one atomic op
47
+
48
+ ## Difference from /god-skip
49
+
50
+ - `/god-skip`: record a decision not to do the work; nothing moves
51
+ - `/god-rollback`: undo work that was already done
52
+
53
+ ## Subcommands
54
+
55
+ ### `/god-rollback --dry-run`
56
+ Show what would move; do nothing.
57
+
58
+ ### `/god-rollback --to=<tier>`
59
+ Roll back to (but not including) a specific tier. Equivalent to rolling
60
+ back the tier immediately after.
61
+
62
+ ## Recovery
63
+
64
+ Everything goes to `.godpowers/.trash/rollback-<id>/`. Use:
65
+ - `/god-restore` to recover specific files
66
+ - `/god-undo` to undo the rollback as a whole (within reflog window)
67
+
68
+ ## Implementation
69
+
70
+ Built-in. Reads workflow graph from state.json `tiers` + workflow YAML.
71
+ Writes via `lib/reverse-sync.js` (for linkage truncation) and standard
72
+ fs operations (for artifact move).
73
+
74
+
75
+ ## Locking
76
+
77
+ The orchestrator acquires a state-lock before this skill mutates anything,
78
+ scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
79
+ `linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
80
+ same holder; force-reclaimable if stale via `/god-repair`.
81
+
82
+ Read-only inspection commands (`/god-status`, `/god-doctor`,
83
+ `/god-locate`) do NOT block on the lock. Concurrent writers on
84
+ non-overlapping scopes are allowed; on overlapping scopes, the second
85
+ writer pauses or routes elsewhere via `/god-next`.
86
+
87
+ See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
88
+ the full contract.
@@ -0,0 +1,106 @@
1
+ ---
2
+ name: god-scan
3
+ description: |
4
+ Manually trigger a full reverse-sync of the codebase. Scans for
5
+ linkage annotations, updates the linkage map, runs drift detection,
6
+ appends fenced footers to artifacts, and surfaces findings to
7
+ REVIEW-REQUIRED.md.
8
+
9
+ Triggers on: "god scan", "/god-scan", "rescan code", "rebuild linkage",
10
+ "scan codebase"
11
+ ---
12
+
13
+ # /god-scan
14
+
15
+ Manual full-codebase scan + reverse-sync. Runs the same pipeline that
16
+ god-build, god-feature, god-hotfix etc. trigger automatically (per
17
+ Phase 7 workflow integration). Useful when you want to refresh state
18
+ between automatic triggers, or after manual code edits.
19
+
20
+ ## Forms
21
+
22
+ | Form | Action |
23
+ |---|---|
24
+ | `/god-scan` | Full pipeline: scan + linkage + drift + footers + REVIEW-REQUIRED |
25
+ | `/god-scan --linkage-only` | Just scan + update linkage map (no footers, no drift) |
26
+ | `/god-scan --drift-only` | Just drift detection, using existing linkage |
27
+ | `/god-scan --footers-only` | Just rewrite fenced footers from existing linkage |
28
+ | `/god-scan --json` | JSON summary of the run |
29
+
30
+ ## Process
31
+
32
+ 1. Verify `.godpowers/` exists.
33
+ 2. Call `lib/reverse-sync.run(projectRoot)`:
34
+ - Scan via `lib/code-scanner.scan` (annotations, filenames, style refs)
35
+ - Apply to linkage map via `lib/code-scanner.applyScan`
36
+ - Run drift detection via `lib/drift-detector.detectAll`
37
+ - If impeccable installed and UI files touched: run `npx impeccable detect`
38
+ - Append fenced footers to PRD, ARCH, ROADMAP, STACK, DESIGN via
39
+ `lib/reverse-sync.appendFooters`
40
+ - Surface drift + impeccable findings to REVIEW-REQUIRED.md
41
+ 3. Report:
42
+ - Files scanned, links discovered/added
43
+ - Drift findings (errors, warnings, infos)
44
+ - Footers updated
45
+ - REVIEW-REQUIRED items added
46
+
47
+ ## Fence rules
48
+
49
+ Fenced footers are wrapped in:
50
+
51
+ ```
52
+ <!-- godpowers:linkage:begin -->
53
+ ... auto-generated content ...
54
+ <!-- godpowers:linkage:end -->
55
+ ```
56
+
57
+ Anything outside the fence is yours. /god-scan never touches it.
58
+ Re-running /god-scan replaces the fence with current linkage state
59
+ (idempotent).
60
+
61
+ ## What gets appended where
62
+
63
+ | Artifact | Footer content |
64
+ |---|---|
65
+ | PRD.md | Each requirement (P-MUST, P-SHOULD, P-COULD) lists implementing files |
66
+ | ARCH.md | Each container lists Source: directories; each ADR lists Pattern: files |
67
+ | ROADMAP.md | Each milestone lists implementing files |
68
+ | STACK/DECISION.md | Each S- decision shows usage count |
69
+ | DESIGN.md | Each token shows usage count; each component shows Implements: files |
70
+
71
+ ## Output
72
+
73
+ Updates:
74
+ - `.godpowers/links/{artifact-to-code,code-to-artifact}.json`
75
+ - `.godpowers/links/LINKAGE-LOG.md` (append)
76
+ - Fenced sections in PRD.md / ARCH.md / ROADMAP.md / STACK/DECISION.md / DESIGN.md
77
+ - `REVIEW-REQUIRED.md` (append, if drift / impeccable findings)
78
+ - `.godpowers/events.jsonl` (append: linkage events)
79
+
80
+ User content outside fences is never modified.
81
+
82
+ ## Output to events.jsonl
83
+
84
+ ```json
85
+ { "name": "scan.start" }
86
+ { "name": "linkage.snapshot", "coverage-pct": 0.87, "drift-count": 1 }
87
+ { "name": "drift.detected", "kind": "design-token-drift", ... }
88
+ { "name": "review-required.populated", "items": 5 }
89
+ { "name": "scan.end" }
90
+ ```
91
+
92
+
93
+ ## Locking
94
+
95
+ The orchestrator acquires a state-lock before this skill mutates anything,
96
+ scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
97
+ `linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
98
+ same holder; force-reclaimable if stale via `/god-repair`.
99
+
100
+ Read-only inspection commands (`/god-status`, `/god-doctor`,
101
+ `/god-locate`) do NOT block on the lock. Concurrent writers on
102
+ non-overlapping scopes are allowed; on overlapping scopes, the second
103
+ writer pauses or routes elsewhere via `/god-next`.
104
+
105
+ See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
106
+ the full contract.
@@ -0,0 +1,58 @@
1
+ ---
2
+ name: god-set-profile
3
+ description: |
4
+ Switch model profile for Godpowers agents. Different profiles balance
5
+ quality vs cost vs speed differently. Updates intent.yaml.
6
+
7
+ Triggers on: "god set profile", "/god-set-profile", "model profile",
8
+ "switch model"
9
+ ---
10
+
11
+ # /god-set-profile
12
+
13
+ Switch the model profile for Godpowers agents.
14
+
15
+ ## Profiles
16
+
17
+ ### quality
18
+ Optimized for output quality. Use the strongest model available.
19
+ - Slower, more expensive
20
+ - Best for production-bound work
21
+
22
+ ### balanced (default)
23
+ Strong model for orchestration and review; cheaper for implementation.
24
+ - Good cost/quality tradeoff for most projects
25
+
26
+ ### budget
27
+ Cheaper model where possible. Quality is acceptable but not maximum.
28
+ - Best for hobby projects or early prototyping
29
+
30
+ ### inherit
31
+ Use whatever the AI tool's default is. No override.
32
+
33
+ ## Process
34
+
35
+ 1. Show current profile (from intent.yaml config.model-profile)
36
+ 2. Ask which to set
37
+ 3. Update intent.yaml
38
+ 4. Confirm
39
+
40
+ ## Output
41
+
42
+ ```
43
+ Model profile: balanced -> quality
44
+
45
+ Updated .godpowers/intent.yaml.
46
+
47
+ Effect on next agent spawn:
48
+ - Orchestrator: opus (was sonnet)
49
+ - Reviewers: opus (was sonnet)
50
+ - Executor: sonnet (unchanged)
51
+
52
+ Override per-command via flags if needed.
53
+ ```
54
+
55
+ ## Notes
56
+
57
+ This is a hint to the AI tool, not a hard contract. Some tools may not
58
+ honor every profile; check tool's docs.
@@ -0,0 +1,44 @@
1
+ ---
2
+ name: god-settings
3
+ description: |
4
+ View or modify project settings stored in .godpowers/intent.yaml.
5
+ Get/set yolo mode, conservative mode, executor preferences, etc.
6
+
7
+ Triggers on: "god settings", "/god-settings", "config", "preferences"
8
+ ---
9
+
10
+ # /god-settings
11
+
12
+ View or modify project configuration.
13
+
14
+ ## Subcommands
15
+
16
+ ### `/god-settings list`
17
+ Show all settings from intent.yaml.
18
+
19
+ ### `/god-settings get <key>`
20
+ Show a specific setting.
21
+ Example: `/god-settings get config.yolo`
22
+
23
+ ### `/god-settings set <key> <value>`
24
+ Set a value. Validates against schema before writing.
25
+ Example: `/god-settings set config.yolo true`
26
+
27
+ ## Available settings
28
+
29
+ | Key | Type | Default | Description |
30
+ |-----|------|---------|-------------|
31
+ | config.yolo | boolean | false | Auto-resolve pauses by default |
32
+ | config.conservative | boolean | false | Pause more often |
33
+ | config.trash-retention-days | int | 30 | When to gc .trash/ |
34
+ | executors.default | string | claude-code | Preferred AI tool |
35
+ | executors.fallback | string | -- | Backup AI tool |
36
+
37
+ ## Output
38
+
39
+ ```
40
+ Settings updated: config.yolo = true
41
+ .godpowers/intent.yaml saved.
42
+
43
+ Note: this is the project default. Per-command flags still override.
44
+ ```
@@ -0,0 +1,78 @@
1
+ ---
2
+ name: god-skip
3
+ description: |
4
+ Explicitly skip a tier or sub-step with an audit reason. The skip is
5
+ logged so /god-audit and /god-doctor can flag it later. Different
6
+ from just not running the command: a skip is a recorded decision.
7
+
8
+ Triggers on: "god skip", "/god-skip", "skip harden", "skip deploy
9
+ for now"
10
+ ---
11
+
12
+ # /god-skip
13
+
14
+ Mark a tier or sub-step as explicitly skipped, with a reason that
15
+ becomes part of the audit trail.
16
+
17
+ ## Usage
18
+
19
+ ### `/god-skip <tier-or-substep> --reason "..."`
20
+
21
+ Examples:
22
+ - `/god-skip harden --reason "internal-only POC, no public exposure"`
23
+ - `/god-skip deploy --reason "shipping as a library, no deploy needed"`
24
+ - `/god-skip observe --reason "tracked in parent platform's observability"`
25
+
26
+ The reason is required. Skips without reason are rejected.
27
+
28
+ ## Process
29
+
30
+ 1. Identify the tier or sub-step.
31
+ 2. Verify the skip is allowed by the workflow (some sub-steps are
32
+ mandatory; e.g. /god-mode rejects skipping the final /god-sync).
33
+ 3. Mark the sub-step `status: skipped` in state.json with `skipped-reason`.
34
+ 4. Append a `op:skip` event to the reflog.
35
+ 5. Update PROGRESS.md so the user sees the skip annotated.
36
+
37
+ ## What skip does NOT do
38
+
39
+ - Skip does not delete or move artifacts; if an artifact was partially
40
+ produced, use `/god-undo` first then `/god-skip`.
41
+ - Skip does not silence audit findings. `/god-audit` still flags the
42
+ skip with severity = info (or higher if the skip is risky, e.g.
43
+ skipping harden in a public-facing project).
44
+
45
+ ## Mandatory non-skippable steps
46
+
47
+ These cannot be skipped:
48
+ - The final `/god-sync` at end of arc
49
+ - `/god-harden` for projects with `public-facing: true` in intent.yaml
50
+ - Standards gates between tiers (use `/god-standards --override` to bypass with reason)
51
+
52
+ ## Subcommands
53
+
54
+ ### `/god-skip --list`
55
+ Show all currently-skipped sub-steps in the project.
56
+
57
+ ### `/god-skip --unskip <tier-or-substep>`
58
+ Reverse a previous skip. Marks the sub-step `pending` again.
59
+
60
+ ## Implementation
61
+
62
+ Built-in. Reads + writes `state.json` and PROGRESS.md. Appends to reflog.
63
+
64
+
65
+ ## Locking
66
+
67
+ The orchestrator acquires a state-lock before this skill mutates anything,
68
+ scoped to the smallest affected unit (e.g. `tier-1.prd` for `/god-prd`,
69
+ `linkage` for `/god-scan`). Lock TTL is 5 minutes; reentrant for the
70
+ same holder; force-reclaimable if stale via `/god-repair`.
71
+
72
+ Read-only inspection commands (`/god-status`, `/god-doctor`,
73
+ `/god-locate`) do NOT block on the lock. Concurrent writers on
74
+ non-overlapping scopes are allowed; on overlapping scopes, the second
75
+ writer pauses or routes elsewhere via `/god-next`.
76
+
77
+ See [ARCHITECTURE.md "Concurrency contract"](../ARCHITECTURE.md) for
78
+ the full contract.
@@ -0,0 +1,86 @@
1
+ ---
2
+ name: god-smite
3
+ description: |
4
+ Hard reset of the project's node-style dependency cache: delete
5
+ node_modules / .venv / vendor / target / .next / dist / .nuxt /
6
+ .turbo / .nx as applicable, then reinstall. For when "have you tried
7
+ turning it off and on again" applies to the dependency layer.
8
+
9
+ Triggers on: "god smite", "/god-smite", "nuke node_modules", "clean
10
+ reinstall", "dep cache is broken"
11
+ ---
12
+
13
+ # /god-smite
14
+
15
+ Nuke the dependency cache. Reinstall fresh.
16
+
17
+ ## What it deletes
18
+
19
+ Stack-aware. Detects from `package.json` / `pyproject.toml` / `go.mod`
20
+ / `Cargo.toml` / etc., then nukes the appropriate caches:
21
+
22
+ | Stack | Deletes |
23
+ |---|---|
24
+ | Node (npm) | `node_modules/`, `package-lock.json` (if `--lock` flag) |
25
+ | Node (pnpm) | `node_modules/`, `pnpm-lock.yaml` (if `--lock`) |
26
+ | Node (yarn) | `node_modules/`, `yarn.lock` (if `--lock`) |
27
+ | Python | `.venv/`, `__pycache__/`, `*.egg-info/` |
28
+ | Go | `vendor/` (if present) |
29
+ | Rust | `target/` |
30
+ | Next.js | also `.next/` |
31
+ | Nuxt | also `.nuxt/` |
32
+ | Turborepo | also `.turbo/` |
33
+ | Nx | also `.nx/cache/` |
34
+
35
+ Also clears common build outputs: `dist/`, `build/`, `out/` (only if
36
+ they're not git-tracked).
37
+
38
+ ## What it does NOT delete
39
+
40
+ - Source code (anything tracked by git)
41
+ - `.godpowers/` artifacts
42
+ - `node_modules/` inside `.godpowers/` if any
43
+ - Lock files (unless `--lock` is passed)
44
+ - Anything matched by `.gitignore` exclusions outside the cache list
45
+
46
+ ## Process
47
+
48
+ 1. Detect the stack from config files.
49
+ 2. Build the deletion list. Show it to the user.
50
+ 3. Confirm. This step is destructive (recoverable only from git).
51
+ 4. Delete each path with progress output.
52
+ 5. Run the corresponding install command:
53
+ - `npm install` / `pnpm install` / `yarn install`
54
+ - `python -m venv .venv && pip install -r requirements.txt`
55
+ - `cargo build` (rebuilds target/)
56
+ 6. Report final disk space reclaimed and time elapsed.
57
+
58
+ ## Subcommands
59
+
60
+ ### `/god-smite --dry-run`
61
+ Show what would be deleted; do nothing.
62
+
63
+ ### `/god-smite --lock`
64
+ Also delete the lock file (forces version re-resolution).
65
+
66
+ ### `/god-smite --no-install`
67
+ Delete but don't reinstall.
68
+
69
+ ### `/god-smite --gentle`
70
+ Don't delete `node_modules/`; just run `npm ci` or equivalent.
71
+
72
+ ## Difference from /god-update-deps
73
+
74
+ - `/god-smite`: hard reset because something is broken
75
+ - `/god-update-deps`: deliberate update with CVE awareness and bisect-able commits
76
+
77
+ ## Safety
78
+
79
+ - Never runs in a dir without a recognized stack file (refuses early).
80
+ - Never deletes anything tracked by git.
81
+ - Appends `op:smite` event to reflog (lists what was deleted).
82
+
83
+ ## Implementation
84
+
85
+ Built-in. Reads package.json / pyproject.toml / Cargo.toml / etc. for
86
+ stack detection. Uses `child_process` to run the install command.
@@ -0,0 +1,120 @@
1
+ ---
2
+ name: god-spike
3
+ description: |
4
+ Time-boxed research spike. Builds a minimal proof of concept to answer one
5
+ specific technical question, documents findings, then stops. Spike code
6
+ does NOT merge to main; it answers a question, then either gets deleted or
7
+ rewritten cleanly in a real feature workflow.
8
+
9
+ Triggers on: "god spike", "/god-spike", "research spike", "prototype",
10
+ "proof of concept", "POC", "explore feasibility"
11
+ ---
12
+
13
+ # /god-spike
14
+
15
+ Time-boxed research spike.
16
+
17
+ ## When to use
18
+
19
+ - You have a specific technical question to answer
20
+ - A 1-day proof of concept would resolve it
21
+ - You don't want to commit to building until you know more
22
+
23
+ Examples:
24
+ - "Can our existing schema handle multi-tenancy?"
25
+ - "Will this third-party API meet our latency budget?"
26
+ - "Does the new framework let us delete the auth middleware?"
27
+
28
+ ## When NOT to use
29
+
30
+ - The question is too broad ("should we use GraphQL?"): narrow it first via
31
+ /god-explore
32
+ - You already know the answer: just /god-feature it
33
+ - Time-box would exceed 3 days: that's a feature, scope it down
34
+
35
+ ## Setup
36
+
37
+ Ask the user:
38
+ - The specific question (one sentence)
39
+ - The time-box (default: 1 day)
40
+ - What evidence would answer it (so the spike knows what to measure)
41
+
42
+ ## Orchestration
43
+
44
+ ### Phase 1: Run the spike (god-spike-runner)
45
+ Spawn **god-spike-runner** in fresh context with:
46
+ - The exact question
47
+ - The time-box
48
+ - The success criteria
49
+
50
+ The agent:
51
+ - Builds the smallest possible proof
52
+ - Hard-codes inputs, no real interface
53
+ - Measures or tests as needed
54
+ - Documents findings honestly
55
+
56
+ ### Phase 2: No further phases
57
+ - No build pipeline
58
+ - No deploy
59
+ - No observe
60
+ - No harden
61
+ - No launch
62
+
63
+ The spike answers a question. That's it.
64
+
65
+ ## After the Spike
66
+
67
+ The user reviews the SPIKE.md and decides:
68
+ - **Proceed**: route to /god-feature with the spike's recommendation
69
+ - **Reject**: archive the spike, document why
70
+ - **Follow-up spike**: another /god-spike with a narrower question
71
+
72
+ ## On Completion
73
+
74
+ ```
75
+ Spike complete: .godpowers/spikes/<question-slug>/SPIKE.md
76
+
77
+ Time-boxed: [N hours]
78
+ Time spent: [actual]
79
+
80
+ Recommendation: [DECISION from spike]
81
+
82
+ Suggested next:
83
+ - If proceeding: /god-feature with this recommendation
84
+ - If rejecting: archive .godpowers/spikes/<question-slug>/
85
+ - If unclear: /god-spike with narrower question
86
+
87
+ REMINDER: spike code is throwaway. Do NOT merge to main.
88
+ ```
89
+
90
+ ## Have-Nots
91
+
92
+ Spike FAILS if:
93
+ - Built a feature instead of a proof
94
+ - No measurable evidence in findings
95
+ - "It depends" with no decision support
96
+ - Spike code merged to main
97
+ - Time-boxed exceeded without escalation
98
+
99
+ ## Linkage and reverse-sync
100
+
101
+ Per Phase 13 of the production-ready plan, this workflow participates
102
+ in the linkage system:
103
+
104
+ - On completion of any code change, `lib/reverse-sync.run(projectRoot)`
105
+ is called via god-updater. This:
106
+ - Scans new/modified code for linkage annotations (// Implements: P-MUST-NN, etc.)
107
+ - Updates `.godpowers/links/{artifact-to-code,code-to-artifact}.json`
108
+ - Detects drift via `lib/drift-detector`
109
+ - Appends fenced footers to PRD/ARCH/ROADMAP/STACK/DESIGN
110
+ - Surfaces drift findings to REVIEW-REQUIRED.md
111
+
112
+ - Stable IDs MUST be used in artifact deltas (P-MUST-NN, ADR-NNN,
113
+ C-{slug}, M-{slug}, S-{slug}, D-{slug}, token paths). The scanner
114
+ picks them up automatically via comment annotations.
115
+
116
+ - For UI work: agent-browser audit may run as part of /god-build
117
+ post-wave or /god-launch gate (see `/god-test-runtime`).
118
+
119
+ - Findings flow into the standard REVIEW-REQUIRED.md walkthrough
120
+ via `/god-review-changes`.