@trac3er/oh-my-god 2.0.4 → 2.0.7
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 +57 -4
- package/.agents/skills/omg/algorithms/SKILL.md +11 -0
- package/.agents/skills/omg/algorithms/openai.yaml +11 -0
- package/.agents/skills/omg/api-twin/SKILL.md +11 -0
- package/.agents/skills/omg/api-twin/openai.yaml +12 -0
- package/.agents/skills/omg/claim-judge/SKILL.md +11 -0
- package/.agents/skills/omg/claim-judge/openai.yaml +13 -0
- package/.agents/skills/omg/codex-rules.md +33 -0
- package/.agents/skills/omg/control-plane/SKILL.md +1 -1
- package/.agents/skills/omg/control-plane/openai.yaml +1 -1
- package/.agents/skills/omg/data-lineage/SKILL.md +11 -0
- package/.agents/skills/omg/data-lineage/openai.yaml +12 -0
- package/.agents/skills/omg/delta-classifier/SKILL.md +11 -0
- package/.agents/skills/omg/delta-classifier/openai.yaml +12 -0
- package/.agents/skills/omg/eval-gate/SKILL.md +11 -0
- package/.agents/skills/omg/eval-gate/openai.yaml +12 -0
- package/.agents/skills/omg/health/SKILL.md +11 -0
- package/.agents/skills/omg/health/openai.yaml +11 -0
- package/.agents/skills/omg/hook-governor/SKILL.md +1 -1
- package/.agents/skills/omg/hook-governor/openai.yaml +1 -1
- package/.agents/skills/omg/incident-replay/SKILL.md +11 -0
- package/.agents/skills/omg/incident-replay/openai.yaml +12 -0
- package/.agents/skills/omg/lsp-pack/SKILL.md +1 -1
- package/.agents/skills/omg/lsp-pack/openai.yaml +1 -1
- package/.agents/skills/omg/mcp-fabric/SKILL.md +1 -1
- package/.agents/skills/omg/mcp-fabric/openai.yaml +1 -1
- package/.agents/skills/omg/plan-council/SKILL.md +11 -0
- package/.agents/skills/omg/plan-council/openai.yaml +12 -0
- package/.agents/skills/omg/preflight/SKILL.md +11 -0
- package/.agents/skills/omg/preflight/openai.yaml +12 -0
- package/.agents/skills/omg/proof-gate/SKILL.md +11 -0
- package/.agents/skills/omg/proof-gate/openai.yaml +13 -0
- package/.agents/skills/omg/remote-supervisor/SKILL.md +11 -0
- package/.agents/skills/omg/remote-supervisor/openai.yaml +12 -0
- package/.agents/skills/omg/robotics/SKILL.md +11 -0
- package/.agents/skills/omg/robotics/openai.yaml +11 -0
- package/.agents/skills/omg/secure-worktree-pipeline/SKILL.md +1 -1
- package/.agents/skills/omg/secure-worktree-pipeline/openai.yaml +1 -1
- package/.agents/skills/omg/security-check/SKILL.md +11 -0
- package/.agents/skills/omg/security-check/openai.yaml +13 -0
- package/.agents/skills/omg/test-intent-lock/SKILL.md +11 -0
- package/.agents/skills/omg/test-intent-lock/openai.yaml +13 -0
- package/.agents/skills/omg/tracebank/SKILL.md +11 -0
- package/.agents/skills/omg/tracebank/openai.yaml +12 -0
- package/.agents/skills/omg/vision/SKILL.md +11 -0
- package/.agents/skills/omg/vision/openai.yaml +11 -0
- package/.claude-plugin/marketplace.json +5 -5
- package/.claude-plugin/plugin.json +1 -1
- package/.claude-plugin/scripts/uninstall.sh +2 -2
- package/.mcp.json +0 -22
- package/CHANGELOG.md +13 -0
- package/OMG-setup.sh +64 -14
- package/OMG_COMPAT_CONTRACT.md +1 -1
- package/README.md +8 -6
- package/agents/omg-security-auditor.md +1 -1
- package/artifacts/release/.agents/skills/omg/AGENTS.fragment.md +52 -0
- package/artifacts/release/.agents/skills/omg/algorithms/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/algorithms/openai.yaml +11 -0
- package/artifacts/release/.agents/skills/omg/api-twin/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/api-twin/openai.yaml +12 -0
- package/artifacts/release/.agents/skills/omg/codex-mcp.toml +4 -0
- package/artifacts/release/.agents/skills/omg/codex-rules.md +29 -0
- package/artifacts/release/.agents/skills/omg/control-plane/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/control-plane/openai.yaml +14 -0
- package/artifacts/release/.agents/skills/omg/data-lineage/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/data-lineage/openai.yaml +12 -0
- package/artifacts/release/.agents/skills/omg/delta-classifier/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/delta-classifier/openai.yaml +12 -0
- package/artifacts/release/.agents/skills/omg/eval-gate/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/eval-gate/openai.yaml +12 -0
- package/artifacts/release/.agents/skills/omg/health/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/health/openai.yaml +11 -0
- package/artifacts/release/.agents/skills/omg/hook-governor/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/hook-governor/openai.yaml +11 -0
- package/artifacts/release/.agents/skills/omg/incident-replay/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/incident-replay/openai.yaml +12 -0
- package/artifacts/release/.agents/skills/omg/lsp-pack/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/lsp-pack/openai.yaml +11 -0
- package/artifacts/release/.agents/skills/omg/mcp-fabric/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/mcp-fabric/openai.yaml +13 -0
- package/artifacts/release/.agents/skills/omg/preflight/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/preflight/openai.yaml +12 -0
- package/artifacts/release/.agents/skills/omg/remote-supervisor/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/remote-supervisor/openai.yaml +12 -0
- package/artifacts/release/.agents/skills/omg/robotics/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/robotics/openai.yaml +11 -0
- package/artifacts/release/.agents/skills/omg/secure-worktree-pipeline/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/secure-worktree-pipeline/openai.yaml +12 -0
- package/artifacts/release/.agents/skills/omg/security-check/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/security-check/openai.yaml +13 -0
- package/artifacts/release/.agents/skills/omg/tracebank/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/tracebank/openai.yaml +12 -0
- package/artifacts/release/.agents/skills/omg/vision/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/vision/openai.yaml +11 -0
- package/artifacts/release/.claude-plugin/marketplace.json +36 -0
- package/artifacts/release/.claude-plugin/plugin.json +23 -0
- package/artifacts/release/.mcp.json +40 -0
- package/artifacts/release/OMG_COMPAT_CONTRACT.md +92 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/AGENTS.fragment.md +52 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/algorithms/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/algorithms/openai.yaml +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/api-twin/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/api-twin/openai.yaml +12 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/codex-mcp.toml +4 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/codex-rules.md +29 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/control-plane/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/control-plane/openai.yaml +14 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/data-lineage/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/data-lineage/openai.yaml +12 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/delta-classifier/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/delta-classifier/openai.yaml +12 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/eval-gate/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/eval-gate/openai.yaml +12 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/health/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/health/openai.yaml +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/hook-governor/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/hook-governor/openai.yaml +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/incident-replay/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/incident-replay/openai.yaml +12 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/lsp-pack/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/lsp-pack/openai.yaml +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/mcp-fabric/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/mcp-fabric/openai.yaml +13 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/preflight/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/preflight/openai.yaml +12 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/remote-supervisor/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/remote-supervisor/openai.yaml +12 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/robotics/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/robotics/openai.yaml +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/secure-worktree-pipeline/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/secure-worktree-pipeline/openai.yaml +12 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/security-check/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/security-check/openai.yaml +13 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/tracebank/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/tracebank/openai.yaml +12 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/vision/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/vision/openai.yaml +11 -0
- package/artifacts/release/dist/enterprise/bundle/OMG_COMPAT_CONTRACT.md +92 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/algorithms.yaml +45 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/api-twin.yaml +48 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/control-plane.yaml +151 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/data-lineage.yaml +47 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/delta-classifier.yaml +47 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/eval-gate.yaml +47 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/health.yaml +45 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/hook-governor.yaml +97 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/incident-replay.yaml +47 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/lsp-pack.yaml +48 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/mcp-fabric.yaml +53 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/preflight.yaml +48 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/remote-supervisor.yaml +49 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/robotics.yaml +45 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/secure-worktree-pipeline.yaml +54 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/security-check.yaml +50 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/tracebank.yaml +47 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/vision.yaml +45 -0
- package/artifacts/release/dist/enterprise/bundle/registry/omg-capability.schema.json +296 -0
- package/artifacts/release/dist/enterprise/manifest.json +243 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/AGENTS.fragment.md +7 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/algorithms/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/algorithms/openai.yaml +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/api-twin/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/api-twin/openai.yaml +12 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/codex-mcp.toml +4 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/control-plane/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/control-plane/openai.yaml +14 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/data-lineage/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/data-lineage/openai.yaml +12 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/delta-classifier/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/delta-classifier/openai.yaml +12 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/eval-gate/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/eval-gate/openai.yaml +12 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/health/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/health/openai.yaml +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/hook-governor/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/hook-governor/openai.yaml +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/incident-replay/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/incident-replay/openai.yaml +12 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/lsp-pack/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/lsp-pack/openai.yaml +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/mcp-fabric/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/mcp-fabric/openai.yaml +13 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/preflight/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/preflight/openai.yaml +12 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/remote-supervisor/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/remote-supervisor/openai.yaml +12 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/robotics/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/robotics/openai.yaml +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/secure-worktree-pipeline/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/secure-worktree-pipeline/openai.yaml +12 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/security-check/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/security-check/openai.yaml +13 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/tracebank/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/tracebank/openai.yaml +12 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/vision/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/vision/openai.yaml +11 -0
- package/artifacts/release/dist/public/bundle/.claude-plugin/marketplace.json +36 -0
- package/artifacts/release/dist/public/bundle/.claude-plugin/plugin.json +23 -0
- package/artifacts/release/dist/public/bundle/.mcp.json +40 -0
- package/artifacts/release/dist/public/bundle/OMG_COMPAT_CONTRACT.md +92 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/algorithms.yaml +45 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/api-twin.yaml +48 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/control-plane.yaml +151 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/data-lineage.yaml +47 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/delta-classifier.yaml +47 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/eval-gate.yaml +47 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/health.yaml +45 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/hook-governor.yaml +97 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/incident-replay.yaml +47 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/lsp-pack.yaml +48 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/mcp-fabric.yaml +53 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/preflight.yaml +48 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/remote-supervisor.yaml +49 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/robotics.yaml +45 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/secure-worktree-pipeline.yaml +54 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/security-check.yaml +50 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/tracebank.yaml +47 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/vision.yaml +45 -0
- package/artifacts/release/dist/public/bundle/registry/omg-capability.schema.json +296 -0
- package/artifacts/release/dist/public/bundle/settings.json +526 -0
- package/artifacts/release/dist/public/manifest.json +255 -0
- package/artifacts/release/registry/bundles/algorithms.yaml +45 -0
- package/artifacts/release/registry/bundles/api-twin.yaml +48 -0
- package/artifacts/release/registry/bundles/control-plane.yaml +151 -0
- package/artifacts/release/registry/bundles/data-lineage.yaml +47 -0
- package/artifacts/release/registry/bundles/delta-classifier.yaml +47 -0
- package/artifacts/release/registry/bundles/eval-gate.yaml +47 -0
- package/artifacts/release/registry/bundles/health.yaml +45 -0
- package/artifacts/release/registry/bundles/hook-governor.yaml +97 -0
- package/artifacts/release/registry/bundles/incident-replay.yaml +47 -0
- package/artifacts/release/registry/bundles/lsp-pack.yaml +48 -0
- package/artifacts/release/registry/bundles/mcp-fabric.yaml +53 -0
- package/artifacts/release/registry/bundles/preflight.yaml +48 -0
- package/artifacts/release/registry/bundles/remote-supervisor.yaml +49 -0
- package/artifacts/release/registry/bundles/robotics.yaml +45 -0
- package/artifacts/release/registry/bundles/secure-worktree-pipeline.yaml +54 -0
- package/artifacts/release/registry/bundles/security-check.yaml +50 -0
- package/artifacts/release/registry/bundles/tracebank.yaml +47 -0
- package/artifacts/release/registry/bundles/vision.yaml +45 -0
- package/artifacts/release/registry/omg-capability.schema.json +296 -0
- package/artifacts/release/settings.json +594 -0
- package/build/lib/agents/__init__.py +1 -0
- package/build/lib/agents/designer.md +67 -0
- package/build/lib/agents/explore.md +60 -0
- package/build/lib/agents/model_roles.py +196 -0
- package/build/lib/agents/omg-api-builder.md +23 -0
- package/build/lib/agents/omg-architect-mode.md +41 -0
- package/build/lib/agents/omg-architect.md +13 -0
- package/build/lib/agents/omg-backend-engineer.md +41 -0
- package/build/lib/agents/omg-critic.md +16 -0
- package/build/lib/agents/omg-database-engineer.md +41 -0
- package/build/lib/agents/omg-escalation-router.md +17 -0
- package/build/lib/agents/omg-executor.md +12 -0
- package/build/lib/agents/omg-frontend-designer.md +41 -0
- package/build/lib/agents/omg-implement-mode.md +49 -0
- package/build/lib/agents/omg-infra-engineer.md +41 -0
- package/build/lib/agents/omg-qa-tester.md +16 -0
- package/build/lib/agents/omg-research-mode.md +41 -0
- package/build/lib/agents/omg-security-auditor.md +41 -0
- package/build/lib/agents/omg-testing-engineer.md +41 -0
- package/build/lib/agents/plan.md +80 -0
- package/build/lib/agents/quick_task.md +64 -0
- package/build/lib/agents/reviewer.md +83 -0
- package/build/lib/agents/task.md +71 -0
- package/build/lib/commands/OMG:ai-commit.md +113 -0
- package/build/lib/commands/OMG:api-twin.md +22 -0
- package/build/lib/commands/OMG:arch.md +313 -0
- package/build/lib/commands/OMG:ccg.md +22 -0
- package/build/lib/commands/OMG:compat.md +57 -0
- package/build/lib/commands/OMG:cost.md +181 -0
- package/build/lib/commands/OMG:crazy.md +125 -0
- package/build/lib/commands/OMG:create-agent.md +183 -0
- package/build/lib/commands/OMG:deps.md +248 -0
- package/build/lib/commands/OMG:doctor.md +37 -0
- package/build/lib/commands/OMG:domain-init.md +11 -0
- package/build/lib/commands/OMG:escalate.md +52 -0
- package/build/lib/commands/OMG:health-check.md +45 -0
- package/build/lib/commands/OMG:init.md +134 -0
- package/build/lib/commands/OMG:mode.md +44 -0
- package/build/lib/commands/OMG:preflight.md +26 -0
- package/build/lib/commands/OMG:project-init.md +11 -0
- package/build/lib/commands/OMG:ralph-start.md +43 -0
- package/build/lib/commands/OMG:ralph-stop.md +23 -0
- package/build/lib/commands/OMG:security-check.md +28 -0
- package/build/lib/commands/OMG:session-branch.md +85 -0
- package/build/lib/commands/OMG:session-fork.md +53 -0
- package/build/lib/commands/OMG:session-merge.md +134 -0
- package/build/lib/commands/OMG:setup.md +78 -0
- package/build/lib/commands/OMG:stats.md +225 -0
- package/build/lib/commands/OMG:teams.md +39 -0
- package/build/lib/commands/OMG:theme.md +44 -0
- package/build/lib/commands/__init__.py +1 -0
- package/build/lib/control_plane/__init__.py +2 -0
- package/build/lib/control_plane/openapi.yaml +260 -0
- package/build/lib/control_plane/server.py +147 -0
- package/build/lib/control_plane/service.py +222 -0
- package/build/lib/hooks/__init__.py +0 -0
- package/build/lib/hooks/_agent_registry.py +423 -0
- package/build/lib/hooks/_analytics.py +291 -0
- package/build/lib/hooks/_budget.py +31 -0
- package/build/lib/hooks/_common.py +569 -0
- package/build/lib/hooks/_compression_optimizer.py +119 -0
- package/build/lib/hooks/_cost_ledger.py +176 -0
- package/build/lib/hooks/_learnings.py +126 -0
- package/build/lib/hooks/_memory.py +103 -0
- package/build/lib/hooks/_protected_context.py +150 -0
- package/build/lib/hooks/_token_counter.py +221 -0
- package/build/lib/hooks/branch_manager.py +236 -0
- package/build/lib/hooks/budget_governor.py +232 -0
- package/build/lib/hooks/circuit-breaker.py +270 -0
- package/build/lib/hooks/compression_feedback.py +254 -0
- package/build/lib/hooks/config-guard.py +216 -0
- package/build/lib/hooks/context_pressure.py +53 -0
- package/build/lib/hooks/credential_store.py +1020 -0
- package/build/lib/hooks/fetch-rate-limits.py +212 -0
- package/build/lib/hooks/firewall.py +48 -0
- package/build/lib/hooks/hashline-formatter-bridge.py +224 -0
- package/build/lib/hooks/hashline-injector.py +273 -0
- package/build/lib/hooks/hashline-validator.py +216 -0
- package/build/lib/hooks/idle-detector.py +95 -0
- package/build/lib/hooks/intentgate-keyword-detector.py +188 -0
- package/build/lib/hooks/magic-keyword-router.py +195 -0
- package/build/lib/hooks/policy_engine.py +641 -0
- package/build/lib/hooks/post-tool-failure.py +19 -0
- package/build/lib/hooks/post-write.py +219 -0
- package/build/lib/hooks/post_write.py +46 -0
- package/build/lib/hooks/pre-compact.py +398 -0
- package/build/lib/hooks/pre-tool-inject.py +98 -0
- package/build/lib/hooks/prompt-enhancer.py +672 -0
- package/build/lib/hooks/quality-runner.py +191 -0
- package/build/lib/hooks/query.py +512 -0
- package/build/lib/hooks/secret-guard.py +61 -0
- package/build/lib/hooks/secret_audit.py +144 -0
- package/build/lib/hooks/security_validators.py +75 -0
- package/build/lib/hooks/session-end-capture.py +137 -0
- package/build/lib/hooks/session-start.py +277 -0
- package/build/lib/hooks/setup_wizard.py +646 -0
- package/build/lib/hooks/shadow_manager.py +344 -0
- package/build/lib/hooks/state_migration.py +225 -0
- package/build/lib/hooks/stop-gate.py +7 -0
- package/build/lib/hooks/stop_dispatcher.py +945 -0
- package/build/lib/hooks/test-validator.py +361 -0
- package/build/lib/hooks/test_generator_hook.py +123 -0
- package/build/lib/hooks/todo-state-tracker.py +114 -0
- package/build/lib/hooks/tool-ledger.py +149 -0
- package/build/lib/hooks/trust_review.py +585 -0
- package/build/lib/plugins/README.md +60 -0
- package/build/lib/plugins/__init__.py +1 -0
- package/build/lib/plugins/advanced/commands/OMG:code-review.md +114 -0
- package/build/lib/plugins/advanced/commands/OMG:deep-plan.md +265 -0
- package/build/lib/plugins/advanced/commands/OMG:handoff.md +115 -0
- package/build/lib/plugins/advanced/commands/OMG:learn.md +110 -0
- package/build/lib/plugins/advanced/commands/OMG:maintainer.md +31 -0
- package/build/lib/plugins/advanced/commands/OMG:ralph-start.md +43 -0
- package/build/lib/plugins/advanced/commands/OMG:ralph-stop.md +23 -0
- package/build/lib/plugins/advanced/commands/OMG:security-review.md +16 -0
- package/build/lib/plugins/advanced/commands/OMG:sequential-thinking.md +20 -0
- package/build/lib/plugins/advanced/commands/OMG:ship.md +46 -0
- package/build/lib/plugins/advanced/plugin.json +87 -0
- package/build/lib/plugins/core/plugin.json +145 -0
- package/build/lib/plugins/dephealth/__init__.py +0 -0
- package/build/lib/plugins/dephealth/cve_scanner.py +188 -0
- package/build/lib/plugins/dephealth/license_checker.py +135 -0
- package/build/lib/plugins/dephealth/manifest_detector.py +423 -0
- package/build/lib/plugins/dephealth/vuln_analyzer.py +169 -0
- package/build/lib/plugins/testgen/__init__.py +0 -0
- package/build/lib/plugins/testgen/codamosa_engine.py +402 -0
- package/build/lib/plugins/testgen/edge_case_synthesizer.py +184 -0
- package/build/lib/plugins/testgen/framework_detector.py +271 -0
- package/build/lib/plugins/testgen/skeleton_generator.py +219 -0
- package/build/lib/plugins/viz/__init__.py +0 -0
- package/build/lib/plugins/viz/ast_parser.py +139 -0
- package/build/lib/plugins/viz/diagram_generator.py +192 -0
- package/build/lib/plugins/viz/graph_builder.py +444 -0
- package/build/lib/plugins/viz/native_parsers.py +259 -0
- package/build/lib/plugins/viz/regex_parser.py +112 -0
- package/build/lib/registry/__init__.py +1 -0
- package/build/lib/registry/bundles/algorithms.yaml +45 -0
- package/build/lib/registry/bundles/api-twin.yaml +48 -0
- package/build/lib/registry/bundles/claim-judge.yaml +49 -0
- package/build/lib/registry/bundles/control-plane.yaml +151 -0
- package/build/lib/registry/bundles/data-lineage.yaml +47 -0
- package/build/lib/registry/bundles/delta-classifier.yaml +47 -0
- package/build/lib/registry/bundles/eval-gate.yaml +47 -0
- package/build/lib/registry/bundles/health.yaml +45 -0
- package/build/lib/registry/bundles/hook-governor.yaml +97 -0
- package/build/lib/registry/bundles/incident-replay.yaml +47 -0
- package/build/lib/registry/bundles/lsp-pack.yaml +48 -0
- package/build/lib/registry/bundles/mcp-fabric.yaml +53 -0
- package/build/lib/registry/bundles/plan-council.yaml +51 -0
- package/build/lib/registry/bundles/preflight.yaml +48 -0
- package/build/lib/registry/bundles/proof-gate.yaml +49 -0
- package/build/lib/registry/bundles/remote-supervisor.yaml +49 -0
- package/build/lib/registry/bundles/robotics.yaml +45 -0
- package/build/lib/registry/bundles/secure-worktree-pipeline.yaml +54 -0
- package/build/lib/registry/bundles/security-check.yaml +50 -0
- package/build/lib/registry/bundles/test-intent-lock.yaml +49 -0
- package/build/lib/registry/bundles/tracebank.yaml +47 -0
- package/build/lib/registry/bundles/vision.yaml +45 -0
- package/build/lib/registry/omg-capability.schema.json +296 -0
- package/build/lib/registry/verify_artifact.py +90 -0
- package/build/lib/runtime/__init__.py +32 -0
- package/build/lib/runtime/adapters/__init__.py +13 -0
- package/build/lib/runtime/adapters/claude.py +63 -0
- package/build/lib/runtime/adapters/gpt.py +56 -0
- package/build/lib/runtime/adapters/local.py +56 -0
- package/build/lib/runtime/adoption.py +212 -0
- package/build/lib/runtime/api_twin.py +450 -0
- package/build/lib/runtime/asset_loader.py +62 -0
- package/build/lib/runtime/business_workflow.py +234 -0
- package/build/lib/runtime/claim_judge.py +95 -0
- package/build/lib/runtime/cli_provider.py +85 -0
- package/build/lib/runtime/compat.py +1459 -0
- package/build/lib/runtime/contract_compiler.py +1918 -0
- package/build/lib/runtime/custom_agent_loader.py +366 -0
- package/build/lib/runtime/data_lineage.py +73 -0
- package/build/lib/runtime/delta_classifier.py +81 -0
- package/build/lib/runtime/dispatcher.py +47 -0
- package/build/lib/runtime/domain_packs.py +46 -0
- package/build/lib/runtime/ecosystem.py +371 -0
- package/build/lib/runtime/eval_gate.py +96 -0
- package/build/lib/runtime/guide_assert.py +45 -0
- package/build/lib/runtime/incident_replay.py +47 -0
- package/build/lib/runtime/legacy_compat.py +7 -0
- package/build/lib/runtime/mcp_config_writers.py +233 -0
- package/build/lib/runtime/mcp_lifecycle.py +175 -0
- package/build/lib/runtime/mcp_memory_server.py +135 -0
- package/build/lib/runtime/memory_parsers/__init__.py +0 -0
- package/build/lib/runtime/memory_parsers/chatgpt_parser.py +257 -0
- package/build/lib/runtime/memory_parsers/claude_import.py +107 -0
- package/build/lib/runtime/memory_parsers/export.py +97 -0
- package/build/lib/runtime/memory_parsers/gemini_import.py +91 -0
- package/build/lib/runtime/memory_parsers/kimi_import.py +91 -0
- package/build/lib/runtime/memory_store.py +215 -0
- package/build/lib/runtime/omc_compat.py +7 -0
- package/build/lib/runtime/omg_compat_contract_snapshot.json +916 -0
- package/build/lib/runtime/omg_contract_snapshot.json +916 -0
- package/build/lib/runtime/omg_mcp_server.py +212 -0
- package/build/lib/runtime/playwright_pack.py +169 -0
- package/build/lib/runtime/preflight.py +117 -0
- package/build/lib/runtime/proof_chain.py +228 -0
- package/build/lib/runtime/proof_gate.py +163 -0
- package/build/lib/runtime/providers/__init__.py +0 -0
- package/build/lib/runtime/providers/codex_provider.py +102 -0
- package/build/lib/runtime/providers/gemini_provider.py +109 -0
- package/build/lib/runtime/providers/kimi_provider.py +132 -0
- package/build/lib/runtime/remote_supervisor.py +64 -0
- package/build/lib/runtime/runtime_profile.py +61 -0
- package/build/lib/runtime/security_check.py +965 -0
- package/build/lib/runtime/subagent_dispatcher.py +469 -0
- package/build/lib/runtime/team_router.py +1167 -0
- package/build/lib/runtime/test_intent_lock.py +91 -0
- package/build/lib/runtime/tmux_session_manager.py +169 -0
- package/build/lib/runtime/tracebank.py +95 -0
- package/build/lib/runtime/untrusted_content.py +269 -0
- package/commands/OMG:doctor.md +37 -0
- package/commands/OMG:preflight.md +1 -1
- package/commands/__init__.py +1 -0
- package/control_plane/__init__.py +2 -0
- package/control_plane/openapi.yaml +260 -0
- package/control_plane/server.py +147 -0
- package/control_plane/service.py +222 -0
- package/dist/enterprise/bundle/.agents/skills/omg/AGENTS.fragment.md +50 -3
- package/dist/enterprise/bundle/.agents/skills/omg/algorithms/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/algorithms/openai.yaml +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/api-twin/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/api-twin/openai.yaml +12 -0
- package/dist/enterprise/bundle/.agents/skills/omg/codex-rules.md +29 -0
- package/dist/enterprise/bundle/.agents/skills/omg/data-lineage/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/data-lineage/openai.yaml +12 -0
- package/dist/enterprise/bundle/.agents/skills/omg/delta-classifier/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/delta-classifier/openai.yaml +12 -0
- package/dist/enterprise/bundle/.agents/skills/omg/eval-gate/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/eval-gate/openai.yaml +12 -0
- package/dist/enterprise/bundle/.agents/skills/omg/health/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/health/openai.yaml +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/incident-replay/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/incident-replay/openai.yaml +12 -0
- package/dist/enterprise/bundle/.agents/skills/omg/preflight/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/preflight/openai.yaml +12 -0
- package/dist/enterprise/bundle/.agents/skills/omg/remote-supervisor/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/remote-supervisor/openai.yaml +12 -0
- package/dist/enterprise/bundle/.agents/skills/omg/robotics/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/robotics/openai.yaml +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/security-check/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/security-check/openai.yaml +13 -0
- package/dist/enterprise/bundle/.agents/skills/omg/tracebank/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/tracebank/openai.yaml +12 -0
- package/dist/enterprise/bundle/.agents/skills/omg/vision/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/vision/openai.yaml +11 -0
- package/dist/enterprise/bundle/.claude-plugin/marketplace.json +5 -5
- package/dist/enterprise/bundle/.claude-plugin/plugin.json +1 -1
- package/dist/enterprise/bundle/OMG_COMPAT_CONTRACT.md +1 -1
- package/dist/enterprise/bundle/plugins/advanced/commands/OMG:code-review.md +114 -0
- package/dist/enterprise/bundle/plugins/advanced/commands/OMG:deep-plan.md +221 -0
- package/dist/enterprise/bundle/plugins/advanced/commands/OMG:handoff.md +115 -0
- package/dist/enterprise/bundle/plugins/advanced/commands/OMG:learn.md +110 -0
- package/dist/enterprise/bundle/plugins/advanced/commands/OMG:maintainer.md +31 -0
- package/dist/enterprise/bundle/plugins/advanced/commands/OMG:ralph-start.md +43 -0
- package/dist/enterprise/bundle/plugins/advanced/commands/OMG:ralph-stop.md +23 -0
- package/dist/enterprise/bundle/plugins/advanced/commands/OMG:security-review.md +16 -0
- package/dist/enterprise/bundle/plugins/advanced/commands/OMG:sequential-thinking.md +20 -0
- package/dist/enterprise/bundle/plugins/advanced/commands/OMG:ship.md +46 -0
- package/dist/enterprise/bundle/plugins/advanced/plugin.json +87 -0
- package/dist/enterprise/bundle/registry/bundles/algorithms.yaml +45 -0
- package/dist/enterprise/bundle/registry/bundles/api-twin.yaml +48 -0
- package/dist/enterprise/bundle/registry/bundles/control-plane.yaml +151 -0
- package/dist/enterprise/bundle/registry/bundles/data-lineage.yaml +47 -0
- package/dist/enterprise/bundle/registry/bundles/delta-classifier.yaml +47 -0
- package/dist/enterprise/bundle/registry/bundles/eval-gate.yaml +47 -0
- package/dist/enterprise/bundle/registry/bundles/health.yaml +45 -0
- package/dist/enterprise/bundle/registry/bundles/hook-governor.yaml +97 -0
- package/dist/enterprise/bundle/registry/bundles/incident-replay.yaml +47 -0
- package/dist/enterprise/bundle/registry/bundles/lsp-pack.yaml +48 -0
- package/dist/enterprise/bundle/registry/bundles/mcp-fabric.yaml +53 -0
- package/dist/enterprise/bundle/registry/bundles/preflight.yaml +48 -0
- package/dist/enterprise/bundle/registry/bundles/remote-supervisor.yaml +49 -0
- package/dist/enterprise/bundle/registry/bundles/robotics.yaml +45 -0
- package/dist/enterprise/bundle/registry/bundles/secure-worktree-pipeline.yaml +54 -0
- package/dist/enterprise/bundle/registry/bundles/security-check.yaml +50 -0
- package/dist/enterprise/bundle/registry/bundles/tracebank.yaml +47 -0
- package/dist/enterprise/bundle/registry/bundles/vision.yaml +45 -0
- package/dist/enterprise/bundle/registry/omg-capability.schema.json +296 -0
- package/dist/enterprise/bundle/settings.json +233 -5
- package/dist/enterprise/manifest.json +216 -12
- package/dist/public/bundle/.agents/skills/omg/AGENTS.fragment.md +50 -3
- package/dist/public/bundle/.agents/skills/omg/algorithms/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/algorithms/openai.yaml +11 -0
- package/dist/public/bundle/.agents/skills/omg/api-twin/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/api-twin/openai.yaml +12 -0
- package/dist/public/bundle/.agents/skills/omg/codex-rules.md +29 -0
- package/dist/public/bundle/.agents/skills/omg/data-lineage/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/data-lineage/openai.yaml +12 -0
- package/dist/public/bundle/.agents/skills/omg/delta-classifier/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/delta-classifier/openai.yaml +12 -0
- package/dist/public/bundle/.agents/skills/omg/eval-gate/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/eval-gate/openai.yaml +12 -0
- package/dist/public/bundle/.agents/skills/omg/health/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/health/openai.yaml +11 -0
- package/dist/public/bundle/.agents/skills/omg/incident-replay/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/incident-replay/openai.yaml +12 -0
- package/dist/public/bundle/.agents/skills/omg/preflight/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/preflight/openai.yaml +12 -0
- package/dist/public/bundle/.agents/skills/omg/remote-supervisor/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/remote-supervisor/openai.yaml +12 -0
- package/dist/public/bundle/.agents/skills/omg/robotics/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/robotics/openai.yaml +11 -0
- package/dist/public/bundle/.agents/skills/omg/security-check/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/security-check/openai.yaml +13 -0
- package/dist/public/bundle/.agents/skills/omg/tracebank/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/tracebank/openai.yaml +12 -0
- package/dist/public/bundle/.agents/skills/omg/vision/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/vision/openai.yaml +11 -0
- package/dist/public/bundle/.claude-plugin/marketplace.json +5 -5
- package/dist/public/bundle/.claude-plugin/plugin.json +1 -1
- package/dist/public/bundle/OMG_COMPAT_CONTRACT.md +1 -1
- package/dist/public/bundle/plugins/advanced/commands/OMG:code-review.md +114 -0
- package/dist/public/bundle/plugins/advanced/commands/OMG:deep-plan.md +221 -0
- package/dist/public/bundle/plugins/advanced/commands/OMG:handoff.md +115 -0
- package/dist/public/bundle/plugins/advanced/commands/OMG:learn.md +110 -0
- package/dist/public/bundle/plugins/advanced/commands/OMG:maintainer.md +31 -0
- package/dist/public/bundle/plugins/advanced/commands/OMG:ralph-start.md +43 -0
- package/dist/public/bundle/plugins/advanced/commands/OMG:ralph-stop.md +23 -0
- package/dist/public/bundle/plugins/advanced/commands/OMG:security-review.md +16 -0
- package/dist/public/bundle/plugins/advanced/commands/OMG:sequential-thinking.md +20 -0
- package/dist/public/bundle/plugins/advanced/commands/OMG:ship.md +46 -0
- package/dist/public/bundle/plugins/advanced/plugin.json +87 -0
- package/dist/public/bundle/registry/bundles/algorithms.yaml +45 -0
- package/dist/public/bundle/registry/bundles/api-twin.yaml +48 -0
- package/dist/public/bundle/registry/bundles/control-plane.yaml +151 -0
- package/dist/public/bundle/registry/bundles/data-lineage.yaml +47 -0
- package/dist/public/bundle/registry/bundles/delta-classifier.yaml +47 -0
- package/dist/public/bundle/registry/bundles/eval-gate.yaml +47 -0
- package/dist/public/bundle/registry/bundles/health.yaml +45 -0
- package/dist/public/bundle/registry/bundles/hook-governor.yaml +97 -0
- package/dist/public/bundle/registry/bundles/incident-replay.yaml +47 -0
- package/dist/public/bundle/registry/bundles/lsp-pack.yaml +48 -0
- package/dist/public/bundle/registry/bundles/mcp-fabric.yaml +53 -0
- package/dist/public/bundle/registry/bundles/preflight.yaml +48 -0
- package/dist/public/bundle/registry/bundles/remote-supervisor.yaml +49 -0
- package/dist/public/bundle/registry/bundles/robotics.yaml +45 -0
- package/dist/public/bundle/registry/bundles/secure-worktree-pipeline.yaml +54 -0
- package/dist/public/bundle/registry/bundles/security-check.yaml +50 -0
- package/dist/public/bundle/registry/bundles/tracebank.yaml +47 -0
- package/dist/public/bundle/registry/bundles/vision.yaml +45 -0
- package/dist/public/bundle/registry/omg-capability.schema.json +296 -0
- package/dist/public/bundle/settings.json +232 -4
- package/dist/public/manifest.json +216 -12
- package/docs/assets/omg-hud.svg +32 -0
- package/docs/install/claude-code.md +31 -0
- package/docs/install/codex.md +29 -0
- package/docs/migration/native-adoption.md +57 -0
- package/docs/proof.md +65 -0
- package/docs/release-checklist.md +40 -0
- package/docs/transcripts/crazy.md +17 -0
- package/docs/transcripts/setup.md +25 -0
- package/hooks/policy_engine.py +122 -17
- package/hooks/setup_wizard.py +52 -12
- package/hooks/shadow_manager.py +27 -0
- package/package.json +2 -2
- package/plugins/README.md +5 -1
- package/plugins/__init__.py +1 -0
- package/plugins/advanced/commands/OMG:deep-plan.md +50 -6
- package/plugins/advanced/commands/OMG:ship.md +1 -1
- package/plugins/advanced/plugin.json +1 -10
- package/plugins/core/plugin.json +7 -1
- package/pyproject.toml +39 -3
- package/registry/__init__.py +1 -0
- package/registry/bundles/algorithms.yaml +45 -0
- package/registry/bundles/api-twin.yaml +48 -0
- package/registry/bundles/claim-judge.yaml +49 -0
- package/registry/bundles/control-plane.yaml +151 -0
- package/registry/bundles/data-lineage.yaml +47 -0
- package/registry/bundles/delta-classifier.yaml +47 -0
- package/registry/bundles/eval-gate.yaml +47 -0
- package/registry/bundles/health.yaml +45 -0
- package/registry/bundles/hook-governor.yaml +97 -0
- package/registry/bundles/incident-replay.yaml +47 -0
- package/registry/bundles/lsp-pack.yaml +48 -0
- package/registry/bundles/mcp-fabric.yaml +53 -0
- package/registry/bundles/plan-council.yaml +51 -0
- package/registry/bundles/preflight.yaml +48 -0
- package/registry/bundles/proof-gate.yaml +49 -0
- package/registry/bundles/remote-supervisor.yaml +49 -0
- package/registry/bundles/robotics.yaml +45 -0
- package/registry/bundles/secure-worktree-pipeline.yaml +54 -0
- package/registry/bundles/security-check.yaml +50 -0
- package/registry/bundles/test-intent-lock.yaml +49 -0
- package/registry/bundles/tracebank.yaml +47 -0
- package/registry/bundles/vision.yaml +45 -0
- package/registry/omg-capability.schema.json +296 -0
- package/registry/verify_artifact.py +90 -0
- package/runtime/adapters/claude.py +3 -0
- package/runtime/adapters/gpt.py +3 -0
- package/runtime/adapters/local.py +3 -0
- package/runtime/adoption.py +1 -1
- package/runtime/api_twin.py +334 -14
- package/runtime/asset_loader.py +62 -0
- package/runtime/business_workflow.py +14 -0
- package/runtime/claim_judge.py +95 -0
- package/runtime/compat.py +142 -2
- package/runtime/contract_compiler.py +1270 -50
- package/runtime/data_lineage.py +73 -0
- package/runtime/delta_classifier.py +81 -0
- package/runtime/domain_packs.py +12 -0
- package/runtime/ecosystem.py +1 -1
- package/runtime/eval_gate.py +96 -0
- package/runtime/incident_replay.py +47 -0
- package/runtime/mcp_config_writers.py +12 -0
- package/runtime/mcp_lifecycle.py +31 -9
- package/runtime/mcp_memory_server.py +1 -1
- package/runtime/omg_compat_contract_snapshot.json +1 -1
- package/runtime/omg_contract_snapshot.json +1 -1
- package/runtime/omg_mcp_server.py +16 -9
- package/runtime/playwright_pack.py +169 -0
- package/runtime/preflight.py +66 -1
- package/runtime/proof_chain.py +228 -0
- package/runtime/proof_gate.py +163 -0
- package/runtime/remote_supervisor.py +64 -0
- package/runtime/security_check.py +626 -8
- package/runtime/team_router.py +6 -6
- package/runtime/test_intent_lock.py +91 -0
- package/runtime/tracebank.py +95 -0
- package/runtime/untrusted_content.py +172 -5
- package/scripts/check-omg-public-ready.py +77 -0
- package/scripts/omg.py +207 -3
- package/scripts/verify-standalone.sh +7 -0
- package/settings.json +233 -5
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Native Adoption for OMC, OMX, and Superpowers
|
|
2
|
+
|
|
3
|
+
OMG keeps adoption native to OMG. There is no public `migrate` command to memorize or map back to another project.
|
|
4
|
+
|
|
5
|
+
Use either:
|
|
6
|
+
|
|
7
|
+
- `/OMG:setup`
|
|
8
|
+
- `./OMG-setup.sh install --adopt=auto`
|
|
9
|
+
|
|
10
|
+
## What Setup Detects
|
|
11
|
+
|
|
12
|
+
Setup can detect compatibility markers from:
|
|
13
|
+
|
|
14
|
+
- OMC-style environments
|
|
15
|
+
- OMX-style environments
|
|
16
|
+
- Superpowers-style command, skill, or workspace surfaces
|
|
17
|
+
|
|
18
|
+
Those detections are treated as adoption context, not as public implementation detail.
|
|
19
|
+
|
|
20
|
+
## Adoption Modes
|
|
21
|
+
|
|
22
|
+
### OMG-only
|
|
23
|
+
|
|
24
|
+
Recommended for most users.
|
|
25
|
+
|
|
26
|
+
- OMG becomes the primary hooks, HUD, MCP, and orchestration layer.
|
|
27
|
+
- Portable state is preserved where safe and overlapping surfaces are backed up before replacement.
|
|
28
|
+
- `compat` remains available for legacy skill routing only.
|
|
29
|
+
|
|
30
|
+
### coexist
|
|
31
|
+
|
|
32
|
+
Advanced mode for careful landings.
|
|
33
|
+
|
|
34
|
+
- OMG avoids claiming ownership of third-party namespaces.
|
|
35
|
+
- Existing HUD and hook ownership stays intact unless you explicitly switch later.
|
|
36
|
+
- Conflicts are recorded in the adoption report instead of being overwritten.
|
|
37
|
+
|
|
38
|
+
## Output
|
|
39
|
+
|
|
40
|
+
Native adoption writes:
|
|
41
|
+
|
|
42
|
+
- `.omg/state/adoption-report.json`
|
|
43
|
+
- `.omg/state/cli-config.yaml`
|
|
44
|
+
- `.mcp.json`
|
|
45
|
+
|
|
46
|
+
## Choosing a Preset
|
|
47
|
+
|
|
48
|
+
- `safe`: conservative OMG baseline
|
|
49
|
+
- `balanced`: recommended daily workflow
|
|
50
|
+
- `interop`: stronger shared-memory and multi-host interop
|
|
51
|
+
- `labs`: enables the most opinionated experimentation surfaces
|
|
52
|
+
|
|
53
|
+
## What Changes for Existing Users
|
|
54
|
+
|
|
55
|
+
- OMG-native setup language replaces public migration language.
|
|
56
|
+
- Compatibility references remain documented so users coming from OMC, OMX, or Superpowers can understand what setup detected.
|
|
57
|
+
- Public onboarding stays focused on `/OMG:setup` and `/OMG:crazy`.
|
package/docs/proof.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# OMG Proof Surface
|
|
2
|
+
|
|
3
|
+
[](https://github.com/trac3er00/OMG/actions/workflows/omg-compat-gate.yml)
|
|
4
|
+
[](https://www.npmjs.com/package/@trac3er/oh-my-god)
|
|
5
|
+
|
|
6
|
+
## Verification Status
|
|
7
|
+
|
|
8
|
+
OMG keeps verification visible instead of burying it in implementation details.
|
|
9
|
+
|
|
10
|
+
- Runtime evidence root: `.omg/evidence/`
|
|
11
|
+
- Doctor output: `.omg/evidence/doctor.json`
|
|
12
|
+
- Security-check artifacts: `.omg/evidence/security-check-*.json`
|
|
13
|
+
- Trust and external input artifacts: `.omg/evidence/trust-*.json`
|
|
14
|
+
- Truth bundles:
|
|
15
|
+
- `claim-judge`: `.omg/evidence/claim-judge-*.json` (verifies claim-to-evidence mapping)
|
|
16
|
+
- `test-intent-lock`: `.omg/evidence/test-intent-lock-*.json` (verifies test-to-intent alignment)
|
|
17
|
+
- `proof-gate`: `.omg/evidence/proof-gate-*.json` (verifies final release readiness)
|
|
18
|
+
- Browser evidence: `.omg/evidence/browser-*.png` and `.omg/evidence/browser-*.json` (Playwright-backed verification)
|
|
19
|
+
- Trace records and evidence links: `.omg/tracebank/events.jsonl`, `.omg/tracebank/evidence-links.jsonl`
|
|
20
|
+
- Eval gate artifacts and trace links: `.omg/evals/latest.json`, `.omg/evals/history.jsonl`, `.omg/evals/trace-links.jsonl`
|
|
21
|
+
- Lineage manifests: `.omg/lineage/*.json`
|
|
22
|
+
- Release readiness output links these machine artifacts instead of prose-only pass counts.
|
|
23
|
+
|
|
24
|
+
## Provider Matrix
|
|
25
|
+
|
|
26
|
+
| Provider | Detect | Auth Check | MCP Config | Host Priority |
|
|
27
|
+
|----------|--------|------------|------------|---------------|
|
|
28
|
+
| Claude Code | host-native | host-native | yes | primary |
|
|
29
|
+
| Codex | yes | yes | yes | primary |
|
|
30
|
+
| Gemini | yes | yes | yes | supported |
|
|
31
|
+
| Kimi | yes | yes | yes | supported |
|
|
32
|
+
|
|
33
|
+
## Adoption Evidence
|
|
34
|
+
|
|
35
|
+
- Native setup writes `.omg/state/adoption-report.json`
|
|
36
|
+
- Native setup writes `.omg/state/cli-config.yaml`
|
|
37
|
+
- `OMG-only` and `coexist` are both covered in setup tests
|
|
38
|
+
- OMC, OMX, and Superpowers references stay limited to compatibility and adoption guidance
|
|
39
|
+
|
|
40
|
+
## HUD Artifact
|
|
41
|
+
|
|
42
|
+

|
|
43
|
+
|
|
44
|
+
## Benchmark Tasks
|
|
45
|
+
|
|
46
|
+
Representative benchmark tasks for this release:
|
|
47
|
+
|
|
48
|
+
- host detection and auth wiring
|
|
49
|
+
- canonical security-check routing and evidence emission
|
|
50
|
+
- narrowed stdio OMG control MCP wiring
|
|
51
|
+
- truth bundle verification (claim-judge, test-intent-lock, proof-gate)
|
|
52
|
+
- plan-council role compilation and execution
|
|
53
|
+
- adoption detection with overlapping ecosystems
|
|
54
|
+
- plugin install and uninstall correctness
|
|
55
|
+
- `crazy` orchestration smoke coverage
|
|
56
|
+
|
|
57
|
+
## Sample Transcripts
|
|
58
|
+
|
|
59
|
+
- Setup: [docs/transcripts/setup.md](transcripts/setup.md)
|
|
60
|
+
- Crazy: [docs/transcripts/crazy.md](transcripts/crazy.md)
|
|
61
|
+
|
|
62
|
+
## Release Discipline
|
|
63
|
+
|
|
64
|
+
- Public launch checklist: [docs/release-checklist.md](release-checklist.md)
|
|
65
|
+
- Changelog: [CHANGELOG.md](../CHANGELOG.md)
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Public Release Checklist
|
|
2
|
+
|
|
3
|
+
Use this checklist before making OMG public or cutting a release tag.
|
|
4
|
+
|
|
5
|
+
## Identity
|
|
6
|
+
|
|
7
|
+
- README, `package.json`, plugin manifests, and CLI version output agree on the version
|
|
8
|
+
- repo URL is `https://github.com/trac3er00/OMG`
|
|
9
|
+
- plugin and marketplace id are `omg`
|
|
10
|
+
|
|
11
|
+
## Public Safety
|
|
12
|
+
|
|
13
|
+
- `python3 scripts/check-omg-public-ready.py` passes
|
|
14
|
+
- no internal planning docs ship in `docs/plans/`
|
|
15
|
+
- no absolute local paths or stale internal path references remain
|
|
16
|
+
|
|
17
|
+
## Verification
|
|
18
|
+
|
|
19
|
+
- `python3 scripts/omg.py contract validate` passes
|
|
20
|
+
- `python3 scripts/omg.py contract compile --host claude --host codex --channel public --output-root <tmp>` passes
|
|
21
|
+
- `python3 scripts/omg.py contract compile --host claude --host codex --channel enterprise --output-root <tmp>` passes
|
|
22
|
+
- `python3 scripts/omg.py release readiness --channel dual --output-root <tmp>` passes
|
|
23
|
+
- Truth bundles (`claim-judge`, `test-intent-lock`, `proof-gate`) are verified and present in `registry/bundles/`
|
|
24
|
+
- `plan-council` role is compiled and verified in `registry/bundles/`
|
|
25
|
+
- `python3 scripts/check-omg-standalone-clean.py` passes
|
|
26
|
+
- `./scripts/verify-standalone.sh` passes
|
|
27
|
+
- `python3 -m pytest tests -q` passes
|
|
28
|
+
|
|
29
|
+
## Docs
|
|
30
|
+
|
|
31
|
+
- README matches the current product surface
|
|
32
|
+
- install guides for Claude Code and Codex are current
|
|
33
|
+
- proof page includes current verification evidence
|
|
34
|
+
- changelog includes the release entry
|
|
35
|
+
|
|
36
|
+
## Release Ops
|
|
37
|
+
|
|
38
|
+
- `package.json` version matches the tag you will create
|
|
39
|
+
- npm publishing credentials are configured for `publish-npm.yml`
|
|
40
|
+
- GitHub Actions required checks are green
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Sample Transcript: /OMG:crazy
|
|
2
|
+
|
|
3
|
+
```text
|
|
4
|
+
/OMG:crazy stabilize auth and dashboard flows
|
|
5
|
+
|
|
6
|
+
Workers:
|
|
7
|
+
- architect-mode
|
|
8
|
+
- backend-engineer
|
|
9
|
+
- frontend-designer
|
|
10
|
+
- security-auditor
|
|
11
|
+
- testing-engineer
|
|
12
|
+
|
|
13
|
+
Execution:
|
|
14
|
+
- parallel
|
|
15
|
+
- evidence-aware
|
|
16
|
+
- verification required before completion
|
|
17
|
+
```
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Sample Transcript: /OMG:setup
|
|
2
|
+
|
|
3
|
+
```text
|
|
4
|
+
/OMG:setup
|
|
5
|
+
|
|
6
|
+
Detected hosts:
|
|
7
|
+
- codex: installed, authenticated
|
|
8
|
+
- gemini: not found
|
|
9
|
+
- kimi: not found
|
|
10
|
+
|
|
11
|
+
Detected ecosystems:
|
|
12
|
+
- omc
|
|
13
|
+
- superpowers
|
|
14
|
+
|
|
15
|
+
Recommended mode: omg-only
|
|
16
|
+
Selected preset: balanced
|
|
17
|
+
|
|
18
|
+
Configured:
|
|
19
|
+
- .mcp.json
|
|
20
|
+
- .omg/state/cli-config.yaml
|
|
21
|
+
- .omg/state/adoption-report.json
|
|
22
|
+
|
|
23
|
+
Next step:
|
|
24
|
+
/OMG:crazy stabilize auth and dashboard flows
|
|
25
|
+
```
|
package/hooks/policy_engine.py
CHANGED
|
@@ -8,6 +8,7 @@ from __future__ import annotations
|
|
|
8
8
|
|
|
9
9
|
from dataclasses import dataclass, asdict
|
|
10
10
|
from fnmatch import fnmatch
|
|
11
|
+
import importlib
|
|
11
12
|
import os
|
|
12
13
|
import re
|
|
13
14
|
from typing import Any
|
|
@@ -122,12 +123,89 @@ UNTRUSTED_MUTATION_PATTERNS = [
|
|
|
122
123
|
r"\b(mv|cp|tee|sed\s+-i|touch|mkdir)\b",
|
|
123
124
|
]
|
|
124
125
|
|
|
126
|
+
TRUSTED_CONTENT_TIERS = frozenset({"local", "balanced"})
|
|
127
|
+
UNTRUSTED_EXTERNAL_TIERS = frozenset({"research", "browser"})
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
def _project_dir() -> str:
|
|
131
|
+
return os.environ.get("CLAUDE_PROJECT_DIR", os.getcwd())
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
def _load_untrusted_provenance_entries() -> list[dict[str, Any]]:
|
|
135
|
+
try:
|
|
136
|
+
from runtime.untrusted_content import get_untrusted_content_state
|
|
137
|
+
|
|
138
|
+
state = get_untrusted_content_state(_project_dir())
|
|
139
|
+
provenance = state.get("provenance", [])
|
|
140
|
+
if isinstance(provenance, list):
|
|
141
|
+
return [entry for entry in provenance if isinstance(entry, dict)]
|
|
142
|
+
except Exception:
|
|
143
|
+
return []
|
|
144
|
+
return []
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
def _is_state_changing_action(action: str) -> bool:
|
|
148
|
+
normalized = str(action).strip().lower()
|
|
149
|
+
return normalized in {
|
|
150
|
+
"state_change",
|
|
151
|
+
"state-changing",
|
|
152
|
+
"bash_mutation",
|
|
153
|
+
"file_mutation",
|
|
154
|
+
"write",
|
|
155
|
+
"edit",
|
|
156
|
+
"delete",
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
def evaluate_action_justification(
|
|
161
|
+
*,
|
|
162
|
+
action: str,
|
|
163
|
+
evidence: list[dict[str, Any]],
|
|
164
|
+
require_explicit_approval: bool = True,
|
|
165
|
+
) -> PolicyDecision:
|
|
166
|
+
if not _is_state_changing_action(action):
|
|
167
|
+
return allow("non-mutating action")
|
|
168
|
+
if not evidence:
|
|
169
|
+
return ask(
|
|
170
|
+
"State-changing action lacks trust-scored evidence.",
|
|
171
|
+
"high",
|
|
172
|
+
["manual-approval", "trusted-evidence-required"],
|
|
173
|
+
)
|
|
174
|
+
|
|
175
|
+
tiers = {
|
|
176
|
+
str(item.get("_trust_tier") or item.get("trust_tier") or "").strip().lower()
|
|
177
|
+
for item in evidence
|
|
178
|
+
if isinstance(item, dict)
|
|
179
|
+
}
|
|
180
|
+
tiers.discard("")
|
|
181
|
+
has_trusted = bool(tiers & TRUSTED_CONTENT_TIERS)
|
|
182
|
+
has_external_only = bool(tiers) and tiers.issubset(UNTRUSTED_EXTERNAL_TIERS)
|
|
183
|
+
|
|
184
|
+
if has_trusted:
|
|
185
|
+
return allow("trusted local evidence present")
|
|
186
|
+
|
|
187
|
+
if has_external_only:
|
|
188
|
+
reason = (
|
|
189
|
+
"State-changing action is justified only by UNTRUSTED_EXTERNAL_CONTENT "
|
|
190
|
+
"(research/browser tier)."
|
|
191
|
+
)
|
|
192
|
+
controls = ["manual-approval", "trusted-corroboration", "review-provenance"]
|
|
193
|
+
if require_explicit_approval:
|
|
194
|
+
return ask(reason, "high", controls)
|
|
195
|
+
return deny(reason, "high", controls)
|
|
196
|
+
|
|
197
|
+
return ask(
|
|
198
|
+
"State-changing action has unknown trust provenance.",
|
|
199
|
+
"high",
|
|
200
|
+
["manual-approval", "review-provenance"],
|
|
201
|
+
)
|
|
202
|
+
|
|
125
203
|
|
|
126
204
|
def _is_untrusted_content_mode_active() -> bool:
|
|
127
205
|
try:
|
|
128
206
|
from runtime.untrusted_content import is_untrusted_content_mode_active
|
|
129
207
|
|
|
130
|
-
project_dir =
|
|
208
|
+
project_dir = _project_dir()
|
|
131
209
|
return is_untrusted_content_mode_active(project_dir)
|
|
132
210
|
except Exception:
|
|
133
211
|
return False
|
|
@@ -175,14 +253,25 @@ def evaluate_bash_command(cmd: str) -> PolicyDecision:
|
|
|
175
253
|
if re.search(pat, cmd):
|
|
176
254
|
return ask(f"{label}: {cmd[:120]}", "med", ["human-approval"])
|
|
177
255
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
256
|
+
for pat in UNTRUSTED_MUTATION_PATTERNS:
|
|
257
|
+
if not re.search(pat, cmd):
|
|
258
|
+
continue
|
|
259
|
+
provenance_entries = _load_untrusted_provenance_entries()
|
|
260
|
+
if provenance_entries:
|
|
261
|
+
decision = evaluate_action_justification(
|
|
262
|
+
action="state_change",
|
|
263
|
+
evidence=provenance_entries,
|
|
264
|
+
require_explicit_approval=True,
|
|
265
|
+
)
|
|
266
|
+
if decision.action != "allow":
|
|
267
|
+
return decision
|
|
268
|
+
if _is_untrusted_content_mode_active():
|
|
269
|
+
return ask(
|
|
270
|
+
"Untrusted external content mode is active. Review before running state-changing commands.",
|
|
271
|
+
"high",
|
|
272
|
+
["manual-approval", "review-provenance"],
|
|
273
|
+
)
|
|
274
|
+
break
|
|
186
275
|
|
|
187
276
|
return allow("command allowed")
|
|
188
277
|
|
|
@@ -232,7 +321,10 @@ def _is_omg_credential_path(normalized_path: str) -> bool:
|
|
|
232
321
|
This is deliberately narrow to prevent path traversal attacks.
|
|
233
322
|
"""
|
|
234
323
|
# Import here to avoid circular dependency at module level
|
|
235
|
-
|
|
324
|
+
try:
|
|
325
|
+
get_feature_flag = getattr(importlib.import_module("hooks._common"), "get_feature_flag")
|
|
326
|
+
except Exception:
|
|
327
|
+
get_feature_flag = getattr(importlib.import_module("_common"), "get_feature_flag")
|
|
236
328
|
|
|
237
329
|
# Only exempt if feature is enabled
|
|
238
330
|
if not get_feature_flag("MULTI_CREDENTIAL", default=False):
|
|
@@ -413,7 +505,10 @@ def _log_allowlist_bypass(path: str, tool: str, reason: str) -> None:
|
|
|
413
505
|
Silently fails — never raises exceptions (crash isolation invariant).
|
|
414
506
|
"""
|
|
415
507
|
try:
|
|
416
|
-
|
|
508
|
+
try:
|
|
509
|
+
log_secret_access = getattr(importlib.import_module("hooks.secret_audit"), "log_secret_access")
|
|
510
|
+
except Exception:
|
|
511
|
+
log_secret_access = getattr(importlib.import_module("secret_audit"), "log_secret_access")
|
|
417
512
|
|
|
418
513
|
project_dir = os.environ.get("CLAUDE_PROJECT_DIR", os.getcwd())
|
|
419
514
|
log_secret_access(
|
|
@@ -472,12 +567,22 @@ def evaluate_file_access(
|
|
|
472
567
|
if re.search(pat, lowpath):
|
|
473
568
|
return deny(f"Sensitive path blocked: {file_path}", "critical", ["secret-access"])
|
|
474
569
|
|
|
475
|
-
if tool in {"Write", "Edit", "MultiEdit"}
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
570
|
+
if tool in {"Write", "Edit", "MultiEdit"}:
|
|
571
|
+
provenance_entries = _load_untrusted_provenance_entries()
|
|
572
|
+
if provenance_entries:
|
|
573
|
+
decision = evaluate_action_justification(
|
|
574
|
+
action="file_mutation",
|
|
575
|
+
evidence=provenance_entries,
|
|
576
|
+
require_explicit_approval=True,
|
|
577
|
+
)
|
|
578
|
+
if decision.action != "allow":
|
|
579
|
+
return decision
|
|
580
|
+
if _is_untrusted_content_mode_active():
|
|
581
|
+
return ask(
|
|
582
|
+
"Untrusted external content mode is active. Review before mutating files.",
|
|
583
|
+
"high",
|
|
584
|
+
["manual-approval", "review-provenance"],
|
|
585
|
+
)
|
|
481
586
|
|
|
482
587
|
if allowlist and is_allowlisted(file_path, tool, allowlist):
|
|
483
588
|
return allow(f"Allowlisted: {file_path}")
|
package/hooks/setup_wizard.py
CHANGED
|
@@ -69,6 +69,9 @@ BYPASS_ALL_WARNING = (
|
|
|
69
69
|
"Do you want to enable bypass-all mode? (y/N): "
|
|
70
70
|
)
|
|
71
71
|
|
|
72
|
+
PRESET_ORDER: tuple[str, ...] = ("safe", "balanced", "interop", "labs")
|
|
73
|
+
_PRESET_LEVEL: dict[str, int] = {p: i for i, p in enumerate(PRESET_ORDER)}
|
|
74
|
+
|
|
72
75
|
MCP_CATALOG: list[dict[str, Any]] = [
|
|
73
76
|
{
|
|
74
77
|
"id": "context7",
|
|
@@ -76,7 +79,8 @@ MCP_CATALOG: list[dict[str, Any]] = [
|
|
|
76
79
|
"description": "Upstash Context7 MCP server for context management",
|
|
77
80
|
"command": "npx",
|
|
78
81
|
"args": ["@upstash/context7-mcp@2.1.3"],
|
|
79
|
-
"default":
|
|
82
|
+
"default": False,
|
|
83
|
+
"min_preset": "balanced",
|
|
80
84
|
"category": "productivity",
|
|
81
85
|
},
|
|
82
86
|
{
|
|
@@ -86,6 +90,7 @@ MCP_CATALOG: list[dict[str, Any]] = [
|
|
|
86
90
|
"command": "npx",
|
|
87
91
|
"args": ["@modelcontextprotocol/server-filesystem@2026.1.14", "."],
|
|
88
92
|
"default": True,
|
|
93
|
+
"min_preset": "safe",
|
|
89
94
|
"category": "system",
|
|
90
95
|
},
|
|
91
96
|
{
|
|
@@ -94,7 +99,8 @@ MCP_CATALOG: list[dict[str, Any]] = [
|
|
|
94
99
|
"description": "Web search MCP server for internet queries",
|
|
95
100
|
"command": "npx",
|
|
96
101
|
"args": ["@zhafron/mcp-web-search@1.2.2"],
|
|
97
|
-
"default":
|
|
102
|
+
"default": False,
|
|
103
|
+
"min_preset": "interop",
|
|
98
104
|
"category": "search",
|
|
99
105
|
},
|
|
100
106
|
{
|
|
@@ -103,7 +109,8 @@ MCP_CATALOG: list[dict[str, Any]] = [
|
|
|
103
109
|
"description": "Chrome DevTools MCP server for browser automation",
|
|
104
110
|
"command": "npx",
|
|
105
111
|
"args": ["chrome-devtools-mcp@0.19.0"],
|
|
106
|
-
"default":
|
|
112
|
+
"default": False,
|
|
113
|
+
"min_preset": "labs",
|
|
107
114
|
"category": "browser",
|
|
108
115
|
},
|
|
109
116
|
{
|
|
@@ -114,7 +121,8 @@ MCP_CATALOG: list[dict[str, Any]] = [
|
|
|
114
121
|
"args": [],
|
|
115
122
|
"type": "http",
|
|
116
123
|
"url": "http://127.0.0.1:8765/mcp",
|
|
117
|
-
"default":
|
|
124
|
+
"default": False,
|
|
125
|
+
"min_preset": "interop",
|
|
118
126
|
"category": "memory",
|
|
119
127
|
},
|
|
120
128
|
{
|
|
@@ -124,6 +132,7 @@ MCP_CATALOG: list[dict[str, Any]] = [
|
|
|
124
132
|
"command": OMG_CONTROL_COMMAND,
|
|
125
133
|
"args": OMG_CONTROL_ARGS,
|
|
126
134
|
"default": True,
|
|
135
|
+
"min_preset": "safe",
|
|
127
136
|
"category": "control",
|
|
128
137
|
},
|
|
129
138
|
{
|
|
@@ -192,6 +201,26 @@ def get_mcp_catalog() -> list[dict[str, Any]]:
|
|
|
192
201
|
return MCP_CATALOG
|
|
193
202
|
|
|
194
203
|
|
|
204
|
+
def get_default_mcps_for_preset(preset: str) -> list[str]:
|
|
205
|
+
"""Return the list of MCP server IDs enabled by default for *preset*.
|
|
206
|
+
|
|
207
|
+
Each catalog entry carries a ``min_preset`` field that specifies the
|
|
208
|
+
lowest preset tier at which the MCP is included. The preset order is
|
|
209
|
+
``safe < balanced < interop < labs``.
|
|
210
|
+
|
|
211
|
+
Returns:
|
|
212
|
+
Sorted list of MCP server IDs whose ``min_preset`` is at or below
|
|
213
|
+
the requested *preset* level.
|
|
214
|
+
"""
|
|
215
|
+
level = _PRESET_LEVEL.get(preset, 0)
|
|
216
|
+
return [
|
|
217
|
+
m["id"]
|
|
218
|
+
for m in MCP_CATALOG
|
|
219
|
+
if _PRESET_LEVEL.get(m.get("min_preset", ""), -1) <= level
|
|
220
|
+
and m.get("min_preset") is not None
|
|
221
|
+
]
|
|
222
|
+
|
|
223
|
+
|
|
195
224
|
def build_mcp_config(selected_ids: list[str]) -> dict[str, Any]:
|
|
196
225
|
"""Build .mcp.json configuration from selected MCP server IDs.
|
|
197
226
|
|
|
@@ -245,17 +274,18 @@ def configure_plan_type(plan_type: str) -> dict[str, Any]:
|
|
|
245
274
|
return result
|
|
246
275
|
|
|
247
276
|
|
|
248
|
-
def select_mcps(selected_ids: list[str] | None = None) -> dict[str, Any]:
|
|
277
|
+
def select_mcps(selected_ids: list[str] | None = None, preset: str = "safe") -> dict[str, Any]:
|
|
249
278
|
"""Build MCP config from selected IDs.
|
|
250
279
|
|
|
251
280
|
Args:
|
|
252
|
-
selected_ids: List of MCP IDs to include. If None, uses defaults.
|
|
281
|
+
selected_ids: List of MCP IDs to include. If None, uses preset defaults.
|
|
282
|
+
preset: Preset tier that controls which MCPs are included by default.
|
|
253
283
|
|
|
254
284
|
Returns:
|
|
255
285
|
dict with mcpServers key (ready to write as .mcp.json)
|
|
256
286
|
"""
|
|
257
287
|
if selected_ids is None:
|
|
258
|
-
selected_ids =
|
|
288
|
+
selected_ids = get_default_mcps_for_preset(preset)
|
|
259
289
|
return build_mcp_config(selected_ids)
|
|
260
290
|
|
|
261
291
|
|
|
@@ -383,6 +413,9 @@ def check_auth() -> dict[str, Any]:
|
|
|
383
413
|
return {"status": "pending", "results": {}}
|
|
384
414
|
|
|
385
415
|
|
|
416
|
+
_HTTP_MEMORY_MIN_LEVEL: int = _PRESET_LEVEL["interop"]
|
|
417
|
+
|
|
418
|
+
|
|
386
419
|
def configure_mcp(
|
|
387
420
|
project_dir: str,
|
|
388
421
|
detected_clis: dict[str, Any],
|
|
@@ -391,12 +424,17 @@ def configure_mcp(
|
|
|
391
424
|
control_command: str = OMG_CONTROL_COMMAND,
|
|
392
425
|
control_args: list[str] | None = None,
|
|
393
426
|
control_server_name: str = OMG_CONTROL_SERVER_NAME,
|
|
427
|
+
preset: str = "safe",
|
|
394
428
|
) -> dict[str, Any]:
|
|
395
429
|
"""Configure OMG MCP servers for authenticated CLIs.
|
|
396
430
|
|
|
397
431
|
For each CLI in detected_clis where detected_clis[cli]["detected"] == True,
|
|
398
432
|
calls the appropriate writer from runtime.mcp_config_writers.
|
|
399
433
|
|
|
434
|
+
HTTP memory surfaces are only written when the *preset* is at or above
|
|
435
|
+
``interop`` level. ``safe`` and ``balanced`` presets write only the
|
|
436
|
+
stdio ``omg-control`` surface.
|
|
437
|
+
|
|
400
438
|
Args:
|
|
401
439
|
project_dir: Path to the project directory.
|
|
402
440
|
detected_clis: Dict of CLI detection results from detect_clis().
|
|
@@ -405,6 +443,7 @@ def configure_mcp(
|
|
|
405
443
|
control_command: stdio command for the OMG control MCP server.
|
|
406
444
|
control_args: stdio args for the OMG control MCP server.
|
|
407
445
|
control_server_name: MCP server name for the OMG control surface.
|
|
446
|
+
preset: Active preset tier (safe, balanced, interop, labs).
|
|
408
447
|
|
|
409
448
|
Returns:
|
|
410
449
|
Dict with keys:
|
|
@@ -415,10 +454,11 @@ def configure_mcp(
|
|
|
415
454
|
configured: list[str] = []
|
|
416
455
|
errors: dict[str, str] = {}
|
|
417
456
|
resolved_control_args = list(control_args or OMG_CONTROL_ARGS)
|
|
457
|
+
http_memory_allowed = _PRESET_LEVEL.get(preset, 0) >= _HTTP_MEMORY_MIN_LEVEL
|
|
418
458
|
|
|
419
|
-
# Always write Claude project config for both memory and control surfaces.
|
|
420
459
|
try:
|
|
421
|
-
|
|
460
|
+
if http_memory_allowed:
|
|
461
|
+
write_claude_mcp_config(project_dir, server_url, server_name)
|
|
422
462
|
write_claude_mcp_stdio_config(
|
|
423
463
|
project_dir,
|
|
424
464
|
command=control_command,
|
|
@@ -429,7 +469,6 @@ def configure_mcp(
|
|
|
429
469
|
_logger.warning("Failed to write Claude MCP config: %s", exc)
|
|
430
470
|
errors["claude"] = str(exc)
|
|
431
471
|
|
|
432
|
-
# Write both memory and control surfaces for detected external CLIs.
|
|
433
472
|
cli_writers = {
|
|
434
473
|
"codex": (write_codex_mcp_config, write_codex_mcp_stdio_config),
|
|
435
474
|
"gemini": (write_gemini_mcp_config, write_gemini_mcp_stdio_config),
|
|
@@ -442,7 +481,8 @@ def configure_mcp(
|
|
|
442
481
|
continue
|
|
443
482
|
|
|
444
483
|
try:
|
|
445
|
-
|
|
484
|
+
if http_memory_allowed:
|
|
485
|
+
http_writer(server_url, server_name)
|
|
446
486
|
stdio_writer(
|
|
447
487
|
command=control_command,
|
|
448
488
|
args=resolved_control_args,
|
|
@@ -591,7 +631,7 @@ def run_setup_wizard(
|
|
|
591
631
|
|
|
592
632
|
clis = detect_clis()
|
|
593
633
|
auth = check_auth()
|
|
594
|
-
mcp = configure_mcp(project_dir, clis)
|
|
634
|
+
mcp = configure_mcp(project_dir, clis, preset=selected_preset)
|
|
595
635
|
prefs = set_preferences(project_dir, {"preset": selected_preset})
|
|
596
636
|
report_path = write_adoption_report(project_dir, adoption)
|
|
597
637
|
adoption["report_path"] = report_path
|
package/hooks/shadow_manager.py
CHANGED
|
@@ -8,7 +8,9 @@ from __future__ import annotations
|
|
|
8
8
|
import hashlib
|
|
9
9
|
import json
|
|
10
10
|
import os
|
|
11
|
+
import platform
|
|
11
12
|
import shutil
|
|
13
|
+
import socket
|
|
12
14
|
import sys
|
|
13
15
|
from datetime import datetime, timezone
|
|
14
16
|
from typing import Any
|
|
@@ -182,9 +184,29 @@ def create_evidence_pack(
|
|
|
182
184
|
provenance: list[dict[str, Any]] | None = None,
|
|
183
185
|
trust_scores: dict[str, Any] | None = None,
|
|
184
186
|
api_twin: dict[str, Any] | None = None,
|
|
187
|
+
route_metadata: dict[str, Any] | None = None,
|
|
188
|
+
trace_ids: list[str] | None = None,
|
|
189
|
+
lineage: dict[str, Any] | None = None,
|
|
190
|
+
executor: dict[str, Any] | None = None,
|
|
191
|
+
environment: dict[str, Any] | None = None,
|
|
185
192
|
) -> str:
|
|
186
193
|
ensure_shadow_dirs(project_dir)
|
|
187
194
|
run_id = _validated_run_id(run_id)
|
|
195
|
+
|
|
196
|
+
# Default executor if not provided
|
|
197
|
+
if executor is None:
|
|
198
|
+
executor = {
|
|
199
|
+
"user": os.getenv("USER", "unknown"),
|
|
200
|
+
"pid": str(os.getpid()),
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
# Default environment if not provided
|
|
204
|
+
if environment is None:
|
|
205
|
+
environment = {
|
|
206
|
+
"hostname": socket.gethostname(),
|
|
207
|
+
"platform": platform.system(),
|
|
208
|
+
}
|
|
209
|
+
|
|
188
210
|
evidence = {
|
|
189
211
|
"schema": "EvidencePack",
|
|
190
212
|
"run_id": run_id,
|
|
@@ -197,6 +219,11 @@ def create_evidence_pack(
|
|
|
197
219
|
"provenance": provenance or [],
|
|
198
220
|
"trust_scores": trust_scores or {},
|
|
199
221
|
"api_twin": api_twin or {},
|
|
222
|
+
"route_metadata": route_metadata or {},
|
|
223
|
+
"trace_ids": trace_ids or [],
|
|
224
|
+
"lineage": lineage or {},
|
|
225
|
+
"executor": executor,
|
|
226
|
+
"environment": environment,
|
|
200
227
|
}
|
|
201
228
|
evidence_path = ensure_path_within_dir(
|
|
202
229
|
_evidence_root(project_dir),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trac3er/oh-my-god",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "OMG (Oh My God) — Multi-agent orchestration,
|
|
3
|
+
"version": "2.0.7",
|
|
4
|
+
"description": "OMG (Oh My God) — Multi-agent orchestration, evidence-backed verification, and durable session state for Claude Code, Codex, and supported agent hosts",
|
|
5
5
|
"main": "OMG-setup.sh",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"postinstall": "./OMG-setup.sh install --non-interactive",
|
package/plugins/README.md
CHANGED
|
@@ -28,11 +28,15 @@ OMG exposes a small native front door and keeps the rest of the surface availabl
|
|
|
28
28
|
|
|
29
29
|
| Command | Category | Description |
|
|
30
30
|
|---------|----------|-------------|
|
|
31
|
-
| `/OMG:deep-plan` | Planning | Strategic planning with domain awareness |
|
|
31
|
+
| `/OMG:deep-plan` | Planning | Strategic planning with domain awareness (routes to `plan-council`) |
|
|
32
32
|
| `/OMG:learn` | Knowledge | Convert patterns into OMG-native instincts and skills |
|
|
33
33
|
| `/OMG:code-review` | Quality | Deep review flow |
|
|
34
34
|
| `/OMG:ship` | Delivery | Idea to evidence to release |
|
|
35
35
|
| `/OMG:handoff` | Collaboration | Session transfer and continuity |
|
|
36
|
+
| `/OMG:maintainer` | OSS | Open-source maintainer workflows |
|
|
37
|
+
| `/OMG:sequential-thinking` | Thinking | Structured multi-step reasoning |
|
|
38
|
+
| `/OMG:ralph-start` | Automation | Start Ralph autonomous loop |
|
|
39
|
+
| `/OMG:ralph-stop` | Automation | Stop Ralph autonomous loop |
|
|
36
40
|
|
|
37
41
|
## Plugin Layout
|
|
38
42
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""OMG plugin packages."""
|