@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
@@ -0,0 +1,51 @@
1
+ id: plan-council
2
+ kind: planning
3
+ version: 2.0.8
4
+ title: OMG Plan Council
5
+ description: Canonical council-style planning bundle for explicit, evidence-backed deep plans.
6
+ hosts:
7
+ - claude
8
+ - codex
9
+ assets:
10
+ references:
11
+ - plugins/advanced/commands/OMG:deep-plan.md
12
+ invocation_policy:
13
+ user_invocable: true
14
+ model_invocable: false
15
+ allow_implicit_invocation: false
16
+ tool_policy:
17
+ side_effect_level: low
18
+ allowed_tools:
19
+ claude:
20
+ - Read
21
+ - Grep
22
+ codex:
23
+ - Read
24
+ - Grep
25
+ lifecycle_hooks:
26
+ native:
27
+ - PostToolUse
28
+ emulated:
29
+ - TaskCompleted
30
+ mcp_contract:
31
+ servers:
32
+ - omg-control
33
+ lsp_contract:
34
+ languages:
35
+ - markdown
36
+ - json
37
+ evidence_outputs:
38
+ artifacts:
39
+ - .omg/plans/deep-plan.md
40
+ - .omg/plans/deep-plan.json
41
+ - .omg/plans/dissent.json
42
+ - .omg/evidence/plan-council.json
43
+ execution_contract:
44
+ modes:
45
+ - embedded
46
+ - local_supervisor
47
+ channel_overrides:
48
+ public:
49
+ posture: self-serve
50
+ enterprise:
51
+ posture: managed
@@ -1,6 +1,6 @@
1
1
  id: preflight
2
2
  kind: routing
3
- version: 2.0.5
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:
@@ -0,0 +1,49 @@
1
+ id: proof-gate
2
+ kind: proof
3
+ version: 2.0.8
4
+ title: OMG Proof Gate
5
+ description: Structured release proof gate that binds claims to required evidence artifacts and trace links.
6
+ hosts:
7
+ - claude
8
+ - codex
9
+ assets:
10
+ references:
11
+ - runtime/proof_gate.py
12
+ invocation_policy:
13
+ user_invocable: true
14
+ model_invocable: true
15
+ allow_implicit_invocation: false
16
+ tool_policy:
17
+ side_effect_level: low
18
+ allowed_tools:
19
+ claude:
20
+ - Read
21
+ - Grep
22
+ - Bash(python3:*)
23
+ codex:
24
+ - Read
25
+ - Grep
26
+ - Bash(python3:*)
27
+ lifecycle_hooks:
28
+ native:
29
+ - PostToolUse
30
+ emulated:
31
+ - TaskCompleted
32
+ mcp_contract:
33
+ servers:
34
+ - omg-control
35
+ lsp_contract:
36
+ languages:
37
+ - python
38
+ evidence_outputs:
39
+ artifacts:
40
+ - .omg/evidence/proof-gate-*.json
41
+ execution_contract:
42
+ modes:
43
+ - embedded
44
+ - local_supervisor
45
+ channel_overrides:
46
+ public:
47
+ posture: self-serve
48
+ enterprise:
49
+ posture: managed
@@ -1,6 +1,6 @@
1
1
  id: remote-supervisor
2
2
  kind: orchestration
3
- version: 2.0.5
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.5
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.5
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.5
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:
@@ -0,0 +1,49 @@
1
+ id: test-intent-lock
2
+ kind: proof
3
+ version: 2.0.8
4
+ title: OMG Test Intent Lock
5
+ description: Structured test-delta guard that blocks weakened tests unless explicit override evidence is present.
6
+ hosts:
7
+ - claude
8
+ - codex
9
+ assets:
10
+ references:
11
+ - runtime/test_intent_lock.py
12
+ invocation_policy:
13
+ user_invocable: true
14
+ model_invocable: true
15
+ allow_implicit_invocation: false
16
+ tool_policy:
17
+ side_effect_level: low
18
+ allowed_tools:
19
+ claude:
20
+ - Read
21
+ - Grep
22
+ - Bash(python3:*)
23
+ codex:
24
+ - Read
25
+ - Grep
26
+ - Bash(python3:*)
27
+ lifecycle_hooks:
28
+ native:
29
+ - PostToolUse
30
+ emulated:
31
+ - TaskCompleted
32
+ mcp_contract:
33
+ servers:
34
+ - omg-control
35
+ lsp_contract:
36
+ languages:
37
+ - python
38
+ evidence_outputs:
39
+ artifacts:
40
+ - .omg/evidence/test-intent-lock-*.json
41
+ execution_contract:
42
+ modes:
43
+ - embedded
44
+ - local_supervisor
45
+ channel_overrides:
46
+ public:
47
+ posture: self-serve
48
+ enterprise:
49
+ posture: managed
@@ -1,6 +1,6 @@
1
1
  id: tracebank
2
2
  kind: evidence
3
- version: 2.0.5
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.5
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.5",
5
+ "version": "2.0.8",
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.0.5 - project-level config with hook registrations, presets, and feature flags.",
3
+ "_comment": "OMG 2.0.8 - project-level config with hook registrations, presets, and feature flags.",
4
4
  "permissions": {
5
5
  "allow": [
6
6
  "Agent",
@@ -306,7 +306,7 @@
306
306
  ]
307
307
  },
308
308
  "_omg": {
309
- "_version": "2.0.5",
309
+ "_version": "2.0.8",
310
310
  "preset": "safe",
311
311
  "default_mode": "ulw+ralph",
312
312
  "vision_auto": true,
@@ -359,10 +359,14 @@
359
359
  "CONTEXT_MANAGER": false
360
360
  },
361
361
  "generated": {
362
- "contract_version": "2.0.5",
362
+ "contract_version": "2.0.8",
363
363
  "channel": "enterprise",
364
364
  "required_bundles": [
365
365
  "control-plane",
366
+ "plan-council",
367
+ "claim-judge",
368
+ "test-intent-lock",
369
+ "proof-gate",
366
370
  "hook-governor",
367
371
  "mcp-fabric",
368
372
  "lsp-pack",
@@ -0,0 +1,92 @@
1
+ ---
2
+ description: "FORGE — Labs-only domain-model prototyping and evaluation orchestration. Routes into the lab pipeline with policy enforcement."
3
+ allowed-tools: Read, Bash
4
+ argument-hint: "[job file path]"
5
+ ---
6
+
7
+ # /OMG:forge — Labs-Only Domain Prototyping
8
+
9
+ > **Availability**: `labs` preset only. Blocked on `safe`, `balanced`, and `interop` presets.
10
+
11
+ ## What It Does
12
+
13
+ Forge orchestrates domain-model prototyping and evaluation through the existing lab pipeline (`lab/pipeline.py`). It validates jobs against lab policies (`lab/policies.py`), runs the staged pipeline (data → refine → train/distill → evaluate → regression), and emits structured evidence.
14
+
15
+ Forge does **not**:
16
+ - Train frontier models or perform research-scale model training
17
+ - Bypass lab policy gates (license checks, source validation)
18
+ - Operate outside the `labs` preset boundary
19
+
20
+ ## Policy Enforcement
21
+
22
+ Every forge job is validated through `lab.policies.validate_job_request()` before pipeline execution:
23
+
24
+ 1. **Dataset license** must be in `ALLOWED_LICENSES`: `apache-2.0`, `mit`, `bsd-3-clause`, `cc-by-4.0`
25
+ 2. **Dataset source** must not contain blocked tokens: `unknown`, `leaked`, `stolen`, `unauthorized`, `pirated`
26
+ 3. **Model source** must not contain blocked tokens
27
+ 4. **Model distillation** must be explicitly allowed (`allow_distill: true`)
28
+
29
+ Jobs that fail policy checks are blocked with a structured reason before any pipeline stage runs.
30
+
31
+ ## CLI Usage
32
+
33
+ ```bash
34
+ # Run a forge job from a JSON file
35
+ python3 scripts/omg.py forge run --job path/to/job.json
36
+
37
+ # Run with explicit preset (default: labs)
38
+ python3 scripts/omg.py forge run --job path/to/job.json --preset labs
39
+ ```
40
+
41
+ ## Job File Format
42
+
43
+ ```json
44
+ {
45
+ "dataset": {
46
+ "name": "my-domain-dataset",
47
+ "license": "apache-2.0",
48
+ "source": "internal-curated"
49
+ },
50
+ "base_model": {
51
+ "name": "distill-base-v1",
52
+ "source": "approved-registry",
53
+ "allow_distill": true
54
+ },
55
+ "target_metric": 0.85,
56
+ "simulated_metric": 0.90,
57
+ "evaluation_notes": "Domain adaptation for robotics control"
58
+ }
59
+ ```
60
+
61
+ ## Output
62
+
63
+ Forge returns structured JSON with pipeline results:
64
+
65
+ ```json
66
+ {
67
+ "status": "ready",
68
+ "stage": "complete",
69
+ "stages": [
70
+ {"name": "data_prepare", "status": "ok"},
71
+ {"name": "synthetic_refine", "status": "ok"},
72
+ {"name": "train_distill", "status": "ok"},
73
+ {"name": "evaluate", "status": "ok"},
74
+ {"name": "regression_test", "status": "ok"}
75
+ ],
76
+ "published": false,
77
+ "evaluation_report": {
78
+ "metric": 0.90,
79
+ "target_metric": 0.85,
80
+ "passed": true
81
+ }
82
+ }
83
+ ```
84
+
85
+ ## Scope Boundary
86
+
87
+ Forge is a **domain-prototyping** surface, not a model-training research tool. It stays within:
88
+
89
+ - The lab pipeline's staged execution model
90
+ - Lab policy validation for all dataset and model sources
91
+ - The `labs` preset boundary — no forge operations run without labs enabled
92
+ - Domain-pack contracts (`runtime/domain_packs.py`) for domain-specific prototyping
@@ -1,19 +1,19 @@
1
1
  ---
2
- description: "Set cognitive mode (research/architect/implement) for the current session."
2
+ description: "Set canonical mode (chill/focused/exploratory) for the current session."
3
3
  allowed-tools: Read, Write, Edit, Bash
4
- argument-hint: "[research|architect|implement|clear]"
4
+ argument-hint: "[chill|focused|exploratory|clear]"
5
5
  ---
6
6
 
7
- # /OMG:mode — Set Cognitive Mode
7
+ # /OMG:mode — Set Canonical Mode
8
8
 
9
9
  Switch Claude's operating mode for the current session.
10
10
 
11
11
  ## Usage
12
12
 
13
13
  ```
14
- /OMG:mode research # Focus on reading, searching, synthesizing
15
- /OMG:mode architect # Focus on system design, no implementation
16
- /OMG:mode implement # Focus on coding with TDD and verification
14
+ /OMG:mode chill # Focus on low-intensity, conservative progress
15
+ /OMG:mode focused # Focus on coding and execution
16
+ /OMG:mode exploratory # Focus on discovery and synthesis
17
17
  /OMG:mode clear # Clear current mode (return to default)
18
18
  ```
19
19
 
@@ -23,20 +23,20 @@ Switch Claude's operating mode for the current session.
23
23
  2. The `prompt-enhancer` hook reads this file and injects `@mode:` context on every subsequent prompt
24
24
  3. The corresponding rule file (`rules/contextual/{mode}-mode.md`) activates
25
25
 
26
- ## Modes
26
+ ## Canonical Modes
27
27
 
28
28
  | Mode | Focus | When to Use |
29
29
  |------|-------|-------------|
30
- | `research` | Read, search, synthesize | Exploring unfamiliar territory |
31
- | `architect` | Design, plan, no code | Before starting a complex feature |
32
- | `implement` | Code, test, verify | Active development sprint |
30
+ | `chill` | Conservative execution pace | Low-risk maintenance and steady progress |
31
+ | `focused` | Implementation-forward flow | Active feature work with verification |
32
+ | `exploratory` | Discovery, synthesis, and mapping | Unknown domains and research-heavy sessions |
33
33
 
34
34
  ## Example
35
35
 
36
36
  ```
37
- /OMG:mode architect
38
- → Sets mode to architect
39
- → Every prompt now gets: @mode:ARCHITECTMap system first. Specs only, no implementation.
37
+ /OMG:mode focused
38
+ → Sets mode to focused
39
+ → Every prompt now gets: @mode:FOCUSEDImplement deliberately with tight verification loops.
40
40
 
41
41
  /OMG:mode clear
42
42
  → Removes .omg/state/mode.txt
@@ -8,9 +8,13 @@ argument-hint: "--name <branch-name> [--from <snapshot_id>]"
8
8
 
9
9
  Create a named branch of the current OMG state for experimentation or parallel exploration.
10
10
 
11
+ ## Scope Statement
12
+
13
+ **This command operates on `.omg/state/` only. It does NOT modify git history, workspace files, or conversation history.**
14
+
11
15
  ## Important
12
16
 
13
- Branching is **OMG state only** — it captures and restores `.omg/state/` directory contents. It does **not** fork the conversation, context window, or Claude session. Think of it as a checkpoint you can name and switch between.
17
+ Branching is **OMG state only** — it captures and restores `.omg/state/` directory contents. It does **not** fork the conversation, context window, or Claude session. Think of it as a checkpoint you can name and switch between. Rollback restores OMG session state only, NOT git history or repo files.
14
18
 
15
19
  ## Usage
16
20
 
@@ -40,6 +44,9 @@ Each branch stores:
40
44
  ## Managing Branches
41
45
 
42
46
  ```
47
+ # Show current branch and snapshot count
48
+ python3 tools/session_snapshot.py status
49
+
43
50
  # List all branches
44
51
  python3 tools/session_snapshot.py branches
45
52
 
@@ -48,6 +55,15 @@ python3 tools/session_snapshot.py switch experiment
48
55
 
49
56
  # Create branch from specific snapshot
50
57
  python3 tools/session_snapshot.py branch my-branch --from 20260302_143000_baseline
58
+
59
+ # Fork from a previous checkpoint
60
+ python3 tools/session_snapshot.py fork --from 20260302_100000_pre-refactor --name "approach-b"
61
+
62
+ # Preview a merge
63
+ python3 tools/session_snapshot.py merge-preview experiment --into main
64
+
65
+ # Apply a merge
66
+ python3 tools/session_snapshot.py merge experiment --into main
51
67
  ```
52
68
 
53
69
  ## Feature Flag
@@ -8,9 +8,13 @@ argument-hint: "--from <snapshot_id> --name <fork-name>"
8
8
 
9
9
  Create a new branch from a specific snapshot checkpoint. This is a convenience wrapper around `/OMG:session-branch` that always requires a source snapshot.
10
10
 
11
+ ## Scope Statement
12
+
13
+ **This command operates on `.omg/state/` only. It does NOT modify git history, workspace files, or conversation history.**
14
+
11
15
  ## Important
12
16
 
13
- Forking is **OMG state only** — it restores a previous `.omg/state/` snapshot and creates a new named branch from it. It does **not** fork the conversation or create a parallel Claude session.
17
+ Forking is **OMG state only** — it restores a previous `.omg/state/` snapshot and creates a new named branch from it. It does **not** fork the conversation or create a parallel Claude session. Rollback restores OMG session state only, NOT git history or repo files.
14
18
 
15
19
  ## Usage
16
20
 
@@ -8,9 +8,13 @@ argument-hint: "--from <source-branch> [--into <target-branch>] [--preview]"
8
8
 
9
9
  Merge one OMG state branch into another with automatic conflict detection.
10
10
 
11
+ ## Scope Statement
12
+
13
+ **This command operates on `.omg/state/` only. It does NOT modify git history, workspace files, or conversation history.**
14
+
11
15
  ## Important
12
16
 
13
- Merging is **OMG state only** — it merges branch metadata (`.omg/state/branches/<name>.json`). It does **not** merge conversations, context windows, or file system state. Think of it as combining the tracked state from two named branches.
17
+ Merging is **OMG state only** — it merges branch metadata (`.omg/state/branches/<name>.json`). It does **not** merge conversations, context windows, or file system state. Think of it as combining the tracked state from two named branches. Rollback restores OMG session state only, NOT git history or repo files.
14
18
 
15
19
  ## Usage
16
20
 
@@ -1,7 +1,7 @@
1
1
  openapi: 3.1.0
2
2
  info:
3
3
  title: OMG Control Plane API
4
- version: 2.0.7
4
+ version: 2.0.8
5
5
  description: Policy/trust/evidence/runtime/registry/lab endpoints for OMG v2, with deprecated v1 aliases for one release.
6
6
  servers:
7
7
  - url: https://api.omg.local
@@ -50,6 +50,10 @@ _POST_ROUTE_TABLE = {
50
50
  "/v1/registry/verify": ("registry_verify", True),
51
51
  "/v2/lab/jobs": ("lab_jobs", False),
52
52
  "/v1/lab/jobs": ("lab_jobs", True),
53
+ "/v2/trust/claim-judge": ("claim_judge", False),
54
+ "/v1/trust/claim-judge": ("claim_judge", True),
55
+ "/v2/trust/test-intent-lock": ("test_intent_lock", False),
56
+ "/v1/trust/test-intent-lock": ("test_intent_lock", True),
53
57
  }
54
58
 
55
59
  _GET_ROUTE_TABLE = {
@@ -17,7 +17,9 @@ from lab.pipeline import run_pipeline
17
17
  from registry.verify_artifact import verify_artifact
18
18
  from runtime.guide_assert import guide_assert
19
19
  from runtime.dispatcher import dispatch_runtime
20
+ from runtime.claim_judge import judge_claims
20
21
  from runtime.security_check import run_security_check
22
+ from runtime.test_intent_lock import lock_intent, verify_intent
21
23
 
22
24
 
23
25
  class ControlPlaneService:
@@ -103,6 +105,10 @@ class ControlPlaneService:
103
105
  route_metadata=payload.get("route_metadata"),
104
106
  trace_ids=payload.get("trace_ids"),
105
107
  lineage=payload.get("lineage"),
108
+ claims=payload.get("claims"),
109
+ test_delta=payload.get("test_delta"),
110
+ browser_evidence_path=payload.get("browser_evidence_path"),
111
+ repro_pack_path=payload.get("repro_pack_path"),
106
112
  )
107
113
  return 202, {
108
114
  "status": "accepted",
@@ -210,6 +216,55 @@ class ControlPlaneService:
210
216
  result = run_pipeline(payload)
211
217
  return 201 if result.get("status") in {"ready", "failed_evaluation"} else 400, result
212
218
 
219
+ def claim_judge(self, payload: dict[str, Any]) -> tuple[int, dict[str, Any]]:
220
+ claims = payload.get("claims")
221
+ if not isinstance(claims, list):
222
+ return 400, {
223
+ "status": "error",
224
+ "error_code": "INVALID_CLAIM_INPUT",
225
+ "message": "claims must be a list",
226
+ }
227
+ result = judge_claims(self.project_dir, claims)
228
+ return 200, result
229
+
230
+ def test_intent_lock(self, payload: dict[str, Any]) -> tuple[int, dict[str, Any]]:
231
+ action = str(payload.get("action", "")).strip()
232
+
233
+ if action == "lock":
234
+ intent = payload.get("intent")
235
+ if not isinstance(intent, dict):
236
+ return 400, {
237
+ "status": "error",
238
+ "error_code": "INVALID_INTENT_INPUT",
239
+ "message": "intent must be an object",
240
+ }
241
+ result = lock_intent(self.project_dir, intent)
242
+ return 200, result
243
+
244
+ if action == "verify":
245
+ lock_id = payload.get("lock_id")
246
+ results = payload.get("results")
247
+ if not isinstance(lock_id, str) or not lock_id.strip():
248
+ return 400, {
249
+ "status": "error",
250
+ "error_code": "INVALID_INTENT_INPUT",
251
+ "message": "lock_id is required for verify action",
252
+ }
253
+ if not isinstance(results, dict):
254
+ return 400, {
255
+ "status": "error",
256
+ "error_code": "INVALID_INTENT_INPUT",
257
+ "message": "results must be an object for verify action",
258
+ }
259
+ result = verify_intent(self.project_dir, lock_id, results)
260
+ return 200, result
261
+
262
+ return 400, {
263
+ "status": "error",
264
+ "error_code": "INVALID_INTENT_ACTION",
265
+ "message": f"Unknown action: {action!r}; expected 'lock' or 'verify'",
266
+ }
267
+
213
268
  def scoreboard_baseline(self) -> tuple[int, dict[str, Any]]:
214
269
  return 200, {
215
270
  "generated_at": datetime.now(timezone.utc).isoformat(),
@@ -12,7 +12,7 @@ from typing import Any, cast
12
12
 
13
13
  import yaml
14
14
 
15
- from _common import get_feature_flag
15
+ from hooks._common import get_feature_flag
16
16
 
17
17
  # Ensure project root is on sys.path for runtime imports
18
18
  _PROJECT_ROOT = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), ".."))
@@ -36,8 +36,10 @@ import runtime.providers.codex_provider # noqa: E402, F401
36
36
  import runtime.providers.gemini_provider # noqa: E402, F401
37
37
  import runtime.providers.kimi_provider # noqa: E402, F401
38
38
  from runtime.adoption import ( # noqa: E402
39
+ CANONICAL_MODE_NAMES,
39
40
  CANONICAL_VERSION,
40
41
  build_adoption_report,
42
+ get_mode_profile,
41
43
  get_preset_features,
42
44
  resolve_preset,
43
45
  write_adoption_report,
@@ -416,6 +418,17 @@ def check_auth() -> dict[str, Any]:
416
418
  _HTTP_MEMORY_MIN_LEVEL: int = _PRESET_LEVEL["interop"]
417
419
 
418
420
 
421
+ def get_mode_choices() -> list[str]:
422
+ return list(CANONICAL_MODE_NAMES)
423
+
424
+
425
+ def select_setup_mode(mode: str | None) -> str:
426
+ candidate = (mode or "").strip().lower()
427
+ if candidate in CANONICAL_MODE_NAMES:
428
+ return candidate
429
+ return "focused"
430
+
431
+
419
432
  def configure_mcp(
420
433
  project_dir: str,
421
434
  detected_clis: dict[str, Any],
@@ -599,6 +612,7 @@ def run_setup_wizard(
599
612
  non_interactive: bool = False,
600
613
  *,
601
614
  mode: str | None = None,
615
+ setup_mode: str | None = None,
602
616
  adopt: str = "auto",
603
617
  preset: str | None = None,
604
618
  ) -> dict[str, Any]:
@@ -622,6 +636,7 @@ def run_setup_wizard(
622
636
  }
623
637
 
624
638
  selected_preset = resolve_preset(preset or ("balanced" if non_interactive else "safe"))
639
+ selected_setup_mode = select_setup_mode(setup_mode)
625
640
  adoption = build_adoption_report(
626
641
  project_dir,
627
642
  requested_mode=mode,
@@ -638,6 +653,11 @@ def run_setup_wizard(
638
653
 
639
654
  return {
640
655
  "status": "complete",
656
+ "setup_mode": {
657
+ "choices": get_mode_choices(),
658
+ "selected": selected_setup_mode,
659
+ "profile": get_mode_profile(selected_setup_mode),
660
+ },
641
661
  "clis_detected": clis,
642
662
  "auth_status": auth,
643
663
  "mcp_configured": mcp,