From 85ec8b196410a2823b2fa6dd8217b650cd083cb0 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 13 Oct 2026 12:49:05 -0600 Subject: [PATCH 1/2] docs: declare Corpus v2 purpose and building blocks --- AGENTS.md | 2 +- docs-kit.json => corpus.json | 20 +++++++++++++++++++- package.json | 4 ++-- 3 files changed, 22 insertions(+), 4 deletions(-) rename docs-kit.json => corpus.json (79%) diff --git a/AGENTS.md b/AGENTS.md index 86875b8..8833815 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -15,7 +15,7 @@ Dispatch is a provider-neutral policy and execution layer. - Run `npm run verify` before pushing. Scripts stay on `npm run …` — that only invokes `package.json` scripts and does not depend on which tool installed `node_modules`. -- Docs are published with docs-kit: `docs-kit.json` lists the published docs +- Docs are published with Corpus: `corpus.json` lists the published docs and the MCP topics, and `npm run docs:check` is the gate. When you change code that a document `covers`, update that document. diff --git a/docs-kit.json b/corpus.json similarity index 79% rename from docs-kit.json rename to corpus.json index 668eafd..9aea416 100644 --- a/docs-kit.json +++ b/corpus.json @@ -1,5 +1,23 @@ { - "schemaVersion": 1, + "schemaVersion": 2, + "purpose": "Execute model work under explicit policy with an auditable receipt for every routing decision and attempt.", + "builtOn": [ + { + "product": "bearing", + "via": "@kontourai/bearing", + "for": "Project ranked candidates into execution capability evidence." + }, + { + "product": "datum", + "via": "@kontourai/datum", + "for": "Bind resolved configuration references to credential-free execution candidates." + }, + { + "product": "relay", + "via": "@kontourai/relay", + "for": "Invoke runtimes and canonicalize invocation records for auditable receipts." + } + ], "product": "dispatch", "title": "Dispatch", "tagline": "Policy-aware model execution with portable routing, budgets, fallbacks, and receipts", diff --git a/package.json b/package.json index 8ed79cb..09e102a 100644 --- a/package.json +++ b/package.json @@ -47,8 +47,8 @@ "veritas:readiness": "veritas readiness --working-tree", "workflow:sidecar": "flow-agents-workflow-sidecar", "workflow:validate-artifacts": "flow-agents-validate-artifacts", - "docs:check": "npx -y github:kontourai/docs-kit#482fb2e691fe7686f79a9a4da8bc2247384b85c3 docs-kit check", - "docs:build": "npx -y github:kontourai/docs-kit#482fb2e691fe7686f79a9a4da8bc2247384b85c3 docs-kit build" + "docs:check": "npx -y github:kontourai/corpus#cc7f6e4939dcc0777c4c3e2d5222b30455013861 corpus check", + "docs:build": "npx -y github:kontourai/corpus#cc7f6e4939dcc0777c4c3e2d5222b30455013861 corpus build" }, "devDependencies": { "@ai-sdk/provider": "^3.0.14", From b83d3f83e3bd5589c65f1cbf3119e95629b0e1b5 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 13 Oct 2026 13:16:28 -0600 Subject: [PATCH 2/2] docs: preserve Corpus governance coverage and update pin --- .veritas/repo-map.json | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.veritas/repo-map.json b/.veritas/repo-map.json index dfbba9b..cc204d6 100644 --- a/.veritas/repo-map.json +++ b/.veritas/repo-map.json @@ -59,7 +59,7 @@ "label": "root manifests", "patterns": [ "package.json", - "docs-kit.json", + "corpus.json", "pnpm-lock.yaml", "pnpm-workspace.yaml", "README.md", diff --git a/package.json b/package.json index 09e102a..1fc1ae9 100644 --- a/package.json +++ b/package.json @@ -47,8 +47,8 @@ "veritas:readiness": "veritas readiness --working-tree", "workflow:sidecar": "flow-agents-workflow-sidecar", "workflow:validate-artifacts": "flow-agents-validate-artifacts", - "docs:check": "npx -y github:kontourai/corpus#cc7f6e4939dcc0777c4c3e2d5222b30455013861 corpus check", - "docs:build": "npx -y github:kontourai/corpus#cc7f6e4939dcc0777c4c3e2d5222b30455013861 corpus build" + "docs:check": "npx -y github:kontourai/corpus#340b66fc8f723c1babe35fce8240c82cd196b0db corpus check", + "docs:build": "npx -y github:kontourai/corpus#340b66fc8f723c1babe35fce8240c82cd196b0db corpus build" }, "devDependencies": { "@ai-sdk/provider": "^3.0.14",