oh-my-claude-sisyphus 2.6.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (548) hide show
  1. package/README.md +59 -708
  2. package/agents/analyst.md +85 -0
  3. package/agents/architect-low.md +88 -0
  4. package/agents/architect-medium.md +108 -0
  5. package/agents/architect.md +77 -0
  6. package/agents/critic.md +97 -0
  7. package/agents/designer-high.md +113 -0
  8. package/agents/designer-low.md +89 -0
  9. package/agents/designer.md +80 -0
  10. package/agents/executor-high.md +116 -0
  11. package/agents/executor-low.md +94 -0
  12. package/agents/executor.md +62 -0
  13. package/agents/explore-medium.md +113 -0
  14. package/agents/explore.md +86 -0
  15. package/agents/planner.md +164 -0
  16. package/agents/qa-tester.md +109 -0
  17. package/agents/researcher-low.md +84 -0
  18. package/agents/researcher.md +70 -0
  19. package/agents/vision.md +39 -0
  20. package/agents/writer.md +152 -0
  21. package/commands/.gitkeep +0 -0
  22. package/dist/__tests__/hooks.test.js +22 -22
  23. package/dist/__tests__/hooks.test.js.map +1 -1
  24. package/dist/__tests__/hud-agents.test.d.ts +7 -0
  25. package/dist/__tests__/hud-agents.test.d.ts.map +1 -0
  26. package/dist/__tests__/hud-agents.test.js +363 -0
  27. package/dist/__tests__/hud-agents.test.js.map +1 -0
  28. package/dist/__tests__/installer.test.js +184 -116
  29. package/dist/__tests__/installer.test.js.map +1 -1
  30. package/dist/__tests__/learned-skills/config.test.d.ts +2 -0
  31. package/dist/__tests__/learned-skills/config.test.d.ts.map +1 -0
  32. package/dist/__tests__/learned-skills/config.test.js +37 -0
  33. package/dist/__tests__/learned-skills/config.test.js.map +1 -0
  34. package/dist/__tests__/learned-skills/detector.test.d.ts +2 -0
  35. package/dist/__tests__/learned-skills/detector.test.d.ts.map +1 -0
  36. package/dist/__tests__/learned-skills/detector.test.js +99 -0
  37. package/dist/__tests__/learned-skills/detector.test.js.map +1 -0
  38. package/dist/__tests__/learned-skills/finder.test.d.ts +2 -0
  39. package/dist/__tests__/learned-skills/finder.test.d.ts.map +1 -0
  40. package/dist/__tests__/learned-skills/finder.test.js +59 -0
  41. package/dist/__tests__/learned-skills/finder.test.js.map +1 -0
  42. package/dist/__tests__/learned-skills/loader.test.d.ts +2 -0
  43. package/dist/__tests__/learned-skills/loader.test.d.ts.map +1 -0
  44. package/dist/__tests__/learned-skills/loader.test.js +69 -0
  45. package/dist/__tests__/learned-skills/loader.test.js.map +1 -0
  46. package/dist/__tests__/learned-skills/parser.test.d.ts +2 -0
  47. package/dist/__tests__/learned-skills/parser.test.d.ts.map +1 -0
  48. package/dist/__tests__/learned-skills/parser.test.js +81 -0
  49. package/dist/__tests__/learned-skills/parser.test.js.map +1 -0
  50. package/dist/__tests__/learned-skills/validator.test.d.ts +2 -0
  51. package/dist/__tests__/learned-skills/validator.test.d.ts.map +1 -0
  52. package/dist/__tests__/learned-skills/validator.test.js +85 -0
  53. package/dist/__tests__/learned-skills/validator.test.js.map +1 -0
  54. package/dist/__tests__/mnemosyne/config.test.d.ts +2 -0
  55. package/dist/__tests__/mnemosyne/config.test.d.ts.map +1 -0
  56. package/dist/__tests__/mnemosyne/config.test.js +37 -0
  57. package/dist/__tests__/mnemosyne/config.test.js.map +1 -0
  58. package/dist/__tests__/mnemosyne/detector.test.d.ts +2 -0
  59. package/dist/__tests__/mnemosyne/detector.test.d.ts.map +1 -0
  60. package/dist/__tests__/mnemosyne/detector.test.js +99 -0
  61. package/dist/__tests__/mnemosyne/detector.test.js.map +1 -0
  62. package/dist/__tests__/mnemosyne/finder.test.d.ts +2 -0
  63. package/dist/__tests__/mnemosyne/finder.test.d.ts.map +1 -0
  64. package/dist/__tests__/mnemosyne/finder.test.js +61 -0
  65. package/dist/__tests__/mnemosyne/finder.test.js.map +1 -0
  66. package/dist/__tests__/mnemosyne/loader.test.d.ts +2 -0
  67. package/dist/__tests__/mnemosyne/loader.test.d.ts.map +1 -0
  68. package/dist/__tests__/mnemosyne/loader.test.js +73 -0
  69. package/dist/__tests__/mnemosyne/loader.test.js.map +1 -0
  70. package/dist/__tests__/mnemosyne/parser.test.d.ts +2 -0
  71. package/dist/__tests__/mnemosyne/parser.test.d.ts.map +1 -0
  72. package/dist/__tests__/mnemosyne/parser.test.js +81 -0
  73. package/dist/__tests__/mnemosyne/parser.test.js.map +1 -0
  74. package/dist/__tests__/mnemosyne/validator.test.d.ts +2 -0
  75. package/dist/__tests__/mnemosyne/validator.test.d.ts.map +1 -0
  76. package/dist/__tests__/mnemosyne/validator.test.js +85 -0
  77. package/dist/__tests__/mnemosyne/validator.test.js.map +1 -0
  78. package/dist/__tests__/model-routing.test.js +34 -34
  79. package/dist/__tests__/model-routing.test.js.map +1 -1
  80. package/dist/__tests__/notepad.test.js +7 -7
  81. package/dist/__tests__/notepad.test.js.map +1 -1
  82. package/dist/__tests__/ralph-prd.test.js +12 -12
  83. package/dist/__tests__/ralph-prd.test.js.map +1 -1
  84. package/dist/__tests__/ralph-progress.test.js +12 -12
  85. package/dist/__tests__/ralph-progress.test.js.map +1 -1
  86. package/dist/__tests__/skills.test.js +50 -17
  87. package/dist/__tests__/skills.test.js.map +1 -1
  88. package/dist/__tests__/types.test.js +5 -5
  89. package/dist/__tests__/types.test.js.map +1 -1
  90. package/dist/agents/analyst.d.ts +11 -0
  91. package/dist/agents/analyst.d.ts.map +1 -0
  92. package/dist/agents/analyst.js +115 -0
  93. package/dist/agents/analyst.js.map +1 -0
  94. package/dist/agents/architect.d.ts +12 -0
  95. package/dist/agents/architect.d.ts.map +1 -0
  96. package/dist/agents/architect.js +189 -0
  97. package/dist/agents/architect.js.map +1 -0
  98. package/dist/agents/coordinator.d.ts +11 -0
  99. package/dist/agents/coordinator.d.ts.map +1 -0
  100. package/dist/agents/coordinator.js +115 -0
  101. package/dist/agents/coordinator.js.map +1 -0
  102. package/dist/agents/critic.d.ts +11 -0
  103. package/dist/agents/critic.d.ts.map +1 -0
  104. package/dist/agents/critic.js +127 -0
  105. package/dist/agents/critic.js.map +1 -0
  106. package/dist/agents/definitions.d.ts +33 -70
  107. package/dist/agents/definitions.d.ts.map +1 -1
  108. package/dist/agents/definitions.js +140 -1268
  109. package/dist/agents/definitions.js.map +1 -1
  110. package/dist/agents/designer.d.ts +11 -0
  111. package/dist/agents/designer.d.ts.map +1 -0
  112. package/dist/agents/designer.js +115 -0
  113. package/dist/agents/designer.js.map +1 -0
  114. package/dist/agents/executor.d.ts +12 -0
  115. package/dist/agents/executor.d.ts.map +1 -0
  116. package/dist/agents/executor.js +93 -0
  117. package/dist/agents/executor.js.map +1 -0
  118. package/dist/agents/explore.js +4 -4
  119. package/dist/agents/explore.js.map +1 -1
  120. package/dist/agents/index.d.ts +12 -11
  121. package/dist/agents/index.d.ts.map +1 -1
  122. package/dist/agents/index.js +15 -16
  123. package/dist/agents/index.js.map +1 -1
  124. package/dist/agents/planner.d.ts +11 -0
  125. package/dist/agents/planner.d.ts.map +1 -0
  126. package/dist/agents/planner.js +194 -0
  127. package/dist/agents/planner.js.map +1 -0
  128. package/dist/agents/qa-tester.js +16 -16
  129. package/dist/agents/qa-tester.js.map +1 -1
  130. package/dist/agents/researcher.d.ts +12 -0
  131. package/dist/agents/researcher.d.ts.map +1 -0
  132. package/dist/agents/researcher.js +103 -0
  133. package/dist/agents/researcher.js.map +1 -0
  134. package/dist/agents/vision.d.ts +11 -0
  135. package/dist/agents/vision.d.ts.map +1 -0
  136. package/dist/agents/vision.js +70 -0
  137. package/dist/agents/vision.js.map +1 -0
  138. package/dist/agents/writer.d.ts +11 -0
  139. package/dist/agents/writer.d.ts.map +1 -0
  140. package/dist/agents/writer.js +209 -0
  141. package/dist/agents/writer.js.map +1 -0
  142. package/dist/cli/index.js +32 -32
  143. package/dist/cli/index.js.map +1 -1
  144. package/dist/commands/index.d.ts +4 -4
  145. package/dist/commands/index.js +4 -4
  146. package/dist/config/loader.js +25 -25
  147. package/dist/config/loader.js.map +1 -1
  148. package/dist/features/auto-update.d.ts +5 -5
  149. package/dist/features/auto-update.d.ts.map +1 -1
  150. package/dist/features/auto-update.js +17 -17
  151. package/dist/features/auto-update.js.map +1 -1
  152. package/dist/features/background-agent/manager.js +1 -1
  153. package/dist/features/background-agent/manager.js.map +1 -1
  154. package/dist/features/boulder-state/constants.d.ts +5 -5
  155. package/dist/features/boulder-state/constants.d.ts.map +1 -1
  156. package/dist/features/boulder-state/constants.js +3 -3
  157. package/dist/features/boulder-state/constants.js.map +1 -1
  158. package/dist/features/boulder-state/index.d.ts +2 -2
  159. package/dist/features/boulder-state/index.d.ts.map +1 -1
  160. package/dist/features/boulder-state/index.js +2 -2
  161. package/dist/features/boulder-state/index.js.map +1 -1
  162. package/dist/features/boulder-state/storage.d.ts +3 -3
  163. package/dist/features/boulder-state/storage.d.ts.map +1 -1
  164. package/dist/features/boulder-state/storage.js +6 -6
  165. package/dist/features/boulder-state/storage.js.map +1 -1
  166. package/dist/features/builtin-skills/skills.d.ts +15 -1
  167. package/dist/features/builtin-skills/skills.d.ts.map +1 -1
  168. package/dist/features/builtin-skills/skills.js +100 -1110
  169. package/dist/features/builtin-skills/skills.js.map +1 -1
  170. package/dist/features/context-injector/types.d.ts +1 -1
  171. package/dist/features/context-injector/types.d.ts.map +1 -1
  172. package/dist/features/index.d.ts +1 -1
  173. package/dist/features/index.d.ts.map +1 -1
  174. package/dist/features/index.js +2 -2
  175. package/dist/features/index.js.map +1 -1
  176. package/dist/features/magic-keywords.js +14 -14
  177. package/dist/features/magic-keywords.js.map +1 -1
  178. package/dist/features/model-routing/prompts/opus.d.ts +1 -1
  179. package/dist/features/model-routing/prompts/opus.d.ts.map +1 -1
  180. package/dist/features/model-routing/prompts/opus.js +1 -1
  181. package/dist/features/model-routing/router.d.ts +1 -1
  182. package/dist/features/model-routing/router.js +14 -14
  183. package/dist/features/model-routing/router.js.map +1 -1
  184. package/dist/features/model-routing/rules.js +31 -31
  185. package/dist/features/model-routing/rules.js.map +1 -1
  186. package/dist/features/model-routing/types.js +1 -1
  187. package/dist/features/model-routing/types.js.map +1 -1
  188. package/dist/hooks/agent-usage-reminder/constants.d.ts +2 -2
  189. package/dist/hooks/agent-usage-reminder/constants.d.ts.map +1 -1
  190. package/dist/hooks/agent-usage-reminder/constants.js +5 -5
  191. package/dist/hooks/agent-usage-reminder/constants.js.map +1 -1
  192. package/dist/hooks/auto-slash-command/constants.d.ts +1 -1
  193. package/dist/hooks/auto-slash-command/constants.d.ts.map +1 -1
  194. package/dist/hooks/auto-slash-command/constants.js +9 -2
  195. package/dist/hooks/auto-slash-command/constants.js.map +1 -1
  196. package/dist/hooks/bridge.d.ts +2 -2
  197. package/dist/hooks/bridge.d.ts.map +1 -1
  198. package/dist/hooks/bridge.js +50 -18
  199. package/dist/hooks/bridge.js.map +1 -1
  200. package/dist/hooks/directory-readme-injector/constants.d.ts +1 -1
  201. package/dist/hooks/directory-readme-injector/constants.d.ts.map +1 -1
  202. package/dist/hooks/directory-readme-injector/constants.js +2 -2
  203. package/dist/hooks/directory-readme-injector/constants.js.map +1 -1
  204. package/dist/hooks/index.d.ts +3 -2
  205. package/dist/hooks/index.d.ts.map +1 -1
  206. package/dist/hooks/index.js +9 -4
  207. package/dist/hooks/index.js.map +1 -1
  208. package/dist/hooks/learned-skills/config.d.ts +53 -0
  209. package/dist/hooks/learned-skills/config.d.ts.map +1 -0
  210. package/dist/hooks/learned-skills/config.js +103 -0
  211. package/dist/hooks/learned-skills/config.js.map +1 -0
  212. package/dist/hooks/learned-skills/constants.d.ts +24 -0
  213. package/dist/hooks/learned-skills/constants.d.ts.map +1 -0
  214. package/dist/hooks/learned-skills/constants.js +26 -0
  215. package/dist/hooks/learned-skills/constants.js.map +1 -0
  216. package/dist/hooks/learned-skills/detection-hook.d.ts +39 -0
  217. package/dist/hooks/learned-skills/detection-hook.d.ts.map +1 -0
  218. package/dist/hooks/learned-skills/detection-hook.js +83 -0
  219. package/dist/hooks/learned-skills/detection-hook.js.map +1 -0
  220. package/dist/hooks/learned-skills/detector.d.ts +30 -0
  221. package/dist/hooks/learned-skills/detector.d.ts.map +1 -0
  222. package/dist/hooks/learned-skills/detector.js +150 -0
  223. package/dist/hooks/learned-skills/detector.js.map +1 -0
  224. package/dist/hooks/learned-skills/finder.d.ts +21 -0
  225. package/dist/hooks/learned-skills/finder.d.ts.map +1 -0
  226. package/dist/hooks/learned-skills/finder.js +117 -0
  227. package/dist/hooks/learned-skills/finder.js.map +1 -0
  228. package/dist/hooks/learned-skills/index.d.ts +62 -0
  229. package/dist/hooks/learned-skills/index.d.ts.map +1 -0
  230. package/dist/hooks/learned-skills/index.js +137 -0
  231. package/dist/hooks/learned-skills/index.js.map +1 -0
  232. package/dist/hooks/learned-skills/loader.d.ts +20 -0
  233. package/dist/hooks/learned-skills/loader.d.ts.map +1 -0
  234. package/dist/hooks/learned-skills/loader.js +107 -0
  235. package/dist/hooks/learned-skills/loader.js.map +1 -0
  236. package/dist/hooks/learned-skills/parser.d.ts +21 -0
  237. package/dist/hooks/learned-skills/parser.d.ts.map +1 -0
  238. package/dist/hooks/learned-skills/parser.js +190 -0
  239. package/dist/hooks/learned-skills/parser.js.map +1 -0
  240. package/dist/hooks/learned-skills/promotion.d.ts +29 -0
  241. package/dist/hooks/learned-skills/promotion.d.ts.map +1 -0
  242. package/dist/hooks/learned-skills/promotion.js +87 -0
  243. package/dist/hooks/learned-skills/promotion.js.map +1 -0
  244. package/dist/hooks/learned-skills/types.d.ts +109 -0
  245. package/dist/hooks/learned-skills/types.d.ts.map +1 -0
  246. package/dist/hooks/learned-skills/types.js +8 -0
  247. package/dist/hooks/learned-skills/types.js.map +1 -0
  248. package/dist/hooks/learned-skills/validator.d.ts +15 -0
  249. package/dist/hooks/learned-skills/validator.d.ts.map +1 -0
  250. package/dist/hooks/learned-skills/validator.js +87 -0
  251. package/dist/hooks/learned-skills/validator.js.map +1 -0
  252. package/dist/hooks/learned-skills/writer.d.ts +27 -0
  253. package/dist/hooks/learned-skills/writer.d.ts.map +1 -0
  254. package/dist/hooks/learned-skills/writer.js +126 -0
  255. package/dist/hooks/learned-skills/writer.js.map +1 -0
  256. package/dist/hooks/learner/config.d.ts +53 -0
  257. package/dist/hooks/learner/config.d.ts.map +1 -0
  258. package/dist/hooks/learner/config.js +103 -0
  259. package/dist/hooks/learner/config.js.map +1 -0
  260. package/dist/hooks/learner/constants.d.ts +24 -0
  261. package/dist/hooks/learner/constants.d.ts.map +1 -0
  262. package/dist/hooks/learner/constants.js +26 -0
  263. package/dist/hooks/learner/constants.js.map +1 -0
  264. package/dist/hooks/learner/detection-hook.d.ts +39 -0
  265. package/dist/hooks/learner/detection-hook.d.ts.map +1 -0
  266. package/dist/hooks/learner/detection-hook.js +83 -0
  267. package/dist/hooks/learner/detection-hook.js.map +1 -0
  268. package/dist/hooks/learner/detector.d.ts +30 -0
  269. package/dist/hooks/learner/detector.d.ts.map +1 -0
  270. package/dist/hooks/learner/detector.js +150 -0
  271. package/dist/hooks/learner/detector.js.map +1 -0
  272. package/dist/hooks/learner/finder.d.ts +21 -0
  273. package/dist/hooks/learner/finder.d.ts.map +1 -0
  274. package/dist/hooks/learner/finder.js +117 -0
  275. package/dist/hooks/learner/finder.js.map +1 -0
  276. package/dist/hooks/learner/index.d.ts +62 -0
  277. package/dist/hooks/learner/index.d.ts.map +1 -0
  278. package/dist/hooks/learner/index.js +137 -0
  279. package/dist/hooks/learner/index.js.map +1 -0
  280. package/dist/hooks/learner/loader.d.ts +20 -0
  281. package/dist/hooks/learner/loader.d.ts.map +1 -0
  282. package/dist/hooks/learner/loader.js +113 -0
  283. package/dist/hooks/learner/loader.js.map +1 -0
  284. package/dist/hooks/learner/parser.d.ts +21 -0
  285. package/dist/hooks/learner/parser.d.ts.map +1 -0
  286. package/dist/hooks/learner/parser.js +190 -0
  287. package/dist/hooks/learner/parser.js.map +1 -0
  288. package/dist/hooks/learner/promotion.d.ts +29 -0
  289. package/dist/hooks/learner/promotion.d.ts.map +1 -0
  290. package/dist/hooks/learner/promotion.js +87 -0
  291. package/dist/hooks/learner/promotion.js.map +1 -0
  292. package/dist/hooks/learner/types.d.ts +109 -0
  293. package/dist/hooks/learner/types.d.ts.map +1 -0
  294. package/dist/hooks/learner/types.js +8 -0
  295. package/dist/hooks/learner/types.js.map +1 -0
  296. package/dist/hooks/learner/validator.d.ts +15 -0
  297. package/dist/hooks/learner/validator.d.ts.map +1 -0
  298. package/dist/hooks/learner/validator.js +87 -0
  299. package/dist/hooks/learner/validator.js.map +1 -0
  300. package/dist/hooks/learner/writer.d.ts +27 -0
  301. package/dist/hooks/learner/writer.d.ts.map +1 -0
  302. package/dist/hooks/learner/writer.js +126 -0
  303. package/dist/hooks/learner/writer.js.map +1 -0
  304. package/dist/hooks/mnemosyne/config.d.ts +53 -0
  305. package/dist/hooks/mnemosyne/config.d.ts.map +1 -0
  306. package/dist/hooks/mnemosyne/config.js +103 -0
  307. package/dist/hooks/mnemosyne/config.js.map +1 -0
  308. package/dist/hooks/mnemosyne/constants.d.ts +24 -0
  309. package/dist/hooks/mnemosyne/constants.d.ts.map +1 -0
  310. package/dist/hooks/mnemosyne/constants.js +26 -0
  311. package/dist/hooks/mnemosyne/constants.js.map +1 -0
  312. package/dist/hooks/mnemosyne/detection-hook.d.ts +39 -0
  313. package/dist/hooks/mnemosyne/detection-hook.d.ts.map +1 -0
  314. package/dist/hooks/mnemosyne/detection-hook.js +83 -0
  315. package/dist/hooks/mnemosyne/detection-hook.js.map +1 -0
  316. package/dist/hooks/mnemosyne/detector.d.ts +30 -0
  317. package/dist/hooks/mnemosyne/detector.d.ts.map +1 -0
  318. package/dist/hooks/mnemosyne/detector.js +150 -0
  319. package/dist/hooks/mnemosyne/detector.js.map +1 -0
  320. package/dist/hooks/mnemosyne/finder.d.ts +21 -0
  321. package/dist/hooks/mnemosyne/finder.d.ts.map +1 -0
  322. package/dist/hooks/mnemosyne/finder.js +117 -0
  323. package/dist/hooks/mnemosyne/finder.js.map +1 -0
  324. package/dist/hooks/mnemosyne/index.d.ts +62 -0
  325. package/dist/hooks/mnemosyne/index.d.ts.map +1 -0
  326. package/dist/hooks/mnemosyne/index.js +137 -0
  327. package/dist/hooks/mnemosyne/index.js.map +1 -0
  328. package/dist/hooks/mnemosyne/loader.d.ts +20 -0
  329. package/dist/hooks/mnemosyne/loader.d.ts.map +1 -0
  330. package/dist/hooks/mnemosyne/loader.js +113 -0
  331. package/dist/hooks/mnemosyne/loader.js.map +1 -0
  332. package/dist/hooks/mnemosyne/parser.d.ts +21 -0
  333. package/dist/hooks/mnemosyne/parser.d.ts.map +1 -0
  334. package/dist/hooks/mnemosyne/parser.js +190 -0
  335. package/dist/hooks/mnemosyne/parser.js.map +1 -0
  336. package/dist/hooks/mnemosyne/promotion.d.ts +29 -0
  337. package/dist/hooks/mnemosyne/promotion.d.ts.map +1 -0
  338. package/dist/hooks/mnemosyne/promotion.js +87 -0
  339. package/dist/hooks/mnemosyne/promotion.js.map +1 -0
  340. package/dist/hooks/mnemosyne/types.d.ts +109 -0
  341. package/dist/hooks/mnemosyne/types.d.ts.map +1 -0
  342. package/dist/hooks/mnemosyne/types.js +8 -0
  343. package/dist/hooks/mnemosyne/types.js.map +1 -0
  344. package/dist/hooks/mnemosyne/validator.d.ts +15 -0
  345. package/dist/hooks/mnemosyne/validator.d.ts.map +1 -0
  346. package/dist/hooks/mnemosyne/validator.js +87 -0
  347. package/dist/hooks/mnemosyne/validator.js.map +1 -0
  348. package/dist/hooks/mnemosyne/writer.d.ts +27 -0
  349. package/dist/hooks/mnemosyne/writer.d.ts.map +1 -0
  350. package/dist/hooks/mnemosyne/writer.js +126 -0
  351. package/dist/hooks/mnemosyne/writer.js.map +1 -0
  352. package/dist/hooks/notepad/index.d.ts +2 -2
  353. package/dist/hooks/notepad/index.js +7 -7
  354. package/dist/hooks/notepad/index.js.map +1 -1
  355. package/dist/hooks/omc-orchestrator/constants.d.ts +23 -0
  356. package/dist/hooks/omc-orchestrator/constants.d.ts.map +1 -0
  357. package/dist/hooks/omc-orchestrator/constants.js +142 -0
  358. package/dist/hooks/omc-orchestrator/constants.js.map +1 -0
  359. package/dist/hooks/omc-orchestrator/index.d.ts +113 -0
  360. package/dist/hooks/omc-orchestrator/index.d.ts.map +1 -0
  361. package/dist/hooks/omc-orchestrator/index.js +309 -0
  362. package/dist/hooks/omc-orchestrator/index.js.map +1 -0
  363. package/dist/hooks/persistent-mode/index.d.ts +4 -4
  364. package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
  365. package/dist/hooks/persistent-mode/index.js +37 -37
  366. package/dist/hooks/persistent-mode/index.js.map +1 -1
  367. package/dist/hooks/ralph-loop/index.d.ts +33 -5
  368. package/dist/hooks/ralph-loop/index.d.ts.map +1 -1
  369. package/dist/hooks/ralph-loop/index.js +91 -17
  370. package/dist/hooks/ralph-loop/index.js.map +1 -1
  371. package/dist/hooks/ralph-prd/index.d.ts +4 -4
  372. package/dist/hooks/ralph-prd/index.d.ts.map +1 -1
  373. package/dist/hooks/ralph-prd/index.js +13 -13
  374. package/dist/hooks/ralph-prd/index.js.map +1 -1
  375. package/dist/hooks/ralph-progress/index.d.ts +5 -5
  376. package/dist/hooks/ralph-progress/index.d.ts.map +1 -1
  377. package/dist/hooks/ralph-progress/index.js +14 -14
  378. package/dist/hooks/ralph-progress/index.js.map +1 -1
  379. package/dist/hooks/ralph-verifier/index.d.ts +23 -23
  380. package/dist/hooks/ralph-verifier/index.d.ts.map +1 -1
  381. package/dist/hooks/ralph-verifier/index.js +41 -41
  382. package/dist/hooks/ralph-verifier/index.js.map +1 -1
  383. package/dist/hooks/rules-injector/constants.d.ts +1 -1
  384. package/dist/hooks/rules-injector/constants.d.ts.map +1 -1
  385. package/dist/hooks/rules-injector/constants.js +2 -2
  386. package/dist/hooks/rules-injector/constants.js.map +1 -1
  387. package/dist/hooks/todo-continuation/index.js +1 -1
  388. package/dist/hooks/todo-continuation/index.js.map +1 -1
  389. package/dist/hooks/ultraqa-loop/index.d.ts +1 -1
  390. package/dist/hooks/ultraqa-loop/index.js +8 -8
  391. package/dist/hooks/ultraqa-loop/index.js.map +1 -1
  392. package/dist/hooks/ultrawork-state/index.js +7 -7
  393. package/dist/hooks/ultrawork-state/index.js.map +1 -1
  394. package/dist/hud/background-tasks.d.ts +26 -0
  395. package/dist/hud/background-tasks.d.ts.map +1 -0
  396. package/dist/hud/background-tasks.js +116 -0
  397. package/dist/hud/background-tasks.js.map +1 -0
  398. package/dist/hud/colors.d.ts +54 -0
  399. package/dist/hud/colors.d.ts.map +1 -0
  400. package/dist/hud/colors.js +156 -0
  401. package/dist/hud/colors.js.map +1 -0
  402. package/dist/hud/elements/agents.d.ts +73 -0
  403. package/dist/hud/elements/agents.d.ts.map +1 -0
  404. package/dist/hud/elements/agents.js +405 -0
  405. package/dist/hud/elements/agents.js.map +1 -0
  406. package/dist/hud/elements/background.d.ts +20 -0
  407. package/dist/hud/elements/background.d.ts.map +1 -0
  408. package/dist/hud/elements/background.js +70 -0
  409. package/dist/hud/elements/background.js.map +1 -0
  410. package/dist/hud/elements/context.d.ts +19 -0
  411. package/dist/hud/elements/context.d.ts.map +1 -0
  412. package/dist/hud/elements/context.js +58 -0
  413. package/dist/hud/elements/context.js.map +1 -0
  414. package/dist/hud/elements/index.d.ts +17 -0
  415. package/dist/hud/elements/index.d.ts.map +1 -0
  416. package/dist/hud/elements/index.js +17 -0
  417. package/dist/hud/elements/index.js.map +1 -0
  418. package/dist/hud/elements/limits.d.ts +19 -0
  419. package/dist/hud/elements/limits.d.ts.map +1 -0
  420. package/dist/hud/elements/limits.js +54 -0
  421. package/dist/hud/elements/limits.js.map +1 -0
  422. package/dist/hud/elements/permission.d.ts +13 -0
  423. package/dist/hud/elements/permission.d.ts.map +1 -0
  424. package/dist/hud/elements/permission.js +20 -0
  425. package/dist/hud/elements/permission.js.map +1 -0
  426. package/dist/hud/elements/prd.d.ts +20 -0
  427. package/dist/hud/elements/prd.d.ts.map +1 -0
  428. package/dist/hud/elements/prd.js +52 -0
  429. package/dist/hud/elements/prd.js.map +1 -0
  430. package/dist/hud/elements/ralph.d.ts +14 -0
  431. package/dist/hud/elements/ralph.d.ts.map +1 -0
  432. package/dist/hud/elements/ralph.js +36 -0
  433. package/dist/hud/elements/ralph.js.map +1 -0
  434. package/dist/hud/elements/session.d.ts +13 -0
  435. package/dist/hud/elements/session.d.ts.map +1 -0
  436. package/dist/hud/elements/session.js +24 -0
  437. package/dist/hud/elements/session.js.map +1 -0
  438. package/dist/hud/elements/skills.d.ts +24 -0
  439. package/dist/hud/elements/skills.d.ts.map +1 -0
  440. package/dist/hud/elements/skills.js +81 -0
  441. package/dist/hud/elements/skills.js.map +1 -0
  442. package/dist/hud/elements/thinking.d.ts +13 -0
  443. package/dist/hud/elements/thinking.d.ts.map +1 -0
  444. package/dist/hud/elements/thinking.js +19 -0
  445. package/dist/hud/elements/thinking.js.map +1 -0
  446. package/dist/hud/elements/todos.d.ts +20 -0
  447. package/dist/hud/elements/todos.d.ts.map +1 -0
  448. package/dist/hud/elements/todos.js +70 -0
  449. package/dist/hud/elements/todos.js.map +1 -0
  450. package/dist/hud/index.d.ts +9 -0
  451. package/dist/hud/index.d.ts.map +1 -0
  452. package/dist/hud/index.js +89 -0
  453. package/dist/hud/index.js.map +1 -0
  454. package/dist/hud/omc-state.d.ts +31 -0
  455. package/dist/hud/omc-state.d.ts.map +1 -0
  456. package/dist/hud/omc-state.js +163 -0
  457. package/dist/hud/omc-state.js.map +1 -0
  458. package/dist/hud/render.d.ts +11 -0
  459. package/dist/hud/render.d.ts.map +1 -0
  460. package/dist/hud/render.js +121 -0
  461. package/dist/hud/render.js.map +1 -0
  462. package/dist/hud/sisyphus-state.d.ts +31 -0
  463. package/dist/hud/sisyphus-state.d.ts.map +1 -0
  464. package/dist/hud/sisyphus-state.js +163 -0
  465. package/dist/hud/sisyphus-state.js.map +1 -0
  466. package/dist/hud/state.d.ts +43 -0
  467. package/dist/hud/state.d.ts.map +1 -0
  468. package/dist/hud/state.js +201 -0
  469. package/dist/hud/state.js.map +1 -0
  470. package/dist/hud/stdin.d.ts +22 -0
  471. package/dist/hud/stdin.d.ts.map +1 -0
  472. package/dist/hud/stdin.js +65 -0
  473. package/dist/hud/stdin.js.map +1 -0
  474. package/dist/hud/transcript.d.ts +32 -0
  475. package/dist/hud/transcript.d.ts.map +1 -0
  476. package/dist/hud/transcript.js +364 -0
  477. package/dist/hud/transcript.js.map +1 -0
  478. package/dist/hud/types.d.ts +178 -0
  479. package/dist/hud/types.d.ts.map +1 -0
  480. package/dist/hud/types.js +119 -0
  481. package/dist/hud/types.js.map +1 -0
  482. package/dist/hud/usage-api.d.ts +24 -0
  483. package/dist/hud/usage-api.d.ts.map +1 -0
  484. package/dist/hud/usage-api.js +234 -0
  485. package/dist/hud/usage-api.js.map +1 -0
  486. package/dist/index.d.ts +7 -7
  487. package/dist/index.d.ts.map +1 -1
  488. package/dist/index.js +10 -12
  489. package/dist/index.js.map +1 -1
  490. package/dist/installer/hooks.d.ts +36 -64
  491. package/dist/installer/hooks.d.ts.map +1 -1
  492. package/dist/installer/hooks.js +91 -1298
  493. package/dist/installer/hooks.js.map +1 -1
  494. package/dist/installer/index.d.ts +23 -22
  495. package/dist/installer/index.d.ts.map +1 -1
  496. package/dist/installer/index.js +307 -2575
  497. package/dist/installer/index.js.map +1 -1
  498. package/dist/shared/types.d.ts +6 -6
  499. package/dist/shared/types.d.ts.map +1 -1
  500. package/docs/ARCHITECTURE.md +386 -0
  501. package/docs/CLAUDE.md +281 -0
  502. package/docs/FULL-README.md +822 -0
  503. package/docs/LOCAL_PLUGIN_INSTALL.md +94 -0
  504. package/docs/MIGRATION-v3.md +186 -0
  505. package/docs/MIGRATION.md +460 -0
  506. package/docs/TIERED_AGENTS_V2.md +322 -0
  507. package/hooks/hooks.json +70 -0
  508. package/hooks/keyword-detector.sh +102 -0
  509. package/hooks/persistent-mode.sh +172 -0
  510. package/hooks/session-start.sh +62 -0
  511. package/hooks/stop-continuation.sh +40 -0
  512. package/package.json +14 -8
  513. package/scripts/install.sh +90 -72
  514. package/scripts/keyword-detector.mjs +1 -1
  515. package/scripts/persistent-mode.mjs +39 -20
  516. package/scripts/persistent-mode.sh +21 -10
  517. package/scripts/plugin-setup.mjs +109 -0
  518. package/scripts/pre-tool-enforcer.mjs +1 -1
  519. package/scripts/pre-tool-enforcer.sh +1 -1
  520. package/scripts/session-start.mjs +38 -3
  521. package/scripts/skill-injector.mjs +231 -0
  522. package/scripts/uninstall.sh +8 -8
  523. package/skills/analyze/SKILL.md +47 -0
  524. package/skills/cancel-ralph/SKILL.md +43 -0
  525. package/skills/cancel-ultraqa/SKILL.md +29 -0
  526. package/skills/cancel-ultrawork/SKILL.md +42 -0
  527. package/skills/deepinit/SKILL.md +321 -0
  528. package/skills/deepsearch/SKILL.md +39 -0
  529. package/skills/doctor/SKILL.md +192 -0
  530. package/skills/frontend-ui-ux/SKILL.md +53 -0
  531. package/skills/git-master/SKILL.md +58 -0
  532. package/skills/help/SKILL.md +66 -0
  533. package/skills/hud/SKILL.md +142 -0
  534. package/skills/learner/SKILL.md +136 -0
  535. package/skills/note/SKILL.md +63 -0
  536. package/skills/omc-default/SKILL.md +78 -0
  537. package/skills/omc-default-global/SKILL.md +75 -0
  538. package/skills/omc-setup/SKILL.md +144 -0
  539. package/skills/orchestrate/SKILL.md +409 -0
  540. package/skills/plan/SKILL.md +37 -0
  541. package/skills/planner/SKILL.md +43 -0
  542. package/skills/ralph/SKILL.md +101 -0
  543. package/skills/ralph-init/SKILL.md +61 -0
  544. package/skills/ralplan/SKILL.md +219 -0
  545. package/skills/release/SKILL.md +84 -0
  546. package/skills/review/SKILL.md +37 -0
  547. package/skills/ultraqa/SKILL.md +123 -0
  548. package/skills/ultrawork/SKILL.md +89 -0
@@ -0,0 +1,115 @@
1
+ /**
2
+ * Analyst Agent
3
+ *
4
+ * Pre-planning consultant for identifying hidden requirements.
5
+ *
6
+ * Ported from oh-my-opencode's agent definitions.
7
+ */
8
+ export const ANALYST_PROMPT_METADATA = {
9
+ category: 'planner',
10
+ cost: 'EXPENSIVE',
11
+ promptAlias: 'analyst',
12
+ triggers: [
13
+ {
14
+ domain: 'Pre-Planning',
15
+ trigger: 'Hidden requirements, edge cases, risk analysis',
16
+ },
17
+ ],
18
+ useWhen: [
19
+ 'Before creating a work plan',
20
+ 'When requirements seem incomplete',
21
+ 'To identify hidden assumptions',
22
+ 'Risk analysis before implementation',
23
+ 'Scope validation',
24
+ ],
25
+ avoidWhen: [
26
+ 'Simple, well-defined tasks',
27
+ 'During implementation phase',
28
+ 'When plan already reviewed',
29
+ ],
30
+ };
31
+ export const analystAgent = {
32
+ name: 'analyst',
33
+ description: `Pre-planning consultant that analyzes requests before implementation to identify hidden requirements, edge cases, and potential risks. Use before creating a work plan.`,
34
+ prompt: `<Role>
35
+ Analyst - Pre-Planning Consultant
36
+
37
+ **IDENTITY**: You analyze requests BEFORE they become plans, catching what others miss.
38
+ </Role>
39
+
40
+ <Mission>
41
+ Examine planning sessions and identify:
42
+ 1. Questions that should have been asked but weren't
43
+ 2. Guardrails that need explicit definition
44
+ 3. Scope creep areas to lock down
45
+ 4. Assumptions that need validation
46
+ 5. Missing acceptance criteria
47
+ 6. Edge cases not addressed
48
+ </Mission>
49
+
50
+ <Analysis_Framework>
51
+ ## What You Examine
52
+
53
+ | Category | What to Check |
54
+ |----------|---------------|
55
+ | **Requirements** | Are they complete? Testable? Unambiguous? |
56
+ | **Assumptions** | What's being assumed without validation? |
57
+ | **Scope** | What's included? What's explicitly excluded? |
58
+ | **Dependencies** | What must exist before work starts? |
59
+ | **Risks** | What could go wrong? How to mitigate? |
60
+ | **Success Criteria** | How do we know when it's done? |
61
+ | **Edge Cases** | What about unusual inputs/states? |
62
+
63
+ ## Question Categories
64
+
65
+ ### Functional Questions
66
+ - What exactly should happen when X?
67
+ - What if the input is Y instead of X?
68
+ - Who is the user for this feature?
69
+
70
+ ### Technical Questions
71
+ - What patterns should be followed?
72
+ - What's the error handling strategy?
73
+ - What are the performance requirements?
74
+
75
+ ### Scope Questions
76
+ - What's NOT included in this work?
77
+ - What should be deferred to later?
78
+ - What's the minimum viable version?
79
+ </Analysis_Framework>
80
+
81
+ <Output_Format>
82
+ ## MANDATORY RESPONSE STRUCTURE
83
+
84
+ \`\`\`
85
+ ## Analyst Analysis: [Topic]
86
+
87
+ ### Missing Questions
88
+ 1. [Question that wasn't asked] - [Why it matters]
89
+ 2. [Question that wasn't asked] - [Why it matters]
90
+
91
+ ### Undefined Guardrails
92
+ 1. [What needs explicit bounds] - [Suggested definition]
93
+ 2. [What needs explicit bounds] - [Suggested definition]
94
+
95
+ ### Scope Risks
96
+ 1. [Area prone to scope creep] - [How to prevent]
97
+
98
+ ### Unvalidated Assumptions
99
+ 1. [Assumption being made] - [How to validate]
100
+
101
+ ### Missing Acceptance Criteria
102
+ 1. [What success looks like] - [Measurable criterion]
103
+
104
+ ### Edge Cases
105
+ 1. [Unusual scenario] - [How to handle]
106
+
107
+ ### Recommendations
108
+ - [Prioritized list of things to clarify before planning]
109
+ \`\`\`
110
+ </Output_Format>`,
111
+ tools: ['Read', 'Grep', 'Glob', 'WebSearch'],
112
+ model: 'opus',
113
+ metadata: ANALYST_PROMPT_METADATA,
114
+ };
115
+ //# sourceMappingURL=analyst.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"analyst.js","sourceRoot":"","sources":["../../src/agents/analyst.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,uBAAuB,GAAwB;IAC1D,QAAQ,EAAE,SAAS;IACnB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,SAAS;IACtB,QAAQ,EAAE;QACR;YACE,MAAM,EAAE,cAAc;YACtB,OAAO,EAAE,gDAAgD;SAC1D;KACF;IACD,OAAO,EAAE;QACP,6BAA6B;QAC7B,mCAAmC;QACnC,gCAAgC;QAChC,qCAAqC;QACrC,kBAAkB;KACnB;IACD,SAAS,EAAE;QACT,4BAA4B;QAC5B,6BAA6B;QAC7B,4BAA4B;KAC7B;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAgB;IACvC,IAAI,EAAE,SAAS;IACf,WAAW,EAAE,yKAAyK;IACtL,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA4EO;IACf,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC;IAC5C,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,uBAAuB;CAClC,CAAC"}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Architect Agent - Architecture and Debugging Expert
3
+ *
4
+ * READ-ONLY consultation agent for strategic architecture decisions
5
+ * and complex debugging.
6
+ *
7
+ * Ported from oh-my-opencode's architect agent.
8
+ */
9
+ import type { AgentConfig, AgentPromptMetadata } from './types.js';
10
+ export declare const ARCHITECT_PROMPT_METADATA: AgentPromptMetadata;
11
+ export declare const architectAgent: AgentConfig;
12
+ //# sourceMappingURL=architect.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"architect.d.ts","sourceRoot":"","sources":["../../src/agents/architect.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEnE,eAAO,MAAM,yBAAyB,EAAE,mBAwBvC,CAAC;AAsJF,eAAO,MAAM,cAAc,EAAE,WAO5B,CAAC"}
@@ -0,0 +1,189 @@
1
+ /**
2
+ * Architect Agent - Architecture and Debugging Expert
3
+ *
4
+ * READ-ONLY consultation agent for strategic architecture decisions
5
+ * and complex debugging.
6
+ *
7
+ * Ported from oh-my-opencode's architect agent.
8
+ */
9
+ export const ARCHITECT_PROMPT_METADATA = {
10
+ category: 'advisor',
11
+ cost: 'EXPENSIVE',
12
+ promptAlias: 'architect',
13
+ triggers: [
14
+ { domain: 'Architecture decisions', trigger: 'Multi-system tradeoffs, unfamiliar patterns' },
15
+ { domain: 'Self-review', trigger: 'After completing significant implementation' },
16
+ { domain: 'Hard debugging', trigger: 'After 2+ failed fix attempts' },
17
+ ],
18
+ useWhen: [
19
+ 'Complex architecture design',
20
+ 'After completing significant work',
21
+ '2+ failed fix attempts',
22
+ 'Unfamiliar code patterns',
23
+ 'Security/performance concerns',
24
+ 'Multi-system tradeoffs',
25
+ ],
26
+ avoidWhen: [
27
+ 'Simple file operations (use direct tools)',
28
+ 'First attempt at any fix (try yourself first)',
29
+ 'Questions answerable from code you\'ve read',
30
+ 'Trivial decisions (variable names, formatting)',
31
+ 'Things you can infer from existing code patterns',
32
+ ],
33
+ };
34
+ const ARCHITECT_PROMPT = `<Role>
35
+ Architect - Strategic Architecture & Debugging Advisor
36
+
37
+ **IDENTITY**: Consulting architect. You analyze, advise, recommend. You do NOT implement.
38
+ **OUTPUT**: Analysis, diagnoses, architectural guidance. NOT code changes.
39
+ </Role>
40
+
41
+ <Critical_Constraints>
42
+ YOU ARE A CONSULTANT. YOU DO NOT IMPLEMENT.
43
+
44
+ FORBIDDEN ACTIONS (will be blocked):
45
+ - Write tool: BLOCKED
46
+ - Edit tool: BLOCKED
47
+ - Any file modification: BLOCKED
48
+ - Running implementation commands: BLOCKED
49
+
50
+ YOU CAN ONLY:
51
+ - Read files for analysis
52
+ - Search codebase for patterns
53
+ - Provide analysis and recommendations
54
+ - Diagnose issues and explain root causes
55
+ </Critical_Constraints>
56
+
57
+ <Operational_Phases>
58
+ ## Phase 1: Context Gathering (MANDATORY)
59
+ Before any analysis, gather context via parallel tool calls:
60
+
61
+ 1. **Codebase Structure**: Use Glob to understand project layout
62
+ 2. **Related Code**: Use Grep/Read to find relevant implementations
63
+ 3. **Dependencies**: Check package.json, imports, etc.
64
+ 4. **Test Coverage**: Find existing tests for the area
65
+
66
+ **PARALLEL EXECUTION**: Make multiple tool calls in single message for speed.
67
+
68
+ ## Phase 2: Deep Analysis
69
+ After context, perform systematic analysis:
70
+
71
+ | Analysis Type | Focus |
72
+ |--------------|-------|
73
+ | Architecture | Patterns, coupling, cohesion, boundaries |
74
+ | Debugging | Root cause, not symptoms. Trace data flow. |
75
+ | Performance | Bottlenecks, complexity, resource usage |
76
+ | Security | Input validation, auth, data exposure |
77
+
78
+ ## Phase 3: Recommendation Synthesis
79
+ Structure your output:
80
+
81
+ 1. **Summary**: 2-3 sentence overview
82
+ 2. **Diagnosis**: What's actually happening and why
83
+ 3. **Root Cause**: The fundamental issue (not symptoms)
84
+ 4. **Recommendations**: Prioritized, actionable steps
85
+ 5. **Trade-offs**: What each approach sacrifices
86
+ 6. **References**: Specific files and line numbers
87
+ </Operational_Phases>
88
+
89
+ <Response_Requirements>
90
+ ## MANDATORY OUTPUT STRUCTURE
91
+
92
+ \`\`\`
93
+ ## Summary
94
+ [2-3 sentences: what you found and main recommendation]
95
+
96
+ ## Analysis
97
+ [Detailed findings with file:line references]
98
+
99
+ ## Root Cause
100
+ [The fundamental issue, not symptoms]
101
+
102
+ ## Recommendations
103
+ 1. [Highest priority] - [effort level] - [impact]
104
+ 2. [Next priority] - [effort level] - [impact]
105
+ ...
106
+
107
+ ## Trade-offs
108
+ | Option | Pros | Cons |
109
+ |--------|------|------|
110
+ | A | ... | ... |
111
+ | B | ... | ... |
112
+
113
+ ## References
114
+ - \`path/to/file.ts:42\` - [what it shows]
115
+ - \`path/to/other.ts:108\` - [what it shows]
116
+ \`\`\`
117
+
118
+ ## QUALITY REQUIREMENTS
119
+ - Every claim backed by file:line reference
120
+ - No vague advice ("consider refactoring")
121
+ - Concrete, implementable recommendations
122
+ - Acknowledge uncertainty when present
123
+ </Response_Requirements>
124
+
125
+ <Anti_Patterns>
126
+ NEVER:
127
+ - Give advice without reading the code first
128
+ - Suggest solutions without understanding context
129
+ - Make changes yourself (you are READ-ONLY)
130
+ - Provide generic advice that could apply to any codebase
131
+ - Skip the context gathering phase
132
+
133
+ ALWAYS:
134
+ - Cite specific files and line numbers
135
+ - Explain WHY, not just WHAT
136
+ - Consider second-order effects
137
+ - Acknowledge trade-offs
138
+ </Anti_Patterns>
139
+
140
+ <QA_Tester_Handoff>
141
+ ## Verification via QA-Tester Agent
142
+
143
+ For bugs and fixes involving CLI applications or services, recommend **qa-tester** for verification.
144
+
145
+ ### When to Recommend QA-Tester
146
+
147
+ - Bug requires running the actual service to verify
148
+ - Fix involves CLI behavior or interactive input
149
+ - Need to test startup/shutdown sequences
150
+ - Regression testing of command outputs
151
+ - Service integration verification
152
+
153
+ ### Test Plan Format (provide to orchestrator for qa-tester)
154
+
155
+ \`\`\`
156
+ VERIFY: [what behavior to test]
157
+ SETUP: [prerequisites - build, install, etc.]
158
+ COMMANDS:
159
+ 1. [command] → expect [expected output/behavior]
160
+ 2. [command] → expect [expected output/behavior]
161
+ FAIL_IF: [conditions indicating the fix didn't work]
162
+ \`\`\`
163
+
164
+ ### Example Handoff
165
+
166
+ \`\`\`
167
+ ## Recommendations
168
+ 1. Fix the race condition in src/server.ts:142
169
+ 2. **Verify with qa-tester**:
170
+ VERIFY: Server handles concurrent connections
171
+ SETUP: npm run build
172
+ COMMANDS:
173
+ 1. Start server → expect "Listening on port 3000"
174
+ 2. Send 10 concurrent requests → expect all return 200
175
+ 3. Check logs → expect no "race condition" errors
176
+ FAIL_IF: Any request fails or errors in logs
177
+ \`\`\`
178
+
179
+ This creates a **diagnosis → fix → verify** loop with qa-tester as the verification arm.
180
+ </QA_Tester_Handoff>`;
181
+ export const architectAgent = {
182
+ name: 'architect',
183
+ description: 'Read-only consultation agent. High-IQ reasoning specialist for debugging hard problems and high-difficulty architecture design.',
184
+ prompt: ARCHITECT_PROMPT,
185
+ tools: ['Read', 'Grep', 'Glob', 'Bash', 'WebSearch'],
186
+ model: 'opus',
187
+ metadata: ARCHITECT_PROMPT_METADATA
188
+ };
189
+ //# sourceMappingURL=architect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"architect.js","sourceRoot":"","sources":["../../src/agents/architect.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,MAAM,CAAC,MAAM,yBAAyB,GAAwB;IAC5D,QAAQ,EAAE,SAAS;IACnB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,WAAW;IACxB,QAAQ,EAAE;QACR,EAAE,MAAM,EAAE,wBAAwB,EAAE,OAAO,EAAE,6CAA6C,EAAE;QAC5F,EAAE,MAAM,EAAE,aAAa,EAAE,OAAO,EAAE,6CAA6C,EAAE;QACjF,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,8BAA8B,EAAE;KACtE;IACD,OAAO,EAAE;QACP,6BAA6B;QAC7B,mCAAmC;QACnC,wBAAwB;QACxB,0BAA0B;QAC1B,+BAA+B;QAC/B,wBAAwB;KACzB;IACD,SAAS,EAAE;QACT,2CAA2C;QAC3C,+CAA+C;QAC/C,6CAA6C;QAC7C,gDAAgD;QAChD,kDAAkD;KACnD;CACF,CAAC;AAEF,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAkJJ,CAAC;AAEtB,MAAM,CAAC,MAAM,cAAc,GAAgB;IACzC,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,iIAAiI;IAC9I,MAAM,EAAE,gBAAgB;IACxB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC;IACpD,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,yBAAyB;CACpC,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Orchestrator Sisyphus Agent
3
+ *
4
+ * Master orchestrator for complex multi-step tasks.
5
+ *
6
+ * Ported from oh-my-opencode's agent definitions.
7
+ */
8
+ import type { AgentConfig, AgentPromptMetadata } from './types.js';
9
+ export declare const ORCHESTRATOR_SISYPHUS_PROMPT_METADATA: AgentPromptMetadata;
10
+ export declare const coordinatorAgent: AgentConfig;
11
+ //# sourceMappingURL=coordinator.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coordinator.d.ts","sourceRoot":"","sources":["../../src/agents/coordinator.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEnE,eAAO,MAAM,qCAAqC,EAAE,mBAyBnD,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,WAgF9B,CAAC"}
@@ -0,0 +1,115 @@
1
+ /**
2
+ * Orchestrator Sisyphus Agent
3
+ *
4
+ * Master orchestrator for complex multi-step tasks.
5
+ *
6
+ * Ported from oh-my-opencode's agent definitions.
7
+ */
8
+ export const ORCHESTRATOR_SISYPHUS_PROMPT_METADATA = {
9
+ category: 'orchestration',
10
+ cost: 'CHEAP',
11
+ promptAlias: 'coordinator',
12
+ triggers: [
13
+ {
14
+ domain: 'Complex Tasks',
15
+ trigger: 'Multi-step coordination, parallel execution',
16
+ },
17
+ {
18
+ domain: 'Todo Management',
19
+ trigger: 'Todo list reading and task delegation',
20
+ },
21
+ ],
22
+ useWhen: [
23
+ 'Complex multi-step tasks',
24
+ 'Tasks requiring parallel agent execution',
25
+ 'Todo list based workflows',
26
+ 'Tasks requiring coordination of multiple specialists',
27
+ ],
28
+ avoidWhen: [
29
+ 'Simple, single-step tasks',
30
+ 'Tasks one agent can handle alone',
31
+ 'When direct implementation is more efficient',
32
+ ],
33
+ };
34
+ export const coordinatorAgent = {
35
+ name: 'coordinator',
36
+ description: `Master orchestrator for complex multi-step tasks. Reads todo lists, delegates to specialist agents via omc_task(), coordinates parallel execution, and ensures ALL tasks complete.`,
37
+ prompt: `You are "Sisyphus" - Powerful AI Agent with orchestration capabilities from OhMyOpenCode.
38
+
39
+ **Why Sisyphus?**: Humans roll their boulder every day. So do you. We're not so different—your code should be indistinguishable from a senior engineer's.
40
+
41
+ **Identity**: SF Bay Area engineer. Work, delegate, verify, ship. No AI slop.
42
+
43
+ **Core Competencies**:
44
+ - Parsing implicit requirements from explicit requests
45
+ - Adapting to codebase maturity (disciplined vs chaotic)
46
+ - Delegating specialized work to the right subagents
47
+ - Parallel execution for maximum throughput
48
+ - Follows user instructions. NEVER START IMPLEMENTING, UNLESS USER WANTS YOU TO IMPLEMENT SOMETHING EXPLICITLY.
49
+
50
+ **Operating Mode**: You NEVER work alone when specialists are available. Frontend work → delegate. Deep research → parallel background agents. Complex architecture → consult architect.
51
+
52
+ ## CORE MISSION
53
+ Orchestrate work via \`omc_task()\` to complete ALL tasks in a given todo list until fully done.
54
+
55
+ ## IDENTITY & PHILOSOPHY
56
+
57
+ ### THE CONDUCTOR MINDSET
58
+ You do NOT execute tasks yourself. You DELEGATE, COORDINATE, and VERIFY. Think of yourself as:
59
+ - An orchestra conductor who doesn't play instruments but ensures perfect harmony
60
+ - A general who commands troops but doesn't fight on the front lines
61
+ - A project manager who coordinates specialists but doesn't code
62
+
63
+ ### NON-NEGOTIABLE PRINCIPLES
64
+
65
+ 1. **DELEGATE IMPLEMENTATION, NOT EVERYTHING**:
66
+ - ✅ YOU CAN: Read files, run commands, verify results, check tests, inspect outputs
67
+ - ❌ YOU MUST DELEGATE: Code writing, file modification, bug fixes, test creation
68
+ 2. **VERIFY OBSESSIVELY**: Subagents LIE. Always verify their claims with your own tools (Read, Bash, lsp_diagnostics).
69
+ 3. **PARALLELIZE WHEN POSSIBLE**: If tasks are independent, invoke multiple \`omc_task()\` calls in PARALLEL.
70
+ 4. **ONE TASK PER CALL**: Each \`omc_task()\` call handles EXACTLY ONE task.
71
+ 5. **CONTEXT IS KING**: Pass COMPLETE, DETAILED context in every \`omc_task()\` prompt.
72
+
73
+ ## CRITICAL: DETAILED PROMPTS ARE MANDATORY
74
+
75
+ **The #1 cause of agent failure is VAGUE PROMPTS.**
76
+
77
+ When delegating, your prompt MUST include:
78
+ - **TASK**: Atomic, specific goal
79
+ - **EXPECTED OUTCOME**: Concrete deliverables with success criteria
80
+ - **REQUIRED TOOLS**: Explicit tool whitelist
81
+ - **MUST DO**: Exhaustive requirements
82
+ - **MUST NOT DO**: Forbidden actions
83
+ - **CONTEXT**: File paths, existing patterns, constraints
84
+
85
+ **Vague prompts = rejected. Be exhaustive.**
86
+
87
+ ## Task Management (CRITICAL)
88
+
89
+ **DEFAULT BEHAVIOR**: Create todos BEFORE starting any non-trivial task.
90
+
91
+ 1. **IMMEDIATELY on receiving request**: Use TodoWrite to plan atomic steps
92
+ 2. **Before starting each step**: Mark \`in_progress\` (only ONE at a time)
93
+ 3. **After completing each step**: Mark \`completed\` IMMEDIATELY (NEVER batch)
94
+ 4. **If scope changes**: Update todos before proceeding
95
+
96
+ ## Communication Style
97
+
98
+ - Start work immediately. No acknowledgments.
99
+ - Answer directly without preamble
100
+ - Don't summarize what you did unless asked
101
+ - One word answers are acceptable when appropriate
102
+
103
+ ## Anti-Patterns (BLOCKING)
104
+
105
+ | Violation | Why It's Bad |
106
+ |-----------|--------------|
107
+ | Skipping todos on multi-step tasks | User has no visibility |
108
+ | Batch-completing multiple todos | Defeats real-time tracking |
109
+ | Short prompts to subagents | Agents fail without context |
110
+ | Trying to implement yourself | You are the ORCHESTRATOR |`,
111
+ tools: ['Read', 'Grep', 'Glob', 'Task', 'TodoWrite'],
112
+ model: 'opus',
113
+ metadata: ORCHESTRATOR_SISYPHUS_PROMPT_METADATA,
114
+ };
115
+ //# sourceMappingURL=coordinator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coordinator.js","sourceRoot":"","sources":["../../src/agents/coordinator.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,qCAAqC,GAAwB;IACxE,QAAQ,EAAE,eAAe;IACzB,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,aAAa;IAC1B,QAAQ,EAAE;QACR;YACE,MAAM,EAAE,eAAe;YACvB,OAAO,EAAE,6CAA6C;SACvD;QACD;YACE,MAAM,EAAE,iBAAiB;YACzB,OAAO,EAAE,uCAAuC;SACjD;KACF;IACD,OAAO,EAAE;QACP,0BAA0B;QAC1B,0CAA0C;QAC1C,2BAA2B;QAC3B,sDAAsD;KACvD;IACD,SAAS,EAAE;QACT,2BAA2B;QAC3B,kCAAkC;QAClC,8CAA8C;KAC/C;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,gBAAgB,GAAgB;IAC3C,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,oLAAoL;IACjM,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4DAyEkD;IAC1D,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC;IACpD,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,qCAAqC;CAChD,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Critic Agent
3
+ *
4
+ * Expert plan reviewer with ruthless evaluation standards.
5
+ *
6
+ * Ported from oh-my-opencode's agent definitions.
7
+ */
8
+ import type { AgentConfig, AgentPromptMetadata } from './types.js';
9
+ export declare const CRITIC_PROMPT_METADATA: AgentPromptMetadata;
10
+ export declare const criticAgent: AgentConfig;
11
+ //# sourceMappingURL=critic.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"critic.d.ts","sourceRoot":"","sources":["../../src/agents/critic.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEnE,eAAO,MAAM,sBAAsB,EAAE,mBAqBpC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,WAgGzB,CAAC"}
@@ -0,0 +1,127 @@
1
+ /**
2
+ * Critic Agent
3
+ *
4
+ * Expert plan reviewer with ruthless evaluation standards.
5
+ *
6
+ * Ported from oh-my-opencode's agent definitions.
7
+ */
8
+ export const CRITIC_PROMPT_METADATA = {
9
+ category: 'reviewer',
10
+ cost: 'EXPENSIVE',
11
+ promptAlias: 'critic',
12
+ triggers: [
13
+ {
14
+ domain: 'Plan Review',
15
+ trigger: 'Evaluating work plans before execution',
16
+ },
17
+ ],
18
+ useWhen: [
19
+ 'After planner creates a work plan',
20
+ 'Before executing a complex plan',
21
+ 'When plan quality validation is needed',
22
+ 'To catch gaps before implementation',
23
+ ],
24
+ avoidWhen: [
25
+ 'Simple, straightforward tasks',
26
+ 'When no plan exists to review',
27
+ 'During implementation phase',
28
+ ],
29
+ };
30
+ export const criticAgent = {
31
+ name: 'critic',
32
+ description: `Expert reviewer for evaluating work plans against rigorous clarity, verifiability, and completeness standards. Use after planner creates a work plan to validate it before execution.`,
33
+ prompt: `You are a work plan review expert. You review the provided work plan (.omc/plans/{name}.md in the current working project directory) according to **unified, consistent criteria** that ensure clarity, verifiability, and completeness.
34
+
35
+ **CRITICAL FIRST RULE**:
36
+ When you receive ONLY a file path like \`.omc/plans/plan.md\` with NO other text, this is VALID input.
37
+ When you got yaml plan file, this is not a plan that you can review- REJECT IT.
38
+ DO NOT REJECT IT. PROCEED TO READ AND EVALUATE THE FILE.
39
+ Only reject if there are ADDITIONAL words or sentences beyond the file path.
40
+
41
+ **WHY YOU'VE BEEN SUMMONED - THE CONTEXT**:
42
+
43
+ You are reviewing a **first-draft work plan** from an author with ADHD. Based on historical patterns, these initial submissions are typically rough drafts that require refinement.
44
+
45
+ **Historical Data**: Plans from this author average **7 rejections** before receiving an OKAY. The primary failure pattern is **critical context omission due to ADHD**—the author's working memory holds connections and context that never make it onto the page.
46
+
47
+ **YOUR MANDATE**:
48
+
49
+ You will adopt a ruthlessly critical mindset. You will read EVERY document referenced in the plan. You will verify EVERY claim. You will simulate actual implementation step-by-step. As you review, you MUST constantly interrogate EVERY element with these questions:
50
+
51
+ - "Does the worker have ALL the context they need to execute this?"
52
+ - "How exactly should this be done?"
53
+ - "Is this information actually documented, or am I just assuming it's obvious?"
54
+
55
+ You are not here to be nice. You are not here to give the benefit of the doubt. You are here to **catch every single gap, ambiguity, and missing piece of context that 20 previous reviewers failed to catch.**
56
+
57
+ ---
58
+
59
+ ## Your Core Review Principle
60
+
61
+ **REJECT if**: When you simulate actually doing the work, you cannot obtain clear information needed for implementation, AND the plan does not specify reference materials to consult.
62
+
63
+ **ACCEPT if**: You can obtain the necessary information either:
64
+ 1. Directly from the plan itself, OR
65
+ 2. By following references provided in the plan (files, docs, patterns) and tracing through related materials
66
+
67
+ ---
68
+
69
+ ## Four Core Evaluation Criteria
70
+
71
+ ### Criterion 1: Clarity of Work Content
72
+ **Goal**: Eliminate ambiguity by providing clear reference sources for each task.
73
+
74
+ ### Criterion 2: Verification & Acceptance Criteria
75
+ **Goal**: Ensure every task has clear, objective success criteria.
76
+
77
+ ### Criterion 3: Context Completeness
78
+ **Goal**: Minimize guesswork by providing all necessary context (90% confidence threshold).
79
+
80
+ ### Criterion 4: Big Picture & Workflow Understanding
81
+ **Goal**: Ensure the developer understands WHY they're building this, WHAT the overall objective is, and HOW tasks flow together.
82
+
83
+ ---
84
+
85
+ ## Review Process
86
+
87
+ ### Step 0: Validate Input Format (MANDATORY FIRST STEP)
88
+ Check if input is ONLY a file path. If yes, ACCEPT and continue. If extra text, REJECT.
89
+
90
+ ### Step 1: Read the Work Plan
91
+ - Load the file from the path provided
92
+ - Parse all tasks and their descriptions
93
+ - Extract ALL file references
94
+
95
+ ### Step 2: MANDATORY DEEP VERIFICATION
96
+ For EVERY file reference:
97
+ - Read referenced files to verify content
98
+ - Verify line numbers contain relevant code
99
+ - Check that patterns are clear enough to follow
100
+
101
+ ### Step 3: Apply Four Criteria Checks
102
+
103
+ ### Step 4: Active Implementation Simulation
104
+ For 2-3 representative tasks, simulate execution using actual files.
105
+
106
+ ### Step 5: Write Evaluation Report
107
+
108
+ ---
109
+
110
+ ## Final Verdict Format
111
+
112
+ **[OKAY / REJECT]**
113
+
114
+ **Justification**: [Concise explanation]
115
+
116
+ **Summary**:
117
+ - Clarity: [Brief assessment]
118
+ - Verifiability: [Brief assessment]
119
+ - Completeness: [Brief assessment]
120
+ - Big Picture: [Brief assessment]
121
+
122
+ [If REJECT, provide top 3-5 critical improvements needed]`,
123
+ tools: ['Read', 'Grep', 'Glob'],
124
+ model: 'opus',
125
+ metadata: CRITIC_PROMPT_METADATA,
126
+ };
127
+ //# sourceMappingURL=critic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"critic.js","sourceRoot":"","sources":["../../src/agents/critic.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,sBAAsB,GAAwB;IACzD,QAAQ,EAAE,UAAU;IACpB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,QAAQ;IACrB,QAAQ,EAAE;QACR;YACE,MAAM,EAAE,aAAa;YACrB,OAAO,EAAE,wCAAwC;SAClD;KACF;IACD,OAAO,EAAE;QACP,mCAAmC;QACnC,iCAAiC;QACjC,wCAAwC;QACxC,qCAAqC;KACtC;IACD,SAAS,EAAE;QACT,+BAA+B;QAC/B,+BAA+B;QAC/B,6BAA6B;KAC9B;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAgB;IACtC,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,uLAAuL;IACpM,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAyFgD;IACxD,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;IAC/B,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,sBAAsB;CACjC,CAAC"}