@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
package/scripts/omg.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
|
-
"""OMG 2.0.
|
|
2
|
+
"""OMG 2.0.7 CLI entrypoint.
|
|
3
3
|
|
|
4
4
|
Implements practical command-line flows for:
|
|
5
5
|
- omg ship
|
|
@@ -33,14 +33,19 @@ from hooks.trust_review import review_config_change, write_trust_manifest
|
|
|
33
33
|
from lab.pipeline import publish_artifact, run_pipeline
|
|
34
34
|
from runtime.dispatcher import dispatch_runtime
|
|
35
35
|
from runtime.api_twin import ingest_contract, record_fixture, serve_fixture, verify_fixture
|
|
36
|
+
from runtime.data_lineage import build_lineage_manifest
|
|
37
|
+
from runtime.eval_gate import evaluate_trace
|
|
38
|
+
from runtime.incident_replay import build_incident_pack
|
|
36
39
|
from runtime.domain_packs import get_domain_pack_contract
|
|
37
40
|
from runtime.preflight import run_preflight
|
|
41
|
+
from runtime.remote_supervisor import issue_local_supervisor_session, verify_local_supervisor_token
|
|
38
42
|
from runtime.security_check import run_security_check
|
|
39
43
|
from runtime.contract_compiler import (
|
|
40
44
|
build_release_readiness,
|
|
41
45
|
compile_contract_outputs,
|
|
42
46
|
validate_contract_registry,
|
|
43
47
|
)
|
|
48
|
+
from runtime.tracebank import record_trace
|
|
44
49
|
from runtime.compat import (
|
|
45
50
|
DEFAULT_CONTRACT_SNAPSHOT_PATH,
|
|
46
51
|
DEFAULT_GAP_REPORT_PATH,
|
|
@@ -50,6 +55,7 @@ from runtime.compat import (
|
|
|
50
55
|
get_compat_skill_contract,
|
|
51
56
|
list_compat_skill_contracts,
|
|
52
57
|
list_compat_skills,
|
|
58
|
+
run_doctor,
|
|
53
59
|
)
|
|
54
60
|
from runtime.adoption import CANONICAL_VERSION
|
|
55
61
|
from runtime.ecosystem import ecosystem_status, list_ecosystem_repos, sync_ecosystem_repos
|
|
@@ -130,14 +136,49 @@ def cmd_ship(args: argparse.Namespace) -> int:
|
|
|
130
136
|
run_id = args.run_id or _now_run_id()
|
|
131
137
|
verification = dispatched.get("verification", {})
|
|
132
138
|
checks = verification.get("checks", []) if isinstance(verification, dict) else []
|
|
139
|
+
preflight = run_preflight(project_dir, goal=str(idea.get("goal", "")))
|
|
140
|
+
security_result = run_security_check(project_dir=project_dir, scope=".")
|
|
141
|
+
trace = record_trace(
|
|
142
|
+
project_dir,
|
|
143
|
+
trace_type="ship",
|
|
144
|
+
route=preflight["route"],
|
|
145
|
+
status="ok",
|
|
146
|
+
plan=dispatched.get("plan", {}),
|
|
147
|
+
verify=verification if isinstance(verification, dict) else {},
|
|
148
|
+
metadata={"runtime": runtime, "run_id": run_id},
|
|
149
|
+
)
|
|
150
|
+
eval_result = evaluate_trace(
|
|
151
|
+
project_dir,
|
|
152
|
+
trace_id=trace["trace_id"],
|
|
153
|
+
suites=["planning", "security"],
|
|
154
|
+
metrics={
|
|
155
|
+
"planning": 1.0 if dispatched.get("status") == "ok" else 0.0,
|
|
156
|
+
"security": max(float(security_result["trust_scores"].get("overall", 0.0)), 0.0),
|
|
157
|
+
},
|
|
158
|
+
)
|
|
159
|
+
lineage = build_lineage_manifest(
|
|
160
|
+
project_dir,
|
|
161
|
+
artifact_type="evidence-pack",
|
|
162
|
+
sources=[{"kind": "repo", "path": ".", "license": "MIT"}],
|
|
163
|
+
privacy="internal",
|
|
164
|
+
license="MIT",
|
|
165
|
+
derivation={"trace_id": trace["trace_id"], "route": preflight["route"], "eval_path": eval_result["path"]},
|
|
166
|
+
trace_id=trace["trace_id"],
|
|
167
|
+
)
|
|
133
168
|
evidence_path = create_evidence_pack(
|
|
134
169
|
project_dir,
|
|
135
170
|
run_id,
|
|
136
171
|
tests=checks if isinstance(checks, list) else [],
|
|
137
|
-
security_scans=[],
|
|
172
|
+
security_scans=security_result.get("security_scans", []),
|
|
138
173
|
diff_summary={"runtime": runtime, "goal": idea.get("goal", "")},
|
|
139
174
|
reproducibility={"command": f"omg ship --runtime {runtime} --idea {idea_path}"},
|
|
140
|
-
unresolved_risks=[],
|
|
175
|
+
unresolved_risks=security_result.get("unresolved_risks", []),
|
|
176
|
+
provenance=security_result["provenance"],
|
|
177
|
+
trust_scores=security_result["trust_scores"],
|
|
178
|
+
api_twin={"recommended_route": preflight["route"] if preflight["route"] == "api-twin" else ""},
|
|
179
|
+
route_metadata=preflight,
|
|
180
|
+
trace_ids=[trace["trace_id"]],
|
|
181
|
+
lineage=lineage,
|
|
141
182
|
)
|
|
142
183
|
|
|
143
184
|
out = {
|
|
@@ -147,6 +188,8 @@ def cmd_ship(args: argparse.Namespace) -> int:
|
|
|
147
188
|
"run_id": run_id,
|
|
148
189
|
"goal": idea.get("goal", ""),
|
|
149
190
|
"evidence_path": os.path.relpath(evidence_path, project_dir),
|
|
191
|
+
"trace_id": trace["trace_id"],
|
|
192
|
+
"eval_path": eval_result["path"],
|
|
150
193
|
}
|
|
151
194
|
print(json.dumps(out, indent=2))
|
|
152
195
|
return 0
|
|
@@ -166,10 +209,12 @@ def cmd_secure(args: argparse.Namespace) -> int:
|
|
|
166
209
|
|
|
167
210
|
|
|
168
211
|
def cmd_security_check(args: argparse.Namespace) -> int:
|
|
212
|
+
waivers = json.loads(args.waivers_json) if args.waivers_json else None
|
|
169
213
|
result = run_security_check(
|
|
170
214
|
project_dir=_ensure_project_dir(),
|
|
171
215
|
scope=args.scope,
|
|
172
216
|
include_live_enrichment=bool(args.live_enrichment),
|
|
217
|
+
waivers=waivers,
|
|
173
218
|
)
|
|
174
219
|
print(json.dumps(result, indent=2))
|
|
175
220
|
return 0
|
|
@@ -185,9 +230,12 @@ def cmd_api_twin_record(args: argparse.Namespace) -> int:
|
|
|
185
230
|
result = record_fixture(
|
|
186
231
|
_ensure_project_dir(),
|
|
187
232
|
name=args.name,
|
|
233
|
+
endpoint=args.endpoint,
|
|
234
|
+
cassette_version=args.cassette_version,
|
|
188
235
|
request=json.loads(args.request_json),
|
|
189
236
|
response=json.loads(args.response_json),
|
|
190
237
|
validated=bool(args.validated),
|
|
238
|
+
redactions=json.loads(args.redactions_json) if args.redactions_json else None,
|
|
191
239
|
)
|
|
192
240
|
print(json.dumps(result, indent=2))
|
|
193
241
|
return 0
|
|
@@ -197,6 +245,8 @@ def cmd_api_twin_serve(args: argparse.Namespace) -> int:
|
|
|
197
245
|
result = serve_fixture(
|
|
198
246
|
_ensure_project_dir(),
|
|
199
247
|
name=args.name,
|
|
248
|
+
endpoint=args.endpoint,
|
|
249
|
+
cassette_version=args.cassette_version,
|
|
200
250
|
latency_ms=int(args.latency_ms),
|
|
201
251
|
failure_mode=args.failure_mode,
|
|
202
252
|
schema_drift=bool(args.schema_drift),
|
|
@@ -209,6 +259,8 @@ def cmd_api_twin_verify(args: argparse.Namespace) -> int:
|
|
|
209
259
|
result = verify_fixture(
|
|
210
260
|
_ensure_project_dir(),
|
|
211
261
|
name=args.name,
|
|
262
|
+
endpoint=args.endpoint,
|
|
263
|
+
cassette_version=args.cassette_version,
|
|
212
264
|
live_response=json.loads(args.live_response_json),
|
|
213
265
|
)
|
|
214
266
|
print(json.dumps(result, indent=2))
|
|
@@ -227,6 +279,82 @@ def cmd_domain_pack(args: argparse.Namespace) -> int:
|
|
|
227
279
|
return 0
|
|
228
280
|
|
|
229
281
|
|
|
282
|
+
def cmd_trace_record(args: argparse.Namespace) -> int:
|
|
283
|
+
result = record_trace(
|
|
284
|
+
_ensure_project_dir(),
|
|
285
|
+
trace_type=args.trace_type,
|
|
286
|
+
route=args.route,
|
|
287
|
+
status=args.status,
|
|
288
|
+
plan=json.loads(args.plan_json) if args.plan_json else {},
|
|
289
|
+
verify=json.loads(args.verify_json) if args.verify_json else {},
|
|
290
|
+
)
|
|
291
|
+
print(json.dumps(result, indent=2))
|
|
292
|
+
return 0
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
def cmd_eval_gate(args: argparse.Namespace) -> int:
|
|
296
|
+
result = evaluate_trace(
|
|
297
|
+
_ensure_project_dir(),
|
|
298
|
+
trace_id=args.trace_id,
|
|
299
|
+
suites=args.suites.split(","),
|
|
300
|
+
metrics=json.loads(args.metrics_json),
|
|
301
|
+
)
|
|
302
|
+
print(json.dumps(result, indent=2))
|
|
303
|
+
return 0 if result["status"] == "ok" else 2
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
def cmd_delta_classify(args: argparse.Namespace) -> int:
|
|
307
|
+
from runtime.delta_classifier import classify_project_changes
|
|
308
|
+
|
|
309
|
+
touched_files = [item for item in args.files.split(",") if item]
|
|
310
|
+
result = classify_project_changes(_ensure_project_dir(), touched_files=touched_files or None, goal=args.goal)
|
|
311
|
+
print(json.dumps(result, indent=2))
|
|
312
|
+
return 0
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
def cmd_incident_replay(args: argparse.Namespace) -> int:
|
|
316
|
+
result = build_incident_pack(
|
|
317
|
+
_ensure_project_dir(),
|
|
318
|
+
title=args.title,
|
|
319
|
+
failing_tests=[item for item in args.failing_tests.split(",") if item],
|
|
320
|
+
logs=[item for item in args.logs.split("|") if item],
|
|
321
|
+
diff_summary=json.loads(args.diff_summary_json),
|
|
322
|
+
trace_id=args.trace_id or None,
|
|
323
|
+
)
|
|
324
|
+
print(json.dumps(result, indent=2))
|
|
325
|
+
return 0
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
def cmd_lineage(args: argparse.Namespace) -> int:
|
|
329
|
+
result = build_lineage_manifest(
|
|
330
|
+
_ensure_project_dir(),
|
|
331
|
+
artifact_type=args.artifact_type,
|
|
332
|
+
sources=json.loads(args.sources_json),
|
|
333
|
+
privacy=args.privacy,
|
|
334
|
+
license=args.license_name,
|
|
335
|
+
derivation=json.loads(args.derivation_json),
|
|
336
|
+
trace_id=args.trace_id or None,
|
|
337
|
+
)
|
|
338
|
+
print(json.dumps(result, indent=2))
|
|
339
|
+
return 0 if result["status"] == "ok" else 2
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
def cmd_supervisor_issue(args: argparse.Namespace) -> int:
|
|
343
|
+
result = issue_local_supervisor_session(
|
|
344
|
+
_ensure_project_dir(),
|
|
345
|
+
worker_id=args.worker_id,
|
|
346
|
+
shared_secret=args.shared_secret,
|
|
347
|
+
)
|
|
348
|
+
print(json.dumps(result, indent=2))
|
|
349
|
+
return 0
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
def cmd_supervisor_verify(args: argparse.Namespace) -> int:
|
|
353
|
+
result = verify_local_supervisor_token(args.token, shared_secret=args.shared_secret)
|
|
354
|
+
print(json.dumps(result, indent=2))
|
|
355
|
+
return 0 if result["status"] == "ok" else 2
|
|
356
|
+
|
|
357
|
+
|
|
230
358
|
def cmd_maintainer(args: argparse.Namespace) -> int:
|
|
231
359
|
project_dir = _ensure_project_dir()
|
|
232
360
|
out_dir = Path(project_dir) / ".omg" / "evidence"
|
|
@@ -519,6 +647,23 @@ def _add_contract_subcommands(parent: argparse.ArgumentParser, *, dest: str) ->
|
|
|
519
647
|
contract_compile.set_defaults(func=cmd_contract_compile)
|
|
520
648
|
|
|
521
649
|
|
|
650
|
+
def cmd_doctor(args: argparse.Namespace) -> int:
|
|
651
|
+
fmt = getattr(args, "format", "text")
|
|
652
|
+
result = run_doctor(root_dir=ROOT_DIR)
|
|
653
|
+
if fmt == "json":
|
|
654
|
+
print(json.dumps(result, indent=2))
|
|
655
|
+
else:
|
|
656
|
+
for check in result["checks"]:
|
|
657
|
+
marker = "PASS" if check["status"] == "ok" else ("BLOCKER" if check["status"] == "blocker" else "WARN")
|
|
658
|
+
req_tag = "" if check["required"] else " (optional)"
|
|
659
|
+
print(f" {marker:>7} {check['name']}: {check['message']}{req_tag}")
|
|
660
|
+
blockers = sum(1 for c in result["checks"] if c["status"] == "blocker")
|
|
661
|
+
warnings = sum(1 for c in result["checks"] if c["status"] == "warning")
|
|
662
|
+
passed = sum(1 for c in result["checks"] if c["status"] == "ok")
|
|
663
|
+
print(f"\nPASS [{passed}] | WARN [{warnings}] | BLOCKER [{blockers}]")
|
|
664
|
+
return 0 if result["status"] == "pass" else 1
|
|
665
|
+
|
|
666
|
+
|
|
522
667
|
def _add_release_subcommands(parent: argparse.ArgumentParser, *, dest: str) -> None:
|
|
523
668
|
release_sub = parent.add_subparsers(dest=dest, required=True)
|
|
524
669
|
|
|
@@ -552,6 +697,7 @@ def build_parser() -> argparse.ArgumentParser:
|
|
|
552
697
|
security_check = security_sub.add_parser("check", help="Run canonical OMG security check")
|
|
553
698
|
security_check.add_argument("--scope", default=".")
|
|
554
699
|
security_check.add_argument("--live-enrichment", action="store_true")
|
|
700
|
+
security_check.add_argument("--waivers-json", default="")
|
|
555
701
|
security_check.set_defaults(func=cmd_security_check)
|
|
556
702
|
|
|
557
703
|
api_twin = sub.add_parser("api-twin", help="Contract replay and fixture-based API simulation")
|
|
@@ -562,18 +708,25 @@ def build_parser() -> argparse.ArgumentParser:
|
|
|
562
708
|
api_twin_ingest.set_defaults(func=cmd_api_twin_ingest)
|
|
563
709
|
api_twin_record = api_twin_sub.add_parser("record", help="Record approved fixture response")
|
|
564
710
|
api_twin_record.add_argument("--name", required=True)
|
|
711
|
+
api_twin_record.add_argument("--endpoint", default="default")
|
|
712
|
+
api_twin_record.add_argument("--cassette-version", default="v1")
|
|
565
713
|
api_twin_record.add_argument("--request-json", required=True)
|
|
566
714
|
api_twin_record.add_argument("--response-json", required=True)
|
|
567
715
|
api_twin_record.add_argument("--validated", action="store_true")
|
|
716
|
+
api_twin_record.add_argument("--redactions-json", default="")
|
|
568
717
|
api_twin_record.set_defaults(func=cmd_api_twin_record)
|
|
569
718
|
api_twin_serve = api_twin_sub.add_parser("serve", help="Replay a fixture with optional drift/failure injection")
|
|
570
719
|
api_twin_serve.add_argument("--name", required=True)
|
|
720
|
+
api_twin_serve.add_argument("--endpoint", default="default")
|
|
721
|
+
api_twin_serve.add_argument("--cassette-version", default="v1")
|
|
571
722
|
api_twin_serve.add_argument("--latency-ms", type=int, default=0)
|
|
572
723
|
api_twin_serve.add_argument("--failure-mode", default="")
|
|
573
724
|
api_twin_serve.add_argument("--schema-drift", action="store_true")
|
|
574
725
|
api_twin_serve.set_defaults(func=cmd_api_twin_serve)
|
|
575
726
|
api_twin_verify = api_twin_sub.add_parser("verify", help="Validate a fixture against a live response")
|
|
576
727
|
api_twin_verify.add_argument("--name", required=True)
|
|
728
|
+
api_twin_verify.add_argument("--endpoint", default="default")
|
|
729
|
+
api_twin_verify.add_argument("--cassette-version", default="v1")
|
|
577
730
|
api_twin_verify.add_argument("--live-response-json", required=True)
|
|
578
731
|
api_twin_verify.set_defaults(func=cmd_api_twin_verify)
|
|
579
732
|
|
|
@@ -585,6 +738,53 @@ def build_parser() -> argparse.ArgumentParser:
|
|
|
585
738
|
domain_pack.add_argument("--name", required=True, choices=["robotics", "vision", "algorithms", "health"])
|
|
586
739
|
domain_pack.set_defaults(func=cmd_domain_pack)
|
|
587
740
|
|
|
741
|
+
tracebank = sub.add_parser("tracebank", help="Record structured route traces")
|
|
742
|
+
tracebank.add_argument("--trace-type", required=True)
|
|
743
|
+
tracebank.add_argument("--route", required=True)
|
|
744
|
+
tracebank.add_argument("--status", default="ok")
|
|
745
|
+
tracebank.add_argument("--plan-json", default="")
|
|
746
|
+
tracebank.add_argument("--verify-json", default="")
|
|
747
|
+
tracebank.set_defaults(func=cmd_trace_record)
|
|
748
|
+
|
|
749
|
+
eval_gate = sub.add_parser("eval-gate", help="Evaluate a trace for release gating")
|
|
750
|
+
eval_gate.add_argument("--trace-id", required=True)
|
|
751
|
+
eval_gate.add_argument("--suites", required=True, help="Comma-separated suite names")
|
|
752
|
+
eval_gate.add_argument("--metrics-json", required=True)
|
|
753
|
+
eval_gate.set_defaults(func=cmd_eval_gate)
|
|
754
|
+
|
|
755
|
+
delta = sub.add_parser("delta-classifier", help="Classify repo changes for routing and policy")
|
|
756
|
+
delta.add_argument("--goal", default="")
|
|
757
|
+
delta.add_argument("--files", default="")
|
|
758
|
+
delta.set_defaults(func=cmd_delta_classify)
|
|
759
|
+
|
|
760
|
+
incident = sub.add_parser("incident-replay", help="Build an incident replay pack")
|
|
761
|
+
incident.add_argument("--title", required=True)
|
|
762
|
+
incident.add_argument("--failing-tests", default="")
|
|
763
|
+
incident.add_argument("--logs", default="")
|
|
764
|
+
incident.add_argument("--diff-summary-json", required=True)
|
|
765
|
+
incident.add_argument("--trace-id", default="")
|
|
766
|
+
incident.set_defaults(func=cmd_incident_replay)
|
|
767
|
+
|
|
768
|
+
lineage = sub.add_parser("data-lineage", help="Build lineage metadata for generated artifacts")
|
|
769
|
+
lineage.add_argument("--artifact-type", required=True)
|
|
770
|
+
lineage.add_argument("--sources-json", required=True)
|
|
771
|
+
lineage.add_argument("--privacy", required=True)
|
|
772
|
+
lineage.add_argument("--license-name", required=True)
|
|
773
|
+
lineage.add_argument("--derivation-json", required=True)
|
|
774
|
+
lineage.add_argument("--trace-id", default="")
|
|
775
|
+
lineage.set_defaults(func=cmd_lineage)
|
|
776
|
+
|
|
777
|
+
supervisor = sub.add_parser("remote-supervisor", help="Local-only authenticated supervisor session helpers")
|
|
778
|
+
supervisor_sub = supervisor.add_subparsers(dest="remote_supervisor_command", required=True)
|
|
779
|
+
supervisor_issue = supervisor_sub.add_parser("issue", help="Issue a local supervisor session")
|
|
780
|
+
supervisor_issue.add_argument("--worker-id", required=True)
|
|
781
|
+
supervisor_issue.add_argument("--shared-secret", required=True)
|
|
782
|
+
supervisor_issue.set_defaults(func=cmd_supervisor_issue)
|
|
783
|
+
supervisor_verify = supervisor_sub.add_parser("verify", help="Verify a supervisor session token")
|
|
784
|
+
supervisor_verify.add_argument("--token", required=True)
|
|
785
|
+
supervisor_verify.add_argument("--shared-secret", required=True)
|
|
786
|
+
supervisor_verify.set_defaults(func=cmd_supervisor_verify)
|
|
787
|
+
|
|
588
788
|
maintainer = sub.add_parser("maintainer", help="OSS maintainer evidence helper")
|
|
589
789
|
maintainer.add_argument("--mode", default="impact", choices=["triage", "release", "review", "impact"])
|
|
590
790
|
maintainer.set_defaults(func=cmd_maintainer)
|
|
@@ -652,6 +852,10 @@ def build_parser() -> argparse.ArgumentParser:
|
|
|
652
852
|
release = sub.add_parser("release", help="OMG release-readiness checks")
|
|
653
853
|
_add_release_subcommands(release, dest="release_command")
|
|
654
854
|
|
|
855
|
+
doctor = sub.add_parser("doctor", help="Canonical install and runtime verification")
|
|
856
|
+
doctor.add_argument("--format", default="text", choices=["text", "json"], dest="format")
|
|
857
|
+
doctor.set_defaults(func=cmd_doctor)
|
|
858
|
+
|
|
655
859
|
return parser
|
|
656
860
|
|
|
657
861
|
|
|
@@ -10,7 +10,14 @@ echo "[verify-standalone] workdir: $TMP_DIR"
|
|
|
10
10
|
tar --exclude="./.omc" --exclude="./.pytest_cache" -cf - -C "$ROOT_DIR" . | (cd "$TMP_DIR" && tar -xf -)
|
|
11
11
|
|
|
12
12
|
cd "$TMP_DIR"
|
|
13
|
+
mkdir -p .omg/evidence
|
|
14
|
+
python3 scripts/omg.py doctor --format json > .omg/evidence/doctor.json
|
|
15
|
+
python3 scripts/omg.py contract validate
|
|
16
|
+
python3 scripts/omg.py contract compile --host claude --host codex --channel public --output-root .
|
|
17
|
+
python3 scripts/omg.py contract compile --host claude --host codex --channel enterprise --output-root .
|
|
18
|
+
OMG_RELEASE_READY_PROVIDERS=claude,codex python3 scripts/omg.py release readiness --channel dual --output-root .
|
|
13
19
|
python3 scripts/omg.py compat gate --max-bridge 0 --output .omg/evidence/omg-compat-gap.json
|
|
20
|
+
python3 scripts/check-omg-public-ready.py
|
|
14
21
|
|
|
15
22
|
if command -v pyenv >/dev/null 2>&1 && pyenv prefix 3.12.7 >/dev/null 2>&1; then
|
|
16
23
|
PYENV_VERSION=3.12.7 python -m pytest -q
|
package/settings.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json.schemastore.org/claude-code-settings.json",
|
|
3
|
-
"_comment": "OMG 2.0.
|
|
3
|
+
"_comment": "OMG 2.0.7 - project-level config with hook registrations, presets, and feature flags.",
|
|
4
4
|
"permissions": {
|
|
5
5
|
"allow": [
|
|
6
6
|
"Agent",
|
|
@@ -281,10 +281,32 @@
|
|
|
281
281
|
],
|
|
282
282
|
"matcher": ""
|
|
283
283
|
}
|
|
284
|
+
],
|
|
285
|
+
"UserPromptSubmit": [
|
|
286
|
+
{
|
|
287
|
+
"hooks": [
|
|
288
|
+
{
|
|
289
|
+
"type": "command",
|
|
290
|
+
"command": "python3 \"$HOME/.claude/hooks/user-prompt-submit.py\"",
|
|
291
|
+
"timeout": 10
|
|
292
|
+
}
|
|
293
|
+
]
|
|
294
|
+
}
|
|
295
|
+
],
|
|
296
|
+
"InstructionsLoaded": [
|
|
297
|
+
{
|
|
298
|
+
"hooks": [
|
|
299
|
+
{
|
|
300
|
+
"type": "command",
|
|
301
|
+
"command": "python3 \"$HOME/.claude/hooks/instructions-loaded.py\"",
|
|
302
|
+
"timeout": 10
|
|
303
|
+
}
|
|
304
|
+
]
|
|
305
|
+
}
|
|
284
306
|
]
|
|
285
307
|
},
|
|
286
308
|
"_omg": {
|
|
287
|
-
"_version": "2.0.
|
|
309
|
+
"_version": "2.0.7",
|
|
288
310
|
"preset": "safe",
|
|
289
311
|
"default_mode": "ulw+ralph",
|
|
290
312
|
"vision_auto": true,
|
|
@@ -337,14 +359,27 @@
|
|
|
337
359
|
"CONTEXT_MANAGER": false
|
|
338
360
|
},
|
|
339
361
|
"generated": {
|
|
340
|
-
"contract_version": "2.0.
|
|
341
|
-
"channel": "
|
|
362
|
+
"contract_version": "2.0.7",
|
|
363
|
+
"channel": "enterprise",
|
|
342
364
|
"required_bundles": [
|
|
343
365
|
"control-plane",
|
|
344
366
|
"hook-governor",
|
|
345
367
|
"mcp-fabric",
|
|
346
368
|
"lsp-pack",
|
|
347
|
-
"secure-worktree-pipeline"
|
|
369
|
+
"secure-worktree-pipeline",
|
|
370
|
+
"security-check",
|
|
371
|
+
"api-twin",
|
|
372
|
+
"preflight",
|
|
373
|
+
"robotics",
|
|
374
|
+
"vision",
|
|
375
|
+
"algorithms",
|
|
376
|
+
"health",
|
|
377
|
+
"tracebank",
|
|
378
|
+
"eval-gate",
|
|
379
|
+
"delta-classifier",
|
|
380
|
+
"incident-replay",
|
|
381
|
+
"data-lineage",
|
|
382
|
+
"remote-supervisor"
|
|
348
383
|
],
|
|
349
384
|
"protected_paths": [
|
|
350
385
|
".omg/**",
|
|
@@ -360,6 +395,199 @@
|
|
|
360
395
|
"SubagentStart",
|
|
361
396
|
"SubagentStop",
|
|
362
397
|
"TaskCompleted"
|
|
398
|
+
],
|
|
399
|
+
"policy_model": {
|
|
400
|
+
"trust_tiers": [
|
|
401
|
+
{
|
|
402
|
+
"name": "safe",
|
|
403
|
+
"level": 0,
|
|
404
|
+
"label": "Safe",
|
|
405
|
+
"allowed_sources": [
|
|
406
|
+
"local_repo",
|
|
407
|
+
"trusted_registry"
|
|
408
|
+
]
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"name": "balanced",
|
|
412
|
+
"level": 1,
|
|
413
|
+
"label": "Balanced",
|
|
414
|
+
"allowed_sources": [
|
|
415
|
+
"local_repo",
|
|
416
|
+
"trusted_registry",
|
|
417
|
+
"reviewed_external"
|
|
418
|
+
]
|
|
419
|
+
},
|
|
420
|
+
{
|
|
421
|
+
"name": "interop",
|
|
422
|
+
"level": 2,
|
|
423
|
+
"label": "Interop",
|
|
424
|
+
"allowed_sources": [
|
|
425
|
+
"local_repo",
|
|
426
|
+
"trusted_registry",
|
|
427
|
+
"reviewed_external",
|
|
428
|
+
"migration_bridge"
|
|
429
|
+
]
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
"name": "labs",
|
|
433
|
+
"level": 3,
|
|
434
|
+
"label": "Labs",
|
|
435
|
+
"allowed_sources": [
|
|
436
|
+
"local_repo",
|
|
437
|
+
"trusted_registry",
|
|
438
|
+
"reviewed_external",
|
|
439
|
+
"experimental"
|
|
440
|
+
]
|
|
441
|
+
}
|
|
442
|
+
],
|
|
443
|
+
"tool_policies": [
|
|
444
|
+
{
|
|
445
|
+
"tool_name": "Read",
|
|
446
|
+
"allowed_tiers": [
|
|
447
|
+
"safe",
|
|
448
|
+
"balanced",
|
|
449
|
+
"interop",
|
|
450
|
+
"labs"
|
|
451
|
+
],
|
|
452
|
+
"requires_approval": false
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"tool_name": "Grep",
|
|
456
|
+
"allowed_tiers": [
|
|
457
|
+
"safe",
|
|
458
|
+
"balanced",
|
|
459
|
+
"interop",
|
|
460
|
+
"labs"
|
|
461
|
+
],
|
|
462
|
+
"requires_approval": false
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"tool_name": "Bash(python3:*)",
|
|
466
|
+
"allowed_tiers": [
|
|
467
|
+
"balanced",
|
|
468
|
+
"interop",
|
|
469
|
+
"labs"
|
|
470
|
+
],
|
|
471
|
+
"requires_approval": true
|
|
472
|
+
}
|
|
473
|
+
],
|
|
474
|
+
"protected_paths": [
|
|
475
|
+
{
|
|
476
|
+
"path_pattern": ".omg/**",
|
|
477
|
+
"required_tier": "balanced"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"path_pattern": ".agents/**",
|
|
481
|
+
"required_tier": "balanced"
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"path_pattern": ".codex/**",
|
|
485
|
+
"required_tier": "balanced"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"path_pattern": ".claude/**",
|
|
489
|
+
"required_tier": "balanced"
|
|
490
|
+
}
|
|
491
|
+
],
|
|
492
|
+
"evidence_contract": {
|
|
493
|
+
"timestamp": "timestamp",
|
|
494
|
+
"executor": "executor",
|
|
495
|
+
"trace_id": "trace_id",
|
|
496
|
+
"lineage": "lineage"
|
|
497
|
+
},
|
|
498
|
+
"host_rules": {
|
|
499
|
+
"claude": {
|
|
500
|
+
"compilation_targets": [
|
|
501
|
+
".claude-plugin/plugin.json",
|
|
502
|
+
".claude-plugin/marketplace.json",
|
|
503
|
+
".mcp.json",
|
|
504
|
+
"settings.json"
|
|
505
|
+
],
|
|
506
|
+
"hooks": [
|
|
507
|
+
"SessionStart",
|
|
508
|
+
"PreToolUse",
|
|
509
|
+
"PostToolUse",
|
|
510
|
+
"PreCompact"
|
|
511
|
+
],
|
|
512
|
+
"subagents": [
|
|
513
|
+
"local_supervisor",
|
|
514
|
+
"workers"
|
|
515
|
+
],
|
|
516
|
+
"skills": [
|
|
517
|
+
"omg/control-plane",
|
|
518
|
+
"omg/hook-governor"
|
|
519
|
+
]
|
|
520
|
+
},
|
|
521
|
+
"codex": {
|
|
522
|
+
"compilation_targets": [
|
|
523
|
+
".agents/skills/omg/<bundle>/SKILL.md",
|
|
524
|
+
".agents/skills/omg/<bundle>/openai.yaml",
|
|
525
|
+
".agents/skills/omg/AGENTS.fragment.md",
|
|
526
|
+
".agents/skills/omg/codex-mcp.toml"
|
|
527
|
+
],
|
|
528
|
+
"skills": [
|
|
529
|
+
"omg/control-plane",
|
|
530
|
+
"omg/mcp-fabric"
|
|
531
|
+
],
|
|
532
|
+
"agents_fragments": [
|
|
533
|
+
".agents/skills/omg/AGENTS.fragment.md"
|
|
534
|
+
],
|
|
535
|
+
"rules": [
|
|
536
|
+
"protected_paths",
|
|
537
|
+
"explicit_invocation"
|
|
538
|
+
],
|
|
539
|
+
"automations": [
|
|
540
|
+
"contract-compile",
|
|
541
|
+
"release-readiness"
|
|
542
|
+
]
|
|
543
|
+
}
|
|
544
|
+
}
|
|
545
|
+
},
|
|
546
|
+
"subagents": [
|
|
547
|
+
{
|
|
548
|
+
"name": "security-reviewer",
|
|
549
|
+
"description": "Read-only security review subagent with scoped tool access.",
|
|
550
|
+
"tools": [
|
|
551
|
+
"Read",
|
|
552
|
+
"Grep",
|
|
553
|
+
"Glob",
|
|
554
|
+
"Bash(grep *)",
|
|
555
|
+
"Bash(find *)",
|
|
556
|
+
"Bash(git log *)",
|
|
557
|
+
"Bash(git diff *)"
|
|
558
|
+
],
|
|
559
|
+
"bypassPermissions": false
|
|
560
|
+
},
|
|
561
|
+
{
|
|
562
|
+
"name": "release-manager",
|
|
563
|
+
"description": "Release management subagent with write access governed by protected-path policy.",
|
|
564
|
+
"tools": [
|
|
565
|
+
"Read",
|
|
566
|
+
"Write",
|
|
567
|
+
"Edit",
|
|
568
|
+
"Grep",
|
|
569
|
+
"Glob",
|
|
570
|
+
"Bash(git *)",
|
|
571
|
+
"Bash(python3 scripts/omg.py *)"
|
|
572
|
+
],
|
|
573
|
+
"bypassPermissions": false,
|
|
574
|
+
"protectedPaths": [
|
|
575
|
+
".omg/**",
|
|
576
|
+
".agents/**",
|
|
577
|
+
".codex/**",
|
|
578
|
+
".claude/**"
|
|
579
|
+
]
|
|
580
|
+
}
|
|
581
|
+
],
|
|
582
|
+
"skills": [
|
|
583
|
+
{
|
|
584
|
+
"name": "omg/control-plane",
|
|
585
|
+
"source": ".agents/skills/omg/control-plane/"
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"name": "omg/hook-governor",
|
|
589
|
+
"source": ".agents/skills/omg/hook-governor/"
|
|
590
|
+
}
|
|
363
591
|
]
|
|
364
592
|
}
|
|
365
593
|
}
|