@trac3er/oh-my-god 2.0.3 → 2.0.5

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 (259) hide show
  1. package/.agents/skills/omg/AGENTS.fragment.md +5 -0
  2. package/.agents/skills/omg/algorithms/SKILL.md +11 -0
  3. package/.agents/skills/omg/algorithms/openai.yaml +11 -0
  4. package/.agents/skills/omg/api-twin/SKILL.md +11 -0
  5. package/.agents/skills/omg/api-twin/openai.yaml +12 -0
  6. package/.agents/skills/omg/codex-mcp.toml +4 -0
  7. package/.agents/skills/omg/control-plane/SKILL.md +11 -0
  8. package/.agents/skills/omg/control-plane/openai.yaml +14 -0
  9. package/.agents/skills/omg/data-lineage/SKILL.md +11 -0
  10. package/.agents/skills/omg/data-lineage/openai.yaml +12 -0
  11. package/.agents/skills/omg/delta-classifier/SKILL.md +11 -0
  12. package/.agents/skills/omg/delta-classifier/openai.yaml +12 -0
  13. package/.agents/skills/omg/eval-gate/SKILL.md +11 -0
  14. package/.agents/skills/omg/eval-gate/openai.yaml +12 -0
  15. package/.agents/skills/omg/health/SKILL.md +11 -0
  16. package/.agents/skills/omg/health/openai.yaml +11 -0
  17. package/.agents/skills/omg/hook-governor/SKILL.md +11 -0
  18. package/.agents/skills/omg/hook-governor/openai.yaml +11 -0
  19. package/.agents/skills/omg/incident-replay/SKILL.md +11 -0
  20. package/.agents/skills/omg/incident-replay/openai.yaml +12 -0
  21. package/.agents/skills/omg/lsp-pack/SKILL.md +11 -0
  22. package/.agents/skills/omg/lsp-pack/openai.yaml +11 -0
  23. package/.agents/skills/omg/mcp-fabric/SKILL.md +11 -0
  24. package/.agents/skills/omg/mcp-fabric/openai.yaml +13 -0
  25. package/.agents/skills/omg/preflight/SKILL.md +11 -0
  26. package/.agents/skills/omg/preflight/openai.yaml +12 -0
  27. package/.agents/skills/omg/remote-supervisor/SKILL.md +11 -0
  28. package/.agents/skills/omg/remote-supervisor/openai.yaml +12 -0
  29. package/.agents/skills/omg/robotics/SKILL.md +11 -0
  30. package/.agents/skills/omg/robotics/openai.yaml +11 -0
  31. package/.agents/skills/omg/secure-worktree-pipeline/SKILL.md +11 -0
  32. package/.agents/skills/omg/secure-worktree-pipeline/openai.yaml +12 -0
  33. package/.agents/skills/omg/security-check/SKILL.md +11 -0
  34. package/.agents/skills/omg/security-check/openai.yaml +13 -0
  35. package/.agents/skills/omg/tracebank/SKILL.md +11 -0
  36. package/.agents/skills/omg/tracebank/openai.yaml +12 -0
  37. package/.agents/skills/omg/vision/SKILL.md +11 -0
  38. package/.agents/skills/omg/vision/openai.yaml +11 -0
  39. package/.claude-plugin/marketplace.json +3 -3
  40. package/.claude-plugin/plugin.json +1 -1
  41. package/.claude-plugin/scripts/uninstall.sh +2 -2
  42. package/.mcp.json +20 -4
  43. package/CHANGELOG.md +10 -0
  44. package/OMG-setup.sh +9 -3
  45. package/OMG_COMPAT_CONTRACT.md +92 -0
  46. package/README.md +24 -4
  47. package/SECURITY.md +6 -0
  48. package/commands/OMG:api-twin.md +22 -0
  49. package/commands/OMG:preflight.md +26 -0
  50. package/commands/OMG:security-check.md +28 -0
  51. package/commands/__init__.py +1 -0
  52. package/control_plane/__init__.py +2 -0
  53. package/control_plane/openapi.yaml +228 -0
  54. package/control_plane/server.py +123 -0
  55. package/control_plane/service.py +185 -0
  56. package/dist/enterprise/bundle/.agents/skills/omg/AGENTS.fragment.md +5 -0
  57. package/dist/enterprise/bundle/.agents/skills/omg/algorithms/SKILL.md +11 -0
  58. package/dist/enterprise/bundle/.agents/skills/omg/algorithms/openai.yaml +11 -0
  59. package/dist/enterprise/bundle/.agents/skills/omg/api-twin/SKILL.md +11 -0
  60. package/dist/enterprise/bundle/.agents/skills/omg/api-twin/openai.yaml +12 -0
  61. package/dist/enterprise/bundle/.agents/skills/omg/codex-mcp.toml +4 -0
  62. package/dist/enterprise/bundle/.agents/skills/omg/control-plane/SKILL.md +11 -0
  63. package/dist/enterprise/bundle/.agents/skills/omg/control-plane/openai.yaml +14 -0
  64. package/dist/enterprise/bundle/.agents/skills/omg/data-lineage/SKILL.md +11 -0
  65. package/dist/enterprise/bundle/.agents/skills/omg/data-lineage/openai.yaml +12 -0
  66. package/dist/enterprise/bundle/.agents/skills/omg/delta-classifier/SKILL.md +11 -0
  67. package/dist/enterprise/bundle/.agents/skills/omg/delta-classifier/openai.yaml +12 -0
  68. package/dist/enterprise/bundle/.agents/skills/omg/eval-gate/SKILL.md +11 -0
  69. package/dist/enterprise/bundle/.agents/skills/omg/eval-gate/openai.yaml +12 -0
  70. package/dist/enterprise/bundle/.agents/skills/omg/health/SKILL.md +11 -0
  71. package/dist/enterprise/bundle/.agents/skills/omg/health/openai.yaml +11 -0
  72. package/dist/enterprise/bundle/.agents/skills/omg/hook-governor/SKILL.md +11 -0
  73. package/dist/enterprise/bundle/.agents/skills/omg/hook-governor/openai.yaml +11 -0
  74. package/dist/enterprise/bundle/.agents/skills/omg/incident-replay/SKILL.md +11 -0
  75. package/dist/enterprise/bundle/.agents/skills/omg/incident-replay/openai.yaml +12 -0
  76. package/dist/enterprise/bundle/.agents/skills/omg/lsp-pack/SKILL.md +11 -0
  77. package/dist/enterprise/bundle/.agents/skills/omg/lsp-pack/openai.yaml +11 -0
  78. package/dist/enterprise/bundle/.agents/skills/omg/mcp-fabric/SKILL.md +11 -0
  79. package/dist/enterprise/bundle/.agents/skills/omg/mcp-fabric/openai.yaml +13 -0
  80. package/dist/enterprise/bundle/.agents/skills/omg/preflight/SKILL.md +11 -0
  81. package/dist/enterprise/bundle/.agents/skills/omg/preflight/openai.yaml +12 -0
  82. package/dist/enterprise/bundle/.agents/skills/omg/remote-supervisor/SKILL.md +11 -0
  83. package/dist/enterprise/bundle/.agents/skills/omg/remote-supervisor/openai.yaml +12 -0
  84. package/dist/enterprise/bundle/.agents/skills/omg/robotics/SKILL.md +11 -0
  85. package/dist/enterprise/bundle/.agents/skills/omg/robotics/openai.yaml +11 -0
  86. package/dist/enterprise/bundle/.agents/skills/omg/secure-worktree-pipeline/SKILL.md +11 -0
  87. package/dist/enterprise/bundle/.agents/skills/omg/secure-worktree-pipeline/openai.yaml +12 -0
  88. package/dist/enterprise/bundle/.agents/skills/omg/security-check/SKILL.md +11 -0
  89. package/dist/enterprise/bundle/.agents/skills/omg/security-check/openai.yaml +13 -0
  90. package/dist/enterprise/bundle/.agents/skills/omg/tracebank/SKILL.md +11 -0
  91. package/dist/enterprise/bundle/.agents/skills/omg/tracebank/openai.yaml +12 -0
  92. package/dist/enterprise/bundle/.agents/skills/omg/vision/SKILL.md +11 -0
  93. package/dist/enterprise/bundle/.agents/skills/omg/vision/openai.yaml +11 -0
  94. package/dist/enterprise/bundle/.claude-plugin/marketplace.json +36 -0
  95. package/dist/enterprise/bundle/.claude-plugin/plugin.json +23 -0
  96. package/dist/enterprise/bundle/.mcp.json +40 -0
  97. package/dist/enterprise/bundle/OMG_COMPAT_CONTRACT.md +92 -0
  98. package/dist/enterprise/bundle/registry/bundles/algorithms.yaml +45 -0
  99. package/dist/enterprise/bundle/registry/bundles/api-twin.yaml +48 -0
  100. package/dist/enterprise/bundle/registry/bundles/control-plane.yaml +61 -0
  101. package/dist/enterprise/bundle/registry/bundles/data-lineage.yaml +47 -0
  102. package/dist/enterprise/bundle/registry/bundles/delta-classifier.yaml +47 -0
  103. package/dist/enterprise/bundle/registry/bundles/eval-gate.yaml +47 -0
  104. package/dist/enterprise/bundle/registry/bundles/health.yaml +45 -0
  105. package/dist/enterprise/bundle/registry/bundles/hook-governor.yaml +97 -0
  106. package/dist/enterprise/bundle/registry/bundles/incident-replay.yaml +47 -0
  107. package/dist/enterprise/bundle/registry/bundles/lsp-pack.yaml +48 -0
  108. package/dist/enterprise/bundle/registry/bundles/mcp-fabric.yaml +53 -0
  109. package/dist/enterprise/bundle/registry/bundles/preflight.yaml +48 -0
  110. package/dist/enterprise/bundle/registry/bundles/remote-supervisor.yaml +49 -0
  111. package/dist/enterprise/bundle/registry/bundles/robotics.yaml +45 -0
  112. package/dist/enterprise/bundle/registry/bundles/secure-worktree-pipeline.yaml +54 -0
  113. package/dist/enterprise/bundle/registry/bundles/security-check.yaml +50 -0
  114. package/dist/enterprise/bundle/registry/bundles/tracebank.yaml +47 -0
  115. package/dist/enterprise/bundle/registry/bundles/vision.yaml +45 -0
  116. package/dist/enterprise/bundle/registry/omg-capability.schema.json +80 -0
  117. package/dist/enterprise/bundle/settings.json +381 -0
  118. package/dist/enterprise/manifest.json +255 -0
  119. package/dist/public/bundle/.agents/skills/omg/AGENTS.fragment.md +5 -0
  120. package/dist/public/bundle/.agents/skills/omg/algorithms/SKILL.md +11 -0
  121. package/dist/public/bundle/.agents/skills/omg/algorithms/openai.yaml +11 -0
  122. package/dist/public/bundle/.agents/skills/omg/api-twin/SKILL.md +11 -0
  123. package/dist/public/bundle/.agents/skills/omg/api-twin/openai.yaml +12 -0
  124. package/dist/public/bundle/.agents/skills/omg/codex-mcp.toml +4 -0
  125. package/dist/public/bundle/.agents/skills/omg/control-plane/SKILL.md +11 -0
  126. package/dist/public/bundle/.agents/skills/omg/control-plane/openai.yaml +14 -0
  127. package/dist/public/bundle/.agents/skills/omg/data-lineage/SKILL.md +11 -0
  128. package/dist/public/bundle/.agents/skills/omg/data-lineage/openai.yaml +12 -0
  129. package/dist/public/bundle/.agents/skills/omg/delta-classifier/SKILL.md +11 -0
  130. package/dist/public/bundle/.agents/skills/omg/delta-classifier/openai.yaml +12 -0
  131. package/dist/public/bundle/.agents/skills/omg/eval-gate/SKILL.md +11 -0
  132. package/dist/public/bundle/.agents/skills/omg/eval-gate/openai.yaml +12 -0
  133. package/dist/public/bundle/.agents/skills/omg/health/SKILL.md +11 -0
  134. package/dist/public/bundle/.agents/skills/omg/health/openai.yaml +11 -0
  135. package/dist/public/bundle/.agents/skills/omg/hook-governor/SKILL.md +11 -0
  136. package/dist/public/bundle/.agents/skills/omg/hook-governor/openai.yaml +11 -0
  137. package/dist/public/bundle/.agents/skills/omg/incident-replay/SKILL.md +11 -0
  138. package/dist/public/bundle/.agents/skills/omg/incident-replay/openai.yaml +12 -0
  139. package/dist/public/bundle/.agents/skills/omg/lsp-pack/SKILL.md +11 -0
  140. package/dist/public/bundle/.agents/skills/omg/lsp-pack/openai.yaml +11 -0
  141. package/dist/public/bundle/.agents/skills/omg/mcp-fabric/SKILL.md +11 -0
  142. package/dist/public/bundle/.agents/skills/omg/mcp-fabric/openai.yaml +13 -0
  143. package/dist/public/bundle/.agents/skills/omg/preflight/SKILL.md +11 -0
  144. package/dist/public/bundle/.agents/skills/omg/preflight/openai.yaml +12 -0
  145. package/dist/public/bundle/.agents/skills/omg/remote-supervisor/SKILL.md +11 -0
  146. package/dist/public/bundle/.agents/skills/omg/remote-supervisor/openai.yaml +12 -0
  147. package/dist/public/bundle/.agents/skills/omg/robotics/SKILL.md +11 -0
  148. package/dist/public/bundle/.agents/skills/omg/robotics/openai.yaml +11 -0
  149. package/dist/public/bundle/.agents/skills/omg/secure-worktree-pipeline/SKILL.md +11 -0
  150. package/dist/public/bundle/.agents/skills/omg/secure-worktree-pipeline/openai.yaml +12 -0
  151. package/dist/public/bundle/.agents/skills/omg/security-check/SKILL.md +11 -0
  152. package/dist/public/bundle/.agents/skills/omg/security-check/openai.yaml +13 -0
  153. package/dist/public/bundle/.agents/skills/omg/tracebank/SKILL.md +11 -0
  154. package/dist/public/bundle/.agents/skills/omg/tracebank/openai.yaml +12 -0
  155. package/dist/public/bundle/.agents/skills/omg/vision/SKILL.md +11 -0
  156. package/dist/public/bundle/.agents/skills/omg/vision/openai.yaml +11 -0
  157. package/dist/public/bundle/.claude-plugin/marketplace.json +36 -0
  158. package/dist/public/bundle/.claude-plugin/plugin.json +23 -0
  159. package/dist/public/bundle/.mcp.json +40 -0
  160. package/dist/public/bundle/OMG_COMPAT_CONTRACT.md +92 -0
  161. package/dist/public/bundle/registry/bundles/algorithms.yaml +45 -0
  162. package/dist/public/bundle/registry/bundles/api-twin.yaml +48 -0
  163. package/dist/public/bundle/registry/bundles/control-plane.yaml +61 -0
  164. package/dist/public/bundle/registry/bundles/data-lineage.yaml +47 -0
  165. package/dist/public/bundle/registry/bundles/delta-classifier.yaml +47 -0
  166. package/dist/public/bundle/registry/bundles/eval-gate.yaml +47 -0
  167. package/dist/public/bundle/registry/bundles/health.yaml +45 -0
  168. package/dist/public/bundle/registry/bundles/hook-governor.yaml +97 -0
  169. package/dist/public/bundle/registry/bundles/incident-replay.yaml +47 -0
  170. package/dist/public/bundle/registry/bundles/lsp-pack.yaml +48 -0
  171. package/dist/public/bundle/registry/bundles/mcp-fabric.yaml +53 -0
  172. package/dist/public/bundle/registry/bundles/preflight.yaml +48 -0
  173. package/dist/public/bundle/registry/bundles/remote-supervisor.yaml +49 -0
  174. package/dist/public/bundle/registry/bundles/robotics.yaml +45 -0
  175. package/dist/public/bundle/registry/bundles/secure-worktree-pipeline.yaml +54 -0
  176. package/dist/public/bundle/registry/bundles/security-check.yaml +50 -0
  177. package/dist/public/bundle/registry/bundles/tracebank.yaml +47 -0
  178. package/dist/public/bundle/registry/bundles/vision.yaml +45 -0
  179. package/dist/public/bundle/registry/omg-capability.schema.json +80 -0
  180. package/dist/public/bundle/settings.json +379 -0
  181. package/dist/public/manifest.json +255 -0
  182. package/docs/assets/omg-hud.svg +32 -0
  183. package/docs/install/claude-code.md +31 -0
  184. package/docs/install/codex.md +29 -0
  185. package/docs/migration/native-adoption.md +57 -0
  186. package/docs/proof.md +55 -0
  187. package/docs/release-checklist.md +38 -0
  188. package/docs/transcripts/crazy.md +17 -0
  189. package/docs/transcripts/setup.md +25 -0
  190. package/hooks/policy_engine.py +38 -7
  191. package/hooks/post-write.py +1 -1
  192. package/hooks/prompt-enhancer.py +1 -1
  193. package/hooks/security_validators.py +75 -0
  194. package/hooks/setup_wizard.py +43 -8
  195. package/hooks/shadow_manager.py +28 -2
  196. package/package.json +1 -1
  197. package/plugins/README.md +3 -1
  198. package/plugins/__init__.py +1 -0
  199. package/plugins/advanced/commands/OMG:deep-plan.md +1 -1
  200. package/plugins/advanced/commands/OMG:security-review.md +10 -113
  201. package/plugins/advanced/commands/OMG:ship.md +1 -1
  202. package/plugins/advanced/plugin.json +1 -10
  203. package/plugins/core/plugin.json +25 -2
  204. package/pyproject.toml +38 -2
  205. package/registry/__init__.py +1 -0
  206. package/registry/bundles/algorithms.yaml +45 -0
  207. package/registry/bundles/api-twin.yaml +48 -0
  208. package/registry/bundles/control-plane.yaml +61 -0
  209. package/registry/bundles/data-lineage.yaml +47 -0
  210. package/registry/bundles/delta-classifier.yaml +47 -0
  211. package/registry/bundles/eval-gate.yaml +47 -0
  212. package/registry/bundles/health.yaml +45 -0
  213. package/registry/bundles/hook-governor.yaml +97 -0
  214. package/registry/bundles/incident-replay.yaml +47 -0
  215. package/registry/bundles/lsp-pack.yaml +48 -0
  216. package/registry/bundles/mcp-fabric.yaml +53 -0
  217. package/registry/bundles/preflight.yaml +48 -0
  218. package/registry/bundles/remote-supervisor.yaml +49 -0
  219. package/registry/bundles/robotics.yaml +45 -0
  220. package/registry/bundles/secure-worktree-pipeline.yaml +54 -0
  221. package/registry/bundles/security-check.yaml +50 -0
  222. package/registry/bundles/tracebank.yaml +47 -0
  223. package/registry/bundles/vision.yaml +45 -0
  224. package/registry/omg-capability.schema.json +80 -0
  225. package/registry/verify_artifact.py +90 -0
  226. package/runtime/adapters/claude.py +3 -0
  227. package/runtime/adapters/gpt.py +3 -0
  228. package/runtime/adapters/local.py +3 -0
  229. package/runtime/adoption.py +1 -1
  230. package/runtime/api_twin.py +179 -0
  231. package/runtime/asset_loader.py +62 -0
  232. package/runtime/compat.py +24 -3
  233. package/runtime/contract_compiler.py +847 -0
  234. package/runtime/data_lineage.py +73 -0
  235. package/runtime/delta_classifier.py +81 -0
  236. package/runtime/domain_packs.py +46 -0
  237. package/runtime/ecosystem.py +1 -1
  238. package/runtime/eval_gate.py +50 -0
  239. package/runtime/guide_assert.py +45 -0
  240. package/runtime/incident_replay.py +47 -0
  241. package/runtime/mcp_config_writers.py +147 -30
  242. package/runtime/mcp_memory_server.py +1 -1
  243. package/runtime/omg_compat_contract_snapshot.json +9 -8
  244. package/runtime/omg_contract_snapshot.json +9 -8
  245. package/runtime/omg_mcp_server.py +207 -0
  246. package/runtime/preflight.py +73 -0
  247. package/runtime/providers/codex_provider.py +2 -12
  248. package/runtime/providers/gemini_provider.py +2 -21
  249. package/runtime/providers/kimi_provider.py +2 -21
  250. package/runtime/remote_supervisor.py +64 -0
  251. package/runtime/runtime_profile.py +61 -0
  252. package/runtime/security_check.py +464 -0
  253. package/runtime/subagent_dispatcher.py +117 -10
  254. package/runtime/team_router.py +3 -1
  255. package/runtime/tracebank.py +53 -0
  256. package/runtime/untrusted_content.py +102 -0
  257. package/scripts/omg.py +360 -2
  258. package/settings.json +81 -18
  259. package/tools/python_repl.py +33 -3
@@ -0,0 +1,11 @@
1
+ name: omg-vision
2
+ description: "Vision-specific lineage, drift, and replay attachments."
3
+ allow_implicit_invocation: false
4
+ metadata:
5
+ channel: enterprise
6
+ bundle_id: vision
7
+ title: "OMG Vision Pack"
8
+ mcp_servers:
9
+ - omg-control
10
+ allowed_tools:
11
+ - "Read"
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "omg",
3
+ "description": "Marketplace metadata for the OMG Claude plugin",
4
+ "owner": {
5
+ "name": "trac3er00"
6
+ },
7
+ "metadata": {
8
+ "description": "OMG - Oh-My-God for Claude Code",
9
+ "version": "2.0.5",
10
+ "homepage": "https://github.com/trac3er00/OMG",
11
+ "repository": "https://github.com/trac3er00/OMG"
12
+ },
13
+ "plugins": [
14
+ {
15
+ "name": "omg",
16
+ "description": "OMG plugin layer for Claude Code with native setup, orchestration, and interop.",
17
+ "version": "2.0.5",
18
+ "source": "./",
19
+ "author": {
20
+ "name": "trac3er00"
21
+ },
22
+ "license": "MIT",
23
+ "category": "productivity",
24
+ "tags": [
25
+ "orchestration",
26
+ "automation",
27
+ "multi-agent",
28
+ "omg",
29
+ "codex",
30
+ "gemini",
31
+ "crazy-mode"
32
+ ]
33
+ }
34
+ ],
35
+ "version": "2.0.5"
36
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "name": "omg",
3
+ "version": "2.0.5",
4
+ "description": "OMG plugin layer for Claude Code with native setup, orchestration, and interop.",
5
+ "author": {
6
+ "name": "trac3er00"
7
+ },
8
+ "repository": "https://github.com/trac3er00/OMG",
9
+ "homepage": "https://github.com/trac3er00/OMG",
10
+ "license": "MIT",
11
+ "keywords": [
12
+ "claude-code",
13
+ "plugin",
14
+ "orchestration",
15
+ "multi-agent",
16
+ "omg",
17
+ "codex",
18
+ "gemini",
19
+ "crazy-mode",
20
+ "escalation"
21
+ ],
22
+ "mcpServers": "./.mcp.json"
23
+ }
@@ -0,0 +1,40 @@
1
+ {
2
+ "mcpServers": {
3
+ "context7": {
4
+ "command": "npx",
5
+ "args": [
6
+ "@upstash/context7-mcp@2.1.3"
7
+ ]
8
+ },
9
+ "filesystem": {
10
+ "command": "npx",
11
+ "args": [
12
+ "@modelcontextprotocol/server-filesystem@2026.1.14",
13
+ "."
14
+ ]
15
+ },
16
+ "websearch": {
17
+ "command": "npx",
18
+ "args": [
19
+ "@zhafron/mcp-web-search@1.2.2"
20
+ ]
21
+ },
22
+ "chrome-devtools": {
23
+ "command": "npx",
24
+ "args": [
25
+ "chrome-devtools-mcp@0.19.0"
26
+ ]
27
+ },
28
+ "omg-memory": {
29
+ "type": "http",
30
+ "url": "http://127.0.0.1:8765/mcp"
31
+ },
32
+ "omg-control": {
33
+ "command": "python3",
34
+ "args": [
35
+ "-m",
36
+ "runtime.omg_mcp_server"
37
+ ]
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,92 @@
1
+ ---
2
+ title: OMG Production Control Plane
3
+ version: 2.0.5
4
+ canonical_hosts:
5
+ - claude
6
+ - codex
7
+ status: active
8
+ ---
9
+
10
+ # OMG Production Control Plane
11
+
12
+ `OMG_COMPAT_CONTRACT.md` is the normative human-readable contract for OMG capability bundles. Machine-readable manifests in `registry/bundles/` are executable inputs and must remain version-locked to this document.
13
+
14
+ ## metadata
15
+
16
+ Every bundle must declare `id`, `kind`, `version`, `title`, `description`, `hosts`, and `assets`.
17
+
18
+ ## invocation_policy
19
+
20
+ Every bundle must declare whether it is user invocable, model invocable, and whether implicit invocation is allowed. Production bundles default to explicit invocation only.
21
+
22
+ ## tool_policy
23
+
24
+ Every bundle must declare `side_effect_level` and host-specific allowed tools. Production policy protects `.omg/`, `.agents/`, `.codex/`, and `.claude/` as control-plane state.
25
+
26
+ ## lifecycle_hooks
27
+
28
+ Canonical OMG events:
29
+
30
+ - `SessionStart`
31
+ - `SessionEnd`
32
+ - `PreToolUse`
33
+ - `PostToolUse`
34
+ - `PostToolUseFailure`
35
+ - `Stop`
36
+ - `PreCompact`
37
+ - `ConfigChange`
38
+ - `WorktreeCreate`
39
+ - `WorktreeRemove`
40
+ - `SubagentStart`
41
+ - `SubagentStop`
42
+ - `TaskCompleted`
43
+
44
+ Hosts compile native events where available and emulate the rest with OMG runtime wrappers.
45
+
46
+ ## mcp_contract
47
+
48
+ Bundles may declare MCP servers, prompts, resources, and server instructions. `omg-control` is the primary stdio server. HTTP control-plane exposure is loopback-only and not a production launch dependency.
49
+
50
+ ## lsp_contract
51
+
52
+ LSP packs declare supported languages, diagnostics expectations, and evidence outputs for post-edit checks.
53
+
54
+ ## evidence_outputs
55
+
56
+ Bundles declare reproducible evidence artifacts under `.omg/evidence/` or `.omg/state/`. Release-ready bundles must emit deterministic outputs suitable for CI drift checks.
57
+
58
+ ## execution_contract
59
+
60
+ Supported execution modes:
61
+
62
+ - `embedded`
63
+ - `local_supervisor`
64
+ - `automation`
65
+ - `ephemeral_worktree`
66
+
67
+ `local_supervisor` means a same-machine orchestrator driving Claude and Codex workers through local CLI or stdio MCP integration. Remote multi-tenant control planes are out of scope for this version.
68
+
69
+ ## host_compilation_rules
70
+
71
+ Claude outputs compile to:
72
+
73
+ - `.claude-plugin/plugin.json`
74
+ - `.claude-plugin/marketplace.json`
75
+ - `.mcp.json`
76
+ - generated hook configuration consumed by `settings.json`
77
+
78
+ Codex outputs compile to:
79
+
80
+ - `.agents/skills/omg/<bundle>/SKILL.md`
81
+ - `.agents/skills/omg/<bundle>/openai.yaml`
82
+ - generated Codex MCP and rule fragments under `.agents/skills/omg/`
83
+
84
+ ## roadmap_extensions
85
+
86
+ The contract reserves compilation anchors for:
87
+
88
+ - `omg.skill-compiler`
89
+ - `omg.hook-governor`
90
+ - `omg.mcp-fabric`
91
+ - `omg.lsp-pack`
92
+ - `omg.secure-worktree-pipeline`
@@ -0,0 +1,45 @@
1
+ id: algorithms
2
+ kind: domain-pack
3
+ version: 2.0.5
4
+ title: OMG Algorithms Pack
5
+ description: Determinism and benchmark attachments for algorithm-heavy work.
6
+ hosts:
7
+ - claude
8
+ - codex
9
+ assets:
10
+ references:
11
+ - runtime/domain_packs.py
12
+ invocation_policy:
13
+ user_invocable: true
14
+ model_invocable: true
15
+ allow_implicit_invocation: false
16
+ tool_policy:
17
+ side_effect_level: medium
18
+ allowed_tools:
19
+ claude:
20
+ - Read
21
+ codex:
22
+ - Read
23
+ lifecycle_hooks:
24
+ native:
25
+ - PostToolUse
26
+ emulated:
27
+ - TaskCompleted
28
+ mcp_contract:
29
+ servers:
30
+ - omg-control
31
+ lsp_contract:
32
+ languages:
33
+ - python
34
+ evidence_outputs:
35
+ artifacts:
36
+ - .omg/evals/latest.json
37
+ execution_contract:
38
+ modes:
39
+ - embedded
40
+ - local_supervisor
41
+ channel_overrides:
42
+ public:
43
+ benchmarks: advisory
44
+ enterprise:
45
+ benchmarks: required
@@ -0,0 +1,48 @@
1
+ id: api-twin
2
+ kind: simulation
3
+ version: 2.0.5
4
+ title: OMG API Twin
5
+ description: Versioned endpoint cassette replay with latency, drift, and cost reporting.
6
+ hosts:
7
+ - claude
8
+ - codex
9
+ assets:
10
+ references:
11
+ - runtime/api_twin.py
12
+ - commands/OMG:api-twin.md
13
+ invocation_policy:
14
+ user_invocable: true
15
+ model_invocable: true
16
+ allow_implicit_invocation: false
17
+ tool_policy:
18
+ side_effect_level: medium
19
+ allowed_tools:
20
+ claude:
21
+ - Read
22
+ - Bash(python3:*)
23
+ codex:
24
+ - Read
25
+ - Bash(python3:*)
26
+ lifecycle_hooks:
27
+ native:
28
+ - PostToolUse
29
+ emulated:
30
+ - TaskCompleted
31
+ mcp_contract:
32
+ servers:
33
+ - omg-control
34
+ lsp_contract:
35
+ languages:
36
+ - python
37
+ evidence_outputs:
38
+ artifacts:
39
+ - .omg/state/api_twin.json
40
+ execution_contract:
41
+ modes:
42
+ - embedded
43
+ - local_supervisor
44
+ channel_overrides:
45
+ public:
46
+ fidelity: validated
47
+ enterprise:
48
+ fidelity: policy-required
@@ -0,0 +1,61 @@
1
+ id: control-plane
2
+ kind: skill
3
+ version: 2.0.5
4
+ title: OMG Control Plane
5
+ description: Canonical production control plane bundle for Claude and Codex.
6
+ hosts:
7
+ - claude
8
+ - codex
9
+ assets:
10
+ references:
11
+ - OMG_COMPAT_CONTRACT.md
12
+ - docs/release-checklist.md
13
+ invocation_policy:
14
+ user_invocable: true
15
+ model_invocable: false
16
+ allow_implicit_invocation: false
17
+ tool_policy:
18
+ side_effect_level: medium
19
+ allowed_tools:
20
+ claude:
21
+ - Read
22
+ - Grep
23
+ - Bash(python3:*)
24
+ codex:
25
+ - Read
26
+ - Grep
27
+ - Bash(python3:*)
28
+ lifecycle_hooks:
29
+ native:
30
+ - SessionStart
31
+ - PreToolUse
32
+ - PostToolUse
33
+ emulated:
34
+ - PreCompact
35
+ - WorktreeCreate
36
+ - WorktreeRemove
37
+ mcp_contract:
38
+ servers:
39
+ - omg-control
40
+ - omg-memory
41
+ prompts:
42
+ - omg_contract_summary
43
+ resources:
44
+ - resource://omg/contract
45
+ - resource://omg/release-checklist
46
+ lsp_contract:
47
+ languages:
48
+ - python
49
+ - typescript
50
+ evidence_outputs:
51
+ artifacts:
52
+ - .omg/evidence/control-plane-compile.json
53
+ execution_contract:
54
+ modes:
55
+ - embedded
56
+ - local_supervisor
57
+ channel_overrides:
58
+ public:
59
+ posture: self-serve
60
+ enterprise:
61
+ posture: managed
@@ -0,0 +1,47 @@
1
+ id: data-lineage
2
+ kind: provenance
3
+ version: 2.0.5
4
+ title: OMG Data Lineage
5
+ description: Provenance and privacy tracking for traces, fixtures, examples, and synthetic artifacts.
6
+ hosts:
7
+ - claude
8
+ - codex
9
+ assets:
10
+ references:
11
+ - runtime/data_lineage.py
12
+ invocation_policy:
13
+ user_invocable: true
14
+ model_invocable: true
15
+ allow_implicit_invocation: true
16
+ tool_policy:
17
+ side_effect_level: medium
18
+ allowed_tools:
19
+ claude:
20
+ - Read
21
+ - Bash(python3:*)
22
+ codex:
23
+ - Read
24
+ - Bash(python3:*)
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
+ - python
36
+ evidence_outputs:
37
+ artifacts:
38
+ - .omg/lineage/*.json
39
+ execution_contract:
40
+ modes:
41
+ - embedded
42
+ - local_supervisor
43
+ channel_overrides:
44
+ public:
45
+ provenance: required
46
+ enterprise:
47
+ provenance: required
@@ -0,0 +1,47 @@
1
+ id: delta-classifier
2
+ kind: routing
3
+ version: 2.0.5
4
+ title: OMG Delta Classifier
5
+ description: Change classifier that attaches risk-aware checks, approvals, and packs.
6
+ hosts:
7
+ - claude
8
+ - codex
9
+ assets:
10
+ references:
11
+ - runtime/delta_classifier.py
12
+ invocation_policy:
13
+ user_invocable: true
14
+ model_invocable: true
15
+ allow_implicit_invocation: true
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
+ - SessionStart
28
+ emulated:
29
+ - TaskCompleted
30
+ mcp_contract:
31
+ servers:
32
+ - omg-control
33
+ lsp_contract:
34
+ languages:
35
+ - python
36
+ evidence_outputs:
37
+ artifacts:
38
+ - .omg/tracebank/events.jsonl
39
+ execution_contract:
40
+ modes:
41
+ - embedded
42
+ - local_supervisor
43
+ channel_overrides:
44
+ public:
45
+ classification: advisory
46
+ enterprise:
47
+ classification: required
@@ -0,0 +1,47 @@
1
+ id: eval-gate
2
+ kind: evaluation
3
+ version: 2.0.5
4
+ title: OMG Eval Gate
5
+ description: Reproducible evaluation gate that blocks regressions before release.
6
+ hosts:
7
+ - claude
8
+ - codex
9
+ assets:
10
+ references:
11
+ - runtime/eval_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: medium
18
+ allowed_tools:
19
+ claude:
20
+ - Read
21
+ - Bash(python3:*)
22
+ codex:
23
+ - Read
24
+ - Bash(python3:*)
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
+ - python
36
+ evidence_outputs:
37
+ artifacts:
38
+ - .omg/evals/latest.json
39
+ execution_contract:
40
+ modes:
41
+ - embedded
42
+ - local_supervisor
43
+ channel_overrides:
44
+ public:
45
+ regressions: block
46
+ enterprise:
47
+ regressions: block
@@ -0,0 +1,45 @@
1
+ id: health
2
+ kind: domain-pack
3
+ version: 2.0.5
4
+ title: OMG Health Pack
5
+ description: Health-sensitive approvals, provenance, and replay attachments.
6
+ hosts:
7
+ - claude
8
+ - codex
9
+ assets:
10
+ references:
11
+ - runtime/domain_packs.py
12
+ invocation_policy:
13
+ user_invocable: true
14
+ model_invocable: true
15
+ allow_implicit_invocation: false
16
+ tool_policy:
17
+ side_effect_level: high
18
+ allowed_tools:
19
+ claude:
20
+ - Read
21
+ codex:
22
+ - Read
23
+ lifecycle_hooks:
24
+ native:
25
+ - PostToolUse
26
+ emulated:
27
+ - TaskCompleted
28
+ mcp_contract:
29
+ servers:
30
+ - omg-control
31
+ lsp_contract:
32
+ languages:
33
+ - python
34
+ evidence_outputs:
35
+ artifacts:
36
+ - .omg/lineage/*.json
37
+ execution_contract:
38
+ modes:
39
+ - embedded
40
+ - local_supervisor
41
+ channel_overrides:
42
+ public:
43
+ approvals: required
44
+ enterprise:
45
+ approvals: enforced
@@ -0,0 +1,97 @@
1
+ id: hook-governor
2
+ kind: governance
3
+ version: 2.0.5
4
+ title: OMG Hook Governor
5
+ description: Canonical hook ordering, policy reinjection, and protected-path governance.
6
+ hosts:
7
+ - claude
8
+ - codex
9
+ assets:
10
+ references:
11
+ - settings.json
12
+ - hooks/pre-compact.py
13
+ invocation_policy:
14
+ user_invocable: false
15
+ model_invocable: false
16
+ allow_implicit_invocation: true
17
+ tool_policy:
18
+ side_effect_level: low
19
+ allowed_tools:
20
+ claude:
21
+ - Read
22
+ codex:
23
+ - Read
24
+ lifecycle_hooks:
25
+ native:
26
+ - SessionStart
27
+ - SessionEnd
28
+ - PreToolUse
29
+ - PostToolUse
30
+ - PostToolUseFailure
31
+ - Stop
32
+ emulated:
33
+ - PreCompact
34
+ - ConfigChange
35
+ - WorktreeCreate
36
+ - WorktreeRemove
37
+ - SubagentStart
38
+ - SubagentStop
39
+ - TaskCompleted
40
+ compiled_hooks:
41
+ SessionStart:
42
+ - command: python3 "$HOME/.claude/hooks/session-start.py"
43
+ timeout: 10
44
+ SessionEnd:
45
+ - command: python3 "$HOME/.claude/hooks/session-end-capture.py"
46
+ PreToolUse:
47
+ - matcher: Bash
48
+ command: python3 "$HOME/.claude/hooks/firewall.py"
49
+ timeout: 10
50
+ - matcher: Read|Write|Edit|MultiEdit
51
+ command: python3 "$HOME/.claude/hooks/secret-guard.py"
52
+ timeout: 10
53
+ - matcher: ""
54
+ command: python3 "$HOME/.claude/hooks/pre-tool-inject.py"
55
+ PostToolUse:
56
+ - matcher: Bash
57
+ command: python3 "$HOME/.claude/hooks/circuit-breaker.py"
58
+ timeout: 10
59
+ - matcher: Write|Edit|MultiEdit
60
+ command: python3 "$HOME/.claude/hooks/tool-ledger.py"
61
+ timeout: 10
62
+ - matcher: Write|Edit|MultiEdit
63
+ command: python3 "$HOME/.claude/hooks/test_generator_hook.py"
64
+ timeout: 10
65
+ - matcher: ""
66
+ command: python3 "$HOME/.claude/hooks/budget_governor.py"
67
+ timeout: 10
68
+ PostToolUseFailure:
69
+ - command: python3 "$HOME/.claude/hooks/post-tool-failure.py"
70
+ Stop:
71
+ - matcher: ""
72
+ command: python3 "$HOME/.claude/hooks/stop_dispatcher.py"
73
+ timeout: 90
74
+ mcp_contract:
75
+ servers:
76
+ - omg-control
77
+ lsp_contract:
78
+ languages:
79
+ - python
80
+ evidence_outputs:
81
+ artifacts:
82
+ - .omg/state/ledger/tool-ledger.jsonl
83
+ execution_contract:
84
+ modes:
85
+ - embedded
86
+ - local_supervisor
87
+ channel_overrides:
88
+ public:
89
+ protected_paths:
90
+ - .omg/**
91
+ - .agents/**
92
+ enterprise:
93
+ protected_paths:
94
+ - .omg/**
95
+ - .agents/**
96
+ - .claude/**
97
+ - .codex/**
@@ -0,0 +1,47 @@
1
+ id: incident-replay
2
+ kind: debugging
3
+ version: 2.0.5
4
+ title: OMG Incident Replay
5
+ description: Replayable bug packs built from logs, failing tests, traces, and diffs.
6
+ hosts:
7
+ - claude
8
+ - codex
9
+ assets:
10
+ references:
11
+ - runtime/incident_replay.py
12
+ invocation_policy:
13
+ user_invocable: true
14
+ model_invocable: true
15
+ allow_implicit_invocation: false
16
+ tool_policy:
17
+ side_effect_level: medium
18
+ allowed_tools:
19
+ claude:
20
+ - Read
21
+ - Bash(python3:*)
22
+ codex:
23
+ - Read
24
+ - Bash(python3:*)
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
+ - python
36
+ evidence_outputs:
37
+ artifacts:
38
+ - .omg/incidents/*.json
39
+ execution_contract:
40
+ modes:
41
+ - embedded
42
+ - local_supervisor
43
+ channel_overrides:
44
+ public:
45
+ replay: available
46
+ enterprise:
47
+ replay: required