oh-my-codex 0.11.13 → 0.12.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 (369) hide show
  1. package/Cargo.lock +5 -5
  2. package/Cargo.toml +1 -1
  3. package/README.md +27 -17
  4. package/crates/omx-runtime/src/main.rs +6 -2
  5. package/dist/agents/native-config.js +1 -1
  6. package/dist/agents/native-config.js.map +1 -1
  7. package/dist/cli/__tests__/autoresearch-guided.test.js +74 -2
  8. package/dist/cli/__tests__/autoresearch-guided.test.js.map +1 -1
  9. package/dist/cli/__tests__/cleanup.test.js +22 -30
  10. package/dist/cli/__tests__/cleanup.test.js.map +1 -1
  11. package/dist/cli/__tests__/error-handling-warnings.test.js +3 -1
  12. package/dist/cli/__tests__/error-handling-warnings.test.js.map +1 -1
  13. package/dist/cli/__tests__/index.test.js +217 -4
  14. package/dist/cli/__tests__/index.test.js.map +1 -1
  15. package/dist/cli/__tests__/setup-refresh.test.js +49 -9
  16. package/dist/cli/__tests__/setup-refresh.test.js.map +1 -1
  17. package/dist/cli/__tests__/setup-scope.test.js +9 -0
  18. package/dist/cli/__tests__/setup-scope.test.js.map +1 -1
  19. package/dist/cli/__tests__/team.test.js +136 -11
  20. package/dist/cli/__tests__/team.test.js.map +1 -1
  21. package/dist/cli/__tests__/uninstall.test.js +10 -0
  22. package/dist/cli/__tests__/uninstall.test.js.map +1 -1
  23. package/dist/cli/__tests__/windows-popup-loop-contract.test.js +1 -0
  24. package/dist/cli/__tests__/windows-popup-loop-contract.test.js.map +1 -1
  25. package/dist/cli/autoresearch-guided.d.ts.map +1 -1
  26. package/dist/cli/autoresearch-guided.js +2 -1
  27. package/dist/cli/autoresearch-guided.js.map +1 -1
  28. package/dist/cli/autoresearch.d.ts.map +1 -1
  29. package/dist/cli/autoresearch.js +2 -1
  30. package/dist/cli/autoresearch.js.map +1 -1
  31. package/dist/cli/cleanup.d.ts.map +1 -1
  32. package/dist/cli/cleanup.js +4 -2
  33. package/dist/cli/cleanup.js.map +1 -1
  34. package/dist/cli/index.d.ts +12 -0
  35. package/dist/cli/index.d.ts.map +1 -1
  36. package/dist/cli/index.js +238 -30
  37. package/dist/cli/index.js.map +1 -1
  38. package/dist/cli/omx.js +2 -0
  39. package/dist/cli/omx.js.map +1 -1
  40. package/dist/cli/setup.d.ts +1 -0
  41. package/dist/cli/setup.d.ts.map +1 -1
  42. package/dist/cli/setup.js +41 -7
  43. package/dist/cli/setup.js.map +1 -1
  44. package/dist/cli/team.d.ts.map +1 -1
  45. package/dist/cli/team.js +16 -557
  46. package/dist/cli/team.js.map +1 -1
  47. package/dist/cli/uninstall.d.ts.map +1 -1
  48. package/dist/cli/uninstall.js +34 -9
  49. package/dist/cli/uninstall.js.map +1 -1
  50. package/dist/config/__tests__/generator-idempotent.test.js +79 -2
  51. package/dist/config/__tests__/generator-idempotent.test.js.map +1 -1
  52. package/dist/config/__tests__/generator-notify.test.js +2 -0
  53. package/dist/config/__tests__/generator-notify.test.js.map +1 -1
  54. package/dist/config/codex-hooks.d.ts +11 -0
  55. package/dist/config/codex-hooks.d.ts.map +1 -0
  56. package/dist/config/codex-hooks.js +50 -0
  57. package/dist/config/codex-hooks.js.map +1 -0
  58. package/dist/config/generator.d.ts +5 -3
  59. package/dist/config/generator.d.ts.map +1 -1
  60. package/dist/config/generator.js +24 -14
  61. package/dist/config/generator.js.map +1 -1
  62. package/dist/hooks/__tests__/debugger-log-recency-contract.test.d.ts +2 -0
  63. package/dist/hooks/__tests__/debugger-log-recency-contract.test.d.ts.map +1 -0
  64. package/dist/hooks/__tests__/debugger-log-recency-contract.test.js +20 -0
  65. package/dist/hooks/__tests__/debugger-log-recency-contract.test.js.map +1 -0
  66. package/dist/hooks/__tests__/notify-fallback-watcher.test.js +236 -2
  67. package/dist/hooks/__tests__/notify-fallback-watcher.test.js.map +1 -1
  68. package/dist/hooks/__tests__/notify-hook-all-workers-idle.test.js +86 -0
  69. package/dist/hooks/__tests__/notify-hook-all-workers-idle.test.js.map +1 -1
  70. package/dist/hooks/__tests__/notify-hook-auto-nudge.test.js +40 -0
  71. package/dist/hooks/__tests__/notify-hook-auto-nudge.test.js.map +1 -1
  72. package/dist/hooks/__tests__/notify-hook-managed-tmux.test.d.ts +2 -0
  73. package/dist/hooks/__tests__/notify-hook-managed-tmux.test.d.ts.map +1 -0
  74. package/dist/hooks/__tests__/notify-hook-managed-tmux.test.js +54 -0
  75. package/dist/hooks/__tests__/notify-hook-managed-tmux.test.js.map +1 -0
  76. package/dist/hooks/__tests__/notify-hook-modules.test.js +31 -0
  77. package/dist/hooks/__tests__/notify-hook-modules.test.js.map +1 -1
  78. package/dist/hooks/__tests__/notify-hook-ralph-resume.test.js +51 -0
  79. package/dist/hooks/__tests__/notify-hook-ralph-resume.test.js.map +1 -1
  80. package/dist/hooks/__tests__/notify-hook-session-idle-dedupe.test.d.ts +2 -0
  81. package/dist/hooks/__tests__/notify-hook-session-idle-dedupe.test.d.ts.map +1 -0
  82. package/dist/hooks/__tests__/notify-hook-session-idle-dedupe.test.js +136 -0
  83. package/dist/hooks/__tests__/notify-hook-session-idle-dedupe.test.js.map +1 -0
  84. package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js +120 -0
  85. package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js.map +1 -1
  86. package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js +145 -20
  87. package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js.map +1 -1
  88. package/dist/hooks/__tests__/notify-hook-team-tmux-guard.test.js +116 -0
  89. package/dist/hooks/__tests__/notify-hook-team-tmux-guard.test.js.map +1 -1
  90. package/dist/hooks/__tests__/notify-hook-worker-idle.test.js +86 -0
  91. package/dist/hooks/__tests__/notify-hook-worker-idle.test.js.map +1 -1
  92. package/dist/hooks/__tests__/pre-context-gate-skills.test.js +1 -0
  93. package/dist/hooks/__tests__/pre-context-gate-skills.test.js.map +1 -1
  94. package/dist/hooks/extensibility/__tests__/runtime.test.js +49 -0
  95. package/dist/hooks/extensibility/__tests__/runtime.test.js.map +1 -1
  96. package/dist/hooks/extensibility/runtime.d.ts.map +1 -1
  97. package/dist/hooks/extensibility/runtime.js +10 -0
  98. package/dist/hooks/extensibility/runtime.js.map +1 -1
  99. package/dist/hooks/extensibility/types.d.ts +1 -1
  100. package/dist/hooks/extensibility/types.d.ts.map +1 -1
  101. package/dist/hooks/prompt-guidance-contract.d.ts.map +1 -1
  102. package/dist/hooks/prompt-guidance-contract.js +12 -8
  103. package/dist/hooks/prompt-guidance-contract.js.map +1 -1
  104. package/dist/hooks/session.d.ts +5 -1
  105. package/dist/hooks/session.d.ts.map +1 -1
  106. package/dist/hooks/session.js +10 -6
  107. package/dist/hooks/session.js.map +1 -1
  108. package/dist/hud/index.d.ts.map +1 -1
  109. package/dist/hud/index.js +6 -1
  110. package/dist/hud/index.js.map +1 -1
  111. package/dist/mcp/__tests__/bootstrap.test.js +0 -3
  112. package/dist/mcp/__tests__/bootstrap.test.js.map +1 -1
  113. package/dist/mcp/__tests__/code-intel-server.test.js +27 -1
  114. package/dist/mcp/__tests__/code-intel-server.test.js.map +1 -1
  115. package/dist/mcp/__tests__/server-lifecycle.test.js +0 -5
  116. package/dist/mcp/__tests__/server-lifecycle.test.js.map +1 -1
  117. package/dist/mcp/bootstrap.d.ts +1 -1
  118. package/dist/mcp/bootstrap.d.ts.map +1 -1
  119. package/dist/mcp/bootstrap.js +0 -1
  120. package/dist/mcp/bootstrap.js.map +1 -1
  121. package/dist/mcp/code-intel-server.d.ts +20 -0
  122. package/dist/mcp/code-intel-server.d.ts.map +1 -1
  123. package/dist/mcp/code-intel-server.js +6 -5
  124. package/dist/mcp/code-intel-server.js.map +1 -1
  125. package/dist/notifications/__tests__/idle-cooldown.test.js +24 -1
  126. package/dist/notifications/__tests__/idle-cooldown.test.js.map +1 -1
  127. package/dist/notifications/__tests__/reply-listener.test.js +20 -1
  128. package/dist/notifications/__tests__/reply-listener.test.js.map +1 -1
  129. package/dist/notifications/__tests__/tmux.test.js +41 -0
  130. package/dist/notifications/__tests__/tmux.test.js.map +1 -1
  131. package/dist/notifications/idle-cooldown.d.ts +13 -0
  132. package/dist/notifications/idle-cooldown.d.ts.map +1 -1
  133. package/dist/notifications/idle-cooldown.js +50 -16
  134. package/dist/notifications/idle-cooldown.js.map +1 -1
  135. package/dist/notifications/reply-listener.d.ts.map +1 -1
  136. package/dist/notifications/reply-listener.js +2 -0
  137. package/dist/notifications/reply-listener.js.map +1 -1
  138. package/dist/notifications/tmux.d.ts.map +1 -1
  139. package/dist/notifications/tmux.js +4 -0
  140. package/dist/notifications/tmux.js.map +1 -1
  141. package/dist/scripts/__tests__/codex-native-hook.test.d.ts +2 -0
  142. package/dist/scripts/__tests__/codex-native-hook.test.d.ts.map +1 -0
  143. package/dist/scripts/__tests__/codex-native-hook.test.js +720 -0
  144. package/dist/scripts/__tests__/codex-native-hook.test.js.map +1 -0
  145. package/dist/scripts/codex-native-hook.d.ts +22 -0
  146. package/dist/scripts/codex-native-hook.d.ts.map +1 -0
  147. package/dist/scripts/codex-native-hook.js +594 -0
  148. package/dist/scripts/codex-native-hook.js.map +1 -0
  149. package/dist/scripts/codex-native-pre-post.d.ts +26 -0
  150. package/dist/scripts/codex-native-pre-post.d.ts.map +1 -0
  151. package/dist/scripts/codex-native-pre-post.js +118 -0
  152. package/dist/scripts/codex-native-pre-post.js.map +1 -0
  153. package/dist/scripts/notify-fallback-watcher.js +262 -18
  154. package/dist/scripts/notify-fallback-watcher.js.map +1 -1
  155. package/dist/scripts/notify-hook/auto-nudge.d.ts.map +1 -1
  156. package/dist/scripts/notify-hook/auto-nudge.js +5 -6
  157. package/dist/scripts/notify-hook/auto-nudge.js.map +1 -1
  158. package/dist/scripts/notify-hook/log.d.ts +2 -2
  159. package/dist/scripts/notify-hook/log.d.ts.map +1 -1
  160. package/dist/scripts/notify-hook/log.js +10 -2
  161. package/dist/scripts/notify-hook/log.js.map +1 -1
  162. package/dist/scripts/notify-hook/managed-tmux.d.ts.map +1 -1
  163. package/dist/scripts/notify-hook/managed-tmux.js +2 -0
  164. package/dist/scripts/notify-hook/managed-tmux.js.map +1 -1
  165. package/dist/scripts/notify-hook/orchestration-intent.d.ts +18 -0
  166. package/dist/scripts/notify-hook/orchestration-intent.d.ts.map +1 -0
  167. package/dist/scripts/notify-hook/orchestration-intent.js +72 -0
  168. package/dist/scripts/notify-hook/orchestration-intent.js.map +1 -0
  169. package/dist/scripts/notify-hook/process-runner.js.map +1 -1
  170. package/dist/scripts/notify-hook/ralph-session-resume.d.ts.map +1 -1
  171. package/dist/scripts/notify-hook/ralph-session-resume.js +7 -0
  172. package/dist/scripts/notify-hook/ralph-session-resume.js.map +1 -1
  173. package/dist/scripts/notify-hook/team-dispatch.d.ts +15 -6
  174. package/dist/scripts/notify-hook/team-dispatch.d.ts.map +1 -1
  175. package/dist/scripts/notify-hook/team-dispatch.js +125 -6
  176. package/dist/scripts/notify-hook/team-dispatch.js.map +1 -1
  177. package/dist/scripts/notify-hook/team-leader-nudge.d.ts +3 -2
  178. package/dist/scripts/notify-hook/team-leader-nudge.d.ts.map +1 -1
  179. package/dist/scripts/notify-hook/team-leader-nudge.js +165 -37
  180. package/dist/scripts/notify-hook/team-leader-nudge.js.map +1 -1
  181. package/dist/scripts/notify-hook/team-tmux-guard.d.ts +4 -1
  182. package/dist/scripts/notify-hook/team-tmux-guard.d.ts.map +1 -1
  183. package/dist/scripts/notify-hook/team-tmux-guard.js +33 -44
  184. package/dist/scripts/notify-hook/team-tmux-guard.js.map +1 -1
  185. package/dist/scripts/notify-hook/team-worker.d.ts.map +1 -1
  186. package/dist/scripts/notify-hook/team-worker.js +68 -5
  187. package/dist/scripts/notify-hook/team-worker.js.map +1 -1
  188. package/dist/scripts/notify-hook/utils.d.ts +1 -1
  189. package/dist/scripts/notify-hook/utils.d.ts.map +1 -1
  190. package/dist/scripts/notify-hook/utils.js.map +1 -1
  191. package/dist/scripts/notify-hook.js +55 -32
  192. package/dist/scripts/notify-hook.js.map +1 -1
  193. package/dist/team/__tests__/api-interop.test.js +344 -18
  194. package/dist/team/__tests__/api-interop.test.js.map +1 -1
  195. package/dist/team/__tests__/delivery-e2e-smoke.test.d.ts +2 -0
  196. package/dist/team/__tests__/delivery-e2e-smoke.test.d.ts.map +1 -0
  197. package/dist/team/__tests__/delivery-e2e-smoke.test.js +671 -0
  198. package/dist/team/__tests__/delivery-e2e-smoke.test.js.map +1 -0
  199. package/dist/team/__tests__/mcp-comm.test.js +5 -0
  200. package/dist/team/__tests__/mcp-comm.test.js.map +1 -1
  201. package/dist/team/__tests__/runtime.test.js +422 -12
  202. package/dist/team/__tests__/runtime.test.js.map +1 -1
  203. package/dist/team/__tests__/state.test.js +126 -8
  204. package/dist/team/__tests__/state.test.js.map +1 -1
  205. package/dist/team/__tests__/team-ops-contract.test.js +4 -0
  206. package/dist/team/__tests__/team-ops-contract.test.js.map +1 -1
  207. package/dist/team/__tests__/tmux-session.test.js +160 -0
  208. package/dist/team/__tests__/tmux-session.test.js.map +1 -1
  209. package/dist/team/__tests__/worker-bootstrap.test.js +19 -1
  210. package/dist/team/__tests__/worker-bootstrap.test.js.map +1 -1
  211. package/dist/team/api-interop.d.ts.map +1 -1
  212. package/dist/team/api-interop.js +95 -23
  213. package/dist/team/api-interop.js.map +1 -1
  214. package/dist/team/contracts.d.ts +11 -1
  215. package/dist/team/contracts.d.ts.map +1 -1
  216. package/dist/team/contracts.js +29 -0
  217. package/dist/team/contracts.js.map +1 -1
  218. package/dist/team/delivery-log.d.ts +14 -0
  219. package/dist/team/delivery-log.d.ts.map +1 -0
  220. package/dist/team/delivery-log.js +35 -0
  221. package/dist/team/delivery-log.js.map +1 -0
  222. package/dist/team/idle-nudge.d.ts +2 -2
  223. package/dist/team/idle-nudge.js +2 -2
  224. package/dist/team/mcp-comm.d.ts +4 -0
  225. package/dist/team/mcp-comm.d.ts.map +1 -1
  226. package/dist/team/mcp-comm.js +84 -1
  227. package/dist/team/mcp-comm.js.map +1 -1
  228. package/dist/team/pane-status.d.ts +149 -0
  229. package/dist/team/pane-status.d.ts.map +1 -0
  230. package/dist/team/pane-status.js +558 -0
  231. package/dist/team/pane-status.js.map +1 -0
  232. package/dist/team/reminder-intents.d.ts +11 -0
  233. package/dist/team/reminder-intents.d.ts.map +1 -0
  234. package/dist/team/reminder-intents.js +40 -0
  235. package/dist/team/reminder-intents.js.map +1 -0
  236. package/dist/team/runtime-cli.d.ts +1 -1
  237. package/dist/team/runtime-cli.js +2 -2
  238. package/dist/team/runtime-cli.js.map +1 -1
  239. package/dist/team/runtime.d.ts +2 -1
  240. package/dist/team/runtime.d.ts.map +1 -1
  241. package/dist/team/runtime.js +407 -190
  242. package/dist/team/runtime.js.map +1 -1
  243. package/dist/team/scaling.d.ts.map +1 -1
  244. package/dist/team/scaling.js +6 -5
  245. package/dist/team/scaling.js.map +1 -1
  246. package/dist/team/state/dispatch.d.ts +4 -1
  247. package/dist/team/state/dispatch.d.ts.map +1 -1
  248. package/dist/team/state/dispatch.js +59 -18
  249. package/dist/team/state/dispatch.js.map +1 -1
  250. package/dist/team/state/mailbox.d.ts.map +1 -1
  251. package/dist/team/state/mailbox.js +39 -2
  252. package/dist/team/state/mailbox.js.map +1 -1
  253. package/dist/team/state/monitor.d.ts +2 -1
  254. package/dist/team/state/monitor.d.ts.map +1 -1
  255. package/dist/team/state/monitor.js +30 -1
  256. package/dist/team/state/monitor.js.map +1 -1
  257. package/dist/team/state/types.d.ts +5 -2
  258. package/dist/team/state/types.d.ts.map +1 -1
  259. package/dist/team/state/types.js.map +1 -1
  260. package/dist/team/state.d.ts +30 -3
  261. package/dist/team/state.d.ts.map +1 -1
  262. package/dist/team/state.js +170 -2
  263. package/dist/team/state.js.map +1 -1
  264. package/dist/team/team-ops.d.ts +5 -1
  265. package/dist/team/team-ops.d.ts.map +1 -1
  266. package/dist/team/team-ops.js +4 -0
  267. package/dist/team/team-ops.js.map +1 -1
  268. package/dist/team/tmux-session.d.ts +2 -0
  269. package/dist/team/tmux-session.d.ts.map +1 -1
  270. package/dist/team/tmux-session.js +19 -3
  271. package/dist/team/tmux-session.js.map +1 -1
  272. package/dist/team/worker-bootstrap.d.ts +4 -0
  273. package/dist/team/worker-bootstrap.d.ts.map +1 -1
  274. package/dist/team/worker-bootstrap.js +33 -6
  275. package/dist/team/worker-bootstrap.js.map +1 -1
  276. package/dist/utils/__tests__/paths.test.js +63 -1
  277. package/dist/utils/__tests__/paths.test.js.map +1 -1
  278. package/dist/utils/__tests__/platform-command.test.js +50 -4
  279. package/dist/utils/__tests__/platform-command.test.js.map +1 -1
  280. package/dist/utils/paths.d.ts +12 -0
  281. package/dist/utils/paths.d.ts.map +1 -1
  282. package/dist/utils/paths.js +44 -2
  283. package/dist/utils/paths.js.map +1 -1
  284. package/dist/utils/platform-command.d.ts.map +1 -1
  285. package/dist/utils/platform-command.js +13 -5
  286. package/dist/utils/platform-command.js.map +1 -1
  287. package/dist/utils/sleep.d.ts.map +1 -1
  288. package/dist/utils/sleep.js +10 -1
  289. package/dist/utils/sleep.js.map +1 -1
  290. package/package.json +1 -1
  291. package/prompts/analyst.md +2 -2
  292. package/prompts/api-reviewer.md +2 -2
  293. package/prompts/architect.md +2 -2
  294. package/prompts/build-fixer.md +2 -2
  295. package/prompts/code-reviewer.md +2 -2
  296. package/prompts/code-simplifier.md +1 -1
  297. package/prompts/critic.md +2 -2
  298. package/prompts/debugger.md +3 -2
  299. package/prompts/dependency-expert.md +2 -2
  300. package/prompts/designer.md +2 -2
  301. package/prompts/executor.md +3 -2
  302. package/prompts/explore.md +2 -2
  303. package/prompts/git-master.md +2 -2
  304. package/prompts/information-architect.md +2 -2
  305. package/prompts/performance-reviewer.md +2 -2
  306. package/prompts/planner.md +3 -2
  307. package/prompts/product-analyst.md +2 -2
  308. package/prompts/product-manager.md +2 -2
  309. package/prompts/qa-tester.md +2 -2
  310. package/prompts/quality-reviewer.md +2 -2
  311. package/prompts/quality-strategist.md +2 -2
  312. package/prompts/researcher.md +2 -2
  313. package/prompts/security-reviewer.md +2 -2
  314. package/prompts/sisyphus-lite.md +2 -2
  315. package/prompts/style-reviewer.md +2 -2
  316. package/prompts/team-executor.md +2 -2
  317. package/prompts/test-engineer.md +2 -2
  318. package/prompts/ux-researcher.md +2 -2
  319. package/prompts/verifier.md +3 -2
  320. package/prompts/vision.md +2 -2
  321. package/prompts/writer.md +2 -2
  322. package/skills/team/SKILL.md +18 -33
  323. package/src/scripts/__tests__/codex-native-hook.test.ts +931 -0
  324. package/src/scripts/codex-native-hook.ts +721 -0
  325. package/src/scripts/codex-native-pre-post.ts +161 -0
  326. package/src/scripts/notify-fallback-watcher.ts +318 -26
  327. package/src/scripts/notify-hook/auto-nudge.ts +5 -10
  328. package/src/scripts/notify-hook/log.ts +18 -4
  329. package/src/scripts/notify-hook/managed-tmux.ts +1 -0
  330. package/src/scripts/notify-hook/orchestration-intent.ts +82 -0
  331. package/src/scripts/notify-hook/process-runner.ts +4 -4
  332. package/src/scripts/notify-hook/ralph-session-resume.ts +9 -0
  333. package/src/scripts/notify-hook/team-dispatch.ts +134 -6
  334. package/src/scripts/notify-hook/team-leader-nudge.ts +183 -37
  335. package/src/scripts/notify-hook/team-tmux-guard.ts +35 -43
  336. package/src/scripts/notify-hook/team-worker.ts +73 -4
  337. package/src/scripts/notify-hook/utils.ts +1 -1
  338. package/src/scripts/notify-hook.ts +64 -32
  339. package/templates/AGENTS.md +21 -11
  340. package/README.de.md +0 -263
  341. package/README.el.md +0 -223
  342. package/README.es.md +0 -263
  343. package/README.fr.md +0 -263
  344. package/README.it.md +0 -263
  345. package/README.ja.md +0 -264
  346. package/README.ko.md +0 -264
  347. package/README.pl.md +0 -216
  348. package/README.pt.md +0 -263
  349. package/README.ru.md +0 -263
  350. package/README.tr.md +0 -263
  351. package/README.vi.md +0 -223
  352. package/README.zh-TW.md +0 -293
  353. package/README.zh.md +0 -264
  354. package/dist/mcp/__tests__/team-server-cleanup.test.d.ts +0 -2
  355. package/dist/mcp/__tests__/team-server-cleanup.test.d.ts.map +0 -1
  356. package/dist/mcp/__tests__/team-server-cleanup.test.js +0 -219
  357. package/dist/mcp/__tests__/team-server-cleanup.test.js.map +0 -1
  358. package/dist/mcp/__tests__/team-server-runtime-deps.test.d.ts +0 -2
  359. package/dist/mcp/__tests__/team-server-runtime-deps.test.d.ts.map +0 -1
  360. package/dist/mcp/__tests__/team-server-runtime-deps.test.js +0 -13
  361. package/dist/mcp/__tests__/team-server-runtime-deps.test.js.map +0 -1
  362. package/dist/mcp/__tests__/team-server-wait.test.d.ts +0 -2
  363. package/dist/mcp/__tests__/team-server-wait.test.d.ts.map +0 -1
  364. package/dist/mcp/__tests__/team-server-wait.test.js +0 -155
  365. package/dist/mcp/__tests__/team-server-wait.test.js.map +0 -1
  366. package/dist/mcp/team-server.d.ts +0 -24
  367. package/dist/mcp/team-server.d.ts.map +0 -1
  368. package/dist/mcp/team-server.js +0 -482
  369. package/dist/mcp/team-server.js.map +0 -1
@@ -37,10 +37,11 @@ Default: explore first, ask last.
37
37
  - Do not explain a plan and stop; if you can execute safely, execute.
38
38
  - Do not stop after reporting findings when the task still requires action.
39
39
  <!-- OMX:GUIDANCE:EXECUTOR:CONSTRAINTS:START -->
40
- - Default to compact, information-dense outputs; expand only when risk, ambiguity, or the user asks for detail.
40
+ - Default to quality-first, intent-deepening outputs; think one more step before replying or asking for clarification, and use as much detail as needed for a strong result without empty verbosity.
41
41
  - Proceed automatically on clear, low-risk, reversible next steps; ask only when the next step is irreversible, side-effectful, or materially changes scope.
42
42
  - Treat newer user instructions as local overrides for the active task while preserving earlier non-conflicting constraints.
43
43
  - If correctness depends on search, retrieval, tests, diagnostics, or other tools, keep using them until the task is grounded and verified.
44
+ - More effort does not mean reflexive web/tool escalation; use browsing and external tools when they materially improve the result, not as a default ritual.
44
45
  <!-- OMX:GUIDANCE:EXECUTOR:CONSTRAINTS:END -->
45
46
  </constraints>
46
47
 
@@ -113,7 +114,7 @@ Never trust reported completion without independent verification.
113
114
  <style>
114
115
  <output_contract>
115
116
  <!-- OMX:GUIDANCE:EXECUTOR:OUTPUT:START -->
116
- Default final-output shape: concise and evidence-dense unless the user asked for more detail.
117
+ Default final-output shape: quality-first and evidence-dense; think one more step before replying, and include as much detail as needed for a strong result without padding.
117
118
  <!-- OMX:GUIDANCE:EXECUTOR:OUTPUT:END -->
118
119
 
119
120
  ## Changes Made
@@ -35,7 +35,7 @@ Reading entire large files is the fastest way to exhaust the context window. Pro
35
35
  - Prefer structural tools (lsp_document_symbols, ast_grep_search, Grep) over Read whenever possible -- they return only the relevant information without consuming context on boilerplate.
36
36
  </context_budget>
37
37
 
38
- - Default to concise, information-dense search results; expand only when the caller needs more relationship detail to proceed safely.
38
+ - Default to quality-first, information-dense search results; add as much relationship detail as needed for the caller to proceed safely without padding.
39
39
  - Treat newer user task updates as local overrides for the active search thread while preserving earlier non-conflicting search goals.
40
40
  - If correctness depends on more search passes, symbol lookups, or targeted reads, keep using those tools until the answer is grounded.
41
41
  </constraints>
@@ -86,7 +86,7 @@ Never stop at the first match when the caller needs comprehensive coverage.
86
86
 
87
87
  <style>
88
88
  <output_contract>
89
- Default final-output shape: concise and evidence-dense unless the task complexity or the user explicitly calls for more detail.
89
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
90
90
 
91
91
  <results>
92
92
  <files>
@@ -23,7 +23,7 @@ Git history is documentation for the future. These rules exist because a single
23
23
  </scope_guard>
24
24
 
25
25
  <ask_gate>
26
- - Default to concise, evidence-dense outputs; expand only when role complexity or the user explicitly calls for more detail.
26
+ - Default to quality-first, evidence-dense outputs; use as much detail as needed for a strong result without empty verbosity.
27
27
  - Treat newer user task updates as local overrides for the active task thread while preserving earlier non-conflicting criteria.
28
28
  - If correctness depends on more reading, inspection, verification, or source gathering, keep using those tools until the git recommendation is grounded.
29
29
  </ask_gate>
@@ -67,7 +67,7 @@ Git history is documentation for the future. These rules exist because a single
67
67
 
68
68
  <style>
69
69
  <output_contract>
70
- Default final-output shape: concise and evidence-dense unless the task complexity or the user explicitly calls for more detail.
70
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
71
71
 
72
72
  ## Git Operations
73
73
 
@@ -51,7 +51,7 @@ When users cannot find what they need, it does not matter how good the feature i
51
51
  </scope_guard>
52
52
 
53
53
  <ask_gate>
54
- - Default to concise, evidence-dense outputs; expand only when role complexity or the user explicitly calls for more detail.
54
+ - Default to quality-first, evidence-dense outputs; use as much detail as needed for a strong result without empty verbosity.
55
55
  - Treat newer user task updates as local overrides for the active task thread while preserving earlier non-conflicting criteria.
56
56
  - If correctness depends on more reading, inspection, verification, or source gathering, keep using those tools until the IA recommendation is grounded.
57
57
  </ask_gate>
@@ -173,7 +173,7 @@ information-architect (YOU - Ariadne) <-- "Where should this live? What should i
173
173
  <output_contract>
174
174
  ## Output Format
175
175
 
176
- Default final-output shape: concise and evidence-dense unless the task complexity or the user explicitly calls for more detail.
176
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
177
177
 
178
178
  ## Artifact Types
179
179
 
@@ -21,7 +21,7 @@ Performance issues compound silently until they become production incidents. The
21
21
  Do not ask about performance requirements. Analyze the code's algorithmic complexity and data volume to infer impact.
22
22
  </ask_gate>
23
23
 
24
- - Default to concise, evidence-dense outputs; expand only when role complexity or the user explicitly calls for more detail.
24
+ - Default to quality-first, evidence-dense outputs; use as much detail as needed for a strong result without empty verbosity.
25
25
  - Treat newer user task updates as local overrides for the active task thread while preserving earlier non-conflicting criteria.
26
26
  - If correctness depends on more reading, inspection, verification, or source gathering, keep using those tools until the performance review is grounded.
27
27
  </constraints>
@@ -61,7 +61,7 @@ Do not ask about performance requirements. Analyze the code's algorithmic comple
61
61
 
62
62
  <style>
63
63
  <output_contract>
64
- Default final-output shape: concise and evidence-dense unless the task complexity or the user explicitly calls for more detail.
64
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
65
65
 
66
66
  ## Performance Review
67
67
 
@@ -20,9 +20,10 @@ You are Planner (Prometheus). Turn requests into actionable work plans. You plan
20
20
  - Never ask the user for codebase facts you can inspect directly.
21
21
  - Ask one question at a time when a real planning branch depends on it.
22
22
  <!-- OMX:GUIDANCE:PLANNER:CONSTRAINTS:START -->
23
- - Default to compact, information-dense plan summaries; expand only when risk or ambiguity requires it.
23
+ - Default to quality-first, intent-deepening plan summaries; think one more step before asking the user to choose a branch, and include as much detail as needed to produce a strong plan without padding.
24
24
  - Proceed automatically through clear, low-risk planning steps; ask the user only for preferences, priorities, or materially branching decisions.
25
25
  - Treat newer user task updates as local overrides for the active planning branch while preserving earlier non-conflicting constraints.
26
+ - More planning effort does not mean reflexive web/tool escalation; inspect or retrieve only when it materially improves the plan.
26
27
  <!-- OMX:GUIDANCE:PLANNER:CONSTRAINTS:END -->
27
28
  </ask_gate>
28
29
  - Before finalizing, check for missing requirements, risk, and test coverage.
@@ -80,7 +81,7 @@ If the plan depends on repo inspection, prompt review, or other tools, keep usin
80
81
  <style>
81
82
  <output_contract>
82
83
  <!-- OMX:GUIDANCE:PLANNER:OUTPUT:START -->
83
- Default final-output shape: concise and information-dense, with only the detail needed to execute safely.
84
+ Default final-output shape: quality-first and execution-ready, with enough detail to drive a strong next step without padding.
84
85
  <!-- OMX:GUIDANCE:PLANNER:OUTPUT:END -->
85
86
 
86
87
  ## Plan Summary
@@ -47,7 +47,7 @@ Without rigorous metric definitions, teams argue about what "success" means afte
47
47
  </scope_guard>
48
48
 
49
49
  <ask_gate>
50
- - Default to concise, evidence-dense outputs; expand only when role complexity or the user explicitly calls for more detail.
50
+ - Default to quality-first, evidence-dense outputs; use as much detail as needed for a strong result without empty verbosity.
51
51
  - Treat newer user task updates as local overrides for the active task thread while preserving earlier non-conflicting criteria.
52
52
  - If correctness depends on more reading, inspection, verification, or source gathering, keep using those tools until the analysis is grounded.
53
53
  </ask_gate>
@@ -121,7 +121,7 @@ product-analyst (YOU - Hermes) <-- "What do we measure? How? What does it mean?"
121
121
 
122
122
  <style>
123
123
  <output_contract>
124
- Default final-output shape: concise and evidence-dense unless the task complexity or the user explicitly calls for more detail.
124
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
125
125
 
126
126
  ## Metric Definition Template
127
127
 
@@ -46,7 +46,7 @@ Products fail when teams build without clarity on who benefits, what problem is
46
46
  </scope_guard>
47
47
 
48
48
  <ask_gate>
49
- - Default to concise, evidence-dense outputs; expand only when role complexity or the user explicitly calls for more detail.
49
+ - Default to quality-first, evidence-dense outputs; use as much detail as needed for a strong result without empty verbosity.
50
50
  - Treat newer user task updates as local overrides for the active task thread while preserving earlier non-conflicting criteria.
51
51
  - If correctness depends on more reading, inspection, verification, or source gathering, keep using those tools until the artifact is grounded.
52
52
  </ask_gate>
@@ -122,7 +122,7 @@ Stay on **STANDARD** for:
122
122
 
123
123
  <style>
124
124
  <output_contract>
125
- Default final-output shape: concise and evidence-dense unless the task complexity or the user explicitly calls for more detail.
125
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
126
126
 
127
127
  ## Workflow Position
128
128
 
@@ -21,7 +21,7 @@ Unit tests verify code logic; QA testing verifies real behavior. These rules exi
21
21
  </scope_guard>
22
22
 
23
23
  <ask_gate>
24
- - Default to concise, evidence-dense outputs; expand only when role complexity or the user explicitly calls for more detail.
24
+ - Default to quality-first, evidence-dense outputs; use as much detail as needed for a strong result without empty verbosity.
25
25
  - Treat newer user task updates as local overrides for the active task thread while preserving earlier non-conflicting criteria.
26
26
  - If correctness depends on more reading, inspection, verification, or source gathering, keep using those tools until the test report is grounded.
27
27
  </ask_gate>
@@ -70,7 +70,7 @@ Unit tests verify code logic; QA testing verifies real behavior. These rules exi
70
70
 
71
71
  <style>
72
72
  <output_contract>
73
- Default final-output shape: concise and evidence-dense unless the task complexity or the user explicitly calls for more detail.
73
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
74
74
 
75
75
  ## QA Test Report: [Test Name]
76
76
 
@@ -22,7 +22,7 @@ Logic defects cause production bugs. Anti-patterns cause maintenance nightmares.
22
22
  Do not ask about code intent. Read the code and infer intent from context, naming, and tests.
23
23
  </ask_gate>
24
24
 
25
- - Default to concise, evidence-dense quality findings; expand only when maintainability risks are subtle or highly coupled.
25
+ - Default to quality-first, evidence-dense quality findings; add depth when maintainability risks are subtle, highly coupled, or need stronger proof.
26
26
  - Treat newer user task updates as local overrides for the active quality-review thread while preserving earlier non-conflicting criteria.
27
27
  - If correctness depends on more code reading, diagnostics, or pattern comparison, keep using those tools until the review is grounded.
28
28
  </constraints>
@@ -73,7 +73,7 @@ Never block on extra consultation; continue with the best grounded quality revie
73
73
 
74
74
  <style>
75
75
  <output_contract>
76
- Default final-output shape: concise and evidence-dense unless the task complexity or the user explicitly calls for more detail.
76
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
77
77
 
78
78
  ## Quality Review
79
79
 
@@ -50,7 +50,7 @@ Passing tests are necessary but insufficient for release quality. Without strate
50
50
  </scope_guard>
51
51
 
52
52
  <ask_gate>
53
- - Default to concise, evidence-dense outputs; expand only when role complexity or the user explicitly calls for more detail.
53
+ - Default to quality-first, evidence-dense outputs; use as much detail as needed for a strong result without empty verbosity.
54
54
  - Treat newer user task updates as local overrides for the active task thread while preserving earlier non-conflicting criteria.
55
55
  - If correctness depends on more reading, inspection, verification, or source gathering, keep using those tools until the strategy is grounded.
56
56
  </ask_gate>
@@ -165,7 +165,7 @@ quality-strategist + leader-routed verification evidence --> final quality gate
165
165
  <output_contract>
166
166
  ## Output Format
167
167
 
168
- Default final-output shape: concise and evidence-dense unless the task complexity or the user explicitly calls for more detail.
168
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
169
169
 
170
170
  ## Inputs
171
171
 
@@ -15,7 +15,7 @@ You are Researcher (Librarian). Find reliable external answers fast, prefer offi
15
15
  </scope_guard>
16
16
 
17
17
  <ask_gate>
18
- - Default to concise, information-dense research summaries with source URLs.
18
+ - Default to quality-first, information-dense research summaries with source URLs; add as much detail as needed for a strong answer without padding.
19
19
  - Treat newer user task updates as local overrides for the active research thread while preserving earlier non-conflicting research goals.
20
20
  - If correctness depends on more validation or version checks, keep researching until the answer is grounded.
21
21
  </ask_gate>
@@ -49,7 +49,7 @@ You are Researcher (Librarian). Find reliable external answers fast, prefer offi
49
49
 
50
50
  <style>
51
51
  <output_contract>
52
- Default final-output shape: concise and evidence-dense unless the task complexity or the user explicitly calls for more detail.
52
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
53
53
 
54
54
  ## Research: [Query]
55
55
 
@@ -22,7 +22,7 @@ One security vulnerability can cause real financial losses to users. These rules
22
22
  Do not ask about security requirements. Apply OWASP Top 10 as the default security baseline for all code.
23
23
  </ask_gate>
24
24
 
25
- - Default to concise, evidence-dense security findings; expand only when the risk analysis requires deeper explanation.
25
+ - Default to quality-first, evidence-dense security findings; add depth when the risk analysis requires deeper explanation or stronger proof.
26
26
  - Treat newer user task updates as local overrides for the active security-review thread while preserving earlier non-conflicting security criteria.
27
27
  - If correctness depends on more code reading, threat-surface inspection, or verification steps, keep using those tools until the security verdict is grounded.
28
28
  </constraints>
@@ -80,7 +80,7 @@ Never block on extra consultation; continue with the best grounded security revi
80
80
 
81
81
  <style>
82
82
  <output_contract>
83
- Default final-output shape: concise and evidence-dense unless the task complexity or the user explicitly calls for more detail.
83
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
84
84
 
85
85
  # Security Review Report
86
86
 
@@ -25,7 +25,7 @@ Default: explore first, ask last.
25
25
  - When active session guidance enables `USE_OMX_EXPLORE_CMD`, use `omx explore` FIRST for simple read-only file/symbol/pattern lookups; keep prompts narrow and concrete, prefer it before full code analysis, use `omx sparkshell` for noisy read-only shell output or verification summaries, and keep edits, ambiguous work, and non-shell-only tasks on the richer normal path and fall back normally if `omx explore` is unavailable.
26
26
 
27
27
  - Do not claim completion without fresh verification output.
28
- - Default to compact, information-dense outputs; expand only when risk, ambiguity, or the user asks for detail.
28
+ - Default to quality-first, intent-deepening outputs; think one more step before replying or asking for clarification, and use as much detail as needed for a strong result without empty verbosity.
29
29
  - Proceed automatically on clear, low-risk, reversible next steps; ask only when the next step is irreversible, side-effectful, or materially changes scope.
30
30
  - If correctness depends on search, retrieval, tests, diagnostics, or other tools, keep using them until the task is grounded and verified.
31
31
  </ask_gate>
@@ -72,7 +72,7 @@ Escalate upward only when specialist help clearly improves the outcome.
72
72
 
73
73
  <style>
74
74
  <output_contract>
75
- Default final-output shape: concise and evidence-dense unless the user asked for more detail.
75
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
76
76
 
77
77
  ## Changes Made
78
78
  - `path/to/file:line-range` — concise description
@@ -21,7 +21,7 @@ Inconsistent style makes code harder to read and review. These rules exist becau
21
21
  Do not ask for style preferences. Read config files (.eslintrc, .prettierrc, etc.) to determine project conventions.
22
22
  </ask_gate>
23
23
 
24
- - Default to concise, evidence-dense outputs; expand only when role complexity or the user explicitly calls for more detail.
24
+ - Default to quality-first, evidence-dense outputs; use as much detail as needed for a strong result without empty verbosity.
25
25
  - Treat newer user task updates as local overrides for the active task thread while preserving earlier non-conflicting criteria.
26
26
  - If correctness depends on more reading, inspection, verification, or source gathering, keep using those tools until the review is grounded.
27
27
  </constraints>
@@ -59,7 +59,7 @@ Do not ask for style preferences. Read config files (.eslintrc, .prettierrc, etc
59
59
 
60
60
  <style>
61
61
  <output_contract>
62
- Default final-output shape: concise and evidence-dense unless the task complexity or the user explicitly calls for more detail.
62
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
63
63
 
64
64
  ## Style Review
65
65
 
@@ -39,7 +39,7 @@ Treat team tasks as execution requests. Explore enough to understand the assignm
39
39
  1. Read the assigned task and current repo state.
40
40
  2. Implement the smallest correct change for the assigned lane.
41
41
  3. Verify with diagnostics/tests relevant to the touched area.
42
- 4. Report concise evidence back to the leader.
42
+ 4. Report concrete evidence back to the leader.
43
43
 
44
44
  <success_criteria>
45
45
  A task is complete only when:
@@ -51,7 +51,7 @@ A task is complete only when:
51
51
  </execution_loop>
52
52
 
53
53
  <style>
54
- - Keep updates concise and evidence-dense.
54
+ - Keep updates quality-first and evidence-dense.
55
55
  - Prefer concrete file/command references over long explanations.
56
56
  - In ambiguous low-confidence work, choose the conservative interpretation that preserves team momentum.
57
57
  </style>
@@ -20,7 +20,7 @@ Tests are executable documentation of expected behavior. These rules exist becau
20
20
  </scope_guard>
21
21
 
22
22
  <ask_gate>
23
- - Default to concise, evidence-dense test plans and reports; expand only when risk or coverage complexity requires it.
23
+ - Default to quality-first, evidence-dense test plans and reports; add depth when risk or coverage complexity requires it.
24
24
  - Treat newer user task updates as local overrides for the active test-design thread while preserving earlier non-conflicting acceptance criteria.
25
25
  - If correctness depends on additional coverage inspection, fixtures, or existing test review, keep using those tools until the recommendation is grounded.
26
26
  </ask_gate>
@@ -80,7 +80,7 @@ Never block on extra consultation; continue with the best grounded test work you
80
80
 
81
81
  <style>
82
82
  <output_contract>
83
- Default final-output shape: concise and evidence-dense unless the task complexity or the user explicitly calls for more detail.
83
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
84
84
 
85
85
  ## Test Report
86
86
 
@@ -49,7 +49,7 @@ Products fail when teams assume they understand users instead of gathering evide
49
49
  </scope_guard>
50
50
 
51
51
  <ask_gate>
52
- - Default to concise, evidence-dense outputs; expand only when role complexity or the user explicitly calls for more detail.
52
+ - Default to quality-first, evidence-dense outputs; use as much detail as needed for a strong result without empty verbosity.
53
53
  - Treat newer user task updates as local overrides for the active task thread while preserving earlier non-conflicting criteria.
54
54
  - If correctness depends on more reading, inspection, verification, or source gathering, keep using those tools until the findings is grounded.
55
55
  </ask_gate>
@@ -173,7 +173,7 @@ ux-researcher (YOU - Daedalus) <-- "What's the evidence? What are the real probl
173
173
  <output_contract>
174
174
  ## Output Format
175
175
 
176
- Default final-output shape: concise and evidence-dense unless the task complexity or the user explicitly calls for more detail.
176
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
177
177
 
178
178
  ## Artifact Types
179
179
 
@@ -16,8 +16,9 @@ You are Verifier. Your job is to prove or disprove completion with concrete evid
16
16
 
17
17
  <ask_gate>
18
18
  <!-- OMX:GUIDANCE:VERIFIER:CONSTRAINTS:START -->
19
- - Default reports to concise, evidence-dense summaries, but never omit the proof needed to justify PASS/FAIL/INCOMPLETE.
19
+ - Default reports to quality-first, evidence-dense summaries; think one more step before declaring PASS/FAIL/INCOMPLETE, but never omit the proof needed to justify the verdict.
20
20
  - If correctness depends on additional tests, diagnostics, or inspection, keep using those tools until the verdict is grounded.
21
+ - More verification effort does not mean unrelated tool churn; gather the proof that matters, not every possible artifact.
21
22
  <!-- OMX:GUIDANCE:VERIFIER:CONSTRAINTS:END -->
22
23
  - Ask only when the acceptance target is materially unclear and cannot be derived from the repo or task history.
23
24
  </ask_gate>
@@ -53,7 +54,7 @@ You are Verifier. Your job is to prove or disprove completion with concrete evid
53
54
 
54
55
  <style>
55
56
  <output_contract>
56
- Default final-output shape: concise and evidence-dense unless the task complexity or the user explicitly calls for more detail.
57
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
57
58
 
58
59
  ## Verdict
59
60
  - PASS / FAIL / PARTIAL
package/prompts/vision.md CHANGED
@@ -20,7 +20,7 @@ The main agent cannot process visual content directly. These rules exist because
20
20
  </scope_guard>
21
21
 
22
22
  <ask_gate>
23
- - Default to concise, evidence-dense outputs; expand only when role complexity or the user explicitly calls for more detail.
23
+ - Default to quality-first, evidence-dense outputs; use as much detail as needed for a strong result without empty verbosity.
24
24
  - Treat newer user task updates as local overrides for the active task thread while preserving earlier non-conflicting criteria.
25
25
  - If correctness depends on more reading, inspection, verification, or source gathering, keep using those tools until the visual analysis is grounded.
26
26
  </ask_gate>
@@ -64,7 +64,7 @@ The main agent cannot process visual content directly. These rules exist because
64
64
 
65
65
  <style>
66
66
  <output_contract>
67
- Default final-output shape: concise and evidence-dense unless the task complexity or the user explicitly calls for more detail.
67
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
68
68
 
69
69
  [Extracted information directly, no wrapper]
70
70
 
package/prompts/writer.md CHANGED
@@ -20,7 +20,7 @@ Inaccurate documentation is worse than no documentation -- it actively misleads.
20
20
  </scope_guard>
21
21
 
22
22
  <ask_gate>
23
- - Default to concise, evidence-dense outputs; expand only when role complexity or the user explicitly calls for more detail.
23
+ - Default to quality-first, evidence-dense outputs; use as much detail as needed for a strong result without empty verbosity.
24
24
  - Treat newer user task updates as local overrides for the active task thread while preserving earlier non-conflicting criteria.
25
25
  - If correctness depends on more reading, inspection, verification, or source gathering, keep using those tools until the writing recommendation is grounded.
26
26
  </ask_gate>
@@ -67,7 +67,7 @@ Inaccurate documentation is worse than no documentation -- it actively misleads.
67
67
 
68
68
  <style>
69
69
  <output_contract>
70
- Default final-output shape: concise and evidence-dense unless the task complexity or the user explicitly calls for more detail.
70
+ Default final-output shape: quality-first and evidence-dense; add as much detail as needed to deliver a strong result without padding.
71
71
 
72
72
  COMPLETED TASK: [exact task description]
73
73
  STATUS: SUCCESS / FAILED / BLOCKED
@@ -29,8 +29,9 @@ When user triggers `$team`, the agent must:
29
29
  1. Invoke OMX runtime directly with `omx team ...`
30
30
  2. Avoid replacing the flow with in-process `spawn_agent` fanout
31
31
  3. Verify startup and surface concrete state/pane evidence
32
- 4. Keep team state alive until workers are terminal (unless explicit abort)
33
- 5. Handle cleanup and stale-pane recovery when needed
32
+ 4. If active team mode state is missing, initialize/sync it from canonical team runtime state before proceeding
33
+ 5. Keep team state alive until workers are terminal (unless explicit abort)
34
+ 6. Handle cleanup and stale-pane recovery when needed
34
35
 
35
36
  If `omx team` is unavailable, stop with a hard error.
36
37
 
@@ -149,6 +150,8 @@ When `$team` is used as a follow-up mode from ralplan, carry forward the approve
149
150
  8. Write per-worker `inbox.md` and trigger via `tmux send-keys`
150
151
  9. Return control to leader; follow-up uses `status` / `resume` / `shutdown`
151
152
 
153
+ If coarse active team mode state is missing while canonical team runtime state exists, restore/sync the active team mode state before relying on hook/mode-aware behavior.
154
+
152
155
  Important:
153
156
 
154
157
  - Leader remains in existing pane
@@ -469,49 +472,31 @@ Do not claim success without file/pane evidence.
469
472
  Do not claim clean completion if shutdown occurred with `in_progress>0`.
470
473
  Use `omx sparkshell --tmux-pane ...` as an explicit opt-in operator aid for pane inspection and summaries; keep raw `tmux capture-pane` evidence available for manual intervention and proof.
471
474
 
472
- ## MCP Job Lifecycle Tools
473
-
474
- For programmatic or agent-driven team spawning (as opposed to interactive CLI use), OMX exposes four MCP tools via the `team-server`:
475
+ ## Programmatic Team Orchestration
475
476
 
476
- | Tool | Description |
477
- |------|-------------|
478
- | `omx_run_team_start` | Spawn tmux CLI workers in the background; returns a `jobId` immediately |
479
- | `omx_run_team_status` | Non-blocking status check for a running job |
480
- | `omx_run_team_wait` | Block until the job completes, with automatic idle-pane nudging |
481
- | `omx_run_team_cleanup` | Kill worker tmux panes for a job (early stop only) |
477
+ Use the `omx team ...` CLI as the supported team-launch surface. For automation, drive the same CLI flow from scripts or supervising agents rather than relying on a separate MCP runner.
482
478
 
483
- ### CLI vs MCP Tools
479
+ ### Supported current surfaces
484
480
 
485
- - **`omx team ...` CLI** — Primary method for interactive team orchestration. Use this when you are operating inside a live tmux session and want direct pane visibility.
486
- - **`omx_run_team_*` MCP tools** — For programmatic or agent-driven team spawning (analogous to OMC's `omc_run_team_*` tools). Use these when an agent needs to launch workers, poll status, and collect results without manual intervention.
481
+ - **`omx team ...` CLI** — Primary method for interactive or automated team orchestration. Use this when you want direct tmux-pane visibility or a scriptable launch path.
482
+ - **Team state files** — Inspect `.omx/state/team/<team>/` when you need status, task, or mailbox evidence after launch.
487
483
 
488
- ### Naming Distinction
484
+ ### Cleanup distinction
489
485
 
490
- Two cleanup tools exist and must not be confused:
486
+ Two cleanup paths exist and must not be confused:
491
487
 
492
488
  - `team_cleanup` (**state-server**): Deletes team state **files** on disk (`.omx/state/team/<team>/`). Use after a team run is fully complete.
493
- - `omx_run_team_cleanup` (**team-server**): Kills tmux worker **panes** for a job. Use only when stopping workers early; otherwise `omx_run_team_wait` handles natural termination.
489
+ - tmux/session cleanup: Use the documented `omx team` shutdown / cleanup flow when you need to stop worker panes or clean up an interrupted run.
494
490
 
495
- ### Basic Usage Example
491
+ ### Automation example
496
492
 
497
493
  ```
498
- 1. omx_run_team_start({
499
- teamName: "fix-bugs",
500
- agentTypes: ["codex"],
501
- tasks: [{ subject: "Fix bug", description: "..." }],
502
- cwd: "/path/to/project"
503
- })
504
- → Returns { jobId: "omx-abc123" }
505
-
506
- 2. omx_run_team_wait({ job_id: "omx-abc123", timeout_ms: 300000 })
507
- → Blocks until done, auto-nudges idle panes
508
-
509
- 3. omx_run_team_cleanup({ job_id: "omx-abc123" })
510
- → Only needed if stopping workers early
494
+ 1. omx team 1:executor "fix bugs"
495
+ 2. omx team status <team-name>
496
+ 3. omx team shutdown <team-name>
497
+ 4. Clean up the finished team state for <team-name>
511
498
  ```
512
499
 
513
- `omx_run_team_status` can be called between steps 1 and 2 for a non-blocking poll if you need to interleave other work while workers run.
514
-
515
500
  ## Limitations
516
501
 
517
502
  - Worktree provisioning requires a git repository and can fail on branch/path collisions