oh-my-claude-sisyphus 3.3.10 → 3.4.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 (382) hide show
  1. package/README.md +74 -8
  2. package/agents/explore-high.md +195 -0
  3. package/agents/qa-tester-high.md +141 -0
  4. package/agents/templates/README.md +110 -0
  5. package/agents/templates/base-agent.md +54 -0
  6. package/agents/templates/tier-instructions.md +94 -0
  7. package/commands/cancel-ecomode.md +71 -0
  8. package/commands/cancel.md +75 -0
  9. package/commands/ecomode.md +60 -0
  10. package/commands/help.md +1 -1
  11. package/commands/mcp-setup.md +7 -6
  12. package/commands/pipeline.md +231 -0
  13. package/commands/planner.md +174 -0
  14. package/commands/ralplan.md +8 -1
  15. package/commands/swarm.md +280 -0
  16. package/commands/ultrapilot.md +158 -0
  17. package/commands/ultrawork.md +1 -0
  18. package/dist/__tests__/delegation-enforcer-integration.test.d.ts +6 -0
  19. package/dist/__tests__/delegation-enforcer-integration.test.d.ts.map +1 -0
  20. package/dist/__tests__/delegation-enforcer-integration.test.js +136 -0
  21. package/dist/__tests__/delegation-enforcer-integration.test.js.map +1 -0
  22. package/dist/__tests__/delegation-enforcer.test.d.ts +5 -0
  23. package/dist/__tests__/delegation-enforcer.test.d.ts.map +1 -0
  24. package/dist/__tests__/delegation-enforcer.test.js +208 -0
  25. package/dist/__tests__/delegation-enforcer.test.js.map +1 -0
  26. package/dist/__tests__/hooks.test.js +2 -2
  27. package/dist/__tests__/hooks.test.js.map +1 -1
  28. package/dist/__tests__/installer.test.js +4 -6
  29. package/dist/__tests__/installer.test.js.map +1 -1
  30. package/dist/__tests__/ralph-prd.test.js +1 -1
  31. package/dist/__tests__/ralph-prd.test.js.map +1 -1
  32. package/dist/__tests__/ralph-progress.test.js +1 -1
  33. package/dist/__tests__/ralph-progress.test.js.map +1 -1
  34. package/dist/__tests__/skills.test.js +31 -24
  35. package/dist/__tests__/skills.test.js.map +1 -1
  36. package/dist/agents/analyst.d.ts.map +1 -1
  37. package/dist/agents/analyst.js +1 -0
  38. package/dist/agents/analyst.js.map +1 -1
  39. package/dist/agents/architect.d.ts.map +1 -1
  40. package/dist/agents/architect.js +1 -0
  41. package/dist/agents/architect.js.map +1 -1
  42. package/dist/agents/critic.d.ts.map +1 -1
  43. package/dist/agents/critic.js +1 -0
  44. package/dist/agents/critic.js.map +1 -1
  45. package/dist/agents/definitions.d.ts +5 -1
  46. package/dist/agents/definitions.d.ts.map +1 -1
  47. package/dist/agents/definitions.js +53 -155
  48. package/dist/agents/definitions.js.map +1 -1
  49. package/dist/agents/designer.d.ts.map +1 -1
  50. package/dist/agents/designer.js +1 -0
  51. package/dist/agents/designer.js.map +1 -1
  52. package/dist/agents/executor.d.ts.map +1 -1
  53. package/dist/agents/executor.js +1 -0
  54. package/dist/agents/executor.js.map +1 -1
  55. package/dist/agents/explore.d.ts.map +1 -1
  56. package/dist/agents/explore.js +1 -0
  57. package/dist/agents/explore.js.map +1 -1
  58. package/dist/agents/planner.d.ts.map +1 -1
  59. package/dist/agents/planner.js +1 -0
  60. package/dist/agents/planner.js.map +1 -1
  61. package/dist/agents/qa-tester.d.ts.map +1 -1
  62. package/dist/agents/qa-tester.js +1 -0
  63. package/dist/agents/qa-tester.js.map +1 -1
  64. package/dist/agents/researcher.d.ts.map +1 -1
  65. package/dist/agents/researcher.js +1 -0
  66. package/dist/agents/researcher.js.map +1 -1
  67. package/dist/agents/scientist.d.ts.map +1 -1
  68. package/dist/agents/scientist.js +1 -0
  69. package/dist/agents/scientist.js.map +1 -1
  70. package/dist/agents/types.d.ts +2 -0
  71. package/dist/agents/types.d.ts.map +1 -1
  72. package/dist/agents/types.js.map +1 -1
  73. package/dist/agents/vision.d.ts.map +1 -1
  74. package/dist/agents/vision.js +1 -0
  75. package/dist/agents/vision.js.map +1 -1
  76. package/dist/agents/writer.d.ts.map +1 -1
  77. package/dist/agents/writer.js +1 -0
  78. package/dist/agents/writer.js.map +1 -1
  79. package/dist/analytics/cost-estimator.d.ts +14 -0
  80. package/dist/analytics/cost-estimator.d.ts.map +1 -0
  81. package/dist/analytics/cost-estimator.js +70 -0
  82. package/dist/analytics/cost-estimator.js.map +1 -0
  83. package/dist/analytics/export.d.ts +7 -0
  84. package/dist/analytics/export.d.ts.map +1 -0
  85. package/dist/analytics/export.js +93 -0
  86. package/dist/analytics/export.js.map +1 -0
  87. package/dist/analytics/index.d.ts +14 -0
  88. package/dist/analytics/index.d.ts.map +1 -0
  89. package/dist/analytics/index.js +14 -0
  90. package/dist/analytics/index.js.map +1 -0
  91. package/dist/analytics/metrics-collector.d.ts +30 -0
  92. package/dist/analytics/metrics-collector.d.ts.map +1 -0
  93. package/dist/analytics/metrics-collector.js +96 -0
  94. package/dist/analytics/metrics-collector.js.map +1 -0
  95. package/dist/analytics/query-engine.d.ts +32 -0
  96. package/dist/analytics/query-engine.d.ts.map +1 -0
  97. package/dist/analytics/query-engine.js +151 -0
  98. package/dist/analytics/query-engine.js.map +1 -0
  99. package/dist/analytics/session-manager.d.ts +26 -0
  100. package/dist/analytics/session-manager.d.ts.map +1 -0
  101. package/dist/analytics/session-manager.js +201 -0
  102. package/dist/analytics/session-manager.js.map +1 -0
  103. package/dist/analytics/session-types.d.ts +37 -0
  104. package/dist/analytics/session-types.d.ts.map +1 -0
  105. package/dist/analytics/session-types.js +2 -0
  106. package/dist/analytics/session-types.js.map +1 -0
  107. package/dist/analytics/token-tracker.d.ts +24 -0
  108. package/dist/analytics/token-tracker.d.ts.map +1 -0
  109. package/dist/analytics/token-tracker.js +161 -0
  110. package/dist/analytics/token-tracker.js.map +1 -0
  111. package/dist/analytics/types.d.ts +37 -0
  112. package/dist/analytics/types.d.ts.map +1 -0
  113. package/dist/analytics/types.js +21 -0
  114. package/dist/analytics/types.js.map +1 -0
  115. package/dist/cli/analytics.d.ts +3 -0
  116. package/dist/cli/analytics.d.ts.map +1 -0
  117. package/dist/cli/analytics.js +74 -0
  118. package/dist/cli/analytics.js.map +1 -0
  119. package/dist/cli/commands/agents.d.ts +5 -0
  120. package/dist/cli/commands/agents.d.ts.map +1 -0
  121. package/dist/cli/commands/agents.js +29 -0
  122. package/dist/cli/commands/agents.js.map +1 -0
  123. package/dist/cli/commands/cleanup.d.ts +4 -0
  124. package/dist/cli/commands/cleanup.d.ts.map +1 -0
  125. package/dist/cli/commands/cleanup.js +17 -0
  126. package/dist/cli/commands/cleanup.js.map +1 -0
  127. package/dist/cli/commands/cost.d.ts +4 -0
  128. package/dist/cli/commands/cost.d.ts.map +1 -0
  129. package/dist/cli/commands/cost.js +53 -0
  130. package/dist/cli/commands/cost.js.map +1 -0
  131. package/dist/cli/commands/export.d.ts +5 -0
  132. package/dist/cli/commands/export.d.ts.map +1 -0
  133. package/dist/cli/commands/export.js +30 -0
  134. package/dist/cli/commands/export.js.map +1 -0
  135. package/dist/cli/commands/sessions.d.ts +5 -0
  136. package/dist/cli/commands/sessions.d.ts.map +1 -0
  137. package/dist/cli/commands/sessions.js +37 -0
  138. package/dist/cli/commands/sessions.js.map +1 -0
  139. package/dist/cli/commands/stats.d.ts +4 -0
  140. package/dist/cli/commands/stats.d.ts.map +1 -0
  141. package/dist/cli/commands/stats.js +43 -0
  142. package/dist/cli/commands/stats.js.map +1 -0
  143. package/dist/cli/index.js +0 -3
  144. package/dist/cli/index.js.map +1 -1
  145. package/dist/cli/utils/formatting.d.ts +22 -0
  146. package/dist/cli/utils/formatting.d.ts.map +1 -0
  147. package/dist/cli/utils/formatting.js +70 -0
  148. package/dist/cli/utils/formatting.js.map +1 -0
  149. package/dist/config/loader.d.ts.map +1 -1
  150. package/dist/config/loader.js +1 -6
  151. package/dist/config/loader.js.map +1 -1
  152. package/dist/features/delegation-enforcer.d.ts +71 -0
  153. package/dist/features/delegation-enforcer.d.ts.map +1 -0
  154. package/dist/features/delegation-enforcer.js +128 -0
  155. package/dist/features/delegation-enforcer.js.map +1 -0
  156. package/dist/features/index.d.ts +3 -0
  157. package/dist/features/index.d.ts.map +1 -1
  158. package/dist/features/index.js +18 -0
  159. package/dist/features/index.js.map +1 -1
  160. package/dist/features/state-manager/index.d.ts +100 -0
  161. package/dist/features/state-manager/index.d.ts.map +1 -0
  162. package/dist/features/state-manager/index.js +407 -0
  163. package/dist/features/state-manager/index.js.map +1 -0
  164. package/dist/features/state-manager/types.d.ts +147 -0
  165. package/dist/features/state-manager/types.d.ts.map +1 -0
  166. package/dist/features/state-manager/types.js +30 -0
  167. package/dist/features/state-manager/types.js.map +1 -0
  168. package/dist/features/task-decomposer/index.d.ts +33 -0
  169. package/dist/features/task-decomposer/index.d.ts.map +1 -0
  170. package/dist/features/task-decomposer/index.js +698 -0
  171. package/dist/features/task-decomposer/index.js.map +1 -0
  172. package/dist/features/task-decomposer/types.d.ts +133 -0
  173. package/dist/features/task-decomposer/types.d.ts.map +1 -0
  174. package/dist/features/task-decomposer/types.js +8 -0
  175. package/dist/features/task-decomposer/types.js.map +1 -0
  176. package/dist/features/verification/example.d.ts +49 -0
  177. package/dist/features/verification/example.d.ts.map +1 -0
  178. package/dist/features/verification/example.js +235 -0
  179. package/dist/features/verification/example.js.map +1 -0
  180. package/dist/features/verification/index.d.ts +97 -0
  181. package/dist/features/verification/index.d.ts.map +1 -0
  182. package/dist/features/verification/index.js +439 -0
  183. package/dist/features/verification/index.js.map +1 -0
  184. package/dist/features/verification/types.d.ts +142 -0
  185. package/dist/features/verification/types.d.ts.map +1 -0
  186. package/dist/features/verification/types.js +7 -0
  187. package/dist/features/verification/types.js.map +1 -0
  188. package/dist/hooks/agent-usage-reminder/constants.d.ts.map +1 -1
  189. package/dist/hooks/agent-usage-reminder/constants.js +0 -1
  190. package/dist/hooks/agent-usage-reminder/constants.js.map +1 -1
  191. package/dist/hooks/autopilot/__tests__/cancel.test.js +4 -4
  192. package/dist/hooks/autopilot/__tests__/cancel.test.js.map +1 -1
  193. package/dist/hooks/autopilot/__tests__/summary.test.js +1 -1
  194. package/dist/hooks/autopilot/__tests__/summary.test.js.map +1 -1
  195. package/dist/hooks/autopilot/__tests__/transition.test.js +1 -2
  196. package/dist/hooks/autopilot/__tests__/transition.test.js.map +1 -1
  197. package/dist/hooks/autopilot/cancel.js +2 -2
  198. package/dist/hooks/autopilot/cancel.js.map +1 -1
  199. package/dist/hooks/autopilot/enforcement.d.ts +16 -2
  200. package/dist/hooks/autopilot/enforcement.d.ts.map +1 -1
  201. package/dist/hooks/autopilot/enforcement.js +78 -4
  202. package/dist/hooks/autopilot/enforcement.js.map +1 -1
  203. package/dist/hooks/autopilot/index.d.ts +3 -6
  204. package/dist/hooks/autopilot/index.d.ts.map +1 -1
  205. package/dist/hooks/autopilot/index.js +6 -12
  206. package/dist/hooks/autopilot/index.js.map +1 -1
  207. package/dist/hooks/autopilot/state.d.ts +36 -2
  208. package/dist/hooks/autopilot/state.d.ts.map +1 -1
  209. package/dist/hooks/autopilot/state.js +216 -2
  210. package/dist/hooks/autopilot/state.js.map +1 -1
  211. package/dist/hooks/autopilot/validation.d.ts +23 -2
  212. package/dist/hooks/autopilot/validation.d.ts.map +1 -1
  213. package/dist/hooks/autopilot/validation.js +158 -1
  214. package/dist/hooks/autopilot/validation.js.map +1 -1
  215. package/dist/hooks/bridge.js +3 -3
  216. package/dist/hooks/bridge.js.map +1 -1
  217. package/dist/hooks/index.d.ts +5 -9
  218. package/dist/hooks/index.d.ts.map +1 -1
  219. package/dist/hooks/index.js +31 -21
  220. package/dist/hooks/index.js.map +1 -1
  221. package/dist/hooks/learner/promotion.js +1 -1
  222. package/dist/hooks/learner/promotion.js.map +1 -1
  223. package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
  224. package/dist/hooks/persistent-mode/index.js +2 -3
  225. package/dist/hooks/persistent-mode/index.js.map +1 -1
  226. package/dist/hooks/ralph/index.d.ts +11 -0
  227. package/dist/hooks/ralph/index.d.ts.map +1 -0
  228. package/dist/hooks/ralph/index.js +53 -0
  229. package/dist/hooks/ralph/index.js.map +1 -0
  230. package/dist/hooks/ralph/loop.d.ts +116 -0
  231. package/dist/hooks/ralph/loop.d.ts.map +1 -0
  232. package/dist/hooks/ralph/loop.js +322 -0
  233. package/dist/hooks/ralph/loop.js.map +1 -0
  234. package/dist/hooks/ralph/prd.d.ts +130 -0
  235. package/dist/hooks/ralph/prd.d.ts.map +1 -0
  236. package/dist/hooks/ralph/prd.js +310 -0
  237. package/dist/hooks/ralph/prd.js.map +1 -0
  238. package/dist/hooks/ralph/progress.d.ts +102 -0
  239. package/dist/hooks/ralph/progress.d.ts.map +1 -0
  240. package/dist/hooks/ralph/progress.js +408 -0
  241. package/dist/hooks/ralph/progress.js.map +1 -0
  242. package/dist/hooks/ralph/verifier.d.ts +72 -0
  243. package/dist/hooks/ralph/verifier.d.ts.map +1 -0
  244. package/dist/hooks/ralph/verifier.js +223 -0
  245. package/dist/hooks/ralph/verifier.js.map +1 -0
  246. package/dist/hooks/recovery/constants.d.ts +114 -0
  247. package/dist/hooks/recovery/constants.d.ts.map +1 -0
  248. package/dist/hooks/recovery/constants.js +227 -0
  249. package/dist/hooks/recovery/constants.js.map +1 -0
  250. package/dist/hooks/recovery/context-window.d.ts +24 -0
  251. package/dist/hooks/recovery/context-window.d.ts.map +1 -0
  252. package/dist/hooks/recovery/context-window.js +321 -0
  253. package/dist/hooks/recovery/context-window.js.map +1 -0
  254. package/dist/hooks/recovery/edit-error.d.ts +24 -0
  255. package/dist/hooks/recovery/edit-error.d.ts.map +1 -0
  256. package/dist/hooks/recovery/edit-error.js +56 -0
  257. package/dist/hooks/recovery/edit-error.js.map +1 -0
  258. package/dist/hooks/recovery/index.d.ts +102 -0
  259. package/dist/hooks/recovery/index.d.ts.map +1 -0
  260. package/dist/hooks/recovery/index.js +166 -0
  261. package/dist/hooks/recovery/index.js.map +1 -0
  262. package/dist/hooks/recovery/session-recovery.d.ts +24 -0
  263. package/dist/hooks/recovery/session-recovery.d.ts.map +1 -0
  264. package/dist/hooks/recovery/session-recovery.js +281 -0
  265. package/dist/hooks/recovery/session-recovery.js.map +1 -0
  266. package/dist/hooks/recovery/storage.d.ts +75 -0
  267. package/dist/hooks/recovery/storage.d.ts.map +1 -0
  268. package/dist/hooks/recovery/storage.js +382 -0
  269. package/dist/hooks/recovery/storage.js.map +1 -0
  270. package/dist/hooks/recovery/types.d.ts +196 -0
  271. package/dist/hooks/recovery/types.d.ts.map +1 -0
  272. package/dist/hooks/recovery/types.js +32 -0
  273. package/dist/hooks/recovery/types.js.map +1 -0
  274. package/dist/hooks/ultrapilot/index.d.ts +90 -0
  275. package/dist/hooks/ultrapilot/index.d.ts.map +1 -0
  276. package/dist/hooks/ultrapilot/index.js +310 -0
  277. package/dist/hooks/ultrapilot/index.js.map +1 -0
  278. package/dist/hooks/ultrapilot/state.d.ts +72 -0
  279. package/dist/hooks/ultrapilot/state.d.ts.map +1 -0
  280. package/dist/hooks/ultrapilot/state.js +258 -0
  281. package/dist/hooks/ultrapilot/state.js.map +1 -0
  282. package/dist/hooks/ultrapilot/types.d.ts +113 -0
  283. package/dist/hooks/ultrapilot/types.d.ts.map +1 -0
  284. package/dist/hooks/ultrapilot/types.js +36 -0
  285. package/dist/hooks/ultrapilot/types.js.map +1 -0
  286. package/dist/hooks/ultraqa/index.d.ts +94 -0
  287. package/dist/hooks/ultraqa/index.d.ts.map +1 -0
  288. package/dist/hooks/ultraqa/index.js +216 -0
  289. package/dist/hooks/ultraqa/index.js.map +1 -0
  290. package/dist/hooks/ultrawork/index.d.ts +62 -0
  291. package/dist/hooks/ultrawork/index.d.ts.map +1 -0
  292. package/dist/hooks/ultrawork/index.js +208 -0
  293. package/dist/hooks/ultrawork/index.js.map +1 -0
  294. package/dist/hud/analytics-display.d.ts +28 -0
  295. package/dist/hud/analytics-display.d.ts.map +1 -0
  296. package/dist/hud/analytics-display.js +105 -0
  297. package/dist/hud/analytics-display.js.map +1 -0
  298. package/dist/hud/background-cleanup.d.ts +28 -0
  299. package/dist/hud/background-cleanup.d.ts.map +1 -0
  300. package/dist/hud/background-cleanup.js +92 -0
  301. package/dist/hud/background-cleanup.js.map +1 -0
  302. package/dist/hud/index.js +4 -2
  303. package/dist/hud/index.js.map +1 -1
  304. package/dist/hud/render.d.ts +1 -1
  305. package/dist/hud/render.d.ts.map +1 -1
  306. package/dist/hud/render.js +32 -1
  307. package/dist/hud/render.js.map +1 -1
  308. package/dist/hud/state.d.ts +5 -0
  309. package/dist/hud/state.d.ts.map +1 -1
  310. package/dist/hud/state.js +13 -0
  311. package/dist/hud/state.js.map +1 -1
  312. package/dist/hud/types.d.ts +11 -1
  313. package/dist/hud/types.d.ts.map +1 -1
  314. package/dist/hud/types.js +19 -0
  315. package/dist/hud/types.js.map +1 -1
  316. package/dist/index.d.ts.map +1 -1
  317. package/dist/index.js +1 -2
  318. package/dist/index.js.map +1 -1
  319. package/dist/installer/index.d.ts +1 -1
  320. package/dist/installer/index.d.ts.map +1 -1
  321. package/dist/installer/index.js +1 -1
  322. package/dist/installer/index.js.map +1 -1
  323. package/dist/mcp/index.d.ts +1 -1
  324. package/dist/mcp/index.d.ts.map +1 -1
  325. package/dist/mcp/index.js +1 -1
  326. package/dist/mcp/index.js.map +1 -1
  327. package/dist/mcp/servers.d.ts +2 -18
  328. package/dist/mcp/servers.d.ts.map +1 -1
  329. package/dist/mcp/servers.js +4 -36
  330. package/dist/mcp/servers.js.map +1 -1
  331. package/dist/shared/types.d.ts +1 -3
  332. package/dist/shared/types.d.ts.map +1 -1
  333. package/docs/CLAUDE.md +170 -44
  334. package/docs/DELEGATION-ENFORCER.md +282 -0
  335. package/docs/FULL-README.md +130 -16
  336. package/docs/LOCAL_PLUGIN_INSTALL.md +1 -1
  337. package/docs/MIGRATION.md +513 -98
  338. package/docs/SYNC-SYSTEM.md +528 -0
  339. package/package.json +9 -3
  340. package/scripts/sync-metadata.ts +363 -0
  341. package/scripts/test-mutual-exclusion.ts +1 -1
  342. package/skills/analyze/SKILL.md +0 -1
  343. package/skills/autopilot/SKILL.md +0 -1
  344. package/skills/build-fix/SKILL.md +123 -0
  345. package/skills/cancel/SKILL.md +580 -0
  346. package/skills/cancel-autopilot/SKILL.md +0 -1
  347. package/skills/cancel-ecomode/SKILL.md +41 -0
  348. package/skills/cancel-ralph/SKILL.md +0 -1
  349. package/skills/cancel-ultraqa/SKILL.md +0 -1
  350. package/skills/cancel-ultrawork/SKILL.md +0 -1
  351. package/skills/code-review/SKILL.md +179 -0
  352. package/skills/deepinit/SKILL.md +0 -1
  353. package/skills/deepsearch/SKILL.md +0 -1
  354. package/skills/doctor/SKILL.md +0 -1
  355. package/skills/ecomode/SKILL.md +128 -0
  356. package/skills/frontend-ui-ux/SKILL.md +0 -1
  357. package/skills/git-master/SKILL.md +0 -1
  358. package/skills/help/SKILL.md +1 -2
  359. package/skills/hud/SKILL.md +0 -1
  360. package/skills/learner/SKILL.md +0 -1
  361. package/skills/mcp-setup/SKILL.md +8 -7
  362. package/skills/note/SKILL.md +0 -1
  363. package/skills/omc-default/SKILL.md +0 -1
  364. package/skills/omc-default-global/SKILL.md +0 -1
  365. package/skills/omc-setup/SKILL.md +176 -10
  366. package/skills/orchestrate/SKILL.md +0 -1
  367. package/skills/pipeline/SKILL.md +417 -0
  368. package/skills/plan/SKILL.md +138 -21
  369. package/skills/planner/SKILL.md +0 -1
  370. package/skills/ralph/SKILL.md +65 -1
  371. package/skills/ralph-init/SKILL.md +0 -1
  372. package/skills/ralplan/SKILL.md +0 -1
  373. package/skills/release/SKILL.md +0 -1
  374. package/skills/research/SKILL.md +0 -1
  375. package/skills/review/SKILL.md +0 -1
  376. package/skills/security-review/SKILL.md +254 -0
  377. package/skills/swarm/SKILL.md +349 -0
  378. package/skills/tdd/SKILL.md +0 -1
  379. package/skills/ultrapilot/SKILL.md +563 -0
  380. package/skills/ultraqa/SKILL.md +0 -1
  381. package/skills/ultrawork/SKILL.md +0 -1
  382. package/docs/MIGRATION-v3.md +0 -186
@@ -0,0 +1,174 @@
1
+ ---
2
+ description: Strategic planning consultant with interview workflow
3
+ aliases: [planning, plan-interview]
4
+ ---
5
+
6
+ # Planner Command
7
+
8
+ [PLANNER MODE ACTIVATED - INTERVIEW WORKFLOW]
9
+
10
+ You are activating the Planner agent, a strategic planning consultant who creates comprehensive work plans through interview-style interaction.
11
+
12
+ ## User's Request
13
+
14
+ {{ARGUMENTS}}
15
+
16
+ ## What Planner Does
17
+
18
+ The Planner guides users through planning by:
19
+
20
+ 1. **Interview Phase** - Asks clarifying questions about requirements, constraints, goals
21
+ 2. **Analysis Phase** - Consults Analyst for hidden requirements and risk analysis
22
+ 3. **Plan Creation** - Creates detailed, actionable work plans
23
+
24
+ ## How It's Different from `/plan`
25
+
26
+ | Command | Workflow | Use When |
27
+ |---------|----------|----------|
28
+ | `/planner` | Full interview workflow | Requirements unclear, complex project |
29
+ | `/plan` | Quick planning, no interview | Requirements clear, simple task |
30
+
31
+ ## Interview Protocol
32
+
33
+ The Planner follows strict interview discipline:
34
+
35
+ ### Single Question at a Time
36
+
37
+ **NEVER** ask multiple questions in one message.
38
+
39
+ **Good:**
40
+ ```
41
+ What's the primary scope for this feature?
42
+ ```
43
+
44
+ **Bad:**
45
+ ```
46
+ What's the scope? And the timeline? And who's the audience?
47
+ ```
48
+
49
+ ### Question Categories
50
+
51
+ The Planner asks about:
52
+ - **Goals** - What success looks like
53
+ - **Constraints** - Time, budget, technical limits
54
+ - **Context** - Existing systems, dependencies
55
+ - **Risks** - What could go wrong
56
+ - **Preferences** - Trade-offs (speed vs quality)
57
+
58
+ ### Using AskUserQuestion Tool
59
+
60
+ For preference questions, the Planner uses `AskUserQuestion` tool to provide clickable UI:
61
+
62
+ **Question types requiring AskUserQuestion:**
63
+ - Preference (speed vs quality)
64
+ - Requirement (deadline)
65
+ - Scope (include feature Y?)
66
+ - Constraint (performance needs)
67
+ - Risk tolerance (refactoring acceptable?)
68
+
69
+ **Example:**
70
+ ```
71
+ AskUserQuestion(
72
+ question="For performance, what matters more - latency or throughput?",
73
+ type="preference",
74
+ options=["Latency", "Throughput", "Both equally"]
75
+ )
76
+ ```
77
+
78
+ ## Plan Quality Criteria
79
+
80
+ Planner ensures:
81
+ - 80%+ claims cite file/line references
82
+ - 90%+ acceptance criteria are testable
83
+ - No vague terms without metrics
84
+ - All risks have mitigations
85
+
86
+ ## Transition to Plan Creation
87
+
88
+ Planner creates the plan when user says:
89
+ - "Create the plan"
90
+ - "Make it into a work plan"
91
+ - "I'm ready to plan"
92
+ - "Let's create the plan"
93
+
94
+ ## Plan Structure
95
+
96
+ The final plan includes:
97
+
98
+ 1. **Requirements Summary** - What was gathered from interview
99
+ 2. **Acceptance Criteria** - Testable conditions for completion
100
+ 3. **Implementation Steps** - With file references
101
+ 4. **Risks & Mitigations** - What could go wrong and how to handle
102
+ 5. **Verification Steps** - How to verify completion
103
+
104
+ ## Delegation to Planner Agent
105
+
106
+ This command delegates to the `planner` agent (Opus model) which follows the full interview workflow.
107
+
108
+ ```
109
+ Task(
110
+ subagent_type="oh-my-claudecode:planner",
111
+ model="opus",
112
+ prompt="PLANNING REQUEST: {{ARGUMENTS}}
113
+
114
+ Follow the interview workflow:
115
+ 1. Ask clarifying questions (one at a time)
116
+ 2. Use AskUserQuestion for preference questions
117
+ 3. Consult Analyst when ready
118
+ 4. Create plan when user confirms
119
+
120
+ Quality requirements:
121
+ - 80%+ claims cite file/line
122
+ - 90%+ criteria testable
123
+ - All risks have mitigations"
124
+ )
125
+ ```
126
+
127
+ ## When to Use Planner vs Plan
128
+
129
+ **Use `/planner` when:**
130
+ - Requirements are vague or unclear
131
+ - Complex project with many unknowns
132
+ - Need to explore trade-offs
133
+ - User needs guidance on what to consider
134
+
135
+ **Use `/plan` when:**
136
+ - Requirements are clear and specific
137
+ - Simple, well-defined task
138
+ - Just need structured task breakdown
139
+ - No need for extensive questioning
140
+
141
+ ## Example Workflow
142
+
143
+ ```
144
+ User: /oh-my-claudecode:planner add user authentication
145
+
146
+ Planner: What's the primary scope for this authentication feature?
147
+
148
+ User: JWT-based auth for our REST API
149
+
150
+ Planner: For JWT implementation, what matters more - ease of integration or maximum security?
151
+
152
+ User: Maximum security
153
+
154
+ Planner: Should we support refresh tokens for long-lived sessions?
155
+
156
+ User: Yes
157
+
158
+ Planner: [Consults Analyst for hidden requirements]
159
+
160
+ Planner: Ready to create the plan. I've identified 3 key risks. Shall I proceed?
161
+
162
+ User: Yes, create the plan
163
+
164
+ Planner: [Creates detailed plan with all sections]
165
+ ```
166
+
167
+ ## Output
168
+
169
+ The Planner will:
170
+ 1. Conduct interview (as many questions as needed)
171
+ 2. Consult Analyst for analysis
172
+ 3. Create comprehensive plan document
173
+ 4. Save to `.omc/plans/` directory
174
+ 5. Report plan location and summary
@@ -1,8 +1,15 @@
1
1
  ---
2
2
  description: Iterative planning with Planner, Architect, and Critic until consensus
3
+ aliases: [rp, planloop]
3
4
  ---
4
5
 
5
- # Ralplan Skill
6
+ # Ralplan Command
7
+
8
+ [RALPLAN ACTIVATED - ITERATIVE PLANNING CONSENSUS MODE]
9
+
10
+ ## User's Task
11
+
12
+ {{ARGUMENTS}}
6
13
 
7
14
  ## Overview
8
15
 
@@ -0,0 +1,280 @@
1
+ ---
2
+ description: N coordinated agents with atomic task claiming from shared pool
3
+ aliases: [swarm-agents]
4
+ ---
5
+
6
+ # Swarm Command
7
+
8
+ [SWARM MODE ACTIVATED]
9
+
10
+ Spawn N coordinated agents working on a shared task list with atomic claiming. Like a dev team tackling multiple files in parallel.
11
+
12
+ ## User's Request
13
+
14
+ {{ARGUMENTS}}
15
+
16
+ ## Usage Pattern
17
+
18
+ ```
19
+ /oh-my-claudecode:swarm N:agent-type "task description"
20
+ ```
21
+
22
+ ### Parameters
23
+
24
+ - **N** - Number of agents (1-5, enforced by Claude Code limit)
25
+ - **agent-type** - Agent to spawn (executor, build-fixer, designer, etc.)
26
+ - **task** - High-level task to decompose and distribute
27
+
28
+ ### Examples
29
+
30
+ ```
31
+ /oh-my-claudecode:swarm 5:executor "fix all TypeScript errors"
32
+ /oh-my-claudecode:swarm 3:build-fixer "fix build errors in src/"
33
+ /oh-my-claudecode:swarm 4:designer "implement responsive layouts for all components"
34
+ /oh-my-claudecode:swarm 2:architect "analyze and document all API endpoints"
35
+ ```
36
+
37
+ ## How It Works
38
+
39
+ ```
40
+ User: /swarm 5:executor "fix all TypeScript errors"
41
+ |
42
+ v
43
+ [SWARM ORCHESTRATOR]
44
+ |
45
+ +--+--+--+--+--+
46
+ | | | | |
47
+ v v v v v
48
+ E1 E2 E3 E4 E5
49
+ | | | | |
50
+ +--+--+--+--+
51
+ |
52
+ v
53
+ [SHARED TASK LIST]
54
+ - Fix a.ts (claimed E1)
55
+ - Fix b.ts (done E2)
56
+ - Fix c.ts (claimed E3)
57
+ - Fix d.ts (pending)
58
+ ...
59
+ ```
60
+
61
+ ## Workflow
62
+
63
+ ### 1. Parse Input
64
+
65
+ From `{{ARGUMENTS}}`, extract:
66
+ - N (agent count, validate <= 5)
67
+ - agent-type (executor, build-fixer, etc.)
68
+ - task description
69
+
70
+ ### 2. Create Task List
71
+
72
+ 1. Analyze codebase based on task
73
+ 2. Break into file-specific subtasks
74
+ 3. Initialize `.omc/state/swarm-tasks.json` with all subtasks
75
+ 4. Each task gets: id, file, description, status, owner, timestamp
76
+
77
+ ### 3. Spawn Agents
78
+
79
+ Launch N agents via Task tool:
80
+ - Set `run_in_background: true` for all
81
+ - Each agent receives:
82
+ - Reference to shared task list
83
+ - Claiming protocol instructions
84
+ - Completion criteria
85
+
86
+ ### 4. Task Claiming Protocol
87
+
88
+ Each agent follows this loop:
89
+
90
+ ```
91
+ LOOP:
92
+ 1. Read swarm-tasks.json
93
+ 2. Find first task with status="pending"
94
+ 3. Atomically claim task (set status="claimed", add owner, timestamp)
95
+ 4. Execute task
96
+ 5. Mark task as "done"
97
+ 6. GOTO LOOP (until no pending tasks)
98
+ ```
99
+
100
+ **Atomic Claiming:**
101
+ - Read current task status
102
+ - If "pending", claim it (set owner, timeout)
103
+ - If already claimed, try next task
104
+ - Timeout: 5 minutes per task
105
+ - Timed-out tasks auto-release to "pending"
106
+
107
+ ### 5. Progress Tracking
108
+
109
+ Orchestrator monitors via TaskOutput:
110
+ - Shows live stats: claimed/done/pending counts
111
+ - Reports which agent is working on which file
112
+ - Detects idle agents (no pending tasks)
113
+
114
+ ### 6. Completion
115
+
116
+ Exit when:
117
+ - All tasks marked "done"
118
+ - All agents idle (no pending tasks)
119
+ - User cancels via `/cancel`
120
+
121
+ ## State Files
122
+
123
+ ### `.omc/swarm-state.json`
124
+ Session-level state:
125
+
126
+ ```json
127
+ {
128
+ "session_id": "swarm-20260124-143022",
129
+ "agent_count": 5,
130
+ "agent_type": "executor",
131
+ "task_description": "fix all TypeScript errors",
132
+ "status": "active",
133
+ "started_at": "2026-01-24T14:30:22Z",
134
+ "agents": [
135
+ {"id": "agent-1", "background_task_id": "task_abc", "status": "working"},
136
+ {"id": "agent-2", "background_task_id": "task_def", "status": "working"}
137
+ ]
138
+ }
139
+ ```
140
+
141
+ ### `.omc/state/swarm-tasks.json`
142
+ Shared task list:
143
+
144
+ ```json
145
+ {
146
+ "tasks": [
147
+ {
148
+ "id": "task-001",
149
+ "file": "src/utils/validation.ts",
150
+ "description": "Fix type errors in validation helpers",
151
+ "status": "claimed",
152
+ "owner": "agent-1",
153
+ "claimed_at": "2026-01-24T14:30:25Z",
154
+ "timeout_at": "2026-01-24T14:35:25Z"
155
+ },
156
+ {
157
+ "id": "task-002",
158
+ "file": "src/components/Header.tsx",
159
+ "description": "Fix missing prop types",
160
+ "status": "done",
161
+ "owner": "agent-2",
162
+ "claimed_at": "2026-01-24T14:30:26Z",
163
+ "completed_at": "2026-01-24T14:32:15Z"
164
+ },
165
+ {
166
+ "id": "task-003",
167
+ "file": "src/api/client.ts",
168
+ "description": "Add return type annotations",
169
+ "status": "pending",
170
+ "owner": null
171
+ }
172
+ ],
173
+ "stats": {
174
+ "total": 15,
175
+ "pending": 8,
176
+ "claimed": 5,
177
+ "done": 2
178
+ }
179
+ }
180
+ ```
181
+
182
+ ## Agent Instructions Template
183
+
184
+ Each spawned agent receives:
185
+
186
+ ```markdown
187
+ You are agent {id} in a swarm of {N} {agent-type} agents.
188
+
189
+ **Your Task:** {task_description}
190
+
191
+ **Shared Task List:** .omc/state/swarm-tasks.json
192
+
193
+ **Your Loop:**
194
+ 1. Read swarm-tasks.json
195
+ 2. Find first task with status="pending"
196
+ 3. Claim it atomically (set status="claimed", owner="{id}", timeout)
197
+ 4. Execute the task
198
+ 5. Mark status="done", set completed_at
199
+ 6. Repeat until no pending tasks
200
+
201
+ **Claiming Protocol:**
202
+ - Read file, check status="pending"
203
+ - Update status="claimed", add your ID
204
+ - Set timeout_at = now + 5 minutes
205
+ - Write file back
206
+ - If file changed between read/write, retry
207
+
208
+ **Completion:**
209
+ When no pending tasks remain, exit cleanly.
210
+ ```
211
+
212
+ ## Constraints
213
+
214
+ - **Max Agents:** 5 (Claude Code background task limit)
215
+ - **Claim Timeout:** 5 minutes per task
216
+ - **Auto-Release:** Timed-out claims automatically released
217
+ - **Heartbeat:** Recommended every 60 seconds
218
+
219
+ ## Error Handling
220
+
221
+ - **Agent Crash:** Task auto-releases after timeout
222
+ - **State Corruption:** Orchestrator validates and repairs
223
+ - **No Pending Tasks:** Agent exits cleanly
224
+ - **All Agents Idle:** Orchestrator concludes session
225
+
226
+ ## Cancellation
227
+
228
+ Use unified cancel command:
229
+ ```
230
+ /oh-my-claudecode:cancel
231
+ ```
232
+
233
+ This:
234
+ - Stops orchestrator monitoring
235
+ - Signals all background agents to exit
236
+ - Preserves partial progress in swarm-tasks.json
237
+ - Marks session as "cancelled"
238
+
239
+ ## Use Cases
240
+
241
+ ### Fix All Type Errors
242
+ ```
243
+ /swarm 5:executor "fix all TypeScript type errors"
244
+ ```
245
+ Spawns 5 executors, each claiming and fixing individual files.
246
+
247
+ ### Implement UI Components
248
+ ```
249
+ /swarm 3:designer "implement Material-UI styling for all components"
250
+ ```
251
+ Spawns 3 designers, each styling different component files.
252
+
253
+ ### Security Audit
254
+ ```
255
+ /swarm 4:security-reviewer "review all API endpoints for vulnerabilities"
256
+ ```
257
+ Spawns 4 security reviewers, each auditing different endpoints.
258
+
259
+ ### Documentation Sprint
260
+ ```
261
+ /swarm 2:writer "add JSDoc comments to all exported functions"
262
+ ```
263
+ Spawns 2 writers, each documenting different modules.
264
+
265
+ ## Benefits
266
+
267
+ - **Parallel Execution:** N agents work simultaneously
268
+ - **Auto-Balancing:** Fast agents claim more tasks
269
+ - **Fault Tolerance:** Timeouts prevent deadlocks
270
+ - **Progress Visibility:** Live stats on claimed/done/pending
271
+ - **Scalable:** Works for 10s to 100s of subtasks
272
+
273
+ ## Output
274
+
275
+ Report when complete:
276
+ - Total tasks completed
277
+ - Tasks per agent (performance comparison)
278
+ - Total time elapsed
279
+ - Final verification status
280
+ - Summary of changes made
@@ -0,0 +1,158 @@
1
+ ---
2
+ description: Parallel autopilot with file ownership partitioning (up to 5x faster)
3
+ aliases: [up, ultraauto, parallelauto]
4
+ ---
5
+
6
+ # Ultrapilot Command
7
+
8
+ [ULTRAPILOT ACTIVATED - PARALLEL AUTONOMOUS EXECUTION MODE]
9
+
10
+ You are now in ULTRAPILOT mode. This is a parallel autopilot that spawns multiple workers with file ownership partitioning for maximum speed.
11
+
12
+ ## User's Task
13
+
14
+ {{ARGUMENTS}}
15
+
16
+ ## Your Mission
17
+
18
+ Transform this task into working code through parallel execution:
19
+
20
+ 1. **Analysis** - Determine if task is parallelizable
21
+ 2. **Decomposition** - Break into parallel-safe subtasks with file partitioning
22
+ 3. **Parallel Execution** - Spawn up to 5 workers with exclusive file ownership
23
+ 4. **Integration** - Handle shared files sequentially
24
+ 5. **Validation** - Full system integrity check
25
+
26
+ ## Phase 0: Task Analysis
27
+
28
+ Determine if task is suitable for parallel execution:
29
+
30
+ **Parallelizable if:**
31
+ - Can be split into 2+ independent subtasks
32
+ - File boundaries are clear
33
+ - Dependencies between subtasks are minimal
34
+
35
+ **If NOT parallelizable:** Fall back to regular `/oh-my-claudecode:autopilot`
36
+
37
+ ## Phase 1: Decomposition
38
+
39
+ Break task into parallel-safe subtasks:
40
+
41
+ 1. Identify independent components (e.g., frontend, backend, database, tests)
42
+ 2. Map each subtask to a non-overlapping file set
43
+ 3. Identify shared files (package.json, tsconfig.json) for sequential handling
44
+ 4. Create task list with clear ownership
45
+
46
+ **Output:** Subtask definitions with file ownership assignments
47
+
48
+ ## Phase 2: File Partitioning
49
+
50
+ Create exclusive ownership map:
51
+
52
+ ```
53
+ Worker 1: src/api/** (exclusive)
54
+ Worker 2: src/ui/** (exclusive)
55
+ Worker 3: src/db/** (exclusive)
56
+ Worker 4: docs/** (exclusive)
57
+ Worker 5: tests/** (exclusive)
58
+ SHARED: package.json, tsconfig.json (sequential)
59
+ ```
60
+
61
+ **Rule:** No two workers can touch the same files
62
+
63
+ ## Phase 3: Parallel Execution
64
+
65
+ Spawn workers using Task tool with `run_in_background: true`:
66
+
67
+ ```
68
+ Task(
69
+ subagent_type="oh-my-claudecode:executor",
70
+ model="sonnet",
71
+ run_in_background=true,
72
+ prompt="ULTRAPILOT WORKER [1/5]
73
+
74
+ OWNED FILES: src/api/**
75
+ TASK: [specific subtask]
76
+
77
+ You have EXCLUSIVE ownership of these files.
78
+ DO NOT touch files outside your ownership.
79
+ Signal WORKER_COMPLETE when done."
80
+ )
81
+ ```
82
+
83
+ **Critical Rules:**
84
+ - Maximum 5 parallel workers (Claude Code limit)
85
+ - Each worker owns exclusive file set
86
+ - Monitor via TaskOutput
87
+ - Handle failures by reassigning or fixing
88
+
89
+ ## Phase 4: Integration
90
+
91
+ After all workers complete:
92
+
93
+ 1. Handle shared files (package.json, configs) sequentially
94
+ 2. Resolve any integration issues
95
+ 3. Ensure all pieces work together
96
+
97
+ ## Phase 5: Validation
98
+
99
+ Spawn Architect for full system verification:
100
+
101
+ ```
102
+ Task(
103
+ subagent_type="oh-my-claudecode:architect",
104
+ model="opus",
105
+ prompt="ULTRAPILOT VALIDATION
106
+
107
+ Verify the complete implementation:
108
+ 1. All subtasks completed successfully
109
+ 2. No integration conflicts
110
+ 3. System works as a whole
111
+ 4. Tests pass (if applicable)"
112
+ )
113
+ ```
114
+
115
+ ## Delegation Rules (MANDATORY)
116
+
117
+ **YOU ARE A COORDINATOR, NOT AN IMPLEMENTER.**
118
+
119
+ | Action | YOU Do | DELEGATE |
120
+ |--------|--------|----------|
121
+ | Decompose task | ✓ | |
122
+ | Partition files | ✓ | |
123
+ | Spawn workers | ✓ | |
124
+ | Track progress | ✓ | |
125
+ | **ANY code change** | ✗ NEVER | executor workers |
126
+
127
+ **Path Exception**: Only write to `.omc/`, `.claude/`, `CLAUDE.md`, `AGENTS.md`
128
+
129
+ ## State Management
130
+
131
+ Track state in `.omc/ultrapilot-state.json`:
132
+
133
+ ```json
134
+ {
135
+ "active": true,
136
+ "mode": "ultrapilot",
137
+ "workers": [
138
+ {"id": "w1", "status": "running", "files": ["src/api/**"], "task_id": "..."},
139
+ {"id": "w2", "status": "complete", "files": ["src/ui/**"], "task_id": "..."}
140
+ ],
141
+ "shared_files": ["package.json", "tsconfig.json"],
142
+ "phase": "parallel_execution"
143
+ }
144
+ ```
145
+
146
+ ## Completion
147
+
148
+ When all phases complete and Architect validates:
149
+
150
+ ```
151
+ <promise>ULTRAPILOT_COMPLETE</promise>
152
+ ```
153
+
154
+ Display summary with:
155
+ - Time savings vs sequential
156
+ - Workers spawned
157
+ - Files modified per worker
158
+ - Final validation status
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  description: Activate maximum performance mode with parallel agent orchestration for high-throughput task completion
3
+ aliases: [ulw, uw, turbo]
3
4
  ---
4
5
 
5
6
  # Ultrawork Skill
@@ -0,0 +1,6 @@
1
+ /**
2
+ * Integration tests for delegation enforcer
3
+ * Tests the entire flow from hook input to modified output
4
+ */
5
+ export {};
6
+ //# sourceMappingURL=delegation-enforcer-integration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delegation-enforcer-integration.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/delegation-enforcer-integration.test.ts"],"names":[],"mappings":"AAAA;;;GAGG"}