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,282 @@
1
+ # Delegation Enforcer
2
+
3
+ **Automatic model parameter injection for Task/Agent calls**
4
+
5
+ ## Problem
6
+
7
+ Claude Code does NOT automatically apply model parameters from agent definitions. When you invoke the `Task` tool (or `Agent` tool), you must manually specify the `model` parameter every time, even though each agent has a default model defined in its configuration.
8
+
9
+ This leads to:
10
+ - Verbose delegation code
11
+ - Forgotten model parameters defaulting to parent model
12
+ - Inconsistent model usage across codebase
13
+
14
+ ## Solution
15
+
16
+ The **Delegation Enforcer** is middleware that automatically injects the model parameter based on agent definitions when not explicitly specified.
17
+
18
+ ## How It Works
19
+
20
+ ### 1. Pre-Tool-Use Hook
21
+
22
+ The enforcer runs as a pre-tool-use hook that intercepts `Task` and `Agent` tool calls:
23
+
24
+ ```typescript
25
+ // Before enforcement
26
+ Task(
27
+ subagent_type="oh-my-claudecode:executor",
28
+ prompt="Implement feature X"
29
+ )
30
+
31
+ // After enforcement (automatic)
32
+ Task(
33
+ subagent_type="oh-my-claudecode:executor",
34
+ model="sonnet", // ← Automatically injected
35
+ prompt="Implement feature X"
36
+ )
37
+ ```
38
+
39
+ ### 2. Agent Definition Lookup
40
+
41
+ Each agent has a default model in its definition:
42
+
43
+ ```typescript
44
+ export const executorAgent: AgentConfig = {
45
+ name: 'executor',
46
+ description: '...',
47
+ prompt: '...',
48
+ tools: [...],
49
+ model: 'sonnet' // ← Default model
50
+ };
51
+ ```
52
+
53
+ The enforcer reads this definition and injects the model when not specified.
54
+
55
+ ### 3. Explicit Models Preserved
56
+
57
+ If you explicitly specify a model, it's always preserved:
58
+
59
+ ```typescript
60
+ // Explicit model is never overridden
61
+ Task(
62
+ subagent_type="oh-my-claudecode:executor",
63
+ model="haiku", // ← Explicitly using haiku instead of default sonnet
64
+ prompt="Quick lookup"
65
+ )
66
+ ```
67
+
68
+ ## API
69
+
70
+ ### Core Functions
71
+
72
+ #### `enforceModel(agentInput: AgentInput): EnforcementResult`
73
+
74
+ Enforces model parameter for a single agent delegation call.
75
+
76
+ ```typescript
77
+ import { enforceModel } from 'oh-my-claude-sisyphus';
78
+
79
+ const input = {
80
+ description: 'Implement feature',
81
+ prompt: 'Add validation',
82
+ subagent_type: 'executor'
83
+ };
84
+
85
+ const result = enforceModel(input);
86
+ console.log(result.modifiedInput.model); // 'sonnet'
87
+ console.log(result.injected); // true
88
+ ```
89
+
90
+ #### `getModelForAgent(agentType: string): ModelType`
91
+
92
+ Get the default model for an agent type.
93
+
94
+ ```typescript
95
+ import { getModelForAgent } from 'oh-my-claude-sisyphus';
96
+
97
+ getModelForAgent('executor'); // 'sonnet'
98
+ getModelForAgent('executor-low'); // 'haiku'
99
+ getModelForAgent('executor-high'); // 'opus'
100
+ ```
101
+
102
+ #### `isAgentCall(toolName: string, toolInput: unknown): boolean`
103
+
104
+ Check if a tool invocation is an agent delegation call.
105
+
106
+ ```typescript
107
+ import { isAgentCall } from 'oh-my-claude-sisyphus';
108
+
109
+ isAgentCall('Task', { subagent_type: 'executor', ... }); // true
110
+ isAgentCall('Bash', { command: 'ls' }); // false
111
+ ```
112
+
113
+ ### Hook Integration
114
+
115
+ The enforcer automatically integrates with the pre-tool-use hook:
116
+
117
+ ```typescript
118
+ import { processHook } from 'oh-my-claude-sisyphus';
119
+
120
+ const hookInput = {
121
+ toolName: 'Task',
122
+ toolInput: {
123
+ description: 'Test',
124
+ prompt: 'Test',
125
+ subagent_type: 'executor'
126
+ }
127
+ };
128
+
129
+ const result = await processHook('pre-tool-use', hookInput);
130
+ console.log(result.modifiedInput.model); // 'sonnet'
131
+ ```
132
+
133
+ ## Agent Model Mapping
134
+
135
+ | Agent Type | Default Model | Use Case |
136
+ |------------|---------------|----------|
137
+ | `architect` | opus | Complex analysis, debugging |
138
+ | `architect-medium` | sonnet | Standard analysis |
139
+ | `architect-low` | haiku | Quick questions |
140
+ | `executor` | sonnet | Standard implementation |
141
+ | `executor-high` | opus | Complex refactoring |
142
+ | `executor-low` | haiku | Simple changes |
143
+ | `explore` | haiku | Fast code search |
144
+ | `explore-medium` | sonnet | Thorough search |
145
+ | `designer` | sonnet | UI implementation |
146
+ | `designer-high` | opus | Complex UI architecture |
147
+ | `designer-low` | haiku | Simple styling |
148
+ | `researcher` | sonnet | Documentation lookup |
149
+ | `researcher-low` | haiku | Quick docs |
150
+ | `writer` | haiku | Documentation writing |
151
+ | `vision` | sonnet | Image analysis |
152
+ | `planner` | opus | Strategic planning |
153
+ | `critic` | opus | Plan review |
154
+ | `analyst` | opus | Pre-planning analysis |
155
+ | `qa-tester` | sonnet | CLI testing |
156
+ | `qa-tester-high` | opus | Comprehensive QA |
157
+ | `scientist` | sonnet | Data analysis |
158
+ | `scientist-low` | haiku | Quick inspection |
159
+ | `scientist-high` | opus | Complex research |
160
+
161
+ ## Debug Mode
162
+
163
+ Enable debug logging to see when models are auto-injected:
164
+
165
+ ```bash
166
+ export OMC_DEBUG=true
167
+ ```
168
+
169
+ When enabled, you'll see warnings like:
170
+
171
+ ```
172
+ [OMC] Auto-injecting model: sonnet for executor
173
+ ```
174
+
175
+ **Important:** Warnings are ONLY shown when `OMC_DEBUG=true`. Without this flag, enforcement happens silently.
176
+
177
+ ## Usage Examples
178
+
179
+ ### Before (Manual)
180
+
181
+ ```typescript
182
+ // Every delegation needs explicit model
183
+ Task(
184
+ subagent_type="oh-my-claudecode:executor",
185
+ model="sonnet",
186
+ prompt="Implement X"
187
+ )
188
+
189
+ Task(
190
+ subagent_type="oh-my-claudecode:executor-low",
191
+ model="haiku",
192
+ prompt="Quick lookup"
193
+ )
194
+ ```
195
+
196
+ ### After (Automatic)
197
+
198
+ ```typescript
199
+ // Model automatically injected from definition
200
+ Task(
201
+ subagent_type="oh-my-claudecode:executor",
202
+ prompt="Implement X"
203
+ )
204
+
205
+ Task(
206
+ subagent_type="oh-my-claudecode:executor-low",
207
+ prompt="Quick lookup"
208
+ )
209
+ ```
210
+
211
+ ### Override When Needed
212
+
213
+ ```typescript
214
+ // Use haiku for a simple executor task
215
+ Task(
216
+ subagent_type="oh-my-claudecode:executor",
217
+ model="haiku", // Override default sonnet
218
+ prompt="Find definition of X"
219
+ )
220
+ ```
221
+
222
+ ## Implementation Details
223
+
224
+ ### Hook Integration
225
+
226
+ The enforcer runs in the `pre-tool-use` hook:
227
+
228
+ 1. Hook receives tool invocation
229
+ 2. Checks if tool is `Task` or `Agent`
230
+ 3. Checks if `model` parameter is missing
231
+ 4. Looks up agent definition
232
+ 5. Injects default model
233
+ 6. Returns modified input
234
+
235
+ ### Error Handling
236
+
237
+ - Unknown agent types throw errors
238
+ - Agents without default models throw errors
239
+ - Invalid input structures are passed through unchanged
240
+ - Non-agent tools are ignored
241
+
242
+ ### Performance
243
+
244
+ - O(1) lookup: Direct hash map lookup for agent definitions
245
+ - No async operations: Synchronous enforcement
246
+ - Minimal overhead: Only applies to Task/Agent calls
247
+
248
+ ## Testing
249
+
250
+ Run tests:
251
+
252
+ ```bash
253
+ npm test -- delegation-enforcer
254
+ ```
255
+
256
+ Run demo:
257
+
258
+ ```bash
259
+ npx tsx examples/delegation-enforcer-demo.ts
260
+ ```
261
+
262
+ ## Benefits
263
+
264
+ 1. **Cleaner Code**: No need to manually specify model every time
265
+ 2. **Consistency**: Always uses correct model tier for each agent
266
+ 3. **Safety**: Explicit models always preserved
267
+ 4. **Transparency**: Debug mode shows when models are injected
268
+ 5. **Zero Config**: Works automatically with existing agent definitions
269
+
270
+ ## Migration
271
+
272
+ No migration needed! The enforcer is backward compatible:
273
+
274
+ - Existing code with explicit models continues working
275
+ - New code can omit model parameter
276
+ - No breaking changes
277
+
278
+ ## Related
279
+
280
+ - [Model Routing](./MODEL-ROUTING.md) - Intelligent task complexity analysis
281
+ - [Agent Definitions](./AGENTS.md) - Complete agent reference
282
+ - [Delegation Categories](./DELEGATION-CATEGORIES.md) - Semantic task grouping
@@ -10,21 +10,21 @@
10
10
 
11
11
  # oh-my-claudecode
12
12
 
13
- [![Version](https://img.shields.io/badge/version-3.3.10-ff6b6b)](https://github.com/Yeachan-Heo/oh-my-claudecode)
14
- [![npm version](https://img.shields.io/npm/v/oh-my-claudecode?color=cb3837)](https://www.npmjs.com/package/oh-my-claudecode)
13
+ [![Version](https://img.shields.io/badge/version-3.4.1-ff6b6b)](https://github.com/Yeachan-Heo/oh-my-claudecode)
14
+ [![npm version](https://img.shields.io/npm/v/oh-my-claude-sisyphus?color=cb3837)](https://www.npmjs.com/package/oh-my-claudecode)
15
15
  [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
16
16
  [![Node.js](https://img.shields.io/badge/Node.js-20+-339933?logo=node.js&logoColor=white)](https://nodejs.org/)
17
17
  [![TypeScript](https://img.shields.io/badge/TypeScript-5.0+-3178c6?logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
18
18
 
19
19
  **Multi-agent orchestration system for [Claude Code](https://docs.anthropic.com/claude-code)**
20
20
 
21
- [Install](#quick-install) • [Usage](#usage) • [Agents](#the-twelve-agents) • [Architecture](docs/ARCHITECTURE.md) • [Website](https://yeachan-heo.github.io/oh-my-claudecode-website)
21
+ [Install](#quick-install) • [Usage](#usage) • [Agents](#the-32-specialized-agents) • [Architecture](docs/ARCHITECTURE.md) • [Website](https://yeachan-heo.github.io/oh-my-claudecode-website)
22
22
 
23
23
  </div>
24
24
 
25
25
  ---
26
26
 
27
- ## ⚡ NEW in 3.0: HUD Statusline, Learned Skills & Enhanced Orchestration
27
+ ## ⚡ NEW in 3.4: HUD Statusline, Learned Skills & Enhanced Orchestration
28
28
 
29
29
  **Game-changing release:** Claude never forgets critical project knowledge, even through context compaction.
30
30
 
@@ -143,6 +143,102 @@ Background agent resumption with context preservation via `resumeSession()`.
143
143
 
144
144
  ---
145
145
 
146
+ ## NEW in 3.4.1: Parallel Execution & Advanced Workflows
147
+
148
+ **Game-changing features:** Ultrapilot, swarm orchestration, and pipeline workflows for 3-5x faster execution.
149
+
150
+ ### 🚀 Ultrapilot: Parallel Autopilot
151
+
152
+ Execute complex tasks with **up to 5 concurrent workers** for 3-5x speedup:
153
+
154
+ ```bash
155
+ /oh-my-claudecode:ultrapilot "build a fullstack todo app"
156
+ ```
157
+
158
+ **How it works:**
159
+ - **Task decomposition engine** breaks complex tasks into parallelizable subtasks
160
+ - **File ownership coordinator** assigns non-overlapping file sets to workers
161
+ - **Workers execute in parallel**, coordinator manages shared files
162
+ - **Automatic conflict detection** and resolution
163
+
164
+ **Best for:** Multi-component systems, fullstack apps, large refactoring
165
+
166
+ **State files:**
167
+ - `.omc/state/ultrapilot-state.json` - Session state
168
+ - `.omc/state/ultrapilot-ownership.json` - File ownership
169
+
170
+ ### 🐝 Swarm: Coordinated Agent Teams
171
+
172
+ N coordinated agents with atomic task claiming from shared pool:
173
+
174
+ ```bash
175
+ /oh-my-claudecode:swarm 5:executor "fix all TypeScript errors"
176
+ ```
177
+
178
+ **Features:**
179
+ - Shared task list with pending/claimed/done status
180
+ - 5-minute timeout per task with auto-release
181
+ - Clean completion when all tasks done
182
+ - Scales from 2 to 10 workers
183
+
184
+ ### 🔗 Pipeline: Sequential Agent Chaining
185
+
186
+ Chain agents with data passing between stages:
187
+
188
+ ```bash
189
+ /oh-my-claudecode:pipeline explore:haiku -> architect:opus -> executor:sonnet
190
+ ```
191
+
192
+ **Built-in Presets:**
193
+ | Preset | Stages |
194
+ |--------|--------|
195
+ | `review` | explore → architect → critic → executor |
196
+ | `implement` | planner → executor → tdd-guide |
197
+ | `debug` | explore → architect → build-fixer |
198
+ | `research` | parallel(researcher, explore) → architect → writer |
199
+ | `refactor` | explore → architect-medium → executor-high → qa-tester |
200
+ | `security` | explore → security-reviewer → executor → security-reviewer-low |
201
+
202
+ ### 💰 Ecomode: Token-Efficient Execution
203
+
204
+ Maximum parallelism with **30-50% token savings**:
205
+
206
+ ```bash
207
+ /oh-my-claudecode:ecomode "refactor the authentication system"
208
+ ```
209
+
210
+ Smart model routing:
211
+ - Simple tasks → Haiku (ultra-cheap)
212
+ - Standard work → Sonnet (balanced)
213
+ - Complex reasoning → Opus (when needed)
214
+
215
+ ### 🎯 Unified Cancel
216
+
217
+ Smart cancellation that auto-detects active mode:
218
+
219
+ ```bash
220
+ /oh-my-claudecode:cancel
221
+ # Or just say: "stop", "cancel", "abort"
222
+ ```
223
+
224
+ **Auto-detects and cancels:** autopilot, ultrapilot, ralph, ultrawork, ultraqa, ecomode, swarm, pipeline
225
+
226
+ **Deprecation notice:** Individual cancel commands (`cancel-ralph`, `cancel-ultraqa`, `cancel-ultrawork`, `cancel-ecomode`) still work but are deprecated. Use `/oh-my-claudecode:cancel` instead.
227
+
228
+ ### 🔍 Explore-High Agent
229
+
230
+ Opus-powered architectural search for complex codebase exploration:
231
+
232
+ ```bash
233
+ Task(subagent_type="oh-my-claudecode:explore-high",
234
+ model="opus",
235
+ prompt="Find all authentication-related code patterns...")
236
+ ```
237
+
238
+ **Best for:** Architectural analysis, cross-cutting concerns, complex refactoring planning
239
+
240
+ ---
241
+
146
242
  ## Quick Install
147
243
 
148
244
  Choose **ONE** installation method below. Do not mix methods.
@@ -232,7 +328,7 @@ Without running one of these commands, Claude operates with basic capabilities.
232
328
  ### What These Commands Do
233
329
 
234
330
  1. ✅ Download latest CLAUDE.md with full omc orchestration prompt
235
- 2. ✅ Configure 19 agents with intelligent model routing
331
+ 2. ✅ Configure 32 agents with intelligent model routing
236
332
  3. ✅ Enable magic keyword detection (ultrawork, search, analyze)
237
333
  4. ✅ Activate continuation enforcement (tasks complete before stopping)
238
334
  5. ✅ Set up skill composition (orchestrate + ultrawork + git-master, etc.)
@@ -266,9 +362,9 @@ The repository is also a Claude Code plugin with this structure:
266
362
  oh-my-claudecode/
267
363
  ├── .claude-plugin/
268
364
  │ └── plugin.json # Plugin manifest
269
- ├── agents/ # 12 specialized subagents
270
- ├── commands/ # 12 slash commands
271
- ├── skills/ # 4 skills (ultrawork, deepinit, git-master, frontend-ui-ux)
365
+ ├── agents/ # 32 specialized agents (tiered: architect, executor, explore, etc.)
366
+ ├── commands/ # 37 slash commands
367
+ ├── skills/ # 40 skills (orchestrate, ultrawork, ultrapilot, swarm, pipeline, ecomode, ralph, planner, research, tdd, build-fix, code-review, security-review, and more)
272
368
  ├── hooks/
273
369
  │ └── hooks.json # Hook configuration
274
370
  └── scripts/ # Hook scripts
@@ -462,19 +558,24 @@ Oh-my-claudecode includes 19 lifecycle hooks that enhance Claude Code's behavior
462
558
 
463
559
  ## Builtin Skills
464
560
 
465
- 21 builtin skills provide specialized capabilities:
561
+ 40 builtin skills provide specialized capabilities:
466
562
 
467
563
  ### Core Skills
468
564
  | Skill | Description |
469
565
  |-------|-------------|
470
566
  | **orchestrate** | Multi-agent orchestration mode |
567
+ | **autopilot** | Full autonomous execution from idea to working code |
471
568
  | **ultrawork** | Maximum performance with parallel agents |
472
- | **ralph-loop** | Self-referential development until completion |
569
+ | **ultrapilot** | Parallel autopilot with 3-5x speedup (v3.4.0) |
570
+ | **swarm** | N coordinated agents with task claiming (v3.4.0) |
571
+ | **pipeline** | Sequential agent chaining (v3.4.0) |
572
+ | **ecomode** | Token-efficient parallel execution (v3.4.0) |
573
+ | **ralph** | Self-referential development until completion |
473
574
  | **ralph-init** | Initialize PRD for structured task tracking |
474
- | **ultrawork-ralph** | Maximum intensity + completion guarantee |
475
575
  | **ultraqa** | Autonomous QA cycling workflow |
476
576
  | **planner** | Strategic planning with interview workflow |
477
577
  | **plan** | Start planning session |
578
+ | **ralplan** | Iterative planning (Planner+Architect+Critic) |
478
579
  | **review** | Review work plans with critic |
479
580
 
480
581
  ### Enhancement Skills
@@ -483,22 +584,35 @@ Oh-my-claudecode includes 19 lifecycle hooks that enhance Claude Code's behavior
483
584
  | **deepinit** | Hierarchical AGENTS.md codebase documentation |
484
585
  | **deepsearch** | Thorough multi-strategy codebase search |
485
586
  | **analyze** | Deep analysis and investigation |
587
+ | **research** | Parallel scientist orchestration (v3.4.0) |
486
588
  | **frontend-ui-ux** | Designer-turned-developer UI/UX expertise |
487
589
  | **git-master** | Git expert for atomic commits and history |
590
+ | **tdd** | TDD enforcement: test-first development (v3.4.0) |
591
+ | **learner** | Extract reusable skill from session |
488
592
 
489
593
  ### Utility Skills
490
594
  | Skill | Description |
491
595
  |-------|-------------|
492
596
  | **note** | Save notes to compaction-resilient notepad |
493
- | **cancel-ralph** | Cancel Ralph Loop or ultrawork-ralph |
494
- | **cancel-ultraqa** | Cancel UltraQA cycling workflow |
597
+ | **cancel** | Unified cancellation for all modes (v3.4.0) |
598
+ | **cancel-autopilot** | Cancel autopilot (deprecated - use cancel) |
599
+ | **cancel-ralph** | Cancel Ralph Loop (deprecated - use cancel) |
600
+ | **cancel-ultraqa** | Cancel UltraQA (deprecated - use cancel) |
601
+ | **cancel-ultrawork** | Cancel ultrawork (deprecated - use cancel) |
602
+ | **cancel-ecomode** | Cancel ecomode (deprecated - use cancel) |
495
603
  | **omc-default** | Configure omc for current project |
496
604
  | **omc-default-global** | Configure omc globally |
605
+ | **omc-setup** | One-time setup wizard |
497
606
  | **doctor** | Diagnose and fix installation issues |
607
+ | **help** | Show OMC usage guide |
608
+ | **hud** | Configure HUD statusline |
498
609
  | **release** | Automated release workflow |
610
+ | **mcp-setup** | Configure MCP servers (v3.4.0) |
499
611
 
500
612
  Skills are automatically activated via slash commands or magic keywords.
501
613
 
614
+ **Note:** Individual cancel commands (`cancel-ralph`, `cancel-ultraqa`, `cancel-ultrawork`, `cancel-ecomode`, `cancel-autopilot`) are deprecated in v3.4.0. Use the unified `/oh-my-claudecode:cancel` command instead, which auto-detects the active mode.
615
+
502
616
  ---
503
617
 
504
618
  ## Intelligent Skill Activation
@@ -550,7 +664,7 @@ Claude uses judgment to detect task type and activate appropriate skill combinat
550
664
 
551
665
  ---
552
666
 
553
- ## The Twelve Agents
667
+ ## The 32 Specialized Agents
554
668
 
555
669
  Claude will automatically delegate to these specialized agents:
556
670
 
@@ -778,9 +892,9 @@ The original oh-my-opencode used multiple AI providers. This project uses Claude
778
892
 
779
893
  | Feature | Description |
780
894
  |---------|-------------|
781
- | **19 Specialized Agents** | architect, researcher, explore, designer, writer, vision, qa-tester, critic, analyst, orchestrator, executor, planner (+ tiered variants) |
895
+ | **32 Specialized Agents** | architect, researcher, explore, designer, writer, vision, qa-tester, critic, analyst, executor, planner (+ tiered variants: -low, -medium, -high) + security-reviewer, build-fixer, tdd-guide, code-reviewer, scientist (all with tier variants) |
782
896
  | **19 Lifecycle Hooks** | rules-injector, omc-orchestrator, auto-slash-command, keyword-detector, ralph-loop, todo-continuation, notepad, post-tool-use, context-window-limit-recovery, preemptive-compaction, session-recovery, directory-readme-injector, comment-checker, thinking-block-validator, empty-message-sanitizer, edit-error-recovery, non-interactive-env, agent-usage-reminder, background-notification |
783
- | **21 Builtin Skills** | orchestrate, ultrawork, ralph-loop, ralph-init, ultrawork-ralph, ultraqa, planner, plan, review, deepinit, deepsearch, analyze, frontend-ui-ux, git-master, note, cancel-ralph, cancel-ultraqa, omc-default, omc-default-global, doctor, release |
897
+ | **37 Builtin Skills** | orchestrate, autopilot, ultrawork, ultrapilot, swarm, pipeline, ecomode, ralph, ralph-init, ultraqa, planner, plan, ralplan, review, deepinit, deepsearch, analyze, research, frontend-ui-ux, git-master, tdd, learner, note, cancel (unified), cancel-autopilot, cancel-ralph, cancel-ultraqa, cancel-ultrawork, cancel-ecomode, omc-default, omc-default-global, omc-setup, doctor, help, hud, release, mcp-setup |
784
898
  | **Magic Keywords** | `ultrawork`, `search`, `analyze`, `ultrathink` trigger enhanced modes |
785
899
  | **Slash Commands** | All skills available via `/oh-my-claudecode:skill-name` (e.g., `/oh-my-claudecode:ultrawork`, `/oh-my-claudecode:ralph`, `/oh-my-claudecode:plan`) |
786
900
  | **Compaction-Resilient Memory** | Three-tier notepad system (Priority Context, Working Memory, MANUAL) |
@@ -43,7 +43,7 @@ The plugin requires a `plugin.json` manifest:
43
43
  ```json
44
44
  {
45
45
  "name": "oh-my-claudecode",
46
- "version": "3.0.11",
46
+ "version": "3.4.0",
47
47
  "description": "Multi-agent orchestration system for Claude Code",
48
48
  "hooks": {
49
49
  "PreToolUse": ["scripts/pre-tool-enforcer.mjs"],