oh-my-codex 0.15.2 → 0.16.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 (524) hide show
  1. package/Cargo.lock +10 -7
  2. package/Cargo.toml +1 -1
  3. package/README.md +3 -0
  4. package/crates/omx-explore/Cargo.toml +3 -0
  5. package/crates/omx-explore/src/main.rs +517 -16
  6. package/dist/agents/__tests__/native-config.test.js +33 -0
  7. package/dist/agents/__tests__/native-config.test.js.map +1 -1
  8. package/dist/autoresearch/goal.d.ts +90 -0
  9. package/dist/autoresearch/goal.d.ts.map +1 -0
  10. package/dist/autoresearch/goal.js +237 -0
  11. package/dist/autoresearch/goal.js.map +1 -0
  12. package/dist/autoresearch/skill-validation.d.ts +1 -0
  13. package/dist/autoresearch/skill-validation.d.ts.map +1 -1
  14. package/dist/autoresearch/skill-validation.js +10 -3
  15. package/dist/autoresearch/skill-validation.js.map +1 -1
  16. package/dist/catalog/__tests__/generator.test.js +9 -4
  17. package/dist/catalog/__tests__/generator.test.js.map +1 -1
  18. package/dist/catalog/__tests__/plugin-bundle-ssot.test.js +29 -2
  19. package/dist/catalog/__tests__/plugin-bundle-ssot.test.js.map +1 -1
  20. package/dist/catalog/__tests__/schema.test.js +14 -3
  21. package/dist/catalog/__tests__/schema.test.js.map +1 -1
  22. package/dist/catalog/schema.js +1 -1
  23. package/dist/catalog/schema.js.map +1 -1
  24. package/dist/cli/__tests__/autoresearch-goal.test.d.ts +2 -0
  25. package/dist/cli/__tests__/autoresearch-goal.test.d.ts.map +1 -0
  26. package/dist/cli/__tests__/autoresearch-goal.test.js +194 -0
  27. package/dist/cli/__tests__/autoresearch-goal.test.js.map +1 -0
  28. package/dist/cli/__tests__/cleanup.test.js +82 -1
  29. package/dist/cli/__tests__/cleanup.test.js.map +1 -1
  30. package/dist/cli/__tests__/codex-plugin-layout.test.js +7 -4
  31. package/dist/cli/__tests__/codex-plugin-layout.test.js.map +1 -1
  32. package/dist/cli/__tests__/doctor-context-window-warning.test.d.ts +2 -0
  33. package/dist/cli/__tests__/doctor-context-window-warning.test.d.ts.map +1 -0
  34. package/dist/cli/__tests__/doctor-context-window-warning.test.js +122 -0
  35. package/dist/cli/__tests__/doctor-context-window-warning.test.js.map +1 -0
  36. package/dist/cli/__tests__/doctor-warning-copy.test.js +25 -2
  37. package/dist/cli/__tests__/doctor-warning-copy.test.js.map +1 -1
  38. package/dist/cli/__tests__/exec.test.js +1 -0
  39. package/dist/cli/__tests__/exec.test.js.map +1 -1
  40. package/dist/cli/__tests__/explore.test.js +48 -18
  41. package/dist/cli/__tests__/explore.test.js.map +1 -1
  42. package/dist/cli/__tests__/index.test.js +222 -10
  43. package/dist/cli/__tests__/index.test.js.map +1 -1
  44. package/dist/cli/__tests__/launch-fallback.test.js +58 -0
  45. package/dist/cli/__tests__/launch-fallback.test.js.map +1 -1
  46. package/dist/cli/__tests__/mcp-serve.test.js +27 -1
  47. package/dist/cli/__tests__/mcp-serve.test.js.map +1 -1
  48. package/dist/cli/__tests__/native-assets.test.js +26 -1
  49. package/dist/cli/__tests__/native-assets.test.js.map +1 -1
  50. package/dist/cli/__tests__/package-bin-contract.test.js +2 -2
  51. package/dist/cli/__tests__/package-bin-contract.test.js.map +1 -1
  52. package/dist/cli/__tests__/performance-goal.test.d.ts +2 -0
  53. package/dist/cli/__tests__/performance-goal.test.d.ts.map +1 -0
  54. package/dist/cli/__tests__/performance-goal.test.js +144 -0
  55. package/dist/cli/__tests__/performance-goal.test.js.map +1 -0
  56. package/dist/cli/__tests__/question.test.js +8 -0
  57. package/dist/cli/__tests__/question.test.js.map +1 -1
  58. package/dist/cli/__tests__/ralph-goal-mode-contract.test.d.ts +2 -0
  59. package/dist/cli/__tests__/ralph-goal-mode-contract.test.d.ts.map +1 -0
  60. package/dist/cli/__tests__/ralph-goal-mode-contract.test.js +31 -0
  61. package/dist/cli/__tests__/ralph-goal-mode-contract.test.js.map +1 -0
  62. package/dist/cli/__tests__/ralph-prd-deep-interview.test.js +5 -4
  63. package/dist/cli/__tests__/ralph-prd-deep-interview.test.js.map +1 -1
  64. package/dist/cli/__tests__/ralph-prd-smoke.test.js +7 -0
  65. package/dist/cli/__tests__/ralph-prd-smoke.test.js.map +1 -1
  66. package/dist/cli/__tests__/ralph.test.js +59 -1
  67. package/dist/cli/__tests__/ralph.test.js.map +1 -1
  68. package/dist/cli/__tests__/setup-install-mode.test.js +57 -21
  69. package/dist/cli/__tests__/setup-install-mode.test.js.map +1 -1
  70. package/dist/cli/__tests__/setup-refresh.test.js +27 -8
  71. package/dist/cli/__tests__/setup-refresh.test.js.map +1 -1
  72. package/dist/cli/__tests__/setup-scope.test.js +20 -10
  73. package/dist/cli/__tests__/setup-scope.test.js.map +1 -1
  74. package/dist/cli/__tests__/setup-skill-validation.test.js +11 -11
  75. package/dist/cli/__tests__/setup-skill-validation.test.js.map +1 -1
  76. package/dist/cli/__tests__/setup-skills-overwrite.test.js +12 -12
  77. package/dist/cli/__tests__/setup-skills-overwrite.test.js.map +1 -1
  78. package/dist/cli/__tests__/team.test.js +242 -10
  79. package/dist/cli/__tests__/team.test.js.map +1 -1
  80. package/dist/cli/__tests__/ultragoal.test.d.ts +2 -0
  81. package/dist/cli/__tests__/ultragoal.test.d.ts.map +1 -0
  82. package/dist/cli/__tests__/ultragoal.test.js +106 -0
  83. package/dist/cli/__tests__/ultragoal.test.js.map +1 -0
  84. package/dist/cli/__tests__/uninstall.test.js +11 -0
  85. package/dist/cli/__tests__/uninstall.test.js.map +1 -1
  86. package/dist/cli/autoresearch-goal.d.ts +3 -0
  87. package/dist/cli/autoresearch-goal.d.ts.map +1 -0
  88. package/dist/cli/autoresearch-goal.js +175 -0
  89. package/dist/cli/autoresearch-goal.js.map +1 -0
  90. package/dist/cli/cleanup.d.ts +3 -1
  91. package/dist/cli/cleanup.d.ts.map +1 -1
  92. package/dist/cli/cleanup.js +42 -2
  93. package/dist/cli/cleanup.js.map +1 -1
  94. package/dist/cli/doctor.d.ts.map +1 -1
  95. package/dist/cli/doctor.js +95 -3
  96. package/dist/cli/doctor.js.map +1 -1
  97. package/dist/cli/explore.d.ts.map +1 -1
  98. package/dist/cli/explore.js +10 -2
  99. package/dist/cli/explore.js.map +1 -1
  100. package/dist/cli/index.d.ts +21 -2
  101. package/dist/cli/index.d.ts.map +1 -1
  102. package/dist/cli/index.js +268 -30
  103. package/dist/cli/index.js.map +1 -1
  104. package/dist/cli/mcp-serve.d.ts +1 -0
  105. package/dist/cli/mcp-serve.d.ts.map +1 -1
  106. package/dist/cli/mcp-serve.js +8 -0
  107. package/dist/cli/mcp-serve.js.map +1 -1
  108. package/dist/cli/native-assets.js +1 -1
  109. package/dist/cli/native-assets.js.map +1 -1
  110. package/dist/cli/performance-goal.d.ts +3 -0
  111. package/dist/cli/performance-goal.d.ts.map +1 -0
  112. package/dist/cli/performance-goal.js +186 -0
  113. package/dist/cli/performance-goal.js.map +1 -0
  114. package/dist/cli/ralph.d.ts +2 -0
  115. package/dist/cli/ralph.d.ts.map +1 -1
  116. package/dist/cli/ralph.js +25 -1
  117. package/dist/cli/ralph.js.map +1 -1
  118. package/dist/cli/setup.d.ts.map +1 -1
  119. package/dist/cli/setup.js +13 -6
  120. package/dist/cli/setup.js.map +1 -1
  121. package/dist/cli/team.d.ts +6 -0
  122. package/dist/cli/team.d.ts.map +1 -1
  123. package/dist/cli/team.js +113 -33
  124. package/dist/cli/team.js.map +1 -1
  125. package/dist/cli/tmux-hook.d.ts.map +1 -1
  126. package/dist/cli/tmux-hook.js +2 -1
  127. package/dist/cli/tmux-hook.js.map +1 -1
  128. package/dist/cli/ultragoal.d.ts +3 -0
  129. package/dist/cli/ultragoal.d.ts.map +1 -0
  130. package/dist/cli/ultragoal.js +191 -0
  131. package/dist/cli/ultragoal.js.map +1 -0
  132. package/dist/cli/uninstall.d.ts.map +1 -1
  133. package/dist/cli/uninstall.js +4 -2
  134. package/dist/cli/uninstall.js.map +1 -1
  135. package/dist/config/__tests__/generator-idempotent.test.js +39 -6
  136. package/dist/config/__tests__/generator-idempotent.test.js.map +1 -1
  137. package/dist/config/__tests__/generator-notify.test.js +5 -0
  138. package/dist/config/__tests__/generator-notify.test.js.map +1 -1
  139. package/dist/config/commit-lore-guard.d.ts +3 -0
  140. package/dist/config/commit-lore-guard.d.ts.map +1 -0
  141. package/dist/config/commit-lore-guard.js +9 -0
  142. package/dist/config/commit-lore-guard.js.map +1 -0
  143. package/dist/config/generator.d.ts +14 -4
  144. package/dist/config/generator.d.ts.map +1 -1
  145. package/dist/config/generator.js +166 -66
  146. package/dist/config/generator.js.map +1 -1
  147. package/dist/config/omx-first-party-mcp.d.ts +1 -0
  148. package/dist/config/omx-first-party-mcp.d.ts.map +1 -1
  149. package/dist/config/omx-first-party-mcp.js +4 -1
  150. package/dist/config/omx-first-party-mcp.js.map +1 -1
  151. package/dist/goal-workflows/__tests__/artifacts.test.d.ts +2 -0
  152. package/dist/goal-workflows/__tests__/artifacts.test.d.ts.map +1 -0
  153. package/dist/goal-workflows/__tests__/artifacts.test.js +96 -0
  154. package/dist/goal-workflows/__tests__/artifacts.test.js.map +1 -0
  155. package/dist/goal-workflows/__tests__/codex-goal-snapshot.test.d.ts +2 -0
  156. package/dist/goal-workflows/__tests__/codex-goal-snapshot.test.d.ts.map +1 -0
  157. package/dist/goal-workflows/__tests__/codex-goal-snapshot.test.js +54 -0
  158. package/dist/goal-workflows/__tests__/codex-goal-snapshot.test.js.map +1 -0
  159. package/dist/goal-workflows/artifacts.d.ts +62 -0
  160. package/dist/goal-workflows/artifacts.d.ts.map +1 -0
  161. package/dist/goal-workflows/artifacts.js +132 -0
  162. package/dist/goal-workflows/artifacts.js.map +1 -0
  163. package/dist/goal-workflows/codex-goal-snapshot.d.ts +28 -0
  164. package/dist/goal-workflows/codex-goal-snapshot.d.ts.map +1 -0
  165. package/dist/goal-workflows/codex-goal-snapshot.js +110 -0
  166. package/dist/goal-workflows/codex-goal-snapshot.js.map +1 -0
  167. package/dist/goal-workflows/handoff.d.ts +10 -0
  168. package/dist/goal-workflows/handoff.d.ts.map +1 -0
  169. package/dist/goal-workflows/handoff.js +31 -0
  170. package/dist/goal-workflows/handoff.js.map +1 -0
  171. package/dist/goal-workflows/validation.d.ts +13 -0
  172. package/dist/goal-workflows/validation.d.ts.map +1 -0
  173. package/dist/goal-workflows/validation.js +36 -0
  174. package/dist/goal-workflows/validation.js.map +1 -0
  175. package/dist/hooks/__tests__/agents-overlay.test.js +59 -0
  176. package/dist/hooks/__tests__/agents-overlay.test.js.map +1 -1
  177. package/dist/hooks/__tests__/anti-slop-workflow.test.js +109 -18
  178. package/dist/hooks/__tests__/anti-slop-workflow.test.js.map +1 -1
  179. package/dist/hooks/__tests__/keyword-detector.test.js +45 -32
  180. package/dist/hooks/__tests__/keyword-detector.test.js.map +1 -1
  181. package/dist/hooks/__tests__/notify-fallback-watcher.test.js +3 -3
  182. package/dist/hooks/__tests__/notify-fallback-watcher.test.js.map +1 -1
  183. package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js +2 -1
  184. package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js.map +1 -1
  185. package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js +17 -24
  186. package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js.map +1 -1
  187. package/dist/hooks/__tests__/prompt-guidance-wave-two.test.js +3 -3
  188. package/dist/hooks/__tests__/prompt-guidance-wave-two.test.js.map +1 -1
  189. package/dist/hooks/__tests__/task-size-detector.test.js +1 -1
  190. package/dist/hooks/__tests__/task-size-detector.test.js.map +1 -1
  191. package/dist/hooks/__tests__/visual-ralph-skill.test.js +3 -3
  192. package/dist/hooks/__tests__/visual-ralph-skill.test.js.map +1 -1
  193. package/dist/hooks/__tests__/visual-verdict-loop.test.js +7 -11
  194. package/dist/hooks/__tests__/visual-verdict-loop.test.js.map +1 -1
  195. package/dist/hooks/agents-overlay.d.ts.map +1 -1
  196. package/dist/hooks/agents-overlay.js +23 -2
  197. package/dist/hooks/agents-overlay.js.map +1 -1
  198. package/dist/hooks/keyword-detector.d.ts.map +1 -1
  199. package/dist/hooks/keyword-detector.js +12 -13
  200. package/dist/hooks/keyword-detector.js.map +1 -1
  201. package/dist/hooks/keyword-registry.d.ts.map +1 -1
  202. package/dist/hooks/keyword-registry.js +2 -10
  203. package/dist/hooks/keyword-registry.js.map +1 -1
  204. package/dist/hooks/prompt-guidance-contract.d.ts.map +1 -1
  205. package/dist/hooks/prompt-guidance-contract.js +0 -4
  206. package/dist/hooks/prompt-guidance-contract.js.map +1 -1
  207. package/dist/hooks/session.js +2 -2
  208. package/dist/hooks/session.js.map +1 -1
  209. package/dist/hooks/task-size-detector.d.ts.map +1 -1
  210. package/dist/hooks/task-size-detector.js +1 -0
  211. package/dist/hooks/task-size-detector.js.map +1 -1
  212. package/dist/hud/__tests__/index.test.js +30 -14
  213. package/dist/hud/__tests__/index.test.js.map +1 -1
  214. package/dist/hud/__tests__/reconcile.test.js +29 -7
  215. package/dist/hud/__tests__/reconcile.test.js.map +1 -1
  216. package/dist/hud/reconcile.d.ts +2 -1
  217. package/dist/hud/reconcile.d.ts.map +1 -1
  218. package/dist/hud/reconcile.js +12 -0
  219. package/dist/hud/reconcile.js.map +1 -1
  220. package/dist/mcp/__tests__/bootstrap.test.js +15 -2
  221. package/dist/mcp/__tests__/bootstrap.test.js.map +1 -1
  222. package/dist/mcp/__tests__/state-paths.test.js +54 -0
  223. package/dist/mcp/__tests__/state-paths.test.js.map +1 -1
  224. package/dist/mcp/__tests__/state-server.test.js +36 -0
  225. package/dist/mcp/__tests__/state-server.test.js.map +1 -1
  226. package/dist/mcp/bootstrap.d.ts +1 -1
  227. package/dist/mcp/bootstrap.d.ts.map +1 -1
  228. package/dist/mcp/bootstrap.js +9 -7
  229. package/dist/mcp/bootstrap.js.map +1 -1
  230. package/dist/mcp/state-paths.d.ts +17 -0
  231. package/dist/mcp/state-paths.d.ts.map +1 -1
  232. package/dist/mcp/state-paths.js +36 -2
  233. package/dist/mcp/state-paths.js.map +1 -1
  234. package/dist/modes/__tests__/base-session-scope.test.js +26 -0
  235. package/dist/modes/__tests__/base-session-scope.test.js.map +1 -1
  236. package/dist/modes/base.d.ts +1 -0
  237. package/dist/modes/base.d.ts.map +1 -1
  238. package/dist/modes/base.js +35 -5
  239. package/dist/modes/base.js.map +1 -1
  240. package/dist/notifications/__tests__/http-client.test.d.ts +2 -0
  241. package/dist/notifications/__tests__/http-client.test.d.ts.map +1 -0
  242. package/dist/notifications/__tests__/http-client.test.js +90 -0
  243. package/dist/notifications/__tests__/http-client.test.js.map +1 -0
  244. package/dist/notifications/__tests__/notifier.test.js +22 -60
  245. package/dist/notifications/__tests__/notifier.test.js.map +1 -1
  246. package/dist/notifications/dispatcher.d.ts.map +1 -1
  247. package/dist/notifications/dispatcher.js +35 -60
  248. package/dist/notifications/dispatcher.js.map +1 -1
  249. package/dist/notifications/http-client.d.ts +22 -0
  250. package/dist/notifications/http-client.d.ts.map +1 -0
  251. package/dist/notifications/http-client.js +298 -0
  252. package/dist/notifications/http-client.js.map +1 -0
  253. package/dist/notifications/notifier.d.ts +3 -2
  254. package/dist/notifications/notifier.d.ts.map +1 -1
  255. package/dist/notifications/notifier.js +17 -22
  256. package/dist/notifications/notifier.js.map +1 -1
  257. package/dist/openclaw/__tests__/dispatcher.test.js +63 -2
  258. package/dist/openclaw/__tests__/dispatcher.test.js.map +1 -1
  259. package/dist/openclaw/dispatcher.d.ts.map +1 -1
  260. package/dist/openclaw/dispatcher.js +3 -2
  261. package/dist/openclaw/dispatcher.js.map +1 -1
  262. package/dist/performance-goal/artifacts.d.ts +76 -0
  263. package/dist/performance-goal/artifacts.d.ts.map +1 -0
  264. package/dist/performance-goal/artifacts.js +221 -0
  265. package/dist/performance-goal/artifacts.js.map +1 -0
  266. package/dist/pipeline/__tests__/stages.test.js +423 -14
  267. package/dist/pipeline/__tests__/stages.test.js.map +1 -1
  268. package/dist/pipeline/stages/team-exec.d.ts +8 -4
  269. package/dist/pipeline/stages/team-exec.d.ts.map +1 -1
  270. package/dist/pipeline/stages/team-exec.js +181 -13
  271. package/dist/pipeline/stages/team-exec.js.map +1 -1
  272. package/dist/planning/__tests__/artifacts.test.js +261 -1
  273. package/dist/planning/__tests__/artifacts.test.js.map +1 -1
  274. package/dist/planning/artifact-names.d.ts +13 -0
  275. package/dist/planning/artifact-names.d.ts.map +1 -0
  276. package/dist/planning/artifact-names.js +108 -0
  277. package/dist/planning/artifact-names.js.map +1 -0
  278. package/dist/planning/artifacts.d.ts +23 -1
  279. package/dist/planning/artifacts.d.ts.map +1 -1
  280. package/dist/planning/artifacts.js +171 -59
  281. package/dist/planning/artifacts.js.map +1 -1
  282. package/dist/ralph/__tests__/persistence.test.js +21 -1
  283. package/dist/ralph/__tests__/persistence.test.js.map +1 -1
  284. package/dist/ralph/persistence.d.ts.map +1 -1
  285. package/dist/ralph/persistence.js +6 -4
  286. package/dist/ralph/persistence.js.map +1 -1
  287. package/dist/ralplan/__tests__/runtime.test.js +2 -0
  288. package/dist/ralplan/__tests__/runtime.test.js.map +1 -1
  289. package/dist/ralplan/runtime.d.ts.map +1 -1
  290. package/dist/ralplan/runtime.js +6 -0
  291. package/dist/ralplan/runtime.js.map +1 -1
  292. package/dist/scripts/__tests__/codex-native-hook.test.js +1749 -88
  293. package/dist/scripts/__tests__/codex-native-hook.test.js.map +1 -1
  294. package/dist/scripts/__tests__/hook-derived-watcher.test.js +33 -1
  295. package/dist/scripts/__tests__/hook-derived-watcher.test.js.map +1 -1
  296. package/dist/scripts/__tests__/run-test-files.test.js +36 -0
  297. package/dist/scripts/__tests__/run-test-files.test.js.map +1 -1
  298. package/dist/scripts/codex-native-hook.d.ts.map +1 -1
  299. package/dist/scripts/codex-native-hook.js +570 -45
  300. package/dist/scripts/codex-native-hook.js.map +1 -1
  301. package/dist/scripts/codex-native-pre-post.d.ts +7 -0
  302. package/dist/scripts/codex-native-pre-post.d.ts.map +1 -1
  303. package/dist/scripts/codex-native-pre-post.js +341 -15
  304. package/dist/scripts/codex-native-pre-post.js.map +1 -1
  305. package/dist/scripts/hook-derived-watcher.js +2 -1
  306. package/dist/scripts/hook-derived-watcher.js.map +1 -1
  307. package/dist/scripts/notify-fallback-watcher.js +2 -1
  308. package/dist/scripts/notify-fallback-watcher.js.map +1 -1
  309. package/dist/scripts/notify-hook/orchestration-intent.d.ts +1 -2
  310. package/dist/scripts/notify-hook/orchestration-intent.d.ts.map +1 -1
  311. package/dist/scripts/notify-hook/orchestration-intent.js +2 -3
  312. package/dist/scripts/notify-hook/orchestration-intent.js.map +1 -1
  313. package/dist/scripts/notify-hook/team-leader-nudge.d.ts +0 -2
  314. package/dist/scripts/notify-hook/team-leader-nudge.d.ts.map +1 -1
  315. package/dist/scripts/notify-hook/team-leader-nudge.js +8 -60
  316. package/dist/scripts/notify-hook/team-leader-nudge.js.map +1 -1
  317. package/dist/scripts/notify-hook/team-worker-posttooluse.js +1 -1
  318. package/dist/scripts/notify-hook/team-worker-posttooluse.js.map +1 -1
  319. package/dist/scripts/notify-hook/team-worker-stop.d.ts +15 -0
  320. package/dist/scripts/notify-hook/team-worker-stop.d.ts.map +1 -0
  321. package/dist/scripts/notify-hook/team-worker-stop.js +224 -0
  322. package/dist/scripts/notify-hook/team-worker-stop.js.map +1 -0
  323. package/dist/scripts/notify-hook/team-worker.d.ts.map +1 -1
  324. package/dist/scripts/notify-hook/team-worker.js +26 -18
  325. package/dist/scripts/notify-hook/team-worker.js.map +1 -1
  326. package/dist/scripts/notify-hook.js +1 -1
  327. package/dist/scripts/notify-hook.js.map +1 -1
  328. package/dist/scripts/run-test-files.js +17 -1
  329. package/dist/scripts/run-test-files.js.map +1 -1
  330. package/dist/scripts/sync-plugin-mirror.d.ts +1 -0
  331. package/dist/scripts/sync-plugin-mirror.d.ts.map +1 -1
  332. package/dist/scripts/sync-plugin-mirror.js +10 -4
  333. package/dist/scripts/sync-plugin-mirror.js.map +1 -1
  334. package/dist/state/__tests__/operations.test.js +26 -0
  335. package/dist/state/__tests__/operations.test.js.map +1 -1
  336. package/dist/state/__tests__/skill-active.test.js +76 -0
  337. package/dist/state/__tests__/skill-active.test.js.map +1 -1
  338. package/dist/state/operations.d.ts +3 -1
  339. package/dist/state/operations.d.ts.map +1 -1
  340. package/dist/state/operations.js +8 -4
  341. package/dist/state/operations.js.map +1 -1
  342. package/dist/state/skill-active.d.ts +1 -0
  343. package/dist/state/skill-active.d.ts.map +1 -1
  344. package/dist/state/skill-active.js +54 -13
  345. package/dist/state/skill-active.js.map +1 -1
  346. package/dist/team/__tests__/api-interop.test.js +279 -0
  347. package/dist/team/__tests__/api-interop.test.js.map +1 -1
  348. package/dist/team/__tests__/approved-execution.test.d.ts +2 -0
  349. package/dist/team/__tests__/approved-execution.test.d.ts.map +1 -0
  350. package/dist/team/__tests__/approved-execution.test.js +124 -0
  351. package/dist/team/__tests__/approved-execution.test.js.map +1 -0
  352. package/dist/team/__tests__/delivery-e2e-smoke.test.js +2 -4
  353. package/dist/team/__tests__/delivery-e2e-smoke.test.js.map +1 -1
  354. package/dist/team/__tests__/delivery-log.test.d.ts +2 -0
  355. package/dist/team/__tests__/delivery-log.test.d.ts.map +1 -0
  356. package/dist/team/__tests__/delivery-log.test.js +44 -0
  357. package/dist/team/__tests__/delivery-log.test.js.map +1 -0
  358. package/dist/team/__tests__/model-contract.test.js +40 -9
  359. package/dist/team/__tests__/model-contract.test.js.map +1 -1
  360. package/dist/team/__tests__/repo-aware-decomposition.test.js +41 -0
  361. package/dist/team/__tests__/repo-aware-decomposition.test.js.map +1 -1
  362. package/dist/team/__tests__/role-router.test.js +4 -4
  363. package/dist/team/__tests__/role-router.test.js.map +1 -1
  364. package/dist/team/__tests__/runtime-boxed-state.test.d.ts +2 -0
  365. package/dist/team/__tests__/runtime-boxed-state.test.d.ts.map +1 -0
  366. package/dist/team/__tests__/runtime-boxed-state.test.js +39 -0
  367. package/dist/team/__tests__/runtime-boxed-state.test.js.map +1 -0
  368. package/dist/team/__tests__/runtime-cli.test.js +24 -0
  369. package/dist/team/__tests__/runtime-cli.test.js.map +1 -1
  370. package/dist/team/__tests__/runtime.test.js +563 -72
  371. package/dist/team/__tests__/runtime.test.js.map +1 -1
  372. package/dist/team/__tests__/state-root.test.js +13 -0
  373. package/dist/team/__tests__/state-root.test.js.map +1 -1
  374. package/dist/team/__tests__/state.test.js +13 -0
  375. package/dist/team/__tests__/state.test.js.map +1 -1
  376. package/dist/team/__tests__/team-identity.test.d.ts +2 -0
  377. package/dist/team/__tests__/team-identity.test.d.ts.map +1 -0
  378. package/dist/team/__tests__/team-identity.test.js +166 -0
  379. package/dist/team/__tests__/team-identity.test.js.map +1 -0
  380. package/dist/team/__tests__/tmux-session.test.js +58 -1
  381. package/dist/team/__tests__/tmux-session.test.js.map +1 -1
  382. package/dist/team/__tests__/worker-bootstrap.test.js +62 -0
  383. package/dist/team/__tests__/worker-bootstrap.test.js.map +1 -1
  384. package/dist/team/api-interop.d.ts +1 -0
  385. package/dist/team/api-interop.d.ts.map +1 -1
  386. package/dist/team/api-interop.js +163 -132
  387. package/dist/team/api-interop.js.map +1 -1
  388. package/dist/team/approved-execution.d.ts +37 -0
  389. package/dist/team/approved-execution.d.ts.map +1 -0
  390. package/dist/team/approved-execution.js +136 -0
  391. package/dist/team/approved-execution.js.map +1 -0
  392. package/dist/team/delivery-log.d.ts +1 -1
  393. package/dist/team/delivery-log.d.ts.map +1 -1
  394. package/dist/team/delivery-log.js +2 -1
  395. package/dist/team/delivery-log.js.map +1 -1
  396. package/dist/team/followup-planner.js +2 -2
  397. package/dist/team/followup-planner.js.map +1 -1
  398. package/dist/team/goal-workflow.d.ts +20 -0
  399. package/dist/team/goal-workflow.d.ts.map +1 -0
  400. package/dist/team/goal-workflow.js +57 -0
  401. package/dist/team/goal-workflow.js.map +1 -0
  402. package/dist/team/orchestrator.js +2 -2
  403. package/dist/team/orchestrator.js.map +1 -1
  404. package/dist/team/repo-aware-decomposition.d.ts +3 -0
  405. package/dist/team/repo-aware-decomposition.d.ts.map +1 -1
  406. package/dist/team/repo-aware-decomposition.js +2 -0
  407. package/dist/team/repo-aware-decomposition.js.map +1 -1
  408. package/dist/team/role-router.js +5 -5
  409. package/dist/team/role-router.js.map +1 -1
  410. package/dist/team/runtime-cli.d.ts +32 -2
  411. package/dist/team/runtime-cli.d.ts.map +1 -1
  412. package/dist/team/runtime-cli.js +78 -26
  413. package/dist/team/runtime-cli.js.map +1 -1
  414. package/dist/team/runtime.d.ts +7 -1
  415. package/dist/team/runtime.d.ts.map +1 -1
  416. package/dist/team/runtime.js +383 -40
  417. package/dist/team/runtime.js.map +1 -1
  418. package/dist/team/scaling.d.ts.map +1 -1
  419. package/dist/team/scaling.js +2 -0
  420. package/dist/team/scaling.js.map +1 -1
  421. package/dist/team/state.d.ts +9 -0
  422. package/dist/team/state.d.ts.map +1 -1
  423. package/dist/team/state.js +21 -0
  424. package/dist/team/state.js.map +1 -1
  425. package/dist/team/team-identity.d.ts +26 -0
  426. package/dist/team/team-identity.d.ts.map +1 -0
  427. package/dist/team/team-identity.js +169 -0
  428. package/dist/team/team-identity.js.map +1 -0
  429. package/dist/team/tmux-session.d.ts +18 -0
  430. package/dist/team/tmux-session.d.ts.map +1 -1
  431. package/dist/team/tmux-session.js +65 -3
  432. package/dist/team/tmux-session.js.map +1 -1
  433. package/dist/team/worker-bootstrap.d.ts +4 -0
  434. package/dist/team/worker-bootstrap.d.ts.map +1 -1
  435. package/dist/team/worker-bootstrap.js +28 -2
  436. package/dist/team/worker-bootstrap.js.map +1 -1
  437. package/dist/ultragoal/__tests__/artifacts.test.d.ts +2 -0
  438. package/dist/ultragoal/__tests__/artifacts.test.d.ts.map +1 -0
  439. package/dist/ultragoal/__tests__/artifacts.test.js +93 -0
  440. package/dist/ultragoal/__tests__/artifacts.test.js.map +1 -0
  441. package/dist/ultragoal/artifacts.d.ts +89 -0
  442. package/dist/ultragoal/artifacts.d.ts.map +1 -0
  443. package/dist/ultragoal/artifacts.js +233 -0
  444. package/dist/ultragoal/artifacts.js.map +1 -0
  445. package/dist/utils/__tests__/agents-model-table.test.js +3 -1
  446. package/dist/utils/__tests__/agents-model-table.test.js.map +1 -1
  447. package/dist/utils/__tests__/paths.test.js +31 -1
  448. package/dist/utils/__tests__/paths.test.js.map +1 -1
  449. package/dist/utils/agents-model-table.d.ts.map +1 -1
  450. package/dist/utils/agents-model-table.js +12 -1
  451. package/dist/utils/agents-model-table.js.map +1 -1
  452. package/dist/utils/paths.d.ts +2 -0
  453. package/dist/utils/paths.d.ts.map +1 -1
  454. package/dist/utils/paths.js +23 -7
  455. package/dist/utils/paths.js.map +1 -1
  456. package/dist/verification/__tests__/ci-rust-gates.test.js +30 -19
  457. package/dist/verification/__tests__/ci-rust-gates.test.js.map +1 -1
  458. package/package.json +5 -5
  459. package/plugins/oh-my-codex/.codex-plugin/plugin.json +1 -1
  460. package/plugins/oh-my-codex/skills/ai-slop-cleaner/SKILL.md +30 -5
  461. package/plugins/oh-my-codex/skills/ask/SKILL.md +58 -0
  462. package/plugins/oh-my-codex/skills/autoresearch-goal/SKILL.md +36 -0
  463. package/plugins/oh-my-codex/skills/omx-setup/SKILL.md +2 -2
  464. package/plugins/oh-my-codex/skills/performance-goal/SKILL.md +65 -0
  465. package/plugins/oh-my-codex/skills/plan/SKILL.md +1 -1
  466. package/plugins/oh-my-codex/skills/ralph/SKILL.md +22 -3
  467. package/plugins/oh-my-codex/skills/team/SKILL.md +6 -2
  468. package/plugins/oh-my-codex/skills/ultragoal/SKILL.md +49 -0
  469. package/plugins/oh-my-codex/skills/visual-ralph/SKILL.md +9 -9
  470. package/prompts/api-reviewer.md +1 -1
  471. package/prompts/code-reviewer.md +2 -0
  472. package/prompts/performance-reviewer.md +1 -1
  473. package/prompts/quality-reviewer.md +1 -1
  474. package/prompts/quality-strategist.md +2 -2
  475. package/prompts/style-reviewer.md +1 -1
  476. package/prompts/test-engineer.md +1 -1
  477. package/skills/ai-slop-cleaner/SKILL.md +30 -5
  478. package/skills/ask/SKILL.md +58 -0
  479. package/skills/ask-claude/SKILL.md +3 -54
  480. package/skills/ask-gemini/SKILL.md +3 -54
  481. package/skills/autoresearch-goal/SKILL.md +36 -0
  482. package/skills/build-fix/SKILL.md +4 -139
  483. package/skills/deepsearch/SKILL.md +4 -32
  484. package/skills/ecomode/SKILL.md +4 -108
  485. package/skills/help/SKILL.md +4 -196
  486. package/skills/note/SKILL.md +4 -56
  487. package/skills/omx-setup/SKILL.md +2 -2
  488. package/skills/performance-goal/SKILL.md +65 -0
  489. package/skills/plan/SKILL.md +1 -1
  490. package/skills/ralph/SKILL.md +22 -3
  491. package/skills/ralph-init/SKILL.md +4 -40
  492. package/skills/review/SKILL.md +4 -32
  493. package/skills/security-review/SKILL.md +4 -294
  494. package/skills/swarm/SKILL.md +4 -19
  495. package/skills/tdd/SKILL.md +4 -100
  496. package/skills/team/SKILL.md +6 -2
  497. package/skills/trace/SKILL.md +4 -27
  498. package/skills/ultragoal/SKILL.md +49 -0
  499. package/skills/visual-ralph/SKILL.md +9 -9
  500. package/skills/visual-verdict/SKILL.md +4 -70
  501. package/skills/web-clone/SKILL.md +4 -18
  502. package/src/scripts/__tests__/codex-native-hook.test.ts +2923 -1030
  503. package/src/scripts/__tests__/hook-derived-watcher.test.ts +45 -1
  504. package/src/scripts/__tests__/run-test-files.test.ts +46 -0
  505. package/src/scripts/codex-native-hook.ts +696 -46
  506. package/src/scripts/codex-native-pre-post.ts +369 -16
  507. package/src/scripts/hook-derived-watcher.ts +2 -1
  508. package/src/scripts/notify-fallback-watcher.ts +2 -1
  509. package/src/scripts/notify-hook/orchestration-intent.ts +1 -3
  510. package/src/scripts/notify-hook/team-leader-nudge.ts +7 -63
  511. package/src/scripts/notify-hook/team-worker-posttooluse.ts +1 -1
  512. package/src/scripts/notify-hook/team-worker-stop.ts +246 -0
  513. package/src/scripts/notify-hook/team-worker.ts +23 -14
  514. package/src/scripts/notify-hook.ts +1 -1
  515. package/src/scripts/run-test-files.ts +20 -1
  516. package/src/scripts/sync-plugin-mirror.ts +13 -4
  517. package/templates/catalog-manifest.json +45 -27
  518. package/plugins/oh-my-codex/skills/ask-claude/SKILL.md +0 -61
  519. package/plugins/oh-my-codex/skills/ask-gemini/SKILL.md +0 -61
  520. package/plugins/oh-my-codex/skills/help/SKILL.md +0 -202
  521. package/plugins/oh-my-codex/skills/note/SKILL.md +0 -62
  522. package/plugins/oh-my-codex/skills/security-review/SKILL.md +0 -300
  523. package/plugins/oh-my-codex/skills/trace/SKILL.md +0 -33
  524. package/plugins/oh-my-codex/skills/visual-verdict/SKILL.md +0 -76
@@ -1,145 +1,10 @@
1
1
  ---
2
2
  name: build-fix
3
- description: Fix build and TypeScript errors with minimal changes
3
+ description: Build Fix deprecated shim
4
4
  ---
5
5
 
6
- # Build Fix Skill
6
+ # Build Fix deprecated
7
7
 
8
- Fix build and compilation errors quickly with minimal code changes. Get the build green without refactoring.
8
+ Hard-deprecated. Do not invoke or route this skill. Build failures should be handled by the active execution, debugging, or verification workflow.
9
9
 
10
- ## When to Use
11
-
12
- This skill activates when:
13
- - User says "fix the build", "build is broken"
14
- - TypeScript compilation fails
15
- - the build command or type checker reports errors
16
- - User requests "minimal fixes" for errors
17
-
18
- ## What It Does
19
-
20
- ## GPT-5.5 Guidance Alignment
21
-
22
- - Default to outcome-first progress and completion reporting: state the target result, evidence, validation status, and stop condition before adding process detail.
23
- - Treat newer user task updates as local overrides for the active workflow branch while preserving earlier non-conflicting constraints.
24
- - If correctness depends on additional inspection, retrieval, execution, or verification, keep using the relevant tools until the build-fix workflow is grounded; stop once enough evidence exists.
25
- - Continue through clear, low-risk, reversible next steps automatically; ask only when the next step is materially branching, destructive, credentialed, external-production, or preference-dependent.
26
-
27
- Delegates to the `build-fixer` agent (STANDARD tier) to:
28
-
29
- 1. **Collect Errors**
30
- - Run the project's type check command (e.g., `tsc --noEmit`, `mypy`, `cargo check`, `go vet`)
31
- - Or run the project's build command to get build failures
32
- - Categorize errors by type and severity
33
-
34
- 2. **Fix Strategically**
35
- - Add type annotations where missing
36
- - Add null checks where needed
37
- - Fix import/export statements
38
- - Resolve module resolution issues
39
- - Fix linter errors blocking build
40
-
41
- 3. **Minimal Diff Strategy**
42
- - NO refactoring of unrelated code
43
- - NO architectural changes
44
- - NO performance optimizations
45
- - ONLY what's needed to make build pass
46
-
47
- 4. **Verify**
48
- - Run the project's type check command after each fix
49
- - Ensure no new errors introduced
50
- - Stop when build passes
51
-
52
- ## Command Guidance
53
-
54
- - Prefer `omx sparkshell` for noisy build/typecheck runs, repository search/listing, and bounded read-only inspection when summary output is enough.
55
- - Use raw shell when exact stdout/stderr, shell composition, dependency installation, or low-level debugging fidelity is required.
56
- - If `omx sparkshell` returns incomplete, ambiguous, or `summary unavailable` output, retry with a more precise command or the raw shell immediately.
57
-
58
- ## Agent Delegation
59
-
60
- ```
61
- delegate(
62
- role="build-fixer",
63
- tier="STANDARD",
64
- prompt="BUILD FIX TASK
65
-
66
- Fix all build and TypeScript errors with minimal changes.
67
-
68
- Requirements:
69
- - Run tsc/build to collect errors
70
- - Fix errors one at a time
71
- - Verify each fix doesn't introduce new errors
72
- - NO refactoring, NO architectural changes
73
- - Stop when build passes
74
-
75
- Output: Build error resolution report with:
76
- - List of errors fixed
77
- - Lines changed per fix
78
- - Final build status"
79
- )
80
- ```
81
-
82
- ## Stop Conditions
83
-
84
- The build-fixer agent stops when:
85
- - Type check command exits with code 0
86
- - Build command completes successfully
87
- - No new errors introduced
88
-
89
- ## Output Format
90
-
91
- ```
92
- BUILD FIX REPORT
93
- ================
94
-
95
- Errors Fixed: 12
96
- Files Modified: 8
97
- Lines Changed: 47
98
-
99
- Fixes Applied:
100
- 1. src/utils/validation.ts:15 - Added return type annotation
101
- 2. src/components/Header.tsx:42 - Added null check for props.user
102
- 3. src/api/client.ts:89 - Fixed import path for axios
103
- ...
104
-
105
- Final Build Status: ✓ PASSING
106
- Verification: [type check command] (exit code 0)
107
- ```
108
-
109
- ## Best Practices
110
-
111
- - **One fix at a time** - Easier to verify and debug
112
- - **Minimal changes** - Don't refactor while fixing
113
- - **Document why** - Comment non-obvious fixes
114
- - **Test after** - Ensure tests still pass
115
-
116
-
117
- ## Scenario Examples
118
-
119
- **Good:** The user says `continue` after the workflow already has a clear next step. Continue the current branch of work instead of restarting or re-asking the same question.
120
-
121
- **Good:** The user changes only the output shape or downstream delivery step (for example `make a PR`). Preserve earlier non-conflicting workflow constraints and apply the update locally.
122
-
123
- **Bad:** The user says `continue`, and the workflow restarts discovery or stops before the missing verification/evidence is gathered.
124
-
125
- ## Use with Other Skills
126
-
127
- Combine with other skills for comprehensive fixing:
128
-
129
- **With Ultrawork:**
130
- ```
131
- /ultrawork fix all build errors
132
- ```
133
- Spawns multiple build-fixer agents in parallel for different files.
134
-
135
- **With Ralph:**
136
- ```
137
- /ralph fix the build
138
- ```
139
- Keeps trying until build passes, even if it takes multiple iterations.
140
-
141
- **With Team:**
142
- ```
143
- /team "debug build failures and fix type errors"
144
- ```
145
- Uses: explore → build-fixer → verifier workflow.
10
+ Task: {{ARGUMENTS}}
@@ -1,38 +1,10 @@
1
1
  ---
2
2
  name: deepsearch
3
- description: Thorough codebase search
3
+ description: Deepsearch deprecated shim
4
4
  ---
5
5
 
6
- # Deep Search Mode
6
+ # Deepsearch deprecated
7
7
 
8
- [DEEPSEARCH MODE ACTIVATED]
8
+ Hard-deprecated. Do not invoke or route this skill. Use `$analyze` for deep repository analysis or `omx explore` for fast repo-local lookup.
9
9
 
10
- ## Objective
11
-
12
- Perform thorough search of the codebase for the specified query, pattern, or concept.
13
-
14
- ## Search Strategy
15
-
16
- 1. **Broad Search**
17
- - Search for exact matches
18
- - Search for related terms and variations
19
- - Check common locations (components, utils, services, hooks)
20
-
21
- 2. **Deep Dive**
22
- - Read files with matches
23
- - Check imports/exports to find connections
24
- - Follow the trail (what imports this? what does this import?)
25
-
26
- 3. **Synthesize**
27
- - Map out where the concept is used
28
- - Identify the main implementation
29
- - Note related functionality
30
-
31
- ## Output Format
32
-
33
- - **Primary Locations** (main implementations)
34
- - **Related Files** (dependencies, consumers)
35
- - **Usage Patterns** (how it's used across the codebase)
36
- - **Key Insights** (patterns, conventions, gotchas)
37
-
38
- Focus on being comprehensive but concise. Cite file paths and line numbers.
10
+ Task: {{ARGUMENTS}}
@@ -1,114 +1,10 @@
1
1
  ---
2
2
  name: ecomode
3
- description: Token-efficient model routing modifier
3
+ description: Ecomode deprecated shim
4
4
  ---
5
5
 
6
- # Ecomode Skill
6
+ # Ecomode deprecated
7
7
 
8
- Token-efficient model routing. This is a **MODIFIER**, not a standalone execution mode.
8
+ Hard-deprecated. Do not invoke or route this skill. Use `$ultrawork` directly for maintained high-throughput execution workflows.
9
9
 
10
- ## What Ecomode Does
11
-
12
- Overrides default model selection to prefer cheaper tiers:
13
-
14
- | Default Tier | Ecomode Override |
15
- |--------------|------------------|
16
- | THOROUGH | STANDARD, THOROUGH only if essential |
17
- | STANDARD | LOW first, STANDARD if needed |
18
- | LOW | LOW - no change |
19
-
20
- ## What Ecomode Does NOT Do
21
-
22
- - **Persistence**: Use `ralph` for "don't stop until done"
23
- - **Parallel Execution**: Use `ultrawork` for parallel agents
24
- - **Delegation Enforcement**: Always active via core orchestration
25
-
26
- ## Combining Ecomode with Other Modes
27
-
28
- Ecomode is a modifier that combines with execution modes:
29
-
30
- | Combination | Effect |
31
- |-------------|--------|
32
- | `eco ralph` | Ralph loop with cheaper agents |
33
- | `eco ultrawork` | Parallel execution with cheaper agents |
34
- | `eco autopilot` | Full autonomous with cost optimization |
35
-
36
- ## Ecomode Routing Rules
37
-
38
- **ALWAYS prefer lower tiers. Only escalate when task genuinely requires it.**
39
-
40
- | Decision | Rule |
41
- |----------|------|
42
- | DEFAULT | Start with LOW tier for most tasks |
43
- | UPGRADE | Escalate to STANDARD when LOW tier fails or task requires multi-file reasoning |
44
- | AVOID | THOROUGH tier - only for planning/critique if essential |
45
-
46
- ## Agent Selection in Ecomode
47
-
48
- **FIRST ACTION:** Before delegating any work, read the agent reference file:
49
- ```
50
- Read file: docs/shared/agent-tiers.md
51
- ```
52
- This provides the complete agent tier matrix, MCP tool assignments, and selection guidance.
53
-
54
- **Ecomode preference order:**
55
-
56
- ```
57
- // PREFERRED - Use for most tasks
58
- delegate(role="executor", tier="LOW", task="...")
59
- delegate(role="explore", tier="LOW", task="...")
60
- delegate(role="architect", tier="LOW", task="...")
61
-
62
- // FALLBACK - Only if LOW fails
63
- delegate(role="executor", tier="STANDARD", task="...")
64
- delegate(role="architect", tier="STANDARD", task="...")
65
-
66
- // AVOID - Only for planning/critique if essential
67
- delegate(role="planner", tier="THOROUGH", task="...")
68
- ```
69
-
70
- ## Delegation Enforcement
71
-
72
- Ecomode maintains all delegation rules from core protocol with cost-optimized routing:
73
-
74
- | Action | Delegate To | Model |
75
- |--------|-------------|-------|
76
- | Code changes | executor | LOW / STANDARD |
77
- | Analysis | architect | LOW |
78
- | Search | explore | LOW |
79
- | Documentation | writer | LOW |
80
-
81
- ### Background Execution
82
- Long-running commands (install, build, test) run in background. Maximum 20 concurrent.
83
-
84
- ## Token Savings Tips
85
-
86
- 1. **Batch similar tasks** to one agent instead of spawning many
87
- 2. **Use explore (LOW tier)** for file discovery, not architect
88
- 3. **Prefer LOW-tier executor routing** for simple changes - only upgrade if it fails
89
- 4. **Use writer (LOW tier)** for all documentation tasks
90
- 5. **Avoid THOROUGH-tier agents** unless the task genuinely requires deep reasoning
91
-
92
- ## Disabling Ecomode
93
-
94
- Ecomode can be completely disabled via config. When disabled, all ecomode keywords are ignored.
95
-
96
- Set in `~/.codex/.omx-config.json`:
97
- ```json
98
- {
99
- "ecomode": {
100
- "enabled": false
101
- }
102
- }
103
- ```
104
-
105
- ## State Management
106
-
107
- Use `omx_state` MCP tools for ecomode lifecycle state.
108
-
109
- - **On activation**:
110
- `state_write({mode: "ecomode", active: true})`
111
- - **On deactivation/completion**:
112
- `state_write({mode: "ecomode", active: false})`
113
- - **On cancellation/cleanup**:
114
- run `$cancel` (which should call `state_clear(mode="ecomode")`)
10
+ Task: {{ARGUMENTS}}
@@ -1,202 +1,10 @@
1
1
  ---
2
2
  name: help
3
- description: Guide on using oh-my-codex plugin
3
+ description: Help deprecated skill
4
4
  ---
5
5
 
6
- # How OMX Works
6
+ # Help deprecated
7
7
 
8
- Plain English works as best-effort guidance — OMX inspects each prompt and may add advisory routing context to steer the model toward a suitable lane. This is **advisory prompt-routing context**: it does not activate a skill or workflow by itself. Explicit keywords remain the deterministic control surface when you want exact, guaranteed routing.
8
+ Hard-deprecated. Do not invoke or route this skill. Use `$omx-setup`, `omx setup`, or `omx doctor` directly for setup, install, and troubleshooting guidance.
9
9
 
10
- **Triage lanes** (when no keyword matches): complex/multi-step prompts may receive HEAVY guidance (autopilot-shaped); repo-local read-only lookups receive LIGHT/explore guidance; implementation work receives LIGHT/executor guidance; UI work receives LIGHT/designer guidance; external official-doc/reference/source-backed lookup receives LIGHT/researcher guidance; simple conversational prompts receive no injection (PASS). To opt out per prompt, include a phrase such as `no workflow`, `just chat`, or `plain answer`.
11
-
12
- ## What Happens Automatically
13
-
14
- | When You... | I Automatically... |
15
- |-------------|-------------------|
16
- | Give me a complex task | Parallelize and delegate to specialist agents |
17
- | Ask me to plan something | Start a planning interview |
18
- | Need something done completely | Persist until verified complete |
19
- | Work on UI/frontend | Activate design sensibility |
20
- | Say "stop" or "cancel" | Intelligently stop current operation |
21
-
22
- ## Magic Keywords (Optional Shortcuts)
23
-
24
- You can include these words naturally in your request for explicit control:
25
-
26
- | Keyword | Effect | Example |
27
- |---------|--------|---------|
28
- | **ralph** | Persistence mode | "ralph: fix all the bugs" |
29
- | **ralplan** | Iterative planning | "ralplan this feature" |
30
- | **ulw** | Max parallelism | "ulw refactor the API" |
31
- | **plan** | Planning interview | "plan the new endpoints" |
32
-
33
- **ralph includes ultrawork:** When you activate ralph mode, it automatically includes ultrawork's parallel execution. No need to combine keywords.
34
-
35
- ## Stopping Things
36
-
37
- Just say:
38
- - "stop"
39
- - "cancel"
40
- - "abort"
41
-
42
- I'll figure out what to stop based on context.
43
-
44
- ## First Time Setup
45
-
46
- If you haven't configured OMX yet:
47
-
48
- ```
49
- /omx-setup
50
- ```
51
-
52
- This is the primary setup command for full OMX runtime wiring. Codex plugin install/discovery can expose packaged skills/workflows plus plugin-scoped companion metadata for MCP servers and apps, while native/runtime hooks remain setup-owned; it is not a replacement for `npm install -g oh-my-codex` plus `omx setup`. Legacy setup mode installs native agents/prompts; plugin setup mode archives stale legacy prompt/native-agent files and keeps config/hooks/optional AGENTS.md/HUD/runtime wiring current, including native `.codex/hooks.json` coverage. Plugin caches may appear under `${CODEX_HOME:-~/.codex}/plugins/cache/$MARKETPLACE_NAME/oh-my-codex/$VERSION/` (or `local` for local installs).
53
-
54
- If you only need lightweight directory guidance scaffolding for `AGENTS.md` files, use:
55
-
56
- ```bash
57
- omx agents-init .
58
- ```
59
-
60
- That command is intentionally narrower than full setup: it only bootstraps `AGENTS.md` files for the target directory and its immediate child directories.
61
-
62
- ## For 2.x Users
63
-
64
- Your old commands still work! `/ralph`, `/ultrawork`, `/plan`, etc. all function exactly as before.
65
-
66
- But now you don't NEED them - everything is automatic.
67
-
68
- ---
69
-
70
- ## Usage Analysis
71
-
72
- Analyze your oh-my-codex usage and get tailored recommendations to improve your workflow.
73
-
74
- > Note: This replaces the former `/learn-about-omc` skill.
75
-
76
- ### What It Does
77
-
78
- 1. Reads token tracking from `~/.omx/state/token-tracking.jsonl`
79
- 2. Reads session history from `.omx/state/session-history.json`
80
- 3. Analyzes agent usage patterns
81
- 4. Identifies underutilized features
82
- 5. Recommends configuration changes
83
-
84
- ### Step 1: Gather Data
85
-
86
- ```bash
87
- # Check for token tracking data
88
- TOKEN_FILE="$HOME/.omx/state/token-tracking.jsonl"
89
- SESSION_FILE=".omx/state/session-history.json"
90
- CONFIG_FILE="$HOME/.codex/.omx-config.json"
91
-
92
- echo "Analyzing OMX Usage..."
93
- echo ""
94
-
95
- # Check what data is available
96
- HAS_TOKENS=false
97
- HAS_SESSIONS=false
98
- HAS_CONFIG=false
99
-
100
- if [[ -f "$TOKEN_FILE" ]]; then
101
- HAS_TOKENS=true
102
- TOKEN_COUNT=$(wc -l < "$TOKEN_FILE")
103
- echo "Token records found: $TOKEN_COUNT"
104
- fi
105
-
106
- if [[ -f "$SESSION_FILE" ]]; then
107
- HAS_SESSIONS=true
108
- SESSION_COUNT=$(cat "$SESSION_FILE" | jq '.sessions | length' 2>/dev/null || echo "0")
109
- echo "Sessions found: $SESSION_COUNT"
110
- fi
111
-
112
- if [[ -f "$CONFIG_FILE" ]]; then
113
- HAS_CONFIG=true
114
- DEFAULT_MODE=$(cat "$CONFIG_FILE" | jq -r '.defaultExecutionMode // "not set"')
115
- echo "Default execution mode: $DEFAULT_MODE"
116
- fi
117
- ```
118
-
119
- ### Step 2: Analyze Agent Usage (if token data exists)
120
-
121
- ```bash
122
- if [[ "$HAS_TOKENS" == "true" ]]; then
123
- echo ""
124
- echo "TOP AGENTS BY USAGE:"
125
- cat "$TOKEN_FILE" | jq -r '.agentName // "main"' | sort | uniq -c | sort -rn | head -10
126
-
127
- echo ""
128
- echo "MODEL DISTRIBUTION:"
129
- cat "$TOKEN_FILE" | jq -r '.modelName' | sort | uniq -c | sort -rn
130
- fi
131
- ```
132
-
133
- ### Step 3: Generate Recommendations
134
-
135
- Based on patterns found, output recommendations:
136
-
137
- **If high Opus usage (>40%) and no ecomode:**
138
- - "Consider using ecomode for routine tasks to save tokens"
139
-
140
- **If no team usage:**
141
- - "Try /team for coordinated review workflows"
142
-
143
- **If no security-reviewer usage:**
144
- - "Use security-reviewer after auth/API changes"
145
-
146
- **If defaultExecutionMode not set:**
147
- - "Set defaultExecutionMode in /omx-setup for consistent behavior"
148
-
149
- ### Step 4: Output Report
150
-
151
- Format a summary with:
152
- - Token summary (total, by model)
153
- - Top agents used
154
- - Underutilized features
155
- - Personalized recommendations
156
-
157
- ### Example Output
158
-
159
- ```
160
- 📊 Your OMX Usage Analysis
161
-
162
- TOKEN SUMMARY:
163
- - Total records: 1,234
164
- - By Reasoning Effort: high 45%, medium 40%, low 15%
165
-
166
- TOP AGENTS:
167
- 1. executor (234 uses)
168
- 2. architect (89 uses)
169
- 3. explore (67 uses)
170
-
171
- UNDERUTILIZED FEATURES:
172
- - ecomode: 0 uses (could save ~30% on routine tasks)
173
- - team: 0 uses (great for coordinated workflows)
174
-
175
- RECOMMENDATIONS:
176
- 1. Set defaultExecutionMode: "ecomode" to save tokens
177
- 2. Try /team for PR review workflows
178
- 3. Use explore agent before architect to save context
179
- ```
180
-
181
- ### Graceful Degradation
182
-
183
- If no data found:
184
-
185
- ```
186
- 📊 Limited Usage Data Available
187
-
188
- No token tracking found. To enable tracking:
189
- 1. Ensure ~/.omx/state/ directory exists
190
- 2. Run any OMX command to start tracking
191
-
192
- Tip: Run /omx-setup to configure OMX properly.
193
- ```
194
-
195
- ## Need More Help?
196
-
197
- - **README**: https://github.com/Yeachan-Heo/oh-my-codex
198
- - **Issues**: https://github.com/Yeachan-Heo/oh-my-codex/issues
199
-
200
- ---
201
-
202
- *Version: 4.2.3*
10
+ Task: {{ARGUMENTS}}
@@ -1,62 +1,10 @@
1
1
  ---
2
2
  name: note
3
- description: Save notes to notepad.md for compaction resilience
3
+ description: Note deprecated shim
4
4
  ---
5
5
 
6
- # Note Skill
6
+ # Note deprecated
7
7
 
8
- Save important context to `.omx/notepad.md` that survives conversation compaction.
8
+ Hard-deprecated. Do not invoke or route this skill. Use OMX persistent memory/notepad surfaces directly when notes are required.
9
9
 
10
- ## Usage
11
-
12
- | Command | Action |
13
- |---------|--------|
14
- | `/note <content>` | Add to Working Memory with timestamp |
15
- | `/note --priority <content>` | Add to Priority Context (always loaded) |
16
- | `/note --manual <content>` | Add to MANUAL section (never pruned) |
17
- | `/note --show` | Display current notepad contents |
18
- | `/note --prune` | Remove entries older than 7 days |
19
- | `/note --clear` | Clear Working Memory (keep Priority + MANUAL) |
20
-
21
- ## Sections
22
-
23
- ### Priority Context (500 char limit)
24
- - **Always** injected on session start
25
- - Use for critical facts: "Project uses pnpm", "API in src/api/client.ts"
26
- - Keep it SHORT - this eats into your context budget
27
-
28
- ### Working Memory
29
- - Timestamped session notes
30
- - Auto-pruned after 7 days
31
- - Good for: debugging breadcrumbs, temporary findings
32
-
33
- ### MANUAL
34
- - Never auto-pruned
35
- - User-controlled permanent notes
36
- - Good for: team contacts, deployment info
37
-
38
- ## Examples
39
-
40
- ```
41
- /note Found auth bug in UserContext - missing useEffect dependency
42
- /note --priority Project uses TypeScript strict mode, all files in src/
43
- /note --manual Contact: api-team@company.com for backend questions
44
- /note --show
45
- /note --prune
46
- ```
47
-
48
- ## Behavior
49
-
50
- 1. Creates `.omx/notepad.md` if it doesn't exist
51
- 2. Parses the argument to determine section
52
- 3. Appends content with timestamp (for Working Memory)
53
- 4. Warns if Priority Context exceeds 500 chars
54
- 5. Confirms what was saved
55
-
56
- ## Integration
57
-
58
- Notepad content is automatically loaded on session start:
59
- - Priority Context: ALWAYS loaded
60
- - Working Memory: Loaded if recent entries exist
61
-
62
- This helps survive conversation compaction without losing critical context.
10
+ Task: {{ARGUMENTS}}
@@ -60,7 +60,7 @@ Supported setup flags (current implementation):
60
60
  - `project`: local directories (`./.codex`, `./.codex/skills`, `./.omx/agents`)
61
61
  - User-scope skill delivery targets:
62
62
  - `legacy`: keep installing/updating OMX skills in the resolved user skill root
63
- - `plugin`: rely on Codex plugin discovery for bundled skills and archive/remove legacy OMX-managed prompts/skills/native agents; setup still installs native Codex hooks and `codex_hooks = true` because plugins do not carry hooks.
63
+ - `plugin`: rely on Codex plugin discovery for bundled skills and archive/remove legacy OMX-managed prompts/skills/native agents; setup still installs native Codex hooks and setup-owned runtime feature flags (`codex_hooks = true`, `goals = true`) because plugins do not carry hooks or enable Codex goal mode by themselves.
64
64
  - Migration hint: in `user` scope, if historical `~/.agents/skills` still exists alongside `${CODEX_HOME:-~/.codex}/skills`, current setup prints a cleanup hint. **Why the paths differ**: `${CODEX_HOME:-~/.codex}/skills/` is the path current Codex CLI natively loads as its skill root; `~/.agents/skills/` was the skill root in an older Codex CLI release before `~/.codex` became the standard home directory. OMX writes only to the canonical `${CODEX_HOME:-~/.codex}/skills/` path. When both directories exist simultaneously, Codex discovers skills from both trees and may show duplicate entries in Enable/Disable Skills. Archive or remove `~/.agents/skills/` to resolve this.
65
65
  - If persisted scope is `project`, `omx` launch automatically uses `CODEX_HOME=./.codex` unless user explicitly overrides `CODEX_HOME`.
66
66
  - Plugin mode prompts separately for optional AGENTS.md defaults and optional `developer_instructions` defaults. If `developer_instructions` already exists, setup asks before overwriting it; non-interactive runs preserve it.
@@ -74,7 +74,7 @@ Use this map when reconciling setup behavior or debugging a confusing install:
74
74
  | Surface | Owner | Notes |
75
75
  | --- | --- | --- |
76
76
  | `./.omx/setup-scope.json` | `omx setup` | Persists setup scope and user-scope skill delivery mode. TTY reruns summarize it and offer keep/review/reset. |
77
- | `~/.codex/config.toml` / `./.codex/config.toml` | `omx setup` generated blocks + user edits | Setup refreshes OMX-managed blocks while preserving supported manual content. |
77
+ | `~/.codex/config.toml` / `./.codex/config.toml` | `omx setup` generated blocks + user edits | Setup refreshes OMX-managed blocks while preserving supported manual content; setup-owned runtime feature flags include `multi_agent`, `child_agents_md`, `codex_hooks`, and `goals`. |
78
78
  | `~/.codex/hooks.json` / `./.codex/hooks.json` | `omx setup` shared ownership | Setup owns OMX native hook wrappers and preserves user-owned hooks. |
79
79
  | prompts, skills, native agents | `omx setup` or Codex plugin delivery | Legacy mode installs local files; plugin mode relies on plugin discovery for bundled skills and archives/removes legacy OMX-managed prompt/native-agent copies. |
80
80
  | `AGENTS.md` | `omx setup` with overwrite safety | Generated defaults or managed refreshes are guarded by force/session checks. |
@@ -0,0 +1,65 @@
1
+ ---
2
+ name: performance-goal
3
+ description: "Run an evaluator-gated performance optimization workflow over Codex goal mode with durable OMX artifacts and safe goal handoffs."
4
+ ---
5
+
6
+ # Performance Goal Workflow
7
+
8
+ Use this skill when a user asks OMX to optimize performance and wants a goal-oriented loop rather than a one-off review.
9
+
10
+ ## Contract
11
+
12
+ - OMX owns durable workflow state under `.omx/goals/performance/<slug>/`.
13
+ - Codex goal mode owns only the active-thread focus/accounting primitive.
14
+ - Shell commands do **not** mutate hidden Codex goal state. They write artifacts and emit model-facing handoff text.
15
+ - No optimization work may start until an evaluator command and pass/fail contract exist.
16
+ - Do not call `update_goal({status: "complete"})` until the evaluator has a passing checkpoint and a completion audit proves the objective is done; then call `get_goal` again and pass that fresh snapshot to `omx performance-goal complete --codex-goal-json`.
17
+
18
+ ## CLI
19
+
20
+ Create the workflow and evaluator contract:
21
+
22
+ ```sh
23
+ omx performance-goal create \
24
+ --objective "Reduce CLI startup latency by 20%" \
25
+ --evaluator-command "npm run perf:startup" \
26
+ --evaluator-contract "PASS when p95 latency improves by 20% and regression tests pass" \
27
+ --slug startup-latency
28
+ ```
29
+
30
+ Emit the Codex goal handoff:
31
+
32
+ ```sh
33
+ omx performance-goal start --slug startup-latency
34
+ ```
35
+
36
+ Record evaluator evidence:
37
+
38
+ ```sh
39
+ omx performance-goal checkpoint --slug startup-latency --status pass --evidence "benchmark + tests passed"
40
+ omx performance-goal checkpoint --slug startup-latency --status fail --evidence "benchmark regressed"
41
+ omx performance-goal checkpoint --slug startup-latency --status blocked --evidence "missing fixture"
42
+ ```
43
+
44
+ Complete only after a passing checkpoint:
45
+
46
+ ```sh
47
+ omx performance-goal complete --slug startup-latency --evidence "final evaluator evidence" --codex-goal-json <get_goal-json-or-path>
48
+ ```
49
+
50
+ ## Agent Loop
51
+
52
+ 1. Run `omx performance-goal create` if no workflow exists.
53
+ 2. Run `omx performance-goal start` and follow the handoff:
54
+ - call `get_goal`;
55
+ - call `create_goal` only when no active goal exists and the objective is explicit;
56
+ - work only against the evaluator contract;
57
+ - after evaluator pass and completion audit, call `update_goal({status: "complete"})`, call `get_goal` again, and pass that snapshot to `omx performance-goal complete --codex-goal-json`;
58
+ 3. Optimize in small reversible patches.
59
+ 4. Run the evaluator and related regression tests.
60
+ 5. Record each pass/fail/blocker with `checkpoint`.
61
+ 6. Complete only when the pass artifact exists and no required work remains.
62
+
63
+ ## Completion Gate
64
+
65
+ A performance goal is incomplete unless `.omx/goals/performance/<slug>/state.json` contains a `lastValidation.status` of `pass` and `omx performance-goal complete` receives a matching complete Codex `get_goal` snapshot via `--codex-goal-json`. Passing ordinary tests alone is not sufficient unless they are the declared evaluator contract.
@@ -114,7 +114,7 @@ Jumping into code without understanding requirements leads to rework, scope cree
114
114
  2. Evaluate via Critic using `ask_codex` with `agent_role: "critic"`
115
115
  3. For cleanup/refactor/anti-slop work, verify that the artifact includes a cleanup plan, regression tests or an explicit test gap, smell-by-smell passes, and quality gates.
116
116
  4. Return verdict: APPROVED, REVISE (with specific feedback), or REJECT (replanning required)
117
- 5. If the current context authored the artifact, hand the review to `/review`, `critic`, `quality-reviewer`, `security-reviewer`, or `verifier` as appropriate.
117
+ 5. If the current context authored the artifact, hand the review to `$code-review`, `critic`, `quality-reviewer`, or `verifier` as appropriate.
118
118
 
119
119
  ### Plan Output Format
120
120