@trac3er/oh-my-god 2.0.7 → 2.0.8

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 (315) hide show
  1. package/.claude-plugin/marketplace.json +3 -3
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.claude-plugin/scripts/uninstall.sh +1 -1
  4. package/CHANGELOG.md +7 -0
  5. package/OMG-setup.sh +1 -1
  6. package/OMG_COMPAT_CONTRACT.md +8 -1
  7. package/README.md +1 -1
  8. package/artifacts/release/.agents/skills/omg/AGENTS.fragment.md +7 -1
  9. package/artifacts/release/.agents/skills/omg/claim-judge/SKILL.md +11 -0
  10. package/artifacts/release/.agents/skills/omg/claim-judge/openai.yaml +13 -0
  11. package/artifacts/release/.agents/skills/omg/codex-rules.md +4 -0
  12. package/artifacts/release/.agents/skills/omg/plan-council/SKILL.md +11 -0
  13. package/artifacts/release/.agents/skills/omg/plan-council/openai.yaml +12 -0
  14. package/artifacts/release/.agents/skills/omg/proof-gate/SKILL.md +11 -0
  15. package/artifacts/release/.agents/skills/omg/proof-gate/openai.yaml +13 -0
  16. package/artifacts/release/.agents/skills/omg/test-intent-lock/SKILL.md +11 -0
  17. package/artifacts/release/.agents/skills/omg/test-intent-lock/openai.yaml +13 -0
  18. package/artifacts/release/.claude-plugin/marketplace.json +3 -3
  19. package/artifacts/release/.claude-plugin/plugin.json +1 -1
  20. package/artifacts/release/.mcp.json +0 -22
  21. package/artifacts/release/OMG_COMPAT_CONTRACT.md +8 -1
  22. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/AGENTS.fragment.md +7 -1
  23. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/claim-judge/SKILL.md +11 -0
  24. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/claim-judge/openai.yaml +13 -0
  25. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/codex-rules.md +4 -0
  26. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/plan-council/SKILL.md +11 -0
  27. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/plan-council/openai.yaml +12 -0
  28. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/proof-gate/SKILL.md +11 -0
  29. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/proof-gate/openai.yaml +13 -0
  30. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/test-intent-lock/SKILL.md +11 -0
  31. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/test-intent-lock/openai.yaml +13 -0
  32. package/artifacts/release/dist/enterprise/bundle/.claude-plugin/marketplace.json +36 -0
  33. package/artifacts/release/dist/enterprise/bundle/.claude-plugin/plugin.json +23 -0
  34. package/artifacts/release/dist/enterprise/bundle/.mcp.json +18 -0
  35. package/artifacts/release/dist/enterprise/bundle/OMG_COMPAT_CONTRACT.md +8 -1
  36. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:code-review.md +114 -0
  37. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:deep-plan.md +266 -0
  38. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:handoff.md +115 -0
  39. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:learn.md +110 -0
  40. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:maintainer.md +31 -0
  41. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:ralph-start.md +43 -0
  42. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:ralph-stop.md +23 -0
  43. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:security-review.md +16 -0
  44. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:sequential-thinking.md +20 -0
  45. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:ship.md +46 -0
  46. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/plugin.json +87 -0
  47. package/artifacts/release/dist/enterprise/bundle/registry/bundles/algorithms.yaml +1 -1
  48. package/artifacts/release/dist/enterprise/bundle/registry/bundles/api-twin.yaml +1 -1
  49. package/artifacts/release/dist/enterprise/bundle/registry/bundles/claim-judge.yaml +49 -0
  50. package/artifacts/release/dist/enterprise/bundle/registry/bundles/control-plane.yaml +1 -1
  51. package/artifacts/release/dist/enterprise/bundle/registry/bundles/data-lineage.yaml +1 -1
  52. package/artifacts/release/dist/enterprise/bundle/registry/bundles/delta-classifier.yaml +1 -1
  53. package/artifacts/release/dist/enterprise/bundle/registry/bundles/eval-gate.yaml +1 -1
  54. package/artifacts/release/dist/enterprise/bundle/registry/bundles/health.yaml +1 -1
  55. package/artifacts/release/dist/enterprise/bundle/registry/bundles/hook-governor.yaml +1 -1
  56. package/artifacts/release/dist/enterprise/bundle/registry/bundles/incident-replay.yaml +1 -1
  57. package/artifacts/release/dist/enterprise/bundle/registry/bundles/lsp-pack.yaml +1 -1
  58. package/artifacts/release/dist/enterprise/bundle/registry/bundles/mcp-fabric.yaml +1 -1
  59. package/artifacts/release/dist/enterprise/bundle/registry/bundles/plan-council.yaml +51 -0
  60. package/artifacts/release/dist/enterprise/bundle/registry/bundles/preflight.yaml +1 -1
  61. package/artifacts/release/dist/enterprise/bundle/registry/bundles/proof-gate.yaml +49 -0
  62. package/artifacts/release/dist/enterprise/bundle/registry/bundles/remote-supervisor.yaml +1 -1
  63. package/artifacts/release/dist/enterprise/bundle/registry/bundles/robotics.yaml +1 -1
  64. package/artifacts/release/dist/enterprise/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  65. package/artifacts/release/dist/enterprise/bundle/registry/bundles/security-check.yaml +1 -1
  66. package/artifacts/release/dist/enterprise/bundle/registry/bundles/test-intent-lock.yaml +49 -0
  67. package/artifacts/release/dist/enterprise/bundle/registry/bundles/tracebank.yaml +1 -1
  68. package/artifacts/release/dist/enterprise/bundle/registry/bundles/vision.yaml +1 -1
  69. package/artifacts/release/dist/enterprise/bundle/registry/omg-capability.schema.json +1 -1
  70. package/artifacts/release/dist/enterprise/bundle/settings.json +598 -0
  71. package/artifacts/release/dist/enterprise/manifest.json +131 -23
  72. package/artifacts/release/dist/public/bundle/.agents/skills/omg/AGENTS.fragment.md +55 -4
  73. package/artifacts/release/dist/public/bundle/.agents/skills/omg/claim-judge/SKILL.md +11 -0
  74. package/artifacts/release/dist/public/bundle/.agents/skills/omg/claim-judge/openai.yaml +13 -0
  75. package/artifacts/release/dist/public/bundle/.agents/skills/omg/codex-rules.md +33 -0
  76. package/artifacts/release/dist/public/bundle/.agents/skills/omg/plan-council/SKILL.md +11 -0
  77. package/artifacts/release/dist/public/bundle/.agents/skills/omg/plan-council/openai.yaml +12 -0
  78. package/artifacts/release/dist/public/bundle/.agents/skills/omg/proof-gate/SKILL.md +11 -0
  79. package/artifacts/release/dist/public/bundle/.agents/skills/omg/proof-gate/openai.yaml +13 -0
  80. package/artifacts/release/dist/public/bundle/.agents/skills/omg/test-intent-lock/SKILL.md +11 -0
  81. package/artifacts/release/dist/public/bundle/.agents/skills/omg/test-intent-lock/openai.yaml +13 -0
  82. package/artifacts/release/dist/public/bundle/.claude-plugin/marketplace.json +3 -3
  83. package/artifacts/release/dist/public/bundle/.claude-plugin/plugin.json +1 -1
  84. package/artifacts/release/dist/public/bundle/.mcp.json +0 -22
  85. package/artifacts/release/dist/public/bundle/OMG_COMPAT_CONTRACT.md +8 -1
  86. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:code-review.md +114 -0
  87. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:deep-plan.md +266 -0
  88. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:handoff.md +115 -0
  89. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:learn.md +110 -0
  90. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:maintainer.md +31 -0
  91. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:ralph-start.md +43 -0
  92. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:ralph-stop.md +23 -0
  93. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:security-review.md +16 -0
  94. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:sequential-thinking.md +20 -0
  95. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:ship.md +46 -0
  96. package/artifacts/release/dist/public/bundle/plugins/advanced/plugin.json +87 -0
  97. package/artifacts/release/dist/public/bundle/registry/bundles/algorithms.yaml +1 -1
  98. package/artifacts/release/dist/public/bundle/registry/bundles/api-twin.yaml +1 -1
  99. package/artifacts/release/dist/public/bundle/registry/bundles/claim-judge.yaml +49 -0
  100. package/artifacts/release/dist/public/bundle/registry/bundles/control-plane.yaml +1 -1
  101. package/artifacts/release/dist/public/bundle/registry/bundles/data-lineage.yaml +1 -1
  102. package/artifacts/release/dist/public/bundle/registry/bundles/delta-classifier.yaml +1 -1
  103. package/artifacts/release/dist/public/bundle/registry/bundles/eval-gate.yaml +1 -1
  104. package/artifacts/release/dist/public/bundle/registry/bundles/health.yaml +1 -1
  105. package/artifacts/release/dist/public/bundle/registry/bundles/hook-governor.yaml +1 -1
  106. package/artifacts/release/dist/public/bundle/registry/bundles/incident-replay.yaml +1 -1
  107. package/artifacts/release/dist/public/bundle/registry/bundles/lsp-pack.yaml +1 -1
  108. package/artifacts/release/dist/public/bundle/registry/bundles/mcp-fabric.yaml +1 -1
  109. package/artifacts/release/dist/public/bundle/registry/bundles/plan-council.yaml +51 -0
  110. package/artifacts/release/dist/public/bundle/registry/bundles/preflight.yaml +1 -1
  111. package/artifacts/release/dist/public/bundle/registry/bundles/proof-gate.yaml +49 -0
  112. package/artifacts/release/dist/public/bundle/registry/bundles/remote-supervisor.yaml +1 -1
  113. package/artifacts/release/dist/public/bundle/registry/bundles/robotics.yaml +1 -1
  114. package/artifacts/release/dist/public/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  115. package/artifacts/release/dist/public/bundle/registry/bundles/security-check.yaml +1 -1
  116. package/artifacts/release/dist/public/bundle/registry/bundles/test-intent-lock.yaml +49 -0
  117. package/artifacts/release/dist/public/bundle/registry/bundles/tracebank.yaml +1 -1
  118. package/artifacts/release/dist/public/bundle/registry/bundles/vision.yaml +1 -1
  119. package/artifacts/release/dist/public/bundle/registry/omg-capability.schema.json +1 -1
  120. package/artifacts/release/dist/public/bundle/settings.json +76 -4
  121. package/artifacts/release/dist/public/manifest.json +122 -26
  122. package/artifacts/release/plugins/advanced/commands/OMG:code-review.md +114 -0
  123. package/artifacts/release/plugins/advanced/commands/OMG:deep-plan.md +266 -0
  124. package/artifacts/release/plugins/advanced/commands/OMG:handoff.md +115 -0
  125. package/artifacts/release/plugins/advanced/commands/OMG:learn.md +110 -0
  126. package/artifacts/release/plugins/advanced/commands/OMG:maintainer.md +31 -0
  127. package/artifacts/release/plugins/advanced/commands/OMG:ralph-start.md +43 -0
  128. package/artifacts/release/plugins/advanced/commands/OMG:ralph-stop.md +23 -0
  129. package/artifacts/release/plugins/advanced/commands/OMG:security-review.md +16 -0
  130. package/artifacts/release/plugins/advanced/commands/OMG:sequential-thinking.md +20 -0
  131. package/artifacts/release/plugins/advanced/commands/OMG:ship.md +46 -0
  132. package/artifacts/release/plugins/advanced/plugin.json +87 -0
  133. package/artifacts/release/registry/bundles/algorithms.yaml +1 -1
  134. package/artifacts/release/registry/bundles/api-twin.yaml +1 -1
  135. package/artifacts/release/registry/bundles/claim-judge.yaml +49 -0
  136. package/artifacts/release/registry/bundles/control-plane.yaml +1 -1
  137. package/artifacts/release/registry/bundles/data-lineage.yaml +1 -1
  138. package/artifacts/release/registry/bundles/delta-classifier.yaml +1 -1
  139. package/artifacts/release/registry/bundles/eval-gate.yaml +1 -1
  140. package/artifacts/release/registry/bundles/health.yaml +1 -1
  141. package/artifacts/release/registry/bundles/hook-governor.yaml +1 -1
  142. package/artifacts/release/registry/bundles/incident-replay.yaml +1 -1
  143. package/artifacts/release/registry/bundles/lsp-pack.yaml +1 -1
  144. package/artifacts/release/registry/bundles/mcp-fabric.yaml +1 -1
  145. package/artifacts/release/registry/bundles/plan-council.yaml +51 -0
  146. package/artifacts/release/registry/bundles/preflight.yaml +1 -1
  147. package/artifacts/release/registry/bundles/proof-gate.yaml +49 -0
  148. package/artifacts/release/registry/bundles/remote-supervisor.yaml +1 -1
  149. package/artifacts/release/registry/bundles/robotics.yaml +1 -1
  150. package/artifacts/release/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  151. package/artifacts/release/registry/bundles/security-check.yaml +1 -1
  152. package/artifacts/release/registry/bundles/test-intent-lock.yaml +49 -0
  153. package/artifacts/release/registry/bundles/tracebank.yaml +1 -1
  154. package/artifacts/release/registry/bundles/vision.yaml +1 -1
  155. package/artifacts/release/registry/omg-capability.schema.json +1 -1
  156. package/artifacts/release/settings.json +7 -3
  157. package/build/lib/control_plane/openapi.yaml +1 -1
  158. package/build/lib/plugins/README.md +1 -1
  159. package/build/lib/plugins/advanced/commands/OMG:deep-plan.md +2 -1
  160. package/build/lib/plugins/advanced/plugin.json +1 -1
  161. package/build/lib/plugins/core/plugin.json +1 -1
  162. package/build/lib/registry/bundles/algorithms.yaml +1 -1
  163. package/build/lib/registry/bundles/api-twin.yaml +1 -1
  164. package/build/lib/registry/bundles/claim-judge.yaml +1 -1
  165. package/build/lib/registry/bundles/control-plane.yaml +1 -1
  166. package/build/lib/registry/bundles/data-lineage.yaml +1 -1
  167. package/build/lib/registry/bundles/delta-classifier.yaml +1 -1
  168. package/build/lib/registry/bundles/eval-gate.yaml +1 -1
  169. package/build/lib/registry/bundles/health.yaml +1 -1
  170. package/build/lib/registry/bundles/hook-governor.yaml +1 -1
  171. package/build/lib/registry/bundles/incident-replay.yaml +1 -1
  172. package/build/lib/registry/bundles/lsp-pack.yaml +1 -1
  173. package/build/lib/registry/bundles/mcp-fabric.yaml +1 -1
  174. package/build/lib/registry/bundles/plan-council.yaml +2 -2
  175. package/build/lib/registry/bundles/preflight.yaml +1 -1
  176. package/build/lib/registry/bundles/proof-gate.yaml +1 -1
  177. package/build/lib/registry/bundles/remote-supervisor.yaml +1 -1
  178. package/build/lib/registry/bundles/robotics.yaml +1 -1
  179. package/build/lib/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  180. package/build/lib/registry/bundles/security-check.yaml +1 -1
  181. package/build/lib/registry/bundles/test-intent-lock.yaml +1 -1
  182. package/build/lib/registry/bundles/tracebank.yaml +1 -1
  183. package/build/lib/registry/bundles/vision.yaml +1 -1
  184. package/build/lib/registry/omg-capability.schema.json +1 -1
  185. package/build/lib/runtime/adoption.py +1 -1
  186. package/build/lib/runtime/api_twin.py +4 -4
  187. package/build/lib/runtime/contract_compiler.py +71 -0
  188. package/build/lib/runtime/ecosystem.py +1 -1
  189. package/build/lib/runtime/mcp_memory_server.py +1 -1
  190. package/build/lib/runtime/omg_compat_contract_snapshot.json +2 -2
  191. package/build/lib/runtime/omg_contract_snapshot.json +2 -2
  192. package/control_plane/openapi.yaml +1 -1
  193. package/dist/enterprise/bundle/.agents/skills/omg/AGENTS.fragment.md +7 -1
  194. package/dist/enterprise/bundle/.agents/skills/omg/claim-judge/SKILL.md +11 -0
  195. package/dist/enterprise/bundle/.agents/skills/omg/claim-judge/openai.yaml +13 -0
  196. package/dist/enterprise/bundle/.agents/skills/omg/codex-rules.md +4 -0
  197. package/dist/enterprise/bundle/.agents/skills/omg/plan-council/SKILL.md +11 -0
  198. package/dist/enterprise/bundle/.agents/skills/omg/plan-council/openai.yaml +12 -0
  199. package/dist/enterprise/bundle/.agents/skills/omg/proof-gate/SKILL.md +11 -0
  200. package/dist/enterprise/bundle/.agents/skills/omg/proof-gate/openai.yaml +13 -0
  201. package/dist/enterprise/bundle/.agents/skills/omg/test-intent-lock/SKILL.md +11 -0
  202. package/dist/enterprise/bundle/.agents/skills/omg/test-intent-lock/openai.yaml +13 -0
  203. package/dist/enterprise/bundle/.claude-plugin/marketplace.json +3 -3
  204. package/dist/enterprise/bundle/.claude-plugin/plugin.json +1 -1
  205. package/dist/enterprise/bundle/.mcp.json +0 -22
  206. package/dist/enterprise/bundle/OMG_COMPAT_CONTRACT.md +8 -1
  207. package/dist/enterprise/bundle/plugins/advanced/commands/OMG:deep-plan.md +51 -6
  208. package/dist/enterprise/bundle/plugins/advanced/commands/OMG:ship.md +1 -1
  209. package/dist/enterprise/bundle/plugins/advanced/plugin.json +1 -1
  210. package/dist/enterprise/bundle/registry/bundles/algorithms.yaml +1 -1
  211. package/dist/enterprise/bundle/registry/bundles/api-twin.yaml +1 -1
  212. package/dist/enterprise/bundle/registry/bundles/claim-judge.yaml +49 -0
  213. package/dist/enterprise/bundle/registry/bundles/control-plane.yaml +1 -1
  214. package/dist/enterprise/bundle/registry/bundles/data-lineage.yaml +1 -1
  215. package/dist/enterprise/bundle/registry/bundles/delta-classifier.yaml +1 -1
  216. package/dist/enterprise/bundle/registry/bundles/eval-gate.yaml +1 -1
  217. package/dist/enterprise/bundle/registry/bundles/health.yaml +1 -1
  218. package/dist/enterprise/bundle/registry/bundles/hook-governor.yaml +1 -1
  219. package/dist/enterprise/bundle/registry/bundles/incident-replay.yaml +1 -1
  220. package/dist/enterprise/bundle/registry/bundles/lsp-pack.yaml +1 -1
  221. package/dist/enterprise/bundle/registry/bundles/mcp-fabric.yaml +1 -1
  222. package/dist/enterprise/bundle/registry/bundles/plan-council.yaml +51 -0
  223. package/dist/enterprise/bundle/registry/bundles/preflight.yaml +1 -1
  224. package/dist/enterprise/bundle/registry/bundles/proof-gate.yaml +49 -0
  225. package/dist/enterprise/bundle/registry/bundles/remote-supervisor.yaml +1 -1
  226. package/dist/enterprise/bundle/registry/bundles/robotics.yaml +1 -1
  227. package/dist/enterprise/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  228. package/dist/enterprise/bundle/registry/bundles/security-check.yaml +1 -1
  229. package/dist/enterprise/bundle/registry/bundles/test-intent-lock.yaml +49 -0
  230. package/dist/enterprise/bundle/registry/bundles/tracebank.yaml +1 -1
  231. package/dist/enterprise/bundle/registry/bundles/vision.yaml +1 -1
  232. package/dist/enterprise/bundle/registry/omg-capability.schema.json +1 -1
  233. package/dist/enterprise/bundle/settings.json +7 -3
  234. package/dist/enterprise/manifest.json +78 -30
  235. package/dist/public/bundle/.agents/skills/omg/AGENTS.fragment.md +7 -1
  236. package/dist/public/bundle/.agents/skills/omg/claim-judge/SKILL.md +11 -0
  237. package/dist/public/bundle/.agents/skills/omg/claim-judge/openai.yaml +13 -0
  238. package/dist/public/bundle/.agents/skills/omg/codex-rules.md +4 -0
  239. package/dist/public/bundle/.agents/skills/omg/plan-council/SKILL.md +11 -0
  240. package/dist/public/bundle/.agents/skills/omg/plan-council/openai.yaml +12 -0
  241. package/dist/public/bundle/.agents/skills/omg/proof-gate/SKILL.md +11 -0
  242. package/dist/public/bundle/.agents/skills/omg/proof-gate/openai.yaml +13 -0
  243. package/dist/public/bundle/.agents/skills/omg/test-intent-lock/SKILL.md +11 -0
  244. package/dist/public/bundle/.agents/skills/omg/test-intent-lock/openai.yaml +13 -0
  245. package/dist/public/bundle/.claude-plugin/marketplace.json +3 -3
  246. package/dist/public/bundle/.claude-plugin/plugin.json +1 -1
  247. package/dist/public/bundle/.mcp.json +0 -22
  248. package/dist/public/bundle/OMG_COMPAT_CONTRACT.md +8 -1
  249. package/dist/public/bundle/plugins/advanced/commands/OMG:deep-plan.md +51 -6
  250. package/dist/public/bundle/plugins/advanced/commands/OMG:ship.md +1 -1
  251. package/dist/public/bundle/plugins/advanced/plugin.json +1 -1
  252. package/dist/public/bundle/registry/bundles/algorithms.yaml +1 -1
  253. package/dist/public/bundle/registry/bundles/api-twin.yaml +1 -1
  254. package/dist/public/bundle/registry/bundles/claim-judge.yaml +49 -0
  255. package/dist/public/bundle/registry/bundles/control-plane.yaml +1 -1
  256. package/dist/public/bundle/registry/bundles/data-lineage.yaml +1 -1
  257. package/dist/public/bundle/registry/bundles/delta-classifier.yaml +1 -1
  258. package/dist/public/bundle/registry/bundles/eval-gate.yaml +1 -1
  259. package/dist/public/bundle/registry/bundles/health.yaml +1 -1
  260. package/dist/public/bundle/registry/bundles/hook-governor.yaml +1 -1
  261. package/dist/public/bundle/registry/bundles/incident-replay.yaml +1 -1
  262. package/dist/public/bundle/registry/bundles/lsp-pack.yaml +1 -1
  263. package/dist/public/bundle/registry/bundles/mcp-fabric.yaml +1 -1
  264. package/dist/public/bundle/registry/bundles/plan-council.yaml +51 -0
  265. package/dist/public/bundle/registry/bundles/preflight.yaml +1 -1
  266. package/dist/public/bundle/registry/bundles/proof-gate.yaml +49 -0
  267. package/dist/public/bundle/registry/bundles/remote-supervisor.yaml +1 -1
  268. package/dist/public/bundle/registry/bundles/robotics.yaml +1 -1
  269. package/dist/public/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  270. package/dist/public/bundle/registry/bundles/security-check.yaml +1 -1
  271. package/dist/public/bundle/registry/bundles/test-intent-lock.yaml +49 -0
  272. package/dist/public/bundle/registry/bundles/tracebank.yaml +1 -1
  273. package/dist/public/bundle/registry/bundles/vision.yaml +1 -1
  274. package/dist/public/bundle/registry/omg-capability.schema.json +1 -1
  275. package/dist/public/bundle/settings.json +7 -3
  276. package/dist/public/manifest.json +78 -30
  277. package/docs/proof.md +6 -6
  278. package/package.json +1 -1
  279. package/plugins/README.md +1 -1
  280. package/plugins/advanced/commands/OMG:deep-plan.md +2 -1
  281. package/plugins/advanced/plugin.json +1 -1
  282. package/plugins/core/plugin.json +1 -1
  283. package/pyproject.toml +5 -1
  284. package/registry/bundles/algorithms.yaml +1 -1
  285. package/registry/bundles/api-twin.yaml +1 -1
  286. package/registry/bundles/claim-judge.yaml +1 -1
  287. package/registry/bundles/control-plane.yaml +1 -1
  288. package/registry/bundles/data-lineage.yaml +1 -1
  289. package/registry/bundles/delta-classifier.yaml +1 -1
  290. package/registry/bundles/eval-gate.yaml +1 -1
  291. package/registry/bundles/health.yaml +1 -1
  292. package/registry/bundles/hook-governor.yaml +1 -1
  293. package/registry/bundles/incident-replay.yaml +1 -1
  294. package/registry/bundles/lsp-pack.yaml +1 -1
  295. package/registry/bundles/mcp-fabric.yaml +1 -1
  296. package/registry/bundles/plan-council.yaml +2 -2
  297. package/registry/bundles/preflight.yaml +1 -1
  298. package/registry/bundles/proof-gate.yaml +1 -1
  299. package/registry/bundles/remote-supervisor.yaml +1 -1
  300. package/registry/bundles/robotics.yaml +1 -1
  301. package/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  302. package/registry/bundles/security-check.yaml +1 -1
  303. package/registry/bundles/test-intent-lock.yaml +1 -1
  304. package/registry/bundles/tracebank.yaml +1 -1
  305. package/registry/bundles/vision.yaml +1 -1
  306. package/registry/omg-capability.schema.json +1 -1
  307. package/runtime/adoption.py +1 -1
  308. package/runtime/api_twin.py +4 -4
  309. package/runtime/contract_compiler.py +71 -0
  310. package/runtime/ecosystem.py +1 -1
  311. package/runtime/mcp_memory_server.py +1 -1
  312. package/runtime/omg_compat_contract_snapshot.json +2 -2
  313. package/runtime/omg_contract_snapshot.json +2 -2
  314. package/scripts/omg.py +1 -1
  315. package/settings.json +7 -3
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "schema": "OmgCompiledArtifactManifest",
3
3
  "channel": "public",
4
- "contract_version": "2.0.5",
4
+ "contract_version": "2.0.8",
5
5
  "artifacts": [
6
6
  {
7
7
  "path": "bundle/.agents/skills/omg/AGENTS.fragment.md",
8
- "sha256": "57e36ddde11cbb98aa9010f9ef4f29529f777574e0b45f66536a387e7b75c85c"
8
+ "sha256": "0c6b1b74a746cabe933321d27541836a5526acda02da1131616dcb09c56101bc"
9
9
  },
10
10
  {
11
11
  "path": "bundle/.agents/skills/omg/algorithms/SKILL.md",
@@ -23,10 +23,22 @@
23
23
  "path": "bundle/.agents/skills/omg/api-twin/openai.yaml",
24
24
  "sha256": "8b711205c230c16695702b1eeeb426d844aa76a87c55f220298cdaf105ceee1d"
25
25
  },
26
+ {
27
+ "path": "bundle/.agents/skills/omg/claim-judge/SKILL.md",
28
+ "sha256": "cc65993357813c41fb81502de8781743e84e529088da19dbf8735e0a22f8519c"
29
+ },
30
+ {
31
+ "path": "bundle/.agents/skills/omg/claim-judge/openai.yaml",
32
+ "sha256": "b64dc801159a6e9adcd704326122f64c1bad7f71d87f22ada47918f7527151cc"
33
+ },
26
34
  {
27
35
  "path": "bundle/.agents/skills/omg/codex-mcp.toml",
28
36
  "sha256": "a56de208a369a2b318d2e66e150eef4cba1fac1ecf32bda6db1a1e4b65db7311"
29
37
  },
38
+ {
39
+ "path": "bundle/.agents/skills/omg/codex-rules.md",
40
+ "sha256": "939b128a1904e0d8b2b21208a308b558bcd51bd6c0de32e60e59d6744821e9d0"
41
+ },
30
42
  {
31
43
  "path": "bundle/.agents/skills/omg/control-plane/SKILL.md",
32
44
  "sha256": "fe281985ffbfb4d324d0ae421653c96d501bfda4ef1462865e2868276c40a3c2"
@@ -99,6 +111,14 @@
99
111
  "path": "bundle/.agents/skills/omg/mcp-fabric/openai.yaml",
100
112
  "sha256": "18dc35b4d6fb598b572ec933153e80de5449be9e07ef07178e4f875e39a8915c"
101
113
  },
114
+ {
115
+ "path": "bundle/.agents/skills/omg/plan-council/SKILL.md",
116
+ "sha256": "0c7e92cebcfbb22a4f267008b97947ae80f880906a5593e0bdc1baa60bb6c054"
117
+ },
118
+ {
119
+ "path": "bundle/.agents/skills/omg/plan-council/openai.yaml",
120
+ "sha256": "fee8d5ce4acc9cc03f5de73701bf0cfd866de7acaa1ff4c3cb518a47c1399a26"
121
+ },
102
122
  {
103
123
  "path": "bundle/.agents/skills/omg/preflight/SKILL.md",
104
124
  "sha256": "1f7783ff53f59a4368f1ec7746faa3f1a66805312291851f43ae2fe6a7d58f30"
@@ -107,6 +127,14 @@
107
127
  "path": "bundle/.agents/skills/omg/preflight/openai.yaml",
108
128
  "sha256": "1074dff95ae9f6951cdd9bb3d6b5c4add7d6a688b0ceed3d79d365dff42bfca6"
109
129
  },
130
+ {
131
+ "path": "bundle/.agents/skills/omg/proof-gate/SKILL.md",
132
+ "sha256": "9f6c58e6c8c8c967cfa276e7efe06d1cce8d964ffd0ce8e131794496614ec759"
133
+ },
134
+ {
135
+ "path": "bundle/.agents/skills/omg/proof-gate/openai.yaml",
136
+ "sha256": "5e9cac6f19099fc3ed6492551484570cabcba8b479cdee254721c05be296780d"
137
+ },
110
138
  {
111
139
  "path": "bundle/.agents/skills/omg/remote-supervisor/SKILL.md",
112
140
  "sha256": "506988d9eb379dad027ad1dd0087e81f12594faed16a91dbda021975de28e19f"
@@ -139,6 +167,14 @@
139
167
  "path": "bundle/.agents/skills/omg/security-check/openai.yaml",
140
168
  "sha256": "cf06bd8b852ad6c4694d8aeadd05ae4c9b63d32fa5cee085152683c65a3343e5"
141
169
  },
170
+ {
171
+ "path": "bundle/.agents/skills/omg/test-intent-lock/SKILL.md",
172
+ "sha256": "ec04b427841b40bc390db1403d52933c24c26b7d3cabb762e39ccc508f33127a"
173
+ },
174
+ {
175
+ "path": "bundle/.agents/skills/omg/test-intent-lock/openai.yaml",
176
+ "sha256": "57ee74b4a518afb6d524038fb461f20892f295c7bae74f223acfe51a8f645199"
177
+ },
142
178
  {
143
179
  "path": "bundle/.agents/skills/omg/tracebank/SKILL.md",
144
180
  "sha256": "c4ba5cbe7acca1be333f376f27f800482c1080eb8e95b34744313f1d64a84fcd"
@@ -157,99 +193,159 @@
157
193
  },
158
194
  {
159
195
  "path": "bundle/.claude-plugin/marketplace.json",
160
- "sha256": "891da444ad4b69cb61eebf5b083fcc67937632c435c8028176422debee8e4887"
196
+ "sha256": "06549b994609245c5f13d6053f9049acce862c7a949f8ec63ce057b13206c0c4"
161
197
  },
162
198
  {
163
199
  "path": "bundle/.claude-plugin/plugin.json",
164
- "sha256": "fe79af472d21bd47da149116ff1ed5c82b08c4bfd60b470e5d4faf6799f9abf7"
200
+ "sha256": "fe7531e0527d288413151433ee5daa3106383442024d5dad072373f8f26d57d1"
165
201
  },
166
202
  {
167
203
  "path": "bundle/.mcp.json",
168
- "sha256": "d8249fdd26e0df0a9b7cabcb34256d7e33578e1d0e9878cc91d43452a10f7c24"
204
+ "sha256": "e16897732dbd20ba7f47e5c0513b146a8d847454c8c13aa9e0a6031e5a498fa4"
169
205
  },
170
206
  {
171
207
  "path": "bundle/OMG_COMPAT_CONTRACT.md",
172
- "sha256": "fa7a4a16097b35170784e136f8ff9eae64c825a07f55413fb8fea3e7ab40c2e5"
208
+ "sha256": "4c628cf93698b051e183db0ddaa80dbdac7a3667071d048cba0f25419271e28d"
209
+ },
210
+ {
211
+ "path": "bundle/plugins/advanced/commands/OMG:code-review.md",
212
+ "sha256": "99ba9756586924d0ebdd43c4ca65f925b86f6c4bf6bc98d355f0cb9a17f9f6b0"
213
+ },
214
+ {
215
+ "path": "bundle/plugins/advanced/commands/OMG:deep-plan.md",
216
+ "sha256": "ccc235efa52643afd5550765bb0a3b9697be40bf4731392fde3f1c0e5c43f9e0"
217
+ },
218
+ {
219
+ "path": "bundle/plugins/advanced/commands/OMG:handoff.md",
220
+ "sha256": "eea0da517e14abb0a9bc6fe661f310a81c0282ff666803da4ae1be47fb597011"
221
+ },
222
+ {
223
+ "path": "bundle/plugins/advanced/commands/OMG:learn.md",
224
+ "sha256": "338f87222db65114f8c83de2185a21c7c2538832395524ac39ea38a0e09d73b3"
225
+ },
226
+ {
227
+ "path": "bundle/plugins/advanced/commands/OMG:maintainer.md",
228
+ "sha256": "1a29d4cb6839dd6de8c11b88b93a72fb9a371cfb7784bfe409d5e5ef0a825508"
229
+ },
230
+ {
231
+ "path": "bundle/plugins/advanced/commands/OMG:ralph-start.md",
232
+ "sha256": "31b2aded6032b5f061dbb7cd92dff53bbe3b527b9e9ba93d5043cad2847a6365"
233
+ },
234
+ {
235
+ "path": "bundle/plugins/advanced/commands/OMG:ralph-stop.md",
236
+ "sha256": "b43acad180bd205ddd78d42f1c7ecf315e521a0c345bf9d42b24d8c4d3913ce3"
237
+ },
238
+ {
239
+ "path": "bundle/plugins/advanced/commands/OMG:security-review.md",
240
+ "sha256": "f2a0e1a61b4110ac88202e2e5c166191867423235bf61030ef9cc082d964cc22"
241
+ },
242
+ {
243
+ "path": "bundle/plugins/advanced/commands/OMG:sequential-thinking.md",
244
+ "sha256": "1830de63009cb07c80cbcecf143f6df7560e7f031ac5b1d509b726d184e441da"
245
+ },
246
+ {
247
+ "path": "bundle/plugins/advanced/commands/OMG:ship.md",
248
+ "sha256": "3a44016f71a4d73de04043f0c13a6655541c090498908b2bc858c29514a653d4"
249
+ },
250
+ {
251
+ "path": "bundle/plugins/advanced/plugin.json",
252
+ "sha256": "4968387bae13eaf91792a0c845c28a5007eeefd04d09320b0d783d9563f1481b"
173
253
  },
174
254
  {
175
255
  "path": "bundle/registry/bundles/algorithms.yaml",
176
- "sha256": "cc589c80d47ab2eb1bb2f142d462e40fc1c5f108e175360b40929326966de723"
256
+ "sha256": "d52c36a0c18535eab9f45b37b0e835b1296ee2dc0d84f2925c23eb8d76390377"
177
257
  },
178
258
  {
179
259
  "path": "bundle/registry/bundles/api-twin.yaml",
180
- "sha256": "6952f8d45dbfa29afac88de0f110b2941804c4543dae4c0f5562cb876de376b7"
260
+ "sha256": "1785a09173a380855d8d671d2e8c53b48a0c10ed79dd2d5647cac93fd95ef072"
261
+ },
262
+ {
263
+ "path": "bundle/registry/bundles/claim-judge.yaml",
264
+ "sha256": "681d69599a20b8172716eaf4290e10821594c4db0a3943147d17628e997cafe9"
181
265
  },
182
266
  {
183
267
  "path": "bundle/registry/bundles/control-plane.yaml",
184
- "sha256": "fc3ecec96e30a384d56917aaed36ebd39bbc6f545d22b26465e2aec8a1f9b85d"
268
+ "sha256": "8a1677d622d2f660b7d1109579f026bd078f97eb624669c618247451bd07f172"
185
269
  },
186
270
  {
187
271
  "path": "bundle/registry/bundles/data-lineage.yaml",
188
- "sha256": "602a1906d976ff93beb961affd7b5f6d4dc6486cd960ad47aa2a2b6c65724585"
272
+ "sha256": "5811a8cf765c73dac6990bebc5a4eaadf5e4be5b9418846efdb6289903b3c5e0"
189
273
  },
190
274
  {
191
275
  "path": "bundle/registry/bundles/delta-classifier.yaml",
192
- "sha256": "d08df8acb9713c58767a0c1a390fd35a61b7e1a290cfb13376a8f5517cbcc7f3"
276
+ "sha256": "ecf2e6fc8e07bc091d3d429c90b94b47ff0c96455467c82feae709bada388c29"
193
277
  },
194
278
  {
195
279
  "path": "bundle/registry/bundles/eval-gate.yaml",
196
- "sha256": "c3de322fece33b91f503740f828e318264d0388d3403b98f09c2d73486a57b81"
280
+ "sha256": "3048cb1c18c3d7814c88689121e44bc54ce45e1478f33c395b247edc55727f76"
197
281
  },
198
282
  {
199
283
  "path": "bundle/registry/bundles/health.yaml",
200
- "sha256": "3192a27f326656732fe83ed6e725366bc2c9bb7e5009de07b9097b864357383b"
284
+ "sha256": "7d52b0d460e4b72a37557b787ab328e5f6be03c313f2c3c58c2882b6c55168b4"
201
285
  },
202
286
  {
203
287
  "path": "bundle/registry/bundles/hook-governor.yaml",
204
- "sha256": "ccb6edc43da2594eb93ad00abe3447879923f83067201d82927a942bb25f412d"
288
+ "sha256": "5e5d6bc3f2f8a8fc5f7a461c46b1d4f9a76467098b057e5796cc70280c21bc0d"
205
289
  },
206
290
  {
207
291
  "path": "bundle/registry/bundles/incident-replay.yaml",
208
- "sha256": "aeaee69df8fdb8652707f3a228e4556e3a42a1487f4b77d33f47197370bd24a6"
292
+ "sha256": "af2480af08cbc2617f97561225f1b7dfa3f0d9897754c9e04dc9035655709772"
209
293
  },
210
294
  {
211
295
  "path": "bundle/registry/bundles/lsp-pack.yaml",
212
- "sha256": "b0e6f74fd0b52cf37960defc3c9a0b66b722d98b7db15f6b1d4e11eae9a96707"
296
+ "sha256": "58963389f5c24eb88f3fef181ce8593733b856f8db75fad3f51c0006413a2381"
213
297
  },
214
298
  {
215
299
  "path": "bundle/registry/bundles/mcp-fabric.yaml",
216
- "sha256": "40766fb1fed2fbd29ae029915d2c883f3c3f38157fa3c0d72018381c75df6e31"
300
+ "sha256": "d9d69f9a5b60c3eb2ffe59500696866f28deebb159aff9ccfc81468c4ba727c1"
301
+ },
302
+ {
303
+ "path": "bundle/registry/bundles/plan-council.yaml",
304
+ "sha256": "48ffc6d1549a4ce3d8a1a5fbb25fd37d7a6f7af0c1347315b7d2a66408627679"
217
305
  },
218
306
  {
219
307
  "path": "bundle/registry/bundles/preflight.yaml",
220
- "sha256": "f12fd6b4aaa045141dcaaf62b51f5de7d31de2625f819ad368adc1a6e2010b18"
308
+ "sha256": "716a47105e52bfae5fa69e520c2b3f0fb1cde63872837e817cd364e97b9bac11"
309
+ },
310
+ {
311
+ "path": "bundle/registry/bundles/proof-gate.yaml",
312
+ "sha256": "f0cd5d3916405e30b84069cda4348a9ba8dd073c22b259c6619cf55ebe07cde9"
221
313
  },
222
314
  {
223
315
  "path": "bundle/registry/bundles/remote-supervisor.yaml",
224
- "sha256": "ac727c3074ae4a95e66b7e023f38ad22c3ae903db8af079b8b66c83fad57e650"
316
+ "sha256": "21ca5c27c01ec958aa17df08cf567b72d254a7ece628b6ef51452ef41541f8f8"
225
317
  },
226
318
  {
227
319
  "path": "bundle/registry/bundles/robotics.yaml",
228
- "sha256": "8748fdb84285c2131685626182ba86806d3cffecfe5c94c6438a791f983afd2b"
320
+ "sha256": "c169d765137b80347c0d18c4bb4b462ed1797a7e13eb9c86bec2d4c4f5b8a28c"
229
321
  },
230
322
  {
231
323
  "path": "bundle/registry/bundles/secure-worktree-pipeline.yaml",
232
- "sha256": "f62b4d9daee055362e013883f86479d2ddc2b22f8a97be84342a1b2979b9d584"
324
+ "sha256": "31c80af3b2cf589c338c8690880e330dcd9481b3a15ecb3f964aa2c6212df7aa"
233
325
  },
234
326
  {
235
327
  "path": "bundle/registry/bundles/security-check.yaml",
236
- "sha256": "768f412af9696b8c83320c4d1d92c0703ed553296bbf54aff9c0c387f7a86cf0"
328
+ "sha256": "b2b4d4ec168acee3891cd0d6230909a2ba1544ea60a3df7b24957fd57405c711"
329
+ },
330
+ {
331
+ "path": "bundle/registry/bundles/test-intent-lock.yaml",
332
+ "sha256": "73f8eda6d0af194b334fa92c218c27b54d203db62ce7d9f2bf1ae6f9441535a2"
237
333
  },
238
334
  {
239
335
  "path": "bundle/registry/bundles/tracebank.yaml",
240
- "sha256": "500b996f7c55e652e9b4b677fefa472b49b4f61c052b7996738ed1389a575f3a"
336
+ "sha256": "1143e896f40d59f1732a0ce3260a620abec202b61c9e335ae6a2e1e58eda5893"
241
337
  },
242
338
  {
243
339
  "path": "bundle/registry/bundles/vision.yaml",
244
- "sha256": "9f8b8be109d791954e6da97c0caed9234a58c15f1e9a189c445d0a55ec2591d8"
340
+ "sha256": "1d9903c943ad6c1ca4796125e97da1839b6f6c0bd3242919036df65dec5ae495"
245
341
  },
246
342
  {
247
343
  "path": "bundle/registry/omg-capability.schema.json",
248
- "sha256": "f83f7b4cab70c93fe8decc6d691bc713609b415b3195c66733b925db3a389bf8"
344
+ "sha256": "486751cecb434c5f169189528ebe5c7ddddadcb0549abdd59f09e7b10844aba1"
249
345
  },
250
346
  {
251
347
  "path": "bundle/settings.json",
252
- "sha256": "b19647f9a2037b67e186ae35d88c57b045bdabc65f5983e3534902ee25a5c2b9"
348
+ "sha256": "b9bb5303b8d0495cd9ef9933e5fef44b083587e745c7065be2007e197fde8f4b"
253
349
  }
254
350
  ]
255
351
  }
@@ -0,0 +1,114 @@
1
+ ---
2
+ description: Deep code review — reads file completely, checks line-by-line for issues, then analyzes whole-file structure. Enforces code hygiene.
3
+ allowed-tools: Read, Bash(cat:*), Bash(grep:*), Bash(wc:*), Bash(head:*), Bash(find:*), Bash(rg:*), Grep, Glob
4
+ argument-hint: "[file path or 'recent' for git-changed files]"
5
+ ---
6
+
7
+ # /OMG:code-review — Line-by-Line + Structural Review
8
+
9
+ ## Philosophy
10
+ Two passes: LINE-BY-LINE precision, then WHOLE-FILE understanding.
11
+ Don't just scan — READ and UNDERSTAND every line.
12
+
13
+ ## Step 1: Determine Scope
14
+
15
+ - If file specified: review that file
16
+ - If "recent" or no argument: review uncommitted changes
17
+ ```bash
18
+ git diff --name-only HEAD 2>/dev/null
19
+ git diff --cached --name-only 2>/dev/null
20
+ ```
21
+
22
+ ## Step 2: Read the FULL File First
23
+
24
+ Read the ENTIRE file. Not just the changed part. Not just a function.
25
+ Understanding comes from seeing the whole context.
26
+
27
+ Note:
28
+ - What does this file DO? (its purpose in the system)
29
+ - What are its DEPENDENCIES? (imports, calls)
30
+ - What does it EXPORT? (public API)
31
+
32
+ ## Step 3: Line-by-Line Scan
33
+
34
+ For each line, check:
35
+
36
+ **Correctness:**
37
+ - Logic errors (off-by-one, null checks, type mismatches)
38
+ - Missing error handling (unhandled promises, bare except, no null check)
39
+ - Race conditions (shared state, async without await, unchecked concurrent access)
40
+
41
+ **Security (if auth/payment/database):**
42
+ - Hardcoded secrets → CRITICAL
43
+ - SQL injection (string concatenation in queries) → CRITICAL
44
+ - XSS (innerHTML, dangerouslySetInnerHTML) → HIGH
45
+ - Missing input validation → MEDIUM
46
+ - Overly permissive CORS/cookies → MEDIUM
47
+
48
+ **Hygiene:**
49
+ - Dead code (unused imports, variables, unreachable branches)
50
+ - Noise comments ("increment i", "return result", "constructor")
51
+ - console.log/print left in production code
52
+ - TODO/FIXME/HACK without tracking
53
+ - Overly complex functions (>40 lines → suggest extract)
54
+ - Duplicated logic (same pattern in 2+ places → suggest DRY)
55
+
56
+ ## Step 4: Whole-File Structure Analysis
57
+
58
+ After line-by-line:
59
+ - Does the file do ONE thing well, or is it a dumping ground?
60
+ - Are functions ordered logically? (public first, helpers after, or lifecycle order)
61
+ - Is naming consistent? (camelCase throughout? PascalCase for classes?)
62
+ - Does it follow the project's domain pattern? (check .omg/knowledge/domain-patterns/)
63
+ - Any circular dependencies?
64
+ - Is error handling consistent across all functions?
65
+
66
+ ## Step 5: Report
67
+
68
+ ```
69
+ Code Review — [file]
70
+ ━━━━━━━━━━━━━━━━━━━━
71
+
72
+ Structure: [CLEAN | NEEDS_WORK | MESSY]
73
+ Security: [SAFE | REVIEW_NEEDED | CRITICAL]
74
+ Hygiene: [CLEAN | NEEDS_CLEANUP]
75
+
76
+ Issues:
77
+ [line:col] CRITICAL: [description]
78
+ [line:col] HIGH: [description]
79
+ [line:col] MEDIUM: [description]
80
+ [line:col] LOW: [description]
81
+
82
+ Dead Code:
83
+ [line] unused import: [name]
84
+ [line] unreachable after return
85
+
86
+ Noise Comments (remove these):
87
+ [line] "// increment counter"
88
+ [line] "// return the value"
89
+
90
+ Structural:
91
+ - [function] is [N] lines — consider extracting [suggestion]
92
+ - [pattern] duplicated at lines [X] and [Y]
93
+
94
+ Recommendation: [summary of what to fix, in priority order]
95
+ ```
96
+
97
+ ## Step 6: For Security-Critical Files
98
+
99
+ If the file touches auth, payment, or database:
100
+ ```
101
+ /OMG:escalate codex "Line-by-line security review of [file]. Check:
102
+ 1. Every input validation point
103
+ 2. Every database query for injection
104
+ 3. Every auth check for bypass
105
+ 4. Every secret reference for hardcoding
106
+ Report: line numbers + severity + fix suggestion"
107
+ ```
108
+
109
+ ## Anti-patterns
110
+ - DON'T skim and say "looks good" — read every line
111
+ - DON'T only check the diff — read the full file for context
112
+ - DON'T ignore test files — they can have real issues too
113
+ - DON'T add more noise comments as "fixes" — remove them instead
114
+ - DON'T suggest unnecessary code as improvements
@@ -0,0 +1,266 @@
1
+ ---
2
+ description: Deep strategic planning — understands user direction, asks smart questions, creates comprehensive plan with domain awareness
3
+ allowed-tools: Read, Write, Edit, MultiEdit, Bash(find:*), Bash(cat:*), Bash(git:*), Bash(wc:*), Bash(tree:*), Bash(mkdir:*), Bash(tee:*), Grep, Glob
4
+ argument-hint: "[feature or goal to plan]"
5
+ ---
6
+
7
+ # /OMG:deep-plan — Strategic Planning with Direction Understanding
8
+
9
+ ## Philosophy
10
+ Regular planning = "what steps to take."
11
+ Deep planning = "understand WHY the user wants this, WHAT direction they're heading, and HOW it fits the bigger picture."
12
+
13
+ This command is the public compatibility path to the canonical `plan-council` bundle.
14
+ Users invoke `/OMG:deep-plan`; the runtime routes to `plan-council` for execution.
15
+
16
+ ## Step 1: Direction Discovery (MANDATORY)
17
+
18
+ Do not assume goals, constraints, or context. Extract direction from:
19
+ - user prompt
20
+ - `.omg/state/handoff.md`
21
+ - `.omg/state/ledger/failure-tracker.json`
22
+ - current repo structure and patterns
23
+
24
+ Before planning anything, understand:
25
+ 1. **User's real goal** — Often the stated request is one step toward something bigger. Ask: "What's the end state you're imagining?"
26
+ 2. **User's constraints** — Time, budget, existing code, team preferences, tech stack decisions already made.
27
+ 3. **User's domain knowledge** — Are they expert in this domain (follow their lead) or exploring (guide them)?
28
+ 4. **What they've already tried** — Check .omg/state/handoff.md, failure-tracker.json, git log.
29
+
30
+ If direction is still ambiguous after repo exploration, ask only minimal focused questions.
31
+
32
+ Examples of BAD questions: "What framework do you want?" "What's your deadline?"
33
+ Examples of GOOD questions:
34
+ - "I see you have a Stripe integration started in /src/payment/. Are you building on that, or replacing it?"
35
+ - "Your auth uses JWT in cookies. Should the new feature respect that pattern, or are you migrating to sessions?"
36
+ - "The DB schema has 3 user types. Does this feature apply to all of them or just one?"
37
+
38
+ ## Step 2: Map the Domain
39
+
40
+ Read the codebase to understand the CURRENT state:
41
+ ```bash
42
+ # Directory structure
43
+ find . -type f -name "*.ts" -o -name "*.py" -o -name "*.go" | head -50
44
+
45
+ # Key architectural patterns
46
+ grep -rn "export class\|export function\|def \|func \|struct " src/ --include="*.{ts,py,go}" | head -30
47
+
48
+ # Existing domain boundaries
49
+ ls -la src/*/ # or app/*/ or packages/*/
50
+
51
+ # Data flow
52
+ grep -rn "import.*from\|require(" src/ --include="*.{ts,js}" | head -20
53
+ ```
54
+
55
+ If DDD reference patterns exist (see .omg/knowledge/ or existing domain modules):
56
+ - Read the reference domain FIRST
57
+ - Plan the new feature to MATCH the pattern
58
+ - Note any intentional deviations with WHY
59
+
60
+ ## Step 3: Create the Deep Plan (Plan Council Artifacts)
61
+
62
+ Generate the canonical `plan-council` artifacts. Use Bash heredoc to write these files.
63
+ Required artifacts: `.omg/plans/deep-plan.md`, `.omg/plans/deep-plan.json`, `.omg/plans/dissent.json`, `.omg/evidence/plan-council.json`.
64
+
65
+ ### Artifact 1: `.omg/plans/deep-plan.md` (Human-readable)
66
+ ```markdown
67
+ # Deep Plan: [Feature Name]
68
+ Created: [date]
69
+ CHANGE_BUDGET=[small|medium|large]
70
+
71
+ ## Direction
72
+ [1-2 sentences: what the user is building toward, not just this task]
73
+
74
+ ## Domain Context
75
+ Reference pattern: [file/module that sets the pattern]
76
+ Bounded contexts affected: [list]
77
+ Key interfaces: [list the interfaces/types this touches]
78
+
79
+ ## Architecture Decisions
80
+ - [Decision]: [chosen approach] because [reason]
81
+ Alternatives considered: [what was rejected and why]
82
+
83
+ ## Implementation Plan
84
+
85
+ ### Phase 1: Foundation [N files, ~M lines]
86
+ 1. [ ] [specific action] — [file] — [what and why]
87
+ 2. [ ] [specific action] — [file]
88
+
89
+ ### Phase 2: Core Logic [N files, ~M lines]
90
+ 3. [ ] [specific action]
91
+ 4. [ ] [specific action]
92
+
93
+ ### Phase 3: Integration + Verification [N files, ~M lines]
94
+ 5. [ ] [specific action]
95
+ 6. [ ] Verification: /OMG:security-check [affected files]
96
+
97
+ ### Phase 4: Verification
98
+ 7. [ ] Tests: [what to test, how]
99
+ 8. [ ] Edge cases: [list]
100
+ 9. [ ] Manual verification: [steps]
101
+
102
+ ## Risk Map
103
+ - [Risk]: [mitigation]
104
+ - [Risk]: [mitigation]
105
+
106
+ ## What NOT to Do
107
+ - [Anti-pattern specific to this feature]
108
+ - [Approach that looks tempting but will fail because...]
109
+
110
+ ## Files to Read Before Starting
111
+ 1. [file] — [why: contains the reference pattern]
112
+ 2. [file] — [why: defines the interface this must implement]
113
+
114
+ ## Plan Council Requirements
115
+ ### Assumptions
116
+ List your assumptions below:
117
+ - [Assumption 1]
118
+ - [Assumption 2]
119
+
120
+ ### Objections and Dissent
121
+ Record any objections or dissent:
122
+ - [Dissent 1]
123
+ - [Dissent 2]
124
+
125
+ ### Rollback Plan
126
+ Define the rollback plan:
127
+ - [Step 1 to revert]
128
+ - [Step 2 to revert]
129
+
130
+ ### Verification Commands
131
+ List the verification commands:
132
+ - [Command 1]
133
+ - [Command 2]
134
+
135
+ ### Evidence Requirements
136
+ Define the evidence requirements:
137
+ - [Requirement 1]
138
+ - [Requirement 2]
139
+
140
+ ### What would falsify this plan?
141
+ Define what would falsify this plan:
142
+ - [Condition 1]
143
+ - [Condition 2]
144
+ ```
145
+
146
+ ### Artifact 2: `.omg/plans/deep-plan.json` (Machine-readable)
147
+ Include the full task plan, workflow stages, and metadata.
148
+
149
+ ### Artifact 3: `.omg/plans/dissent.json` (Dissent log)
150
+ Record all objections, risks, and counter-arguments raised during planning.
151
+
152
+ ### Artifact 4: `.omg/evidence/plan-council.json` (Planning evidence)
153
+ Record the planning process evidence, including tool outputs and validation results.
154
+
155
+ ## Step 4: Present and Iterate
156
+
157
+ Show the plan to the user. Ask:
158
+ - "Does this match the direction you're thinking?"
159
+ - "Anything I'm missing about your goals?"
160
+ - "Should I adjust the scope or priority?"
161
+
162
+ Update the plan based on feedback BEFORE starting implementation.
163
+
164
+ ## Step 4.5: Codex Plan Validation (MANDATORY)
165
+
166
+ Before implementation, run a dedicated Codex validation pass on the final plan.
167
+
168
+ Checklist for Codex validation:
169
+ - ordering and dependency correctness
170
+ - hidden edge cases and rollback gaps
171
+ - security/performance blind spots
172
+ - missing verification steps
173
+
174
+ Only after applying those corrections, continue to execution.
175
+
176
+ ## Step 4.6: Multi-Agent Bootstrap (MANDATORY)
177
+
178
+ After validation, launch exactly 5 planning tracks with mixed-model intent using OMG-native routing (same planning discipline as OMG):
179
+
180
+ 1. Architect track (Claude)
181
+ 2. Backend track (GPT/Codex)
182
+ 3. Frontend track (Gemini)
183
+ 4. Security track (GPT/Codex)
184
+ 5. Verification track (Claude)
185
+
186
+ Dispatch pattern is mandatory: all 5 tracks launch in parallel as background sub-agents.
187
+
188
+ ```python
189
+ task(subagent_type="explore", run_in_background=true, load_skills=[], description="Architect planning track", prompt="...")
190
+ task(subagent_type="explore", run_in_background=true, load_skills=[], description="Backend planning track", prompt="...")
191
+ task(subagent_type="explore", run_in_background=true, load_skills=[], description="Frontend planning track", prompt="...")
192
+ task(subagent_type="explore", run_in_background=true, load_skills=[], description="Security planning track", prompt="...")
193
+ task(subagent_type="explore", run_in_background=true, load_skills=[], description="Verification planning track", prompt="...")
194
+ ```
195
+
196
+ Collection and merge protocol:
197
+ - collect every track using `background_output(task_id="...")`
198
+ - run a `sequential-thinking` merge pass to resolve conflicts and ordering
199
+ - emit one final executable checklist only after the merge pass
200
+
201
+ Each track must return:
202
+ - concrete plan steps
203
+ - risk notes
204
+ - verification commands
205
+
206
+ Then merge outputs into a single execution checklist before implementation.
207
+
208
+ ## Step 5: Generate Checklist
209
+
210
+ Convert the plan into `.omg/state/_checklist.md` with concrete steps.
211
+ Each step should be completable in ONE tool interaction (not "implement the feature").
212
+
213
+ ## Step 5.5: Business Workflow Contract (MANDATORY)
214
+
215
+ Deep-plan owns the business-style delivery workflow and task-plan contract.
216
+
217
+ Always generate a normalized workflow path and task plan directly from user instructions:
218
+
219
+ - canonical stages: `plan -> implement -> qa -> simulate -> final_test -> production`
220
+ - accepted user path keys: `workflow`, `path`, `delivery_path`, `workflow_path`
221
+ - accepted stage aliases:
222
+ - `planning -> plan`
223
+ - `implementation|build -> implement`
224
+ - `quality|quality_assurance -> qa`
225
+ - `testing|test -> final_test`
226
+ - `prod|deploy -> production`
227
+
228
+ Rules:
229
+ 1. If user provides a partial path, keep user order and append missing canonical stages.
230
+ 2. If user provides no path, use the full canonical path.
231
+ 3. Build tasks from:
232
+ - `user_instructions[]` (source of truth for requested workflow)
233
+ - `constraints[]` (delivery boundaries)
234
+ - `acceptance[]` (final test criteria)
235
+ 4. Include stage readiness for production handoff:
236
+ - `production=ready` only when QA/simulation/final_test gates pass.
237
+
238
+ Persist this contract into planning artifacts:
239
+ - `.omg/plans/deep-plan.md` (human-readable plan)
240
+ - `.omg/plans/deep-plan.json` (machine-readable plan)
241
+ - include structured task metadata in the plan output (`stage`, `title`, `detail`, `source`).
242
+
243
+ ## Integration with DDD
244
+
245
+ If this is a new domain:
246
+ 1. Ask the user to write (or help write) the first domain reference
247
+ 2. Extract the pattern: naming convention, data flow, error handling style
248
+ 3. Document the pattern in .omg/knowledge/domain-patterns/[name].md
249
+ 4. Use the pattern for ALL subsequent domains
250
+
251
+ ## Idea-as-Code Contract (required)
252
+
253
+ Before leaving planning, ensure `.omg/idea.yml` exists with:
254
+ - `goal`
255
+ - `constraints[]`
256
+ - `acceptance[]`
257
+ - `risk.security[]|risk.performance[]|risk.compatibility[]`
258
+ - `evidence_required.tests[]|security_scans[]|reproducibility[]`
259
+
260
+ If missing, scaffold from template and fill from the conversation.
261
+
262
+ ## Anti-patterns
263
+ - Don't plan in your head and dump a wall of text — INTERACT with the user
264
+ - Don't make architecture decisions without checking existing patterns
265
+ - Don't create a plan with vague steps like "implement feature" — be specific
266
+ - Don't skip the Direction step — it's the difference between useful and useless