open-multi-agent-kit 0.79.3 → 0.80.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/MATURITY.md +2 -2
- package/README.md +86 -39
- package/ROADMAP.md +20 -17
- package/dist/brand/night-city.theme.json +122 -24
- package/dist/brand/rust-forge.theme.json +1 -1
- package/dist/commands/chat/native-root-loop.d.ts +27 -3
- package/dist/commands/chat/native-root-loop.js +375 -49
- package/dist/commands/dag.js +45 -0
- package/dist/commands/init/content.d.ts +1 -1
- package/dist/commands/init/content.js +3 -3
- package/dist/commands/init.js +3 -3
- package/dist/commands/verify.js +59 -1
- package/dist/contracts/dag.d.ts +9 -1
- package/dist/evidence/graph-ontology-relation-gate.d.ts +10 -0
- package/dist/evidence/graph-ontology-relation-gate.js +46 -0
- package/dist/evidence/headroom-replay-verifier.d.ts +19 -0
- package/dist/evidence/headroom-replay-verifier.js +86 -0
- package/dist/memory/local-graph-memory-store.d.ts +75 -0
- package/dist/memory/local-graph-memory-store.js +570 -0
- package/dist/orchestration/dag.d.ts +22 -1
- package/dist/orchestration/evidence-gate.js +12 -0
- package/dist/orchestration/executor.js +108 -15
- package/dist/orchestration/loop-controller-headroom.d.ts +6 -0
- package/dist/orchestration/loop-controller-headroom.js +33 -0
- package/dist/orchestration/scheduler.d.ts +2 -0
- package/dist/orchestration/scheduler.js +3 -0
- package/dist/orchestration/task-graph.d.ts +17 -0
- package/dist/orchestration/task-graph.js +38 -0
- package/dist/providers/codex-cli-runner.js +17 -2
- package/dist/runtime/agent-runtime.d.ts +32 -3
- package/dist/runtime/agent-runtime.js +20 -7
- package/dist/runtime/authority-matrix.d.ts +23 -0
- package/dist/runtime/authority-matrix.js +159 -0
- package/dist/runtime/chat-advisory-runtime.js +3 -0
- package/dist/runtime/codex-cli-runtime.js +2 -0
- package/dist/runtime/codex-runtime.d.ts +4 -1
- package/dist/runtime/codex-runtime.js +34 -12
- package/dist/runtime/context-broker-converter.js +32 -2
- package/dist/runtime/context-broker.js +18 -0
- package/dist/runtime/contracts/evidence.d.ts +52 -0
- package/dist/runtime/contracts/evidence.js +128 -1
- package/dist/runtime/contracts/shared.d.ts +27 -0
- package/dist/runtime/data-retention-gate.d.ts +42 -0
- package/dist/runtime/data-retention-gate.js +123 -0
- package/dist/runtime/deepseek-runtime.d.ts +5 -1
- package/dist/runtime/deepseek-runtime.js +13 -7
- package/dist/runtime/external-cli-adapter.js +20 -7
- package/dist/runtime/freedomd-evidence-envelope.d.ts +57 -0
- package/dist/runtime/freedomd-evidence-envelope.js +110 -0
- package/dist/runtime/freedomd-exception.d.ts +32 -0
- package/dist/runtime/freedomd-exception.js +95 -0
- package/dist/runtime/freedomd-incidents.d.ts +23 -0
- package/dist/runtime/freedomd-incidents.js +103 -0
- package/dist/runtime/freedomd-policy.d.ts +35 -0
- package/dist/runtime/freedomd-policy.js +114 -0
- package/dist/runtime/freedomd-router.d.ts +66 -0
- package/dist/runtime/freedomd-router.js +433 -0
- package/dist/runtime/headroom-aware-loop-decision.d.ts +21 -0
- package/dist/runtime/headroom-aware-loop-decision.js +67 -0
- package/dist/runtime/headroom-loop-risk.d.ts +19 -0
- package/dist/runtime/headroom-loop-risk.js +43 -0
- package/dist/runtime/headroom-policy.d.ts +14 -1
- package/dist/runtime/headroom-policy.js +74 -12
- package/dist/runtime/kimi-api-runtime.d.ts +4 -1
- package/dist/runtime/kimi-api-runtime.js +35 -11
- package/dist/runtime/kimi-print-runtime.js +21 -0
- package/dist/runtime/kimi-wire-protocol-runtime.js +17 -1
- package/dist/runtime/local-llm-runtime.d.ts +5 -1
- package/dist/runtime/local-llm-runtime.js +14 -23
- package/dist/runtime/private-stderr.d.ts +13 -0
- package/dist/runtime/private-stderr.js +69 -0
- package/dist/runtime/prompt-envelope.d.ts +1 -1
- package/dist/runtime/provider-sovereignty.d.ts +81 -0
- package/dist/runtime/provider-sovereignty.js +285 -0
- package/dist/runtime/runtime-backed-task-runner.d.ts +1 -0
- package/dist/runtime/runtime-backed-task-runner.js +282 -10
- package/dist/runtime/runtime-bootstrap.d.ts +12 -0
- package/dist/runtime/runtime-bootstrap.js +56 -3
- package/dist/runtime/runtime-failure-classifier.d.ts +15 -0
- package/dist/runtime/runtime-failure-classifier.js +107 -0
- package/dist/runtime/runtime-health-probes.d.ts +30 -0
- package/dist/runtime/runtime-health-probes.js +102 -0
- package/dist/runtime/runtime-router.d.ts +6 -2
- package/dist/runtime/runtime-router.js +575 -53
- package/dist/runtime/structured-compaction.d.ts +107 -0
- package/dist/runtime/structured-compaction.js +414 -0
- package/dist/runtime/tool-dispatch-contracts.d.ts +7 -5
- package/dist/runtime/tool-dispatch-contracts.js +15 -4
- package/dist/runtime/tool-plane.d.ts +1 -1
- package/dist/runtime/tool-plane.js +49 -1
- package/dist/runtime/worker-manifest.js +1 -1
- package/dist/schema/evidence-bundle.schema.d.ts +8 -8
- package/dist/schema/proof-bundle.schema.d.ts +2 -2
- package/dist/util/hash.d.ts +2 -0
- package/dist/util/hash.js +13 -0
- package/dist/util/session.js +6 -5
- package/docs/2026-06-16/critical-issues.md +19 -0
- package/docs/2026-06-16/improvements.md +15 -0
- package/docs/2026-06-16/init-checklist.md +25 -0
- package/docs/2026-06-16/plan.md +20 -0
- package/docs/ARCHITECTURE_ANALYSIS_CODEGRAPH.md +2 -1
- package/docs/GSTACK_MIGRATION.md +1 -1
- package/docs/algorithm-hardening-playbook.md +219 -0
- package/docs/claims.md +1 -1
- package/docs/getting-started.md +1 -1
- package/docs/native-root-runtime-hardening.md +42 -32
- package/docs/post-0793-hardening-roadmap.md +123 -0
- package/docs/provider-maturity.md +18 -16
- package/docs/versioning.md +3 -3
- package/docs/what-is-omk.md +1 -1
- package/package.json +8 -4
- package/readmeasset/.npmignore +2 -0
- package/readmeasset/ASSET_INDEX.md +2 -0
- package/readmeasset/ASSET_PROVENANCE.md +40 -20
- package/readmeasset/omk-adaptorch-ouroboros-supermemory.svg +1 -1
- package/readmeasset/omk-control-surfaces.svg +1 -1
- package/readmeasset/omk-core-loop.svg +1 -1
- package/readmeasset/omk-freedomd-control-plane.svg +59 -0
- package/readmeasset/omk-freedomd-control-plane.webp +0 -0
- package/readmeasset/omk-init-control-loop.svg +1 -1
- package/readmeasset/omk-logo-mark.svg +1 -1
- package/readmeasset/omk-parallel-subagents.svg +1 -1
- package/readmeasset/omk-release-assertions.svg +1 -1
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# OMK Post-0.79.3 Algorithm Hardening Roadmap
|
|
2
|
+
|
|
3
|
+
> Package version: `open-multi-agent-kit@0.79.3`
|
|
4
|
+
> Runtime contract family: `v1.2`
|
|
5
|
+
> Release channel: `pre-1.0`
|
|
6
|
+
> Last updated: 2026-06-16
|
|
7
|
+
|
|
8
|
+
## 1. Current state
|
|
9
|
+
|
|
10
|
+
OMK v0.79.3 already moved past the "single Kimi wrapper" stage. The following native-orchestrator hardening is already in place:
|
|
11
|
+
|
|
12
|
+
- `RuntimeHealthVector` and health-aware routing in `RuntimeRouter`.
|
|
13
|
+
- Authority policy resolver (`authority`/`primary`/`omk` → concrete provider).
|
|
14
|
+
- Evidence-required blocking in `RuntimeBackedTaskRunner` and `CompiledDagExecutor`.
|
|
15
|
+
- Advisory-only runtime boundary for API providers (DeepSeek, Kimi API, local-llm, MiMo).
|
|
16
|
+
- Native turn risk classifier with confidence/matched-signal trace.
|
|
17
|
+
- Per-turn route/result artifacts under `.omk/runs/<runId>/turns/`.
|
|
18
|
+
- Headroom compaction guard that preserves required structural context.
|
|
19
|
+
- Theme/version sync gate.
|
|
20
|
+
|
|
21
|
+
This document describes the next stages of algorithm hardening and how to execute them safely.
|
|
22
|
+
|
|
23
|
+
## 2. Hardening philosophy
|
|
24
|
+
|
|
25
|
+
1. **Contract-first**: change types and contracts before implementations.
|
|
26
|
+
2. **Evidence-driven**: every gate must be replayable; declarations are not evidence.
|
|
27
|
+
3. **Runtime-mode authority**: authority belongs to `(provider, runtimeMode)`, not provider identity alone.
|
|
28
|
+
4. **Fail-closed by default**: missing authority, missing evidence, or unknown health must block, not fall back silently.
|
|
29
|
+
5. **Backward compatible**: existing Kimi chat smoke tests and public CLI behavior must keep passing.
|
|
30
|
+
6. **Gradual rollout**: use feature flags, staged tool authority modes (`shadow` → `warn` → `enforce`), and isolated test files.
|
|
31
|
+
|
|
32
|
+
## 3. Phase roadmap
|
|
33
|
+
|
|
34
|
+
### Phase 1 — Foundation (contract stabilization)
|
|
35
|
+
|
|
36
|
+
**Goal**: make authority, safety, and health first-class contracts so later phases do not fight the type system.
|
|
37
|
+
|
|
38
|
+
| Task | Deliverable | Acceptance |
|
|
39
|
+
|------|-------------|------------|
|
|
40
|
+
| P1.1 Runtime-mode authority matrix | `src/runtime/authority-matrix.ts` + matrix doc update | Single source of truth; provider-maturity.md aligned |
|
|
41
|
+
| P1.2 `AgentTask.safety` elevation | `AgentTask.safety` required field + `capsuleToTask` injection | TypeScript compile fails if adapter ignores safety |
|
|
42
|
+
| P1.3 Tri-state health vector v2 | `HealthState` + probe cache + adaptive TTL | Unknown penalized less than fail; all adapters return v2 or unknown |
|
|
43
|
+
|
|
44
|
+
**Verification**: `npm run check`, `npm run version:check`, existing tests still pass.
|
|
45
|
+
|
|
46
|
+
### Phase 2 — Evidence semantics v2
|
|
47
|
+
|
|
48
|
+
**Goal**: separate declared evidence requirements from actual observations.
|
|
49
|
+
|
|
50
|
+
| Task | Deliverable | Acceptance |
|
|
51
|
+
|------|-------------|------------|
|
|
52
|
+
| P2.1 Evidence model split | `EvidenceRequirement` vs `EvidenceObservation` types | No function treats declaration as proof |
|
|
53
|
+
| P2.2 Observation extraction | Extractors for metadata/stdout/artifact/file | Each observation has timestamp, source, replay flag, redaction flag |
|
|
54
|
+
| P2.3 Runtime evidence gate v2 | `RuntimeBackedTaskRunner` uses observations | Pre-check is declaration-only; post-check is observation-based |
|
|
55
|
+
| P2.4 DAG executor alignment | `CompiledDagExecutor` uses same observation model | `checkNodeEvidence` returns observations, not gate marks |
|
|
56
|
+
|
|
57
|
+
**Verification**: New negative tests: missing observation → exit 78; declared gate without observation → not satisfied.
|
|
58
|
+
|
|
59
|
+
### Phase 3 — Observability and audit
|
|
60
|
+
|
|
61
|
+
**Goal**: make every turn replayable and auditable through graph memory and private artifacts.
|
|
62
|
+
|
|
63
|
+
| Task | Deliverable | Acceptance |
|
|
64
|
+
|------|-------------|------------|
|
|
65
|
+
| P3.1 Prompt payload separation | `DagNode.name` is a redacted label; full prompt stored privately | Public summary contains no compiled prompt |
|
|
66
|
+
| P3.2 Turn audit graph materialization | Turn/ProviderRoute/Evidence nodes in local graph | Query `run → provider → evidence` works |
|
|
67
|
+
| P3.3 Replay index with artifact hashes | `.omk/runs/<runId>/replay-index.json` | All artifact refs are hash-matched |
|
|
68
|
+
|
|
69
|
+
**Verification**: `omk graph view` shows audit nodes; replay index validates against filesystem.
|
|
70
|
+
|
|
71
|
+
### Phase 4 — Release gate hardening
|
|
72
|
+
|
|
73
|
+
**Goal**: make authority and evidence failures part of the release pipeline.
|
|
74
|
+
|
|
75
|
+
| Task | Deliverable | Acceptance |
|
|
76
|
+
|------|-------------|------------|
|
|
77
|
+
| P4.1 Tool-authority enforce smoke matrix | `scripts/authority-smoke.mjs` | enforce/warn/shadow cases pass |
|
|
78
|
+
| P4.2 Health-degraded routing tests | Tests for unknown/fail health states | Routing scores reflect tri-state correctly |
|
|
79
|
+
| P4.3 Evidence-v2 negative tests | Missing observation tests | Failures produce exit 78 + diagnostic |
|
|
80
|
+
| P4.4 CI integration | GitHub Actions runs authority smoke | CI fails on authority regression |
|
|
81
|
+
|
|
82
|
+
**Verification**: `npm run release:check` includes new smoke matrix.
|
|
83
|
+
|
|
84
|
+
## 4. Dependency graph
|
|
85
|
+
|
|
86
|
+
```text
|
|
87
|
+
P1.1 authority matrix
|
|
88
|
+
├── P1.2 safety contract
|
|
89
|
+
│ ├── P2.1 evidence model split
|
|
90
|
+
│ │ ├── P2.3 runtime evidence gate v2
|
|
91
|
+
│ │ ├── P2.4 DAG executor alignment
|
|
92
|
+
│ │ ├── P3.1 prompt payload separation
|
|
93
|
+
│ │ └── P3.2 audit graph materialization
|
|
94
|
+
│ └── P4.1 tool-authority enforce smoke
|
|
95
|
+
└── P1.3 health vector v2
|
|
96
|
+
└── P4.2 health-degraded routing tests
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
## 5. Rollback strategy
|
|
100
|
+
|
|
101
|
+
- Each phase lives in a separate feature branch or at minimum a separate commit.
|
|
102
|
+
- Phase 1 changes are foundational; if they break main, revert immediately and re-plan.
|
|
103
|
+
- Phases 2–4 can be toggled via environment flags if implementations are feature-flagged:
|
|
104
|
+
- `OMK_EVIDENCE_MODEL=v2`
|
|
105
|
+
- `OMK_HEALTH_VECTOR=v2`
|
|
106
|
+
- `OMK_PROMPT_PAYLOAD=private`
|
|
107
|
+
- Keep existing tests green; add new tests for new behavior; never delete old tests until a full release passes.
|
|
108
|
+
|
|
109
|
+
## 6. Success criteria
|
|
110
|
+
|
|
111
|
+
1. `npm run check` passes after every phase.
|
|
112
|
+
2. `npm run release:check` passes after Phase 4.
|
|
113
|
+
3. All new negative tests pass.
|
|
114
|
+
4. Provider-maturity.md and hardening.md reflect runtime-mode authority.
|
|
115
|
+
5. No compiled prompt appears in public graph nodes or run summaries.
|
|
116
|
+
6. Every high-risk turn leaves replayable evidence artifacts.
|
|
117
|
+
|
|
118
|
+
## 7. Related documents
|
|
119
|
+
|
|
120
|
+
- `docs/native-root-runtime-hardening.md`
|
|
121
|
+
- `docs/provider-maturity.md`
|
|
122
|
+
- `docs/algorithm-hardening-playbook.md`
|
|
123
|
+
- `.omk/runs/post-0793-hardening-2026-06-16/orchestration-spec.md`
|
|
@@ -4,25 +4,27 @@ This page documents provider status for the current source tree.
|
|
|
4
4
|
|
|
5
5
|
## Current source target
|
|
6
6
|
|
|
7
|
-
- Package version: `0.
|
|
7
|
+
- Package version: `0.80.0`
|
|
8
8
|
- Runtime contract family: `v1.2`
|
|
9
9
|
- Release channel: `pre-1.0`
|
|
10
10
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
|
16
|
-
| --- | --- | --- | --- |
|
|
17
|
-
|
|
|
18
|
-
|
|
|
19
|
-
|
|
|
20
|
-
|
|
|
21
|
-
|
|
|
22
|
-
|
|
|
23
|
-
|
|
|
24
|
-
|
|
|
25
|
-
|
|
|
11
|
+
## Runtime-mode authority matrix
|
|
12
|
+
|
|
13
|
+
Authority belongs to `(provider, runtimeMode)`, not provider identity alone. The source of truth is `src/runtime/authority-matrix.ts`.
|
|
14
|
+
|
|
15
|
+
| Runtime mode | Authority class | Allowed authority | Current maturity |
|
|
16
|
+
| --- | --- | --- | --- |
|
|
17
|
+
| `kimi:api` | advisory API | read, review, vision, advisory tool-calling | Mature read/review path. No direct workspace write/shell/merge authority. |
|
|
18
|
+
| `kimi:wire` / `kimi:cli` | OMK-controlled compatibility path | read, review, write, patch, vision, tool-calling | Compatibility authority for edits only when routed through OMK controls. Shell/merge stay separately gated. |
|
|
19
|
+
| `mimo:api` | advisory API | read, review, thinking | Default model provider for advisory/thinking lanes. No direct workspace write authority. |
|
|
20
|
+
| `deepseek:api` | advisory API | read, review | Opportunistic read/review/QA/research. Write, MCP, shell, merge blocked. |
|
|
21
|
+
| `glm:api` | advisory API | read, review | Advisory/thinking path; broader release-gate coverage pending. |
|
|
22
|
+
| `codex:cli` | bounded CLI | read, review, write, patch, shell | Workspace authority only under OMK approval/sandbox policy. Merge withheld. |
|
|
23
|
+
| `opencode:cli` | bounded CLI | read, review, write, patch, shell | Compatibility path; availability depends on local CLI and auth. |
|
|
24
|
+
| `commandcode:cli` | bounded CLI | read, review, write, patch, shell | Compatibility path; availability depends on local CLI and auth. |
|
|
25
|
+
| `local-llm:api` | advisory API | read, review | Local preview path. API runtime rejects direct shell/tool-calling authority. |
|
|
26
|
+
|
|
27
|
+
`omk provider list --json` also merges user-local provider configuration, so local output may include custom providers or changed enabled/configured flags.
|
|
26
28
|
|
|
27
29
|
## Routing rules to preserve
|
|
28
30
|
|
package/docs/versioning.md
CHANGED
|
@@ -4,11 +4,11 @@ OMK uses two version fields in release artifacts:
|
|
|
4
4
|
|
|
5
5
|
| Field | Current value | Source | Meaning |
|
|
6
6
|
| --- | --- | --- | --- |
|
|
7
|
-
| Package version | `0.
|
|
7
|
+
| Package version | `0.80.0` | `package.json`, `package-lock.json` | npm/package source version. |
|
|
8
8
|
| Runtime version | `v1.2` | `src/version.ts`, JSON schemas | Contract/runtime family used by OMK envelopes. |
|
|
9
9
|
| Release channel | `pre-1.0` | `src/version.ts` | Pre-1.0 package channel. |
|
|
10
10
|
|
|
11
|
-
`0.
|
|
11
|
+
`0.80.0` is the package source version for the `v1.2` runtime contract family.
|
|
12
12
|
Use `v1.2` only for runtime contracts; do not substitute it for the package version.
|
|
13
13
|
|
|
14
14
|
## Contract versions
|
|
@@ -50,6 +50,6 @@ The `version --json` command emits one `omk.contract.v1` envelope whose data pay
|
|
|
50
50
|
|
|
51
51
|
## Documentation rules
|
|
52
52
|
|
|
53
|
-
- Use `0.
|
|
53
|
+
- Use `0.80.0` when referring to the current package source version.
|
|
54
54
|
- Use `v1.2` only for the runtime contract family.
|
|
55
55
|
- Keep historical changelog entries unchanged unless the text is not clearly historical.
|
package/docs/what-is-omk.md
CHANGED
|
@@ -53,7 +53,7 @@ omk do "review this repo for release risk" --dry-run --json
|
|
|
53
53
|
|
|
54
54
|
## Maturity
|
|
55
55
|
|
|
56
|
-
Current source version: `open-multi-agent-kit@0.
|
|
56
|
+
Current source version: `open-multi-agent-kit@0.80.0` (`pre-1.0`). The `v1.2` label is a runtime contract family, not a stable npm `1.x` release. OS-level sandboxing is planned, not claimed. See [versioning](versioning.md), [claims](claims.md), and [SECURITY.md](../SECURITY.md).
|
|
57
57
|
|
|
58
58
|
## Related
|
|
59
59
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-multi-agent-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.80.0",
|
|
4
4
|
"description": "Provider-neutral multi-agent control plane for coding workflows: route agents, verify evidence, orchestrate MCP-aware DAGs, and control the loop from the omk CLI.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -24,11 +24,15 @@
|
|
|
24
24
|
"audit:package": "node scripts/package-audit.mjs",
|
|
25
25
|
"smoke": "node scripts/smoke-test.mjs",
|
|
26
26
|
"smoke:execution": "node scripts/smoke-execution.mjs",
|
|
27
|
+
"authority:smoke": "npm run build:clean && node scripts/authority-smoke.mjs",
|
|
28
|
+
"prompt:privacy:check": "node scripts/prompt-privacy-audit.mjs",
|
|
29
|
+
"release:gate-core": "npm run verify:no-kimi && npm run verify:no-persona && npm run contract:check && npm run schema:check && npm run version:check && npm run proof:check && npm run authority:smoke && npm run prompt:privacy:check && npm run smoke:execution && npm run pack:dry && npm run audit:package && npm run smoke:pack && OMK_RELEASE_DEMO=1 node scripts/release-gate.mjs",
|
|
27
30
|
"smoke:pack": "node scripts/pack-smoke.mjs",
|
|
28
31
|
"prepare": "npm run build",
|
|
29
32
|
"yaml:check": "node scripts/validate-yaml.mjs",
|
|
30
33
|
"schema:check": "node scripts/validate-json-contracts.mjs",
|
|
31
34
|
"theme:check": "node scripts/theme-check.mjs --out proof/theme-check",
|
|
35
|
+
"theme:sync": "node scripts/sync-themes.mjs",
|
|
32
36
|
"assets:build": "node scripts/assets-build.mjs",
|
|
33
37
|
"assets:check": "node scripts/assets-check.mjs",
|
|
34
38
|
"color:gate": "node scripts/color-literal-gate.mjs",
|
|
@@ -40,10 +44,10 @@
|
|
|
40
44
|
"contract:check": "npm run build:clean && npm run schema:check && node scripts/check-json-stdout.mjs",
|
|
41
45
|
"verify:contracts": "npm run contract:check",
|
|
42
46
|
"verify:no-persona": "node scripts/verify-no-persona.mjs",
|
|
43
|
-
"release:check": "npm run
|
|
44
|
-
"release:full": "npm run verify && npm run
|
|
47
|
+
"release:check": "npm run release:gate-core",
|
|
48
|
+
"release:full": "npm run verify && npm run release:gate-core",
|
|
45
49
|
"regression:matrix": "node scripts/regression-proof-matrix.mjs",
|
|
46
|
-
"release:rc": "npm run verify && npm run
|
|
50
|
+
"release:rc": "npm run verify && npm run release:gate-core",
|
|
47
51
|
"smoke:no-kimi:chat": "OMK_MCP_PREFLIGHT=off OMK_PROJECT_ROOT=\"$PWD\" node dist/cli.js chat --provider auto --mode agent --execution ask --layout plain --mcp-scope none --smoke --json",
|
|
48
52
|
"smoke:no-kimi:codex": "OMK_MCP_PREFLIGHT=off OMK_PROJECT_ROOT=\"$PWD\" node dist/cli.js chat --provider codex --mode agent --execution ask --layout plain --mcp-scope none --smoke --json",
|
|
49
53
|
"smoke:no-kimi:doctor": "OMK_PROJECT_ROOT=\"$PWD\" node dist/cli.js doctor --json",
|
package/readmeasset/.npmignore
CHANGED
|
@@ -4,6 +4,8 @@ Curated OMK//CONTROL assets in this directory. Assets are provenance-covered and
|
|
|
4
4
|
|
|
5
5
|
| File | Packaged | Purpose | Source | Dimensions | Format | Bytes |
|
|
6
6
|
| ------------------------------- | --------- | ---------------------------------------------- | ------------------------------------------ | ----------- | ------ | -----: |
|
|
7
|
+
| `omk-freedomd-control-plane.webp` | yes | v0.80.0 Freedomd README hero | Codex OAuth gpt-image-2 with `omk-control.webp` style reference | `1983x793` | `WEBP` | 1877984 |
|
|
8
|
+
| `omk-freedomd-control-plane.svg` | yes | v0.80.0 Freedomd README fallback | deterministic local SVG fallback retained for provenance | `1600x640` | `SVG` | 4415 |
|
|
7
9
|
| `omk-control.webp` | yes | Canonical README hero | Codex/OpenAI Images reviewed source | `1536x1024` | `WEBP` | 164502 |
|
|
8
10
|
| `omk-social-preview.png` | yes | GitHub/NPM social preview | local crop from omk-control.webp | `1200x630` | `PNG` | 737974 |
|
|
9
11
|
| `social-preview.png` | repo-only | GitHub social preview upload candidate | local Pillow render from omk-control.webp | `1280x640` | `PNG` | 441349 |
|
|
@@ -87,16 +87,36 @@
|
|
|
87
87
|
| `omk-evidence-loop-0.78.0.webp` | omk-runtime-flow-0.78.0.webp | Evidence bundle and verify gate crop | `900x774` | `WEBP` | 60808 | `2c4bf27d738710461b9979144759e06a99729ffcc97f53d1bd985b503b0f99da` |
|
|
88
88
|
| `omk-runtime-flow-wide.webp` | omk-runtime-flow-0.78.0.webp | Runtime flow wide strip | `1485x178` | `WEBP` | 45258 | `9edac732cd8de0533e345337392f3dca464a9d8a2f08d8b7a464b685a8da45ce` |
|
|
89
89
|
| `omk-architecture-strip.webp` | omk-tui-0.78.0.webp | TUI command timeline and evidence ledger strip | `1536x273` | `WEBP` | 71128 | `c76b825863260ecff832e31d986b91d341903f929faa62727511a594cb714cfe` |
|
|
90
|
-
| `omk-core-loop.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | OMK Core Loop | `1200x420` | `SVG` | 2731 | `
|
|
91
|
-
| `omk-control-surfaces.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | Operator control surfaces | `1200x420` | `SVG` | 3325 | `
|
|
92
|
-
| `omk-release-assertions.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | Release assertion card | `1200x420` | `SVG` | 3052 | `
|
|
93
|
-
| `omk-init-control-loop.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | Init to control loop | `1200x520` | `SVG` | 7339 | `
|
|
94
|
-
| `omk-parallel-subagents.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | Parallel subagent lanes | `1200x520` | `SVG` | 6559 | `
|
|
95
|
-
| `omk-adaptorch-ouroboros-supermemory.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | Adaptive memory stack | `1200x520` | `SVG` | 6404 | `
|
|
96
|
-
| `omk-provider-lanes.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | Provider Lanes | `1200x420` | `SVG` | 2753 | `
|
|
97
|
-
| `omk-evidence-ledger.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | Evidence Ledger | `1200x420` | `SVG` | 2411 | `
|
|
98
|
-
| `omk-badges.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | OMK Badges | `1200x420` | `SVG` | 2405 | `
|
|
99
|
-
| `omk-logo-mark.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | Vector OMK logo mark | `512x512` | `SVG` | 649 | `
|
|
90
|
+
| `omk-core-loop.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | OMK Core Loop | `1200x420` | `SVG` | 2731 | `0f5a2e4d8c72ff800af5d2f641b05eaac1caa123c4c5accb1b8916c7123a829b` |
|
|
91
|
+
| `omk-control-surfaces.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | Operator control surfaces | `1200x420` | `SVG` | 3325 | `41df685c3f6790241e6915284adf887f4d02f23766899d72b1d6b208d23552ff` |
|
|
92
|
+
| `omk-release-assertions.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | Release assertion card | `1200x420` | `SVG` | 3052 | `4bf7a34f529e77eab2d941f57a0ad0f895f5bce73d22f148fcc62ac6e9f06fba` |
|
|
93
|
+
| `omk-init-control-loop.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | Init to control loop | `1200x520` | `SVG` | 7339 | `61f34606cfbad86e31b745044ef8a6baea59054dea3f2c4370511d51e764a43b` |
|
|
94
|
+
| `omk-parallel-subagents.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | Parallel subagent lanes | `1200x520` | `SVG` | 6559 | `4cb5f4aaf4fc6d30adef8656f1566d5542c8146807159582266d210e2335b7a9` |
|
|
95
|
+
| `omk-adaptorch-ouroboros-supermemory.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | Adaptive memory stack | `1200x520` | `SVG` | 6404 | `ed503086144346010cc14a14dafc008982ef78c6bdb91d44dd4c9eeff663a394` |
|
|
96
|
+
| `omk-provider-lanes.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | Provider Lanes | `1200x420` | `SVG` | 2753 | `ca4f8c6f1a9e28e02f0943f70d831ae41ed3146ba7dbae0d9ea7396ef3bc3ba0` |
|
|
97
|
+
| `omk-evidence-ledger.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | Evidence Ledger | `1200x420` | `SVG` | 2411 | `98a25db596fa7c19bb50b617076b524233e60edeb2a37eac39109266b62df09c` |
|
|
98
|
+
| `omk-badges.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | OMK Badges | `1200x420` | `SVG` | 2405 | `e0d28e4749142f66f153725058c100d5360c13b1c37f2fe569c8b70b54e8cf56` |
|
|
99
|
+
| `omk-logo-mark.svg` | themes/night-city.theme.json via scripts/assets-build.mjs | Vector OMK logo mark | `512x512` | `SVG` | 649 | `2e9b5b6f79b1f4fcd093fa794080f4c029ef9f8a0035fa5533dc56ed8bb4387a` |
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
## omk-freedomd-control-plane.webp
|
|
103
|
+
|
|
104
|
+
- Packaged path: `readmeasset/omk-freedomd-control-plane.webp`.
|
|
105
|
+
- README usage: GitHub hero for OMK v0.80.0 Freedomd provider-sovereignty control plane.
|
|
106
|
+
- Generator: Codex OAuth image workflow using `gpt-image-2` (`.agents/skills/codex-gpt-image/scripts/codex_gpt_image.py generate`) with `readmeasset/omk-control.webp` as the style reference.
|
|
107
|
+
- Prompt artifact: `.omk/runs/freedomd-release-2026-06-16/codex-oauth-gpt-image-2-prompt.txt`.
|
|
108
|
+
- Prompt SHA-256: `88fcb293216d544ef2794bfd7d64c0e8d13df2dfc0f715bd8933596709fb3f20`.
|
|
109
|
+
- Auth handling: local Codex OAuth availability was checked with `auth-status`; no OAuth token or session secret is stored in this repository or provenance file.
|
|
110
|
+
- Dimensions: `1983x793`; format: `WEBP`; bytes: 1877984; sha256: `ba07098f255b0b8f097485a97f02bba0f52ed44801fb1c4fc707a04a9242bbca`.
|
|
111
|
+
- Review date: 2026-06-16.
|
|
112
|
+
|
|
113
|
+
## omk-freedomd-control-plane.svg
|
|
114
|
+
|
|
115
|
+
- Packaged path: `readmeasset/omk-freedomd-control-plane.svg`.
|
|
116
|
+
- README usage: deterministic fallback for OMK v0.80.0 Freedomd provider-sovereignty control plane.
|
|
117
|
+
- Source: deterministic local SVG fallback generated from `DESIGN.md` tokens and current Freedomd runtime features.
|
|
118
|
+
- Original OpenAI Platform prompt artifact: `.omk/runs/freedomd-release-2026-06-16/gpt-image-2-prompt.md`.
|
|
119
|
+
- Dimensions: `1600x640`; format: `SVG`; bytes: 4415; sha256: `00afea70a2cb826bb804d2cad9a2e452a033e6b90672a9d19f15a421a305ee26`.
|
|
100
120
|
|
|
101
121
|
## Theme-derived SVG assets (2026-06-10)
|
|
102
122
|
|
|
@@ -104,13 +124,13 @@
|
|
|
104
124
|
- Generator: `scripts/assets-build.mjs` resolves every `fill`/`stroke`/`stop-color` value from theme primitives and embeds a provenance comment; geometry, layout, and text are preserved.
|
|
105
125
|
- Regeneration command: `npm run assets:build` (re-run after any theme token change; the `@<hash>` suffix is the first 12 hex of the theme file's SHA-256).
|
|
106
126
|
- Light variant: not built — dark-only by ADR, see `docs/decisions/ADR-theme-dark-only-assets.md`. Non-dark themes are refused unless every used pair passes the 4.5/3.0 WCAG gates inline.
|
|
107
|
-
- derived-from: omk.theme.v1/night-city@
|
|
108
|
-
- derived-from: omk.theme.v1/night-city@
|
|
109
|
-
- derived-from: omk.theme.v1/night-city@
|
|
110
|
-
- derived-from: omk.theme.v1/night-city@
|
|
111
|
-
- derived-from: omk.theme.v1/night-city@
|
|
112
|
-
- derived-from: omk.theme.v1/night-city@
|
|
113
|
-
- derived-from: omk.theme.v1/night-city@
|
|
114
|
-
- derived-from: omk.theme.v1/night-city@
|
|
115
|
-
- derived-from: omk.theme.v1/night-city@
|
|
116
|
-
- derived-from: omk.theme.v1/night-city@
|
|
127
|
+
- derived-from: omk.theme.v1/night-city@a2cd88dd38e2 — `omk-badges.svg`
|
|
128
|
+
- derived-from: omk.theme.v1/night-city@a2cd88dd38e2 — `omk-control-surfaces.svg`
|
|
129
|
+
- derived-from: omk.theme.v1/night-city@a2cd88dd38e2 — `omk-core-loop.svg`
|
|
130
|
+
- derived-from: omk.theme.v1/night-city@a2cd88dd38e2 — `omk-evidence-ledger.svg`
|
|
131
|
+
- derived-from: omk.theme.v1/night-city@a2cd88dd38e2 — `omk-logo-mark.svg`
|
|
132
|
+
- derived-from: omk.theme.v1/night-city@a2cd88dd38e2 — `omk-parallel-subagents.svg`
|
|
133
|
+
- derived-from: omk.theme.v1/night-city@a2cd88dd38e2 — `omk-provider-lanes.svg`
|
|
134
|
+
- derived-from: omk.theme.v1/night-city@a2cd88dd38e2 — `omk-release-assertions.svg`
|
|
135
|
+
- derived-from: omk.theme.v1/night-city@a2cd88dd38e2 — `omk-adaptorch-ouroboros-supermemory.svg`
|
|
136
|
+
- derived-from: omk.theme.v1/night-city@a2cd88dd38e2 — `omk-init-control-loop.svg`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- derived-from: omk.theme.v1/night-city@
|
|
1
|
+
<!-- derived-from: omk.theme.v1/night-city@a2cd88dd38e2 -->
|
|
2
2
|
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="520" viewBox="0 0 1200 520" role="img" aria-labelledby="title desc">
|
|
3
3
|
<title id="title">OMK adaptive memory stack</title>
|
|
4
4
|
<desc id="desc">Adaptorch routes topology, Ouroboros clarifies and evolves goals, and Supermemory recalls stable facts for the OMK control loop.</desc>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- derived-from: omk.theme.v1/night-city@
|
|
1
|
+
<!-- derived-from: omk.theme.v1/night-city@a2cd88dd38e2 -->
|
|
2
2
|
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="420" viewBox="0 0 1200 420" role="img" aria-labelledby="title desc">
|
|
3
3
|
<title id="title">OMK operator surfaces</title>
|
|
4
4
|
<desc id="desc">OMK operator surfaces: CLI, provider router, MCP scope, evidence gate, replay ledger, and package audit.</desc>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- derived-from: omk.theme.v1/night-city@
|
|
1
|
+
<!-- derived-from: omk.theme.v1/night-city@a2cd88dd38e2 -->
|
|
2
2
|
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="420" viewBox="0 0 1200 420">
|
|
3
3
|
<rect width="1200" height="420" fill="#070B14"/>
|
|
4
4
|
<defs><filter id="glow"><feGaussianBlur stdDeviation="3" result="b"/><feMerge><feMergeNode in="b"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs>
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1600" height="640" viewBox="0 0 1600 640" role="img" aria-labelledby="title desc">
|
|
2
|
+
<title id="title">OMK Freedomd runtime control plane</title>
|
|
3
|
+
<desc id="desc">Local-first multi-provider agent control plane with sovereignty routing, evidence envelopes, degraded fallback, and strict guardrail opt-in.</desc>
|
|
4
|
+
<metadata>omk.asset.v1 name=omk-freedomd-control-plane packaged=yes source=local-svg-render prompt-ready=gpt-image-2.0 text=ascii version=0.80.0</metadata>
|
|
5
|
+
<defs>
|
|
6
|
+
<linearGradient id="bg" x1="0" x2="1" y1="0" y2="1">
|
|
7
|
+
<stop stop-color="#FFF8EF" offset="0"/>
|
|
8
|
+
<stop stop-color="#F8EAD7" offset="0.55"/>
|
|
9
|
+
<stop stop-color="#101826" offset="1"/>
|
|
10
|
+
</linearGradient>
|
|
11
|
+
<linearGradient id="gold" x1="0" x2="1">
|
|
12
|
+
<stop stop-color="#FFD96B" offset="0"/>
|
|
13
|
+
<stop stop-color="#FFC83D" offset="0.55"/>
|
|
14
|
+
<stop stop-color="#F47719" offset="1"/>
|
|
15
|
+
</linearGradient>
|
|
16
|
+
<filter id="shadow" x="-20%" y="-20%" width="140%" height="140%">
|
|
17
|
+
<feDropShadow dx="0" dy="18" stdDeviation="18" flood-color="#3A1F10" flood-opacity="0.18"/>
|
|
18
|
+
</filter>
|
|
19
|
+
<style>
|
|
20
|
+
.title{font:900 82px system-ui,-apple-system,Segoe UI,sans-serif;fill:#2A170D;letter-spacing:-2px}.sub{font:800 30px system-ui,-apple-system,Segoe UI,sans-serif;fill:#5A3219}.mono{font:700 24px ui-monospace,SFMono-Regular,Menlo,monospace;fill:#FFF8EF}.label{font:900 24px system-ui,-apple-system,Segoe UI,sans-serif;fill:#3A1F10}.tiny{font:800 19px system-ui,-apple-system,Segoe UI,sans-serif;fill:#7D6148}.dark{fill:#101826}.cream{fill:#FFFDF8}.stroke{stroke:#D8B58F;stroke-width:3}.edge{stroke:#815029;stroke-width:5;stroke-linecap:round;opacity:.7}.ok{fill:#2F9B4A}.warn{fill:#B35C00}.danger{fill:#E5482D}.info{fill:#536D7A}
|
|
21
|
+
</style>
|
|
22
|
+
</defs>
|
|
23
|
+
<rect width="1600" height="640" rx="0" fill="url(#bg)"/>
|
|
24
|
+
<circle cx="1360" cy="86" r="170" fill="#FFD96B" opacity="0.20"/>
|
|
25
|
+
<circle cx="1510" cy="570" r="260" fill="#9D4EDD" opacity="0.16"/>
|
|
26
|
+
|
|
27
|
+
<g transform="translate(92 76)">
|
|
28
|
+
<rect x="0" y="0" width="610" height="490" rx="36" fill="#FFFDF8" filter="url(#shadow)"/>
|
|
29
|
+
<rect x="28" y="28" width="554" height="434" rx="28" fill="#FFF4E6" stroke="#EED9C4" stroke-width="3"/>
|
|
30
|
+
<text x="56" y="108" class="title">Freedomd</text>
|
|
31
|
+
<text x="58" y="158" class="sub">user-sovereign agent runtime</text>
|
|
32
|
+
<g transform="translate(58 212)">
|
|
33
|
+
<rect x="0" y="0" width="488" height="60" rx="18" fill="#101826"/>
|
|
34
|
+
<text x="24" y="39" class="mono">OMK_FREEDOMD_MODE=balanced</text>
|
|
35
|
+
</g>
|
|
36
|
+
<g transform="translate(58 300)">
|
|
37
|
+
<circle cx="24" cy="24" r="18" class="ok"/><text x="60" y="31" class="label">local-first evidence</text>
|
|
38
|
+
<circle cx="24" cy="76" r="18" class="warn"/><text x="60" y="83" class="label">jurisdiction + retention gates</text>
|
|
39
|
+
<circle cx="24" cy="128" r="18" class="info"/><text x="60" y="135" class="label">degraded fallback, never stuck</text>
|
|
40
|
+
</g>
|
|
41
|
+
</g>
|
|
42
|
+
|
|
43
|
+
<g transform="translate(800 80)">
|
|
44
|
+
<rect x="0" y="0" width="700" height="486" rx="40" fill="#101826" filter="url(#shadow)"/>
|
|
45
|
+
<text x="42" y="66" class="mono" fill="#FFD96B">runtime graph</text>
|
|
46
|
+
<g transform="translate(70 118)">
|
|
47
|
+
<rect x="0" y="0" width="210" height="86" rx="24" fill="#FFFDF8"/><text x="28" y="38" class="label">Goal</text><text x="28" y="66" class="tiny">DAG + lanes</text>
|
|
48
|
+
<rect x="340" y="0" width="230" height="86" rx="24" fill="#FFFDF8"/><text x="368" y="38" class="label">Provider Score</text><text x="368" y="66" class="tiny">health + sovereignty</text>
|
|
49
|
+
<path d="M220 43 L330 43" class="edge"/>
|
|
50
|
+
<rect x="0" y="170" width="230" height="86" rx="24" fill="#FFFDF8"/><text x="28" y="208" class="label">Retention Gate</text><text x="28" y="236" class="tiny">allow/redact/block</text>
|
|
51
|
+
<rect x="340" y="170" width="230" height="86" rx="24" fill="#FFFDF8"/><text x="368" y="208" class="label">Fallback Plan</text><text x="368" y="236" class="tiny">local/review/replay</text>
|
|
52
|
+
<path d="M455 90 L455 160" class="edge"/>
|
|
53
|
+
<path d="M240 213 L330 213" class="edge"/>
|
|
54
|
+
<path d="M120 92 L120 160" class="edge"/>
|
|
55
|
+
<rect x="118" y="332" width="334" height="78" rx="24" fill="url(#gold)"/><text x="156" y="380" class="label">Evidence Envelope + Replay</text>
|
|
56
|
+
<path d="M120 260 L210 324" class="edge"/><path d="M455 260 L360 324" class="edge"/>
|
|
57
|
+
</g>
|
|
58
|
+
</g>
|
|
59
|
+
</svg>
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- derived-from: omk.theme.v1/night-city@
|
|
1
|
+
<!-- derived-from: omk.theme.v1/night-city@a2cd88dd38e2 -->
|
|
2
2
|
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="520" viewBox="0 0 1200 520" role="img" aria-labelledby="title desc">
|
|
3
3
|
<title id="title">OMK init to control loop</title>
|
|
4
4
|
<desc id="desc">The OMK setup path creates scoped project files, runs doctor checks, then enters the evidence-gated control loop.</desc>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- derived-from: omk.theme.v1/night-city@
|
|
1
|
+
<!-- derived-from: omk.theme.v1/night-city@a2cd88dd38e2 -->
|
|
2
2
|
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512">
|
|
3
3
|
<rect width="512" height="512" rx="96" fill="#070B14"/>
|
|
4
4
|
<path d="M256 48 424 144v224L256 464 88 368V144Z" fill="#101826" stroke="#00D6FF" stroke-width="16"/>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- derived-from: omk.theme.v1/night-city@
|
|
1
|
+
<!-- derived-from: omk.theme.v1/night-city@a2cd88dd38e2 -->
|
|
2
2
|
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="520" viewBox="0 0 1200 520" role="img" aria-labelledby="title desc">
|
|
3
3
|
<title id="title">OMK parallel subagents</title>
|
|
4
4
|
<desc id="desc">OMK root control fans out scoped subagent lanes, collects evidence, then synthesizes and verifies the result.</desc>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!-- derived-from: omk.theme.v1/night-city@
|
|
1
|
+
<!-- derived-from: omk.theme.v1/night-city@a2cd88dd38e2 -->
|
|
2
2
|
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="420" viewBox="0 0 1200 420" role="img" aria-labelledby="title desc">
|
|
3
3
|
<title id="title">OMK release assertions</title>
|
|
4
4
|
<desc id="desc">Package, binary, gate, and package-safety assertions for open-multi-agent-kit releases.</desc>
|