@trac3er/oh-my-god 2.0.7 → 2.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +3 -3
- package/.claude-plugin/plugin.json +1 -1
- package/.claude-plugin/scripts/uninstall.sh +1 -1
- package/.gemini/settings.json +11 -0
- package/.kimi/mcp.json +11 -0
- package/CHANGELOG.md +17 -0
- package/OMG-setup.sh +1 -1
- package/OMG_COMPAT_CONTRACT.md +14 -1
- package/README.md +2 -1
- package/artifacts/release/.agents/skills/omg/AGENTS.fragment.md +7 -1
- package/artifacts/release/.agents/skills/omg/claim-judge/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/claim-judge/openai.yaml +13 -0
- package/artifacts/release/.agents/skills/omg/codex-rules.md +4 -0
- package/artifacts/release/.agents/skills/omg/plan-council/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/plan-council/openai.yaml +12 -0
- package/artifacts/release/.agents/skills/omg/proof-gate/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/proof-gate/openai.yaml +13 -0
- package/artifacts/release/.agents/skills/omg/test-intent-lock/SKILL.md +11 -0
- package/artifacts/release/.agents/skills/omg/test-intent-lock/openai.yaml +13 -0
- package/artifacts/release/.claude-plugin/marketplace.json +3 -3
- package/artifacts/release/.claude-plugin/plugin.json +1 -1
- package/artifacts/release/.mcp.json +0 -22
- package/artifacts/release/OMG_COMPAT_CONTRACT.md +8 -1
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/AGENTS.fragment.md +7 -1
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/claim-judge/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/claim-judge/openai.yaml +13 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/codex-rules.md +4 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/plan-council/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/plan-council/openai.yaml +12 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/proof-gate/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/proof-gate/openai.yaml +13 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/test-intent-lock/SKILL.md +11 -0
- package/artifacts/release/dist/enterprise/bundle/.agents/skills/omg/test-intent-lock/openai.yaml +13 -0
- package/artifacts/release/dist/enterprise/bundle/.claude-plugin/marketplace.json +36 -0
- package/artifacts/release/dist/enterprise/bundle/.claude-plugin/plugin.json +23 -0
- package/artifacts/release/dist/enterprise/bundle/.mcp.json +18 -0
- package/artifacts/release/dist/enterprise/bundle/OMG_COMPAT_CONTRACT.md +8 -1
- package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:code-review.md +114 -0
- package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:deep-plan.md +266 -0
- package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:handoff.md +115 -0
- package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:learn.md +110 -0
- package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:maintainer.md +31 -0
- package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:ralph-start.md +43 -0
- package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:ralph-stop.md +23 -0
- package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:security-review.md +16 -0
- package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:sequential-thinking.md +20 -0
- package/artifacts/release/dist/enterprise/bundle/plugins/advanced/commands/OMG:ship.md +46 -0
- package/artifacts/release/dist/enterprise/bundle/plugins/advanced/plugin.json +87 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/algorithms.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/api-twin.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/claim-judge.yaml +49 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/control-plane.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/data-lineage.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/delta-classifier.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/eval-gate.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/health.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/hook-governor.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/incident-replay.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/lsp-pack.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/mcp-fabric.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/plan-council.yaml +51 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/preflight.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/proof-gate.yaml +49 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/remote-supervisor.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/robotics.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/security-check.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/test-intent-lock.yaml +49 -0
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/tracebank.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/bundles/vision.yaml +1 -1
- package/artifacts/release/dist/enterprise/bundle/registry/omg-capability.schema.json +1 -1
- package/artifacts/release/dist/enterprise/bundle/settings.json +598 -0
- package/artifacts/release/dist/enterprise/manifest.json +131 -23
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/AGENTS.fragment.md +55 -4
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/claim-judge/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/claim-judge/openai.yaml +13 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/codex-rules.md +33 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/plan-council/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/plan-council/openai.yaml +12 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/proof-gate/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/proof-gate/openai.yaml +13 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/test-intent-lock/SKILL.md +11 -0
- package/artifacts/release/dist/public/bundle/.agents/skills/omg/test-intent-lock/openai.yaml +13 -0
- package/artifacts/release/dist/public/bundle/.claude-plugin/marketplace.json +3 -3
- package/artifacts/release/dist/public/bundle/.claude-plugin/plugin.json +1 -1
- package/artifacts/release/dist/public/bundle/.mcp.json +0 -22
- package/artifacts/release/dist/public/bundle/OMG_COMPAT_CONTRACT.md +8 -1
- package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:code-review.md +114 -0
- package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:deep-plan.md +266 -0
- package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:handoff.md +115 -0
- package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:learn.md +110 -0
- package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:maintainer.md +31 -0
- package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:ralph-start.md +43 -0
- package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:ralph-stop.md +23 -0
- package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:security-review.md +16 -0
- package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:sequential-thinking.md +20 -0
- package/artifacts/release/dist/public/bundle/plugins/advanced/commands/OMG:ship.md +46 -0
- package/artifacts/release/dist/public/bundle/plugins/advanced/plugin.json +87 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/algorithms.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/api-twin.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/claim-judge.yaml +49 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/control-plane.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/data-lineage.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/delta-classifier.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/eval-gate.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/health.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/hook-governor.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/incident-replay.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/lsp-pack.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/mcp-fabric.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/plan-council.yaml +51 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/preflight.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/proof-gate.yaml +49 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/remote-supervisor.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/robotics.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/security-check.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/test-intent-lock.yaml +49 -0
- package/artifacts/release/dist/public/bundle/registry/bundles/tracebank.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/bundles/vision.yaml +1 -1
- package/artifacts/release/dist/public/bundle/registry/omg-capability.schema.json +1 -1
- package/artifacts/release/dist/public/bundle/settings.json +76 -4
- package/artifacts/release/dist/public/manifest.json +122 -26
- package/artifacts/release/plugins/advanced/commands/OMG:code-review.md +114 -0
- package/artifacts/release/plugins/advanced/commands/OMG:deep-plan.md +266 -0
- package/artifacts/release/plugins/advanced/commands/OMG:handoff.md +115 -0
- package/artifacts/release/plugins/advanced/commands/OMG:learn.md +110 -0
- package/artifacts/release/plugins/advanced/commands/OMG:maintainer.md +31 -0
- package/artifacts/release/plugins/advanced/commands/OMG:ralph-start.md +43 -0
- package/artifacts/release/plugins/advanced/commands/OMG:ralph-stop.md +23 -0
- package/artifacts/release/plugins/advanced/commands/OMG:security-review.md +16 -0
- package/artifacts/release/plugins/advanced/commands/OMG:sequential-thinking.md +20 -0
- package/artifacts/release/plugins/advanced/commands/OMG:ship.md +46 -0
- package/artifacts/release/plugins/advanced/plugin.json +87 -0
- package/artifacts/release/registry/bundles/algorithms.yaml +1 -1
- package/artifacts/release/registry/bundles/api-twin.yaml +1 -1
- package/artifacts/release/registry/bundles/claim-judge.yaml +49 -0
- package/artifacts/release/registry/bundles/control-plane.yaml +1 -1
- package/artifacts/release/registry/bundles/data-lineage.yaml +1 -1
- package/artifacts/release/registry/bundles/delta-classifier.yaml +1 -1
- package/artifacts/release/registry/bundles/eval-gate.yaml +1 -1
- package/artifacts/release/registry/bundles/health.yaml +1 -1
- package/artifacts/release/registry/bundles/hook-governor.yaml +1 -1
- package/artifacts/release/registry/bundles/incident-replay.yaml +1 -1
- package/artifacts/release/registry/bundles/lsp-pack.yaml +1 -1
- package/artifacts/release/registry/bundles/mcp-fabric.yaml +1 -1
- package/artifacts/release/registry/bundles/plan-council.yaml +51 -0
- package/artifacts/release/registry/bundles/preflight.yaml +1 -1
- package/artifacts/release/registry/bundles/proof-gate.yaml +49 -0
- package/artifacts/release/registry/bundles/remote-supervisor.yaml +1 -1
- package/artifacts/release/registry/bundles/robotics.yaml +1 -1
- package/artifacts/release/registry/bundles/secure-worktree-pipeline.yaml +1 -1
- package/artifacts/release/registry/bundles/security-check.yaml +1 -1
- package/artifacts/release/registry/bundles/test-intent-lock.yaml +49 -0
- package/artifacts/release/registry/bundles/tracebank.yaml +1 -1
- package/artifacts/release/registry/bundles/vision.yaml +1 -1
- package/artifacts/release/registry/omg-capability.schema.json +1 -1
- package/artifacts/release/settings.json +7 -3
- package/build/lib/commands/OMG:forge.md +92 -0
- package/build/lib/commands/OMG:mode.md +13 -13
- package/build/lib/commands/OMG:session-branch.md +17 -1
- package/build/lib/commands/OMG:session-fork.md +5 -1
- package/build/lib/commands/OMG:session-merge.md +5 -1
- package/build/lib/control_plane/openapi.yaml +1 -1
- package/build/lib/control_plane/server.py +4 -0
- package/build/lib/control_plane/service.py +55 -0
- package/build/lib/hooks/setup_wizard.py +21 -1
- package/build/lib/hooks/shadow_manager.py +25 -2
- package/build/lib/hooks/state_migration.py +3 -0
- package/build/lib/plugins/README.md +1 -1
- package/build/lib/plugins/advanced/commands/OMG:deep-plan.md +2 -1
- package/build/lib/plugins/advanced/plugin.json +1 -1
- package/build/lib/plugins/core/plugin.json +1 -1
- package/build/lib/plugins/dephealth/cve_scanner.py +91 -0
- package/build/lib/plugins/dephealth/vuln_analyzer.py +7 -0
- package/build/lib/registry/bundles/algorithms.yaml +1 -1
- package/build/lib/registry/bundles/api-twin.yaml +1 -1
- package/build/lib/registry/bundles/claim-judge.yaml +1 -1
- package/build/lib/registry/bundles/control-plane.yaml +1 -1
- package/build/lib/registry/bundles/data-lineage.yaml +1 -1
- package/build/lib/registry/bundles/delta-classifier.yaml +1 -1
- package/build/lib/registry/bundles/eval-gate.yaml +1 -1
- package/build/lib/registry/bundles/health.yaml +1 -1
- package/build/lib/registry/bundles/hook-governor.yaml +1 -1
- package/build/lib/registry/bundles/incident-replay.yaml +1 -1
- package/build/lib/registry/bundles/lsp-pack.yaml +1 -1
- package/build/lib/registry/bundles/mcp-fabric.yaml +1 -1
- package/build/lib/registry/bundles/plan-council.yaml +2 -2
- package/build/lib/registry/bundles/preflight.yaml +1 -1
- package/build/lib/registry/bundles/proof-gate.yaml +1 -1
- package/build/lib/registry/bundles/remote-supervisor.yaml +1 -1
- package/build/lib/registry/bundles/robotics.yaml +1 -1
- package/build/lib/registry/bundles/secure-worktree-pipeline.yaml +1 -1
- package/build/lib/registry/bundles/security-check.yaml +1 -1
- package/build/lib/registry/bundles/test-intent-lock.yaml +1 -1
- package/build/lib/registry/bundles/tracebank.yaml +1 -1
- package/build/lib/registry/bundles/vision.yaml +1 -1
- package/build/lib/registry/omg-capability.schema.json +84 -2
- package/build/lib/runtime/adoption.py +13 -5
- package/build/lib/runtime/api_twin.py +4 -4
- package/build/lib/runtime/artifact_parsers.py +161 -0
- package/build/lib/runtime/background_verification.py +48 -0
- package/build/lib/runtime/claim_judge.py +184 -7
- package/build/lib/runtime/contract_compiler.py +189 -9
- package/build/lib/runtime/ecosystem.py +1 -1
- package/build/lib/runtime/evidence_query.py +203 -0
- package/build/lib/runtime/mcp_memory_server.py +1 -1
- package/build/lib/runtime/omg_compat_contract_snapshot.json +2 -2
- package/build/lib/runtime/omg_contract_snapshot.json +2 -2
- package/build/lib/runtime/omg_mcp_server.py +19 -0
- package/build/lib/runtime/playwright_adapter.py +39 -0
- package/build/lib/runtime/proof_chain.py +136 -8
- package/build/lib/runtime/proof_gate.py +102 -0
- package/build/lib/runtime/providers/gemini_provider.py +7 -0
- package/build/lib/runtime/providers/kimi_provider.py +7 -0
- package/build/lib/runtime/repro_pack.py +292 -0
- package/build/lib/runtime/runtime_profile.py +87 -15
- package/build/lib/runtime/security_check.py +86 -3
- package/build/lib/runtime/test_intent_lock.py +47 -0
- package/build/lib/runtime/tracebank.py +33 -3
- package/build/lib/runtime/verification_loop.py +73 -0
- package/commands/OMG:forge.md +92 -0
- package/commands/OMG:mode.md +13 -13
- package/commands/OMG:session-branch.md +17 -1
- package/commands/OMG:session-fork.md +5 -1
- package/commands/OMG:session-merge.md +5 -1
- package/control_plane/openapi.yaml +1 -1
- package/control_plane/server.py +4 -0
- package/control_plane/service.py +55 -0
- package/dist/enterprise/bundle/.agents/skills/omg/AGENTS.fragment.md +7 -1
- package/dist/enterprise/bundle/.agents/skills/omg/claim-judge/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/claim-judge/openai.yaml +13 -0
- package/dist/enterprise/bundle/.agents/skills/omg/codex-rules.md +4 -0
- package/dist/enterprise/bundle/.agents/skills/omg/plan-council/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/plan-council/openai.yaml +12 -0
- package/dist/enterprise/bundle/.agents/skills/omg/proof-gate/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/proof-gate/openai.yaml +13 -0
- package/dist/enterprise/bundle/.agents/skills/omg/test-intent-lock/SKILL.md +11 -0
- package/dist/enterprise/bundle/.agents/skills/omg/test-intent-lock/openai.yaml +13 -0
- package/dist/enterprise/bundle/.claude-plugin/marketplace.json +3 -3
- package/dist/enterprise/bundle/.claude-plugin/plugin.json +1 -1
- package/dist/enterprise/bundle/.gemini/settings.json +11 -0
- package/dist/enterprise/bundle/.kimi/mcp.json +11 -0
- package/dist/enterprise/bundle/.mcp.json +0 -22
- package/dist/enterprise/bundle/OMG_COMPAT_CONTRACT.md +14 -1
- package/dist/enterprise/bundle/plugins/advanced/commands/OMG:deep-plan.md +51 -6
- package/dist/enterprise/bundle/plugins/advanced/commands/OMG:ship.md +1 -1
- package/dist/enterprise/bundle/plugins/advanced/plugin.json +1 -1
- package/dist/enterprise/bundle/registry/bundles/algorithms.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/api-twin.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/claim-judge.yaml +49 -0
- package/dist/enterprise/bundle/registry/bundles/control-plane.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/data-lineage.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/delta-classifier.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/eval-gate.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/health.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/hook-governor.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/incident-replay.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/lsp-pack.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/mcp-fabric.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/plan-council.yaml +51 -0
- package/dist/enterprise/bundle/registry/bundles/preflight.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/proof-gate.yaml +49 -0
- package/dist/enterprise/bundle/registry/bundles/remote-supervisor.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/robotics.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/security-check.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/test-intent-lock.yaml +49 -0
- package/dist/enterprise/bundle/registry/bundles/tracebank.yaml +1 -1
- package/dist/enterprise/bundle/registry/bundles/vision.yaml +1 -1
- package/dist/enterprise/bundle/registry/omg-capability.schema.json +84 -2
- package/dist/enterprise/bundle/settings.json +8 -3
- package/dist/enterprise/manifest.json +92 -30
- package/dist/public/bundle/.agents/skills/omg/AGENTS.fragment.md +7 -1
- package/dist/public/bundle/.agents/skills/omg/claim-judge/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/claim-judge/openai.yaml +13 -0
- package/dist/public/bundle/.agents/skills/omg/codex-rules.md +4 -0
- package/dist/public/bundle/.agents/skills/omg/incident-replay/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/incident-replay/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/lsp-pack/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/lsp-pack/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/mcp-fabric/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/mcp-fabric/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/plan-council/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/plan-council/openai.yaml +12 -0
- package/dist/public/bundle/.agents/skills/omg/preflight/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/preflight/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/proof-gate/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/proof-gate/openai.yaml +13 -0
- package/dist/public/bundle/.agents/skills/omg/remote-supervisor/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/remote-supervisor/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/robotics/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/robotics/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/secure-worktree-pipeline/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/secure-worktree-pipeline/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/security-check/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/security-check/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/test-intent-lock/SKILL.md +11 -0
- package/dist/public/bundle/.agents/skills/omg/test-intent-lock/openai.yaml +13 -0
- package/dist/public/bundle/.agents/skills/omg/tracebank/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/tracebank/openai.yaml +1 -1
- package/dist/public/bundle/.agents/skills/omg/vision/SKILL.md +1 -1
- package/dist/public/bundle/.agents/skills/omg/vision/openai.yaml +1 -1
- package/dist/public/bundle/.claude-plugin/marketplace.json +3 -3
- package/dist/public/bundle/.claude-plugin/plugin.json +1 -1
- package/dist/public/bundle/.gemini/settings.json +11 -0
- package/dist/public/bundle/.kimi/mcp.json +11 -0
- package/dist/public/bundle/.mcp.json +0 -22
- package/dist/public/bundle/OMG_COMPAT_CONTRACT.md +14 -1
- package/dist/public/bundle/plugins/advanced/commands/OMG:deep-plan.md +51 -6
- package/dist/public/bundle/plugins/advanced/commands/OMG:ship.md +1 -1
- package/dist/public/bundle/plugins/advanced/plugin.json +1 -1
- package/dist/public/bundle/registry/bundles/algorithms.yaml +1 -1
- package/dist/public/bundle/registry/bundles/api-twin.yaml +1 -1
- package/dist/public/bundle/registry/bundles/claim-judge.yaml +49 -0
- package/dist/public/bundle/registry/bundles/control-plane.yaml +1 -1
- package/dist/public/bundle/registry/bundles/data-lineage.yaml +1 -1
- package/dist/public/bundle/registry/bundles/delta-classifier.yaml +1 -1
- package/dist/public/bundle/registry/bundles/eval-gate.yaml +1 -1
- package/dist/public/bundle/registry/bundles/health.yaml +1 -1
- package/dist/public/bundle/registry/bundles/hook-governor.yaml +1 -1
- package/dist/public/bundle/registry/bundles/incident-replay.yaml +1 -1
- package/dist/public/bundle/registry/bundles/lsp-pack.yaml +1 -1
- package/dist/public/bundle/registry/bundles/mcp-fabric.yaml +1 -1
- package/dist/public/bundle/registry/bundles/plan-council.yaml +51 -0
- package/dist/public/bundle/registry/bundles/preflight.yaml +1 -1
- package/dist/public/bundle/registry/bundles/proof-gate.yaml +49 -0
- package/dist/public/bundle/registry/bundles/remote-supervisor.yaml +1 -1
- package/dist/public/bundle/registry/bundles/robotics.yaml +1 -1
- package/dist/public/bundle/registry/bundles/secure-worktree-pipeline.yaml +1 -1
- package/dist/public/bundle/registry/bundles/security-check.yaml +1 -1
- package/dist/public/bundle/registry/bundles/test-intent-lock.yaml +49 -0
- package/dist/public/bundle/registry/bundles/tracebank.yaml +1 -1
- package/dist/public/bundle/registry/bundles/vision.yaml +1 -1
- package/dist/public/bundle/registry/omg-capability.schema.json +84 -2
- package/dist/public/bundle/settings.json +9 -4
- package/dist/public/manifest.json +112 -50
- package/docs/proof.md +7 -6
- package/hooks/setup_wizard.py +21 -1
- package/hooks/shadow_manager.py +25 -2
- package/hooks/state_migration.py +3 -0
- package/hud/omg-hud.mjs +66 -3
- package/package.json +1 -1
- package/plugins/README.md +1 -1
- package/plugins/advanced/commands/OMG:deep-plan.md +2 -1
- package/plugins/advanced/plugin.json +1 -1
- package/plugins/core/plugin.json +1 -1
- package/plugins/dephealth/cve_scanner.py +91 -0
- package/plugins/dephealth/vuln_analyzer.py +7 -0
- package/pyproject.toml +5 -1
- package/registry/bundles/algorithms.yaml +1 -1
- package/registry/bundles/api-twin.yaml +1 -1
- package/registry/bundles/claim-judge.yaml +1 -1
- package/registry/bundles/control-plane.yaml +1 -1
- package/registry/bundles/data-lineage.yaml +1 -1
- package/registry/bundles/delta-classifier.yaml +1 -1
- package/registry/bundles/eval-gate.yaml +1 -1
- package/registry/bundles/health.yaml +1 -1
- package/registry/bundles/hook-governor.yaml +1 -1
- package/registry/bundles/incident-replay.yaml +1 -1
- package/registry/bundles/lsp-pack.yaml +1 -1
- package/registry/bundles/mcp-fabric.yaml +1 -1
- package/registry/bundles/plan-council.yaml +2 -2
- package/registry/bundles/preflight.yaml +1 -1
- package/registry/bundles/proof-gate.yaml +1 -1
- package/registry/bundles/remote-supervisor.yaml +1 -1
- package/registry/bundles/robotics.yaml +1 -1
- package/registry/bundles/secure-worktree-pipeline.yaml +1 -1
- package/registry/bundles/security-check.yaml +1 -1
- package/registry/bundles/test-intent-lock.yaml +1 -1
- package/registry/bundles/tracebank.yaml +1 -1
- package/registry/bundles/vision.yaml +1 -1
- package/registry/omg-capability.schema.json +84 -2
- package/runtime/adoption.py +13 -5
- package/runtime/api_twin.py +4 -4
- package/runtime/artifact_parsers.py +161 -0
- package/runtime/background_verification.py +48 -0
- package/runtime/claim_judge.py +184 -7
- package/runtime/contract_compiler.py +189 -9
- package/runtime/ecosystem.py +1 -1
- package/runtime/evidence_query.py +203 -0
- package/runtime/mcp_memory_server.py +1 -1
- package/runtime/omg_compat_contract_snapshot.json +2 -2
- package/runtime/omg_contract_snapshot.json +2 -2
- package/runtime/omg_mcp_server.py +19 -0
- package/runtime/playwright_adapter.py +39 -0
- package/runtime/proof_chain.py +136 -8
- package/runtime/proof_gate.py +102 -0
- package/runtime/providers/gemini_provider.py +7 -0
- package/runtime/providers/kimi_provider.py +7 -0
- package/runtime/repro_pack.py +292 -0
- package/runtime/runtime_profile.py +87 -15
- package/runtime/security_check.py +86 -3
- package/runtime/test_intent_lock.py +47 -0
- package/runtime/tracebank.py +33 -3
- package/runtime/verification_loop.py +73 -0
- package/scripts/omg.py +31 -4
- package/settings.json +8 -3
- package/tools/python_sandbox.py +9 -6
- package/tools/session_snapshot.py +146 -40
|
@@ -498,6 +498,17 @@ def detect_merge_conflicts(
|
|
|
498
498
|
return conflicts
|
|
499
499
|
|
|
500
500
|
|
|
501
|
+
_BRANCH_META_KEYS = frozenset({
|
|
502
|
+
"name", "created_at", "snapshot_id", "parent_branch",
|
|
503
|
+
"status", "switched_at", "merged_at", "merged_into",
|
|
504
|
+
})
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
def _strip_branch_meta(state: Dict[str, Any]) -> Dict[str, Any]:
|
|
508
|
+
"""Return *state* without branch-level metadata keys."""
|
|
509
|
+
return {k: v for k, v in state.items() if k not in _BRANCH_META_KEYS}
|
|
510
|
+
|
|
511
|
+
|
|
501
512
|
def preview_merge(
|
|
502
513
|
source_branch: str,
|
|
503
514
|
target_branch: str = "main",
|
|
@@ -506,7 +517,8 @@ def preview_merge(
|
|
|
506
517
|
"""Preview a merge without applying changes.
|
|
507
518
|
|
|
508
519
|
Loads both branch snapshot states (as flat JSON dicts from snapshot
|
|
509
|
-
metadata)
|
|
520
|
+
metadata), strips branch-level metadata keys that always differ,
|
|
521
|
+
and detects conflicts on the remaining user-state keys.
|
|
510
522
|
|
|
511
523
|
Args:
|
|
512
524
|
source_branch: Branch to merge from
|
|
@@ -529,10 +541,11 @@ def preview_merge(
|
|
|
529
541
|
if target_state is None:
|
|
530
542
|
return {"error": f"Target branch not found: {target_branch}"}
|
|
531
543
|
|
|
532
|
-
|
|
544
|
+
source_user = _strip_branch_meta(source_state)
|
|
545
|
+
target_user = _strip_branch_meta(target_state)
|
|
546
|
+
conflicts = detect_merge_conflicts(source_user, target_user)
|
|
533
547
|
|
|
534
|
-
|
|
535
|
-
source_only_keys = set(source_state.keys()) - set(target_state.keys())
|
|
548
|
+
source_only_keys = set(source_user.keys()) - set(target_user.keys())
|
|
536
549
|
changes = len(source_only_keys) + len(conflicts)
|
|
537
550
|
|
|
538
551
|
return {
|
|
@@ -567,11 +580,18 @@ def merge_branch(
|
|
|
567
580
|
if not _get_merge_flag_enabled():
|
|
568
581
|
return {"skipped": True}
|
|
569
582
|
|
|
570
|
-
|
|
571
|
-
if
|
|
572
|
-
return
|
|
583
|
+
source_state = _load_branch_state(source_branch, state_dir=state_dir)
|
|
584
|
+
if source_state is None:
|
|
585
|
+
return {"error": f"Source branch not found: {source_branch}"}
|
|
586
|
+
|
|
587
|
+
target_state = _load_branch_state(target_branch, state_dir=state_dir)
|
|
588
|
+
if target_state is None:
|
|
589
|
+
return {"error": f"Target branch not found: {target_branch}"}
|
|
590
|
+
|
|
591
|
+
source_user = _strip_branch_meta(source_state)
|
|
592
|
+
target_user = _strip_branch_meta(target_state)
|
|
593
|
+
conflicts = detect_merge_conflicts(source_user, target_user)
|
|
573
594
|
|
|
574
|
-
conflicts = preview.get("conflicts", [])
|
|
575
595
|
if conflicts:
|
|
576
596
|
return {
|
|
577
597
|
"merged": False,
|
|
@@ -579,19 +599,11 @@ def merge_branch(
|
|
|
579
599
|
"changes_applied": 0,
|
|
580
600
|
}
|
|
581
601
|
|
|
582
|
-
# --- Apply merge: last-write-wins (source on top of target) ---
|
|
583
|
-
source_state = _load_branch_state(source_branch, state_dir=state_dir)
|
|
584
|
-
target_state = _load_branch_state(target_branch, state_dir=state_dir)
|
|
585
|
-
if source_state is None or target_state is None:
|
|
586
|
-
return {"error": "Branch state became unavailable during merge"}
|
|
587
|
-
|
|
588
602
|
merged_state = {**target_state, **source_state}
|
|
589
|
-
# Preserve target branch name and update status
|
|
590
603
|
merged_state["name"] = target_branch
|
|
591
604
|
merged_state["status"] = "active"
|
|
592
605
|
|
|
593
|
-
|
|
594
|
-
source_only_keys = set(source_state.keys()) - set(target_state.keys())
|
|
606
|
+
source_only_keys = set(source_user.keys()) - set(target_user.keys())
|
|
595
607
|
changes_applied = len(source_only_keys)
|
|
596
608
|
|
|
597
609
|
# Write merged state to target branch file
|
|
@@ -631,36 +643,111 @@ def merge_branch(
|
|
|
631
643
|
"changes_applied": changes_applied,
|
|
632
644
|
}
|
|
633
645
|
|
|
646
|
+
def fork_branch(
|
|
647
|
+
from_snapshot_id: str,
|
|
648
|
+
name: str,
|
|
649
|
+
state_dir: str = ".omg/state",
|
|
650
|
+
) -> Dict[str, Any]:
|
|
651
|
+
"""Fork a new branch from a specific snapshot checkpoint.
|
|
652
|
+
|
|
653
|
+
This is a convenience wrapper around ``create_branch`` that always
|
|
654
|
+
requires a source snapshot ID.
|
|
655
|
+
|
|
656
|
+
Args:
|
|
657
|
+
from_snapshot_id: Snapshot ID to fork from (required, non-empty).
|
|
658
|
+
name: Name for the new branch (required, non-empty, no slashes).
|
|
659
|
+
state_dir: Path to the state directory (default: ".omg/state").
|
|
660
|
+
|
|
661
|
+
Returns:
|
|
662
|
+
Branch metadata dict on success, ``{"skipped": True}`` if feature
|
|
663
|
+
flag is disabled, or ``{"error": ...}`` on failure.
|
|
664
|
+
"""
|
|
665
|
+
if not _get_branching_flag_enabled():
|
|
666
|
+
return {"skipped": True}
|
|
667
|
+
|
|
668
|
+
if not from_snapshot_id:
|
|
669
|
+
return {"error": "fork_branch requires a non-empty snapshot ID"}
|
|
670
|
+
if not name or "/" in name:
|
|
671
|
+
return {"error": "Invalid branch name: must be non-empty with no slashes"}
|
|
672
|
+
|
|
673
|
+
return create_branch(name, from_snapshot_id=from_snapshot_id, state_dir=state_dir)
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
# Public alias expected by callers (canonical name is preview_merge)
|
|
677
|
+
merge_preview = preview_merge
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
def get_status(state_dir: str = ".omg/state") -> Dict[str, Any]:
|
|
681
|
+
"""
|
|
682
|
+
Get the current branch name and total snapshot count.
|
|
683
|
+
|
|
684
|
+
Args:
|
|
685
|
+
state_dir: Path to the state directory (default: ".omg/state")
|
|
686
|
+
|
|
687
|
+
Returns:
|
|
688
|
+
Dict with keys: current_branch, snapshot_count
|
|
689
|
+
"""
|
|
690
|
+
# Get current branch
|
|
691
|
+
current_branch = None
|
|
692
|
+
current_branch_path = os.path.join(state_dir, "current_branch.json")
|
|
693
|
+
if os.path.exists(current_branch_path):
|
|
694
|
+
try:
|
|
695
|
+
with open(current_branch_path, "r", encoding="utf-8") as f:
|
|
696
|
+
cb = json.load(f)
|
|
697
|
+
current_branch = cb.get("name")
|
|
698
|
+
except (json.JSONDecodeError, OSError):
|
|
699
|
+
pass
|
|
700
|
+
|
|
701
|
+
# Get snapshot count
|
|
702
|
+
snapshots = list_snapshots(state_dir=state_dir)
|
|
703
|
+
snapshot_count = len(snapshots)
|
|
704
|
+
|
|
705
|
+
return {
|
|
706
|
+
"current_branch": current_branch,
|
|
707
|
+
"snapshot_count": snapshot_count,
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
|
|
634
711
|
def main():
|
|
635
712
|
"""CLI entry point."""
|
|
636
|
-
|
|
713
|
+
state_dir = os.environ.get("OMG_STATE_DIR", ".omg/state")
|
|
714
|
+
|
|
715
|
+
if len(sys.argv) < 2 or sys.argv[1] in ("--help", "-h"):
|
|
716
|
+
_dest = sys.stdout if (len(sys.argv) > 1 and sys.argv[1] in ("--help", "-h")) else sys.stderr
|
|
717
|
+
_code = 0 if _dest is sys.stdout else 1
|
|
637
718
|
print(
|
|
638
719
|
"Usage: python3 session_snapshot.py <command> [options]",
|
|
639
|
-
file=
|
|
720
|
+
file=_dest,
|
|
640
721
|
)
|
|
641
|
-
print("Commands:", file=
|
|
642
|
-
print("
|
|
643
|
-
print("
|
|
644
|
-
print("
|
|
645
|
-
print("
|
|
646
|
-
print("
|
|
647
|
-
print("
|
|
648
|
-
print("
|
|
649
|
-
print("
|
|
650
|
-
print("
|
|
651
|
-
|
|
722
|
+
print("Commands:", file=_dest)
|
|
723
|
+
print(" status Show current branch and snapshot count", file=_dest)
|
|
724
|
+
print(" create [--name NAME] Create a snapshot", file=_dest)
|
|
725
|
+
print(" list List all snapshots", file=_dest)
|
|
726
|
+
print(" restore <snapshot_id> Restore a snapshot", file=_dest)
|
|
727
|
+
print(" delete <snapshot_id> Delete a snapshot", file=_dest)
|
|
728
|
+
print(" branch <name> Create a branch", file=_dest)
|
|
729
|
+
print(" branches List all branches", file=_dest)
|
|
730
|
+
print(" switch <name> Switch to a branch", file=_dest)
|
|
731
|
+
print(" fork --from <snapshot_id> --name <name> Fork from snapshot", file=_dest)
|
|
732
|
+
print(" merge <source> [--into <target>] Merge branches", file=_dest)
|
|
733
|
+
print(" merge-preview <source> [--into <target>] Preview merge", file=_dest)
|
|
734
|
+
sys.exit(_code)
|
|
652
735
|
|
|
653
736
|
command = sys.argv[1]
|
|
654
737
|
|
|
655
|
-
if command == "
|
|
738
|
+
if command == "status":
|
|
739
|
+
result = get_status(state_dir=state_dir)
|
|
740
|
+
print(json.dumps(result, indent=2))
|
|
741
|
+
|
|
742
|
+
elif command == "create":
|
|
656
743
|
name = None
|
|
657
744
|
if len(sys.argv) > 3 and sys.argv[2] == "--name":
|
|
658
745
|
name = sys.argv[3]
|
|
659
|
-
result = create_snapshot(name=name)
|
|
746
|
+
result = create_snapshot(name=name, state_dir=state_dir)
|
|
660
747
|
print(json.dumps(result, indent=2))
|
|
661
748
|
|
|
662
749
|
elif command == "list":
|
|
663
|
-
snapshots = list_snapshots()
|
|
750
|
+
snapshots = list_snapshots(state_dir=state_dir)
|
|
664
751
|
print(json.dumps(snapshots, indent=2))
|
|
665
752
|
|
|
666
753
|
elif command == "restore":
|
|
@@ -668,7 +755,7 @@ def main():
|
|
|
668
755
|
print("Usage: python3 session_snapshot.py restore <snapshot_id>", file=sys.stderr)
|
|
669
756
|
sys.exit(1)
|
|
670
757
|
snapshot_id = sys.argv[2]
|
|
671
|
-
success = restore_snapshot(snapshot_id)
|
|
758
|
+
success = restore_snapshot(snapshot_id, state_dir=state_dir)
|
|
672
759
|
result = {"success": success, "snapshot_id": snapshot_id}
|
|
673
760
|
print(json.dumps(result, indent=2))
|
|
674
761
|
|
|
@@ -677,7 +764,7 @@ def main():
|
|
|
677
764
|
print("Usage: python3 session_snapshot.py delete <snapshot_id>", file=sys.stderr)
|
|
678
765
|
sys.exit(1)
|
|
679
766
|
snapshot_id = sys.argv[2]
|
|
680
|
-
success = delete_snapshot(snapshot_id)
|
|
767
|
+
success = delete_snapshot(snapshot_id, state_dir=state_dir)
|
|
681
768
|
result = {"success": success, "snapshot_id": snapshot_id}
|
|
682
769
|
print(json.dumps(result, indent=2))
|
|
683
770
|
|
|
@@ -689,11 +776,11 @@ def main():
|
|
|
689
776
|
from_id = None
|
|
690
777
|
if len(sys.argv) > 4 and sys.argv[3] == "--from":
|
|
691
778
|
from_id = sys.argv[4]
|
|
692
|
-
result = create_branch(branch_name, from_snapshot_id=from_id)
|
|
779
|
+
result = create_branch(branch_name, from_snapshot_id=from_id, state_dir=state_dir)
|
|
693
780
|
print(json.dumps(result, indent=2))
|
|
694
781
|
|
|
695
782
|
elif command == "branches":
|
|
696
|
-
branches = list_branches()
|
|
783
|
+
branches = list_branches(state_dir=state_dir)
|
|
697
784
|
print(json.dumps(branches, indent=2))
|
|
698
785
|
|
|
699
786
|
elif command == "switch":
|
|
@@ -701,7 +788,7 @@ def main():
|
|
|
701
788
|
print("Usage: python3 session_snapshot.py switch <name>", file=sys.stderr)
|
|
702
789
|
sys.exit(1)
|
|
703
790
|
branch_name = sys.argv[2]
|
|
704
|
-
success = switch_branch(branch_name)
|
|
791
|
+
success = switch_branch(branch_name, state_dir=state_dir)
|
|
705
792
|
result = {"success": success, "branch": branch_name}
|
|
706
793
|
print(json.dumps(result, indent=2))
|
|
707
794
|
|
|
@@ -713,7 +800,26 @@ def main():
|
|
|
713
800
|
target = "main"
|
|
714
801
|
if len(sys.argv) > 4 and sys.argv[3] == "--into":
|
|
715
802
|
target = sys.argv[4]
|
|
716
|
-
result = merge_branch(source, target_branch=target)
|
|
803
|
+
result = merge_branch(source, target_branch=target, state_dir=state_dir)
|
|
804
|
+
print(json.dumps(result, indent=2))
|
|
805
|
+
|
|
806
|
+
elif command == "fork":
|
|
807
|
+
from_id = None
|
|
808
|
+
fork_name = None
|
|
809
|
+
i = 2
|
|
810
|
+
while i < len(sys.argv):
|
|
811
|
+
if sys.argv[i] == "--from" and i + 1 < len(sys.argv):
|
|
812
|
+
from_id = sys.argv[i + 1]
|
|
813
|
+
i += 2
|
|
814
|
+
elif sys.argv[i] == "--name" and i + 1 < len(sys.argv):
|
|
815
|
+
fork_name = sys.argv[i + 1]
|
|
816
|
+
i += 2
|
|
817
|
+
else:
|
|
818
|
+
i += 1
|
|
819
|
+
if not from_id or not fork_name:
|
|
820
|
+
print("Usage: python3 session_snapshot.py fork --from <snapshot_id> --name <name>", file=sys.stderr)
|
|
821
|
+
sys.exit(1)
|
|
822
|
+
result = fork_branch(from_snapshot_id=from_id, name=fork_name, state_dir=state_dir)
|
|
717
823
|
print(json.dumps(result, indent=2))
|
|
718
824
|
|
|
719
825
|
elif command == "merge-preview":
|
|
@@ -724,7 +830,7 @@ def main():
|
|
|
724
830
|
target = "main"
|
|
725
831
|
if len(sys.argv) > 4 and sys.argv[3] == "--into":
|
|
726
832
|
target = sys.argv[4]
|
|
727
|
-
result = preview_merge(source, target_branch=target)
|
|
833
|
+
result = preview_merge(source, target_branch=target, state_dir=state_dir)
|
|
728
834
|
print(json.dumps(result, indent=2))
|
|
729
835
|
|
|
730
836
|
else:
|