open-multi-agent-kit 0.78.8 → 0.79.3
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.md +131 -2
- package/CHANGELOG.md +32 -0
- package/CLAUDE.md +105 -3
- package/DESIGN.md +141 -117
- package/MATURITY.md +7 -12
- package/README.md +66 -347
- package/ROADMAP.md +33 -47
- package/dist/adapters/kimi/runner.js +2 -2
- package/dist/brand/theme.js +2 -2
- package/dist/cli/register-basic-commands.js +3 -2
- package/dist/cli/register-mcp-dag-cron-screenshot-commands.js +1 -1
- package/dist/cli/root.d.ts +1 -0
- package/dist/cli/root.js +2 -0
- package/dist/cli/runtime/command-bus.js +14 -1
- package/dist/cli/theme/terminal-capability.js +1 -1
- package/dist/cli/theme/theme-registry.js +90 -2
- package/dist/cli/ui/event.d.ts +1 -0
- package/dist/cli/ui/neon-grid-renderer.d.ts +8 -0
- package/dist/cli/ui/neon-grid-renderer.js +84 -14
- package/dist/cli/ui/plain-renderer.js +3 -1
- package/dist/cli/ui/system24-renderer.js +3 -1
- package/dist/cli/v2/chat-repl.d.ts +2 -1
- package/dist/cli/v2/chat-repl.js +58 -2
- package/dist/cli/v2/cli-v2-skeleton.js +7 -4
- package/dist/cli/v2/interactive-prompt.js +4 -3
- package/dist/commands/auth.js +2 -0
- package/dist/commands/chat/native-root-loop.d.ts +1 -0
- package/dist/commands/chat/native-root-loop.js +162 -13
- package/dist/commands/chat/runtime.js +9 -0
- package/dist/commands/chat/slash/commands/routing.js +31 -1
- package/dist/commands/chat/utils.js +3 -1
- package/dist/commands/cockpit/render.js +2 -1
- package/dist/commands/doctor/checks.js +2 -2
- package/dist/commands/init/core.js +2 -2
- package/dist/commands/init.js +2 -2
- package/dist/commands/mcp/config.js +38 -16
- package/dist/commands/mcp/doctor.js +7 -8
- package/dist/commands/mcp/list.js +4 -3
- package/dist/commands/mcp/shared.d.ts +4 -1
- package/dist/commands/mcp/shared.js +21 -3
- package/dist/commands/mcp/test.js +13 -12
- package/dist/commands/model.js +4 -0
- package/dist/commands/provider.js +5 -1
- package/dist/commands/version.d.ts +1 -0
- package/dist/commands/version.js +18 -0
- package/dist/contracts/command.d.ts +25 -0
- package/dist/contracts/command.js +1 -0
- package/dist/contracts/evidence-bundle.d.ts +52 -0
- package/dist/contracts/evidence-bundle.js +1 -0
- package/dist/contracts/index.d.ts +2 -0
- package/dist/contracts/index.js +2 -0
- package/dist/contracts/web-bridge.d.ts +1 -1
- package/dist/contracts/web-bridge.js +1 -1
- package/dist/evidence/bundle-validator.d.ts +7 -0
- package/dist/evidence/bundle-validator.js +103 -0
- package/dist/evidence/index.d.ts +5 -0
- package/dist/evidence/index.js +2 -0
- package/dist/evidence/proof-trust.js +2 -10
- package/dist/evidence/trust-calibration.d.ts +25 -0
- package/dist/evidence/trust-calibration.js +151 -0
- package/dist/mcp/omk-project-server.js +1 -1
- package/dist/metrics/provenance-ratio.d.ts +16 -0
- package/dist/metrics/provenance-ratio.js +33 -0
- package/dist/orchestration/dag.d.ts +17 -0
- package/dist/orchestration/ensemble-decision.d.ts +2 -0
- package/dist/orchestration/ensemble-decision.js +4 -0
- package/dist/orchestration/hedge-persona-weights.d.ts +25 -0
- package/dist/orchestration/hedge-persona-weights.js +43 -0
- package/dist/orchestration/parallel-ui.d.ts +1 -0
- package/dist/orchestration/parallel-ui.js +12 -3
- package/dist/orchestration/route-calibration.d.ts +27 -0
- package/dist/orchestration/route-calibration.js +123 -0
- package/dist/orchestration/routing/mcp-config.js +5 -1
- package/dist/orchestration/routing/types.d.ts +21 -0
- package/dist/orchestration/routing.d.ts +10 -0
- package/dist/orchestration/routing.js +89 -3
- package/dist/providers/model-registry.d.ts +2 -1
- package/dist/providers/model-registry.js +76 -4
- package/dist/providers/provider-runtime.js +9 -1
- package/dist/providers/thinking-levels.js +2 -0
- package/dist/providers/types.d.ts +1 -1
- package/dist/runtime/glm-api-runtime.d.ts +4 -0
- package/dist/runtime/glm-api-runtime.js +15 -0
- package/dist/runtime/index.d.ts +1 -0
- package/dist/runtime/index.js +1 -0
- package/dist/runtime/kimi-api-runtime.d.ts +6 -1
- package/dist/runtime/kimi-api-runtime.js +10 -4
- package/dist/runtime/recovery-artifact-store.d.ts +39 -0
- package/dist/runtime/recovery-artifact-store.js +111 -0
- package/dist/runtime/runtime-backed-task-runner.js +10 -0
- package/dist/runtime/runtime-bootstrap.js +17 -1
- package/dist/runtime/slash-commands.js +38 -5
- package/dist/schema/command.schema.d.ts +121 -0
- package/dist/schema/command.schema.js +25 -0
- package/dist/schema/envelope.schema.d.ts +2 -2
- package/dist/schema/evidence-bundle.schema.d.ts +196 -0
- package/dist/schema/evidence-bundle.schema.js +38 -0
- package/dist/schema/index.d.ts +2 -0
- package/dist/schema/index.js +2 -0
- package/dist/schema/proof-bundle.schema.d.ts +2 -2
- package/dist/theme/external-theme-adapters.d.ts +27 -0
- package/dist/theme/external-theme-adapters.js +52 -0
- package/dist/theme/library-effects.d.ts +12 -0
- package/dist/theme/library-effects.js +47 -0
- package/dist/theme/parallel.js +3 -2
- package/dist/tui/terminal-frame-renderer.d.ts +9 -1
- package/dist/tui/terminal-frame-renderer.js +77 -7
- package/dist/util/chat-cockpit.d.ts +3 -1
- package/dist/util/chat-cockpit.js +44 -5
- package/dist/util/command-envelope.d.ts +19 -0
- package/dist/util/command-envelope.js +31 -0
- package/dist/util/events-logger.d.ts +1 -1
- package/dist/util/events-logger.js +23 -16
- package/dist/util/fs/mcp-diagnose.js +2 -1
- package/dist/util/fs/mcp-runtime-config.js +14 -2
- package/dist/util/i18n.js +2 -2
- package/dist/util/screenshot-store.d.ts +7 -0
- package/dist/util/screenshot-store.js +30 -0
- package/dist/util/terminal-kit-bridge.d.ts +24 -0
- package/dist/util/terminal-kit-bridge.js +60 -0
- package/dist/util/terminal-owner.d.ts +1 -0
- package/dist/util/terminal-owner.js +31 -0
- package/dist/version.d.ts +3 -1
- package/dist/version.js +4 -0
- package/docs/2026-05-18-project-direction.md +1 -1
- package/docs/2026-06-14/critical-issues.md +19 -0
- package/docs/2026-06-14/improvements.md +15 -0
- package/docs/2026-06-14/init-checklist.md +25 -0
- package/docs/2026-06-14/plan.md +20 -0
- package/docs/2026-06-15/critical-issues.md +19 -0
- package/docs/2026-06-15/improvements.md +15 -0
- package/docs/2026-06-15/init-checklist.md +25 -0
- package/docs/2026-06-15/plan.md +20 -0
- package/docs/claims.md +85 -0
- package/docs/comparisons/omk-vs-claude-code.md +31 -0
- package/docs/comparisons/omk-vs-codex.md +33 -0
- package/docs/comparisons/omk-vs-mcp-agent.md +33 -0
- package/docs/comparisons/omk-vs-opencode.md +32 -0
- package/docs/decision-layer-calibration.md +20 -0
- package/docs/geo-eval-prompts.md +53 -0
- package/docs/getting-started.md +3 -31
- package/docs/headroom-omk-setup-guide.md +2 -2
- package/docs/integrations/adaptorch.md +46 -0
- package/docs/native-root-runtime-algorithms.md +2 -303
- package/docs/native-root-runtime-hardening.md +1 -1
- package/docs/provider-maturity.md +1 -1
- package/docs/use-cases/evidence-gated-coding-agents.md +52 -0
- package/docs/use-cases/no-kimi-mode.md +38 -0
- package/docs/use-cases/provider-routing-for-ai-coding.md +36 -0
- package/docs/use-cases/replayable-agent-runs.md +40 -0
- package/docs/use-cases/scoped-mcp-for-coding-agents.md +34 -0
- package/docs/versioning.md +9 -3
- package/docs/what-is-omk.md +64 -0
- package/llms.txt +28 -18
- package/package.json +7 -2
- package/readmeasset/.npmignore +3 -0
- package/readmeasset/ASSET_INDEX.md +3 -0
- package/readmeasset/ASSET_PROVENANCE.md +6 -0
- package/readmeasset/omk-adaptorch-ouroboros-supermemory.svg +95 -0
- package/readmeasset/omk-init-control-loop.svg +118 -0
- package/readmeasset/omk-parallel-subagents.svg +97 -0
- package/templates/web-bridge/chrome-extension/background.js +1 -1
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# 2026-06-14 Critical Issues
|
|
2
|
+
|
|
3
|
+
## Critical Init Status
|
|
4
|
+
|
|
5
|
+
### Missing critical artifacts
|
|
6
|
+
- `.omk/hooks/pre-shell-guard.sh` — destructive shell guard
|
|
7
|
+
- `.omk/hooks/protect-secrets.sh` — secret write guard
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## Critical Artifacts Present
|
|
11
|
+
- ✅ `AGENTS.md` — top-level operating contract
|
|
12
|
+
- ✅ `.kimi/AGENTS.md` — Kimi-specific operating rules
|
|
13
|
+
- ✅ `.omk/config.toml` — OMK project runtime settings
|
|
14
|
+
- ✅ `.omk/agents/root.yaml` — root coordinator agent
|
|
15
|
+
- ✅ `.kimi/mcp.json` — Kimi project MCP registry
|
|
16
|
+
- ✅ `.omk/memory/graph-state.json` — local ontology graph database
|
|
17
|
+
|
|
18
|
+
## Escalation Rule
|
|
19
|
+
- Treat missing shell/secret guards, root agent config, MCP registry, or ontology graph as critical until restored.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# 2026-06-14 Improvements
|
|
2
|
+
|
|
3
|
+
## Current Improvement Backlog
|
|
4
|
+
### Optional init/support artifacts to add or refresh
|
|
5
|
+
- None detected.
|
|
6
|
+
|
|
7
|
+
### Critical init artifacts currently blocking reliable chat startup
|
|
8
|
+
- `.omk/hooks/pre-shell-guard.sh` — destructive shell guard
|
|
9
|
+
- `.omk/hooks/protect-secrets.sh` — secret write guard
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## Suggested Focus
|
|
13
|
+
- Keep `omk chat` startup idempotent and non-destructive.
|
|
14
|
+
- Prefer local graph memory for default ontology state.
|
|
15
|
+
- Keep generated daily docs small, dated, and safe to edit by hand.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# 2026-06-14 Required Init Checklist
|
|
2
|
+
|
|
3
|
+
**Run ID:** chat-2026-06-14T14-55-41-793Z-666566
|
|
4
|
+
**Ontology graph:** `.omk/memory/graph-state.json`
|
|
5
|
+
|
|
6
|
+
## Required Artifacts
|
|
7
|
+
- ✅ `AGENTS.md` — critical; top-level operating contract
|
|
8
|
+
- ✅ `.kimi/AGENTS.md` — critical; Kimi-specific operating rules
|
|
9
|
+
- ✅ `DESIGN.md` — support; design/brand source of truth
|
|
10
|
+
- ✅ `.omk/config.toml` — critical; OMK project runtime settings
|
|
11
|
+
- ✅ `.omk/agents/root.yaml` — critical; root coordinator agent
|
|
12
|
+
- ✅ `.kimi/mcp.json` — critical; Kimi project MCP registry
|
|
13
|
+
- ✅ `.omk/mcp.json` — support; legacy OMK MCP fallback
|
|
14
|
+
- ✅ `.omk/lsp.json` — support; bundled TypeScript/Python LSP config
|
|
15
|
+
- 🚨 `.omk/hooks/pre-shell-guard.sh` — critical; destructive shell guard
|
|
16
|
+
- 🚨 `.omk/hooks/protect-secrets.sh` — critical; secret write guard
|
|
17
|
+
- ✅ `.omk/memory/graph-state.json` — critical; local ontology graph database
|
|
18
|
+
- ✅ `.kimi/skills` — support; Kimi skill directory
|
|
19
|
+
- ✅ `.agents/skills` — support; portable skill directory
|
|
20
|
+
|
|
21
|
+
## Recovery Command
|
|
22
|
+
```bash
|
|
23
|
+
omk init
|
|
24
|
+
omk doctor
|
|
25
|
+
```
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# 2026-06-14 OMK Chat Plan
|
|
2
|
+
|
|
3
|
+
**Run ID:** chat-2026-06-14T14-55-41-793Z-666566
|
|
4
|
+
**Generated by:** omk chat bootstrap
|
|
5
|
+
|
|
6
|
+
## Purpose
|
|
7
|
+
- Start every chat with a dated workspace for planning, issue triage, and verification evidence.
|
|
8
|
+
- Keep ontology-backed memory available before the root coordinator starts.
|
|
9
|
+
- Make required init state visible without overwriting user-authored docs.
|
|
10
|
+
|
|
11
|
+
## Today Plan
|
|
12
|
+
1. Review `init-checklist.md` and resolve missing critical init artifacts first.
|
|
13
|
+
2. Use `improvements.md` as the active improvement backlog.
|
|
14
|
+
3. Use `critical-issues.md` for blocking defects, safety risks, and verification gaps.
|
|
15
|
+
4. Record command evidence before claiming work is complete.
|
|
16
|
+
|
|
17
|
+
## Stop Condition
|
|
18
|
+
- Critical init artifacts are present.
|
|
19
|
+
- Ontology graph exists at `.omk/memory/graph-state.json`.
|
|
20
|
+
- Any new code/docs changes have explicit verification evidence.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# 2026-06-15 Critical Issues
|
|
2
|
+
|
|
3
|
+
## Critical Init Status
|
|
4
|
+
|
|
5
|
+
### Missing critical artifacts
|
|
6
|
+
- `.omk/hooks/pre-shell-guard.sh` — destructive shell guard
|
|
7
|
+
- `.omk/hooks/protect-secrets.sh` — secret write guard
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## Critical Artifacts Present
|
|
11
|
+
- ✅ `AGENTS.md` — top-level operating contract
|
|
12
|
+
- ✅ `.kimi/AGENTS.md` — Kimi-specific operating rules
|
|
13
|
+
- ✅ `.omk/config.toml` — OMK project runtime settings
|
|
14
|
+
- ✅ `.omk/agents/root.yaml` — root coordinator agent
|
|
15
|
+
- ✅ `.kimi/mcp.json` — Kimi project MCP registry
|
|
16
|
+
- ✅ `.omk/memory/graph-state.json` — local ontology graph database
|
|
17
|
+
|
|
18
|
+
## Escalation Rule
|
|
19
|
+
- Treat missing shell/secret guards, root agent config, MCP registry, or ontology graph as critical until restored.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# 2026-06-15 Improvements
|
|
2
|
+
|
|
3
|
+
## Current Improvement Backlog
|
|
4
|
+
### Optional init/support artifacts to add or refresh
|
|
5
|
+
- None detected.
|
|
6
|
+
|
|
7
|
+
### Critical init artifacts currently blocking reliable chat startup
|
|
8
|
+
- `.omk/hooks/pre-shell-guard.sh` — destructive shell guard
|
|
9
|
+
- `.omk/hooks/protect-secrets.sh` — secret write guard
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
## Suggested Focus
|
|
13
|
+
- Keep `omk chat` startup idempotent and non-destructive.
|
|
14
|
+
- Prefer local graph memory for default ontology state.
|
|
15
|
+
- Keep generated daily docs small, dated, and safe to edit by hand.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# 2026-06-15 Required Init Checklist
|
|
2
|
+
|
|
3
|
+
**Run ID:** chat-2026-06-14T15-00-42-301Z-741114
|
|
4
|
+
**Ontology graph:** `.omk/memory/graph-state.json`
|
|
5
|
+
|
|
6
|
+
## Required Artifacts
|
|
7
|
+
- ✅ `AGENTS.md` — critical; top-level operating contract
|
|
8
|
+
- ✅ `.kimi/AGENTS.md` — critical; Kimi-specific operating rules
|
|
9
|
+
- ✅ `DESIGN.md` — support; design/brand source of truth
|
|
10
|
+
- ✅ `.omk/config.toml` — critical; OMK project runtime settings
|
|
11
|
+
- ✅ `.omk/agents/root.yaml` — critical; root coordinator agent
|
|
12
|
+
- ✅ `.kimi/mcp.json` — critical; Kimi project MCP registry
|
|
13
|
+
- ✅ `.omk/mcp.json` — support; legacy OMK MCP fallback
|
|
14
|
+
- ✅ `.omk/lsp.json` — support; bundled TypeScript/Python LSP config
|
|
15
|
+
- 🚨 `.omk/hooks/pre-shell-guard.sh` — critical; destructive shell guard
|
|
16
|
+
- 🚨 `.omk/hooks/protect-secrets.sh` — critical; secret write guard
|
|
17
|
+
- ✅ `.omk/memory/graph-state.json` — critical; local ontology graph database
|
|
18
|
+
- ✅ `.kimi/skills` — support; Kimi skill directory
|
|
19
|
+
- ✅ `.agents/skills` — support; portable skill directory
|
|
20
|
+
|
|
21
|
+
## Recovery Command
|
|
22
|
+
```bash
|
|
23
|
+
omk init
|
|
24
|
+
omk doctor
|
|
25
|
+
```
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# 2026-06-15 OMK Chat Plan
|
|
2
|
+
|
|
3
|
+
**Run ID:** chat-2026-06-14T15-00-42-301Z-741114
|
|
4
|
+
**Generated by:** omk chat bootstrap
|
|
5
|
+
|
|
6
|
+
## Purpose
|
|
7
|
+
- Start every chat with a dated workspace for planning, issue triage, and verification evidence.
|
|
8
|
+
- Keep ontology-backed memory available before the root coordinator starts.
|
|
9
|
+
- Make required init state visible without overwriting user-authored docs.
|
|
10
|
+
|
|
11
|
+
## Today Plan
|
|
12
|
+
1. Review `init-checklist.md` and resolve missing critical init artifacts first.
|
|
13
|
+
2. Use `improvements.md` as the active improvement backlog.
|
|
14
|
+
3. Use `critical-issues.md` for blocking defects, safety risks, and verification gaps.
|
|
15
|
+
4. Record command evidence before claiming work is complete.
|
|
16
|
+
|
|
17
|
+
## Stop Condition
|
|
18
|
+
- Critical init artifacts are present.
|
|
19
|
+
- Ontology graph exists at `.omk/memory/graph-state.json`.
|
|
20
|
+
- Any new code/docs changes have explicit verification evidence.
|
package/docs/claims.md
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# OMK claims and evidence
|
|
2
|
+
|
|
3
|
+
This document lists what OMK claims, the current status, and how to verify it. Claims are scoped to the exact adapter, command, and gate that produced them.
|
|
4
|
+
|
|
5
|
+
## Claim: OMK creates replayable run artifacts
|
|
6
|
+
|
|
7
|
+
Status: implemented.
|
|
8
|
+
|
|
9
|
+
Evidence:
|
|
10
|
+
- `.omk/runs/<run-id>/input-envelope.json`
|
|
11
|
+
- `.omk/runs/<run-id>/dag.json`
|
|
12
|
+
- `.omk/runs/<run-id>/dag-compile-report.json`
|
|
13
|
+
- loop artifacts on execution: `loop-state.json`, `loop-decisions.jsonl`
|
|
14
|
+
|
|
15
|
+
Verification:
|
|
16
|
+
```bash
|
|
17
|
+
omk do "review this repo for release risk" --dry-run --json
|
|
18
|
+
omk runs
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Claim: OMK can run without Kimi
|
|
22
|
+
|
|
23
|
+
Status: implemented and tested.
|
|
24
|
+
|
|
25
|
+
Evidence:
|
|
26
|
+
- package name `open-multi-agent-kit`, binary `omk`
|
|
27
|
+
- no-Kimi runtime routing and smoke paths
|
|
28
|
+
|
|
29
|
+
Verification:
|
|
30
|
+
```bash
|
|
31
|
+
npm run verify:no-kimi
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
## Claim: OMK blocks completion when required evidence is missing
|
|
35
|
+
|
|
36
|
+
Status: implemented.
|
|
37
|
+
|
|
38
|
+
Evidence:
|
|
39
|
+
- evidence-block proof bundle `proof/verified-runs/006-evidence-block/proof-bundle.json`
|
|
40
|
+
|
|
41
|
+
Verification:
|
|
42
|
+
```bash
|
|
43
|
+
npm run proof:check
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Claim: OMK scopes provider authority by task
|
|
47
|
+
|
|
48
|
+
Status: implemented at the routing/contract level; enforcement depends on the adapter path.
|
|
49
|
+
|
|
50
|
+
Evidence:
|
|
51
|
+
- read/write/shell/merge authority metadata in task contracts
|
|
52
|
+
- [provider maturity](provider-maturity.md)
|
|
53
|
+
|
|
54
|
+
Verification:
|
|
55
|
+
```bash
|
|
56
|
+
omk provider list
|
|
57
|
+
omk do "explain this repo" --dry-run --json
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## Claim: OMK provides OS-level sandboxing
|
|
61
|
+
|
|
62
|
+
Status: not claimed. Child-env hardening and approval gates exist; OS-level sandboxing is planned.
|
|
63
|
+
|
|
64
|
+
Evidence:
|
|
65
|
+
- [SECURITY.md](../SECURITY.md)
|
|
66
|
+
|
|
67
|
+
## Claim: OMK is a stable 1.x release
|
|
68
|
+
|
|
69
|
+
Status: not claimed. Current source version is `0.78.9` (`pre-1.0`); `v1.2` is a runtime contract family.
|
|
70
|
+
|
|
71
|
+
Evidence:
|
|
72
|
+
- [versioning](versioning.md)
|
|
73
|
+
- release truthfulness proof `proof/verified-runs/012-release-truthfulness/proof-bundle.json`
|
|
74
|
+
|
|
75
|
+
Verification:
|
|
76
|
+
```bash
|
|
77
|
+
npm run version:check
|
|
78
|
+
npm run proof:check
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## Related
|
|
82
|
+
|
|
83
|
+
- [What is OMK?](what-is-omk.md)
|
|
84
|
+
- [Proof index](https://github.com/dmae97/open-multi-agent-kit/blob/main/proof/PROOF_INDEX.md)
|
|
85
|
+
- [Provider maturity](provider-maturity.md)
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# OMK vs Claude Code
|
|
2
|
+
|
|
3
|
+
## Short answer
|
|
4
|
+
|
|
5
|
+
Claude Code is a coding agent. OMK is a control plane that can run Claude Code as one provider lane with scoped authority, DAG orchestration, evidence gates, and replayable artifacts.
|
|
6
|
+
|
|
7
|
+
## Category difference
|
|
8
|
+
|
|
9
|
+
- **Claude Code**: executes coding tasks as a single-agent assistant.
|
|
10
|
+
- **OMK**: routes tasks across providers, scopes read/write/shell/merge authority, requires evidence before completion, and records replayable run artifacts.
|
|
11
|
+
|
|
12
|
+
## When to use which
|
|
13
|
+
|
|
14
|
+
- Use Claude Code when you want a direct coding assistant.
|
|
15
|
+
- Use OMK when you want multi-provider routing, per-task authority, and verifiable completion across agents in the same repository.
|
|
16
|
+
|
|
17
|
+
## How they work together
|
|
18
|
+
|
|
19
|
+
Claude Code can act as a coding agent surface inside an OMK lane while OMK keeps routing, authority, and evidence explicit.
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
omk do "review this repo for release risk" --dry-run --json
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
See [evidence-gated coding agents](../use-cases/evidence-gated-coding-agents.md).
|
|
26
|
+
|
|
27
|
+
## Related
|
|
28
|
+
|
|
29
|
+
- [What is OMK?](../what-is-omk.md)
|
|
30
|
+
- [OMK vs Codex](omk-vs-codex.md)
|
|
31
|
+
- [OMK vs OpenCode](omk-vs-opencode.md)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# OMK vs Codex
|
|
2
|
+
|
|
3
|
+
## Short answer
|
|
4
|
+
|
|
5
|
+
Codex is a coding agent. OMK is a control plane that can run Codex as one provider lane with scoped authority, DAG orchestration, evidence gates, and replayable artifacts.
|
|
6
|
+
|
|
7
|
+
## Category difference
|
|
8
|
+
|
|
9
|
+
- **Codex**: executes coding tasks through the official Codex app/CLI.
|
|
10
|
+
- **OMK**: routes tasks across providers, scopes read/write/shell/merge authority, requires evidence before completion, and records replayable run artifacts.
|
|
11
|
+
|
|
12
|
+
## When to use which
|
|
13
|
+
|
|
14
|
+
- Use Codex when you want a direct coding assistant.
|
|
15
|
+
- Use OMK when you want to route across providers, restrict authority per task, and require evidence before marking work complete.
|
|
16
|
+
|
|
17
|
+
## How they work together
|
|
18
|
+
|
|
19
|
+
OMK delegates Codex auth to the official Codex app/CLI and never reads or prints `~/.codex/auth.json` tokens.
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
codex login
|
|
23
|
+
omk codex auth --choice plus-pro --run
|
|
24
|
+
omk provider doctor codex --soft
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
See [Codex OAuth setup](../codex-oauth-setup.md) and [provider routing](../use-cases/provider-routing-for-ai-coding.md).
|
|
28
|
+
|
|
29
|
+
## Related
|
|
30
|
+
|
|
31
|
+
- [What is OMK?](../what-is-omk.md)
|
|
32
|
+
- [OMK vs OpenCode](omk-vs-opencode.md)
|
|
33
|
+
- [OMK vs Claude Code](omk-vs-claude-code.md)
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# OMK vs MCP agent frameworks
|
|
2
|
+
|
|
3
|
+
## Short answer
|
|
4
|
+
|
|
5
|
+
MCP agent frameworks give agents tool access through the Model Context Protocol. OMK adds task-level control on top: scoped MCP per lane, provider routing, evidence gates, and replayable artifacts.
|
|
6
|
+
|
|
7
|
+
## Category difference
|
|
8
|
+
|
|
9
|
+
- **MCP agent frameworks**: expose tools to an agent through MCP servers.
|
|
10
|
+
- **OMK**: keeps MCP servers, skills, and hooks scoped per lane, routes providers, separates read/write/shell/merge authority, and requires evidence before completion.
|
|
11
|
+
|
|
12
|
+
## When to use which
|
|
13
|
+
|
|
14
|
+
- Use an MCP agent framework when you mainly need tool access for one agent.
|
|
15
|
+
- Use OMK when you need bounded tool authority, multi-provider routing, and verifiable, replayable runs.
|
|
16
|
+
|
|
17
|
+
## How they work together
|
|
18
|
+
|
|
19
|
+
OMK consumes MCP servers as scoped capabilities per lane instead of importing every global server into every agent.
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
omk mcp list
|
|
23
|
+
omk mcp doctor
|
|
24
|
+
omk do "summarize open issues" --mcp-scope project --dry-run --json
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
See [scoped MCP for coding agents](../use-cases/scoped-mcp-for-coding-agents.md).
|
|
28
|
+
|
|
29
|
+
## Related
|
|
30
|
+
|
|
31
|
+
- [What is OMK?](../what-is-omk.md)
|
|
32
|
+
- [OMK vs OpenCode](omk-vs-opencode.md)
|
|
33
|
+
- [Provider routing for AI coding](../use-cases/provider-routing-for-ai-coding.md)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# OMK vs OpenCode
|
|
2
|
+
|
|
3
|
+
## Short answer
|
|
4
|
+
|
|
5
|
+
OpenCode is a terminal coding agent. OMK is a control plane for running coding agents with scoped authority, DAG orchestration, evidence gates, and replayable artifacts.
|
|
6
|
+
|
|
7
|
+
## Category difference
|
|
8
|
+
|
|
9
|
+
- **OpenCode**: a direct coding loop in the terminal.
|
|
10
|
+
- **OMK**: a layer around execution that routes providers, scopes authority, requires evidence, and saves replayable run artifacts.
|
|
11
|
+
|
|
12
|
+
## When to use which
|
|
13
|
+
|
|
14
|
+
- Use OpenCode when you want a direct coding assistant.
|
|
15
|
+
- Use OMK when you want to route tasks across providers, restrict write or shell authority, and require evidence before marking work complete.
|
|
16
|
+
|
|
17
|
+
## How they work together
|
|
18
|
+
|
|
19
|
+
OpenCode/CommandCode can participate as a compatibility lane when the local CLI and auth are present.
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
omk provider list
|
|
23
|
+
omk do "refactor the parser" --provider auto --dry-run --json
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
See [provider routing](../use-cases/provider-routing-for-ai-coding.md).
|
|
27
|
+
|
|
28
|
+
## Related
|
|
29
|
+
|
|
30
|
+
- [What is OMK?](../what-is-omk.md)
|
|
31
|
+
- [OMK vs Codex](omk-vs-codex.md)
|
|
32
|
+
- [OMK vs mcp-agent](omk-vs-mcp-agent.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Decision-Layer Formalization And Calibration
|
|
2
|
+
|
|
3
|
+
This note tracks the implementation of the June 11 decision-layer hardening spec.
|
|
4
|
+
|
|
5
|
+
## Implemented
|
|
6
|
+
|
|
7
|
+
- Route scoring source prior is now a strict tiebreaker: `project=0.02`, `builtin=0.01`, `global=0`.
|
|
8
|
+
- Route scoring computes a base-score lattice gap and asserts `priorSpread < minBaseGap` at module load.
|
|
9
|
+
- Route selection emits bounded `routeTrace` records with `baseScore`, `sourcePrior`, final `score`, features, and reason for benchmark replay.
|
|
10
|
+
- Route calibration helpers implement simplex projection, structured perturbation candidates, smooth keyword saturation, and exact paired McNemar adoption.
|
|
11
|
+
- Trust calibration helpers implement underpowered-data refusal, MAP-style logistic fitting with shrinkage to current checklist weights, AUC comparison, and threshold selection.
|
|
12
|
+
- Ensemble decision can consume Hedge persona weights; the Hedge module updates online weights with an anti-collapse floor and collapse alert.
|
|
13
|
+
- Provenance ratio helpers and `npm run provenance:ratio` report layer-wise originality against an upstream or merge-base fallback.
|
|
14
|
+
- CI fast gate includes a new-file size guard for source/test/script files over 1,000 LoC.
|
|
15
|
+
|
|
16
|
+
## Deferred
|
|
17
|
+
|
|
18
|
+
- `git filter-repo --path proof/ --invert-paths` is destructive and requires explicit branch/tag/force-push scope confirmation before execution.
|
|
19
|
+
- Trust and Hedge adoption should be persisted only after enough labeled runs exist (`n >= 100` for trust calibration).
|
|
20
|
+
- Route calibration needs a benchmark suite with at least 50 paired tasks before changing production weights.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# GEO evaluation prompts
|
|
2
|
+
|
|
3
|
+
Use these prompts to check whether generative search engines mention or cite OMK. Run them in ChatGPT Search, Perplexity, Google AI Mode, and Gemini, and record the result.
|
|
4
|
+
|
|
5
|
+
## Prompts
|
|
6
|
+
|
|
7
|
+
1. What is an evidence-gated coding agent runner?
|
|
8
|
+
2. What open source tools help run multiple AI coding agents safely?
|
|
9
|
+
3. How can I run Codex and OpenCode with scoped permissions?
|
|
10
|
+
4. What is a DAG runtime for coding agents?
|
|
11
|
+
5. What tools create replayable artifacts for AI coding runs?
|
|
12
|
+
6. Compare OMK and OpenCode.
|
|
13
|
+
7. Compare OMK and Claude Code.
|
|
14
|
+
8. Best MCP orchestration tools for coding agents.
|
|
15
|
+
9. What is provider authority in AI coding workflows?
|
|
16
|
+
10. How do I prevent coding agents from saying done without tests?
|
|
17
|
+
|
|
18
|
+
## Tracking columns
|
|
19
|
+
|
|
20
|
+
Record one row per prompt per engine:
|
|
21
|
+
|
|
22
|
+
```txt
|
|
23
|
+
date
|
|
24
|
+
engine
|
|
25
|
+
query
|
|
26
|
+
omk_mentioned (yes/no)
|
|
27
|
+
omk_cited (yes/no)
|
|
28
|
+
rank/order
|
|
29
|
+
cited_url
|
|
30
|
+
wrong_claim (yes/no + note)
|
|
31
|
+
competing_tools_mentioned
|
|
32
|
+
notes
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Progress targets
|
|
36
|
+
|
|
37
|
+
```txt
|
|
38
|
+
Stage 1: 2 of 10 prompts mention OMK
|
|
39
|
+
Stage 2: 2 of 10 prompts cite OMK
|
|
40
|
+
Stage 3: comparison prompts mention OMK in top 3
|
|
41
|
+
Stage 4: category prompts recurringly mention OMK
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Notes
|
|
45
|
+
|
|
46
|
+
- Generative engines change frequently; treat each run as a point-in-time sample.
|
|
47
|
+
- Prefer fixing the canonical docs (definition, use cases, comparisons) over keyword stuffing.
|
|
48
|
+
- Citation is stronger than mention; optimize for citation-worthy, verifiable claims.
|
|
49
|
+
|
|
50
|
+
## Related
|
|
51
|
+
|
|
52
|
+
- [What is OMK?](what-is-omk.md)
|
|
53
|
+
- [OMK claims and evidence](claims.md)
|
package/docs/getting-started.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# Getting Started
|
|
2
2
|
|
|
3
|
-
Source release target: `open-multi-agent-kit@0.
|
|
3
|
+
Source release target: `open-multi-agent-kit@0.79.3`. Treat npm latest claims as valid only after registry verification and release gates pass.
|
|
4
4
|
|
|
5
5
|
## Prerequisites
|
|
6
6
|
|
|
7
7
|
- Node.js 20+
|
|
8
8
|
- Git
|
|
9
|
-
- At least one
|
|
9
|
+
- At least one supported provider (Kimi, Codex CLI, Gemini CLI, Claude Code, OpenRouter, etc.)
|
|
10
10
|
|
|
11
11
|
## Install
|
|
12
12
|
|
|
@@ -22,7 +22,7 @@ omk init
|
|
|
22
22
|
|
|
23
23
|
This creates:
|
|
24
24
|
- `AGENTS.md`, `GEMINI.md`, `CLAUDE.md`, `DESIGN.md`
|
|
25
|
-
- `.kimi/skills/` (runtime
|
|
25
|
+
- `.kimi/skills/` (runtime skills, with Kimi as the first and most mature adapter)
|
|
26
26
|
- `.agents/skills/` (portable skills)
|
|
27
27
|
- packaged workflow skills such as `agentmemory`, `react-doctor`, and `multica`
|
|
28
28
|
- `.omk/` (config, hooks, memory, agents)
|
|
@@ -35,31 +35,3 @@ omk chat
|
|
|
35
35
|
omk plan "refactor auth module"
|
|
36
36
|
omk run feature-dev "add user dashboard"
|
|
37
37
|
```
|
|
38
|
-
|
|
39
|
-
## Updates
|
|
40
|
-
|
|
41
|
-
On startup OMK checks npm for a newer release and, when one exists, shows an
|
|
42
|
-
interactive prompt (Update now / Skip this version / Remind me later). Choosing
|
|
43
|
-
"Update now" runs `npm i -g open-multi-agent-kit`.
|
|
44
|
-
|
|
45
|
-
- **Automatic (non-interactive) updates:** set `OMK_AUTO_UPDATE=1` (also accepts
|
|
46
|
-
`true|yes|on|always`). When OMK is outdated it self-updates on startup without
|
|
47
|
-
prompting. CI is always skipped, and `OMK_UPDATE_PROMPT=off` disables update
|
|
48
|
-
checks entirely.
|
|
49
|
-
- Manual check: `omk update check` (add `--refresh` to bypass the cache).
|
|
50
|
-
|
|
51
|
-
## Adaptive runtime algorithms
|
|
52
|
-
|
|
53
|
-
OMK embeds three adaptive control behaviors (all additive, safe defaults, non-fatal fallback):
|
|
54
|
-
|
|
55
|
-
- **Topology-routed first run** — on the first DAG composition OMK derives structural features (width, critical depth, coupling, parallel ratio) and selects an execution topology (parallel / pipeline / map-reduce / hierarchical / hybrid / dag) with layered waves. Toggle with `OMK_ADAPTORCH_ROUTING=off`.
|
|
56
|
-
- **Context guard before 90%** — before the context window crosses a threshold (default `0.90`) OMK compacts via [headroom](https://github.com/chopratejas/headroom) when available, otherwise its built-in budget optimizer. Tune with `OMK_HEADROOM_THRESHOLD` (0.50–0.99), `OMK_CONTEXT_WINDOW`, or disable with `OMK_HEADROOM=off`.
|
|
57
|
-
- **Spec-first via Ouroboros** — goal/spec/orchestration intents prefer the embedded Ouroboros flow by default; when Ouroboros is not installed OMK degrades to the native path with no error. Modes: `OMK_OUROBOROS=always` (default) `| auto | off`. See [Ouroboros integration](integrations/ouroboros.md).
|
|
58
|
-
|
|
59
|
-
## Support the project (GitHub star)
|
|
60
|
-
|
|
61
|
-
First-time users get a one-time prompt to star the repository. If the GitHub CLI
|
|
62
|
-
(`gh`) is authenticated the star is applied directly; otherwise OMK prints the
|
|
63
|
-
repo URL and, on a desktop session, opens it in your browser so you can star in
|
|
64
|
-
one click. You can star anytime with `omk star`, check status with
|
|
65
|
-
`omk star --status`, and disable the prompt with `OMK_STAR_PROMPT=off`.
|
|
@@ -367,8 +367,8 @@ ls $OMK_RUNTIME_HOME/.agents/skills/headroom/
|
|
|
367
367
|
|
|
368
368
|
### 13.1 학습 리소스
|
|
369
369
|
- [Headroom 문서](https://headroom-docs.vercel.app/docs)
|
|
370
|
-
- [OMK 문서](https://github.com/
|
|
371
|
-
- [OMK 런타임 문서](https://github.com/dmae97/
|
|
370
|
+
- [OMK 문서](https://github.com/dmae97/open-multi-agent-kit)
|
|
371
|
+
- [OMK 런타임 문서](https://github.com/dmae97/open-multi-agent-kit)
|
|
372
372
|
|
|
373
373
|
### 13.2 커뮤니티 참여
|
|
374
374
|
- GitHub 이슈 및 PR
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Adaptorch Integration
|
|
2
|
+
|
|
3
|
+
Adaptorch is OMK's optional topology-routing and adaptive-synthesis companion. OMK ships a pure TypeScript Adaptorch-style topology router by default, so DAG composition works without any external service. If an Adaptorch MCP server is configured locally, OMK can also route MCP-aware lanes through that server in trusted local-user scope.
|
|
4
|
+
|
|
5
|
+
## Runtime Modes
|
|
6
|
+
|
|
7
|
+
- **Built-in router**: enabled unless `OMK_ADAPTORCH_ROUTING=off|0|false`.
|
|
8
|
+
- **MCP bridge**: trusted local config from `~/.omk/agent/mcp.json`, `~/.omk/mcp.json`, or `~/.kimi/mcp.json` is active only when `OMK_MCP_SCOPE=all` or after importing a reviewed server into project `.kimi/mcp.json`.
|
|
9
|
+
- **Typo alias**: `adptorch` is accepted by `omk mcp add/remove/test` and maps to `adaptorch`.
|
|
10
|
+
|
|
11
|
+
## Enable From Existing Global Agent Config
|
|
12
|
+
|
|
13
|
+
If your Adaptorch MCP entry already exists in `~/.omk/agent/mcp.json`:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
omk mcp list
|
|
17
|
+
OMK_MCP_SCOPE=all omk mcp list
|
|
18
|
+
omk mcp add adaptorch # or: omk mcp add adptorch
|
|
19
|
+
omk mcp test adaptorch
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
`omk mcp add adaptorch` copies a sanitized server definition into project `.kimi/mcp.json`. Secret-like env values are stored as runtime placeholders such as `${ADAPTORCH_CONTROL_PLANE_TOKEN}` rather than literal secrets.
|
|
23
|
+
|
|
24
|
+
## Direct Project Install
|
|
25
|
+
|
|
26
|
+
Use this only after reviewing the launcher path and secret handling:
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
omk mcp install adaptorch bash /absolute/path/to/run_adaptorch_mcp.sh \
|
|
30
|
+
--env ADAPTORCH_CONTROL_PLANE_BASE_URL=http://127.0.0.1:8080 \
|
|
31
|
+
--env ADAPTORCH_CONTROL_PLANE_TOKEN='${ADAPTORCH_CONTROL_PLANE_TOKEN}'
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Then verify:
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
omk mcp doctor
|
|
38
|
+
omk mcp test adaptorch
|
|
39
|
+
OMK_MCP_SCOPE=all omk chat "plan this DAG with adaptorch routing"
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Safety Notes
|
|
43
|
+
|
|
44
|
+
- Do not commit real Adaptorch tokens, headers, or `.env.local` files.
|
|
45
|
+
- Keep production `adaptorch-prod` in global/user config unless the project explicitly requires it.
|
|
46
|
+
- Prefer project import for reproducible local runs; prefer `OMK_MCP_SCOPE=all` only for trusted local operator sessions.
|