diff --git a/AGENTS.md b/AGENTS.md index b1adb07..e225d22 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -17,15 +17,21 @@ what the code happens to do today.** The authoritative source is: ``` -https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md -raw: https://raw.githubusercontent.com/GoogleCloudPlatform/knowledge-catalog/main/okf/SPEC.md +https://github.com/GoogleCloudPlatform/open-knowledge-format/blob/main/SPEC.md +raw: https://raw.githubusercontent.com/GoogleCloudPlatform/open-knowledge-format/main/SPEC.md ``` -**This trap is live and it has already caught us.** The obvious-looking source—`openknowledge-sh/openknowledge`, `Wiki/SPEC.md`—is a *pinned mirror*, and it is -**stale at v0.1** while upstream is at **v0.2**. Its own frontmatter names the real -upstream in a `resource:` key. Anyone who greps for "the spec," finds that file, -and builds against it will conform to a superseded version and be confident about -it. Always fetch upstream and check the version line before citing a section +**This trap is live and it has already caught us.** Two stale sources look +authoritative and are not. The spec now lives in its own repo, +`GoogleCloudPlatform/open-knowledge-format`; the former home at +`GoogleCloudPlatform/knowledge-catalog/okf/SPEC.md` is a **frozen snapshot** that +no longer tracks upstream—anyone who cites it will pin to whatever it held at +freeze time. The older `openknowledge-sh/openknowledge`, `Wiki/SPEC.md` is a +*pinned mirror* **stale at v0.1** while upstream is at **v0.2**; its own +frontmatter names the real upstream in a `resource:` key. Anyone who greps for +"the spec," finds either stale copy, and builds against it will conform to a +superseded version and be confident about it. Always fetch upstream +(`open-knowledge-format`) and check the version line before citing a section number—§-numbering *shifted between v0.1 and v0.2* (v0.1 had 11 sections, v0.2 has 13; index files moved from §6 to §8, conformance from §9 to §11, versioning from §11 to §12). @@ -33,7 +39,7 @@ from §11 to §12). Confirm the version before you cite anything: ```sh -curl -sL https://raw.githubusercontent.com/GoogleCloudPlatform/knowledge-catalog/main/okf/SPEC.md \ +curl -sL https://raw.githubusercontent.com/GoogleCloudPlatform/open-knowledge-format/main/SPEC.md \ | head -5 # expect: **Version 0.2** ``` diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 143be66..a94f08a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -6,7 +6,7 @@ Thanks for your interest in contributing. ## The one rule that governs everything `okfctl` is a **consumer of a specification it doesn't own**. The -[Open Knowledge Format spec](https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md) +[Open Knowledge Format spec](https://github.com/GoogleCloudPlatform/open-knowledge-format/blob/main/SPEC.md) is the authority; this tool conforms to it. Where the spec defines behavior, the spec wins—over convenience, over a maintainer's preference, over what the code happens to do today. diff --git a/README.md b/README.md index 9f9e375..600666e 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ from the tree, provenance goes stale, and no one notices until the corpus is already a maze. `okfctl` is the tool that keeps it honest. It authors and maintains -[Open Knowledge Format](https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md) +[Open Knowledge Format](https://github.com/GoogleCloudPlatform/open-knowledge-format/blob/main/SPEC.md) (OKF) bundles—a curated tree of Markdown "nodes" with a link graph, reserved `index.md`/`log.md` files, and frontmatter provenance—and it checks the whole thing against the spec so drift surfaces as a finding instead of a surprise. @@ -82,7 +82,7 @@ building from source all live in the [install guide](docs/install.md). ## The spec is the authority OKF is a specification `okfctl` consumes; it doesn't author it. The -[Open Knowledge Format spec](https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md) +[Open Knowledge Format spec](https://github.com/GoogleCloudPlatform/open-knowledge-format/blob/main/SPEC.md) decides behavior, and where it does, it wins. `okfctl` enforces the spec *floor* for everyone and keeps anything stricter behind an explicit opt-in overlay (`--templates`, §9.4), so an unknown `type` or a future frontmatter key still @@ -168,7 +168,7 @@ version is the release tag, reported by `okfctl version`. - **Per-command help**—`okfctl --help` is authoritative and always matches the binary. - **The spec**—the authoritative - [OKF v0.2 specification](https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md). + [OKF v0.2 specification](https://github.com/GoogleCloudPlatform/open-knowledge-format/blob/main/SPEC.md). - **For contributors**—[`docs/PRD.md`](docs/PRD.md), the [ADRs](docs/adr/README.md), and the dated [plans](docs/plans/2026-07-22-roadmap.md)/[specs](docs/specs/) that record how diff --git a/docs/README.md b/docs/README.md index 0e1acb3..c615765 100644 --- a/docs/README.md +++ b/docs/README.md @@ -37,5 +37,5 @@ Start here: okfctl consumes the Open Knowledge Format; it doesn't author it. The authoritative source is the upstream -[OKF v0.2 specification](https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md). +[OKF v0.2 specification](https://github.com/GoogleCloudPlatform/open-knowledge-format/blob/main/SPEC.md). Confirm the version line (`**Version 0.2**`) before citing a section number—§-numbering shifted between v0.1 and v0.2. diff --git a/site/public/llms.txt b/site/public/llms.txt index 8bee407..263967d 100644 --- a/site/public/llms.txt +++ b/site/public/llms.txt @@ -18,7 +18,7 @@ reports on its health and link graph. ## Specification -- [Open Knowledge Format spec (SPEC.md)](https://github.com/GoogleCloudPlatform/knowledge-catalog/blob/main/okf/SPEC.md): The authoritative OKF specification, owned by Google (`GoogleCloudPlatform/knowledge-catalog`). Where the spec defines behavior, the spec wins. +- [Open Knowledge Format spec (SPEC.md)](https://github.com/GoogleCloudPlatform/open-knowledge-format/blob/main/SPEC.md): The authoritative OKF specification, owned by Google (`GoogleCloudPlatform/open-knowledge-format`). Where the spec defines behavior, the spec wins. ## Source diff --git a/site/src/pages/index.astro b/site/src/pages/index.astro index b1272ea..6a03f9d 100644 --- a/site/src/pages/index.astro +++ b/site/src/pages/index.astro @@ -296,7 +296,7 @@ const goInstallCmd = version.tag

OKF is a specification okfctl consumes and conforms to—it does not author it.{" "} The format is maintained by Google in{" "} - GoogleCloudPlatform/knowledge-catalog. + GoogleCloudPlatform/open-knowledge-format. Where the spec defines behaviour, the spec wins. okfctl enforces the floor for everyone and keeps anything stricter behind an explicit opt-in overlay (--templates, §9.4), so an unknown type or a future frontmatter key never fails{" "} @@ -576,7 +576,7 @@ const goInstallCmd = version.tag

@@ -680,8 +680,8 @@ const goInstallCmd = version.tag

Spec