@trac3er/oh-my-god 2.0.9 → 2.1.0
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/.claude-plugin/marketplace.json +3 -3
- package/.claude-plugin/mcp.json +11 -0
- package/.claude-plugin/plugin.json +2 -2
- package/.claude-plugin/scripts/uninstall.sh +2 -2
- package/CHANGELOG.md +8 -0
- package/CLI-ADAPTER-MAP.md +380 -0
- package/INSTALL-VERIFICATION-INDEX.md +354 -0
- package/OMG-setup.sh +546 -19
- package/OMG_COMPAT_CONTRACT.md +1 -1
- package/QUICK-REFERENCE.md +222 -0
- package/README.md +23 -2
- package/artifacts/release/.claude-plugin/marketplace.json +3 -3
- package/artifacts/release/.claude-plugin/mcp.json +11 -0
- package/artifacts/release/.claude-plugin/plugin.json +2 -2
- package/artifacts/release/.gemini/settings.json +11 -0
- package/artifacts/release/.kimi/mcp.json +11 -0
- package/artifacts/release/OMG_COMPAT_CONTRACT.md +10 -4
- package/artifacts/release/dist/enterprise/bundle/.claude-plugin/marketplace.json +3 -3
- package/artifacts/release/dist/enterprise/bundle/.claude-plugin/mcp.json +11 -0
- package/artifacts/release/dist/enterprise/bundle/.claude-plugin/plugin.json +2 -2
- package/artifacts/release/dist/enterprise/bundle/.gemini/settings.json +11 -0
- package/artifacts/release/dist/enterprise/bundle/.kimi/mcp.json +11 -0
- package/artifacts/release/dist/enterprise/bundle/OMG_COMPAT_CONTRACT.md +10 -4
- package/artifacts/release/dist/enterprise/bundle/plugins/advanced/plugin.json +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/algorithms.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/api-twin.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/claim-judge.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/control-plane.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/data-lineage.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/delta-classifier.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/eval-gate.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/health.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/hook-governor.yaml +9 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/incident-replay.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/lsp-pack.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/mcp-fabric.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/plan-council.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/preflight.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/proof-gate.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/remote-supervisor.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/robotics.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/security-check.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/test-intent-lock.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/tracebank.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/vision.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/omg-capability.schema.json +84 -2
- package/artifacts/release/dist/enterprise/bundle/settings.json +15 -4
- package/artifacts/release/dist/enterprise/manifest.json +47 -29
- package/artifacts/release/dist/public/bundle/.claude-plugin/marketplace.json +3 -3
- package/artifacts/release/dist/public/bundle/.claude-plugin/mcp.json +11 -0
- package/artifacts/release/dist/public/bundle/.claude-plugin/plugin.json +2 -2
- package/artifacts/release/dist/public/bundle/.gemini/settings.json +11 -0
- package/artifacts/release/dist/public/bundle/.kimi/mcp.json +11 -0
- package/artifacts/release/dist/public/bundle/OMG_COMPAT_CONTRACT.md +10 -4
- package/artifacts/release/dist/public/bundle/plugins/advanced/plugin.json +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/algorithms.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/api-twin.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/claim-judge.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/control-plane.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/data-lineage.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/delta-classifier.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/eval-gate.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/health.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/hook-governor.yaml +9 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/incident-replay.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/lsp-pack.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/mcp-fabric.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/plan-council.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/preflight.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/proof-gate.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/remote-supervisor.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/robotics.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/security-check.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/test-intent-lock.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/tracebank.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/vision.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/omg-capability.schema.json +84 -2
- package/artifacts/release/dist/public/bundle/settings.json +15 -4
- package/artifacts/release/dist/public/manifest.json +47 -29
- package/artifacts/release/plugins/advanced/plugin.json +1 -1
- package/artifacts/release/registry/bundles/algorithms.yaml +1 -1
- package/artifacts/release/registry/bundles/api-twin.yaml +1 -1
- package/artifacts/release/registry/bundles/claim-judge.yaml +1 -1
- package/artifacts/release/registry/bundles/control-plane.yaml +1 -1
- package/artifacts/release/registry/bundles/data-lineage.yaml +1 -1
- package/artifacts/release/registry/bundles/delta-classifier.yaml +1 -1
- package/artifacts/release/registry/bundles/eval-gate.yaml +1 -1
- package/artifacts/release/registry/bundles/health.yaml +1 -1
- package/artifacts/release/registry/bundles/hook-governor.yaml +9 -1
- package/artifacts/release/registry/bundles/incident-replay.yaml +1 -1
- package/artifacts/release/registry/bundles/lsp-pack.yaml +1 -1
- package/artifacts/release/registry/bundles/mcp-fabric.yaml +1 -1
- package/artifacts/release/registry/bundles/plan-council.yaml +1 -1
- package/artifacts/release/registry/bundles/preflight.yaml +1 -1
- package/artifacts/release/registry/bundles/proof-gate.yaml +1 -1
- package/artifacts/release/registry/bundles/remote-supervisor.yaml +1 -1
- package/artifacts/release/registry/bundles/robotics.yaml +1 -1
- package/artifacts/release/registry/bundles/secure-worktree-pipeline.yaml +1 -1
- package/artifacts/release/registry/bundles/security-check.yaml +1 -1
- package/artifacts/release/registry/bundles/test-intent-lock.yaml +1 -1
- package/artifacts/release/registry/bundles/tracebank.yaml +1 -1
- package/artifacts/release/registry/bundles/vision.yaml +1 -1
- package/artifacts/release/registry/omg-capability.schema.json +84 -2
- package/artifacts/release/settings.json +15 -4
- package/build/lib/commands/OMG:browser.md +29 -0
- package/build/lib/commands/OMG:playwright.md +17 -0
- package/build/lib/control_plane/server.py +2 -0
- package/build/lib/control_plane/service.py +29 -0
- package/build/lib/hooks/_agent_registry.py +60 -6
- package/build/lib/hooks/instructions-loaded.py +26 -0
- package/build/lib/hooks/prompt-enhancer.py +5 -0
- package/build/lib/hooks/secret-guard.py +36 -2
- package/build/lib/hooks/setup_wizard.py +127 -18
- package/build/lib/hooks/tdd-gate.py +10 -0
- package/build/lib/hooks/user-prompt-submit.py +12 -0
- package/build/lib/plugins/README.md +4 -0
- package/build/lib/plugins/advanced/plugin.json +1 -1
- package/build/lib/plugins/core/plugin.json +10 -1
- package/build/lib/registry/bundles/algorithms.yaml +1 -1
- package/build/lib/registry/bundles/api-twin.yaml +1 -1
- package/build/lib/registry/bundles/claim-judge.yaml +1 -1
- package/build/lib/registry/bundles/control-plane.yaml +1 -1
- package/build/lib/registry/bundles/data-lineage.yaml +1 -1
- package/build/lib/registry/bundles/delta-classifier.yaml +1 -1
- package/build/lib/registry/bundles/eval-gate.yaml +1 -1
- package/build/lib/registry/bundles/health.yaml +1 -1
- package/build/lib/registry/bundles/hook-governor.yaml +9 -1
- package/build/lib/registry/bundles/incident-replay.yaml +1 -1
- package/build/lib/registry/bundles/lsp-pack.yaml +1 -1
- package/build/lib/registry/bundles/mcp-fabric.yaml +1 -1
- package/build/lib/registry/bundles/plan-council.yaml +1 -1
- package/build/lib/registry/bundles/preflight.yaml +1 -1
- package/build/lib/registry/bundles/proof-gate.yaml +1 -1
- package/build/lib/registry/bundles/remote-supervisor.yaml +1 -1
- package/build/lib/registry/bundles/robotics.yaml +1 -1
- package/build/lib/registry/bundles/secure-worktree-pipeline.yaml +1 -1
- package/build/lib/registry/bundles/security-check.yaml +1 -1
- package/build/lib/registry/bundles/test-intent-lock.yaml +1 -1
- package/build/lib/registry/bundles/tracebank.yaml +1 -1
- package/build/lib/registry/bundles/vision.yaml +1 -1
- package/build/lib/registry/omg-capability.schema.json +1 -1
- package/build/lib/runtime/adoption.py +1 -1
- package/build/lib/runtime/architecture_signal.py +226 -0
- package/build/lib/runtime/context_engine.py +194 -0
- package/build/lib/runtime/contract_compiler.py +13 -1
- package/build/lib/runtime/defense_state.py +190 -0
- package/build/lib/runtime/equalizer.py +254 -0
- package/build/lib/runtime/feature_registry.py +109 -0
- package/build/lib/runtime/forge_agents.py +164 -0
- package/build/lib/runtime/forge_contracts.py +88 -0
- package/build/lib/runtime/hook_governor.py +138 -0
- package/build/lib/runtime/interaction_journal.py +224 -0
- package/build/lib/runtime/mutation_gate.py +82 -0
- package/build/lib/runtime/omg_browser_cli.py +95 -0
- package/build/lib/runtime/omg_compat_contract_snapshot.json +2 -2
- package/build/lib/runtime/omg_mcp_server.py +39 -0
- package/build/lib/runtime/playwright_pack.py +51 -0
- package/build/lib/runtime/proof_chain.py +2 -0
- package/build/lib/runtime/router_critics.py +179 -0
- package/build/lib/runtime/router_executor.py +142 -0
- package/build/lib/runtime/router_selector.py +99 -0
- package/build/lib/runtime/runtime_contracts.py +142 -0
- package/build/lib/runtime/session_health.py +194 -0
- package/build/lib/runtime/skill_evolution.py +221 -0
- package/build/lib/runtime/skill_registry.py +53 -0
- package/build/lib/runtime/team_router.py +81 -162
- package/build/lib/runtime/test_intent_lock.py +200 -1
- package/build/lib/runtime/tool_plan_gate.py +203 -0
- package/build/lib/runtime/untrusted_content.py +8 -0
- package/build/lib/runtime/verification_controller.py +185 -0
- package/commands/OMG:browser.md +29 -0
- package/commands/OMG:playwright.md +17 -0
- package/control_plane/server.py +2 -0
- package/control_plane/service.py +29 -0
- package/dist/enterprise/bundle/.claude-plugin/marketplace.json +3 -3
- package/dist/enterprise/bundle/.claude-plugin/mcp.json +11 -0
- package/dist/enterprise/bundle/.claude-plugin/plugin.json +2 -2
- package/dist/enterprise/bundle/OMG_COMPAT_CONTRACT.md +1 -1
- package/dist/enterprise/bundle/plugins/advanced/plugin.json +1 -1
- package/dist/enterprise/bundle/registry/bundles/algorithms.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/api-twin.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/claim-judge.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/control-plane.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/data-lineage.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/delta-classifier.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/eval-gate.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/health.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/hook-governor.yaml +9 -1
- package/dist/enterprise/bundle/registry/bundles/incident-replay.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/lsp-pack.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/mcp-fabric.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/plan-council.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/preflight.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/proof-gate.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/remote-supervisor.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/robotics.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/security-check.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/test-intent-lock.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/tracebank.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/vision.yaml +1 -1
- package/dist/enterprise/bundle/registry/omg-capability.schema.json +1 -1
- package/dist/enterprise/bundle/settings.json +14 -4
- package/dist/enterprise/manifest.json +33 -29
- package/dist/public/bundle/.agents/skills/omg/incident-replay/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/incident-replay/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/lsp-pack/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/lsp-pack/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/mcp-fabric/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/mcp-fabric/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/plan-council/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/plan-council/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/preflight/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/preflight/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/proof-gate/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/proof-gate/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/remote-supervisor/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/remote-supervisor/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/robotics/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/robotics/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/secure-worktree-pipeline/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/secure-worktree-pipeline/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/security-check/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/security-check/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/test-intent-lock/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/test-intent-lock/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/tracebank/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/tracebank/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/vision/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/vision/openai.yaml +1 -1
- package/dist/public/bundle/.claude-plugin/marketplace.json +3 -3
- package/dist/public/bundle/.claude-plugin/mcp.json +11 -0
- package/dist/public/bundle/.claude-plugin/plugin.json +2 -2
- package/dist/public/bundle/OMG_COMPAT_CONTRACT.md +1 -1
- package/dist/public/bundle/plugins/advanced/plugin.json +1 -1
- package/dist/public/bundle/registry/bundles/algorithms.yaml +1 -1
- package/dist/public/bundle/registry/bundles/api-twin.yaml +1 -1
- package/dist/public/bundle/registry/bundles/claim-judge.yaml +1 -1
- package/dist/public/bundle/registry/bundles/control-plane.yaml +1 -1
- package/dist/public/bundle/registry/bundles/data-lineage.yaml +1 -1
- package/dist/public/bundle/registry/bundles/delta-classifier.yaml +1 -1
- package/dist/public/bundle/registry/bundles/eval-gate.yaml +1 -1
- package/dist/public/bundle/registry/bundles/health.yaml +1 -1
- package/dist/public/bundle/registry/bundles/hook-governor.yaml +9 -1
- package/dist/public/bundle/registry/bundles/incident-replay.yaml +1 -1
- package/dist/public/bundle/registry/bundles/lsp-pack.yaml +1 -1
- package/dist/public/bundle/registry/bundles/mcp-fabric.yaml +1 -1
- package/dist/public/bundle/registry/bundles/plan-council.yaml +1 -1
- package/dist/public/bundle/registry/bundles/preflight.yaml +1 -1
- package/dist/public/bundle/registry/bundles/proof-gate.yaml +1 -1
- package/dist/public/bundle/registry/bundles/remote-supervisor.yaml +1 -1
- package/dist/public/bundle/registry/bundles/robotics.yaml +1 -1
- package/dist/public/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
- package/dist/public/bundle/registry/bundles/security-check.yaml +1 -1
- package/dist/public/bundle/registry/bundles/test-intent-lock.yaml +1 -1
- package/dist/public/bundle/registry/bundles/tracebank.yaml +1 -1
- package/dist/public/bundle/registry/bundles/vision.yaml +1 -1
- package/dist/public/bundle/registry/omg-capability.schema.json +1 -1
- package/dist/public/bundle/settings.json +15 -5
- package/dist/public/manifest.json +59 -55
- package/docs/install/claude-code.md +27 -14
- package/docs/install/codex.md +16 -10
- package/docs/install/gemini.md +35 -0
- package/docs/install/kimi.md +35 -0
- package/docs/proof.md +1 -0
- package/hooks/_agent_registry.py +60 -6
- package/hooks/instructions-loaded.py +26 -0
- package/hooks/prompt-enhancer.py +5 -0
- package/hooks/secret-guard.py +36 -2
- package/hooks/setup_wizard.py +127 -18
- package/hooks/tdd-gate.py +10 -0
- package/hooks/user-prompt-submit.py +12 -0
- package/hud/omg-hud.mjs +101 -1
- package/lab/pipeline.py +11 -0
- package/package.json +1 -1
- package/plugins/README.md +4 -0
- package/plugins/advanced/plugin.json +1 -1
- package/plugins/core/plugin.json +10 -1
- package/pyproject.toml +1 -1
- package/registry/bundles/algorithms.yaml +1 -1
- package/registry/bundles/api-twin.yaml +1 -1
- package/registry/bundles/claim-judge.yaml +1 -1
- package/registry/bundles/control-plane.yaml +1 -1
- package/registry/bundles/data-lineage.yaml +1 -1
- package/registry/bundles/delta-classifier.yaml +1 -1
- package/registry/bundles/eval-gate.yaml +1 -1
- package/registry/bundles/health.yaml +1 -1
- package/registry/bundles/hook-governor.yaml +9 -1
- package/registry/bundles/incident-replay.yaml +1 -1
- package/registry/bundles/lsp-pack.yaml +1 -1
- package/registry/bundles/mcp-fabric.yaml +1 -1
- package/registry/bundles/plan-council.yaml +1 -1
- package/registry/bundles/preflight.yaml +1 -1
- package/registry/bundles/proof-gate.yaml +1 -1
- package/registry/bundles/remote-supervisor.yaml +1 -1
- package/registry/bundles/robotics.yaml +1 -1
- package/registry/bundles/secure-worktree-pipeline.yaml +1 -1
- package/registry/bundles/security-check.yaml +1 -1
- package/registry/bundles/test-intent-lock.yaml +1 -1
- package/registry/bundles/tracebank.yaml +1 -1
- package/registry/bundles/vision.yaml +1 -1
- package/registry/omg-capability.schema.json +1 -1
- package/runtime/adoption.py +1 -1
- package/runtime/architecture_signal.py +226 -0
- package/runtime/context_engine.py +194 -0
- package/runtime/contract_compiler.py +13 -1
- package/runtime/defense_state.py +190 -0
- package/runtime/equalizer.py +254 -0
- package/runtime/feature_registry.py +109 -0
- package/runtime/forge_agents.py +164 -0
- package/runtime/forge_contracts.py +88 -0
- package/runtime/hook_governor.py +138 -0
- package/runtime/interaction_journal.py +224 -0
- package/runtime/mutation_gate.py +82 -0
- package/runtime/omg_browser_cli.py +95 -0
- package/runtime/omg_compat_contract_snapshot.json +2 -2
- package/runtime/omg_mcp_server.py +39 -0
- package/runtime/playwright_pack.py +51 -0
- package/runtime/proof_chain.py +2 -0
- package/runtime/router_critics.py +179 -0
- package/runtime/router_executor.py +142 -0
- package/runtime/router_selector.py +99 -0
- package/runtime/runtime_contracts.py +142 -0
- package/runtime/session_health.py +194 -0
- package/runtime/skill_evolution.py +221 -0
- package/runtime/skill_registry.py +53 -0
- package/runtime/team_router.py +75 -156
- package/runtime/test_intent_lock.py +200 -1
- package/runtime/tool_plan_gate.py +203 -0
- package/runtime/untrusted_content.py +8 -0
- package/runtime/verification_controller.py +185 -0
- package/scripts/omg.py +92 -2
- package/scripts/prepare-release-proof-fixtures.py +152 -0
- package/scripts/verify-standalone.sh +2 -1
- package/settings.json +14 -4
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
# OMG Install Process Verification Index
|
|
2
|
+
|
|
3
|
+
**Purpose:** Track all CLI adapter integration points, installation flows, and critical assumptions for end-to-end verification.
|
|
4
|
+
|
|
5
|
+
**Created:** 2026-03-08
|
|
6
|
+
**Version:** OMG 2.1.0
|
|
7
|
+
**Status:** Ready for verification and fixing
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## 📖 Documentation Map
|
|
12
|
+
|
|
13
|
+
### Primary References
|
|
14
|
+
- **`CLI-ADAPTER-MAP.md`** (380 lines)
|
|
15
|
+
- Complete technical specification
|
|
16
|
+
- All provider implementations, config writers, and registration flows
|
|
17
|
+
- Critical assumptions and failure modes
|
|
18
|
+
- Verification checklists per target
|
|
19
|
+
- Line-number references to source files
|
|
20
|
+
|
|
21
|
+
- **`QUICK-REFERENCE.md`** (6.7 KB)
|
|
22
|
+
- Quick lookup tables and commands
|
|
23
|
+
- Failure mode diagnosis
|
|
24
|
+
- Debugging checklist
|
|
25
|
+
- Installation verification steps
|
|
26
|
+
|
|
27
|
+
### Source Files Referenced
|
|
28
|
+
- `runtime/mcp_config_writers.py` (233 lines) - Config writer functions
|
|
29
|
+
- `runtime/providers/codex_provider.py` (102 lines)
|
|
30
|
+
- `runtime/providers/gemini_provider.py` (116 lines)
|
|
31
|
+
- `runtime/providers/kimi_provider.py` (139 lines)
|
|
32
|
+
- `OMG-setup.sh` (1333 lines) - Installation orchestrator
|
|
33
|
+
- `runtime/adoption.py` (220 lines) - Constants
|
|
34
|
+
- `package.json` - npm integration
|
|
35
|
+
- `docs/install/claude-code.md` & `docs/install/codex.md`
|
|
36
|
+
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
## 🎯 Installation Targets & Methods
|
|
40
|
+
|
|
41
|
+
### Canonical Targets
|
|
42
|
+
1. **Claude Code**
|
|
43
|
+
- **Install:** `npm install @trac3er/oh-my-god` (postinstall hook)
|
|
44
|
+
- **Config:** `.mcp.json` (project root)
|
|
45
|
+
- **Registry:** `~/.claude/plugins/installed_plugins.json`
|
|
46
|
+
- **Preset:** `balanced` (recommended)
|
|
47
|
+
- **Detection:** Default (no detection needed)
|
|
48
|
+
|
|
49
|
+
2. **Codex**
|
|
50
|
+
- **Install:** `npm install @trac3er/oh-my-god` + manual setup
|
|
51
|
+
- **Config:** `~/.codex/config.toml` ([mcp_servers.omg-control])
|
|
52
|
+
- **Registry:** Shared with Claude
|
|
53
|
+
- **Preset:** `interop` (recommended)
|
|
54
|
+
- **Detection:** `which codex` + `codex auth status`
|
|
55
|
+
|
|
56
|
+
### Compatibility Targets
|
|
57
|
+
3. **Gemini**
|
|
58
|
+
- **Install:** Via provider detection during `/OMG:setup`
|
|
59
|
+
- **Config:** `~/.gemini/settings.json` (mcpServers)
|
|
60
|
+
- **Registry:** None (standalone)
|
|
61
|
+
- **Detection:** `which gemini` + `gemini auth status`
|
|
62
|
+
|
|
63
|
+
4. **Kimi**
|
|
64
|
+
- **Install:** Via provider detection during `/OMG:setup`
|
|
65
|
+
- **Config:** `~/.kimi/mcp.json` (mcpServers)
|
|
66
|
+
- **Registry:** None (standalone)
|
|
67
|
+
- **Detection:** `which kimi` + token check
|
|
68
|
+
|
|
69
|
+
---
|
|
70
|
+
|
|
71
|
+
## 🔧 Config Writer Functions Summary
|
|
72
|
+
|
|
73
|
+
| Function | Target | Format | Location | Input Validation |
|
|
74
|
+
|----------|--------|--------|----------|------------------|
|
|
75
|
+
| `write_claude_mcp_config()` | Claude | JSON | `.mcp.json` | Server URL + name |
|
|
76
|
+
| `write_claude_mcp_stdio_config()` | Claude | JSON | `.mcp.json` | Command + args |
|
|
77
|
+
| `write_codex_mcp_config()` | Codex | TOML | `~/.codex/config.toml` | Server URL + name |
|
|
78
|
+
| `write_codex_mcp_stdio_config()` | Codex | TOML | `~/.codex/config.toml` | Command + args |
|
|
79
|
+
| `write_gemini_mcp_config()` | Gemini | JSON | `~/.gemini/settings.json` | Server URL + name |
|
|
80
|
+
| `write_gemini_mcp_stdio_config()` | Gemini | JSON | `~/.gemini/settings.json` | Command + args |
|
|
81
|
+
| `write_kimi_mcp_config()` | Kimi | JSON | `~/.kimi/mcp.json` | Server URL + name |
|
|
82
|
+
| `write_kimi_mcp_stdio_config()` | Kimi | JSON | `~/.kimi/mcp.json` | Command + args |
|
|
83
|
+
|
|
84
|
+
**Shared Utilities:**
|
|
85
|
+
- `get_managed_python_path()` - Returns venv Python path
|
|
86
|
+
- `_atomic_write_text()` - Atomic file write (temp + rename)
|
|
87
|
+
- `_load_json()` - Safe JSON load with fallback
|
|
88
|
+
- `_validated_server_input()` - URL/name validation
|
|
89
|
+
- `_validated_stdio_input()` - Command/args validation
|
|
90
|
+
|
|
91
|
+
---
|
|
92
|
+
|
|
93
|
+
## 🚨 Critical Assumptions & Failure Modes
|
|
94
|
+
|
|
95
|
+
### 1. Atomic Writes (CRITICAL)
|
|
96
|
+
- **Implementation:** `_atomic_write_text()` uses `os.replace()`
|
|
97
|
+
- **Risk Level:** HIGH
|
|
98
|
+
- **Platform:** Fully atomic on POSIX; not guaranteed on Windows
|
|
99
|
+
- **Mitigation:**
|
|
100
|
+
- [ ] Verify file integrity after write on all platforms
|
|
101
|
+
- [ ] Use fsync on critical config files
|
|
102
|
+
- [ ] Implement backup + restore on write failure
|
|
103
|
+
|
|
104
|
+
### 2. JSON Validation (DATA LOSS RISK)
|
|
105
|
+
- **Implementation:** `_load_json()` silently returns `{}` on invalid JSON
|
|
106
|
+
- **Risk Level:** CRITICAL
|
|
107
|
+
- **Scenario:** Existing config malformed → overwritten with empty config
|
|
108
|
+
- **Mitigation:**
|
|
109
|
+
- [ ] Validate existing JSON before load
|
|
110
|
+
- [ ] Create backups before any write
|
|
111
|
+
- [ ] Log warnings on validation failures
|
|
112
|
+
- [ ] Provide recovery mechanism
|
|
113
|
+
|
|
114
|
+
### 3. TOML Parser Robustness (Codex-specific)
|
|
115
|
+
- **Implementation:** Section header matching via regex (lines 117-139)
|
|
116
|
+
- **Risk Level:** MEDIUM
|
|
117
|
+
- **Scenarios:** Non-standard TOML formatting, duplicate headers
|
|
118
|
+
- **Mitigation:**
|
|
119
|
+
- [ ] Use proper TOML parser instead of regex
|
|
120
|
+
- [ ] Validate section detection before write
|
|
121
|
+
- [ ] Test with malformed TOML files
|
|
122
|
+
|
|
123
|
+
### 4. Python Version Requirement
|
|
124
|
+
- **Requirement:** Python 3.10+ (fastmcp >=2.0)
|
|
125
|
+
- **Risk Level:** HIGH
|
|
126
|
+
- **Detection:** Preflight check in `OMG-setup.sh` (line 272-277)
|
|
127
|
+
- **Mitigation:**
|
|
128
|
+
- [ ] Prominently document requirement
|
|
129
|
+
- [ ] Provide helpful error message with upgrade link
|
|
130
|
+
- [ ] Test on Python 3.9 and below
|
|
131
|
+
|
|
132
|
+
### 5. Provider Binary Detection
|
|
133
|
+
- **Implementation:** `shutil.which()` searches PATH
|
|
134
|
+
- **Risk Level:** MEDIUM
|
|
135
|
+
- **Scenarios:** Binary installed but PATH not refreshed; non-standard location
|
|
136
|
+
- **Mitigation:**
|
|
137
|
+
- [ ] Document PATH refresh requirement
|
|
138
|
+
- [ ] Provide explicit binary location override option
|
|
139
|
+
- [ ] Check common installation paths as fallback
|
|
140
|
+
|
|
141
|
+
### 6. Plugin Registry Consistency
|
|
142
|
+
- **Implementation:** Two-file system (settings.json + installed_plugins.json)
|
|
143
|
+
- **Risk Level:** MEDIUM
|
|
144
|
+
- **Scenarios:** One file written, other fails; out-of-sync state
|
|
145
|
+
- **Mitigation:**
|
|
146
|
+
- [ ] Use transactional writes or rollback mechanism
|
|
147
|
+
- [ ] Validate both files after registration
|
|
148
|
+
- [ ] Provide cleanup tool for stale entries
|
|
149
|
+
|
|
150
|
+
### 7. Manifest File Accuracy
|
|
151
|
+
- **Implementation:** Manifest tracks installed files for cleanup
|
|
152
|
+
- **Risk Level:** MEDIUM
|
|
153
|
+
- **Scenarios:** Manifest corrupted; files added outside installer
|
|
154
|
+
- **Mitigation:**
|
|
155
|
+
- [ ] Validate manifest format before use
|
|
156
|
+
- [ ] Rebuild manifest if corrupted
|
|
157
|
+
- [ ] Compare manifest against actual files
|
|
158
|
+
|
|
159
|
+
### 8. Settings Merge Script
|
|
160
|
+
- **Implementation:** `scripts/settings-merge.py` must exist
|
|
161
|
+
- **Risk Level:** MEDIUM
|
|
162
|
+
- **Scenarios:** Script missing; script has errors
|
|
163
|
+
- **Mitigation:**
|
|
164
|
+
- [ ] Verify script existence before calling
|
|
165
|
+
- [ ] Provide inline merge logic as fallback
|
|
166
|
+
- [ ] Test merge logic with various settings.json formats
|
|
167
|
+
|
|
168
|
+
### 9. Venv Python Path Persistence
|
|
169
|
+
- **Implementation:** `patch_omg_control_mcp_python()` updates .mcp.json
|
|
170
|
+
- **Risk Level:** MEDIUM
|
|
171
|
+
- **Scenarios:** Venv deleted; path changes after install
|
|
172
|
+
- **Mitigation:**
|
|
173
|
+
- [ ] Store venv path in durable config
|
|
174
|
+
- [ ] Implement venv regeneration on missing interpreter
|
|
175
|
+
- [ ] Add health check on startup
|
|
176
|
+
|
|
177
|
+
### 10. npm Environment Detection
|
|
178
|
+
- **Implementation:** Check `$npm_lifecycle_event` and `$npm_execpath`
|
|
179
|
+
- **Risk Level:** LOW
|
|
180
|
+
- **Scenarios:** CI systems set npm env vars unexpectedly
|
|
181
|
+
- **Mitigation:**
|
|
182
|
+
- [ ] Test in various CI systems (GitHub Actions, GitLab CI, etc.)
|
|
183
|
+
- [ ] Provide explicit --install-as-plugin flag override
|
|
184
|
+
- [ ] Document CI-specific setup requirements
|
|
185
|
+
|
|
186
|
+
---
|
|
187
|
+
|
|
188
|
+
## ✅ Verification Checklist
|
|
189
|
+
|
|
190
|
+
### Pre-Install Validation
|
|
191
|
+
- [ ] Python 3.10+ available (`python3 --version`)
|
|
192
|
+
- [ ] npm installed (if using npm install)
|
|
193
|
+
- [ ] Disk space available (~100 MB for runtime)
|
|
194
|
+
- [ ] File write permissions in home directory
|
|
195
|
+
- [ ] Git installed (for clone method)
|
|
196
|
+
|
|
197
|
+
### Claude Code Installation
|
|
198
|
+
- [ ] `npm install @trac3er/oh-my-god` completes without error
|
|
199
|
+
- [ ] `.mcp.json` created in project root
|
|
200
|
+
- [ ] `.mcp.json` contains `omg-control` and `filesystem` servers
|
|
201
|
+
- [ ] `.mcp.json` valid JSON (`python3 -m json.tool` succeeds)
|
|
202
|
+
- [ ] `~/.claude/plugins/installed_plugins.json` has `omg@omg` entry
|
|
203
|
+
- [ ] `~/.claude/settings.json` has `enabledPlugins["omg@omg"] = true`
|
|
204
|
+
- [ ] `~/.claude/hud/omg-hud.mjs` installed
|
|
205
|
+
- [ ] `~/.claude/omg-runtime/` contains hooks, runtime, plugins
|
|
206
|
+
- [ ] `~/.claude/omg-runtime/.venv/bin/python` exists and executable
|
|
207
|
+
- [ ] `/OMG:setup` command available and executes without error
|
|
208
|
+
- [ ] `.omg/state/adoption-report.json` generated
|
|
209
|
+
|
|
210
|
+
### Codex Installation
|
|
211
|
+
- [ ] `which codex` finds binary in PATH
|
|
212
|
+
- [ ] `codex auth status` returns authenticated
|
|
213
|
+
- [ ] `~/.codex/config.toml` contains `[mcp_servers.omg-control]` section
|
|
214
|
+
- [ ] MCP section has `command` and `args` entries
|
|
215
|
+
- [ ] `/OMG:setup` detects Codex CLI
|
|
216
|
+
- [ ] MCP servers merged into `~/.claude/.mcp.json` (if multi-host)
|
|
217
|
+
|
|
218
|
+
### Gemini Installation
|
|
219
|
+
- [ ] `which gemini` finds binary in PATH
|
|
220
|
+
- [ ] `gemini auth status` returns authenticated
|
|
221
|
+
- [ ] `~/.gemini/settings.json` contains `mcpServers["omg-control"]`
|
|
222
|
+
- [ ] MCP entry has `command` and `args` entries
|
|
223
|
+
|
|
224
|
+
### Kimi Installation
|
|
225
|
+
- [ ] `which kimi` finds binary in PATH
|
|
226
|
+
- [ ] `~/.kimi/config.toml` contains token entry
|
|
227
|
+
- [ ] `~/.kimi/mcp.json` contains `mcpServers["omg-control"]`
|
|
228
|
+
- [ ] MCP entry has `type: "http"` and `url` entries
|
|
229
|
+
|
|
230
|
+
### Post-Install Verification
|
|
231
|
+
- [ ] Run `/OMG:setup` and verify setup wizard completes
|
|
232
|
+
- [ ] Run `/OMG:crazy <goal>` and verify execution
|
|
233
|
+
- [ ] Check `.omg/state/` directory for logs and state files
|
|
234
|
+
- [ ] Verify MCP servers respond to requests
|
|
235
|
+
- [ ] Test plugin features (if applicable to target)
|
|
236
|
+
|
|
237
|
+
---
|
|
238
|
+
|
|
239
|
+
## 🔍 Debugging Steps
|
|
240
|
+
|
|
241
|
+
### If Installation Fails
|
|
242
|
+
|
|
243
|
+
1. **Check environment:**
|
|
244
|
+
```bash
|
|
245
|
+
echo $CLAUDE_CONFIG_DIR
|
|
246
|
+
python3 --version
|
|
247
|
+
which npm
|
|
248
|
+
```
|
|
249
|
+
|
|
250
|
+
2. **Check file permissions:**
|
|
251
|
+
```bash
|
|
252
|
+
ls -la ~/.claude/
|
|
253
|
+
ls -la ~/.codex/
|
|
254
|
+
ls -la ~/.gemini/
|
|
255
|
+
ls -la ~/.kimi/
|
|
256
|
+
```
|
|
257
|
+
|
|
258
|
+
3. **Validate config files:**
|
|
259
|
+
```bash
|
|
260
|
+
python3 -m json.tool ~/.claude/.mcp.json
|
|
261
|
+
python3 -m toml ~/.codex/config.toml # if toml module available
|
|
262
|
+
```
|
|
263
|
+
|
|
264
|
+
4. **Check for errors in setup output:**
|
|
265
|
+
```bash
|
|
266
|
+
# Re-run with verbose output
|
|
267
|
+
./OMG-setup.sh install --non-interactive 2>&1 | tee install.log
|
|
268
|
+
```
|
|
269
|
+
|
|
270
|
+
5. **Review manifest:**
|
|
271
|
+
```bash
|
|
272
|
+
cat ~/.claude/.omg-manifest
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
6. **Check for stale files:**
|
|
276
|
+
```bash
|
|
277
|
+
find ~/.claude/ -name ".omg*" -o -name "omg*" | head -20
|
|
278
|
+
```
|
|
279
|
+
|
|
280
|
+
### If Runtime Fails
|
|
281
|
+
|
|
282
|
+
1. **Check Python venv:**
|
|
283
|
+
```bash
|
|
284
|
+
~/.claude/omg-runtime/.venv/bin/python --version
|
|
285
|
+
~/.claude/omg-runtime/.venv/bin/pip list | grep fastmcp
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
2. **Check MCP servers:**
|
|
289
|
+
```bash
|
|
290
|
+
# Test claude MCP
|
|
291
|
+
python3 -m runtime.omg_mcp_server
|
|
292
|
+
|
|
293
|
+
# Test codex MCP
|
|
294
|
+
~/.claude/omg-runtime/.venv/bin/python -m runtime.omg_mcp_server
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
3. **Check adoption report:**
|
|
298
|
+
```bash
|
|
299
|
+
cat .omg/state/adoption-report.json | python3 -m json.tool
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
4. **Check settings application:**
|
|
303
|
+
```bash
|
|
304
|
+
cat ~/.claude/settings.json | jq ._omg
|
|
305
|
+
```
|
|
306
|
+
|
|
307
|
+
---
|
|
308
|
+
|
|
309
|
+
## 📊 Installation Matrix
|
|
310
|
+
|
|
311
|
+
| Scenario | Claude | Codex | Gemini | Kimi | Notes |
|
|
312
|
+
|----------|--------|-------|--------|------|-------|
|
|
313
|
+
| Fresh install | ✅ npm | ⚠️ manual | ✅ auto-detect | ✅ auto-detect | npm hook auto-triggers |
|
|
314
|
+
| Update | ✅ npm | ✅ manual | ✅ auto-detect | ✅ auto-detect | Version pinning in manifest |
|
|
315
|
+
| Multi-host | ✅ coexist | ✅ coexist | ✅ compatible | ✅ compatible | Preset: `interop` or `labs` |
|
|
316
|
+
| CI/Automation | ✅ npm | ✅ manual | ⚠️ requires detection | ⚠️ requires detection | Non-interactive mode |
|
|
317
|
+
| Dev (symlink) | ✅ --symlink | ✅ --symlink | ✅ --symlink | ✅ --symlink | Live updates from repo |
|
|
318
|
+
| Uninstall | ✅ remove | ✅ remove | ✅ remove | ✅ remove | Manifest-based cleanup |
|
|
319
|
+
|
|
320
|
+
---
|
|
321
|
+
|
|
322
|
+
## 🎬 Next Actions
|
|
323
|
+
|
|
324
|
+
### Immediate (Blocking Issues)
|
|
325
|
+
1. Test JSON validation and recovery on malformed configs
|
|
326
|
+
2. Test atomic write resilience on all platforms
|
|
327
|
+
3. Verify TOML parser robustness (Codex-specific)
|
|
328
|
+
4. Test Windows compatibility for atomic writes
|
|
329
|
+
|
|
330
|
+
### High Priority
|
|
331
|
+
5. Test provider detection and PATH refresh requirement
|
|
332
|
+
6. Test plugin registry consistency (multiversion scenarios)
|
|
333
|
+
7. Test settings merge script presence and execution
|
|
334
|
+
8. Test venv Python path patching accuracy
|
|
335
|
+
|
|
336
|
+
### Medium Priority
|
|
337
|
+
9. Test symlink mode robustness (moved/deleted repos)
|
|
338
|
+
10. Test adoption report generation for mixed ecosystems
|
|
339
|
+
11. Document error recovery procedures
|
|
340
|
+
12. Create troubleshooting guide based on findings
|
|
341
|
+
|
|
342
|
+
### Low Priority
|
|
343
|
+
13. Performance optimization for large config files
|
|
344
|
+
14. Add telemetry/logging for install success rates
|
|
345
|
+
15. Create install wizard improvements based on UX testing
|
|
346
|
+
|
|
347
|
+
---
|
|
348
|
+
|
|
349
|
+
## 📞 Support & Contact
|
|
350
|
+
|
|
351
|
+
**Repository:** https://github.com/trac3er00/OMG
|
|
352
|
+
**Issue Tracker:** https://github.com/trac3er00/OMG/issues
|
|
353
|
+
**Documentation:** See CLI-ADAPTER-MAP.md and QUICK-REFERENCE.md in repository root
|
|
354
|
+
|