@trac3er/oh-my-god 2.1.1 → 2.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (351) hide show
  1. package/.agents/skills/omg/AGENTS.fragment.md +2 -2
  2. package/.agents/skills/omg/algorithms/SKILL.md +1 -1
  3. package/.agents/skills/omg/algorithms/openai.yaml +1 -1
  4. package/.agents/skills/omg/api-twin/SKILL.md +1 -1
  5. package/.agents/skills/omg/api-twin/openai.yaml +1 -1
  6. package/.agents/skills/omg/claim-judge/SKILL.md +1 -1
  7. package/.agents/skills/omg/claim-judge/openai.yaml +1 -1
  8. package/.agents/skills/omg/codex-rules.md +1 -1
  9. package/.agents/skills/omg/control-plane/SKILL.md +1 -1
  10. package/.agents/skills/omg/control-plane/openai.yaml +1 -1
  11. package/.agents/skills/omg/data-lineage/SKILL.md +1 -1
  12. package/.agents/skills/omg/data-lineage/openai.yaml +1 -1
  13. package/.agents/skills/omg/delta-classifier/SKILL.md +1 -1
  14. package/.agents/skills/omg/delta-classifier/openai.yaml +1 -1
  15. package/.agents/skills/omg/eval-gate/SKILL.md +1 -1
  16. package/.agents/skills/omg/eval-gate/openai.yaml +1 -1
  17. package/.agents/skills/omg/health/SKILL.md +1 -1
  18. package/.agents/skills/omg/health/openai.yaml +1 -1
  19. package/.agents/skills/omg/hook-governor/SKILL.md +1 -1
  20. package/.agents/skills/omg/hook-governor/openai.yaml +1 -1
  21. package/.agents/skills/omg/incident-replay/SKILL.md +1 -1
  22. package/.agents/skills/omg/incident-replay/openai.yaml +1 -1
  23. package/.agents/skills/omg/lsp-pack/SKILL.md +1 -1
  24. package/.agents/skills/omg/lsp-pack/openai.yaml +1 -1
  25. package/.agents/skills/omg/mcp-fabric/SKILL.md +1 -1
  26. package/.agents/skills/omg/mcp-fabric/openai.yaml +1 -1
  27. package/.agents/skills/omg/plan-council/SKILL.md +1 -1
  28. package/.agents/skills/omg/plan-council/openai.yaml +1 -1
  29. package/.agents/skills/omg/preflight/SKILL.md +1 -1
  30. package/.agents/skills/omg/preflight/openai.yaml +1 -1
  31. package/.agents/skills/omg/proof-gate/SKILL.md +1 -1
  32. package/.agents/skills/omg/proof-gate/openai.yaml +1 -1
  33. package/.agents/skills/omg/remote-supervisor/SKILL.md +1 -1
  34. package/.agents/skills/omg/remote-supervisor/openai.yaml +1 -1
  35. package/.agents/skills/omg/robotics/SKILL.md +1 -1
  36. package/.agents/skills/omg/robotics/openai.yaml +1 -1
  37. package/.agents/skills/omg/secure-worktree-pipeline/SKILL.md +1 -1
  38. package/.agents/skills/omg/secure-worktree-pipeline/openai.yaml +1 -1
  39. package/.agents/skills/omg/security-check/SKILL.md +1 -1
  40. package/.agents/skills/omg/security-check/openai.yaml +1 -1
  41. package/.agents/skills/omg/test-intent-lock/SKILL.md +1 -1
  42. package/.agents/skills/omg/test-intent-lock/openai.yaml +1 -1
  43. package/.agents/skills/omg/tracebank/SKILL.md +1 -1
  44. package/.agents/skills/omg/tracebank/openai.yaml +1 -1
  45. package/.agents/skills/omg/vision/SKILL.md +1 -1
  46. package/.agents/skills/omg/vision/openai.yaml +1 -1
  47. package/.claude-plugin/marketplace.json +3 -3
  48. package/.claude-plugin/plugin.json +1 -1
  49. package/CHANGELOG.md +5 -0
  50. package/CLI-ADAPTER-MAP.md +3 -3
  51. package/OMG-setup.sh +114 -1
  52. package/OMG_COMPAT_CONTRACT.md +1 -1
  53. package/README.md +2 -1
  54. package/artifacts/release/.claude-plugin/marketplace.json +3 -3
  55. package/artifacts/release/.claude-plugin/plugin.json +1 -1
  56. package/artifacts/release/OMG_COMPAT_CONTRACT.md +1 -1
  57. package/artifacts/release/dist/enterprise/bundle/.claude-plugin/marketplace.json +3 -3
  58. package/artifacts/release/dist/enterprise/bundle/.claude-plugin/plugin.json +1 -1
  59. package/artifacts/release/dist/enterprise/bundle/OMG_COMPAT_CONTRACT.md +1 -1
  60. package/artifacts/release/dist/enterprise/bundle/plugins/advanced/plugin.json +26 -9
  61. package/artifacts/release/dist/enterprise/bundle/registry/bundles/algorithms.yaml +1 -1
  62. package/artifacts/release/dist/enterprise/bundle/registry/bundles/api-twin.yaml +1 -1
  63. package/artifacts/release/dist/enterprise/bundle/registry/bundles/claim-judge.yaml +1 -1
  64. package/artifacts/release/dist/enterprise/bundle/registry/bundles/control-plane.yaml +1 -1
  65. package/artifacts/release/dist/enterprise/bundle/registry/bundles/data-lineage.yaml +1 -1
  66. package/artifacts/release/dist/enterprise/bundle/registry/bundles/delta-classifier.yaml +1 -1
  67. package/artifacts/release/dist/enterprise/bundle/registry/bundles/eval-gate.yaml +1 -1
  68. package/artifacts/release/dist/enterprise/bundle/registry/bundles/health.yaml +1 -1
  69. package/artifacts/release/dist/enterprise/bundle/registry/bundles/hook-governor.yaml +1 -1
  70. package/artifacts/release/dist/enterprise/bundle/registry/bundles/incident-replay.yaml +1 -1
  71. package/artifacts/release/dist/enterprise/bundle/registry/bundles/lsp-pack.yaml +1 -1
  72. package/artifacts/release/dist/enterprise/bundle/registry/bundles/mcp-fabric.yaml +1 -1
  73. package/artifacts/release/dist/enterprise/bundle/registry/bundles/plan-council.yaml +1 -1
  74. package/artifacts/release/dist/enterprise/bundle/registry/bundles/preflight.yaml +1 -1
  75. package/artifacts/release/dist/enterprise/bundle/registry/bundles/proof-gate.yaml +1 -1
  76. package/artifacts/release/dist/enterprise/bundle/registry/bundles/remote-supervisor.yaml +1 -1
  77. package/artifacts/release/dist/enterprise/bundle/registry/bundles/robotics.yaml +1 -1
  78. package/artifacts/release/dist/enterprise/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  79. package/artifacts/release/dist/enterprise/bundle/registry/bundles/security-check.yaml +1 -1
  80. package/artifacts/release/dist/enterprise/bundle/registry/bundles/test-intent-lock.yaml +1 -1
  81. package/artifacts/release/dist/enterprise/bundle/registry/bundles/tracebank.yaml +1 -1
  82. package/artifacts/release/dist/enterprise/bundle/registry/bundles/vision.yaml +1 -1
  83. package/artifacts/release/dist/enterprise/bundle/registry/omg-capability.schema.json +1 -1
  84. package/artifacts/release/dist/enterprise/bundle/settings.json +3 -3
  85. package/artifacts/release/dist/enterprise/manifest.json +30 -40
  86. package/artifacts/release/dist/public/bundle/.claude-plugin/marketplace.json +3 -3
  87. package/artifacts/release/dist/public/bundle/.claude-plugin/plugin.json +1 -1
  88. package/artifacts/release/dist/public/bundle/OMG_COMPAT_CONTRACT.md +1 -1
  89. package/artifacts/release/dist/public/bundle/plugins/advanced/plugin.json +26 -9
  90. package/artifacts/release/dist/public/bundle/registry/bundles/algorithms.yaml +1 -1
  91. package/artifacts/release/dist/public/bundle/registry/bundles/api-twin.yaml +1 -1
  92. package/artifacts/release/dist/public/bundle/registry/bundles/claim-judge.yaml +1 -1
  93. package/artifacts/release/dist/public/bundle/registry/bundles/control-plane.yaml +1 -1
  94. package/artifacts/release/dist/public/bundle/registry/bundles/data-lineage.yaml +1 -1
  95. package/artifacts/release/dist/public/bundle/registry/bundles/delta-classifier.yaml +1 -1
  96. package/artifacts/release/dist/public/bundle/registry/bundles/eval-gate.yaml +1 -1
  97. package/artifacts/release/dist/public/bundle/registry/bundles/health.yaml +1 -1
  98. package/artifacts/release/dist/public/bundle/registry/bundles/hook-governor.yaml +1 -1
  99. package/artifacts/release/dist/public/bundle/registry/bundles/incident-replay.yaml +1 -1
  100. package/artifacts/release/dist/public/bundle/registry/bundles/lsp-pack.yaml +1 -1
  101. package/artifacts/release/dist/public/bundle/registry/bundles/mcp-fabric.yaml +1 -1
  102. package/artifacts/release/dist/public/bundle/registry/bundles/plan-council.yaml +1 -1
  103. package/artifacts/release/dist/public/bundle/registry/bundles/preflight.yaml +1 -1
  104. package/artifacts/release/dist/public/bundle/registry/bundles/proof-gate.yaml +1 -1
  105. package/artifacts/release/dist/public/bundle/registry/bundles/remote-supervisor.yaml +1 -1
  106. package/artifacts/release/dist/public/bundle/registry/bundles/robotics.yaml +1 -1
  107. package/artifacts/release/dist/public/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  108. package/artifacts/release/dist/public/bundle/registry/bundles/security-check.yaml +1 -1
  109. package/artifacts/release/dist/public/bundle/registry/bundles/test-intent-lock.yaml +1 -1
  110. package/artifacts/release/dist/public/bundle/registry/bundles/tracebank.yaml +1 -1
  111. package/artifacts/release/dist/public/bundle/registry/bundles/vision.yaml +1 -1
  112. package/artifacts/release/dist/public/bundle/registry/omg-capability.schema.json +1 -1
  113. package/artifacts/release/dist/public/bundle/settings.json +3 -3
  114. package/artifacts/release/dist/public/manifest.json +30 -40
  115. package/artifacts/release/plugins/advanced/plugin.json +26 -9
  116. package/artifacts/release/registry/bundles/algorithms.yaml +1 -1
  117. package/artifacts/release/registry/bundles/api-twin.yaml +1 -1
  118. package/artifacts/release/registry/bundles/claim-judge.yaml +1 -1
  119. package/artifacts/release/registry/bundles/control-plane.yaml +1 -1
  120. package/artifacts/release/registry/bundles/data-lineage.yaml +1 -1
  121. package/artifacts/release/registry/bundles/delta-classifier.yaml +1 -1
  122. package/artifacts/release/registry/bundles/eval-gate.yaml +1 -1
  123. package/artifacts/release/registry/bundles/health.yaml +1 -1
  124. package/artifacts/release/registry/bundles/hook-governor.yaml +1 -1
  125. package/artifacts/release/registry/bundles/incident-replay.yaml +1 -1
  126. package/artifacts/release/registry/bundles/lsp-pack.yaml +1 -1
  127. package/artifacts/release/registry/bundles/mcp-fabric.yaml +1 -1
  128. package/artifacts/release/registry/bundles/plan-council.yaml +1 -1
  129. package/artifacts/release/registry/bundles/preflight.yaml +1 -1
  130. package/artifacts/release/registry/bundles/proof-gate.yaml +1 -1
  131. package/artifacts/release/registry/bundles/remote-supervisor.yaml +1 -1
  132. package/artifacts/release/registry/bundles/robotics.yaml +1 -1
  133. package/artifacts/release/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  134. package/artifacts/release/registry/bundles/security-check.yaml +1 -1
  135. package/artifacts/release/registry/bundles/test-intent-lock.yaml +1 -1
  136. package/artifacts/release/registry/bundles/tracebank.yaml +1 -1
  137. package/artifacts/release/registry/bundles/vision.yaml +1 -1
  138. package/artifacts/release/registry/omg-capability.schema.json +1 -1
  139. package/artifacts/release/settings.json +3 -3
  140. package/build/lib/commands/OMG:profile-review.md +43 -0
  141. package/build/lib/commands/OMG:validate.md +59 -0
  142. package/build/lib/hooks/_agent_registry.py +2 -0
  143. package/build/lib/hooks/firewall.py +146 -2
  144. package/build/lib/hooks/intentgate-keyword-detector.py +15 -3
  145. package/build/lib/hooks/policy_engine.py +77 -0
  146. package/build/lib/hooks/prompt-enhancer.py +146 -0
  147. package/build/lib/hooks/session-end-capture.py +374 -6
  148. package/build/lib/hooks/session-start.py +13 -35
  149. package/build/lib/hooks/setup_wizard.py +333 -1
  150. package/build/lib/plugins/advanced/plugin.json +26 -9
  151. package/build/lib/plugins/core/plugin.json +44 -11
  152. package/build/lib/registry/bundles/algorithms.yaml +1 -1
  153. package/build/lib/registry/bundles/api-twin.yaml +1 -1
  154. package/build/lib/registry/bundles/claim-judge.yaml +1 -1
  155. package/build/lib/registry/bundles/control-plane.yaml +1 -1
  156. package/build/lib/registry/bundles/data-lineage.yaml +1 -1
  157. package/build/lib/registry/bundles/delta-classifier.yaml +1 -1
  158. package/build/lib/registry/bundles/eval-gate.yaml +1 -1
  159. package/build/lib/registry/bundles/health.yaml +1 -1
  160. package/build/lib/registry/bundles/hook-governor.yaml +1 -1
  161. package/build/lib/registry/bundles/incident-replay.yaml +1 -1
  162. package/build/lib/registry/bundles/lsp-pack.yaml +1 -1
  163. package/build/lib/registry/bundles/mcp-fabric.yaml +1 -1
  164. package/build/lib/registry/bundles/plan-council.yaml +1 -1
  165. package/build/lib/registry/bundles/preflight.yaml +1 -1
  166. package/build/lib/registry/bundles/proof-gate.yaml +1 -1
  167. package/build/lib/registry/bundles/remote-supervisor.yaml +1 -1
  168. package/build/lib/registry/bundles/robotics.yaml +1 -1
  169. package/build/lib/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  170. package/build/lib/registry/bundles/security-check.yaml +1 -1
  171. package/build/lib/registry/bundles/test-intent-lock.yaml +1 -1
  172. package/build/lib/registry/bundles/tracebank.yaml +1 -1
  173. package/build/lib/registry/bundles/vision.yaml +1 -1
  174. package/build/lib/registry/omg-capability.schema.json +1 -1
  175. package/build/lib/runtime/adoption.py +1 -1
  176. package/build/lib/runtime/background_verification.py +62 -0
  177. package/build/lib/runtime/claim_judge.py +79 -9
  178. package/build/lib/runtime/compat.py +15 -1
  179. package/build/lib/runtime/context_engine.py +242 -0
  180. package/build/lib/runtime/contract_compiler.py +133 -78
  181. package/build/lib/runtime/defense_state.py +79 -8
  182. package/build/lib/runtime/delta_classifier.py +80 -2
  183. package/build/lib/runtime/evidence_query.py +56 -4
  184. package/build/lib/runtime/evidence_registry.py +16 -0
  185. package/build/lib/runtime/evidence_requirements.py +47 -0
  186. package/build/lib/runtime/forge_agents.py +163 -25
  187. package/build/lib/runtime/forge_contracts.py +164 -2
  188. package/build/lib/runtime/memory_store.py +134 -1
  189. package/build/lib/runtime/omg_compat_contract_snapshot.json +2 -2
  190. package/build/lib/runtime/preflight.py +14 -0
  191. package/build/lib/runtime/profile_io.py +294 -0
  192. package/build/lib/runtime/proof_gate.py +43 -7
  193. package/build/lib/runtime/release_surfaces.py +243 -0
  194. package/build/lib/runtime/runtime_contracts.py +90 -0
  195. package/build/lib/runtime/security_check.py +16 -0
  196. package/build/lib/runtime/session_health.py +49 -16
  197. package/build/lib/runtime/team_router.py +65 -6
  198. package/build/lib/runtime/tool_plan_gate.py +114 -6
  199. package/build/lib/runtime/validate.py +194 -0
  200. package/build/lib/runtime/verification_controller.py +52 -2
  201. package/commands/OMG:diagnose-plugins.md +33 -0
  202. package/commands/OMG:profile-review.md +43 -0
  203. package/commands/OMG:setup.md +4 -1
  204. package/commands/OMG:validate.md +59 -0
  205. package/dist/enterprise/bundle/.claude-plugin/marketplace.json +3 -3
  206. package/dist/enterprise/bundle/.claude-plugin/plugin.json +1 -1
  207. package/dist/enterprise/bundle/OMG_COMPAT_CONTRACT.md +1 -1
  208. package/dist/enterprise/bundle/plugins/advanced/plugin.json +26 -9
  209. package/dist/enterprise/bundle/registry/bundles/algorithms.yaml +1 -1
  210. package/dist/enterprise/bundle/registry/bundles/api-twin.yaml +1 -1
  211. package/dist/enterprise/bundle/registry/bundles/claim-judge.yaml +1 -1
  212. package/dist/enterprise/bundle/registry/bundles/control-plane.yaml +1 -1
  213. package/dist/enterprise/bundle/registry/bundles/data-lineage.yaml +1 -1
  214. package/dist/enterprise/bundle/registry/bundles/delta-classifier.yaml +1 -1
  215. package/dist/enterprise/bundle/registry/bundles/eval-gate.yaml +1 -1
  216. package/dist/enterprise/bundle/registry/bundles/health.yaml +1 -1
  217. package/dist/enterprise/bundle/registry/bundles/hook-governor.yaml +1 -1
  218. package/dist/enterprise/bundle/registry/bundles/incident-replay.yaml +1 -1
  219. package/dist/enterprise/bundle/registry/bundles/lsp-pack.yaml +1 -1
  220. package/dist/enterprise/bundle/registry/bundles/mcp-fabric.yaml +1 -1
  221. package/dist/enterprise/bundle/registry/bundles/plan-council.yaml +1 -1
  222. package/dist/enterprise/bundle/registry/bundles/preflight.yaml +1 -1
  223. package/dist/enterprise/bundle/registry/bundles/proof-gate.yaml +1 -1
  224. package/dist/enterprise/bundle/registry/bundles/remote-supervisor.yaml +1 -1
  225. package/dist/enterprise/bundle/registry/bundles/robotics.yaml +1 -1
  226. package/dist/enterprise/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  227. package/dist/enterprise/bundle/registry/bundles/security-check.yaml +1 -1
  228. package/dist/enterprise/bundle/registry/bundles/test-intent-lock.yaml +1 -1
  229. package/dist/enterprise/bundle/registry/bundles/tracebank.yaml +1 -1
  230. package/dist/enterprise/bundle/registry/bundles/vision.yaml +1 -1
  231. package/dist/enterprise/bundle/registry/omg-capability.schema.json +1 -1
  232. package/dist/enterprise/bundle/settings.json +3 -3
  233. package/dist/enterprise/manifest.json +30 -40
  234. package/dist/oh_my_god-2.1.4-py3-none-any.whl +0 -0
  235. package/dist/oh_my_god-2.1.4.tar.gz +0 -0
  236. package/dist/public/bundle/.claude-plugin/marketplace.json +3 -3
  237. package/dist/public/bundle/.claude-plugin/plugin.json +1 -1
  238. package/dist/public/bundle/OMG_COMPAT_CONTRACT.md +1 -1
  239. package/dist/public/bundle/plugins/advanced/plugin.json +26 -9
  240. package/dist/public/bundle/registry/bundles/algorithms.yaml +1 -1
  241. package/dist/public/bundle/registry/bundles/api-twin.yaml +1 -1
  242. package/dist/public/bundle/registry/bundles/claim-judge.yaml +1 -1
  243. package/dist/public/bundle/registry/bundles/control-plane.yaml +1 -1
  244. package/dist/public/bundle/registry/bundles/data-lineage.yaml +1 -1
  245. package/dist/public/bundle/registry/bundles/delta-classifier.yaml +1 -1
  246. package/dist/public/bundle/registry/bundles/eval-gate.yaml +1 -1
  247. package/dist/public/bundle/registry/bundles/health.yaml +1 -1
  248. package/dist/public/bundle/registry/bundles/hook-governor.yaml +1 -1
  249. package/dist/public/bundle/registry/bundles/incident-replay.yaml +1 -1
  250. package/dist/public/bundle/registry/bundles/lsp-pack.yaml +1 -1
  251. package/dist/public/bundle/registry/bundles/mcp-fabric.yaml +1 -1
  252. package/dist/public/bundle/registry/bundles/plan-council.yaml +1 -1
  253. package/dist/public/bundle/registry/bundles/preflight.yaml +1 -1
  254. package/dist/public/bundle/registry/bundles/proof-gate.yaml +1 -1
  255. package/dist/public/bundle/registry/bundles/remote-supervisor.yaml +1 -1
  256. package/dist/public/bundle/registry/bundles/robotics.yaml +1 -1
  257. package/dist/public/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  258. package/dist/public/bundle/registry/bundles/security-check.yaml +1 -1
  259. package/dist/public/bundle/registry/bundles/test-intent-lock.yaml +1 -1
  260. package/dist/public/bundle/registry/bundles/tracebank.yaml +1 -1
  261. package/dist/public/bundle/registry/bundles/vision.yaml +1 -1
  262. package/dist/public/bundle/registry/omg-capability.schema.json +1 -1
  263. package/dist/public/bundle/settings.json +3 -3
  264. package/dist/public/manifest.json +30 -40
  265. package/docs/install/opencode.md +30 -0
  266. package/docs/proof.md +3 -0
  267. package/docs/release-checklist.md +6 -1
  268. package/hooks/_agent_registry.py +2 -0
  269. package/hooks/firewall.py +146 -2
  270. package/hooks/intentgate-keyword-detector.py +15 -3
  271. package/hooks/policy_engine.py +77 -0
  272. package/hooks/prompt-enhancer.py +146 -0
  273. package/hooks/session-end-capture.py +374 -6
  274. package/hooks/session-start.py +13 -35
  275. package/hooks/setup_wizard.py +342 -2
  276. package/hud/omg-hud.mjs +16 -3
  277. package/lab/pipeline.py +195 -26
  278. package/package.json +1 -1
  279. package/plugins/advanced/plugin.json +26 -9
  280. package/plugins/core/plugin.json +51 -12
  281. package/pyproject.toml +10 -2
  282. package/registry/bundles/algorithms.yaml +1 -1
  283. package/registry/bundles/api-twin.yaml +1 -1
  284. package/registry/bundles/claim-judge.yaml +1 -1
  285. package/registry/bundles/control-plane.yaml +1 -1
  286. package/registry/bundles/data-lineage.yaml +1 -1
  287. package/registry/bundles/delta-classifier.yaml +1 -1
  288. package/registry/bundles/eval-gate.yaml +1 -1
  289. package/registry/bundles/health.yaml +1 -1
  290. package/registry/bundles/hook-governor.yaml +1 -1
  291. package/registry/bundles/incident-replay.yaml +1 -1
  292. package/registry/bundles/lsp-pack.yaml +1 -1
  293. package/registry/bundles/mcp-fabric.yaml +1 -1
  294. package/registry/bundles/plan-council.yaml +1 -1
  295. package/registry/bundles/preflight.yaml +1 -1
  296. package/registry/bundles/proof-gate.yaml +1 -1
  297. package/registry/bundles/remote-supervisor.yaml +1 -1
  298. package/registry/bundles/robotics.yaml +1 -1
  299. package/registry/bundles/secure-worktree-pipeline.yaml +1 -1
  300. package/registry/bundles/security-check.yaml +1 -1
  301. package/registry/bundles/test-intent-lock.yaml +1 -1
  302. package/registry/bundles/tracebank.yaml +1 -1
  303. package/registry/bundles/vision.yaml +1 -1
  304. package/registry/omg-capability.schema.json +1 -1
  305. package/runtime/adoption.py +7 -5
  306. package/runtime/background_verification.py +62 -0
  307. package/runtime/claim_judge.py +79 -9
  308. package/runtime/compat.py +48 -1
  309. package/runtime/context_engine.py +242 -0
  310. package/runtime/contract_compiler.py +133 -78
  311. package/runtime/defense_state.py +79 -8
  312. package/runtime/delta_classifier.py +80 -2
  313. package/runtime/evidence_query.py +56 -4
  314. package/runtime/evidence_registry.py +16 -0
  315. package/runtime/evidence_requirements.py +47 -0
  316. package/runtime/forge_agents.py +163 -25
  317. package/runtime/forge_contracts.py +164 -2
  318. package/runtime/hook_governor.py +19 -1
  319. package/runtime/memory_store.py +134 -1
  320. package/runtime/omg_compat_contract_snapshot.json +2 -2
  321. package/runtime/plugin_diagnostics.py +248 -0
  322. package/runtime/plugin_interop.py +1007 -0
  323. package/runtime/preflight.py +14 -0
  324. package/runtime/profile_io.py +294 -0
  325. package/runtime/proof_gate.py +43 -7
  326. package/runtime/providers/opencode_provider.py +94 -0
  327. package/runtime/release_surfaces.py +243 -0
  328. package/runtime/runtime_contracts.py +90 -0
  329. package/runtime/security_check.py +16 -0
  330. package/runtime/session_health.py +49 -16
  331. package/runtime/team_router.py +65 -6
  332. package/runtime/tool_plan_gate.py +82 -0
  333. package/runtime/validate.py +289 -0
  334. package/runtime/verification_controller.py +52 -2
  335. package/scripts/omg.py +262 -1
  336. package/scripts/prepare-release-proof-fixtures.py +89 -0
  337. package/scripts/print-canonical-version.py +80 -0
  338. package/scripts/sync-release-identity.py +476 -0
  339. package/scripts/validate-release-identity.py +246 -0
  340. package/scripts/verify-standalone.sh +3 -0
  341. package/settings.json +3 -3
  342. package/templates/plugins-allowlist.yaml +19 -0
  343. package/artifacts/release/dist/enterprise/bundle/.gemini/settings.json +0 -11
  344. package/artifacts/release/dist/enterprise/bundle/.kimi/mcp.json +0 -11
  345. package/artifacts/release/dist/public/bundle/.gemini/settings.json +0 -11
  346. package/artifacts/release/dist/public/bundle/.kimi/mcp.json +0 -11
  347. package/build/lib/yaml.py +0 -321
  348. package/dist/enterprise/bundle/.gemini/settings.json +0 -11
  349. package/dist/enterprise/bundle/.kimi/mcp.json +0 -11
  350. package/dist/public/bundle/.gemini/settings.json +0 -11
  351. package/dist/public/bundle/.kimi/mcp.json +0 -11
@@ -3,11 +3,9 @@
3
3
  "channel": "public",
4
4
  "hosts": [
5
5
  "claude",
6
- "codex",
7
- "gemini",
8
- "kimi"
6
+ "codex"
9
7
  ],
10
- "contract_version": "2.1.0",
8
+ "contract_version": "2.1.4",
11
9
  "artifacts": [
12
10
  {
13
11
  "path": "bundle/.agents/skills/omg/AGENTS.fragment.md",
@@ -199,7 +197,7 @@
199
197
  },
200
198
  {
201
199
  "path": "bundle/.claude-plugin/marketplace.json",
202
- "sha256": "be45f869562addf5052115bbee94717f03b86612169337964685029e7f79e64b"
200
+ "sha256": "db469d08d23b0473462773072387a5d8c0cc2427c604a98d47e874b034b72bff"
203
201
  },
204
202
  {
205
203
  "path": "bundle/.claude-plugin/mcp.json",
@@ -207,15 +205,7 @@
207
205
  },
208
206
  {
209
207
  "path": "bundle/.claude-plugin/plugin.json",
210
- "sha256": "3ca12b84d8aedc4fe4ac818f8d07cb01789cbd0f20a8508f8c0dd14b2ec78e9f"
211
- },
212
- {
213
- "path": "bundle/.gemini/settings.json",
214
- "sha256": "14208140297f635cc5155cfe063c9b8a6193a3d0a264e0686cf3b80789208f27"
215
- },
216
- {
217
- "path": "bundle/.kimi/mcp.json",
218
- "sha256": "14208140297f635cc5155cfe063c9b8a6193a3d0a264e0686cf3b80789208f27"
208
+ "sha256": "2179506ae3d7cfa3d9c7d1f88a1723ac4cec146ae574bd06c91688a3caca70e6"
219
209
  },
220
210
  {
221
211
  "path": "bundle/.mcp.json",
@@ -223,7 +213,7 @@
223
213
  },
224
214
  {
225
215
  "path": "bundle/OMG_COMPAT_CONTRACT.md",
226
- "sha256": "7e5bc1b707781358693546dc24db0c640fe67253f1df302c3ec3dcd1ea08b2b4"
216
+ "sha256": "6d0727a754dc8a813e4c3e65fa3a4b70bde23fdd13686742e98fd4b29f495f79"
227
217
  },
228
218
  {
229
219
  "path": "bundle/plugins/advanced/commands/OMG:code-review.md",
@@ -267,103 +257,103 @@
267
257
  },
268
258
  {
269
259
  "path": "bundle/plugins/advanced/plugin.json",
270
- "sha256": "904c845d61ac3407c744674cd6f15e73e07899c8bb132cb2fe39f59f836b06f2"
260
+ "sha256": "44259d1cbddcc7e5b21af598e886e782bc42d82d1da3d23dea4da3f4b144386f"
271
261
  },
272
262
  {
273
263
  "path": "bundle/registry/bundles/algorithms.yaml",
274
- "sha256": "d47f8d279bae18bfb538b9add770108c188f0306182e41be27352a1aa0c07dbc"
264
+ "sha256": "1cf6305c2826838a805f42ed2d773a2cf428d9ff5abb542e09cb86da2e3b46e5"
275
265
  },
276
266
  {
277
267
  "path": "bundle/registry/bundles/api-twin.yaml",
278
- "sha256": "64dbce274c1fd4910b5201d11fc09fa596435c9bf8a8c6cf0854b5a96289c118"
268
+ "sha256": "1128f7cdcade155b11014c7899a3c206ef8f071091cb469300b91cc5ef5fda82"
279
269
  },
280
270
  {
281
271
  "path": "bundle/registry/bundles/claim-judge.yaml",
282
- "sha256": "81aa5571545cf2b0489bab29cb3207e53f64113a85f843e7e2e338073d46ce6b"
272
+ "sha256": "7905b72d44fb41d4868d6b64700016fef87991729f16f9f4805de0ee673b595b"
283
273
  },
284
274
  {
285
275
  "path": "bundle/registry/bundles/control-plane.yaml",
286
- "sha256": "024e1296420523d278f718be4e32ff35e4af7c9aa6cb996d85a8f5ab95252be0"
276
+ "sha256": "99002393ae686f02f1a8a2cf14805a60855969a394aef176ed844ebad9a99638"
287
277
  },
288
278
  {
289
279
  "path": "bundle/registry/bundles/data-lineage.yaml",
290
- "sha256": "5b32e8bae66c95dd0c995b18a4106b2a8de533bea458cfebe155395e64b8a32d"
280
+ "sha256": "84dd116c083a5cdb5372d5a033ae67f465751f4bc141728e3259a1c49316ecd8"
291
281
  },
292
282
  {
293
283
  "path": "bundle/registry/bundles/delta-classifier.yaml",
294
- "sha256": "000a9e8f438becacacfcbfe734fb8279bd8d58595689113c5a70c8b1a3b16e4b"
284
+ "sha256": "ac910410dfff607768990227343b82526c645eeb986ad0bfd676e2fddd742898"
295
285
  },
296
286
  {
297
287
  "path": "bundle/registry/bundles/eval-gate.yaml",
298
- "sha256": "1331fd3fc25c86040321b3da270f35e3921c2157f7eb4d36168ba2efbcf1c56f"
288
+ "sha256": "240662404dbc7faffcfa4de0e7d52c8a355a71b66e79bc341abbf0416a420617"
299
289
  },
300
290
  {
301
291
  "path": "bundle/registry/bundles/health.yaml",
302
- "sha256": "e0b0244d041676f5b46036cfe128b7b1bce6a11c4a30b76cc0e9dd7fdf8de3b1"
292
+ "sha256": "6fe31aa7cdb335921579fec96e8fe253b89458ddc9c4c846d7d145f9cfcac104"
303
293
  },
304
294
  {
305
295
  "path": "bundle/registry/bundles/hook-governor.yaml",
306
- "sha256": "caec3b7910af44407abbee774481e51493f8444918d69e2149d12c12ece5ab54"
296
+ "sha256": "d273f00af67c85e7cb8700a095889b686b8b46c62248a871f5a5b36564759d77"
307
297
  },
308
298
  {
309
299
  "path": "bundle/registry/bundles/incident-replay.yaml",
310
- "sha256": "c00dae32b4b0f09ea7099824234d3b1b38db16ccf21f79b985e2c2ed9c00a77d"
300
+ "sha256": "8ff449760c2d2d70cdf584e22eaf2d1a4ad06e91bbb3fea67072fe7d5c167245"
311
301
  },
312
302
  {
313
303
  "path": "bundle/registry/bundles/lsp-pack.yaml",
314
- "sha256": "dc32c96586f7d9c47d46c3d619c284ab4efb95fd58a9cc7c2b5bc9803e379c17"
304
+ "sha256": "8a9cee8d7074c75e64abb1a083d68bb441f386d2497d1b3d48d476278c0adf0c"
315
305
  },
316
306
  {
317
307
  "path": "bundle/registry/bundles/mcp-fabric.yaml",
318
- "sha256": "1089a0dc98fe96bab27473150dee6f1889a2daba09c04a8d80a9dedfdc083200"
308
+ "sha256": "7d1dac6fea6b81c6355de3910adc4b33244406c4e75ac5784ea457cabd922aeb"
319
309
  },
320
310
  {
321
311
  "path": "bundle/registry/bundles/plan-council.yaml",
322
- "sha256": "f3131ea3cfdeb8c2784f4ebb75f3b5c745ff1a00f1ed0be2727b960055a57c79"
312
+ "sha256": "bd3534610fcf95be4f592097e085cbc6e157b36465e80724b22860ad9131c426"
323
313
  },
324
314
  {
325
315
  "path": "bundle/registry/bundles/preflight.yaml",
326
- "sha256": "48c4ed8445c81cf51f52ca67692dd9389b732693ee285e59634c9a4a7eb82ae5"
316
+ "sha256": "4f047a339b865f48d938fe1210c16c6f81fd5997b8f9b8873c47f951a661d5be"
327
317
  },
328
318
  {
329
319
  "path": "bundle/registry/bundles/proof-gate.yaml",
330
- "sha256": "dfdc8883c30dffc857efabb20a779ac220e7ee301b17aa79e9e582db968d655f"
320
+ "sha256": "692480c9a8c3506c05cdfbdb6a3f54fe5b190e0ceb1b7316d7c1a56b6f34a646"
331
321
  },
332
322
  {
333
323
  "path": "bundle/registry/bundles/remote-supervisor.yaml",
334
- "sha256": "501af402971d6aff5b149d8c2ca861912c48c63de147e400895c54e542458870"
324
+ "sha256": "58d56c21926f80d1f62dabc77de467c87df27c46d6aa9823ad8b613866ffcefe"
335
325
  },
336
326
  {
337
327
  "path": "bundle/registry/bundles/robotics.yaml",
338
- "sha256": "edbe04fc489acf8246718881eb3450fbeb5e48e0a73bf16fad2cbb0476fcf8f7"
328
+ "sha256": "9bce82dabd4128e590e088213cef59243636579088191226554beb72667c4c10"
339
329
  },
340
330
  {
341
331
  "path": "bundle/registry/bundles/secure-worktree-pipeline.yaml",
342
- "sha256": "6d955fbbeecee2289603be2a7b17270839633b06b0355d4f75af2c45971265e2"
332
+ "sha256": "d522283991cb96a75a468c70398654476bad289fe01c62e629d8503afcf9f9c3"
343
333
  },
344
334
  {
345
335
  "path": "bundle/registry/bundles/security-check.yaml",
346
- "sha256": "f8a6f15b9540d44e214a13811db224990c5bb88e3b0d62b93bd519fca4d6b9ed"
336
+ "sha256": "fcfe957e3a69fd3fc6fad57013b7d34420afea1f25ac9c5c2b8a1ec3cdcdfda6"
347
337
  },
348
338
  {
349
339
  "path": "bundle/registry/bundles/test-intent-lock.yaml",
350
- "sha256": "c1a795205f64337fafb57442fd2744decca7166af981478b3f40d7251726dac8"
340
+ "sha256": "589cdecb474e3da150697ae81cab06ad5306c323d1b34871c5b6f88b70259d46"
351
341
  },
352
342
  {
353
343
  "path": "bundle/registry/bundles/tracebank.yaml",
354
- "sha256": "04e93a6ac6788f4fdfb3aebf42687b8c076120c827794372582a5ee88295989c"
344
+ "sha256": "ee468665d4d54ad96fe73af7742aa36b3d6d830706c60259470822c9e55c6889"
355
345
  },
356
346
  {
357
347
  "path": "bundle/registry/bundles/vision.yaml",
358
- "sha256": "c372e3257f2a81cdef1ba39f7404945cd049e4663cbfa35ac8c097018d5c9c69"
348
+ "sha256": "1642c21746608cf3809916c6bfa65e1768e3421fb24b9f649fd8e4322ac83eb9"
359
349
  },
360
350
  {
361
351
  "path": "bundle/registry/omg-capability.schema.json",
362
- "sha256": "21f2c215be4df22a518f3c63593299339c2d3f43a4f5394bee73eeba2a0a2a8c"
352
+ "sha256": "660fb7ca3d26ba472065bc5174098337e862f89684ce22774f5ea3dec9560457"
363
353
  },
364
354
  {
365
355
  "path": "bundle/settings.json",
366
- "sha256": "59b2b25a7055377d021080d7922f25a446330df1e0e98684906b5a3d5ce3b21e"
356
+ "sha256": "5cd958ecb7840484976b3854d3aca5e93ccf78dc11bf8f5785901956e1417cd5"
367
357
  }
368
358
  ]
369
359
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "omg-advanced",
3
- "version": "2.1.0",
3
+ "version": "2.1.4",
4
4
  "description": "Advanced OMG commands - deep planning, learning, code review, and specialized workflows",
5
5
  "type": "omg-plugin",
6
6
  "commands": {
@@ -53,35 +53,52 @@
53
53
  "categories": {
54
54
  "planning": {
55
55
  "description": "Strategic planning and architecture",
56
- "commands": ["deep-plan"]
56
+ "commands": [
57
+ "deep-plan"
58
+ ]
57
59
  },
58
60
  "quality": {
59
61
  "description": "Code quality and review",
60
- "commands": ["code-review"]
62
+ "commands": [
63
+ "code-review"
64
+ ]
61
65
  },
62
66
  "knowledge": {
63
67
  "description": "Learning and skill creation",
64
- "commands": ["learn"]
68
+ "commands": [
69
+ "learn"
70
+ ]
65
71
  },
66
72
  "delivery": {
67
73
  "description": "Shipping and release workflows",
68
- "commands": ["ship"]
74
+ "commands": [
75
+ "ship"
76
+ ]
69
77
  },
70
78
  "collaboration": {
71
79
  "description": "Team collaboration and handoff",
72
- "commands": ["handoff"]
80
+ "commands": [
81
+ "handoff"
82
+ ]
73
83
  },
74
84
  "automation": {
75
85
  "description": "Autonomous execution modes",
76
- "commands": ["ralph-start", "ralph-stop"]
86
+ "commands": [
87
+ "ralph-start",
88
+ "ralph-stop"
89
+ ]
77
90
  },
78
91
  "thinking": {
79
92
  "description": "Structured thinking tools",
80
- "commands": ["sequential-thinking"]
93
+ "commands": [
94
+ "sequential-thinking"
95
+ ]
81
96
  },
82
97
  "oss": {
83
98
  "description": "Open source maintainer tools",
84
- "commands": ["maintainer"]
99
+ "commands": [
100
+ "maintainer"
101
+ ]
85
102
  }
86
103
  }
87
104
  }
@@ -1,6 +1,6 @@
1
1
  id: algorithms
2
2
  kind: domain-pack
3
- version: 2.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
4
4
  title: OMG Plan Council
5
5
  description: Canonical council-style planning bundle for explicit, evidence-backed deep plans.
6
6
  hosts:
@@ -1,6 +1,6 @@
1
1
  id: preflight
2
2
  kind: routing
3
- version: 2.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0
3
+ version: 2.1.4
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.1.0",
5
+ "version": "2.1.4",
6
6
  "type": "object",
7
7
  "required": [
8
8
  "id",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/claude-code-settings.json",
3
- "_comment": "OMG 2.1.0 - project-level config with hook registrations, presets, and feature flags.",
3
+ "_comment": "OMG 2.1.4 - project-level config with hook registrations, presets, and feature flags.",
4
4
  "permissions": {
5
5
  "allow": [
6
6
  "Agent",
@@ -316,7 +316,7 @@
316
316
  ]
317
317
  },
318
318
  "_omg": {
319
- "_version": "2.1.0",
319
+ "_version": "2.1.4",
320
320
  "preset": "safe",
321
321
  "omgMode": "focused",
322
322
  "default_mode": "ulw+ralph",
@@ -370,7 +370,7 @@
370
370
  "CONTEXT_MANAGER": false
371
371
  },
372
372
  "generated": {
373
- "contract_version": "2.1.0",
373
+ "contract_version": "2.1.4",
374
374
  "channel": "enterprise",
375
375
  "required_bundles": [
376
376
  "control-plane",
@@ -0,0 +1,43 @@
1
+ ---
2
+ description: Review governed profile state — preferences, confirmations, decay, and provenance
3
+ allowed-tools: Bash(python3:*), Read, Grep, Glob
4
+ ---
5
+
6
+ # /OMG:profile-review
7
+
8
+ Read-only inspection of the governed user profile. Reports active style and
9
+ safety preferences, pending destructive confirmations, stale/decay candidates,
10
+ and provenance summaries.
11
+
12
+ **This command never mutates `profile.yaml`.**
13
+
14
+ ## Usage
15
+
16
+ ```
17
+ python3 scripts/omg.py profile-review [--format json|text]
18
+ ```
19
+
20
+ - `--format json` — machine-readable JSON (default)
21
+ - `--format text` — human-readable summary
22
+
23
+ ## JSON output shape
24
+
25
+ ```json
26
+ {
27
+ "schema": "ProfileReview",
28
+ "style": [ { "field": "...", "value": "...", "confirmation_state": "...", ... } ],
29
+ "safety": [ { "field": "...", "value": "...", "confirmation_state": "...", ... } ],
30
+ "pending_confirmations": [ { "field": "...", "value": "...", "section": "..." } ],
31
+ "decay_candidates": [ { "field": "...", "decay_score": 0.3, ... } ],
32
+ "provenance_summary": [ { "run_id": "...", "source": "...", "field": "...", "updated_at": "..." } ],
33
+ "profile_version": "sha256..."
34
+ }
35
+ ```
36
+
37
+ ## Report sections
38
+
39
+ 1. **Style preferences** — governed style entries with source, learned_at, decay metadata
40
+ 2. **Safety preferences** — governed safety entries (decay-immune)
41
+ 3. **Pending confirmations** — entries marked `pending_confirmation` (destructive signals awaiting user approval)
42
+ 4. **Decay candidates** — style entries with `decay_score > 0` that may be stale
43
+ 5. **Provenance summary** — recent profile update events from `profile_provenance.recent_updates`
@@ -0,0 +1,59 @@
1
+ ---
2
+ description: Canonical validation — doctor + contract + profile + install checks
3
+ allowed-tools: Bash(python3:*), Bash(ls:*), Bash(cat:*), Bash(grep:*), Bash(git:*), Read, Grep, Glob
4
+ ---
5
+
6
+ # /OMG:validate
7
+
8
+ Run the canonical OMG validation engine that composes all verification surfaces:
9
+
10
+ 1. **Doctor checks**: Python version, fastmcp, omg-control, policy files, metadata drift, compiled bundles, host compatibility, memory, managed runtime
11
+ 2. **Contract registry**: Validates contract doc, schema, and bundle integrity
12
+ 3. **Profile governor**: Verifies governed preferences structure and pending confirmations
13
+ 4. **Install integrity**: Confirms scripts, runtime, commands, and plugins directories exist
14
+
15
+ ## Usage
16
+
17
+ ```bash
18
+ # Human-readable output (default)
19
+ python3 scripts/omg.py validate
20
+
21
+ # Machine-readable JSON
22
+ python3 scripts/omg.py validate --format json
23
+ ```
24
+
25
+ ## Output Schema (JSON)
26
+
27
+ ```json
28
+ {
29
+ "schema": "ValidateResult",
30
+ "status": "pass" | "fail",
31
+ "checks": [
32
+ {
33
+ "name": "check_name",
34
+ "status": "ok" | "blocker" | "warning",
35
+ "message": "human-readable description",
36
+ "required": true | false
37
+ }
38
+ ],
39
+ "version": "2.1.4"
40
+ }
41
+ ```
42
+
43
+ ## Exit Codes
44
+
45
+ - `0` — all required checks pass
46
+ - `1` — one or more blockers detected
47
+
48
+ ## Report Format (text)
49
+
50
+ ```
51
+ PASS python_version: Python 3.12.0
52
+ PASS fastmcp: fastmcp importable
53
+ BLOCKER omg_control_reachable: omg-control not found in .mcp.json
54
+ PASS contract_registry: contract registry valid (0 errors)
55
+ PASS profile_governor: profile governor ok (2 style, 1 safety) (optional)
56
+ PASS install_integrity: install integrity ok
57
+
58
+ PASS [5] | WARN [0] | BLOCKER [1]
59
+ ```
@@ -224,6 +224,8 @@ INTENT_ROUTING = {
224
224
  "INTENT_EXPLORE": "explore", # explore/find → fast search agent
225
225
  "INTENT_REVIEW": "reviewer", # review/audit → code review agent
226
226
  "INTENT_QUICK": "quick_task", # quick/simple → fast task agent
227
+ # Clarification intent (Task 3) — halts mutation-capable execution
228
+ "INTENT_CLARIFICATION": None, # clarification needed → halt (no agent dispatch)
227
229
  }
228
230
 
229
231
  # Core agent model preferences. NOT keyword-matched — used by orchestration pipeline only. model_version is informational (not passed to CLI).