oh-my-copilot 4.13.2 → 4.13.45

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 (445) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/README.md +9 -1
  4. package/agents/code-reviewer.agent.md +24 -6
  5. package/agents/designer.agent.md +12 -0
  6. package/bridge/cli.cjs +4069 -1732
  7. package/bridge/mcp-server.cjs +774 -269
  8. package/bridge/runtime-cli.cjs +1311 -141
  9. package/bridge/team.js +1778 -133
  10. package/dist/__tests__/agent-registry.test.js +92 -1
  11. package/dist/__tests__/agent-registry.test.js.map +1 -1
  12. package/dist/__tests__/auto-slash-aliases.test.js +91 -0
  13. package/dist/__tests__/auto-slash-aliases.test.js.map +1 -1
  14. package/dist/__tests__/bedrock-model-routing.test.js +18 -17
  15. package/dist/__tests__/bedrock-model-routing.test.js.map +1 -1
  16. package/dist/__tests__/delegation-enforcer.test.js +46 -6
  17. package/dist/__tests__/delegation-enforcer.test.js.map +1 -1
  18. package/dist/__tests__/hooks/session-end-cleanup.test.d.ts +2 -0
  19. package/dist/__tests__/hooks/session-end-cleanup.test.d.ts.map +1 -0
  20. package/dist/__tests__/hooks/session-end-cleanup.test.js +93 -0
  21. package/dist/__tests__/hooks/session-end-cleanup.test.js.map +1 -0
  22. package/dist/__tests__/hud/labels.test.d.ts +2 -0
  23. package/dist/__tests__/hud/labels.test.d.ts.map +1 -0
  24. package/dist/__tests__/hud/labels.test.js +158 -0
  25. package/dist/__tests__/hud/labels.test.js.map +1 -0
  26. package/dist/__tests__/hud/render-rate-limits-priority.test.js +26 -0
  27. package/dist/__tests__/hud/render-rate-limits-priority.test.js.map +1 -1
  28. package/dist/__tests__/hud/stdin.test.d.ts +2 -0
  29. package/dist/__tests__/hud/stdin.test.d.ts.map +1 -0
  30. package/dist/__tests__/hud/stdin.test.js +556 -0
  31. package/dist/__tests__/hud/stdin.test.js.map +1 -0
  32. package/dist/__tests__/hud-marketplace-resolution.test.js +34 -0
  33. package/dist/__tests__/hud-marketplace-resolution.test.js.map +1 -1
  34. package/dist/__tests__/installer-hud-skip.test.js +6 -0
  35. package/dist/__tests__/installer-hud-skip.test.js.map +1 -1
  36. package/dist/__tests__/installer-omc-reference.test.js +1 -1
  37. package/dist/__tests__/installer-omc-reference.test.js.map +1 -1
  38. package/dist/__tests__/mnemosyne/detector.test.js +2 -0
  39. package/dist/__tests__/mnemosyne/detector.test.js.map +1 -1
  40. package/dist/__tests__/model-routing-override-three-site-sync.test.d.ts +2 -0
  41. package/dist/__tests__/model-routing-override-three-site-sync.test.d.ts.map +1 -0
  42. package/dist/__tests__/model-routing-override-three-site-sync.test.js +75 -0
  43. package/dist/__tests__/model-routing-override-three-site-sync.test.js.map +1 -0
  44. package/dist/__tests__/non-claude-provider-detection.test.js +37 -0
  45. package/dist/__tests__/non-claude-provider-detection.test.js.map +1 -1
  46. package/dist/__tests__/notepad.test.js +2 -2
  47. package/dist/__tests__/notepad.test.js.map +1 -1
  48. package/dist/__tests__/package-dir-resolution-regression.test.js +25 -0
  49. package/dist/__tests__/package-dir-resolution-regression.test.js.map +1 -1
  50. package/dist/__tests__/pre-tool-enforcer.test.js +135 -1
  51. package/dist/__tests__/pre-tool-enforcer.test.js.map +1 -1
  52. package/dist/__tests__/ralph-prd-mandatory.test.js +11 -1
  53. package/dist/__tests__/ralph-prd-mandatory.test.js.map +1 -1
  54. package/dist/__tests__/ralph-prd.test.js +40 -2
  55. package/dist/__tests__/ralph-prd.test.js.map +1 -1
  56. package/dist/__tests__/session-start-script-context.test.js +121 -0
  57. package/dist/__tests__/session-start-script-context.test.js.map +1 -1
  58. package/dist/__tests__/setup-claude-md-script.test.js +44 -1
  59. package/dist/__tests__/setup-claude-md-script.test.js.map +1 -1
  60. package/dist/__tests__/skills.test.js +363 -4
  61. package/dist/__tests__/skills.test.js.map +1 -1
  62. package/dist/__tests__/state-root-resolution.test.js +56 -6
  63. package/dist/__tests__/state-root-resolution.test.js.map +1 -1
  64. package/dist/agents/definitions.d.ts.map +1 -1
  65. package/dist/agents/definitions.js +2 -1
  66. package/dist/agents/definitions.js.map +1 -1
  67. package/dist/autoresearch/__tests__/decide-outcome.test.d.ts +2 -0
  68. package/dist/autoresearch/__tests__/decide-outcome.test.d.ts.map +1 -0
  69. package/dist/autoresearch/__tests__/decide-outcome.test.js +69 -0
  70. package/dist/autoresearch/__tests__/decide-outcome.test.js.map +1 -0
  71. package/dist/autoresearch/__tests__/runtime.test.js +225 -28
  72. package/dist/autoresearch/__tests__/runtime.test.js.map +1 -1
  73. package/dist/autoresearch/runtime.d.ts.map +1 -1
  74. package/dist/autoresearch/runtime.js +25 -7
  75. package/dist/autoresearch/runtime.js.map +1 -1
  76. package/dist/cli/__tests__/launch.test.js +23 -0
  77. package/dist/cli/__tests__/launch.test.js.map +1 -1
  78. package/dist/cli/__tests__/self-improve-paths.test.js +3 -2
  79. package/dist/cli/__tests__/self-improve-paths.test.js.map +1 -1
  80. package/dist/cli/__tests__/team.test.js +100 -0
  81. package/dist/cli/__tests__/team.test.js.map +1 -1
  82. package/dist/cli/autoresearch.d.ts +1 -1
  83. package/dist/cli/autoresearch.d.ts.map +1 -1
  84. package/dist/cli/autoresearch.js +4 -4
  85. package/dist/cli/commands/__tests__/team-role-shorthand.test.js +30 -0
  86. package/dist/cli/commands/__tests__/team-role-shorthand.test.js.map +1 -1
  87. package/dist/cli/commands/__tests__/team.test.js +48 -1
  88. package/dist/cli/commands/__tests__/team.test.js.map +1 -1
  89. package/dist/cli/commands/team.d.ts +3 -0
  90. package/dist/cli/commands/team.d.ts.map +1 -1
  91. package/dist/cli/commands/team.js +23 -4
  92. package/dist/cli/commands/team.js.map +1 -1
  93. package/dist/cli/index.js +3 -0
  94. package/dist/cli/index.js.map +1 -1
  95. package/dist/cli/launch.d.ts.map +1 -1
  96. package/dist/cli/launch.js +7 -0
  97. package/dist/cli/launch.js.map +1 -1
  98. package/dist/cli/team.d.ts +6 -0
  99. package/dist/cli/team.d.ts.map +1 -1
  100. package/dist/cli/team.js +57 -4
  101. package/dist/cli/team.js.map +1 -1
  102. package/dist/config/__tests__/loader.test.js +35 -4
  103. package/dist/config/__tests__/loader.test.js.map +1 -1
  104. package/dist/config/__tests__/models.test.js +126 -3
  105. package/dist/config/__tests__/models.test.js.map +1 -1
  106. package/dist/config/models.d.ts +8 -0
  107. package/dist/config/models.d.ts.map +1 -1
  108. package/dist/config/models.js +119 -8
  109. package/dist/config/models.js.map +1 -1
  110. package/dist/features/boulder-state/constants.d.ts +1 -1
  111. package/dist/features/boulder-state/constants.d.ts.map +1 -1
  112. package/dist/features/builtin-skills/skills.d.ts.map +1 -1
  113. package/dist/features/builtin-skills/skills.js +11 -3
  114. package/dist/features/builtin-skills/skills.js.map +1 -1
  115. package/dist/features/builtin-skills/types.d.ts +7 -0
  116. package/dist/features/builtin-skills/types.d.ts.map +1 -1
  117. package/dist/features/delegation-enforcer.d.ts.map +1 -1
  118. package/dist/features/delegation-enforcer.js +10 -9
  119. package/dist/features/delegation-enforcer.js.map +1 -1
  120. package/dist/features/magic-keywords.d.ts.map +1 -1
  121. package/dist/features/magic-keywords.js +30 -1
  122. package/dist/features/magic-keywords.js.map +1 -1
  123. package/dist/features/rate-limit-wait/tmux-detector.d.ts +4 -4
  124. package/dist/features/rate-limit-wait/tmux-detector.js +9 -9
  125. package/dist/features/rate-limit-wait/tmux-detector.js.map +1 -1
  126. package/dist/hooks/__tests__/bridge-routing.test.js +157 -0
  127. package/dist/hooks/__tests__/bridge-routing.test.js.map +1 -1
  128. package/dist/hooks/auto-slash-command/constants.d.ts.map +1 -1
  129. package/dist/hooks/auto-slash-command/constants.js +1 -0
  130. package/dist/hooks/auto-slash-command/constants.js.map +1 -1
  131. package/dist/hooks/auto-slash-command/executor.d.ts.map +1 -1
  132. package/dist/hooks/auto-slash-command/executor.js +29 -0
  133. package/dist/hooks/auto-slash-command/executor.js.map +1 -1
  134. package/dist/hooks/autopilot/enforcement.d.ts.map +1 -1
  135. package/dist/hooks/autopilot/enforcement.js +19 -0
  136. package/dist/hooks/autopilot/enforcement.js.map +1 -1
  137. package/dist/hooks/bridge.d.ts.map +1 -1
  138. package/dist/hooks/bridge.js +210 -5
  139. package/dist/hooks/bridge.js.map +1 -1
  140. package/dist/hooks/learner/detector.js +1 -1
  141. package/dist/hooks/mode-registry/__tests__/session-isolation.test.js +16 -0
  142. package/dist/hooks/mode-registry/__tests__/session-isolation.test.js.map +1 -1
  143. package/dist/hooks/notepad/index.d.ts +4 -1
  144. package/dist/hooks/notepad/index.d.ts.map +1 -1
  145. package/dist/hooks/notepad/index.js +7 -4
  146. package/dist/hooks/notepad/index.js.map +1 -1
  147. package/dist/hooks/persistent-mode/__tests__/ralph-verification-flow.test.js +70 -3
  148. package/dist/hooks/persistent-mode/__tests__/ralph-verification-flow.test.js.map +1 -1
  149. package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
  150. package/dist/hooks/persistent-mode/index.js +10 -9
  151. package/dist/hooks/persistent-mode/index.js.map +1 -1
  152. package/dist/hooks/persistent-mode/stop-hook-blocking.test.js +101 -10
  153. package/dist/hooks/persistent-mode/stop-hook-blocking.test.js.map +1 -1
  154. package/dist/hooks/project-memory/__tests__/integration.test.js +117 -3
  155. package/dist/hooks/project-memory/__tests__/integration.test.js.map +1 -1
  156. package/dist/hooks/project-memory/__tests__/storage.test.js +11 -11
  157. package/dist/hooks/project-memory/__tests__/storage.test.js.map +1 -1
  158. package/dist/hooks/project-memory/index.d.ts.map +1 -1
  159. package/dist/hooks/project-memory/index.js +24 -12
  160. package/dist/hooks/project-memory/index.js.map +1 -1
  161. package/dist/hooks/ralph/index.d.ts +1 -1
  162. package/dist/hooks/ralph/index.d.ts.map +1 -1
  163. package/dist/hooks/ralph/index.js +1 -1
  164. package/dist/hooks/ralph/index.js.map +1 -1
  165. package/dist/hooks/ralph/loop.d.ts +6 -6
  166. package/dist/hooks/ralph/loop.d.ts.map +1 -1
  167. package/dist/hooks/ralph/loop.js +18 -18
  168. package/dist/hooks/ralph/loop.js.map +1 -1
  169. package/dist/hooks/ralph/prd.d.ts +23 -12
  170. package/dist/hooks/ralph/prd.d.ts.map +1 -1
  171. package/dist/hooks/ralph/prd.js +88 -42
  172. package/dist/hooks/ralph/prd.js.map +1 -1
  173. package/dist/hooks/session-end/__tests__/mode-state-cleanup.test.js +20 -0
  174. package/dist/hooks/session-end/__tests__/mode-state-cleanup.test.js.map +1 -1
  175. package/dist/hooks/session-end/index.d.ts +18 -2
  176. package/dist/hooks/session-end/index.d.ts.map +1 -1
  177. package/dist/hooks/session-end/index.js +157 -35
  178. package/dist/hooks/session-end/index.js.map +1 -1
  179. package/dist/hooks/skill-bridge.cjs +6 -5
  180. package/dist/hooks/skill-state/index.d.ts.map +1 -1
  181. package/dist/hooks/skill-state/index.js +1 -0
  182. package/dist/hooks/skill-state/index.js.map +1 -1
  183. package/dist/hud/__tests__/git-status.test.js +18 -0
  184. package/dist/hud/__tests__/git-status.test.js.map +1 -1
  185. package/dist/hud/elements/background.d.ts +3 -3
  186. package/dist/hud/elements/background.d.ts.map +1 -1
  187. package/dist/hud/elements/background.js +5 -4
  188. package/dist/hud/elements/background.js.map +1 -1
  189. package/dist/hud/elements/call-counts.d.ts +2 -2
  190. package/dist/hud/elements/call-counts.d.ts.map +1 -1
  191. package/dist/hud/elements/call-counts.js +7 -6
  192. package/dist/hud/elements/call-counts.js.map +1 -1
  193. package/dist/hud/elements/context.d.ts +3 -3
  194. package/dist/hud/elements/context.d.ts.map +1 -1
  195. package/dist/hud/elements/context.js +5 -4
  196. package/dist/hud/elements/context.js.map +1 -1
  197. package/dist/hud/elements/git.d.ts +2 -1
  198. package/dist/hud/elements/git.d.ts.map +1 -1
  199. package/dist/hud/elements/git.js +7 -6
  200. package/dist/hud/elements/git.js.map +1 -1
  201. package/dist/hud/elements/ralph.d.ts +2 -2
  202. package/dist/hud/elements/ralph.d.ts.map +1 -1
  203. package/dist/hud/elements/ralph.js +3 -2
  204. package/dist/hud/elements/ralph.js.map +1 -1
  205. package/dist/hud/elements/thinking.d.ts +2 -2
  206. package/dist/hud/elements/thinking.d.ts.map +1 -1
  207. package/dist/hud/elements/thinking.js +3 -2
  208. package/dist/hud/elements/thinking.js.map +1 -1
  209. package/dist/hud/elements/token-usage.d.ts +2 -2
  210. package/dist/hud/elements/token-usage.d.ts.map +1 -1
  211. package/dist/hud/elements/token-usage.js +3 -2
  212. package/dist/hud/elements/token-usage.js.map +1 -1
  213. package/dist/hud/render.d.ts.map +1 -1
  214. package/dist/hud/render.js +11 -10
  215. package/dist/hud/render.js.map +1 -1
  216. package/dist/hud/state.d.ts.map +1 -1
  217. package/dist/hud/state.js +18 -1
  218. package/dist/hud/state.js.map +1 -1
  219. package/dist/hud/stdin.d.ts +12 -1
  220. package/dist/hud/stdin.d.ts.map +1 -1
  221. package/dist/hud/stdin.js +123 -18
  222. package/dist/hud/stdin.js.map +1 -1
  223. package/dist/hud/types.d.ts +27 -0
  224. package/dist/hud/types.d.ts.map +1 -1
  225. package/dist/hud/types.js +58 -0
  226. package/dist/hud/types.js.map +1 -1
  227. package/dist/installer/__tests__/hud-cache-wrapper.test.d.ts +2 -0
  228. package/dist/installer/__tests__/hud-cache-wrapper.test.d.ts.map +1 -0
  229. package/dist/installer/__tests__/hud-cache-wrapper.test.js +235 -0
  230. package/dist/installer/__tests__/hud-cache-wrapper.test.js.map +1 -0
  231. package/dist/installer/__tests__/session-start-template.test.d.ts +2 -0
  232. package/dist/installer/__tests__/session-start-template.test.d.ts.map +1 -0
  233. package/dist/installer/__tests__/session-start-template.test.js +174 -0
  234. package/dist/installer/__tests__/session-start-template.test.js.map +1 -0
  235. package/dist/installer/__tests__/standalone-hook-reconcile.test.js +2 -0
  236. package/dist/installer/__tests__/standalone-hook-reconcile.test.js.map +1 -1
  237. package/dist/installer/index.d.ts.map +1 -1
  238. package/dist/installer/index.js +19 -7
  239. package/dist/installer/index.js.map +1 -1
  240. package/dist/lib/__tests__/mode-state-io.test.js +75 -12
  241. package/dist/lib/__tests__/mode-state-io.test.js.map +1 -1
  242. package/dist/lib/__tests__/worktree-paths.test.js +162 -39
  243. package/dist/lib/__tests__/worktree-paths.test.js.map +1 -1
  244. package/dist/lib/mode-state-io.d.ts +11 -0
  245. package/dist/lib/mode-state-io.d.ts.map +1 -1
  246. package/dist/lib/mode-state-io.js +64 -0
  247. package/dist/lib/mode-state-io.js.map +1 -1
  248. package/dist/lib/worktree-paths.d.ts +99 -9
  249. package/dist/lib/worktree-paths.d.ts.map +1 -1
  250. package/dist/lib/worktree-paths.js +284 -27
  251. package/dist/lib/worktree-paths.js.map +1 -1
  252. package/dist/planning/__tests__/artifacts.test.d.ts +2 -0
  253. package/dist/planning/__tests__/artifacts.test.d.ts.map +1 -0
  254. package/dist/planning/__tests__/artifacts.test.js +486 -0
  255. package/dist/planning/__tests__/artifacts.test.js.map +1 -0
  256. package/dist/planning/artifact-names.d.ts +13 -0
  257. package/dist/planning/artifact-names.d.ts.map +1 -0
  258. package/dist/planning/artifact-names.js +108 -0
  259. package/dist/planning/artifact-names.js.map +1 -0
  260. package/dist/planning/artifacts.d.ts +47 -0
  261. package/dist/planning/artifacts.d.ts.map +1 -0
  262. package/dist/planning/artifacts.js +221 -0
  263. package/dist/planning/artifacts.js.map +1 -0
  264. package/dist/team/__tests__/api-interop.compatibility.test.js +194 -5
  265. package/dist/team/__tests__/api-interop.compatibility.test.js.map +1 -1
  266. package/dist/team/__tests__/auto-merge-restart.test.d.ts +2 -0
  267. package/dist/team/__tests__/auto-merge-restart.test.d.ts.map +1 -0
  268. package/dist/team/__tests__/auto-merge-restart.test.js +128 -0
  269. package/dist/team/__tests__/auto-merge-restart.test.js.map +1 -0
  270. package/dist/team/__tests__/auto-merge.perf.test.d.ts +2 -0
  271. package/dist/team/__tests__/auto-merge.perf.test.d.ts.map +1 -0
  272. package/dist/team/__tests__/auto-merge.perf.test.js +85 -0
  273. package/dist/team/__tests__/auto-merge.perf.test.js.map +1 -0
  274. package/dist/team/__tests__/conflict-mailbox.test.d.ts +2 -0
  275. package/dist/team/__tests__/conflict-mailbox.test.d.ts.map +1 -0
  276. package/dist/team/__tests__/conflict-mailbox.test.js +238 -0
  277. package/dist/team/__tests__/conflict-mailbox.test.js.map +1 -0
  278. package/dist/team/__tests__/helpers/git-fixture.d.ts +72 -0
  279. package/dist/team/__tests__/helpers/git-fixture.d.ts.map +1 -0
  280. package/dist/team/__tests__/helpers/git-fixture.js +252 -0
  281. package/dist/team/__tests__/helpers/git-fixture.js.map +1 -0
  282. package/dist/team/__tests__/leader-inbox.test.d.ts +2 -0
  283. package/dist/team/__tests__/leader-inbox.test.d.ts.map +1 -0
  284. package/dist/team/__tests__/leader-inbox.test.js +152 -0
  285. package/dist/team/__tests__/leader-inbox.test.js.map +1 -0
  286. package/dist/team/__tests__/merge-orchestrator.test.d.ts +2 -0
  287. package/dist/team/__tests__/merge-orchestrator.test.d.ts.map +1 -0
  288. package/dist/team/__tests__/merge-orchestrator.test.js +779 -0
  289. package/dist/team/__tests__/merge-orchestrator.test.js.map +1 -0
  290. package/dist/team/__tests__/model-contract.test.js +92 -2
  291. package/dist/team/__tests__/model-contract.test.js.map +1 -1
  292. package/dist/team/__tests__/rebase-smoke.test.d.ts +2 -0
  293. package/dist/team/__tests__/rebase-smoke.test.d.ts.map +1 -0
  294. package/dist/team/__tests__/rebase-smoke.test.js +272 -0
  295. package/dist/team/__tests__/rebase-smoke.test.js.map +1 -0
  296. package/dist/team/__tests__/runtime-cli.test.js +9 -1
  297. package/dist/team/__tests__/runtime-cli.test.js.map +1 -1
  298. package/dist/team/__tests__/runtime-v2.dispatch.test.js +180 -1
  299. package/dist/team/__tests__/runtime-v2.dispatch.test.js.map +1 -1
  300. package/dist/team/__tests__/scaling.test.js +39 -1
  301. package/dist/team/__tests__/scaling.test.js.map +1 -1
  302. package/dist/team/__tests__/teardown-invariant.test.d.ts +2 -0
  303. package/dist/team/__tests__/teardown-invariant.test.d.ts.map +1 -0
  304. package/dist/team/__tests__/teardown-invariant.test.js +176 -0
  305. package/dist/team/__tests__/teardown-invariant.test.js.map +1 -0
  306. package/dist/team/__tests__/worker-bootstrap.test.js +6 -0
  307. package/dist/team/__tests__/worker-bootstrap.test.js.map +1 -1
  308. package/dist/team/__tests__/worker-commit-cadence.test.d.ts +2 -0
  309. package/dist/team/__tests__/worker-commit-cadence.test.d.ts.map +1 -0
  310. package/dist/team/__tests__/worker-commit-cadence.test.js +315 -0
  311. package/dist/team/__tests__/worker-commit-cadence.test.js.map +1 -0
  312. package/dist/team/__tests__/worktree-runtime-e2e.test.d.ts +2 -0
  313. package/dist/team/__tests__/worktree-runtime-e2e.test.d.ts.map +1 -0
  314. package/dist/team/__tests__/worktree-runtime-e2e.test.js +182 -0
  315. package/dist/team/__tests__/worktree-runtime-e2e.test.js.map +1 -0
  316. package/dist/team/api-interop.d.ts.map +1 -1
  317. package/dist/team/api-interop.js +89 -2
  318. package/dist/team/api-interop.js.map +1 -1
  319. package/dist/team/conflict-mailbox.d.ts +49 -0
  320. package/dist/team/conflict-mailbox.d.ts.map +1 -0
  321. package/dist/team/conflict-mailbox.js +98 -0
  322. package/dist/team/conflict-mailbox.js.map +1 -0
  323. package/dist/team/delegation-evidence.d.ts +5 -0
  324. package/dist/team/delegation-evidence.d.ts.map +1 -0
  325. package/dist/team/delegation-evidence.js +29 -0
  326. package/dist/team/delegation-evidence.js.map +1 -0
  327. package/dist/team/leader-inbox.d.ts +28 -0
  328. package/dist/team/leader-inbox.d.ts.map +1 -0
  329. package/dist/team/leader-inbox.js +68 -0
  330. package/dist/team/leader-inbox.js.map +1 -0
  331. package/dist/team/merge-coordinator.d.ts +6 -0
  332. package/dist/team/merge-coordinator.d.ts.map +1 -1
  333. package/dist/team/merge-coordinator.js +6 -2
  334. package/dist/team/merge-coordinator.js.map +1 -1
  335. package/dist/team/merge-orchestrator.d.ts +41 -0
  336. package/dist/team/merge-orchestrator.d.ts.map +1 -0
  337. package/dist/team/merge-orchestrator.js +736 -0
  338. package/dist/team/merge-orchestrator.js.map +1 -0
  339. package/dist/team/model-contract.d.ts +8 -0
  340. package/dist/team/model-contract.d.ts.map +1 -1
  341. package/dist/team/model-contract.js +13 -0
  342. package/dist/team/model-contract.js.map +1 -1
  343. package/dist/team/runtime-cli.d.ts +1 -0
  344. package/dist/team/runtime-cli.d.ts.map +1 -1
  345. package/dist/team/runtime-cli.js +15 -2
  346. package/dist/team/runtime-cli.js.map +1 -1
  347. package/dist/team/runtime-flags.d.ts +5 -0
  348. package/dist/team/runtime-flags.d.ts.map +1 -0
  349. package/dist/team/runtime-flags.js +12 -0
  350. package/dist/team/runtime-flags.js.map +1 -0
  351. package/dist/team/runtime-v2.d.ts +9 -2
  352. package/dist/team/runtime-v2.d.ts.map +1 -1
  353. package/dist/team/runtime-v2.js +188 -9
  354. package/dist/team/runtime-v2.js.map +1 -1
  355. package/dist/team/state/tasks.d.ts +4 -1
  356. package/dist/team/state/tasks.d.ts.map +1 -1
  357. package/dist/team/state/tasks.js +38 -1
  358. package/dist/team/state/tasks.js.map +1 -1
  359. package/dist/team/team-ops.d.ts +4 -1
  360. package/dist/team/team-ops.d.ts.map +1 -1
  361. package/dist/team/team-ops.js +2 -2
  362. package/dist/team/team-ops.js.map +1 -1
  363. package/dist/team/types.d.ts +22 -1
  364. package/dist/team/types.d.ts.map +1 -1
  365. package/dist/team/types.js.map +1 -1
  366. package/dist/team/worker-bootstrap.d.ts +4 -0
  367. package/dist/team/worker-bootstrap.d.ts.map +1 -1
  368. package/dist/team/worker-bootstrap.js +16 -2
  369. package/dist/team/worker-bootstrap.js.map +1 -1
  370. package/dist/team/worker-commit-cadence.d.ts +70 -0
  371. package/dist/team/worker-commit-cadence.d.ts.map +1 -0
  372. package/dist/team/worker-commit-cadence.js +271 -0
  373. package/dist/team/worker-commit-cadence.js.map +1 -0
  374. package/dist/tools/__tests__/memory-tools.test.js +4 -4
  375. package/dist/tools/__tests__/memory-tools.test.js.map +1 -1
  376. package/dist/tools/__tests__/state-tools.test.js +335 -6
  377. package/dist/tools/__tests__/state-tools.test.js.map +1 -1
  378. package/dist/tools/__tests__/wiki-tools-working-directory.test.d.ts +2 -0
  379. package/dist/tools/__tests__/wiki-tools-working-directory.test.d.ts.map +1 -0
  380. package/dist/tools/__tests__/wiki-tools-working-directory.test.js +66 -0
  381. package/dist/tools/__tests__/wiki-tools-working-directory.test.js.map +1 -0
  382. package/dist/tools/state-tools.d.ts +3 -10
  383. package/dist/tools/state-tools.d.ts.map +1 -1
  384. package/dist/tools/state-tools.js +393 -91
  385. package/dist/tools/state-tools.js.map +1 -1
  386. package/dist/tools/wiki-tools.js +8 -8
  387. package/dist/tools/wiki-tools.js.map +1 -1
  388. package/docs/GETTING-STARTED.md +422 -0
  389. package/docs/MIGRATION.md +66 -66
  390. package/docs/REFERENCE.md +21 -4
  391. package/docs/company-context-interface.md +5 -16
  392. package/docs/copilot-instructions.md +1 -1
  393. package/package.json +1 -1
  394. package/scripts/lib/hud-cache-wrapper.sh +122 -0
  395. package/scripts/lib/model-routing-override-message.mjs +21 -0
  396. package/scripts/persistent-mode.cjs +36 -0
  397. package/scripts/persistent-mode.mjs +36 -0
  398. package/scripts/plugin-setup.mjs +10 -1
  399. package/scripts/post-tool-verifier.mjs +119 -5
  400. package/scripts/pre-tool-enforcer.mjs +114 -6
  401. package/scripts/session-start.mjs +234 -3
  402. package/scripts/setup-copilot-instructions.sh +12 -2
  403. package/skills/AGENTS.md +22 -91
  404. package/skills/ai-slop-cleaner/SKILL.md +118 -120
  405. package/skills/ask/SKILL.md +6 -8
  406. package/skills/autopilot/SKILL.md +1 -28
  407. package/skills/autoresearch/SKILL.md +5 -5
  408. package/skills/cancel/SKILL.md +13 -13
  409. package/skills/cccg/SKILL.md +1 -0
  410. package/skills/configure-notifications/SKILL.md +77 -212
  411. package/skills/debug/SKILL.md +3 -2
  412. package/skills/deep-dive/SKILL.md +20 -9
  413. package/skills/deep-interview/SKILL.md +32 -4
  414. package/skills/deepinit/SKILL.md +1 -0
  415. package/skills/external-context/SKILL.md +2 -1
  416. package/skills/hud/SKILL.md +22 -52
  417. package/skills/learner/SKILL.md +90 -57
  418. package/skills/omc-doctor/SKILL.md +1 -1
  419. package/skills/omc-reference/SKILL.md +6 -6
  420. package/skills/omc-setup/SKILL.md +29 -73
  421. package/skills/omc-setup/phases/01-install-claude-md.md +97 -0
  422. package/skills/omc-setup/phases/02-configure.md +25 -40
  423. package/skills/omc-setup/phases/03-integrations.md +100 -69
  424. package/skills/omc-setup/phases/04-welcome.md +104 -46
  425. package/skills/omc-teams/SKILL.md +63 -26
  426. package/skills/plan/SKILL.md +11 -9
  427. package/skills/project-session-manager/SKILL.md +2 -2
  428. package/skills/project-session-manager/psm.sh +1 -1
  429. package/skills/ralph/SKILL.md +42 -41
  430. package/skills/ralplan/SKILL.md +3 -10
  431. package/skills/release/SKILL.md +168 -57
  432. package/skills/remember/SKILL.md +2 -1
  433. package/skills/sciomc/SKILL.md +12 -11
  434. package/skills/self-improve/SKILL.md +4 -4
  435. package/skills/setup/SKILL.md +1 -0
  436. package/skills/skill/SKILL.md +21 -20
  437. package/skills/skillify/SKILL.md +34 -3
  438. package/skills/team/SKILL.md +62 -44
  439. package/skills/ultraqa/SKILL.md +1 -2
  440. package/skills/ultrawork/SKILL.md +28 -21
  441. package/skills/verify/SKILL.md +2 -1
  442. package/skills/writer-memory/SKILL.md +2 -1
  443. package/templates/hooks/lib/model-routing-override-message.mjs +21 -0
  444. package/templates/hooks/pre-tool-use.mjs +144 -45
  445. package/templates/hooks/session-start.mjs +62 -0
@@ -10,7 +10,7 @@
10
10
  {
11
11
  "name": "oh-my-copilot",
12
12
  "description": "Copilot CLI native multi-agent orchestration with intelligent model routing, 18 agent variants, and 32 powerful skills. Zero learning curve. Maximum power.",
13
- "version": "4.13.2",
13
+ "version": "4.13.45",
14
14
  "author": {
15
15
  "name": "Robin Norberg",
16
16
  "email": "github@platypus.se"
@@ -27,5 +27,5 @@
27
27
  ]
28
28
  }
29
29
  ],
30
- "version": "4.13.2"
30
+ "version": "4.13.45"
31
31
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-copilot",
3
- "version": "4.13.2",
3
+ "version": "4.13.45",
4
4
  "description": "Multi-agent orchestration system for Copilot CLI",
5
5
  "author": {
6
6
  "name": "Robin Norberg and oh-my-copilot contributors"
package/README.md CHANGED
@@ -47,6 +47,14 @@ autopilot: build a todo-app
47
47
  # If you enjoy the output, give the repo att ⭐ and tell a friend
48
48
  ```
49
49
 
50
+ > **Known npm warning:** `npm i -g oh-my-copilot@latest` may print `deprecated prebuild-install@7.1.3`.
51
+ > This comes from the upstream `better-sqlite3` native-addon dependency
52
+ > (`better-sqlite3 -> prebuild-install`); `prebuild-install@7.1.3` is still the latest
53
+ > published version, so there is no safe repo-side dependency bump or override to remove
54
+ > the warning yet. The warning is tracked upstream in
55
+ > [yeachan-heo/oh-my-claudecode#2913](https://github.com/Yeachan-Heo/oh-my-claudecode/issues/2913)
56
+ > and does not by itself mean the install failed.
57
+
50
58
  ### Not Sure Where to Start?
51
59
 
52
60
  If you're uncertain about requirements, have a vague idea, or want to micromanage the design:
@@ -253,4 +261,4 @@ Contributions welcome! Open an issue or PR on [GitHub](https://github.com/RobinN
253
261
 
254
262
  MIT — see [LICENSE](LICENSE).
255
263
 
256
- ---
264
+ ---
@@ -14,12 +14,15 @@ disallowedTools: Write, Edit
14
14
 
15
15
  <Why_This_Matters>
16
16
  Code review is the last line of defense before bugs and vulnerabilities reach production. These rules exist because reviews that miss security issues cause real damage, and reviews that only nitpick style waste everyone's time. Severity-rated feedback lets implementers prioritize effectively. Logic defects cause production bugs. Anti-patterns cause maintenance nightmares. Catching an off-by-one error or a God Object in review prevents hours of debugging later.
17
+
18
+ Conversely, suppressing low-severity findings during the discovery stage causes silent regressions — recent Claude models follow filtering instructions faithfully and may not surface bugs they would otherwise catch. Discovery prioritizes coverage; ranking and filtering belong in a downstream verification stage, not in the reviewer's first pass.
17
19
  </Why_This_Matters>
18
20
 
19
21
  <Success_Criteria>
20
22
  - Spec compliance verified BEFORE code quality (Stage 1 before Stage 2)
21
23
  - Every issue cites a specific file:line reference
22
- - Issues rated by severity: CRITICAL, HIGH, MEDIUM, LOW
24
+ - Issues rated by severity (CRITICAL/HIGH/MEDIUM/LOW) AND confidence (LOW/MEDIUM/HIGH) so a downstream filter can rank them — discovery and filtering are separated stages
25
+ - Coverage is the goal during discovery: surface every finding including low-severity and uncertain ones; do not pre-filter
23
26
  - Each issue includes a concrete fix suggestion
24
27
  - lsp_diagnostics run on all modified files (no type errors approved)
25
28
  - Clear verdict: APPROVE, REQUEST CHANGES, or COMMENT
@@ -33,7 +36,7 @@ disallowedTools: Write, Edit
33
36
  - Read-only: Write and Edit tools are blocked.
34
37
  - Review is a separate reviewer pass, never the same authoring pass that produced the change.
35
38
  - Never approve your own authoring output or any change produced in the same active context; require a separate reviewer/verifier lane for sign-off.
36
- - Never approve code with CRITICAL or HIGH severity issues.
39
+ - Never approve code with CRITICAL or HIGH severity issues at HIGH confidence. Low-confidence CRITICAL/HIGH findings are surfaced under "Open Questions" and do not block the verdict on their own.
37
40
  - Never skip Stage 1 (spec compliance) to jump to style nitpicks.
38
41
  - For trivial changes (single line, typo fix, no behavior change): skip Stage 1, brief Stage 2 only.
39
42
  - Be constructive: explain WHY something is an issue and HOW to fix it.
@@ -49,8 +52,8 @@ disallowedTools: Write, Edit
49
52
  6) Scan for anti-patterns: God Object, spaghetti code, magic numbers, copy-paste, shotgun surgery, feature envy.
50
53
  7) Evaluate SOLID principles: SRP (one reason to change?), OCP (extend without modifying?), LSP (substitutability?), ISP (small interfaces?), DIP (abstractions?).
51
54
  8) Assess maintainability: readability, complexity (cyclomatic < 10), testability, naming clarity.
52
- 9) Rate each issue by severity and provide fix suggestion.
53
- 10) Issue verdict based on highest severity found.
55
+ 9) Rate each issue by severity AND confidence (LOW/MEDIUM/HIGH). Report every issue you find, including low-severity and uncertain ones; filtering happens in a downstream verification stage, not here.
56
+ 10) Issue verdict based on the highest severity found AT HIGH confidence. CRITICAL/HIGH findings rated LOW confidence go to a separate "Open Questions" section and do NOT block the verdict on their own — surface them, let the consumer decide. (Mirrors the self-audit pattern from #1335.)
54
57
  </Investigation_Protocol>
55
58
 
56
59
  <Tool_Usage>
@@ -74,6 +77,12 @@ disallowedTools: Write, Edit
74
77
  - Stop when verdict is clear and all issues are documented with severity and fix suggestions.
75
78
  </Execution_Policy>
76
79
 
80
+ <Discovery_Filtering_Separation>
81
+ - Stage 2 outputs are findings, not decisions. Do not omit a finding because it seems unimportant — annotate it with severity + confidence and let the consumer decide.
82
+ - When the user prompt contains soft filter language ("only important issues", "be conservative", "don't nitpick"), interpret it as ranking guidance for the consumer, not as a directive to silently drop findings during discovery.
83
+ - It is better to surface a finding that gets filtered out downstream than to silently miss a real bug. Recall is the reviewer's responsibility; precision is the consumer's.
84
+ </Discovery_Filtering_Separation>
85
+
77
86
  <Review_Checklist>
78
87
  ### Security
79
88
  - No hardcoded secrets (API keys, passwords, tokens)
@@ -104,9 +113,10 @@ disallowedTools: Write, Edit
104
113
  - No commented-out code
105
114
 
106
115
  ### Approval Criteria
107
- - **APPROVE**: No CRITICAL or HIGH issues, minor improvements only
108
- - **REQUEST CHANGES**: CRITICAL or HIGH issues present
116
+ - **APPROVE**: No CRITICAL or HIGH issues at HIGH confidence; minor improvements only
117
+ - **REQUEST CHANGES**: CRITICAL or HIGH issues present at HIGH confidence
109
118
  - **COMMENT**: Only LOW/MEDIUM issues, no blocking concerns
119
+ - Low-confidence CRITICAL/HIGH findings are reported under "Open Questions" — surface them, but do not gate the verdict on them on their own
110
120
  </Review_Checklist>
111
121
 
112
122
  <Output_Format>
@@ -124,9 +134,17 @@ disallowedTools: Write, Edit
124
134
  ### Issues
125
135
  [CRITICAL] Hardcoded API key
126
136
  File: src/api/client.ts:42
137
+ Confidence: HIGH
127
138
  Issue: API key exposed in source code
128
139
  Fix: Move to environment variable
129
140
 
141
+ ### Open Questions (low-confidence findings — surfaced, not blocking)
142
+ [HIGH] Possible race condition on concurrent writes
143
+ File: src/db.ts:88
144
+ Confidence: LOW
145
+ Issue: Two writers may interleave during retry; needs runtime confirmation
146
+ Fix: Add a transaction wrapper if reproducible
147
+
130
148
  ### Positive Observations
131
149
  - [Things done well to reinforce]
132
150
 
@@ -30,11 +30,14 @@ model: sonnet
30
30
  - Complete what is asked. No scope creep. Work until it works.
31
31
  - Study existing patterns, conventions, and commit history before implementing.
32
32
  - Avoid: generic fonts, purple gradients on white (AI slop), predictable layouts, cookie-cutter design.
33
+ - Recognize Opus 4.7's default house style (warm cream/off-white backgrounds ~`#F4F1EA`, serif display type like Georgia/Fraunces/Playfair, italic accents, terracotta/amber accents). This default reads well for editorial, hospitality, portfolio, and brand briefs — but is inappropriate for dashboards, dev tools, fintech, healthcare, enterprise apps, and data-dense UIs.
34
+ - Generic negations ("don't use cream", "make it minimal") shift the default to another fixed palette rather than producing variety. When overriding the default, specify a concrete alternative palette (with hex codes) and typography stack.
33
35
  </Constraints>
34
36
 
35
37
  <Investigation_Protocol>
36
38
  1) Detect framework: check package.json for react/next/vue/angular/svelte/solid. Use detected framework's idioms throughout.
37
39
  2) Commit to an aesthetic direction BEFORE coding: Purpose (what problem), Tone (pick an extreme), Constraints (technical), Differentiation (the ONE memorable thing).
40
+ 2.5) Domain check the brief against Opus 4.7's editorial-leaning default. If the brief is in {editorial, hospitality, portfolio, brand}, the default direction may fit — still articulate it explicitly. If the brief is in {dashboard, dev tools, fintech, healthcare, enterprise, data viz}, override the default with a concrete alternative palette (hex codes) and typeface stack before coding — unless the user or brand guidelines explicitly request the editorial aesthetic for that product, in which case follow the explicit request and articulate it as a deliberate choice (explicit user/brand intent always wins over the domain default). For ambiguous briefs, propose 3-4 distinct visual directions (each as: bg hex / accent hex / typeface — one-line rationale), select the best-fit default for the brief and context, and proceed. Designer is execution-oriented: only request user clarification when the current runtime explicitly supports or requests interactive input — do not pause for user selection by default.
38
41
  3) Study existing UI patterns in the codebase: component structure, styling approach, animation library.
39
42
  4) Implement working code that is production-grade, visually striking, and cohesive.
40
43
  5) Verify: component renders, no console errors, responsive at common breakpoints.
@@ -60,6 +63,14 @@ model: sonnet
60
63
  - Stop when the UI is functional, visually intentional, and verified.
61
64
  </Execution_Policy>
62
65
 
66
+ <Domain_Aware_Defaults>
67
+ - Opus 4.7 has a persistent default house style (cream/off-white backgrounds, serif display, terracotta/amber accents, italic accents). It is editorial-leaning by design.
68
+ - Editorial-fit briefs (editorial, hospitality, portfolio, brand): the default direction may fit — still articulate it explicitly in the Aesthetic Direction so it is a chosen decision, not a fallback.
69
+ - Non-editorial briefs (dashboard, dev tools, fintech, healthcare, enterprise, data viz): override the default explicitly with a concrete alternative. State the override palette (hex codes) and typeface stack in the Aesthetic Direction before any code. Exception: if the user or brand explicitly requests an editorial aesthetic for the product (e.g., a fintech with a deliberate magazine-style brand), follow the explicit direction and articulate it as a deliberate choice rather than the model's default — explicit user/brand intent overrides the domain mapping.
70
+ - Generic negations ("don't use cream", "avoid serifs", "make it clean") shift the model to another fixed default rather than producing variety. Always pair an override with a concrete target.
71
+ - For ambiguous briefs, propose 3-4 distinct visual directions before building (each as: bg hex / accent hex / typeface — one-line rationale), then select the best-fit default for the brief and context and proceed. Designer is execution-oriented: only request user clarification when the current runtime explicitly supports or requests interactive input — do not pause for user selection by default. When the runtime does support clarification (synchronous coding sessions where the harness signals it), surfacing the options to the user before proceeding is fine.
72
+ </Domain_Aware_Defaults>
73
+
63
74
  <Output_Format>
64
75
  ## Design Implementation
65
76
 
@@ -84,6 +95,7 @@ model: sonnet
84
95
  <Failure_Modes_To_Avoid>
85
96
  - Generic design: Using Inter/Roboto, default spacing, no visual personality. Instead, commit to a bold aesthetic and execute with precision.
86
97
  - AI slop: Purple gradients on white, generic hero sections. Instead, make unexpected choices that feel designed for the specific context.
98
+ - Editorial default on operational UI: Producing cream/serif/terracotta editorial aesthetics for a dashboard, fintech, healthcare, or developer-tool brief. Opus 4.7's default is editorial-leaning and must be overridden with a concrete alternative for these domains — generic negations alone are not enough.
87
99
  - Framework mismatch: Using React patterns in a Svelte project. Always detect and match the framework.
88
100
  - Ignoring existing patterns: Creating components that look nothing like the rest of the app. Study existing code first.
89
101
  - Unverified implementation: Creating UI code without checking that it renders. Always verify.