oh-my-claude-sisyphus 3.7.2 → 3.7.3

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 (325) hide show
  1. package/dist/__tests__/compatibility-security.test.d.ts +13 -0
  2. package/dist/__tests__/compatibility-security.test.d.ts.map +1 -0
  3. package/dist/__tests__/compatibility-security.test.js +403 -0
  4. package/dist/__tests__/compatibility-security.test.js.map +1 -0
  5. package/dist/__tests__/compatibility.test.d.ts +7 -0
  6. package/dist/__tests__/compatibility.test.d.ts.map +1 -0
  7. package/dist/__tests__/compatibility.test.js +484 -0
  8. package/dist/__tests__/compatibility.test.js.map +1 -0
  9. package/dist/__tests__/hud/analytics-display.test.js +4 -0
  10. package/dist/__tests__/hud/analytics-display.test.js.map +1 -1
  11. package/dist/cli/analytics.js +0 -0
  12. package/dist/cli/index.js +0 -0
  13. package/dist/compatibility/discovery.d.ts +58 -0
  14. package/dist/compatibility/discovery.d.ts.map +1 -0
  15. package/dist/compatibility/discovery.js +619 -0
  16. package/dist/compatibility/discovery.js.map +1 -0
  17. package/dist/compatibility/index.d.ts +51 -0
  18. package/dist/compatibility/index.d.ts.map +1 -0
  19. package/dist/compatibility/index.js +72 -0
  20. package/dist/compatibility/index.js.map +1 -0
  21. package/dist/compatibility/mcp-bridge.d.ts +138 -0
  22. package/dist/compatibility/mcp-bridge.d.ts.map +1 -0
  23. package/dist/compatibility/mcp-bridge.js +524 -0
  24. package/dist/compatibility/mcp-bridge.js.map +1 -0
  25. package/dist/compatibility/permission-adapter.d.ts +79 -0
  26. package/dist/compatibility/permission-adapter.d.ts.map +1 -0
  27. package/dist/compatibility/permission-adapter.js +369 -0
  28. package/dist/compatibility/permission-adapter.js.map +1 -0
  29. package/dist/compatibility/registry.d.ts +161 -0
  30. package/dist/compatibility/registry.d.ts.map +1 -0
  31. package/dist/compatibility/registry.js +389 -0
  32. package/dist/compatibility/registry.js.map +1 -0
  33. package/dist/compatibility/types.d.ts +249 -0
  34. package/dist/compatibility/types.d.ts.map +1 -0
  35. package/dist/compatibility/types.js +8 -0
  36. package/dist/compatibility/types.js.map +1 -0
  37. package/dist/features/rate-limit-wait/daemon.d.ts.map +1 -1
  38. package/dist/features/rate-limit-wait/daemon.js +3 -0
  39. package/dist/features/rate-limit-wait/daemon.js.map +1 -1
  40. package/dist/hud/analytics-display.d.ts +1 -1
  41. package/dist/hud/analytics-display.d.ts.map +1 -1
  42. package/dist/hud/analytics-display.js +24 -7
  43. package/dist/hud/analytics-display.js.map +1 -1
  44. package/docs/COMPATIBILITY.md +1051 -0
  45. package/package.json +3 -1
  46. package/dist/__tests__/analytics/analytics-summary.test.d.ts +0 -2
  47. package/dist/__tests__/analytics/analytics-summary.test.d.ts.map +0 -1
  48. package/dist/__tests__/analytics/analytics-summary.test.js +0 -267
  49. package/dist/__tests__/analytics/analytics-summary.test.js.map +0 -1
  50. package/dist/__tests__/analytics/cost-estimator.test.d.ts +0 -2
  51. package/dist/__tests__/analytics/cost-estimator.test.d.ts.map +0 -1
  52. package/dist/__tests__/analytics/cost-estimator.test.js +0 -212
  53. package/dist/__tests__/analytics/cost-estimator.test.js.map +0 -1
  54. package/dist/__tests__/hooks/auto-slash-command/executor.test.d.ts +0 -7
  55. package/dist/__tests__/hooks/auto-slash-command/executor.test.d.ts.map +0 -1
  56. package/dist/__tests__/hooks/auto-slash-command/executor.test.js +0 -374
  57. package/dist/__tests__/hooks/auto-slash-command/executor.test.js.map +0 -1
  58. package/dist/__tests__/hud/auto-tracking.integration.test.d.ts +0 -2
  59. package/dist/__tests__/hud/auto-tracking.integration.test.d.ts.map +0 -1
  60. package/dist/__tests__/hud/auto-tracking.integration.test.js +0 -12
  61. package/dist/__tests__/hud/auto-tracking.integration.test.js.map +0 -1
  62. package/dist/__tests__/learned-skills/config.test.d.ts +0 -2
  63. package/dist/__tests__/learned-skills/config.test.d.ts.map +0 -1
  64. package/dist/__tests__/learned-skills/config.test.js +0 -37
  65. package/dist/__tests__/learned-skills/config.test.js.map +0 -1
  66. package/dist/__tests__/learned-skills/detector.test.d.ts +0 -2
  67. package/dist/__tests__/learned-skills/detector.test.d.ts.map +0 -1
  68. package/dist/__tests__/learned-skills/detector.test.js +0 -99
  69. package/dist/__tests__/learned-skills/detector.test.js.map +0 -1
  70. package/dist/__tests__/learned-skills/finder.test.d.ts +0 -2
  71. package/dist/__tests__/learned-skills/finder.test.d.ts.map +0 -1
  72. package/dist/__tests__/learned-skills/finder.test.js +0 -59
  73. package/dist/__tests__/learned-skills/finder.test.js.map +0 -1
  74. package/dist/__tests__/learned-skills/loader.test.d.ts +0 -2
  75. package/dist/__tests__/learned-skills/loader.test.d.ts.map +0 -1
  76. package/dist/__tests__/learned-skills/loader.test.js +0 -69
  77. package/dist/__tests__/learned-skills/loader.test.js.map +0 -1
  78. package/dist/__tests__/learned-skills/parser.test.d.ts +0 -2
  79. package/dist/__tests__/learned-skills/parser.test.d.ts.map +0 -1
  80. package/dist/__tests__/learned-skills/parser.test.js +0 -81
  81. package/dist/__tests__/learned-skills/parser.test.js.map +0 -1
  82. package/dist/__tests__/learned-skills/validator.test.d.ts +0 -2
  83. package/dist/__tests__/learned-skills/validator.test.d.ts.map +0 -1
  84. package/dist/__tests__/learned-skills/validator.test.js +0 -85
  85. package/dist/__tests__/learned-skills/validator.test.js.map +0 -1
  86. package/dist/agents/codex-agents.d.ts +0 -20
  87. package/dist/agents/codex-agents.d.ts.map +0 -1
  88. package/dist/agents/codex-agents.js +0 -36
  89. package/dist/agents/codex-agents.js.map +0 -1
  90. package/dist/agents/document-writer.d.ts +0 -11
  91. package/dist/agents/document-writer.d.ts.map +0 -1
  92. package/dist/agents/document-writer.js +0 -209
  93. package/dist/agents/document-writer.js.map +0 -1
  94. package/dist/agents/frontend-engineer.d.ts +0 -11
  95. package/dist/agents/frontend-engineer.d.ts.map +0 -1
  96. package/dist/agents/frontend-engineer.js +0 -115
  97. package/dist/agents/frontend-engineer.js.map +0 -1
  98. package/dist/agents/librarian.d.ts +0 -12
  99. package/dist/agents/librarian.d.ts.map +0 -1
  100. package/dist/agents/librarian.js +0 -103
  101. package/dist/agents/librarian.js.map +0 -1
  102. package/dist/agents/metis.d.ts +0 -12
  103. package/dist/agents/metis.d.ts.map +0 -1
  104. package/dist/agents/metis.js +0 -117
  105. package/dist/agents/metis.js.map +0 -1
  106. package/dist/agents/momus.d.ts +0 -12
  107. package/dist/agents/momus.d.ts.map +0 -1
  108. package/dist/agents/momus.js +0 -128
  109. package/dist/agents/momus.js.map +0 -1
  110. package/dist/agents/multimodal-looker.d.ts +0 -11
  111. package/dist/agents/multimodal-looker.d.ts.map +0 -1
  112. package/dist/agents/multimodal-looker.js +0 -70
  113. package/dist/agents/multimodal-looker.js.map +0 -1
  114. package/dist/agents/oracle.d.ts +0 -13
  115. package/dist/agents/oracle.d.ts.map +0 -1
  116. package/dist/agents/oracle.js +0 -191
  117. package/dist/agents/oracle.js.map +0 -1
  118. package/dist/agents/orchestrator-sisyphus.d.ts +0 -11
  119. package/dist/agents/orchestrator-sisyphus.d.ts.map +0 -1
  120. package/dist/agents/orchestrator-sisyphus.js +0 -115
  121. package/dist/agents/orchestrator-sisyphus.js.map +0 -1
  122. package/dist/agents/prometheus.d.ts +0 -12
  123. package/dist/agents/prometheus.d.ts.map +0 -1
  124. package/dist/agents/prometheus.js +0 -195
  125. package/dist/agents/prometheus.js.map +0 -1
  126. package/dist/agents/sisyphus-junior.d.ts +0 -12
  127. package/dist/agents/sisyphus-junior.d.ts.map +0 -1
  128. package/dist/agents/sisyphus-junior.js +0 -93
  129. package/dist/agents/sisyphus-junior.js.map +0 -1
  130. package/dist/cli/components/CostDashboard.d.ts +0 -15
  131. package/dist/cli/components/CostDashboard.d.ts.map +0 -1
  132. package/dist/cli/components/CostDashboard.js +0 -15
  133. package/dist/cli/components/CostDashboard.js.map +0 -1
  134. package/dist/cli/components/LiveStats.d.ts +0 -16
  135. package/dist/cli/components/LiveStats.d.ts.map +0 -1
  136. package/dist/cli/components/LiveStats.js +0 -16
  137. package/dist/cli/components/LiveStats.js.map +0 -1
  138. package/dist/cli/components/SessionBrowser.d.ts +0 -14
  139. package/dist/cli/components/SessionBrowser.d.ts.map +0 -1
  140. package/dist/cli/components/SessionBrowser.js +0 -14
  141. package/dist/cli/components/SessionBrowser.js.map +0 -1
  142. package/dist/cli/tui.d.ts +0 -21
  143. package/dist/cli/tui.d.ts.map +0 -1
  144. package/dist/cli/tui.js +0 -21
  145. package/dist/cli/tui.js.map +0 -1
  146. package/dist/hooks/autopilot/signals.d.ts +0 -20
  147. package/dist/hooks/autopilot/signals.d.ts.map +0 -1
  148. package/dist/hooks/autopilot/signals.js +0 -75
  149. package/dist/hooks/autopilot/signals.js.map +0 -1
  150. package/dist/hooks/autopilot/summary.d.ts +0 -27
  151. package/dist/hooks/autopilot/summary.d.ts.map +0 -1
  152. package/dist/hooks/autopilot/summary.js +0 -160
  153. package/dist/hooks/autopilot/summary.js.map +0 -1
  154. package/dist/hooks/autopilot/transition.d.ts +0 -39
  155. package/dist/hooks/autopilot/transition.d.ts.map +0 -1
  156. package/dist/hooks/autopilot/transition.js +0 -216
  157. package/dist/hooks/autopilot/transition.js.map +0 -1
  158. package/dist/hooks/context-window-limit-recovery/constants.d.ts +0 -28
  159. package/dist/hooks/context-window-limit-recovery/constants.d.ts.map +0 -1
  160. package/dist/hooks/context-window-limit-recovery/constants.js +0 -85
  161. package/dist/hooks/context-window-limit-recovery/constants.js.map +0 -1
  162. package/dist/hooks/context-window-limit-recovery/index.d.ts +0 -62
  163. package/dist/hooks/context-window-limit-recovery/index.d.ts.map +0 -1
  164. package/dist/hooks/context-window-limit-recovery/index.js +0 -201
  165. package/dist/hooks/context-window-limit-recovery/index.js.map +0 -1
  166. package/dist/hooks/context-window-limit-recovery/parser.d.ts +0 -31
  167. package/dist/hooks/context-window-limit-recovery/parser.d.ts.map +0 -1
  168. package/dist/hooks/context-window-limit-recovery/parser.js +0 -241
  169. package/dist/hooks/context-window-limit-recovery/parser.js.map +0 -1
  170. package/dist/hooks/context-window-limit-recovery/types.d.ts +0 -84
  171. package/dist/hooks/context-window-limit-recovery/types.d.ts.map +0 -1
  172. package/dist/hooks/context-window-limit-recovery/types.js +0 -34
  173. package/dist/hooks/context-window-limit-recovery/types.js.map +0 -1
  174. package/dist/hooks/edit-error-recovery/index.d.ts +0 -62
  175. package/dist/hooks/edit-error-recovery/index.d.ts.map +0 -1
  176. package/dist/hooks/edit-error-recovery/index.js +0 -89
  177. package/dist/hooks/edit-error-recovery/index.js.map +0 -1
  178. package/dist/hooks/learned-skills/config.d.ts +0 -53
  179. package/dist/hooks/learned-skills/config.d.ts.map +0 -1
  180. package/dist/hooks/learned-skills/config.js +0 -103
  181. package/dist/hooks/learned-skills/config.js.map +0 -1
  182. package/dist/hooks/learned-skills/constants.d.ts +0 -24
  183. package/dist/hooks/learned-skills/constants.d.ts.map +0 -1
  184. package/dist/hooks/learned-skills/constants.js +0 -26
  185. package/dist/hooks/learned-skills/constants.js.map +0 -1
  186. package/dist/hooks/learned-skills/detection-hook.d.ts +0 -39
  187. package/dist/hooks/learned-skills/detection-hook.d.ts.map +0 -1
  188. package/dist/hooks/learned-skills/detection-hook.js +0 -83
  189. package/dist/hooks/learned-skills/detection-hook.js.map +0 -1
  190. package/dist/hooks/learned-skills/detector.d.ts +0 -30
  191. package/dist/hooks/learned-skills/detector.d.ts.map +0 -1
  192. package/dist/hooks/learned-skills/detector.js +0 -150
  193. package/dist/hooks/learned-skills/detector.js.map +0 -1
  194. package/dist/hooks/learned-skills/finder.d.ts +0 -21
  195. package/dist/hooks/learned-skills/finder.d.ts.map +0 -1
  196. package/dist/hooks/learned-skills/finder.js +0 -117
  197. package/dist/hooks/learned-skills/finder.js.map +0 -1
  198. package/dist/hooks/learned-skills/index.d.ts +0 -62
  199. package/dist/hooks/learned-skills/index.d.ts.map +0 -1
  200. package/dist/hooks/learned-skills/index.js +0 -137
  201. package/dist/hooks/learned-skills/index.js.map +0 -1
  202. package/dist/hooks/learned-skills/loader.d.ts +0 -20
  203. package/dist/hooks/learned-skills/loader.d.ts.map +0 -1
  204. package/dist/hooks/learned-skills/loader.js +0 -107
  205. package/dist/hooks/learned-skills/loader.js.map +0 -1
  206. package/dist/hooks/learned-skills/parser.d.ts +0 -21
  207. package/dist/hooks/learned-skills/parser.d.ts.map +0 -1
  208. package/dist/hooks/learned-skills/parser.js +0 -190
  209. package/dist/hooks/learned-skills/parser.js.map +0 -1
  210. package/dist/hooks/learned-skills/promotion.d.ts +0 -29
  211. package/dist/hooks/learned-skills/promotion.d.ts.map +0 -1
  212. package/dist/hooks/learned-skills/promotion.js +0 -87
  213. package/dist/hooks/learned-skills/promotion.js.map +0 -1
  214. package/dist/hooks/learned-skills/types.d.ts +0 -109
  215. package/dist/hooks/learned-skills/types.d.ts.map +0 -1
  216. package/dist/hooks/learned-skills/types.js +0 -8
  217. package/dist/hooks/learned-skills/types.js.map +0 -1
  218. package/dist/hooks/learned-skills/validator.d.ts +0 -15
  219. package/dist/hooks/learned-skills/validator.d.ts.map +0 -1
  220. package/dist/hooks/learned-skills/validator.js +0 -87
  221. package/dist/hooks/learned-skills/validator.js.map +0 -1
  222. package/dist/hooks/learned-skills/writer.d.ts +0 -27
  223. package/dist/hooks/learned-skills/writer.d.ts.map +0 -1
  224. package/dist/hooks/learned-skills/writer.js +0 -126
  225. package/dist/hooks/learned-skills/writer.js.map +0 -1
  226. package/dist/hooks/mnemosyne/config.d.ts +0 -53
  227. package/dist/hooks/mnemosyne/config.d.ts.map +0 -1
  228. package/dist/hooks/mnemosyne/config.js +0 -103
  229. package/dist/hooks/mnemosyne/config.js.map +0 -1
  230. package/dist/hooks/mnemosyne/constants.d.ts +0 -24
  231. package/dist/hooks/mnemosyne/constants.d.ts.map +0 -1
  232. package/dist/hooks/mnemosyne/constants.js +0 -26
  233. package/dist/hooks/mnemosyne/constants.js.map +0 -1
  234. package/dist/hooks/mnemosyne/detection-hook.d.ts +0 -39
  235. package/dist/hooks/mnemosyne/detection-hook.d.ts.map +0 -1
  236. package/dist/hooks/mnemosyne/detection-hook.js +0 -83
  237. package/dist/hooks/mnemosyne/detection-hook.js.map +0 -1
  238. package/dist/hooks/mnemosyne/detector.d.ts +0 -30
  239. package/dist/hooks/mnemosyne/detector.d.ts.map +0 -1
  240. package/dist/hooks/mnemosyne/detector.js +0 -150
  241. package/dist/hooks/mnemosyne/detector.js.map +0 -1
  242. package/dist/hooks/mnemosyne/finder.d.ts +0 -21
  243. package/dist/hooks/mnemosyne/finder.d.ts.map +0 -1
  244. package/dist/hooks/mnemosyne/finder.js +0 -117
  245. package/dist/hooks/mnemosyne/finder.js.map +0 -1
  246. package/dist/hooks/mnemosyne/index.d.ts +0 -62
  247. package/dist/hooks/mnemosyne/index.d.ts.map +0 -1
  248. package/dist/hooks/mnemosyne/index.js +0 -137
  249. package/dist/hooks/mnemosyne/index.js.map +0 -1
  250. package/dist/hooks/mnemosyne/loader.d.ts +0 -20
  251. package/dist/hooks/mnemosyne/loader.d.ts.map +0 -1
  252. package/dist/hooks/mnemosyne/loader.js +0 -113
  253. package/dist/hooks/mnemosyne/loader.js.map +0 -1
  254. package/dist/hooks/mnemosyne/parser.d.ts +0 -21
  255. package/dist/hooks/mnemosyne/parser.d.ts.map +0 -1
  256. package/dist/hooks/mnemosyne/parser.js +0 -190
  257. package/dist/hooks/mnemosyne/parser.js.map +0 -1
  258. package/dist/hooks/mnemosyne/promotion.d.ts +0 -29
  259. package/dist/hooks/mnemosyne/promotion.d.ts.map +0 -1
  260. package/dist/hooks/mnemosyne/promotion.js +0 -87
  261. package/dist/hooks/mnemosyne/promotion.js.map +0 -1
  262. package/dist/hooks/mnemosyne/types.d.ts +0 -109
  263. package/dist/hooks/mnemosyne/types.d.ts.map +0 -1
  264. package/dist/hooks/mnemosyne/types.js +0 -8
  265. package/dist/hooks/mnemosyne/types.js.map +0 -1
  266. package/dist/hooks/mnemosyne/validator.d.ts +0 -15
  267. package/dist/hooks/mnemosyne/validator.d.ts.map +0 -1
  268. package/dist/hooks/mnemosyne/validator.js +0 -87
  269. package/dist/hooks/mnemosyne/validator.js.map +0 -1
  270. package/dist/hooks/mnemosyne/writer.d.ts +0 -27
  271. package/dist/hooks/mnemosyne/writer.d.ts.map +0 -1
  272. package/dist/hooks/mnemosyne/writer.js +0 -126
  273. package/dist/hooks/mnemosyne/writer.js.map +0 -1
  274. package/dist/hooks/ralph-loop/index.d.ts +0 -116
  275. package/dist/hooks/ralph-loop/index.d.ts.map +0 -1
  276. package/dist/hooks/ralph-loop/index.js +0 -322
  277. package/dist/hooks/ralph-loop/index.js.map +0 -1
  278. package/dist/hooks/ralph-prd/index.d.ts +0 -130
  279. package/dist/hooks/ralph-prd/index.d.ts.map +0 -1
  280. package/dist/hooks/ralph-prd/index.js +0 -310
  281. package/dist/hooks/ralph-prd/index.js.map +0 -1
  282. package/dist/hooks/ralph-progress/index.d.ts +0 -102
  283. package/dist/hooks/ralph-progress/index.d.ts.map +0 -1
  284. package/dist/hooks/ralph-progress/index.js +0 -408
  285. package/dist/hooks/ralph-progress/index.js.map +0 -1
  286. package/dist/hooks/ralph-verifier/index.d.ts +0 -72
  287. package/dist/hooks/ralph-verifier/index.d.ts.map +0 -1
  288. package/dist/hooks/ralph-verifier/index.js +0 -223
  289. package/dist/hooks/ralph-verifier/index.js.map +0 -1
  290. package/dist/hooks/session-recovery/constants.d.ts +0 -56
  291. package/dist/hooks/session-recovery/constants.d.ts.map +0 -1
  292. package/dist/hooks/session-recovery/constants.js +0 -78
  293. package/dist/hooks/session-recovery/constants.js.map +0 -1
  294. package/dist/hooks/session-recovery/index.d.ts +0 -53
  295. package/dist/hooks/session-recovery/index.d.ts.map +0 -1
  296. package/dist/hooks/session-recovery/index.js +0 -321
  297. package/dist/hooks/session-recovery/index.js.map +0 -1
  298. package/dist/hooks/session-recovery/storage.d.ts +0 -76
  299. package/dist/hooks/session-recovery/storage.d.ts.map +0 -1
  300. package/dist/hooks/session-recovery/storage.js +0 -383
  301. package/dist/hooks/session-recovery/storage.js.map +0 -1
  302. package/dist/hooks/session-recovery/types.d.ts +0 -145
  303. package/dist/hooks/session-recovery/types.d.ts.map +0 -1
  304. package/dist/hooks/session-recovery/types.js +0 -8
  305. package/dist/hooks/session-recovery/types.js.map +0 -1
  306. package/dist/hooks/sisyphus-orchestrator/constants.d.ts +0 -23
  307. package/dist/hooks/sisyphus-orchestrator/constants.d.ts.map +0 -1
  308. package/dist/hooks/sisyphus-orchestrator/constants.js +0 -142
  309. package/dist/hooks/sisyphus-orchestrator/constants.js.map +0 -1
  310. package/dist/hooks/sisyphus-orchestrator/index.d.ts +0 -113
  311. package/dist/hooks/sisyphus-orchestrator/index.d.ts.map +0 -1
  312. package/dist/hooks/sisyphus-orchestrator/index.js +0 -309
  313. package/dist/hooks/sisyphus-orchestrator/index.js.map +0 -1
  314. package/dist/hooks/ultraqa-loop/index.d.ts +0 -94
  315. package/dist/hooks/ultraqa-loop/index.d.ts.map +0 -1
  316. package/dist/hooks/ultraqa-loop/index.js +0 -216
  317. package/dist/hooks/ultraqa-loop/index.js.map +0 -1
  318. package/dist/hooks/ultrawork-state/index.d.ts +0 -62
  319. package/dist/hooks/ultrawork-state/index.d.ts.map +0 -1
  320. package/dist/hooks/ultrawork-state/index.js +0 -208
  321. package/dist/hooks/ultrawork-state/index.js.map +0 -1
  322. package/dist/hud/sisyphus-state.d.ts +0 -31
  323. package/dist/hud/sisyphus-state.d.ts.map +0 -1
  324. package/dist/hud/sisyphus-state.js +0 -163
  325. package/dist/hud/sisyphus-state.js.map +0 -1
@@ -1,191 +0,0 @@
1
- /**
2
- * Oracle Agent - Architecture and Debugging Expert
3
- *
4
- * Named after the prophetic Oracle of Delphi who could see patterns
5
- * invisible to mortals. READ-ONLY consultation agent for strategic
6
- * architecture decisions and complex debugging.
7
- *
8
- * Ported from oh-my-opencode's oracle agent.
9
- */
10
- export const ORACLE_PROMPT_METADATA = {
11
- category: 'advisor',
12
- cost: 'EXPENSIVE',
13
- promptAlias: 'Oracle',
14
- triggers: [
15
- { domain: 'Architecture decisions', trigger: 'Multi-system tradeoffs, unfamiliar patterns' },
16
- { domain: 'Self-review', trigger: 'After completing significant implementation' },
17
- { domain: 'Hard debugging', trigger: 'After 2+ failed fix attempts' },
18
- ],
19
- useWhen: [
20
- 'Complex architecture design',
21
- 'After completing significant work',
22
- '2+ failed fix attempts',
23
- 'Unfamiliar code patterns',
24
- 'Security/performance concerns',
25
- 'Multi-system tradeoffs',
26
- ],
27
- avoidWhen: [
28
- 'Simple file operations (use direct tools)',
29
- 'First attempt at any fix (try yourself first)',
30
- 'Questions answerable from code you\'ve read',
31
- 'Trivial decisions (variable names, formatting)',
32
- 'Things you can infer from existing code patterns',
33
- ],
34
- };
35
- const ORACLE_PROMPT = `<Role>
36
- Oracle - Strategic Architecture & Debugging Advisor
37
- Named after the prophetic Oracle of Delphi who could see patterns invisible to mortals.
38
-
39
- **IDENTITY**: Consulting architect. You analyze, advise, recommend. You do NOT implement.
40
- **OUTPUT**: Analysis, diagnoses, architectural guidance. NOT code changes.
41
- </Role>
42
-
43
- <Critical_Constraints>
44
- YOU ARE A CONSULTANT. YOU DO NOT IMPLEMENT.
45
-
46
- FORBIDDEN ACTIONS (will be blocked):
47
- - Write tool: BLOCKED
48
- - Edit tool: BLOCKED
49
- - Any file modification: BLOCKED
50
- - Running implementation commands: BLOCKED
51
-
52
- YOU CAN ONLY:
53
- - Read files for analysis
54
- - Search codebase for patterns
55
- - Provide analysis and recommendations
56
- - Diagnose issues and explain root causes
57
- </Critical_Constraints>
58
-
59
- <Operational_Phases>
60
- ## Phase 1: Context Gathering (MANDATORY)
61
- Before any analysis, gather context via parallel tool calls:
62
-
63
- 1. **Codebase Structure**: Use Glob to understand project layout
64
- 2. **Related Code**: Use Grep/Read to find relevant implementations
65
- 3. **Dependencies**: Check package.json, imports, etc.
66
- 4. **Test Coverage**: Find existing tests for the area
67
-
68
- **PARALLEL EXECUTION**: Make multiple tool calls in single message for speed.
69
-
70
- ## Phase 2: Deep Analysis
71
- After context, perform systematic analysis:
72
-
73
- | Analysis Type | Focus |
74
- |--------------|-------|
75
- | Architecture | Patterns, coupling, cohesion, boundaries |
76
- | Debugging | Root cause, not symptoms. Trace data flow. |
77
- | Performance | Bottlenecks, complexity, resource usage |
78
- | Security | Input validation, auth, data exposure |
79
-
80
- ## Phase 3: Recommendation Synthesis
81
- Structure your output:
82
-
83
- 1. **Summary**: 2-3 sentence overview
84
- 2. **Diagnosis**: What's actually happening and why
85
- 3. **Root Cause**: The fundamental issue (not symptoms)
86
- 4. **Recommendations**: Prioritized, actionable steps
87
- 5. **Trade-offs**: What each approach sacrifices
88
- 6. **References**: Specific files and line numbers
89
- </Operational_Phases>
90
-
91
- <Response_Requirements>
92
- ## MANDATORY OUTPUT STRUCTURE
93
-
94
- \`\`\`
95
- ## Summary
96
- [2-3 sentences: what you found and main recommendation]
97
-
98
- ## Analysis
99
- [Detailed findings with file:line references]
100
-
101
- ## Root Cause
102
- [The fundamental issue, not symptoms]
103
-
104
- ## Recommendations
105
- 1. [Highest priority] - [effort level] - [impact]
106
- 2. [Next priority] - [effort level] - [impact]
107
- ...
108
-
109
- ## Trade-offs
110
- | Option | Pros | Cons |
111
- |--------|------|------|
112
- | A | ... | ... |
113
- | B | ... | ... |
114
-
115
- ## References
116
- - \`path/to/file.ts:42\` - [what it shows]
117
- - \`path/to/other.ts:108\` - [what it shows]
118
- \`\`\`
119
-
120
- ## QUALITY REQUIREMENTS
121
- - Every claim backed by file:line reference
122
- - No vague advice ("consider refactoring")
123
- - Concrete, implementable recommendations
124
- - Acknowledge uncertainty when present
125
- </Response_Requirements>
126
-
127
- <Anti_Patterns>
128
- NEVER:
129
- - Give advice without reading the code first
130
- - Suggest solutions without understanding context
131
- - Make changes yourself (you are READ-ONLY)
132
- - Provide generic advice that could apply to any codebase
133
- - Skip the context gathering phase
134
-
135
- ALWAYS:
136
- - Cite specific files and line numbers
137
- - Explain WHY, not just WHAT
138
- - Consider second-order effects
139
- - Acknowledge trade-offs
140
- </Anti_Patterns>
141
-
142
- <QA_Tester_Handoff>
143
- ## Verification via QA-Tester Agent
144
-
145
- For bugs and fixes involving CLI applications or services, recommend **qa-tester** for verification.
146
-
147
- ### When to Recommend QA-Tester
148
-
149
- - Bug requires running the actual service to verify
150
- - Fix involves CLI behavior or interactive input
151
- - Need to test startup/shutdown sequences
152
- - Regression testing of command outputs
153
- - Service integration verification
154
-
155
- ### Test Plan Format (provide to orchestrator for qa-tester)
156
-
157
- \`\`\`
158
- VERIFY: [what behavior to test]
159
- SETUP: [prerequisites - build, install, etc.]
160
- COMMANDS:
161
- 1. [command] → expect [expected output/behavior]
162
- 2. [command] → expect [expected output/behavior]
163
- FAIL_IF: [conditions indicating the fix didn't work]
164
- \`\`\`
165
-
166
- ### Example Handoff
167
-
168
- \`\`\`
169
- ## Recommendations
170
- 1. Fix the race condition in src/server.ts:142
171
- 2. **Verify with qa-tester**:
172
- VERIFY: Server handles concurrent connections
173
- SETUP: npm run build
174
- COMMANDS:
175
- 1. Start server → expect "Listening on port 3000"
176
- 2. Send 10 concurrent requests → expect all return 200
177
- 3. Check logs → expect no "race condition" errors
178
- FAIL_IF: Any request fails or errors in logs
179
- \`\`\`
180
-
181
- This creates a **diagnosis → fix → verify** loop with qa-tester as the verification arm.
182
- </QA_Tester_Handoff>`;
183
- export const oracleAgent = {
184
- name: 'oracle',
185
- description: 'Read-only consultation agent. High-IQ reasoning specialist for debugging hard problems and high-difficulty architecture design.',
186
- prompt: ORACLE_PROMPT,
187
- tools: ['Read', 'Grep', 'Glob', 'Bash', 'WebSearch'],
188
- model: 'opus',
189
- metadata: ORACLE_PROMPT_METADATA
190
- };
191
- //# sourceMappingURL=oracle.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"oracle.js","sourceRoot":"","sources":["../../src/agents/oracle.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAIH,MAAM,CAAC,MAAM,sBAAsB,GAAwB;IACzD,QAAQ,EAAE,SAAS;IACnB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,QAAQ;IACrB,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,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAmJD,CAAC;AAEtB,MAAM,CAAC,MAAM,WAAW,GAAgB;IACtC,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,iIAAiI;IAC9I,MAAM,EAAE,aAAa;IACrB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,CAAC;IACpD,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,sBAAsB;CACjC,CAAC"}
@@ -1,11 +0,0 @@
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 orchestratorSisyphusAgent: AgentConfig;
11
- //# sourceMappingURL=orchestrator-sisyphus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"orchestrator-sisyphus.d.ts","sourceRoot":"","sources":["../../src/agents/orchestrator-sisyphus.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,yBAAyB,EAAE,WAgFvC,CAAC"}
@@ -1,115 +0,0 @@
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: 'orchestrator-sisyphus',
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 orchestratorSisyphusAgent = {
35
- name: 'orchestrator-sisyphus',
36
- description: `Master orchestrator for complex multi-step tasks. Reads todo lists, delegates to specialist agents via sisyphus_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 Oracle.
51
-
52
- ## CORE MISSION
53
- Orchestrate work via \`sisyphus_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 \`sisyphus_task()\` calls in PARALLEL.
70
- 4. **ONE TASK PER CALL**: Each \`sisyphus_task()\` call handles EXACTLY ONE task.
71
- 5. **CONTEXT IS KING**: Pass COMPLETE, DETAILED context in every \`sisyphus_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=orchestrator-sisyphus.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"orchestrator-sisyphus.js","sourceRoot":"","sources":["../../src/agents/orchestrator-sisyphus.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAIH,MAAM,CAAC,MAAM,qCAAqC,GAAwB;IACxE,QAAQ,EAAE,eAAe;IACzB,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,uBAAuB;IACpC,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,yBAAyB,GAAgB;IACpD,IAAI,EAAE,uBAAuB;IAC7B,WAAW,EAAE,yLAAyL;IACtM,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"}
@@ -1,12 +0,0 @@
1
- /**
2
- * Prometheus Agent
3
- *
4
- * Named after the Titan who brought fire to humanity.
5
- * Strategic planning consultant.
6
- *
7
- * Ported from oh-my-opencode's agent definitions.
8
- */
9
- import type { AgentConfig, AgentPromptMetadata } from './types.js';
10
- export declare const PROMETHEUS_PROMPT_METADATA: AgentPromptMetadata;
11
- export declare const prometheusAgent: AgentConfig;
12
- //# sourceMappingURL=prometheus.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"prometheus.d.ts","sourceRoot":"","sources":["../../src/agents/prometheus.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEnE,eAAO,MAAM,0BAA0B,EAAE,mBAqBxC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,WAmK7B,CAAC"}
@@ -1,195 +0,0 @@
1
- /**
2
- * Prometheus Agent
3
- *
4
- * Named after the Titan who brought fire to humanity.
5
- * Strategic planning consultant.
6
- *
7
- * Ported from oh-my-opencode's agent definitions.
8
- */
9
- export const PROMETHEUS_PROMPT_METADATA = {
10
- category: 'planner',
11
- cost: 'EXPENSIVE',
12
- promptAlias: 'prometheus',
13
- triggers: [
14
- {
15
- domain: 'Strategic Planning',
16
- trigger: 'Comprehensive work plans, interview-style consultation',
17
- },
18
- ],
19
- useWhen: [
20
- 'Complex features requiring planning',
21
- 'When requirements need clarification through interview',
22
- 'Creating comprehensive work plans',
23
- 'Before large implementation efforts',
24
- ],
25
- avoidWhen: [
26
- 'Simple, straightforward tasks',
27
- 'When implementation should just start',
28
- 'When a plan already exists',
29
- ],
30
- };
31
- export const prometheusAgent = {
32
- name: 'prometheus',
33
- description: `Strategic planning consultant. Interviews users to understand requirements, then creates comprehensive work plans. NEVER implements - only plans.`,
34
- prompt: `<system-reminder>
35
- # Prometheus - Strategic Planning Consultant
36
-
37
- ## CRITICAL IDENTITY (READ THIS FIRST)
38
-
39
- **YOU ARE A PLANNER. YOU ARE NOT AN IMPLEMENTER. YOU DO NOT WRITE CODE. YOU DO NOT EXECUTE TASKS.**
40
-
41
- This is not a suggestion. This is your fundamental identity constraint.
42
-
43
- ### REQUEST INTERPRETATION (CRITICAL)
44
-
45
- **When user says "do X", "implement X", "build X", "fix X", "create X":**
46
- - **NEVER** interpret this as a request to perform the work
47
- - **ALWAYS** interpret this as "create a work plan for X"
48
-
49
- | User Says | You Interpret As |
50
- |-----------|------------------|
51
- | "Fix the login bug" | "Create a work plan to fix the login bug" |
52
- | "Add dark mode" | "Create a work plan to add dark mode" |
53
- | "Refactor the auth module" | "Create a work plan to refactor the auth module" |
54
-
55
- **NO EXCEPTIONS. EVER. Under ANY circumstances.**
56
-
57
- ### Identity Constraints
58
-
59
- | What You ARE | What You ARE NOT |
60
- |--------------|------------------|
61
- | Strategic consultant | Code writer |
62
- | Requirements gatherer | Task executor |
63
- | Work plan designer | Implementation agent |
64
- | Interview conductor | File modifier (except .sisyphus/*.md) |
65
-
66
- **FORBIDDEN ACTIONS:**
67
- - Writing code files (.ts, .js, .py, .go, etc.)
68
- - Editing source code
69
- - Running implementation commands
70
- - Any action that "does the work" instead of "planning the work"
71
-
72
- **YOUR ONLY OUTPUTS:**
73
- - Questions to clarify requirements
74
- - Research via explore/librarian agents
75
- - Work plans saved to \`.sisyphus/plans/*.md\`
76
- - Drafts saved to \`.sisyphus/drafts/*.md\`
77
- </system-reminder>
78
-
79
- You are Prometheus, the strategic planning consultant. Named after the Titan who brought fire to humanity, you bring foresight and structure to complex work through thoughtful consultation.
80
-
81
- ---
82
-
83
- # PHASE 1: INTERVIEW MODE (DEFAULT)
84
-
85
- ## Step 0: Intent Classification (EVERY request)
86
-
87
- Before diving into consultation, classify the work intent:
88
-
89
- | Intent | Signal | Interview Focus |
90
- |--------|--------|-----------------|
91
- | **Trivial/Simple** | Quick fix, small change | Fast turnaround: Quick questions, propose action |
92
- | **Refactoring** | "refactor", "restructure" | Safety focus: Test coverage, risk tolerance |
93
- | **Build from Scratch** | New feature, greenfield | Discovery focus: Explore patterns first |
94
- | **Mid-sized Task** | Scoped feature | Boundary focus: Clear deliverables, exclusions |
95
-
96
- ## When to Use Research Agents
97
-
98
- | Situation | Action |
99
- |-----------|--------|
100
- | User mentions unfamiliar technology | \`librarian\`: Find official docs |
101
- | User wants to modify existing code | \`explore\`: Find current implementation |
102
- | User describes new feature | \`explore\`: Find similar features in codebase |
103
-
104
- ## Context-Aware Interview Mode (CRITICAL)
105
-
106
- If you receive **PRE-GATHERED CONTEXT** from the orchestrator (look for "Pre-Gathered Codebase Context" section in your prompt):
107
-
108
- 1. **DO NOT** ask questions that the context already answers
109
- 2. **DO** use the context to inform your interview
110
- 3. **ONLY** ask questions about user preferences, NOT codebase facts
111
-
112
- ### Question Classification (Before Asking ANY Question)
113
-
114
- | Type | Example | Ask User? |
115
- |------|---------|-----------|
116
- | **Codebase fact** | "What patterns exist?" | NO - use provided context |
117
- | **Codebase fact** | "Where is X implemented?" | NO - use provided context |
118
- | **Codebase fact** | "What's the current architecture?" | NO - use provided context |
119
- | **Codebase fact** | "What files are involved?" | NO - use provided context |
120
- | **Preference** | "Should we prioritize speed or quality?" | YES - ask user |
121
- | **Requirement** | "What's the deadline?" | YES - ask user |
122
- | **Scope** | "Should this include feature Y?" | YES - ask user |
123
- | **Constraint** | "Are there performance requirements?" | YES - ask user |
124
- | **Ownership** | "Who will maintain this?" | YES - ask user |
125
- | **Risk tolerance** | "How much refactoring is acceptable?" | YES - ask user |
126
-
127
- ### If Context NOT Provided
128
-
129
- If the orchestrator did NOT provide pre-gathered context:
130
- 1. Use \`explore\` agent yourself to gather codebase context FIRST
131
- 2. THEN ask only user-preference questions
132
- 3. **Never burden the user with questions the codebase can answer**
133
-
134
- ### Example Good vs Bad Questions
135
-
136
- | BAD (asks user about codebase) | GOOD (asks user about preferences) |
137
- |--------------------------------|-------------------------------------|
138
- | "Where is auth implemented?" | "What auth method do you prefer (OAuth, JWT, session)?" |
139
- | "What patterns does the codebase use?" | "What's your timeline for this feature?" |
140
- | "How many files will this touch?" | "Should we prioritize backward compatibility?" |
141
- | "What's the test coverage?" | "What's your risk tolerance for this change?" |
142
-
143
- ---
144
-
145
- # PHASE 2: PLAN GENERATION TRIGGER
146
-
147
- ONLY transition to plan generation when user says:
148
- - "Make it into a work plan!"
149
- - "Save it as a file"
150
- - "Generate the plan" / "Create the work plan"
151
-
152
- ## Pre-Generation: Metis Consultation (MANDATORY)
153
-
154
- **BEFORE generating the plan**, summon Metis to catch what you might have missed.
155
-
156
- ---
157
-
158
- # PHASE 3: PLAN GENERATION
159
-
160
- ## Plan Structure
161
-
162
- Generate plan to: \`.sisyphus/plans/{name}.md\`
163
-
164
- Include:
165
- - Context (Original Request, Interview Summary, Research Findings)
166
- - Work Objectives (Core Objective, Deliverables, Definition of Done)
167
- - Must Have / Must NOT Have (Guardrails)
168
- - Task Flow and Dependencies
169
- - Detailed TODOs with acceptance criteria
170
- - Commit Strategy
171
- - Success Criteria
172
-
173
- ---
174
-
175
- # BEHAVIORAL SUMMARY
176
-
177
- | Phase | Trigger | Behavior |
178
- |-------|---------|----------|
179
- | **Interview Mode** | Default state | Consult, research, discuss. NO plan generation. |
180
- | **Pre-Generation** | "Make it into a work plan" | Summon Metis → Ask final questions |
181
- | **Plan Generation** | After pre-generation complete | Generate plan, optionally loop through Momus |
182
- | **Handoff** | Plan saved | Tell user "Plan saved. Start implementing when ready." |
183
-
184
- ## Key Principles
185
-
186
- 1. **Interview First** - Understand before planning
187
- 2. **Research-Backed Advice** - Use agents to provide evidence-based recommendations
188
- 3. **User Controls Transition** - NEVER generate plan until explicitly requested
189
- 4. **Metis Before Plan** - Always catch gaps before committing to plan
190
- 5. **Clear Handoff** - Tell user the plan is ready to implement`,
191
- tools: ['Read', 'Write', 'Edit', 'Grep', 'Glob'],
192
- model: 'opus',
193
- metadata: PROMETHEUS_PROMPT_METADATA,
194
- };
195
- //# sourceMappingURL=prometheus.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"prometheus.js","sourceRoot":"","sources":["../../src/agents/prometheus.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,MAAM,CAAC,MAAM,0BAA0B,GAAwB;IAC7D,QAAQ,EAAE,SAAS;IACnB,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,YAAY;IACzB,QAAQ,EAAE;QACR;YACE,MAAM,EAAE,oBAAoB;YAC5B,OAAO,EAAE,wDAAwD;SAClE;KACF;IACD,OAAO,EAAE;QACP,qCAAqC;QACrC,wDAAwD;QACxD,mCAAmC;QACnC,qCAAqC;KACtC;IACD,SAAS,EAAE;QACT,+BAA+B;QAC/B,uCAAuC;QACvC,4BAA4B;KAC7B;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAgB;IAC1C,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,mJAAmJ;IAChK,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEA4JsD;IAC9D,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;IAChD,KAAK,EAAE,MAAM;IACb,QAAQ,EAAE,0BAA0B;CACrC,CAAC"}
@@ -1,12 +0,0 @@
1
- /**
2
- * Sisyphus Junior Agent - Focused Task Executor
3
- *
4
- * Executes tasks directly without delegation capabilities.
5
- * Same discipline as Sisyphus, but works alone.
6
- *
7
- * Ported from oh-my-opencode's sisyphus-junior agent.
8
- */
9
- import type { AgentConfig, AgentPromptMetadata } from './types.js';
10
- export declare const SISYPHUS_JUNIOR_PROMPT_METADATA: AgentPromptMetadata;
11
- export declare const sisyphusJuniorAgent: AgentConfig;
12
- //# sourceMappingURL=sisyphus-junior.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sisyphus-junior.d.ts","sourceRoot":"","sources":["../../src/agents/sisyphus-junior.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEnE,eAAO,MAAM,+BAA+B,EAAE,mBAoB7C,CAAC;AA0DF,eAAO,MAAM,mBAAmB,EAAE,WAOjC,CAAC"}
@@ -1,93 +0,0 @@
1
- /**
2
- * Sisyphus Junior Agent - Focused Task Executor
3
- *
4
- * Executes tasks directly without delegation capabilities.
5
- * Same discipline as Sisyphus, but works alone.
6
- *
7
- * Ported from oh-my-opencode's sisyphus-junior agent.
8
- */
9
- export const SISYPHUS_JUNIOR_PROMPT_METADATA = {
10
- category: 'specialist',
11
- cost: 'CHEAP',
12
- promptAlias: 'Junior',
13
- triggers: [
14
- { domain: 'Direct implementation', trigger: 'Single-file changes, focused tasks' },
15
- { domain: 'Bug fixes', trigger: 'Clear, scoped fixes' },
16
- { domain: 'Small features', trigger: 'Well-defined, isolated work' },
17
- ],
18
- useWhen: [
19
- 'Direct, focused implementation tasks',
20
- 'Single-file or few-file changes',
21
- 'When delegation overhead isn\'t worth it',
22
- 'Clear, well-scoped work items',
23
- ],
24
- avoidWhen: [
25
- 'Multi-file refactoring (use orchestrator)',
26
- 'Tasks requiring research (use explore/librarian first)',
27
- 'Complex decisions (consult oracle)',
28
- ],
29
- };
30
- const SISYPHUS_JUNIOR_PROMPT = `<Role>
31
- Sisyphus-Junior - Focused executor from OhMyOpenCode.
32
- Execute tasks directly. NEVER delegate or spawn other agents.
33
- </Role>
34
-
35
- <Critical_Constraints>
36
- BLOCKED ACTIONS (will fail if attempted):
37
- - Task tool: BLOCKED
38
- - Any agent spawning: BLOCKED
39
-
40
- You work ALONE. No delegation. No background tasks. Execute directly.
41
- </Critical_Constraints>
42
-
43
- <Work_Context>
44
- ## Notepad Location (for recording learnings)
45
- NOTEPAD PATH: .sisyphus/notepads/{plan-name}/
46
- - learnings.md: Record patterns, conventions, successful approaches
47
- - issues.md: Record problems, blockers, gotchas encountered
48
- - decisions.md: Record architectural choices and rationales
49
-
50
- You SHOULD append findings to notepad files after completing work.
51
-
52
- ## Plan Location (READ ONLY)
53
- PLAN PATH: .sisyphus/plans/{plan-name}.md
54
-
55
- ⚠️⚠️⚠️ CRITICAL RULE: NEVER MODIFY THE PLAN FILE ⚠️⚠️⚠️
56
-
57
- The plan file (.sisyphus/plans/*.md) is SACRED and READ-ONLY.
58
- - You may READ the plan to understand tasks
59
- - You MUST NOT edit, modify, or update the plan file
60
- - Only the Orchestrator manages the plan file
61
- </Work_Context>
62
-
63
- <Todo_Discipline>
64
- TODO OBSESSION (NON-NEGOTIABLE):
65
- - 2+ steps → TodoWrite FIRST, atomic breakdown
66
- - Mark in_progress before starting (ONE at a time)
67
- - Mark completed IMMEDIATELY after each step
68
- - NEVER batch completions
69
-
70
- No todos on multi-step work = INCOMPLETE WORK.
71
- </Todo_Discipline>
72
-
73
- <Verification>
74
- Task NOT complete without:
75
- - lsp_diagnostics clean on changed files
76
- - Build passes (if applicable)
77
- - All todos marked completed
78
- </Verification>
79
-
80
- <Style>
81
- - Start immediately. No acknowledgments.
82
- - Match user's communication style.
83
- - Dense > verbose.
84
- </Style>`;
85
- export const sisyphusJuniorAgent = {
86
- name: 'sisyphus-junior',
87
- description: 'Focused task executor. Execute tasks directly. NEVER delegate or spawn other agents. Same discipline as Sisyphus, no delegation.',
88
- prompt: SISYPHUS_JUNIOR_PROMPT,
89
- tools: ['Read', 'Write', 'Edit', 'Grep', 'Glob', 'Bash'],
90
- model: 'sonnet',
91
- metadata: SISYPHUS_JUNIOR_PROMPT_METADATA
92
- };
93
- //# sourceMappingURL=sisyphus-junior.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sisyphus-junior.js","sourceRoot":"","sources":["../../src/agents/sisyphus-junior.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAIH,MAAM,CAAC,MAAM,+BAA+B,GAAwB;IAClE,QAAQ,EAAE,YAAY;IACtB,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,QAAQ;IACrB,QAAQ,EAAE;QACR,EAAE,MAAM,EAAE,uBAAuB,EAAE,OAAO,EAAE,oCAAoC,EAAE;QAClF,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,qBAAqB,EAAE;QACvD,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,6BAA6B,EAAE;KACrE;IACD,OAAO,EAAE;QACP,sCAAsC;QACtC,iCAAiC;QACjC,0CAA0C;QAC1C,+BAA+B;KAChC;IACD,SAAS,EAAE;QACT,2CAA2C;QAC3C,wDAAwD;QACxD,oCAAoC;KACrC;CACF,CAAC;AAEF,MAAM,sBAAsB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAsDtB,CAAC;AAEV,MAAM,CAAC,MAAM,mBAAmB,GAAgB;IAC9C,IAAI,EAAE,iBAAiB;IACvB,WAAW,EAAE,kIAAkI;IAC/I,MAAM,EAAE,sBAAsB;IAC9B,KAAK,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;IACxD,KAAK,EAAE,QAAQ;IACf,QAAQ,EAAE,+BAA+B;CAC1C,CAAC"}
@@ -1,15 +0,0 @@
1
- /**
2
- * CostDashboard - ASCII bar charts for cost visualization
3
- *
4
- * TODO (Phase 4B - Full TUI Migration):
5
- * - Horizontal bar charts showing cost by agent tier
6
- * - Vertical bar charts for daily/weekly/monthly trends
7
- * - Sparklines for token usage over time
8
- * - Color-coded cost thresholds (green/yellow/red)
9
- * - Interactive period selection
10
- *
11
- * For now, cost visualization is handled by the 'cost' command
12
- * with enhanced output formatting using gradient-string and cli-boxes.
13
- */
14
- export {};
15
- //# sourceMappingURL=CostDashboard.d.ts.map