@trac3er/oh-my-god 2.0.2 → 2.0.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.
- package/.agents/skills/omg/AGENTS.fragment.md +5 -0
- package/.agents/skills/omg/codex-mcp.toml +4 -0
- package/.agents/skills/omg/control-plane/SKILL.md +11 -0
- package/.agents/skills/omg/control-plane/openai.yaml +14 -0
- package/.agents/skills/omg/hook-governor/SKILL.md +11 -0
- package/.agents/skills/omg/hook-governor/openai.yaml +11 -0
- package/.agents/skills/omg/lsp-pack/SKILL.md +11 -0
- package/.agents/skills/omg/lsp-pack/openai.yaml +11 -0
- package/.agents/skills/omg/mcp-fabric/SKILL.md +11 -0
- package/.agents/skills/omg/mcp-fabric/openai.yaml +13 -0
- package/.agents/skills/omg/secure-worktree-pipeline/SKILL.md +11 -0
- package/.agents/skills/omg/secure-worktree-pipeline/openai.yaml +12 -0
- package/.claude-plugin/marketplace.json +3 -3
- package/.claude-plugin/plugin.json +1 -1
- package/.mcp.json +20 -4
- package/CHANGELOG.md +16 -0
- package/OMG-setup.sh +9 -3
- package/OMG_COMPAT_CONTRACT.md +92 -0
- package/README.md +26 -8
- package/SECURITY.md +6 -0
- package/commands/OMG:api-twin.md +22 -0
- package/commands/OMG:preflight.md +26 -0
- package/commands/OMG:security-check.md +28 -0
- package/commands/OMG:setup.md +1 -2
- package/dist/enterprise/bundle/.agents/skills/omg/AGENTS.fragment.md +5 -0
- package/dist/enterprise/bundle/.agents/skills/omg/codex-mcp.toml +4 -0
- package/dist/enterprise/bundle/.agents/skills/omg/control-plane/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/control-plane/openai.yaml +14 -0
- package/dist/enterprise/bundle/.agents/skills/omg/hook-governor/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/hook-governor/openai.yaml +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/lsp-pack/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/lsp-pack/openai.yaml +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/mcp-fabric/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/mcp-fabric/openai.yaml +13 -0
- package/dist/enterprise/bundle/.agents/skills/omg/secure-worktree-pipeline/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/secure-worktree-pipeline/openai.yaml +12 -0
- package/dist/enterprise/bundle/.claude-plugin/marketplace.json +36 -0
- package/dist/enterprise/bundle/.claude-plugin/plugin.json +23 -0
- package/dist/enterprise/bundle/.mcp.json +40 -0
- package/dist/enterprise/bundle/OMG_COMPAT_CONTRACT.md +92 -0
- package/dist/enterprise/bundle/settings.json +366 -0
- package/dist/enterprise/manifest.json +99 -0
- package/dist/public/bundle/.agents/skills/omg/AGENTS.fragment.md +5 -0
- package/dist/public/bundle/.agents/skills/omg/codex-mcp.toml +4 -0
- package/dist/public/bundle/.agents/skills/omg/control-plane/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/control-plane/openai.yaml +14 -0
- package/dist/public/bundle/.agents/skills/omg/hook-governor/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/hook-governor/openai.yaml +11 -0
- package/dist/public/bundle/.agents/skills/omg/lsp-pack/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/lsp-pack/openai.yaml +11 -0
- package/dist/public/bundle/.agents/skills/omg/mcp-fabric/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/mcp-fabric/openai.yaml +13 -0
- package/dist/public/bundle/.agents/skills/omg/secure-worktree-pipeline/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/secure-worktree-pipeline/openai.yaml +12 -0
- package/dist/public/bundle/.claude-plugin/marketplace.json +36 -0
- package/dist/public/bundle/.claude-plugin/plugin.json +23 -0
- package/dist/public/bundle/.mcp.json +40 -0
- package/dist/public/bundle/OMG_COMPAT_CONTRACT.md +92 -0
- package/dist/public/bundle/settings.json +366 -0
- package/dist/public/manifest.json +99 -0
- package/hooks/policy_engine.py +38 -7
- package/hooks/post-write.py +1 -1
- package/hooks/prompt-enhancer.py +2 -2
- package/hooks/security_validators.py +75 -0
- package/hooks/setup_wizard.py +44 -20
- package/hooks/shadow_manager.py +22 -2
- package/package.json +1 -1
- package/plugins/README.md +4 -2
- package/plugins/advanced/commands/OMG:deep-plan.md +1 -1
- package/plugins/advanced/commands/OMG:security-review.md +10 -113
- package/plugins/advanced/commands/OMG:ship.md +1 -1
- package/plugins/advanced/plugin.json +1 -10
- package/plugins/core/plugin.json +25 -2
- package/pyproject.toml +1 -1
- package/runtime/adoption.py +1 -1
- package/runtime/api_twin.py +130 -0
- package/runtime/compat.py +21 -1
- package/runtime/contract_compiler.py +698 -0
- package/runtime/domain_packs.py +34 -0
- package/runtime/guide_assert.py +45 -0
- package/runtime/mcp_config_writers.py +145 -39
- package/runtime/omg_compat_contract_snapshot.json +8 -7
- package/runtime/omg_contract_snapshot.json +8 -7
- package/runtime/omg_mcp_server.py +205 -0
- package/runtime/preflight.py +52 -0
- package/runtime/providers/codex_provider.py +2 -12
- package/runtime/providers/gemini_provider.py +2 -21
- package/runtime/providers/kimi_provider.py +2 -21
- package/runtime/runtime_profile.py +61 -0
- package/runtime/security_check.py +347 -0
- package/runtime/subagent_dispatcher.py +117 -10
- package/runtime/team_router.py +3 -3
- package/runtime/untrusted_content.py +102 -0
- package/scripts/omg.py +174 -1
- package/settings.json +66 -18
- package/tools/python_repl.py +33 -3
- package/runtime/providers/opencode_provider.py +0 -144
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "OmgCompiledArtifactManifest",
|
|
3
|
+
"channel": "enterprise",
|
|
4
|
+
"contract_version": "2.0.4",
|
|
5
|
+
"artifacts": [
|
|
6
|
+
{
|
|
7
|
+
"path": "bundle/.agents/skills/omg/AGENTS.fragment.md",
|
|
8
|
+
"sha256": "ac0d35aa2a8d27a246627c7e9bbbe8cab5a50b7b25b2a16bb451f4c79f263d7d"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"path": "bundle/.agents/skills/omg/codex-mcp.toml",
|
|
12
|
+
"sha256": "a56de208a369a2b318d2e66e150eef4cba1fac1ecf32bda6db1a1e4b65db7311"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
"path": "bundle/.agents/skills/omg/control-plane/SKILL.md",
|
|
16
|
+
"sha256": "e3a53f89e15018895691657eb3962f942558475d6faaae760e7d48774ce6a47e"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"path": "bundle/.agents/skills/omg/control-plane/openai.yaml",
|
|
20
|
+
"sha256": "e7ed793f93c54683ef34e7f43b5c0d9409ad203b77f26cda699a448a13037e6c"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"path": "bundle/.agents/skills/omg/hook-governor/SKILL.md",
|
|
24
|
+
"sha256": "7c745315ed02595fe0f6c927118dae49ddcb7a412ddff0c06cb0973f1d7b77ca"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"path": "bundle/.agents/skills/omg/hook-governor/openai.yaml",
|
|
28
|
+
"sha256": "a7c54e5933bcb7eddc1e0e901ca05174f9cd37065f3195d97839733a43bea30b"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"path": "bundle/.agents/skills/omg/lsp-pack/SKILL.md",
|
|
32
|
+
"sha256": "d5c6773fa614fe6747f205283a82374b2167d1d9b32e7fd75f429072fadb8a3a"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"path": "bundle/.agents/skills/omg/lsp-pack/openai.yaml",
|
|
36
|
+
"sha256": "6e99216f7b228e300a16ac3cbe4ae4fcbba6082b622387e6087b76a6cb76d3dc"
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"path": "bundle/.agents/skills/omg/mcp-fabric/SKILL.md",
|
|
40
|
+
"sha256": "fc17847f79397dba144ddbb40a8ad3207494c3a7f0b2dde1dc55dce2e5b117a9"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"path": "bundle/.agents/skills/omg/mcp-fabric/openai.yaml",
|
|
44
|
+
"sha256": "2165ff298b110ef7fb6c42b6b539f8397b8772218de3fa2b8c2332fdd8db6d48"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"path": "bundle/.agents/skills/omg/secure-worktree-pipeline/SKILL.md",
|
|
48
|
+
"sha256": "a11292d0122844f7c185e21943d3a39ef3213cf5348f40f006c8fdc8b62f252f"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"path": "bundle/.agents/skills/omg/secure-worktree-pipeline/openai.yaml",
|
|
52
|
+
"sha256": "c766a383969893fd29fcd1da712e29e0422709a7b9f665e53e1ca8187c2bd207"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"path": "bundle/.claude-plugin/marketplace.json",
|
|
56
|
+
"sha256": "cf1a17ce1e8db6814209126a79d5a05d057f354ef3ee49a74da4f18f2ec04597"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"path": "bundle/.claude-plugin/plugin.json",
|
|
60
|
+
"sha256": "6ad6db257f9e46528d94760ef895b6ffc87c78a8ec5ca05b430a46b46ee3dc08"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"path": "bundle/.mcp.json",
|
|
64
|
+
"sha256": "d8249fdd26e0df0a9b7cabcb34256d7e33578e1d0e9878cc91d43452a10f7c24"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"path": "bundle/OMG_COMPAT_CONTRACT.md",
|
|
68
|
+
"sha256": "fa91ec0dbff58d543df5a9e3a86a1fe1629104a383d4e1bd440a36cb5522189c"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"path": "bundle/registry/bundles/control-plane.yaml",
|
|
72
|
+
"sha256": "bb58e1d21a7f545548da10e7f9b83898d6ece8010a921b66d0f94a08c8ae0d8e"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"path": "bundle/registry/bundles/hook-governor.yaml",
|
|
76
|
+
"sha256": "93b13ea1e2098328349d33373595144f2f863274548bef47fd266d6cab210260"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"path": "bundle/registry/bundles/lsp-pack.yaml",
|
|
80
|
+
"sha256": "6c2ca235bdca31635d89c428c48a35a5414250e98c7349cd67ba900870203d9a"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"path": "bundle/registry/bundles/mcp-fabric.yaml",
|
|
84
|
+
"sha256": "2cb71fc331820b19c60c3275f521fb49d099ed7c31539fab9959a55d29ae0fe9"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"path": "bundle/registry/bundles/secure-worktree-pipeline.yaml",
|
|
88
|
+
"sha256": "b93e752cef8b5cbc76fb7aa32ebe80d30ce390193183bb0c79dedfa1ce89c4e9"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"path": "bundle/registry/omg-capability.schema.json",
|
|
92
|
+
"sha256": "b5a52c03c6d42c0ce0297a2d8c22f34ed1075062cc5434d3a85b9f4fa6a0f121"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"path": "bundle/settings.json",
|
|
96
|
+
"sha256": "60fb4f9e2bedd4d67af41a2e442ef37c9a89cd2077bf6dfe40761eec01586824"
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: omg-control-plane
|
|
3
|
+
description: "Canonical production control plane bundle for Claude and Codex."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# OMG Control Plane
|
|
7
|
+
|
|
8
|
+
- Channel: `public`
|
|
9
|
+
- Execution modes: `embedded, local_supervisor`
|
|
10
|
+
- MCP servers: `omg-control, omg-memory`
|
|
11
|
+
- Evidence outputs: `.omg/evidence/control-plane-compile.json`
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
name: omg-control-plane
|
|
2
|
+
description: "Canonical production control plane bundle for Claude and Codex."
|
|
3
|
+
allow_implicit_invocation: false
|
|
4
|
+
metadata:
|
|
5
|
+
channel: public
|
|
6
|
+
bundle_id: control-plane
|
|
7
|
+
title: "OMG Control Plane"
|
|
8
|
+
mcp_servers:
|
|
9
|
+
- omg-control
|
|
10
|
+
- omg-memory
|
|
11
|
+
allowed_tools:
|
|
12
|
+
- "Read"
|
|
13
|
+
- "Grep"
|
|
14
|
+
- "Bash(python3:*)"
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: omg-hook-governor
|
|
3
|
+
description: "Canonical hook ordering, policy reinjection, and protected-path governance."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# OMG Hook Governor
|
|
7
|
+
|
|
8
|
+
- Channel: `public`
|
|
9
|
+
- Execution modes: `embedded, local_supervisor`
|
|
10
|
+
- MCP servers: `omg-control`
|
|
11
|
+
- Evidence outputs: `.omg/state/ledger/tool-ledger.jsonl`
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
name: omg-hook-governor
|
|
2
|
+
description: "Canonical hook ordering, policy reinjection, and protected-path governance."
|
|
3
|
+
allow_implicit_invocation: true
|
|
4
|
+
metadata:
|
|
5
|
+
channel: public
|
|
6
|
+
bundle_id: hook-governor
|
|
7
|
+
title: "OMG Hook Governor"
|
|
8
|
+
mcp_servers:
|
|
9
|
+
- omg-control
|
|
10
|
+
allowed_tools:
|
|
11
|
+
- "Read"
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: omg-lsp-pack
|
|
3
|
+
description: "Optional LSP-backed diagnostics and navigation bundle for production verification."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# OMG LSP Pack
|
|
7
|
+
|
|
8
|
+
- Channel: `public`
|
|
9
|
+
- Execution modes: `embedded, local_supervisor`
|
|
10
|
+
- MCP servers: `omg-control`
|
|
11
|
+
- Evidence outputs: `.omg/evidence/lsp-diagnostics.json`
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
name: omg-lsp-pack
|
|
2
|
+
description: "Optional LSP-backed diagnostics and navigation bundle for production verification."
|
|
3
|
+
allow_implicit_invocation: false
|
|
4
|
+
metadata:
|
|
5
|
+
channel: public
|
|
6
|
+
bundle_id: lsp-pack
|
|
7
|
+
title: "OMG LSP Pack"
|
|
8
|
+
mcp_servers:
|
|
9
|
+
- omg-control
|
|
10
|
+
allowed_tools:
|
|
11
|
+
- "Read"
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: omg-mcp-fabric
|
|
3
|
+
description: "Tools, prompts, resources, and server instructions for the OMG control plane."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# OMG MCP Fabric
|
|
7
|
+
|
|
8
|
+
- Channel: `public`
|
|
9
|
+
- Execution modes: `embedded, local_supervisor`
|
|
10
|
+
- MCP servers: `omg-control, omg-memory`
|
|
11
|
+
- Evidence outputs: `.omg/evidence/mcp-fabric.json`
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
name: omg-mcp-fabric
|
|
2
|
+
description: "Tools, prompts, resources, and server instructions for the OMG control plane."
|
|
3
|
+
allow_implicit_invocation: false
|
|
4
|
+
metadata:
|
|
5
|
+
channel: public
|
|
6
|
+
bundle_id: mcp-fabric
|
|
7
|
+
title: "OMG MCP Fabric"
|
|
8
|
+
mcp_servers:
|
|
9
|
+
- omg-control
|
|
10
|
+
- omg-memory
|
|
11
|
+
allowed_tools:
|
|
12
|
+
- "Read"
|
|
13
|
+
- "Bash(python3:*)"
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: omg-secure-worktree-pipeline
|
|
3
|
+
description: "Ephemeral worktree execution and supervisor-safe worker dispatch for production jobs."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# OMG Secure Worktree Pipeline
|
|
7
|
+
|
|
8
|
+
- Channel: `public`
|
|
9
|
+
- Execution modes: `automation, ephemeral_worktree, local_supervisor`
|
|
10
|
+
- MCP servers: `omg-control`
|
|
11
|
+
- Evidence outputs: `.omg/evidence/subagents/*.json`
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
name: omg-secure-worktree-pipeline
|
|
2
|
+
description: "Ephemeral worktree execution and supervisor-safe worker dispatch for production jobs."
|
|
3
|
+
allow_implicit_invocation: false
|
|
4
|
+
metadata:
|
|
5
|
+
channel: public
|
|
6
|
+
bundle_id: secure-worktree-pipeline
|
|
7
|
+
title: "OMG Secure Worktree Pipeline"
|
|
8
|
+
mcp_servers:
|
|
9
|
+
- omg-control
|
|
10
|
+
allowed_tools:
|
|
11
|
+
- "Read"
|
|
12
|
+
- "Bash(git:*)"
|
|
@@ -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.4",
|
|
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.4",
|
|
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.4"
|
|
36
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "omg",
|
|
3
|
+
"version": "2.0.4",
|
|
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.4
|
|
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`
|