@trac3er/oh-my-god 2.0.7 → 2.0.9

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 (400) 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/.gemini/settings.json +11 -0
  5. package/.kimi/mcp.json +11 -0
  6. package/CHANGELOG.md +17 -0
  7. package/OMG-setup.sh +1 -1
  8. package/OMG_COMPAT_CONTRACT.md +14 -1
  9. package/README.md +2 -1
  10. package/artifacts/release/.agents/skills/omg/AGENTS.fragment.md +7 -1
  11. package/artifacts/release/.agents/skills/omg/claim-judge/SKILL.md +11 -0
  12. package/artifacts/release/.agents/skills/omg/claim-judge/openai.yaml +13 -0
  13. package/artifacts/release/.agents/skills/omg/codex-rules.md +4 -0
  14. package/artifacts/release/.agents/skills/omg/plan-council/SKILL.md +11 -0
  15. package/artifacts/release/.agents/skills/omg/plan-council/openai.yaml +12 -0
  16. package/artifacts/release/.agents/skills/omg/proof-gate/SKILL.md +11 -0
  17. package/artifacts/release/.agents/skills/omg/proof-gate/openai.yaml +13 -0
  18. package/artifacts/release/.agents/skills/omg/test-intent-lock/SKILL.md +11 -0
  19. package/artifacts/release/.agents/skills/omg/test-intent-lock/openai.yaml +13 -0
  20. package/artifacts/release/.claude-plugin/marketplace.json +3 -3
  21. package/artifacts/release/.claude-plugin/plugin.json +1 -1
  22. package/artifacts/release/.mcp.json +0 -22
  23. package/artifacts/release/OMG_COMPAT_CONTRACT.md +8 -1
  24. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/AGENTS.fragment.md +7 -1
  25. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/claim-judge/SKILL.md +11 -0
  26. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/claim-judge/openai.yaml +13 -0
  27. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/codex-rules.md +4 -0
  28. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/plan-council/SKILL.md +11 -0
  29. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/plan-council/openai.yaml +12 -0
  30. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/proof-gate/SKILL.md +11 -0
  31. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/proof-gate/openai.yaml +13 -0
  32. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/test-intent-lock/SKILL.md +11 -0
  33. package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/test-intent-lock/openai.yaml +13 -0
  34. package/artifacts/release/dist/enterprise/bundle/.claude-plugin/marketplace.json +36 -0
  35. package/artifacts/release/dist/enterprise/bundle/.claude-plugin/plugin.json +23 -0
  36. package/artifacts/release/dist/enterprise/bundle/.mcp.json +18 -0
  37. package/artifacts/release/dist/enterprise/bundle/OMG_COMPAT_CONTRACT.md +8 -1
  38. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:code-review.md +114 -0
  39. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:deep-plan.md +266 -0
  40. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:handoff.md +115 -0
  41. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:learn.md +110 -0
  42. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:maintainer.md +31 -0
  43. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:ralph-start.md +43 -0
  44. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:ralph-stop.md +23 -0
  45. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:security-review.md +16 -0
  46. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:sequential-thinking.md +20 -0
  47. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:ship.md +46 -0
  48. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/plugin.json +87 -0
  49. package/artifacts/release/dist/enterprise/bundle/registry/bundles/algorithms.yaml +1 -1
  50. package/artifacts/release/dist/enterprise/bundle/registry/bundles/api-twin.yaml +1 -1
  51. package/artifacts/release/dist/enterprise/bundle/registry/bundles/claim-judge.yaml +49 -0
  52. package/artifacts/release/dist/enterprise/bundle/registry/bundles/control-plane.yaml +1 -1
  53. package/artifacts/release/dist/enterprise/bundle/registry/bundles/data-lineage.yaml +1 -1
  54. package/artifacts/release/dist/enterprise/bundle/registry/bundles/delta-classifier.yaml +1 -1
  55. package/artifacts/release/dist/enterprise/bundle/registry/bundles/eval-gate.yaml +1 -1
  56. package/artifacts/release/dist/enterprise/bundle/registry/bundles/health.yaml +1 -1
  57. package/artifacts/release/dist/enterprise/bundle/registry/bundles/hook-governor.yaml +1 -1
  58. package/artifacts/release/dist/enterprise/bundle/registry/bundles/incident-replay.yaml +1 -1
  59. package/artifacts/release/dist/enterprise/bundle/registry/bundles/lsp-pack.yaml +1 -1
  60. package/artifacts/release/dist/enterprise/bundle/registry/bundles/mcp-fabric.yaml +1 -1
  61. package/artifacts/release/dist/enterprise/bundle/registry/bundles/plan-council.yaml +51 -0
  62. package/artifacts/release/dist/enterprise/bundle/registry/bundles/preflight.yaml +1 -1
  63. package/artifacts/release/dist/enterprise/bundle/registry/bundles/proof-gate.yaml +49 -0
  64. package/artifacts/release/dist/enterprise/bundle/registry/bundles/remote-supervisor.yaml +1 -1
  65. package/artifacts/release/dist/enterprise/bundle/registry/bundles/robotics.yaml +1 -1
  66. package/artifacts/release/dist/enterprise/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  67. package/artifacts/release/dist/enterprise/bundle/registry/bundles/security-check.yaml +1 -1
  68. package/artifacts/release/dist/enterprise/bundle/registry/bundles/test-intent-lock.yaml +49 -0
  69. package/artifacts/release/dist/enterprise/bundle/registry/bundles/tracebank.yaml +1 -1
  70. package/artifacts/release/dist/enterprise/bundle/registry/bundles/vision.yaml +1 -1
  71. package/artifacts/release/dist/enterprise/bundle/registry/omg-capability.schema.json +1 -1
  72. package/artifacts/release/dist/enterprise/bundle/settings.json +598 -0
  73. package/artifacts/release/dist/enterprise/manifest.json +131 -23
  74. package/artifacts/release/dist/public/bundle/.agents/skills/omg/AGENTS.fragment.md +55 -4
  75. package/artifacts/release/dist/public/bundle/.agents/skills/omg/claim-judge/SKILL.md +11 -0
  76. package/artifacts/release/dist/public/bundle/.agents/skills/omg/claim-judge/openai.yaml +13 -0
  77. package/artifacts/release/dist/public/bundle/.agents/skills/omg/codex-rules.md +33 -0
  78. package/artifacts/release/dist/public/bundle/.agents/skills/omg/plan-council/SKILL.md +11 -0
  79. package/artifacts/release/dist/public/bundle/.agents/skills/omg/plan-council/openai.yaml +12 -0
  80. package/artifacts/release/dist/public/bundle/.agents/skills/omg/proof-gate/SKILL.md +11 -0
  81. package/artifacts/release/dist/public/bundle/.agents/skills/omg/proof-gate/openai.yaml +13 -0
  82. package/artifacts/release/dist/public/bundle/.agents/skills/omg/test-intent-lock/SKILL.md +11 -0
  83. package/artifacts/release/dist/public/bundle/.agents/skills/omg/test-intent-lock/openai.yaml +13 -0
  84. package/artifacts/release/dist/public/bundle/.claude-plugin/marketplace.json +3 -3
  85. package/artifacts/release/dist/public/bundle/.claude-plugin/plugin.json +1 -1
  86. package/artifacts/release/dist/public/bundle/.mcp.json +0 -22
  87. package/artifacts/release/dist/public/bundle/OMG_COMPAT_CONTRACT.md +8 -1
  88. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:code-review.md +114 -0
  89. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:deep-plan.md +266 -0
  90. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:handoff.md +115 -0
  91. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:learn.md +110 -0
  92. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:maintainer.md +31 -0
  93. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:ralph-start.md +43 -0
  94. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:ralph-stop.md +23 -0
  95. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:security-review.md +16 -0
  96. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:sequential-thinking.md +20 -0
  97. package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:ship.md +46 -0
  98. package/artifacts/release/dist/public/bundle/plugins/advanced/plugin.json +87 -0
  99. package/artifacts/release/dist/public/bundle/registry/bundles/algorithms.yaml +1 -1
  100. package/artifacts/release/dist/public/bundle/registry/bundles/api-twin.yaml +1 -1
  101. package/artifacts/release/dist/public/bundle/registry/bundles/claim-judge.yaml +49 -0
  102. package/artifacts/release/dist/public/bundle/registry/bundles/control-plane.yaml +1 -1
  103. package/artifacts/release/dist/public/bundle/registry/bundles/data-lineage.yaml +1 -1
  104. package/artifacts/release/dist/public/bundle/registry/bundles/delta-classifier.yaml +1 -1
  105. package/artifacts/release/dist/public/bundle/registry/bundles/eval-gate.yaml +1 -1
  106. package/artifacts/release/dist/public/bundle/registry/bundles/health.yaml +1 -1
  107. package/artifacts/release/dist/public/bundle/registry/bundles/hook-governor.yaml +1 -1
  108. package/artifacts/release/dist/public/bundle/registry/bundles/incident-replay.yaml +1 -1
  109. package/artifacts/release/dist/public/bundle/registry/bundles/lsp-pack.yaml +1 -1
  110. package/artifacts/release/dist/public/bundle/registry/bundles/mcp-fabric.yaml +1 -1
  111. package/artifacts/release/dist/public/bundle/registry/bundles/plan-council.yaml +51 -0
  112. package/artifacts/release/dist/public/bundle/registry/bundles/preflight.yaml +1 -1
  113. package/artifacts/release/dist/public/bundle/registry/bundles/proof-gate.yaml +49 -0
  114. package/artifacts/release/dist/public/bundle/registry/bundles/remote-supervisor.yaml +1 -1
  115. package/artifacts/release/dist/public/bundle/registry/bundles/robotics.yaml +1 -1
  116. package/artifacts/release/dist/public/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  117. package/artifacts/release/dist/public/bundle/registry/bundles/security-check.yaml +1 -1
  118. package/artifacts/release/dist/public/bundle/registry/bundles/test-intent-lock.yaml +49 -0
  119. package/artifacts/release/dist/public/bundle/registry/bundles/tracebank.yaml +1 -1
  120. package/artifacts/release/dist/public/bundle/registry/bundles/vision.yaml +1 -1
  121. package/artifacts/release/dist/public/bundle/registry/omg-capability.schema.json +1 -1
  122. package/artifacts/release/dist/public/bundle/settings.json +76 -4
  123. package/artifacts/release/dist/public/manifest.json +122 -26
  124. package/artifacts/release/plugins/advanced/commands/OMG:code-review.md +114 -0
  125. package/artifacts/release/plugins/advanced/commands/OMG:deep-plan.md +266 -0
  126. package/artifacts/release/plugins/advanced/commands/OMG:handoff.md +115 -0
  127. package/artifacts/release/plugins/advanced/commands/OMG:learn.md +110 -0
  128. package/artifacts/release/plugins/advanced/commands/OMG:maintainer.md +31 -0
  129. package/artifacts/release/plugins/advanced/commands/OMG:ralph-start.md +43 -0
  130. package/artifacts/release/plugins/advanced/commands/OMG:ralph-stop.md +23 -0
  131. package/artifacts/release/plugins/advanced/commands/OMG:security-review.md +16 -0
  132. package/artifacts/release/plugins/advanced/commands/OMG:sequential-thinking.md +20 -0
  133. package/artifacts/release/plugins/advanced/commands/OMG:ship.md +46 -0
  134. package/artifacts/release/plugins/advanced/plugin.json +87 -0
  135. package/artifacts/release/registry/bundles/algorithms.yaml +1 -1
  136. package/artifacts/release/registry/bundles/api-twin.yaml +1 -1
  137. package/artifacts/release/registry/bundles/claim-judge.yaml +49 -0
  138. package/artifacts/release/registry/bundles/control-plane.yaml +1 -1
  139. package/artifacts/release/registry/bundles/data-lineage.yaml +1 -1
  140. package/artifacts/release/registry/bundles/delta-classifier.yaml +1 -1
  141. package/artifacts/release/registry/bundles/eval-gate.yaml +1 -1
  142. package/artifacts/release/registry/bundles/health.yaml +1 -1
  143. package/artifacts/release/registry/bundles/hook-governor.yaml +1 -1
  144. package/artifacts/release/registry/bundles/incident-replay.yaml +1 -1
  145. package/artifacts/release/registry/bundles/lsp-pack.yaml +1 -1
  146. package/artifacts/release/registry/bundles/mcp-fabric.yaml +1 -1
  147. package/artifacts/release/registry/bundles/plan-council.yaml +51 -0
  148. package/artifacts/release/registry/bundles/preflight.yaml +1 -1
  149. package/artifacts/release/registry/bundles/proof-gate.yaml +49 -0
  150. package/artifacts/release/registry/bundles/remote-supervisor.yaml +1 -1
  151. package/artifacts/release/registry/bundles/robotics.yaml +1 -1
  152. package/artifacts/release/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  153. package/artifacts/release/registry/bundles/security-check.yaml +1 -1
  154. package/artifacts/release/registry/bundles/test-intent-lock.yaml +49 -0
  155. package/artifacts/release/registry/bundles/tracebank.yaml +1 -1
  156. package/artifacts/release/registry/bundles/vision.yaml +1 -1
  157. package/artifacts/release/registry/omg-capability.schema.json +1 -1
  158. package/artifacts/release/settings.json +7 -3
  159. package/build/lib/commands/OMG:forge.md +92 -0
  160. package/build/lib/commands/OMG:mode.md +13 -13
  161. package/build/lib/commands/OMG:session-branch.md +17 -1
  162. package/build/lib/commands/OMG:session-fork.md +5 -1
  163. package/build/lib/commands/OMG:session-merge.md +5 -1
  164. package/build/lib/control_plane/openapi.yaml +1 -1
  165. package/build/lib/control_plane/server.py +4 -0
  166. package/build/lib/control_plane/service.py +55 -0
  167. package/build/lib/hooks/setup_wizard.py +21 -1
  168. package/build/lib/hooks/shadow_manager.py +25 -2
  169. package/build/lib/hooks/state_migration.py +3 -0
  170. package/build/lib/plugins/README.md +1 -1
  171. package/build/lib/plugins/advanced/commands/OMG:deep-plan.md +2 -1
  172. package/build/lib/plugins/advanced/plugin.json +1 -1
  173. package/build/lib/plugins/core/plugin.json +1 -1
  174. package/build/lib/plugins/dephealth/cve_scanner.py +91 -0
  175. package/build/lib/plugins/dephealth/vuln_analyzer.py +7 -0
  176. package/build/lib/registry/bundles/algorithms.yaml +1 -1
  177. package/build/lib/registry/bundles/api-twin.yaml +1 -1
  178. package/build/lib/registry/bundles/claim-judge.yaml +1 -1
  179. package/build/lib/registry/bundles/control-plane.yaml +1 -1
  180. package/build/lib/registry/bundles/data-lineage.yaml +1 -1
  181. package/build/lib/registry/bundles/delta-classifier.yaml +1 -1
  182. package/build/lib/registry/bundles/eval-gate.yaml +1 -1
  183. package/build/lib/registry/bundles/health.yaml +1 -1
  184. package/build/lib/registry/bundles/hook-governor.yaml +1 -1
  185. package/build/lib/registry/bundles/incident-replay.yaml +1 -1
  186. package/build/lib/registry/bundles/lsp-pack.yaml +1 -1
  187. package/build/lib/registry/bundles/mcp-fabric.yaml +1 -1
  188. package/build/lib/registry/bundles/plan-council.yaml +2 -2
  189. package/build/lib/registry/bundles/preflight.yaml +1 -1
  190. package/build/lib/registry/bundles/proof-gate.yaml +1 -1
  191. package/build/lib/registry/bundles/remote-supervisor.yaml +1 -1
  192. package/build/lib/registry/bundles/robotics.yaml +1 -1
  193. package/build/lib/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  194. package/build/lib/registry/bundles/security-check.yaml +1 -1
  195. package/build/lib/registry/bundles/test-intent-lock.yaml +1 -1
  196. package/build/lib/registry/bundles/tracebank.yaml +1 -1
  197. package/build/lib/registry/bundles/vision.yaml +1 -1
  198. package/build/lib/registry/omg-capability.schema.json +84 -2
  199. package/build/lib/runtime/adoption.py +13 -5
  200. package/build/lib/runtime/api_twin.py +4 -4
  201. package/build/lib/runtime/artifact_parsers.py +161 -0
  202. package/build/lib/runtime/background_verification.py +48 -0
  203. package/build/lib/runtime/claim_judge.py +184 -7
  204. package/build/lib/runtime/contract_compiler.py +189 -9
  205. package/build/lib/runtime/ecosystem.py +1 -1
  206. package/build/lib/runtime/evidence_query.py +203 -0
  207. package/build/lib/runtime/mcp_memory_server.py +1 -1
  208. package/build/lib/runtime/omg_compat_contract_snapshot.json +2 -2
  209. package/build/lib/runtime/omg_contract_snapshot.json +2 -2
  210. package/build/lib/runtime/omg_mcp_server.py +19 -0
  211. package/build/lib/runtime/playwright_adapter.py +39 -0
  212. package/build/lib/runtime/proof_chain.py +136 -8
  213. package/build/lib/runtime/proof_gate.py +102 -0
  214. package/build/lib/runtime/providers/gemini_provider.py +7 -0
  215. package/build/lib/runtime/providers/kimi_provider.py +7 -0
  216. package/build/lib/runtime/repro_pack.py +292 -0
  217. package/build/lib/runtime/runtime_profile.py +87 -15
  218. package/build/lib/runtime/security_check.py +86 -3
  219. package/build/lib/runtime/test_intent_lock.py +47 -0
  220. package/build/lib/runtime/tracebank.py +33 -3
  221. package/build/lib/runtime/verification_loop.py +73 -0
  222. package/commands/OMG:forge.md +92 -0
  223. package/commands/OMG:mode.md +13 -13
  224. package/commands/OMG:session-branch.md +17 -1
  225. package/commands/OMG:session-fork.md +5 -1
  226. package/commands/OMG:session-merge.md +5 -1
  227. package/control_plane/openapi.yaml +1 -1
  228. package/control_plane/server.py +4 -0
  229. package/control_plane/service.py +55 -0
  230. package/dist/enterprise/bundle/.agents/skills/omg/AGENTS.fragment.md +7 -1
  231. package/dist/enterprise/bundle/.agents/skills/omg/claim-judge/SKILL.md +11 -0
  232. package/dist/enterprise/bundle/.agents/skills/omg/claim-judge/openai.yaml +13 -0
  233. package/dist/enterprise/bundle/.agents/skills/omg/codex-rules.md +4 -0
  234. package/dist/enterprise/bundle/.agents/skills/omg/plan-council/SKILL.md +11 -0
  235. package/dist/enterprise/bundle/.agents/skills/omg/plan-council/openai.yaml +12 -0
  236. package/dist/enterprise/bundle/.agents/skills/omg/proof-gate/SKILL.md +11 -0
  237. package/dist/enterprise/bundle/.agents/skills/omg/proof-gate/openai.yaml +13 -0
  238. package/dist/enterprise/bundle/.agents/skills/omg/test-intent-lock/SKILL.md +11 -0
  239. package/dist/enterprise/bundle/.agents/skills/omg/test-intent-lock/openai.yaml +13 -0
  240. package/dist/enterprise/bundle/.claude-plugin/marketplace.json +3 -3
  241. package/dist/enterprise/bundle/.claude-plugin/plugin.json +1 -1
  242. package/dist/enterprise/bundle/.gemini/settings.json +11 -0
  243. package/dist/enterprise/bundle/.kimi/mcp.json +11 -0
  244. package/dist/enterprise/bundle/.mcp.json +0 -22
  245. package/dist/enterprise/bundle/OMG_COMPAT_CONTRACT.md +14 -1
  246. package/dist/enterprise/bundle/plugins/advanced/commands/OMG:deep-plan.md +51 -6
  247. package/dist/enterprise/bundle/plugins/advanced/commands/OMG:ship.md +1 -1
  248. package/dist/enterprise/bundle/plugins/advanced/plugin.json +1 -1
  249. package/dist/enterprise/bundle/registry/bundles/algorithms.yaml +1 -1
  250. package/dist/enterprise/bundle/registry/bundles/api-twin.yaml +1 -1
  251. package/dist/enterprise/bundle/registry/bundles/claim-judge.yaml +49 -0
  252. package/dist/enterprise/bundle/registry/bundles/control-plane.yaml +1 -1
  253. package/dist/enterprise/bundle/registry/bundles/data-lineage.yaml +1 -1
  254. package/dist/enterprise/bundle/registry/bundles/delta-classifier.yaml +1 -1
  255. package/dist/enterprise/bundle/registry/bundles/eval-gate.yaml +1 -1
  256. package/dist/enterprise/bundle/registry/bundles/health.yaml +1 -1
  257. package/dist/enterprise/bundle/registry/bundles/hook-governor.yaml +1 -1
  258. package/dist/enterprise/bundle/registry/bundles/incident-replay.yaml +1 -1
  259. package/dist/enterprise/bundle/registry/bundles/lsp-pack.yaml +1 -1
  260. package/dist/enterprise/bundle/registry/bundles/mcp-fabric.yaml +1 -1
  261. package/dist/enterprise/bundle/registry/bundles/plan-council.yaml +51 -0
  262. package/dist/enterprise/bundle/registry/bundles/preflight.yaml +1 -1
  263. package/dist/enterprise/bundle/registry/bundles/proof-gate.yaml +49 -0
  264. package/dist/enterprise/bundle/registry/bundles/remote-supervisor.yaml +1 -1
  265. package/dist/enterprise/bundle/registry/bundles/robotics.yaml +1 -1
  266. package/dist/enterprise/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  267. package/dist/enterprise/bundle/registry/bundles/security-check.yaml +1 -1
  268. package/dist/enterprise/bundle/registry/bundles/test-intent-lock.yaml +49 -0
  269. package/dist/enterprise/bundle/registry/bundles/tracebank.yaml +1 -1
  270. package/dist/enterprise/bundle/registry/bundles/vision.yaml +1 -1
  271. package/dist/enterprise/bundle/registry/omg-capability.schema.json +84 -2
  272. package/dist/enterprise/bundle/settings.json +8 -3
  273. package/dist/enterprise/manifest.json +92 -30
  274. package/dist/public/bundle/.agents/skills/omg/AGENTS.fragment.md +7 -1
  275. package/dist/public/bundle/.agents/skills/omg/claim-judge/SKILL.md +11 -0
  276. package/dist/public/bundle/.agents/skills/omg/claim-judge/openai.yaml +13 -0
  277. package/dist/public/bundle/.agents/skills/omg/codex-rules.md +4 -0
  278. package/dist/public/bundle/.agents/skills/omg/incident-replay/SKILL.md +1 -1
  279. package/dist/public/bundle/.agents/skills/omg/incident-replay/openai.yaml +1 -1
  280. package/dist/public/bundle/.agents/skills/omg/lsp-pack/SKILL.md +1 -1
  281. package/dist/public/bundle/.agents/skills/omg/lsp-pack/openai.yaml +1 -1
  282. package/dist/public/bundle/.agents/skills/omg/mcp-fabric/SKILL.md +1 -1
  283. package/dist/public/bundle/.agents/skills/omg/mcp-fabric/openai.yaml +1 -1
  284. package/dist/public/bundle/.agents/skills/omg/plan-council/SKILL.md +11 -0
  285. package/dist/public/bundle/.agents/skills/omg/plan-council/openai.yaml +12 -0
  286. package/dist/public/bundle/.agents/skills/omg/preflight/SKILL.md +1 -1
  287. package/dist/public/bundle/.agents/skills/omg/preflight/openai.yaml +1 -1
  288. package/dist/public/bundle/.agents/skills/omg/proof-gate/SKILL.md +11 -0
  289. package/dist/public/bundle/.agents/skills/omg/proof-gate/openai.yaml +13 -0
  290. package/dist/public/bundle/.agents/skills/omg/remote-supervisor/SKILL.md +1 -1
  291. package/dist/public/bundle/.agents/skills/omg/remote-supervisor/openai.yaml +1 -1
  292. package/dist/public/bundle/.agents/skills/omg/robotics/SKILL.md +1 -1
  293. package/dist/public/bundle/.agents/skills/omg/robotics/openai.yaml +1 -1
  294. package/dist/public/bundle/.agents/skills/omg/secure-worktree-pipeline/SKILL.md +1 -1
  295. package/dist/public/bundle/.agents/skills/omg/secure-worktree-pipeline/openai.yaml +1 -1
  296. package/dist/public/bundle/.agents/skills/omg/security-check/SKILL.md +1 -1
  297. package/dist/public/bundle/.agents/skills/omg/security-check/openai.yaml +1 -1
  298. package/dist/public/bundle/.agents/skills/omg/test-intent-lock/SKILL.md +11 -0
  299. package/dist/public/bundle/.agents/skills/omg/test-intent-lock/openai.yaml +13 -0
  300. package/dist/public/bundle/.agents/skills/omg/tracebank/SKILL.md +1 -1
  301. package/dist/public/bundle/.agents/skills/omg/tracebank/openai.yaml +1 -1
  302. package/dist/public/bundle/.agents/skills/omg/vision/SKILL.md +1 -1
  303. package/dist/public/bundle/.agents/skills/omg/vision/openai.yaml +1 -1
  304. package/dist/public/bundle/.claude-plugin/marketplace.json +3 -3
  305. package/dist/public/bundle/.claude-plugin/plugin.json +1 -1
  306. package/dist/public/bundle/.gemini/settings.json +11 -0
  307. package/dist/public/bundle/.kimi/mcp.json +11 -0
  308. package/dist/public/bundle/.mcp.json +0 -22
  309. package/dist/public/bundle/OMG_COMPAT_CONTRACT.md +14 -1
  310. package/dist/public/bundle/plugins/advanced/commands/OMG:deep-plan.md +51 -6
  311. package/dist/public/bundle/plugins/advanced/commands/OMG:ship.md +1 -1
  312. package/dist/public/bundle/plugins/advanced/plugin.json +1 -1
  313. package/dist/public/bundle/registry/bundles/algorithms.yaml +1 -1
  314. package/dist/public/bundle/registry/bundles/api-twin.yaml +1 -1
  315. package/dist/public/bundle/registry/bundles/claim-judge.yaml +49 -0
  316. package/dist/public/bundle/registry/bundles/control-plane.yaml +1 -1
  317. package/dist/public/bundle/registry/bundles/data-lineage.yaml +1 -1
  318. package/dist/public/bundle/registry/bundles/delta-classifier.yaml +1 -1
  319. package/dist/public/bundle/registry/bundles/eval-gate.yaml +1 -1
  320. package/dist/public/bundle/registry/bundles/health.yaml +1 -1
  321. package/dist/public/bundle/registry/bundles/hook-governor.yaml +1 -1
  322. package/dist/public/bundle/registry/bundles/incident-replay.yaml +1 -1
  323. package/dist/public/bundle/registry/bundles/lsp-pack.yaml +1 -1
  324. package/dist/public/bundle/registry/bundles/mcp-fabric.yaml +1 -1
  325. package/dist/public/bundle/registry/bundles/plan-council.yaml +51 -0
  326. package/dist/public/bundle/registry/bundles/preflight.yaml +1 -1
  327. package/dist/public/bundle/registry/bundles/proof-gate.yaml +49 -0
  328. package/dist/public/bundle/registry/bundles/remote-supervisor.yaml +1 -1
  329. package/dist/public/bundle/registry/bundles/robotics.yaml +1 -1
  330. package/dist/public/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  331. package/dist/public/bundle/registry/bundles/security-check.yaml +1 -1
  332. package/dist/public/bundle/registry/bundles/test-intent-lock.yaml +49 -0
  333. package/dist/public/bundle/registry/bundles/tracebank.yaml +1 -1
  334. package/dist/public/bundle/registry/bundles/vision.yaml +1 -1
  335. package/dist/public/bundle/registry/omg-capability.schema.json +84 -2
  336. package/dist/public/bundle/settings.json +9 -4
  337. package/dist/public/manifest.json +112 -50
  338. package/docs/proof.md +7 -6
  339. package/hooks/setup_wizard.py +21 -1
  340. package/hooks/shadow_manager.py +25 -2
  341. package/hooks/state_migration.py +3 -0
  342. package/hud/omg-hud.mjs +66 -3
  343. package/package.json +1 -1
  344. package/plugins/README.md +1 -1
  345. package/plugins/advanced/commands/OMG:deep-plan.md +2 -1
  346. package/plugins/advanced/plugin.json +1 -1
  347. package/plugins/core/plugin.json +1 -1
  348. package/plugins/dephealth/cve_scanner.py +91 -0
  349. package/plugins/dephealth/vuln_analyzer.py +7 -0
  350. package/pyproject.toml +5 -1
  351. package/registry/bundles/algorithms.yaml +1 -1
  352. package/registry/bundles/api-twin.yaml +1 -1
  353. package/registry/bundles/claim-judge.yaml +1 -1
  354. package/registry/bundles/control-plane.yaml +1 -1
  355. package/registry/bundles/data-lineage.yaml +1 -1
  356. package/registry/bundles/delta-classifier.yaml +1 -1
  357. package/registry/bundles/eval-gate.yaml +1 -1
  358. package/registry/bundles/health.yaml +1 -1
  359. package/registry/bundles/hook-governor.yaml +1 -1
  360. package/registry/bundles/incident-replay.yaml +1 -1
  361. package/registry/bundles/lsp-pack.yaml +1 -1
  362. package/registry/bundles/mcp-fabric.yaml +1 -1
  363. package/registry/bundles/plan-council.yaml +2 -2
  364. package/registry/bundles/preflight.yaml +1 -1
  365. package/registry/bundles/proof-gate.yaml +1 -1
  366. package/registry/bundles/remote-supervisor.yaml +1 -1
  367. package/registry/bundles/robotics.yaml +1 -1
  368. package/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  369. package/registry/bundles/security-check.yaml +1 -1
  370. package/registry/bundles/test-intent-lock.yaml +1 -1
  371. package/registry/bundles/tracebank.yaml +1 -1
  372. package/registry/bundles/vision.yaml +1 -1
  373. package/registry/omg-capability.schema.json +84 -2
  374. package/runtime/adoption.py +13 -5
  375. package/runtime/api_twin.py +4 -4
  376. package/runtime/artifact_parsers.py +161 -0
  377. package/runtime/background_verification.py +48 -0
  378. package/runtime/claim_judge.py +184 -7
  379. package/runtime/contract_compiler.py +189 -9
  380. package/runtime/ecosystem.py +1 -1
  381. package/runtime/evidence_query.py +203 -0
  382. package/runtime/mcp_memory_server.py +1 -1
  383. package/runtime/omg_compat_contract_snapshot.json +2 -2
  384. package/runtime/omg_contract_snapshot.json +2 -2
  385. package/runtime/omg_mcp_server.py +19 -0
  386. package/runtime/playwright_adapter.py +39 -0
  387. package/runtime/proof_chain.py +136 -8
  388. package/runtime/proof_gate.py +102 -0
  389. package/runtime/providers/gemini_provider.py +7 -0
  390. package/runtime/providers/kimi_provider.py +7 -0
  391. package/runtime/repro_pack.py +292 -0
  392. package/runtime/runtime_profile.py +87 -15
  393. package/runtime/security_check.py +86 -3
  394. package/runtime/test_intent_lock.py +47 -0
  395. package/runtime/tracebank.py +33 -3
  396. package/runtime/verification_loop.py +73 -0
  397. package/scripts/omg.py +31 -4
  398. package/settings.json +8 -3
  399. package/tools/python_sandbox.py +9 -6
  400. package/tools/session_snapshot.py +146 -40
@@ -6,6 +6,7 @@ Maintains overlay-style shadow writes and evidence artifacts.
6
6
  from __future__ import annotations
7
7
 
8
8
  import hashlib
9
+ import importlib
9
10
  import json
10
11
  import os
11
12
  import platform
@@ -18,8 +19,15 @@ from typing import Any
18
19
  HOOKS_DIR = os.path.dirname(__file__)
19
20
  if HOOKS_DIR not in sys.path:
20
21
  sys.path.insert(0, HOOKS_DIR)
21
- from _common import _resolve_project_dir
22
- from security_validators import ensure_path_within_dir, validate_opaque_identifier
22
+ try:
23
+ from hooks._common import _resolve_project_dir
24
+ from hooks.security_validators import ensure_path_within_dir, validate_opaque_identifier
25
+ except ImportError:
26
+ _common = importlib.import_module("_common")
27
+ security_validators = importlib.import_module("security_validators")
28
+ _resolve_project_dir = _common._resolve_project_dir
29
+ ensure_path_within_dir = security_validators.ensure_path_within_dir
30
+ validate_opaque_identifier = security_validators.validate_opaque_identifier
23
31
 
24
32
 
25
33
  def _project_dir() -> str:
@@ -189,6 +197,11 @@ def create_evidence_pack(
189
197
  lineage: dict[str, Any] | None = None,
190
198
  executor: dict[str, Any] | None = None,
191
199
  environment: dict[str, Any] | None = None,
200
+ artifacts: list[dict[str, Any]] | None = None,
201
+ claims: list[dict[str, Any]] | None = None,
202
+ test_delta: dict[str, Any] | None = None,
203
+ browser_evidence_path: str | None = None,
204
+ repro_pack_path: str | None = None,
192
205
  ) -> str:
193
206
  ensure_shadow_dirs(project_dir)
194
207
  run_id = _validated_run_id(run_id)
@@ -209,6 +222,7 @@ def create_evidence_pack(
209
222
 
210
223
  evidence = {
211
224
  "schema": "EvidencePack",
225
+ "schema_version": 2,
212
226
  "run_id": run_id,
213
227
  "created_at": _utc_now(),
214
228
  "tests": tests or [],
@@ -224,7 +238,16 @@ def create_evidence_pack(
224
238
  "lineage": lineage or {},
225
239
  "executor": executor,
226
240
  "environment": environment,
241
+ "artifacts": artifacts or [],
227
242
  }
243
+ if claims is not None:
244
+ evidence["claims"] = claims
245
+ if test_delta is not None:
246
+ evidence["test_delta"] = test_delta
247
+ if browser_evidence_path is not None:
248
+ evidence["browser_evidence_path"] = browser_evidence_path
249
+ if repro_pack_path is not None:
250
+ evidence["repro_pack_path"] = repro_pack_path
228
251
  evidence_path = ensure_path_within_dir(
229
252
  _evidence_root(project_dir),
230
253
  os.path.join(_evidence_root(project_dir), f"{run_id}.json"),
@@ -115,6 +115,9 @@ MIGRATION_MAP: list[tuple[str, str, str]] = [
115
115
  ("dir", "repl_sessions", "state/repl_sessions"),
116
116
  ("dir", "sessions", "state/sessions"),
117
117
  ("dir", "snapshots", "state/snapshots"),
118
+ ("file", "current_branch.json", "state/current_branch.json"),
119
+ ("file", "background-verification.json", "state/background-verification.json"),
120
+ ("dir", "branches", "state/branches"),
118
121
  ("dir", "knowledge", "knowledge"),
119
122
  ]
120
123
 
@@ -28,7 +28,7 @@ OMG exposes a small native front door and keeps the rest of the surface availabl
28
28
 
29
29
  | Command | Category | Description |
30
30
  |---------|----------|-------------|
31
- | `/OMG:deep-plan` | Planning | Strategic planning with domain awareness (routes to `plan-council`) |
31
+ | `/OMG:deep-plan` | Planning | Strategic planning with domain awareness (compatibility path to `plan-council`) |
32
32
  | `/OMG:learn` | Knowledge | Convert patterns into OMG-native instincts and skills |
33
33
  | `/OMG:code-review` | Quality | Deep review flow |
34
34
  | `/OMG:ship` | Delivery | Idea to evidence to release |
@@ -10,7 +10,8 @@ argument-hint: "[feature or goal to plan]"
10
10
  Regular planning = "what steps to take."
11
11
  Deep planning = "understand WHY the user wants this, WHAT direction they're heading, and HOW it fits the bigger picture."
12
12
 
13
- This command is the compatibility front door to the canonical `plan-council` bundle.
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.
14
15
 
15
16
  ## Step 1: Direction Discovery (MANDATORY)
16
17
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omg-advanced",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "description": "Advanced OMG commands - deep planning, learning, code review, and specialized workflows",
5
5
  "type": "omg-plugin",
6
6
  "commands": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omg-core",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "description": "Core OMG commands - native setup, routing, orchestration, and verification surfaces",
5
5
  "type": "omg-plugin",
6
6
  "commands": {
@@ -10,7 +10,11 @@ import urllib.request
10
10
 
11
11
 
12
12
  OSV_BATCH_URL = "https://api.osv.dev/v1/querybatch"
13
+ KEV_URL = "https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json"
14
+ EPSS_URL_TEMPLATE = "https://api.first.org/data/v1/epss?cve={cve_id}"
13
15
  CACHE_REL_PATH = Path(".omg") / "state" / "cve-cache.json"
16
+ KEV_CACHE_REL_PATH = Path(".omg") / "state" / "kev-cache.json"
17
+ EPSS_CACHE_REL_PATH = Path(".omg") / "state" / "epss-cache.json"
14
18
  CACHE_TTL_HOURS = 24
15
19
 
16
20
 
@@ -72,6 +76,93 @@ def scan_for_cves(dependency_list: list[dict[str, str]], project_dir: str = ".")
72
76
  return scan_result
73
77
 
74
78
 
79
+ def enrich_with_kev(finding: dict[str, Any], cache_dir: str) -> dict[str, Any]:
80
+ result = dict(finding)
81
+ if not _dep_health_enabled():
82
+ result["kev_listed"] = False
83
+ return result
84
+
85
+ cve_id = str(finding.get("id", "")).strip()
86
+ if not cve_id:
87
+ result["kev_listed"] = False
88
+ return result
89
+
90
+ cache_path = Path(cache_dir) / KEV_CACHE_REL_PATH
91
+ cached = _load_cache(cache_path)
92
+
93
+ if cached and _is_cache_fresh(cached.get("fetched_at")):
94
+ result["kev_listed"] = cve_id in cached.get("cve_ids", [])
95
+ return result
96
+
97
+ try:
98
+ kev_data = _fetch_kev_catalog()
99
+ kev_ids = [v.get("cveID", "") for v in kev_data.get("vulnerabilities", [])]
100
+ _save_cache(cache_path, {
101
+ "fetched_at": datetime.now(timezone.utc).isoformat(),
102
+ "cve_ids": kev_ids,
103
+ })
104
+ result["kev_listed"] = cve_id in kev_ids
105
+ except (urllib.error.URLError, OSError, json.JSONDecodeError):
106
+ if cached:
107
+ result["kev_listed"] = cve_id in cached.get("cve_ids", [])
108
+ else:
109
+ result["kev_listed"] = False
110
+ return result
111
+
112
+
113
+ def enrich_with_epss(finding: dict[str, Any], cache_dir: str) -> dict[str, Any]:
114
+ result = dict(finding)
115
+ if not _dep_health_enabled():
116
+ result["epss_score"] = None
117
+ return result
118
+
119
+ cve_id = str(finding.get("id", "")).strip()
120
+ if not cve_id:
121
+ result["epss_score"] = None
122
+ return result
123
+
124
+ cache_path = Path(cache_dir) / EPSS_CACHE_REL_PATH
125
+ cached = _load_cache(cache_path) or {}
126
+ entries = cached.get("entries", {})
127
+
128
+ entry = entries.get(cve_id)
129
+ if entry and _is_cache_fresh(entry.get("fetched_at")):
130
+ result["epss_score"] = entry.get("epss")
131
+ return result
132
+
133
+ try:
134
+ epss_data = _fetch_epss_score(cve_id)
135
+ data_list = epss_data.get("data", [])
136
+ score = float(data_list[0].get("epss", 0)) if data_list else None
137
+ entries[cve_id] = {
138
+ "epss": score,
139
+ "fetched_at": datetime.now(timezone.utc).isoformat(),
140
+ }
141
+ _save_cache(cache_path, {"entries": entries})
142
+ result["epss_score"] = score
143
+ except (urllib.error.URLError, OSError, json.JSONDecodeError, ValueError, TypeError):
144
+ if entry:
145
+ result["epss_score"] = entry.get("epss")
146
+ else:
147
+ result["epss_score"] = None
148
+ return result
149
+
150
+
151
+ def _fetch_kev_catalog() -> dict[str, Any]:
152
+ request = urllib.request.Request(KEV_URL, headers={"Accept": "application/json"})
153
+ with urllib.request.urlopen(request, timeout=15) as response:
154
+ body = response.read().decode("utf-8")
155
+ return json.loads(body)
156
+
157
+
158
+ def _fetch_epss_score(cve_id: str) -> dict[str, Any]:
159
+ url = EPSS_URL_TEMPLATE.format(cve_id=cve_id)
160
+ request = urllib.request.Request(url, headers={"Accept": "application/json"})
161
+ with urllib.request.urlopen(request, timeout=15) as response:
162
+ body = response.read().decode("utf-8")
163
+ return json.loads(body)
164
+
165
+
75
166
  def _query_osv_batch(dependency_list: list[dict[str, str]]) -> dict[str, Any]:
76
167
  payload = {
77
168
  "queries": [
@@ -3,6 +3,8 @@ import re
3
3
  from pathlib import Path
4
4
  from typing import Any
5
5
 
6
+ from plugins.dephealth.cve_scanner import enrich_with_kev, enrich_with_epss
7
+
6
8
 
7
9
  _CRITICAL_PATTERN = re.compile(r"\bcritical\b", re.IGNORECASE)
8
10
  _HIGH_PATTERN = re.compile(r"\bhigh\b", re.IGNORECASE)
@@ -33,6 +35,9 @@ def analyze_reachability(cve_result: dict[str, Any], project_dir: str) -> dict[s
33
35
  risk_level = _classify_risk(reachability, summary)
34
36
  recommendation = _build_recommendation(package, fixed_version, reachability)
35
37
 
38
+ kev_enriched = enrich_with_kev({"id": cve_id}, project_dir)
39
+ epss_enriched = enrich_with_epss({"id": cve_id}, project_dir)
40
+
36
41
  return {
37
42
  "package": package,
38
43
  "cve_id": cve_id,
@@ -40,6 +45,8 @@ def analyze_reachability(cve_result: dict[str, Any], project_dir: str) -> dict[s
40
45
  "import_locations": sorted(imported_files),
41
46
  "risk_level": risk_level,
42
47
  "recommendation": recommendation,
48
+ "kev_listed": kev_enriched.get("kev_listed", False),
49
+ "epss_score": epss_enriched.get("epss_score"),
43
50
  }
44
51
 
45
52
 
@@ -1,6 +1,6 @@
1
1
  id: algorithms
2
2
  kind: domain-pack
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Algorithms Pack
5
5
  description: Determinism and benchmark attachments for algorithm-heavy work.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: api-twin
2
2
  kind: simulation
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG API Twin
5
5
  description: Versioned endpoint cassette replay with latency, drift, and cost reporting.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: claim-judge
2
2
  kind: proof
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Claim Judge
5
5
  description: Evidence-backed claim validator for structured release and completion claims.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: control-plane
2
2
  kind: skill
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Control Plane
5
5
  description: Canonical production control plane bundle for Claude and Codex.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: data-lineage
2
2
  kind: provenance
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Data Lineage
5
5
  description: Provenance and privacy tracking for traces, fixtures, examples, and synthetic artifacts.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: delta-classifier
2
2
  kind: routing
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Delta Classifier
5
5
  description: Change classifier that attaches risk-aware checks, approvals, and packs.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: eval-gate
2
2
  kind: evaluation
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Eval Gate
5
5
  description: Reproducible evaluation gate that blocks regressions before release.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: health
2
2
  kind: domain-pack
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Health Pack
5
5
  description: Health-sensitive approvals, provenance, and replay attachments.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: hook-governor
2
2
  kind: governance
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Hook Governor
5
5
  description: Canonical hook ordering, policy reinjection, and protected-path governance.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: incident-replay
2
2
  kind: debugging
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Incident Replay
5
5
  description: Replayable bug packs built from logs, failing tests, traces, and diffs.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: lsp-pack
2
2
  kind: diagnostics
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG LSP Pack
5
5
  description: Optional LSP-backed diagnostics and navigation bundle for production verification.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: mcp-fabric
2
2
  kind: mcp
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG MCP Fabric
5
5
  description: Tools, prompts, resources, and server instructions for the OMG control plane.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: plan-council
2
2
  kind: planning
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Plan Council
5
5
  description: Canonical council-style planning bundle for explicit, evidence-backed deep plans.
6
6
  hosts:
@@ -8,7 +8,7 @@ hosts:
8
8
  - codex
9
9
  assets:
10
10
  references:
11
- - commands/OMG:deep-plan.md
11
+ - plugins/advanced/commands/OMG:deep-plan.md
12
12
  invocation_policy:
13
13
  user_invocable: true
14
14
  model_invocable: false
@@ -1,6 +1,6 @@
1
1
  id: preflight
2
2
  kind: routing
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Preflight
5
5
  description: Repo-aware route selection based on diff, manifests, and classified risk.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: proof-gate
2
2
  kind: proof
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Proof Gate
5
5
  description: Structured release proof gate that binds claims to required evidence artifacts and trace links.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: remote-supervisor
2
2
  kind: orchestration
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Remote Supervisor
5
5
  description: Local-only authenticated supervisor sessions for worker orchestration.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: robotics
2
2
  kind: domain-pack
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Robotics Pack
5
5
  description: Robotics safety policy, replay, and evaluation attachments.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: secure-worktree-pipeline
2
2
  kind: runtime
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Secure Worktree Pipeline
5
5
  description: Ephemeral worktree execution and supervisor-safe worker dispatch for production jobs.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: security-check
2
2
  kind: security
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Security Check
5
5
  description: Canonical security audit bundle with provenance, trust scoring, and deterministic evidence.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: test-intent-lock
2
2
  kind: proof
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Test Intent Lock
5
5
  description: Structured test-delta guard that blocks weakened tests unless explicit override evidence is present.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: tracebank
2
2
  kind: evidence
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Tracebank
5
5
  description: Structured plan-to-patch-to-verify trace capture for OMG routes.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: vision
2
2
  kind: domain-pack
3
- version: 2.0.7
3
+ version: 2.0.8
4
4
  title: OMG Vision Pack
5
5
  description: Vision-specific lineage, drift, and replay attachments.
6
6
  hosts:
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "https://github.com/trac3er00/OMG/registry/omg-capability.schema.json",
4
4
  "title": "OMG Capability Bundle",
5
- "version": "2.0.7",
5
+ "version": "2.0.8",
6
6
  "type": "object",
7
7
  "required": [
8
8
  "id",
@@ -43,7 +43,9 @@
43
43
  "type": "string",
44
44
  "enum": [
45
45
  "claude",
46
- "codex"
46
+ "codex",
47
+ "gemini",
48
+ "kimi"
47
49
  ]
48
50
  },
49
51
  "minItems": 1
@@ -281,6 +283,86 @@
281
283
  }
282
284
  },
283
285
  "additionalProperties": true
286
+ },
287
+ "gemini": {
288
+ "type": "object",
289
+ "required": [
290
+ "compilation_targets",
291
+ "mcp",
292
+ "skills",
293
+ "automations"
294
+ ],
295
+ "properties": {
296
+ "compilation_targets": {
297
+ "type": "array",
298
+ "minItems": 1,
299
+ "items": {
300
+ "type": "string"
301
+ }
302
+ },
303
+ "mcp": {
304
+ "type": "array",
305
+ "minItems": 1,
306
+ "items": {
307
+ "type": "string"
308
+ }
309
+ },
310
+ "skills": {
311
+ "type": "array",
312
+ "minItems": 1,
313
+ "items": {
314
+ "type": "string"
315
+ }
316
+ },
317
+ "automations": {
318
+ "type": "array",
319
+ "minItems": 1,
320
+ "items": {
321
+ "type": "string"
322
+ }
323
+ }
324
+ },
325
+ "additionalProperties": true
326
+ },
327
+ "kimi": {
328
+ "type": "object",
329
+ "required": [
330
+ "compilation_targets",
331
+ "mcp",
332
+ "skills",
333
+ "automations"
334
+ ],
335
+ "properties": {
336
+ "compilation_targets": {
337
+ "type": "array",
338
+ "minItems": 1,
339
+ "items": {
340
+ "type": "string"
341
+ }
342
+ },
343
+ "mcp": {
344
+ "type": "array",
345
+ "minItems": 1,
346
+ "items": {
347
+ "type": "string"
348
+ }
349
+ },
350
+ "skills": {
351
+ "type": "array",
352
+ "minItems": 1,
353
+ "items": {
354
+ "type": "string"
355
+ }
356
+ },
357
+ "automations": {
358
+ "type": "array",
359
+ "minItems": 1,
360
+ "items": {
361
+ "type": "string"
362
+ }
363
+ }
364
+ },
365
+ "additionalProperties": true
284
366
  }
285
367
  },
286
368
  "additionalProperties": true
@@ -2,8 +2,8 @@
2
2
  from __future__ import annotations
3
3
 
4
4
  import json
5
+ import importlib
5
6
  from pathlib import Path
6
- from typing import Any
7
7
 
8
8
 
9
9
  CANONICAL_BRAND = "OMG"
@@ -11,10 +11,12 @@ CANONICAL_REPO_URL = "https://github.com/trac3er00/OMG"
11
11
  CANONICAL_PACKAGE_NAME = "@trac3er/oh-my-god"
12
12
  CANONICAL_PLUGIN_ID = "omg"
13
13
  CANONICAL_MARKETPLACE_ID = "omg"
14
- CANONICAL_VERSION = "2.0.7"
14
+ CANONICAL_VERSION = "2.0.8"
15
15
 
16
16
  VALID_ADOPTION_MODES = ("omg-only", "coexist")
17
17
  VALID_PRESETS = ("safe", "balanced", "interop", "labs")
18
+ CANONICAL_MODE_NAMES = ("chill", "focused", "exploratory")
19
+ """Cross-surface user-facing mode names reserved for the shared mode system."""
18
20
 
19
21
  MANAGED_PRESET_FLAGS = (
20
22
  "SETUP",
@@ -91,6 +93,12 @@ def get_preset_features(preset: str | None) -> dict[str, bool]:
91
93
  return dict(PRESET_FEATURES[resolved])
92
94
 
93
95
 
96
+ def get_mode_profile(mode: str) -> dict[str, object]:
97
+ runtime_profile = importlib.import_module("runtime.runtime_profile")
98
+ loader = getattr(runtime_profile, "load_canonical_mode_profile")
99
+ return loader(mode)
100
+
101
+
94
102
  def _resolve_claude_dir(base_dir: Path) -> Path:
95
103
  nested = base_dir / ".claude"
96
104
  if nested.exists():
@@ -180,7 +188,7 @@ def build_adoption_report(
180
188
  requested_mode: str | None = None,
181
189
  preset: str | None = None,
182
190
  adopt: str = "auto",
183
- ) -> dict[str, Any]:
191
+ ) -> dict[str, object]:
184
192
  detected_ecosystems = detect_ecosystems(project_dir) if adopt == "auto" else []
185
193
  recommended_mode = recommend_mode(detected_ecosystems)
186
194
  selected_mode = requested_mode if requested_mode in VALID_ADOPTION_MODES else recommended_mode
@@ -204,9 +212,9 @@ def build_adoption_report(
204
212
  }
205
213
 
206
214
 
207
- def write_adoption_report(project_dir: str | Path, report: dict[str, Any]) -> str:
215
+ def write_adoption_report(project_dir: str | Path, report: dict[str, object]) -> str:
208
216
  state_dir = Path(project_dir) / ".omg" / "state"
209
217
  state_dir.mkdir(parents=True, exist_ok=True)
210
218
  report_path = state_dir / "adoption-report.json"
211
- report_path.write_text(json.dumps(report, indent=2, ensure_ascii=True) + "\n", encoding="utf-8")
219
+ _ = report_path.write_text(json.dumps(report, indent=2, ensure_ascii=True) + "\n", encoding="utf-8")
212
220
  return str(report_path)
@@ -353,15 +353,15 @@ def _state_path(project_dir: str) -> Path:
353
353
  def _load_state(project_dir: str) -> dict[str, Any]:
354
354
  path = _state_path(project_dir)
355
355
  if not path.exists():
356
- return {"schema": "ApiTwinState", "version": "2.0.7", "contracts": {}, "fixtures": {}}
356
+ return {"schema": "ApiTwinState", "version": "2.0.8", "contracts": {}, "fixtures": {}}
357
357
  try:
358
358
  payload = json.loads(path.read_text(encoding="utf-8"))
359
359
  except (OSError, json.JSONDecodeError):
360
- return {"schema": "ApiTwinState", "version": "2.0.7", "contracts": {}, "fixtures": {}}
360
+ return {"schema": "ApiTwinState", "version": "2.0.8", "contracts": {}, "fixtures": {}}
361
361
  if not isinstance(payload, dict):
362
- return {"schema": "ApiTwinState", "version": "2.0.7", "contracts": {}, "fixtures": {}}
362
+ return {"schema": "ApiTwinState", "version": "2.0.8", "contracts": {}, "fixtures": {}}
363
363
  payload.setdefault("schema", "ApiTwinState")
364
- payload.setdefault("version", "2.0.7")
364
+ payload.setdefault("version", "2.0.8")
365
365
  payload.setdefault("contracts", {})
366
366
  payload.setdefault("fixtures", {})
367
367
  return payload