oh-my-copilot 5.19.2 → 5.19.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/README.md +70 -67
  4. package/agents/planner.md +4 -4
  5. package/bin/oh-my-copilot.js +5 -1
  6. package/bridge/claude-md-coordinator.cjs +2 -2
  7. package/bridge/cli.cjs +3043 -2635
  8. package/bridge/mcp-server.cjs +969 -867
  9. package/bridge/runtime-cli.cjs +244 -184
  10. package/bridge/team-bridge.cjs +17 -1
  11. package/bridge/team-mcp.cjs +208 -140
  12. package/bridge/team.js +73 -13
  13. package/copilot/agents/planner.md +4 -4
  14. package/dist/__tests__/ci-evidence.test.d.ts +2 -0
  15. package/dist/__tests__/ci-evidence.test.d.ts.map +1 -0
  16. package/dist/__tests__/ci-evidence.test.js +210 -0
  17. package/dist/__tests__/ci-evidence.test.js.map +1 -0
  18. package/dist/__tests__/copilot-hooks-manifest.test.js +1 -0
  19. package/dist/__tests__/copilot-hooks-manifest.test.js.map +1 -1
  20. package/dist/__tests__/doctor-conflicts.test.js +6 -5
  21. package/dist/__tests__/doctor-conflicts.test.js.map +1 -1
  22. package/dist/__tests__/hud/cli-diagnostic.test.js +4 -3
  23. package/dist/__tests__/hud/cli-diagnostic.test.js.map +1 -1
  24. package/dist/__tests__/mnemosyne/detector.test.js +3 -2
  25. package/dist/__tests__/mnemosyne/detector.test.js.map +1 -1
  26. package/dist/__tests__/run-cjs-windows-stdio-contract.test.js +50 -10
  27. package/dist/__tests__/run-cjs-windows-stdio-contract.test.js.map +1 -1
  28. package/dist/__tests__/session-end-process-exit.test.js +15 -5
  29. package/dist/__tests__/session-end-process-exit.test.js.map +1 -1
  30. package/dist/__tests__/session-start-script-context.test.js +1 -1
  31. package/dist/__tests__/session-start-script-context.test.js.map +1 -1
  32. package/dist/__tests__/setup/stub-skill-list-probe.d.ts +2 -0
  33. package/dist/__tests__/setup/stub-skill-list-probe.d.ts.map +1 -0
  34. package/dist/__tests__/setup/stub-skill-list-probe.js +11 -0
  35. package/dist/__tests__/setup/stub-skill-list-probe.js.map +1 -0
  36. package/dist/__tests__/setup-claude-md-script.test.js +7 -4
  37. package/dist/__tests__/setup-claude-md-script.test.js.map +1 -1
  38. package/dist/__tests__/setup-config-script.test.d.ts +2 -0
  39. package/dist/__tests__/setup-config-script.test.d.ts.map +1 -0
  40. package/dist/__tests__/setup-config-script.test.js +350 -0
  41. package/dist/__tests__/setup-config-script.test.js.map +1 -0
  42. package/dist/__tests__/shipyard-seed-locale.test.js +1 -1
  43. package/dist/__tests__/shipyard-seed-locale.test.js.map +1 -1
  44. package/dist/__tests__/shipyard-skills.test.js +9 -9
  45. package/dist/__tests__/shipyard-skills.test.js.map +1 -1
  46. package/dist/__tests__/tier0-docs-consistency.test.js +5 -5
  47. package/dist/__tests__/tier0-docs-consistency.test.js.map +1 -1
  48. package/dist/__tests__/trusted-publishing-contract.test.js +56 -7
  49. package/dist/__tests__/trusted-publishing-contract.test.js.map +1 -1
  50. package/dist/__tests__/visual-verdict-skill.test.js +1 -1
  51. package/dist/__tests__/visual-verdict-skill.test.js.map +1 -1
  52. package/dist/cli/__tests__/autoresearch.test.js +3 -2
  53. package/dist/cli/__tests__/autoresearch.test.js.map +1 -1
  54. package/dist/cli/autoresearch.d.ts +1 -1
  55. package/dist/cli/autoresearch.d.ts.map +1 -1
  56. package/dist/cli/autoresearch.js +2 -1
  57. package/dist/cli/autoresearch.js.map +1 -1
  58. package/dist/cli/commands/__tests__/factory-init.test.js +2 -1
  59. package/dist/cli/commands/__tests__/factory-init.test.js.map +1 -1
  60. package/dist/cli/commands/__tests__/intake.test.js +26 -4
  61. package/dist/cli/commands/__tests__/intake.test.js.map +1 -1
  62. package/dist/cli/commands/doctor-conflicts.d.ts.map +1 -1
  63. package/dist/cli/commands/doctor-conflicts.js +5 -4
  64. package/dist/cli/commands/doctor-conflicts.js.map +1 -1
  65. package/dist/cli/commands/factory.d.ts.map +1 -1
  66. package/dist/cli/commands/factory.js +4 -3
  67. package/dist/cli/commands/factory.js.map +1 -1
  68. package/dist/cli/commands/intake.d.ts.map +1 -1
  69. package/dist/cli/commands/intake.js +13 -4
  70. package/dist/cli/commands/intake.js.map +1 -1
  71. package/dist/cli/commands/release.d.ts.map +1 -1
  72. package/dist/cli/commands/release.js +11 -2
  73. package/dist/cli/commands/release.js.map +1 -1
  74. package/dist/cli/commands/ship.d.ts +1 -1
  75. package/dist/cli/commands/ship.js +1 -1
  76. package/dist/copilot-run/job.d.ts.map +1 -1
  77. package/dist/copilot-run/job.js +4 -1
  78. package/dist/copilot-run/job.js.map +1 -1
  79. package/dist/copilot-run/sandbox.d.ts +2 -7
  80. package/dist/copilot-run/sandbox.d.ts.map +1 -1
  81. package/dist/copilot-run/sandbox.js +2 -26
  82. package/dist/copilot-run/sandbox.js.map +1 -1
  83. package/dist/factory/__tests__/listener.test.js +22 -4
  84. package/dist/factory/__tests__/listener.test.js.map +1 -1
  85. package/dist/factory/listener.d.ts +2 -2
  86. package/dist/factory/listener.d.ts.map +1 -1
  87. package/dist/factory/listener.js +20 -5
  88. package/dist/factory/listener.js.map +1 -1
  89. package/dist/factory/run/__tests__/prepare-gates.test.js +7 -1
  90. package/dist/factory/run/__tests__/prepare-gates.test.js.map +1 -1
  91. package/dist/factory/run/engine.d.ts.map +1 -1
  92. package/dist/factory/run/engine.js +1 -0
  93. package/dist/factory/run/engine.js.map +1 -1
  94. package/dist/features/continuation-enforcement.d.ts.map +1 -1
  95. package/dist/features/continuation-enforcement.js +2 -1
  96. package/dist/features/continuation-enforcement.js.map +1 -1
  97. package/dist/features/lookout/__tests__/lookout.test.js +9 -6
  98. package/dist/features/lookout/__tests__/lookout.test.js.map +1 -1
  99. package/dist/forge/__tests__/gh-argv-baseline.factory.test.js +7 -1
  100. package/dist/forge/__tests__/gh-argv-baseline.factory.test.js.map +1 -1
  101. package/dist/hooks/__tests__/bridge.test.js +10 -2
  102. package/dist/hooks/__tests__/bridge.test.js.map +1 -1
  103. package/dist/hooks/autopilot/__tests__/pipeline.test.js +2 -1
  104. package/dist/hooks/autopilot/__tests__/pipeline.test.js.map +1 -1
  105. package/dist/hooks/autopilot/adapters/execution-adapter.d.ts.map +1 -1
  106. package/dist/hooks/autopilot/adapters/execution-adapter.js +3 -2
  107. package/dist/hooks/autopilot/adapters/execution-adapter.js.map +1 -1
  108. package/dist/hooks/autopilot/adapters/ralplan-adapter.d.ts.map +1 -1
  109. package/dist/hooks/autopilot/adapters/ralplan-adapter.js +2 -1
  110. package/dist/hooks/autopilot/adapters/ralplan-adapter.js.map +1 -1
  111. package/dist/hooks/learner/detector.d.ts.map +1 -1
  112. package/dist/hooks/learner/detector.js +2 -6
  113. package/dist/hooks/learner/detector.js.map +1 -1
  114. package/dist/hooks/mode-registry/index.d.ts.map +1 -1
  115. package/dist/hooks/mode-registry/index.js +2 -1
  116. package/dist/hooks/mode-registry/index.js.map +1 -1
  117. package/dist/hooks/persistent-mode/__tests__/team-ralplan-stop.test.js +7 -0
  118. package/dist/hooks/persistent-mode/__tests__/team-ralplan-stop.test.js.map +1 -1
  119. package/dist/hooks/persistent-mode/index.d.ts +1 -1
  120. package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
  121. package/dist/hooks/persistent-mode/index.js +6 -5
  122. package/dist/hooks/persistent-mode/index.js.map +1 -1
  123. package/dist/hooks/persistent-mode/session-isolation.test.js +23 -14
  124. package/dist/hooks/persistent-mode/session-isolation.test.js.map +1 -1
  125. package/dist/hooks/ralph/loop.d.ts +1 -1
  126. package/dist/hooks/ralph/loop.js +1 -1
  127. package/dist/hooks/ralph/prd.d.ts.map +1 -1
  128. package/dist/hooks/ralph/prd.js +2 -1
  129. package/dist/hooks/ralph/prd.js.map +1 -1
  130. package/dist/hooks/ralph/stale-prd.d.ts +2 -2
  131. package/dist/hooks/ralph/stale-prd.js +3 -3
  132. package/dist/hooks/ralph/stale-prd.js.map +1 -1
  133. package/dist/hooks/ralph/verifier.d.ts +1 -1
  134. package/dist/hooks/ralph/verifier.d.ts.map +1 -1
  135. package/dist/hooks/ralph/verifier.js +4 -3
  136. package/dist/hooks/ralph/verifier.js.map +1 -1
  137. package/dist/hooks/session-end/__tests__/spawn-next.test.js +31 -4
  138. package/dist/hooks/session-end/__tests__/spawn-next.test.js.map +1 -1
  139. package/dist/hooks/session-end/spawn-next.d.ts +6 -3
  140. package/dist/hooks/session-end/spawn-next.d.ts.map +1 -1
  141. package/dist/hooks/session-end/spawn-next.js +19 -6
  142. package/dist/hooks/session-end/spawn-next.js.map +1 -1
  143. package/dist/hud/index.d.ts.map +1 -1
  144. package/dist/hud/index.js +3 -2
  145. package/dist/hud/index.js.map +1 -1
  146. package/dist/installer/__tests__/hook-templates.test.js +3 -1
  147. package/dist/installer/__tests__/hook-templates.test.js.map +1 -1
  148. package/dist/installer/__tests__/session-start-template.test.js +16 -8
  149. package/dist/installer/__tests__/session-start-template.test.js.map +1 -1
  150. package/dist/installer/hooks.d.ts +1 -1
  151. package/dist/installer/hooks.d.ts.map +1 -1
  152. package/dist/installer/hooks.js +2 -1
  153. package/dist/installer/hooks.js.map +1 -1
  154. package/dist/release/__tests__/checks.test.js +39 -1
  155. package/dist/release/__tests__/checks.test.js.map +1 -1
  156. package/dist/release/__tests__/engine.test.js +236 -3
  157. package/dist/release/__tests__/engine.test.js.map +1 -1
  158. package/dist/release/checks.d.ts +18 -1
  159. package/dist/release/checks.d.ts.map +1 -1
  160. package/dist/release/checks.js +40 -1
  161. package/dist/release/checks.js.map +1 -1
  162. package/dist/release/engine.d.ts +14 -2
  163. package/dist/release/engine.d.ts.map +1 -1
  164. package/dist/release/engine.js +211 -44
  165. package/dist/release/engine.js.map +1 -1
  166. package/dist/ship/__tests__/exec-env.test.d.ts +2 -0
  167. package/dist/ship/__tests__/exec-env.test.d.ts.map +1 -0
  168. package/dist/ship/__tests__/exec-env.test.js +26 -0
  169. package/dist/ship/__tests__/exec-env.test.js.map +1 -0
  170. package/dist/ship/__tests__/exec-plant.test.d.ts +2 -0
  171. package/dist/ship/__tests__/exec-plant.test.d.ts.map +1 -0
  172. package/dist/ship/__tests__/exec-plant.test.js +34 -0
  173. package/dist/ship/__tests__/exec-plant.test.js.map +1 -0
  174. package/dist/ship/__tests__/gates.test.js +35 -0
  175. package/dist/ship/__tests__/gates.test.js.map +1 -1
  176. package/dist/ship/__tests__/workflow-checks.test.js +34 -5
  177. package/dist/ship/__tests__/workflow-checks.test.js.map +1 -1
  178. package/dist/ship/config.js +3 -3
  179. package/dist/ship/config.js.map +1 -1
  180. package/dist/ship/exec.d.ts.map +1 -1
  181. package/dist/ship/exec.js +10 -2
  182. package/dist/ship/exec.js.map +1 -1
  183. package/dist/ship/gates.d.ts.map +1 -1
  184. package/dist/ship/gates.js +3 -1
  185. package/dist/ship/gates.js.map +1 -1
  186. package/dist/skills/__tests__/mingw-escape.test.js +0 -35
  187. package/dist/skills/__tests__/mingw-escape.test.js.map +1 -1
  188. package/dist/skills/__tests__/omc-setup-optout.test.js +4 -3
  189. package/dist/skills/__tests__/omc-setup-optout.test.js.map +1 -1
  190. package/dist/smoke/__tests__/copilot-factory-run-scenario.test.js +7 -1
  191. package/dist/smoke/__tests__/copilot-factory-run-scenario.test.js.map +1 -1
  192. package/dist/smoke/__tests__/copilot-sdk-driver.test.js +2 -2
  193. package/dist/smoke/__tests__/copilot-sdk-driver.test.js.map +1 -1
  194. package/dist/smoke/copilot-sdk-scenarios.d.ts.map +1 -1
  195. package/dist/smoke/copilot-sdk-scenarios.js +2 -1
  196. package/dist/smoke/copilot-sdk-scenarios.js.map +1 -1
  197. package/dist/team/__tests__/git-worktree.test.js +10 -1
  198. package/dist/team/__tests__/git-worktree.test.js.map +1 -1
  199. package/dist/team/__tests__/runtime-cli.test.js +4 -4
  200. package/dist/team/__tests__/runtime-cli.test.js.map +1 -1
  201. package/dist/team/__tests__/tmux-session.test.js +16 -2
  202. package/dist/team/__tests__/tmux-session.test.js.map +1 -1
  203. package/dist/team/__tests__/worker-launch-ack.test.js +14 -0
  204. package/dist/team/__tests__/worker-launch-ack.test.js.map +1 -1
  205. package/dist/team/git-worktree.d.ts.map +1 -1
  206. package/dist/team/git-worktree.js +13 -5
  207. package/dist/team/git-worktree.js.map +1 -1
  208. package/dist/team/tmux-session.d.ts.map +1 -1
  209. package/dist/team/tmux-session.js +8 -6
  210. package/dist/team/tmux-session.js.map +1 -1
  211. package/dist/ultragoal/goal-record.d.ts.map +1 -1
  212. package/dist/ultragoal/goal-record.js +2 -1
  213. package/dist/ultragoal/goal-record.js.map +1 -1
  214. package/dist/utils/__tests__/skill-slash.test.d.ts +2 -0
  215. package/dist/utils/__tests__/skill-slash.test.d.ts.map +1 -0
  216. package/dist/utils/__tests__/skill-slash.test.js +307 -0
  217. package/dist/utils/__tests__/skill-slash.test.js.map +1 -0
  218. package/dist/utils/__tests__/windows-search.test.d.ts +2 -0
  219. package/dist/utils/__tests__/windows-search.test.d.ts.map +1 -0
  220. package/dist/utils/__tests__/windows-search.test.js +154 -0
  221. package/dist/utils/__tests__/windows-search.test.js.map +1 -0
  222. package/dist/utils/skill-registry.d.ts +51 -0
  223. package/dist/utils/skill-registry.d.ts.map +1 -0
  224. package/dist/utils/skill-registry.js +168 -0
  225. package/dist/utils/skill-registry.js.map +1 -0
  226. package/dist/utils/skill-slash.d.ts +18 -0
  227. package/dist/utils/skill-slash.d.ts.map +1 -0
  228. package/dist/utils/skill-slash.js +20 -0
  229. package/dist/utils/skill-slash.js.map +1 -0
  230. package/dist/utils/windows-search.d.ts +42 -0
  231. package/dist/utils/windows-search.d.ts.map +1 -0
  232. package/dist/utils/windows-search.js +94 -0
  233. package/dist/utils/windows-search.js.map +1 -0
  234. package/docs/ARCHITECTURE.md +29 -29
  235. package/docs/CLAUDE.md +4 -4
  236. package/docs/FIELD-TESTING.md +563 -0
  237. package/docs/GETTING-STARTED.md +11 -11
  238. package/docs/HOOKS.md +8 -8
  239. package/docs/MIGRATION.md +100 -100
  240. package/docs/PERFORMANCE-MONITORING.md +2 -2
  241. package/docs/REFERENCE.md +131 -131
  242. package/docs/TOOLS.md +1 -1
  243. package/docs/cancel-skill-active-state-gap.md +2 -2
  244. package/docs/copilot-instructions.md +3 -3
  245. package/docs/design/P2-RUN-LEDGER-AND-INTAKE-PLAN.md +1 -1
  246. package/docs/design/project-session-manager.md +1 -1
  247. package/docs/field-testing-first-prompt.md +36 -0
  248. package/docs/shared/features.md +5 -5
  249. package/docs/shipyard.md +8 -8
  250. package/package.json +2 -2
  251. package/plugin.json +1 -1
  252. package/scripts/build-workflow-stage-prompts.mjs +15 -6
  253. package/scripts/ci/duration-sequencer.mjs +69 -0
  254. package/scripts/ci/durations-reporter.mjs +34 -0
  255. package/scripts/ci/tree-reuse.mjs +166 -0
  256. package/scripts/ci/update-test-durations.mjs +62 -0
  257. package/scripts/copilot/dispatch.cjs +3 -0
  258. package/scripts/find-node.sh +1 -1
  259. package/scripts/keyword-detector.mjs +5 -4
  260. package/scripts/lib/copilot-hook-adapter.cjs +3 -0
  261. package/scripts/lib/hud-wrapper-template.txt +2 -2
  262. package/scripts/lib/skill-slash.mjs +11 -0
  263. package/scripts/lib/windows-search.cjs +40 -0
  264. package/scripts/lib/windows-search.mjs +7 -0
  265. package/scripts/lib/workflow-stage-prompts.mjs +6 -2
  266. package/scripts/persistent-mode.cjs +11 -10
  267. package/scripts/persistent-mode.mjs +16 -11
  268. package/scripts/plugin-shipping-surface.mjs +1 -0
  269. package/scripts/pre-tool-enforcer.mjs +1 -1
  270. package/scripts/session-start.mjs +3 -3
  271. package/scripts/setup-claude-md.mjs +3 -0
  272. package/scripts/setup-config.mjs +420 -0
  273. package/scripts/setup-progress.mjs +3 -0
  274. package/scripts/shipyard-audit.mjs +2 -1
  275. package/scripts/stale-run-reporter.mjs +2 -1
  276. package/skills/AGENTS.md +4 -4
  277. package/skills/ai-slop-cleaner/SKILL.md +3 -3
  278. package/skills/ask/SKILL.md +7 -7
  279. package/skills/ask-navigator/SKILL.md +11 -11
  280. package/skills/autopilot/SKILL.md +5 -5
  281. package/skills/cancel/SKILL.md +5 -5
  282. package/skills/configure-notifications/SKILL.md +10 -10
  283. package/skills/critique/SKILL.md +1 -1
  284. package/skills/discover/SKILL.md +1 -1
  285. package/skills/drydock/SKILL.md +5 -5
  286. package/skills/external-context/SKILL.md +4 -4
  287. package/skills/graph/SKILL.md +2 -2
  288. package/skills/harbor/SKILL.md +7 -7
  289. package/skills/hud/SKILL.md +10 -10
  290. package/skills/intent/SKILL.md +1 -1
  291. package/skills/launch/SKILL.md +13 -13
  292. package/skills/loft/SKILL.md +2 -2
  293. package/skills/map/SKILL.md +1 -1
  294. package/skills/omc-ado-auto-review/SKILL.md +2 -2
  295. package/skills/omc-ado-review/SKILL.md +2 -2
  296. package/skills/omc-ado-setup/SKILL.md +1 -1
  297. package/skills/omc-ado-sprint/SKILL.md +2 -2
  298. package/skills/omc-ado-triage/SKILL.md +2 -2
  299. package/skills/omc-doctor/SKILL.md +1 -1
  300. package/skills/omc-gh-auto-review/SKILL.md +2 -2
  301. package/skills/omc-gh-project/SKILL.md +2 -2
  302. package/skills/omc-gh-review/SKILL.md +2 -2
  303. package/skills/omc-gh-setup/SKILL.md +2 -2
  304. package/skills/omc-gh-triage/SKILL.md +3 -3
  305. package/skills/omc-setup/SKILL.md +16 -14
  306. package/skills/omc-setup/phases/01-install-claude-md.md +1 -18
  307. package/skills/omc-setup/phases/02-configure.md +10 -30
  308. package/skills/omc-setup/phases/03-integrations.md +5 -5
  309. package/skills/omc-setup/phases/04-welcome.md +7 -7
  310. package/skills/plan/SKILL.md +1 -1
  311. package/skills/project-session-manager/SKILL.md +1 -1
  312. package/skills/ralph/SKILL.md +6 -6
  313. package/skills/ralph-experiment/SKILL.md +3 -3
  314. package/skills/ralplan/SKILL.md +4 -4
  315. package/skills/release/SKILL.md +1 -1
  316. package/skills/self-improve/SKILL.md +1 -1
  317. package/skills/skill/SKILL.md +12 -12
  318. package/skills/team/SKILL.md +8 -8
  319. package/skills/trace/SKILL.md +1 -1
  320. package/skills/visual-verdict/SKILL.md +1 -1
  321. package/templates/hooks/keyword-detector.mjs +4 -4
  322. package/templates/hooks/lib/workflow-stage-prompts.mjs +6 -2
  323. package/templates/hooks/persistent-mode.mjs +12 -8
  324. package/templates/hooks/session-start.mjs +1 -1
  325. package/bridge/__pycache__/gyoshu_bridge.cpython-314.pyc +0 -0
@@ -15,9 +15,9 @@ The `swarm` compatibility alias was removed in #1131.
15
15
  ## Usage
16
16
 
17
17
  ```
18
- /oh-my-copilot:team N:agent-type "task description"
19
- /oh-my-copilot:team "task description"
20
- /oh-my-copilot:team ralph "task description"
18
+ /team N:agent-type "task description"
19
+ /team "task description"
20
+ /team ralph "task description"
21
21
  ```
22
22
 
23
23
  ### Parameters
@@ -41,7 +41,7 @@ The `swarm` compatibility alias was removed in #1131.
41
41
  /team 2:gemini "redesign the UI components"
42
42
  # With Antigravity CLI workers (requires: install per https://antigravity.google)
43
43
  /team 2:antigravity "redesign the UI components"
44
- # Mixed: Codex for backend analysis, Gemini/Antigravity for frontend (delegate per-task with /oh-my-copilot:ask)
44
+ # Mixed: Codex for backend analysis, Gemini/Antigravity for frontend (delegate per-task with /ask)
45
45
  ```
46
46
 
47
47
  ## Architecture
@@ -150,7 +150,7 @@ Continue `team-exec -> team-verify -> team-fix` until:
150
150
 
151
151
  `team-fix` is bounded by max attempts. If fix attempts exceed the configured limit, transition to terminal `failed` (no infinite loop).
152
152
 
153
- **Run closeout (either terminal outcome).** Before `/oh-my-copilot:cancel` state cleanup, append at most three factual lines to `.omg/notepads/team/problems.md` (blockers additionally in `.omg/notepads/team/issues.md`) — what broke (defects that survived a fix round, three-strike halts) and what dragged (worker environment friction, missing checks, unreachable information). Preserve existing entries: append only and never replace the shared file. If there are no observations, append nothing; an empty closeout is valid, so do not write “no lessons.” Observations only; landing them on repo surfaces is `refit`'s job, with the user's approval. For a terminal `failed` outcome, also draft an incident work item with the failure signature, evidence pointers, and reopen path; append it to the local `.omg/notepads/team/issues.md`. Post it to a tracker only when the user or mode invocation explicitly authorizes that external action.
153
+ **Run closeout (either terminal outcome).** Before `/cancel` state cleanup, append at most three factual lines to `.omg/notepads/team/problems.md` (blockers additionally in `.omg/notepads/team/issues.md`) — what broke (defects that survived a fix round, three-strike halts) and what dragged (worker environment friction, missing checks, unreachable information). Preserve existing entries: append only and never replace the shared file. If there are no observations, append nothing; an empty closeout is valid, so do not write “no lessons.” Observations only; landing them on repo surfaces is `refit`'s job, with the user's approval. For a terminal `failed` outcome, also draft an incident work item with the failure signature, evidence pointers, and reopen path; append it to the local `.omg/notepads/team/issues.md`. Post it to a tracker only when the user or mode invocation explicitly authorizes that external action.
154
154
 
155
155
  ### Stage Handoff Convention
156
156
 
@@ -777,7 +777,7 @@ When the user invokes `/team ralph`, says "team ralph", or combines both keyword
777
777
 
778
778
  Team+Ralph activates when:
779
779
 
780
- 1. User invokes `/team ralph "task"` or `/oh-my-copilot:team ralph "task"`
780
+ 1. User invokes `/team ralph "task"` or `/team ralph "task"`
781
781
  2. Keyword detector finds both `team` and `ralph` in the prompt
782
782
  3. Hook detects `MAGIC KEYWORD: RALPH` alongside team context
783
783
 
@@ -805,7 +805,7 @@ state_write(mode="ralph", session_id="<current_session_id>", active=true, iterat
805
805
  1. Ralph outer loop starts (iteration 1)
806
806
  2. Team pipeline runs: `team-plan -> team-prd -> team-exec -> team-verify`
807
807
  3. If `team-verify` passes: Ralph runs architect verification (STANDARD tier minimum)
808
- 4. If architect approves: both modes complete, run `/oh-my-copilot:cancel`
808
+ 4. If architect approves: both modes complete, run `/cancel`
809
809
  5. If `team-verify` fails OR architect rejects: team enters `team-fix`, then loops back to `team-exec -> team-verify`
810
810
  6. If fix loop exceeds `max_fix_loops`: Ralph increments iteration and retries the full pipeline
811
811
  7. If Ralph exceeds `max_iterations`: terminal `failed` state
@@ -982,7 +982,7 @@ An empty `team.roleRouting` preserves pre-patch behavior: every worker is Claude
982
982
 
983
983
  ## State Cleanup
984
984
 
985
- Use `/oh-my-copilot:cancel` for Team and linked-Ralph cleanup; its
985
+ Use `/cancel` for Team and linked-Ralph cleanup; its
986
986
  authoritative flow handles session identity, locks/ownership, graceful versus
987
987
  forced waits, and legacy runtime cleanup. Native Claude Code 2.1.178+ has no
988
988
  `TeamDelete`. For normal completion, invoke it after the shutdown protocol;
@@ -14,7 +14,7 @@ This is the orchestration layer on top of the built-in `tracer` agent. The goal
14
14
 
15
15
  ## Good entry cases
16
16
 
17
- Use `/oh-my-copilot:trace` when the problem is:
17
+ Use `/trace` when the problem is:
18
18
 
19
19
  - ambiguous
20
20
  - causal
@@ -44,7 +44,7 @@ Rules:
44
44
 
45
45
  <Threshold_And_Loop>
46
46
  - Target pass threshold is **90+**.
47
- - If `score < 90`, continue editing and rerun `/oh-my-copilot:visual-verdict` before any further visual review pass.
47
+ - If `score < 90`, continue editing and rerun `/visual-verdict` before any further visual review pass.
48
48
  - Do **not** treat the visual task as complete until the next screenshot clears the threshold.
49
49
  </Threshold_And_Loop>
50
50
 
@@ -387,7 +387,7 @@ const QUESTION_FOLLOWUP_PATTERNS = [
387
387
  // recognized block header. They must be stripped only in that context —
388
388
  // never standalone — because a user might legitimately start a prompt with
389
389
  // "Task: …" or similar (Codex automated review P1/P2 on #2795).
390
- const ECHO_CONTINUATION = '(?:\\r?\\n[ \\t]*(?:Task:\\s|(?:Claude \\/goal objective|Goal objective|Missing evidence|No OMG goal record yet):\\s|When FULLY complete \\(after Architect verification\\)|run\\s+\\/oh-my-copilot:cancel).*)*';
390
+ const ECHO_CONTINUATION = '(?:\\r?\\n[ \\t]*(?:Task:\\s|(?:Claude \\/goal objective|Goal objective|Missing evidence|No OMG goal record yet):\\s|When FULLY complete \\(after Architect verification\\)|run\\s+\\/(?:oh-my-copilot:)?cancel).*)*';
391
391
 
392
392
  // Each pattern is a single logical block: the block header line + zero or
393
393
  // more continuation lines emitted right after it. The whole match is
@@ -417,7 +417,7 @@ const SYSTEM_ECHO_BLOCK_PATTERNS = [
417
417
 
418
418
  const SYSTEM_ECHO_SIGNATURES = [
419
419
  /\bWhen FULLY complete \(after Architect verification\)\b/i,
420
- /\brun\s+\/oh-my-copilot:cancel\b/i,
420
+ /\brun\s+\/(?:oh-my-copilot:)?cancel\b/i,
421
421
  /\[RALPH LOOP\s*-\s*ITERATION\b/i,
422
422
  ];
423
423
 
@@ -1226,7 +1226,7 @@ Arguments: ${args}` : '';
1226
1226
  return `[MAGIC KEYWORD: ${skillName.toUpperCase()}]
1227
1227
 
1228
1228
  Skill routing detected: ${skillName}
1229
- Preferred invocation: /oh-my-copilot:${skillName}${args ? ` ${args}` : ''}
1229
+ Preferred invocation: /${skillName}${args ? ` ${args}` : ''}
1230
1230
  ${pathStatus}${argsSection}${ralphLoopNotice ? `
1231
1231
 
1232
1232
  ${ralphLoopNotice}` : ''}
@@ -1253,7 +1253,7 @@ function createMultiSkillInvocation(skills, originalPrompt, directory = '') {
1253
1253
  ? `Read fallback: ${skillPath}`
1254
1254
  : `Read fallback: locate skills/${s.name}/SKILL.md in the active oh-my-copilot plugin/install`;
1255
1255
  return `### Skill ${i + 1}: ${s.name.toUpperCase()}
1256
- Preferred invocation: /oh-my-copilot:${s.name}${argsText}
1256
+ Preferred invocation: /${s.name}${argsText}
1257
1257
  ${pathStatus}`;
1258
1258
  }).join('\n\n');
1259
1259
 
@@ -1,11 +1,13 @@
1
1
  // Generated by scripts/build-workflow-stage-prompts.mjs from the canonical TypeScript stage adapters.
2
2
  // Do not edit this file directly.
3
3
 
4
+ const skillSlash = (name) => `/${name}`;
5
+
4
6
  const TASK_DISPLAY_TOKEN = "__OMC_NAMED_WORKFLOW_TASK_DISPLAY__";
5
7
  const ANALYST_PROMPT_TOKEN = "__OMC_NAMED_WORKFLOW_ANALYST_PROMPT__";
6
8
  const ARCHITECT_PROMPT_TOKEN = "__OMC_NAMED_WORKFLOW_ARCHITECT_PROMPT__";
7
9
  const PROMPTS = Object.freeze({
8
- "ralplan": "## PIPELINE STAGE: RALPLAN (Consensus Planning)\n\nYour task: Expand the idea into a detailed spec and implementation plan using consensus-driven planning.\n\n**Original Idea:**\n\n __OMC_NAMED_WORKFLOW_TASK_DISPLAY__\n\n### Part 1: Idea Expansion (Spec Creation)\n\n## AUTOPILOT PHASE 0: IDEA EXPANSION\n\nYour task: Expand this product idea into detailed requirements and technical spec.\n\n**Original Idea:**\n\n __OMC_NAMED_WORKFLOW_TASK_DISPLAY__\n\n### Step 1: Spawn Analyst for Requirements\n\n```\nTask(\n subagent_type=\"oh-my-copilot:analyst\",\n model=\"opus\",\n prompt=__OMC_NAMED_WORKFLOW_ANALYST_PROMPT__\n)\n```\n\nWAIT for Analyst to complete before proceeding.\n\n### Step 2: Spawn Architect for Technical Spec\n\nAfter Analyst completes, spawn Architect:\n\n```\nTask(\n subagent_type=\"oh-my-copilot:architect\",\n model=\"opus\",\n prompt=__OMC_NAMED_WORKFLOW_ARCHITECT_PROMPT__\n)\n```\n\n### Step 2.5: Persist Open Questions\n\nIf the Analyst output includes a `### Open Questions` section, extract those items and save them to `.omg/plans/open-questions.md` using the standard format:\n\n```\n## [Topic] - [Date]\n- [ ] [Question] — [Why it matters]\n```\n\nThe Analyst is read-only and cannot write files, so you must persist its open questions on its behalf.\n\n### Step 3: Save Combined Spec\n\nCombine Analyst requirements + Architect technical spec into a single document.\nSave to: `.omg/autopilot/spec.md`\n\n\n\n\n### Part 2: Consensus Planning\n\nAfter the spec is created at `.omg/autopilot/spec.md`, invoke the RALPLAN consensus workflow:\n\nUse the `/oh-my-copilot:ralplan` skill to create a consensus-driven implementation plan.\nThe plan should be saved to: `.omg/plans/autopilot-impl.md`\n\nThe RALPLAN process will:\n1. **Planner** creates initial implementation plan from the spec\n2. **Architect** reviews for technical feasibility and design quality\n3. **Critic** challenges assumptions and identifies gaps\n4. Iterate until consensus is reached\n\n### Completion\n\nWhen both the spec AND the consensus plan are complete and approved:\n\nSignal: PIPELINE_RALPLAN_COMPLETE\n",
10
+ "ralplan": "## PIPELINE STAGE: RALPLAN (Consensus Planning)\n\nYour task: Expand the idea into a detailed spec and implementation plan using consensus-driven planning.\n\n**Original Idea:**\n\n __OMC_NAMED_WORKFLOW_TASK_DISPLAY__\n\n### Part 1: Idea Expansion (Spec Creation)\n\n## AUTOPILOT PHASE 0: IDEA EXPANSION\n\nYour task: Expand this product idea into detailed requirements and technical spec.\n\n**Original Idea:**\n\n __OMC_NAMED_WORKFLOW_TASK_DISPLAY__\n\n### Step 1: Spawn Analyst for Requirements\n\n```\nTask(\n subagent_type=\"oh-my-copilot:analyst\",\n model=\"opus\",\n prompt=__OMC_NAMED_WORKFLOW_ANALYST_PROMPT__\n)\n```\n\nWAIT for Analyst to complete before proceeding.\n\n### Step 2: Spawn Architect for Technical Spec\n\nAfter Analyst completes, spawn Architect:\n\n```\nTask(\n subagent_type=\"oh-my-copilot:architect\",\n model=\"opus\",\n prompt=__OMC_NAMED_WORKFLOW_ARCHITECT_PROMPT__\n)\n```\n\n### Step 2.5: Persist Open Questions\n\nIf the Analyst output includes a `### Open Questions` section, extract those items and save them to `.omg/plans/open-questions.md` using the standard format:\n\n```\n## [Topic] - [Date]\n- [ ] [Question] — [Why it matters]\n```\n\nThe Analyst is read-only and cannot write files, so you must persist its open questions on its behalf.\n\n### Step 3: Save Combined Spec\n\nCombine Analyst requirements + Architect technical spec into a single document.\nSave to: `.omg/autopilot/spec.md`\n\n\n\n\n### Part 2: Consensus Planning\n\nAfter the spec is created at `.omg/autopilot/spec.md`, invoke the RALPLAN consensus workflow:\n\nUse the `__OMC_SKILL_SLASH_ralplan__` skill to create a consensus-driven implementation plan.\nThe plan should be saved to: `.omg/plans/autopilot-impl.md`\n\nThe RALPLAN process will:\n1. **Planner** creates initial implementation plan from the spec\n2. **Architect** reviews for technical feasibility and design quality\n3. **Critic** challenges assumptions and identifies gaps\n4. Iterate until consensus is reached\n\n### Completion\n\nWhen both the spec AND the consensus plan are complete and approved:\n\nSignal: PIPELINE_RALPLAN_COMPLETE\n",
9
11
  "execution": "## PIPELINE STAGE: EXECUTION (Solo Mode)\n\nExecute the implementation plan using single-session execution.\n\n### Setup\n\nRead the implementation plan at: `.omg/plans/autopilot-impl.md`\n\n### Solo Execution\n\nExecute tasks sequentially (or with limited parallelism via background agents):\n\n1. Read and understand each task from the plan\n2. Execute tasks in dependency order\n3. Use executor agents for independent tasks that can run in parallel\n4. Track progress in the TODO list\n\n### Output Contract\n\nEvery spawned executor response must return ONLY a short execution summary under 100 words covering what changed, files touched, verification status, and blockers. Store bulky logs/details in files or artifacts and reference them briefly.\n\n### Agent Spawning\n\n```\n// For simple tasks (single file, straightforward logic)\nTask(subagent_type=\"oh-my-copilot:executor\", model=\"haiku\", prompt=\"...\")\n\n// For standard implementation (feature, multiple methods)\nTask(subagent_type=\"oh-my-copilot:executor\", model=\"sonnet\", prompt=\"...\")\n\n// For complex work (architecture, debugging, refactoring)\nTask(subagent_type=\"oh-my-copilot:executor\", model=\"opus\", prompt=\"...\")\n```\n\n### Progress Tracking\n\nUpdate TODO list as tasks complete:\n- Mark task `in_progress` when starting\n- Mark task `completed` when done\n- Add new tasks if discovered during implementation\n\n### Completion\n\nWhen ALL tasks from the plan are implemented:\n\nSignal: PIPELINE_EXECUTION_COMPLETE\n",
10
12
  "ralph": "## PIPELINE STAGE: RALPH (Verification)\n\nVerify the implementation against the specification using the Ralph verification loop.\n\n**Max Iterations:** 100\n\n### Verification Process\n\nSpawn parallel verification reviewers:\n\nEach reviewer must return ONLY a concise review summary under 100 words covering verdict, evidence highlights, files checked, and blockers. Avoid dumping long logs or transcripts into the main session.\n\n```\n// Functional Completeness Review\nTask(\n subagent_type=\"oh-my-copilot:architect\",\n model=\"opus\",\n prompt=\"FUNCTIONAL COMPLETENESS REVIEW\n\nRead the original spec at: .omg/autopilot/spec.md\n\nVerify:\n1. All functional requirements are implemented\n2. All non-functional requirements are addressed\n3. All acceptance criteria from the plan are met\n4. No missing features or incomplete implementations\n\nVerdict: APPROVED (all requirements met) or REJECTED (with specific gaps)\"\n)\n\n// Security Review\nTask(\n subagent_type=\"oh-my-copilot:security-reviewer\",\n model=\"opus\",\n prompt=\"SECURITY REVIEW\n\nCheck the implementation for:\n1. OWASP Top 10 vulnerabilities\n2. Input validation and sanitization\n3. Authentication/authorization issues\n4. Sensitive data exposure\n5. Injection vulnerabilities (SQL, command, XSS)\n6. Hardcoded secrets or credentials\n\nVerdict: APPROVED (no vulnerabilities) or REJECTED (with specific issues)\"\n)\n\n// Code Quality Review\nTask(\n subagent_type=\"oh-my-copilot:code-reviewer\",\n model=\"opus\",\n prompt=\"CODE QUALITY REVIEW\n\nReview the implementation for:\n1. Code organization and structure\n2. Design patterns and best practices\n3. Error handling completeness\n4. Test coverage adequacy\n5. Maintainability and readability\n\nVerdict: APPROVED (high quality) or REJECTED (with specific issues)\"\n)\n```\n\n### Fix and Re-verify Loop\n\nIf any reviewer rejects:\n1. Collect all rejection reasons\n2. Fix each issue identified\n3. Re-run verification (up to 100 iterations)\n\n### Completion\n\nWhen all reviewers approve:\n\nSignal: PIPELINE_RALPH_COMPLETE\n",
11
13
  "qa": "## PIPELINE STAGE: QA (Quality Assurance)\n\nRun build/lint/test cycling until all checks pass.\n\n## AUTOPILOT PHASE 3: QUALITY ASSURANCE\n\nRun build/lint/test cycles until all pass.\n\n### QA Sequence\n\n1. **Build**: Run the project's build command:\n - JavaScript/TypeScript: `npm run build` (or yarn/pnpm equivalent)\n - Python: `python -m build` (if applicable)\n - Go: `go build ./...`\n - Rust: `cargo build`\n - Java: `mvn compile` or `gradle build`\n2. **Lint**: Run the project's linter:\n - JavaScript/TypeScript: `npm run lint`\n - Python: `ruff check .` or `flake8`\n - Go: `golangci-lint run`\n - Rust: `cargo clippy`\n3. **Test**: Run the project's tests:\n - JavaScript/TypeScript: `npm test`\n - Python: `pytest`\n - Go: `go test ./...`\n - Rust: `cargo test`\n - Java: `mvn test` or `gradle test`\n\n### Fix Cycle\n\nFor each failure:\n\n1. **Diagnose** - Understand the error\n```\nTask(\n subagent_type=\"oh-my-copilot:architect\",\n model=\"haiku\",\n prompt=\"Diagnose this error and suggest fix: [ERROR]\"\n)\n```\n\n2. **Fix** - Apply the fix\n```\nTask(\n subagent_type=\"oh-my-copilot:debugger\",\n model=\"sonnet\",\n prompt=\"Fix this error with minimal changes: [ERROR]\"\n)\n```\n\n3. **Re-run** - Verify the fix worked\n4. **Repeat** - Until pass or max cycles (5)\n\n### Exit Conditions\n\n- All checks pass\n- Max cycles reached → Report failures\n- Same error 3 times → Escalate to user\n\n\n\n\n### Completion\n\nWhen all QA checks pass:\n\nSignal: PIPELINE_QA_COMPLETE\n"
@@ -28,5 +30,7 @@ export function resolveCanonicalWorkflowStagePrompt(stageId, task) {
28
30
  [ANALYST_PROMPT_TOKEN]: JSON.stringify(analystPrompt(normalizedTask)),
29
31
  [ARCHITECT_PROMPT_TOKEN]: JSON.stringify(architectPrompt(normalizedTask)),
30
32
  };
31
- return prompt.replace(/__OMC_NAMED_WORKFLOW_(?:TASK_DISPLAY|ANALYST_PROMPT|ARCHITECT_PROMPT)__/g, (token) => replacements[token]);
33
+ return prompt
34
+ .replace(/__OMC_NAMED_WORKFLOW_(?:TASK_DISPLAY|ANALYST_PROMPT|ARCHITECT_PROMPT)__/g, (token) => replacements[token])
35
+ .replace(/__OMC_SKILL_SLASH_([a-z][a-z0-9-]*)__/g, (_token, name) => skillSlash(name));
32
36
  }
@@ -1183,7 +1183,7 @@ async function main() {
1183
1183
  JSON.stringify({
1184
1184
  continue: false,
1185
1185
  decision: "block",
1186
- reason: `[RALPH LOOP - HARD LIMIT] Reached hard max iterations (${hardMax}). Mode auto-disabled. Restart with /oh-my-copilot:ralph if needed.`,
1186
+ reason: `[RALPH LOOP - HARD LIMIT] Reached hard max iterations (${hardMax}). Mode auto-disabled. Restart with /ralph if needed.`,
1187
1187
  }),
1188
1188
  );
1189
1189
  return;
@@ -1201,7 +1201,7 @@ async function main() {
1201
1201
  }
1202
1202
  writeJsonFile(ralph.path, ralph.state);
1203
1203
 
1204
- let reason = `[RALPH LOOP - ITERATION ${iteration + 1}/${maxIter}] Work is NOT done. Continue working.\nWhen FULLY complete (after Architect verification), run /oh-my-copilot:cancel to cleanly exit ralph mode and clean up all state files. If cancel fails, retry with /oh-my-copilot:cancel --force.\n${ralph.state.prompt ? `Task: ${ralph.state.prompt}` : ""}`;
1204
+ let reason = `[RALPH LOOP - ITERATION ${iteration + 1}/${maxIter}] Work is NOT done. Continue working.\nWhen FULLY complete (after Architect verification), run /cancel to cleanly exit ralph mode and clean up all state files. If cancel fails, retry with /cancel --force.\n${ralph.state.prompt ? `Task: ${ralph.state.prompt}` : ""}`;
1205
1205
  if (errorGuidance) {
1206
1206
  reason = errorGuidance + reason;
1207
1207
  }
@@ -1230,7 +1230,7 @@ async function main() {
1230
1230
  JSON.stringify({
1231
1231
  continue: false,
1232
1232
  decision: "block",
1233
- reason: `[RALPH LOOP - EXTENDED] Max iterations reached; extending to ${ralph.state.max_iterations} and continuing. When FULLY complete (after Architect verification), run /oh-my-copilot:cancel (or --force).`,
1233
+ reason: `[RALPH LOOP - EXTENDED] Max iterations reached; extending to ${ralph.state.max_iterations} and continuing. When FULLY complete (after Architect verification), run /cancel (or --force).`,
1234
1234
  }),
1235
1235
  );
1236
1236
  return;
@@ -1258,6 +1258,10 @@ async function main() {
1258
1258
  }
1259
1259
  const workflowAdvance = advanceWorkflowOnStop(autopilot.state, data, sessionId);
1260
1260
  if (workflowAdvance) {
1261
+ // Test-only: tell a test the transcript snapshot is taken before the commit lock is tried.
1262
+ if (process.env.NODE_ENV === "test" && process.env.OMC_WORKFLOW_TEST_ADVANCE_SIGNAL_PATH) {
1263
+ try { closeSync(openSync(process.env.OMC_WORKFLOW_TEST_ADVANCE_SIGNAL_PATH, "wx")); } catch { /* exists or unwritable: never truncate, never fail the hook */ }
1264
+ }
1261
1265
  const commit = commitWorkflowAdvance(autopilot.path, workflowAdvance);
1262
1266
  if (commit.committed) {
1263
1267
  console.log(JSON.stringify({ continue: false, decision: "block", reason: workflowAdvance.nextStage
@@ -1320,7 +1324,7 @@ async function main() {
1320
1324
  autopilot.state = reinforced;
1321
1325
 
1322
1326
  const cancelGuidance = hasValidSessionId && autopilot.state.session_id === sessionId
1323
- ? " When all phases are complete, run /oh-my-copilot:cancel to cleanly exit and clean up this session's autopilot state files. If cancel fails, retry with /oh-my-copilot:cancel --force."
1327
+ ? " When all phases are complete, run /cancel to cleanly exit and clean up this session's autopilot state files. If cancel fails, retry with /cancel --force."
1324
1328
  : "";
1325
1329
  let reason = `[AUTOPILOT - Phase: ${phase}] Autopilot not complete. Continue working.${cancelGuidance}`;
1326
1330
  if (errorGuidance) {
@@ -1363,7 +1367,7 @@ async function main() {
1363
1367
  ultrapilot.state.last_checked_at = new Date().toISOString();
1364
1368
  writeJsonFile(ultrapilot.path, ultrapilot.state);
1365
1369
 
1366
- let reason = `[ULTRAPILOT] ${incomplete} workers still running. Continue working. When all workers complete, run /oh-my-copilot:cancel to cleanly exit and clean up state files. If cancel fails, retry with /oh-my-copilot:cancel --force.`;
1370
+ let reason = `[ULTRAPILOT] ${incomplete} workers still running. Continue working. When all workers complete, run /cancel to cleanly exit and clean up state files. If cancel fails, retry with /cancel --force.`;
1367
1371
  if (errorGuidance) {
1368
1372
  reason = errorGuidance + reason;
1369
1373
  }
@@ -1400,7 +1404,7 @@ async function main() {
1400
1404
  swarmSummary.last_checked_at = new Date().toISOString();
1401
1405
  writeJsonFile(join(stateDir, "swarm-summary.json"), swarmSummary);
1402
1406
 
1403
- let reason = `[SWARM ACTIVE] ${pending} tasks remain. Continue working. When all tasks are done, run /oh-my-copilot:cancel to cleanly exit and clean up state files. If cancel fails, retry with /oh-my-copilot:cancel --force.`;
1407
+ let reason = `[SWARM ACTIVE] ${pending} tasks remain. Continue working. When all tasks are done, run /cancel to cleanly exit and clean up state files. If cancel fails, retry with /cancel --force.`;
1404
1408
  if (errorGuidance) {
1405
1409
  reason = errorGuidance + reason;
1406
1410
  }
@@ -1438,7 +1442,7 @@ async function main() {
1438
1442
  pipeline.state.last_checked_at = new Date().toISOString();
1439
1443
  writeJsonFile(pipeline.path, pipeline.state);
1440
1444
 
1441
- let reason = `[PIPELINE - Stage ${currentStage + 1}/${totalStages}] Pipeline not complete. Continue working. When all stages complete, run /oh-my-copilot:cancel to cleanly exit and clean up state files. If cancel fails, retry with /oh-my-copilot:cancel --force.`;
1445
+ let reason = `[PIPELINE - Stage ${currentStage + 1}/${totalStages}] Pipeline not complete. Continue working. When all stages complete, run /cancel to cleanly exit and clean up state files. If cancel fails, retry with /cancel --force.`;
1442
1446
  if (errorGuidance) {
1443
1447
  reason = errorGuidance + reason;
1444
1448
  }
@@ -1476,7 +1480,7 @@ async function main() {
1476
1480
  team.state.last_checked_at = new Date().toISOString();
1477
1481
  writeJsonFile(team.path, team.state);
1478
1482
 
1479
- let reason = `[TEAM - Phase: ${phase}] Team mode active. Continue working. When all team tasks complete, run /oh-my-copilot:cancel to cleanly exit. If cancel fails, retry with /oh-my-copilot:cancel --force.`;
1483
+ let reason = `[TEAM - Phase: ${phase}] Team mode active. Continue working. When all team tasks complete, run /cancel to cleanly exit. If cancel fails, retry with /cancel --force.`;
1480
1484
  if (errorGuidance) {
1481
1485
  reason = errorGuidance + reason;
1482
1486
  }
@@ -1145,7 +1145,7 @@ async function main() {
1145
1145
  const stamp = readJsonFile(stampPath);
1146
1146
  if (stamp?.version && stamp.version !== currentVersion) {
1147
1147
  process.stderr.write(
1148
- `[omc] template version drift: installed=${stamp.version}, plugin=${currentVersion} — run /oh-my-copilot:omc-setup to refresh\n`
1148
+ `[omc] template version drift: installed=${stamp.version}, plugin=${currentVersion} — run /omc-setup to refresh\n`
1149
1149
  );
1150
1150
  mkdirSync(join(driftMarkerPath, '..'), { recursive: true });
1151
1151
  writeFileSync(driftMarkerPath, JSON.stringify({ warnedAt: new Date().toISOString() }));