@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,54 @@
1
+ id: secure-worktree-pipeline
2
+ kind: runtime
3
+ version: 2.0.5
4
+ title: OMG Secure Worktree Pipeline
5
+ description: Ephemeral worktree execution and supervisor-safe worker dispatch for production jobs.
6
+ hosts:
7
+ - claude
8
+ - codex
9
+ assets:
10
+ references:
11
+ - runtime/subagent_dispatcher.py
12
+ - hooks/branch_manager.py
13
+ invocation_policy:
14
+ user_invocable: false
15
+ model_invocable: true
16
+ allow_implicit_invocation: false
17
+ tool_policy:
18
+ side_effect_level: high
19
+ allowed_tools:
20
+ claude:
21
+ - Read
22
+ - Bash(git:*)
23
+ codex:
24
+ - Read
25
+ - Bash(git:*)
26
+ lifecycle_hooks:
27
+ native:
28
+ - SessionStart
29
+ - Stop
30
+ emulated:
31
+ - WorktreeCreate
32
+ - WorktreeRemove
33
+ - SubagentStart
34
+ - SubagentStop
35
+ - TaskCompleted
36
+ mcp_contract:
37
+ servers:
38
+ - omg-control
39
+ lsp_contract:
40
+ languages:
41
+ - python
42
+ evidence_outputs:
43
+ artifacts:
44
+ - .omg/evidence/subagents/*.json
45
+ execution_contract:
46
+ modes:
47
+ - automation
48
+ - ephemeral_worktree
49
+ - local_supervisor
50
+ channel_overrides:
51
+ public:
52
+ worker_policy: local-only
53
+ enterprise:
54
+ worker_policy: managed-local
@@ -0,0 +1,50 @@
1
+ id: security-check
2
+ kind: security
3
+ version: 2.0.5
4
+ title: OMG Security Check
5
+ description: Canonical security audit bundle with provenance, trust scoring, and deterministic evidence.
6
+ hosts:
7
+ - claude
8
+ - codex
9
+ assets:
10
+ references:
11
+ - runtime/security_check.py
12
+ - commands/OMG:security-check.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
+ - Grep
23
+ - Bash(python3:*)
24
+ codex:
25
+ - Read
26
+ - Grep
27
+ - Bash(python3:*)
28
+ lifecycle_hooks:
29
+ native:
30
+ - PostToolUse
31
+ emulated:
32
+ - TaskCompleted
33
+ mcp_contract:
34
+ servers:
35
+ - omg-control
36
+ lsp_contract:
37
+ languages:
38
+ - python
39
+ evidence_outputs:
40
+ artifacts:
41
+ - .omg/evidence/security-check-*.json
42
+ execution_contract:
43
+ modes:
44
+ - embedded
45
+ - local_supervisor
46
+ channel_overrides:
47
+ public:
48
+ posture: self-serve
49
+ enterprise:
50
+ posture: managed
@@ -0,0 +1,47 @@
1
+ id: tracebank
2
+ kind: evidence
3
+ version: 2.0.5
4
+ title: OMG Tracebank
5
+ description: Structured plan-to-patch-to-verify trace capture for OMG routes.
6
+ hosts:
7
+ - claude
8
+ - codex
9
+ assets:
10
+ references:
11
+ - runtime/tracebank.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/tracebank/events.jsonl
39
+ execution_contract:
40
+ modes:
41
+ - embedded
42
+ - local_supervisor
43
+ channel_overrides:
44
+ public:
45
+ retention: project-local
46
+ enterprise:
47
+ retention: policy-managed
@@ -0,0 +1,45 @@
1
+ id: vision
2
+ kind: domain-pack
3
+ version: 2.0.5
4
+ title: OMG Vision Pack
5
+ description: Vision-specific lineage, drift, 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: 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/lineage/*.json
37
+ execution_contract:
38
+ modes:
39
+ - embedded
40
+ - local_supervisor
41
+ channel_overrides:
42
+ public:
43
+ drift_checks: advisory
44
+ enterprise:
45
+ drift_checks: required
@@ -0,0 +1,80 @@
1
+ {
2
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
3
+ "$id": "https://github.com/trac3er00/OMG/registry/omg-capability.schema.json",
4
+ "title": "OMG Capability Bundle",
5
+ "version": "2.0.5",
6
+ "type": "object",
7
+ "required": [
8
+ "id",
9
+ "kind",
10
+ "version",
11
+ "title",
12
+ "description",
13
+ "hosts",
14
+ "assets",
15
+ "invocation_policy",
16
+ "tool_policy",
17
+ "lifecycle_hooks",
18
+ "mcp_contract",
19
+ "lsp_contract",
20
+ "evidence_outputs",
21
+ "execution_contract",
22
+ "channel_overrides"
23
+ ],
24
+ "properties": {
25
+ "id": {
26
+ "type": "string"
27
+ },
28
+ "kind": {
29
+ "type": "string"
30
+ },
31
+ "version": {
32
+ "type": "string"
33
+ },
34
+ "title": {
35
+ "type": "string"
36
+ },
37
+ "description": {
38
+ "type": "string"
39
+ },
40
+ "hosts": {
41
+ "type": "array",
42
+ "items": {
43
+ "type": "string",
44
+ "enum": [
45
+ "claude",
46
+ "codex"
47
+ ]
48
+ },
49
+ "minItems": 1
50
+ },
51
+ "assets": {
52
+ "type": "object"
53
+ },
54
+ "invocation_policy": {
55
+ "type": "object"
56
+ },
57
+ "tool_policy": {
58
+ "type": "object"
59
+ },
60
+ "lifecycle_hooks": {
61
+ "type": "object"
62
+ },
63
+ "mcp_contract": {
64
+ "type": "object"
65
+ },
66
+ "lsp_contract": {
67
+ "type": "object"
68
+ },
69
+ "evidence_outputs": {
70
+ "type": "object"
71
+ },
72
+ "execution_contract": {
73
+ "type": "object"
74
+ },
75
+ "channel_overrides": {
76
+ "type": "object"
77
+ }
78
+ },
79
+ "additionalProperties": true
80
+ }
@@ -0,0 +1,379 @@
1
+ {
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.",
4
+ "permissions": {
5
+ "allow": [
6
+ "Agent",
7
+ "Read",
8
+ "Write",
9
+ "Edit",
10
+ "MultiEdit",
11
+ "Grep",
12
+ "Glob",
13
+ "Bash(ls *)",
14
+ "Bash(cat *)",
15
+ "Bash(head *)",
16
+ "Bash(tail *)",
17
+ "Bash(wc *)",
18
+ "Bash(grep *)",
19
+ "Bash(find *)",
20
+ "Bash(which *)",
21
+ "Bash(echo *)",
22
+ "Bash(printf *)",
23
+ "Bash(pwd)",
24
+ "Bash(whoami)",
25
+ "Bash(date *)",
26
+ "Bash(basename *)",
27
+ "Bash(dirname *)",
28
+ "Bash(realpath *)",
29
+ "Bash(stat *)",
30
+ "Bash(file *)",
31
+ "Bash(diff *)",
32
+ "Bash(sort *)",
33
+ "Bash(uniq *)",
34
+ "Bash(awk *)",
35
+ "Bash(sed *)",
36
+ "Bash(tr *)",
37
+ "Bash(cut *)",
38
+ "Bash(tee *)",
39
+ "Bash(xargs *)",
40
+ "Bash(jq *)",
41
+ "Bash(yq *)",
42
+ "Bash(tree *)",
43
+ "Bash(du *)",
44
+ "Bash(df *)",
45
+ "Bash(type *)",
46
+ "Bash(command *)",
47
+ "Bash(test *)",
48
+ "Bash([ *)",
49
+ "Bash(mkdir *)",
50
+ "Bash(touch *)",
51
+ "Bash(ln *)",
52
+ "Bash(cp *)",
53
+ "Bash(mv *)",
54
+ "Bash(git *)",
55
+ "Bash(npm *)",
56
+ "Bash(npx *)",
57
+ "Bash(yarn *)",
58
+ "Bash(pnpm *)",
59
+ "Bash(bun *)",
60
+ "Bash(pip *)",
61
+ "Bash(pip3 *)",
62
+ "Bash(uv *)",
63
+ "Bash(go *)",
64
+ "Bash(cargo *)",
65
+ "Bash(rustc *)",
66
+ "Bash(tsc *)",
67
+ "Bash(eslint *)",
68
+ "Bash(prettier *)",
69
+ "Bash(mypy *)",
70
+ "Bash(ruff *)",
71
+ "Bash(ruff format *)",
72
+ "Bash(pytest *)",
73
+ "Bash(jest *)",
74
+ "Bash(vitest *)",
75
+ "Bash(shellcheck *)",
76
+ "Bash(terraform validate *)",
77
+ "Bash(terraform fmt *)",
78
+ "Bash(terraform plan *)",
79
+ "Bash(terraform show *)",
80
+ "Bash(terraform state list *)",
81
+ "Bash(tmux *)",
82
+ "Bash(zip *)",
83
+ "Bash(unzip *)",
84
+ "Bash(tar *)",
85
+ "Bash(gzip *)",
86
+ "Bash(rg *)",
87
+ "Bash(gh *)"
88
+ ],
89
+ "ask": [
90
+ "Bash(curl *)",
91
+ "Bash(wget *)",
92
+ "Bash(ssh *)",
93
+ "Bash(scp *)",
94
+ "Bash(rsync *)",
95
+ "Bash(rm *)",
96
+ "Bash(sudo *)",
97
+ "Bash(kill *)",
98
+ "Bash(pkill *)",
99
+ "Bash(systemctl *)",
100
+ "Bash(reboot)",
101
+ "Bash(shutdown *)",
102
+ "Bash(dd *)",
103
+ "Bash(fdisk *)",
104
+ "Bash(mkfs *)",
105
+ "Bash(mount *)",
106
+ "Bash(umount *)",
107
+ "Bash(iptables *)",
108
+ "Bash(ufw *)",
109
+ "Bash(terraform apply *)",
110
+ "Bash(terraform destroy *)",
111
+ "Bash(terraform import *)",
112
+ "Bash(env *)",
113
+ "Bash(node *)",
114
+ "Bash(python *)",
115
+ "Bash(python3 *)",
116
+ "Bash(chmod *)",
117
+ "Bash(chown *)",
118
+ "Bash(docker *)",
119
+ "Bash(docker-compose *)",
120
+ "Bash(kubectl get *)",
121
+ "Bash(kubectl describe *)",
122
+ "Bash(kubectl logs *)",
123
+ "Bash(kubectl apply *)",
124
+ "Bash(kubectl exec *)",
125
+ "Bash(kubectl edit *)",
126
+ "Bash(kubectl patch *)",
127
+ "Bash(kubectl rollout *)",
128
+ "Bash(kubectl scale *)",
129
+ "Bash(kubectl port-forward *)",
130
+ "Bash(kubectl config *)",
131
+ "Bash(kubectl top *)",
132
+ "Bash(kubectl delete *)"
133
+ ],
134
+ "deny": [
135
+ "Bash(rm -rf /)",
136
+ "Bash(rm -rf /*)",
137
+ "Bash(rm -rf ~)",
138
+ "Bash(rm -rf ~/*)",
139
+ "Bash(sudo rm *)",
140
+ "Bash(sudo dd *)",
141
+ "Bash(sudo mkfs *)",
142
+ "Bash(:(){ :|:& };:)",
143
+ "Read(./.env)",
144
+ "Read(./secrets/**)",
145
+ "Read(**/.env)",
146
+ "Read(**/secrets/**)",
147
+ "Read(**/.aws/credentials)",
148
+ "Read(**/.aws/config)",
149
+ "Read(**/.kube/config)",
150
+ "Read(**/.ssh/*)",
151
+ "Read(**/*.pem)",
152
+ "Read(**/*.key)",
153
+ "Read(**/*.p12)",
154
+ "Read(**/*.pfx)",
155
+ "Read(**/.npmrc)",
156
+ "Read(**/.pypirc)",
157
+ "Read(**/.netrc)",
158
+ "Read(**/id_rsa*)",
159
+ "Read(**/id_ed25519*)",
160
+ "Read(**/id_ecdsa*)",
161
+ "Write(./.env)",
162
+ "Read(./.env.*)",
163
+ "Read(**/.env.*)",
164
+ "Write(./.env.*)",
165
+ "Write(./secrets/**)"
166
+ ]
167
+ },
168
+ "hooks": {
169
+ "SessionStart": [
170
+ {
171
+ "hooks": [
172
+ {
173
+ "type": "command",
174
+ "command": "python3 \"$HOME/.claude/hooks/session-start.py\"",
175
+ "timeout": 10
176
+ }
177
+ ]
178
+ }
179
+ ],
180
+ "SessionEnd": [
181
+ {
182
+ "hooks": [
183
+ {
184
+ "type": "command",
185
+ "command": "python3 \"$HOME/.claude/hooks/session-end-capture.py\""
186
+ }
187
+ ]
188
+ }
189
+ ],
190
+ "PreToolUse": [
191
+ {
192
+ "hooks": [
193
+ {
194
+ "type": "command",
195
+ "command": "python3 \"$HOME/.claude/hooks/firewall.py\"",
196
+ "timeout": 10
197
+ }
198
+ ],
199
+ "matcher": "Bash"
200
+ },
201
+ {
202
+ "hooks": [
203
+ {
204
+ "type": "command",
205
+ "command": "python3 \"$HOME/.claude/hooks/secret-guard.py\"",
206
+ "timeout": 10
207
+ }
208
+ ],
209
+ "matcher": "Read|Write|Edit|MultiEdit"
210
+ },
211
+ {
212
+ "hooks": [
213
+ {
214
+ "type": "command",
215
+ "command": "python3 \"$HOME/.claude/hooks/pre-tool-inject.py\""
216
+ }
217
+ ],
218
+ "matcher": ""
219
+ }
220
+ ],
221
+ "PostToolUse": [
222
+ {
223
+ "hooks": [
224
+ {
225
+ "type": "command",
226
+ "command": "python3 \"$HOME/.claude/hooks/circuit-breaker.py\"",
227
+ "timeout": 10
228
+ }
229
+ ],
230
+ "matcher": "Bash"
231
+ },
232
+ {
233
+ "hooks": [
234
+ {
235
+ "type": "command",
236
+ "command": "python3 \"$HOME/.claude/hooks/tool-ledger.py\"",
237
+ "timeout": 10
238
+ }
239
+ ],
240
+ "matcher": "Write|Edit|MultiEdit"
241
+ },
242
+ {
243
+ "hooks": [
244
+ {
245
+ "type": "command",
246
+ "command": "python3 \"$HOME/.claude/hooks/test_generator_hook.py\"",
247
+ "timeout": 10
248
+ }
249
+ ],
250
+ "matcher": "Write|Edit|MultiEdit"
251
+ },
252
+ {
253
+ "hooks": [
254
+ {
255
+ "type": "command",
256
+ "command": "python3 \"$HOME/.claude/hooks/budget_governor.py\"",
257
+ "timeout": 10
258
+ }
259
+ ],
260
+ "matcher": ""
261
+ }
262
+ ],
263
+ "PostToolUseFailure": [
264
+ {
265
+ "hooks": [
266
+ {
267
+ "type": "command",
268
+ "command": "python3 \"$HOME/.claude/hooks/post-tool-failure.py\""
269
+ }
270
+ ]
271
+ }
272
+ ],
273
+ "Stop": [
274
+ {
275
+ "hooks": [
276
+ {
277
+ "type": "command",
278
+ "command": "python3 \"$HOME/.claude/hooks/stop_dispatcher.py\"",
279
+ "timeout": 90
280
+ }
281
+ ],
282
+ "matcher": ""
283
+ }
284
+ ]
285
+ },
286
+ "_omg": {
287
+ "_version": "2.0.5",
288
+ "preset": "safe",
289
+ "default_mode": "ulw+ralph",
290
+ "vision_auto": true,
291
+ "false_fix_detection": true,
292
+ "cost_budget": {
293
+ "session_limit_usd": 5.0,
294
+ "thresholds": [
295
+ 50,
296
+ 80,
297
+ 95
298
+ ],
299
+ "pricing": {
300
+ "input_per_mtok": 3.0,
301
+ "output_per_mtok": 15.0
302
+ }
303
+ },
304
+ "context_budget": {
305
+ "session_start_max_chars": 2000,
306
+ "prompt_enhancer_max_chars": 800,
307
+ "prompt_enhancer_max_injections": 10,
308
+ "full_turns": 10,
309
+ "summarize_turns": 50,
310
+ "batch_size": 21
311
+ },
312
+ "credentials": {
313
+ "rotation_schedule_days": 90,
314
+ "expiry_warning_days": 14
315
+ },
316
+ "features": {
317
+ "memory": false,
318
+ "ralph_loop": true,
319
+ "planning_enforcement": true,
320
+ "compound_learning": false,
321
+ "simplifier": true,
322
+ "model_routing": true,
323
+ "agent_registry": true,
324
+ "circuit_breaker_v2": true,
325
+ "cognitive_modes": true,
326
+ "agent_routing": true,
327
+ "SETUP": false,
328
+ "SETUP_WIZARD": false,
329
+ "MEMORY_SERVER": false,
330
+ "MEMORY_AUTOSTART": false,
331
+ "COST_TRACKING": false,
332
+ "GIT_WORKFLOW": false,
333
+ "SESSION_ANALYTICS": false,
334
+ "TEST_GENERATION": false,
335
+ "DEP_HEALTH": false,
336
+ "CODEBASE_VIZ": false,
337
+ "CONTEXT_MANAGER": false
338
+ },
339
+ "generated": {
340
+ "contract_version": "2.0.5",
341
+ "channel": "public",
342
+ "required_bundles": [
343
+ "control-plane",
344
+ "hook-governor",
345
+ "mcp-fabric",
346
+ "lsp-pack",
347
+ "secure-worktree-pipeline",
348
+ "security-check",
349
+ "api-twin",
350
+ "preflight",
351
+ "robotics",
352
+ "vision",
353
+ "algorithms",
354
+ "health",
355
+ "tracebank",
356
+ "eval-gate",
357
+ "delta-classifier",
358
+ "incident-replay",
359
+ "data-lineage",
360
+ "remote-supervisor"
361
+ ],
362
+ "protected_paths": [
363
+ ".omg/**",
364
+ ".agents/**",
365
+ ".codex/**",
366
+ ".claude/**"
367
+ ],
368
+ "emulated_events": [
369
+ "PreCompact",
370
+ "ConfigChange",
371
+ "WorktreeCreate",
372
+ "WorktreeRemove",
373
+ "SubagentStart",
374
+ "SubagentStop",
375
+ "TaskCompleted"
376
+ ]
377
+ }
378
+ }
379
+ }