Rename Open Context Protocol (OCP) → Context Graph Protocol - #1
Merged
Conversation
Rebrand the entire project from "Open Context Protocol" / "OCP" / "ocp" / "opencontextprotocol" to "Context Graph Protocol". Tagline: "The canonical architecture for building context graphs that agents use to reason over." - Crates: ocp-types/ocp-host/ocp-conformance -> contextgraph-types/-host/ -conformance (dirs, [package].name, path deps, Rust `use` paths, keywords). - Binaries: ocp-inspect -> contextgraph-inspect, ocp-example-docs -> contextgraph-example-docs (incl. CARGO_BIN_EXE_ references). - Wire protocol version: ocp/1.0-draft -> contextgraph/1.0-draft (PROTOCOL_VERSION and every ocp/ literal in tests, in lockstep; mcp/ left untouched). - Schema: schema/ocp-envelope.schema.json -> schema/contextgraph-envelope.schema.json; $id host opencontextprotocol.org -> context-graph-protocol.org. - Assets: ocp-logo.svg -> contextgraph-logo.svg (repo + site/public). - Repo/URL form opencontextprotocol -> context-graph-protocol (GitHub org path, docs.rs/crates.io links). Crate READMEs now link this repo's own docs, not the stella docs/ocp mirror. - Prose: "Open Context Protocol"/"OCP" -> "Context Graph Protocol" spelled out, no new acronym (consistent with the contextgraph identifier stem). Verified: cargo build + cargo test (46 tests) green; schema/validate-examples.py all pass; docs-site witness test OK; site tsc --noEmit clean.
There was a problem hiding this comment.
Sorry @macanderson, your pull request is larger than the review limit of 150000 diff characters
macanderson
marked this pull request as ready for review
July 20, 2026 19:13
This was referenced Jul 21, 2026
macanderson
added a commit
that referenced
this pull request
Aug 1, 2026
…og, and backfill the gaps (#73) CHANGELOG.md relied on every PR remembering to write its own [Unreleased] entry. An audit of the 22 merges since v0.1.0 whose numbers never appear in the file found 9 user-visible changes with no entry at all — including the OCP -> CGP rename itself, the repo's biggest breaking change. The Unreleased section had also accumulated duplicate category headings (two '### Added', two '### Changed', two '### Fixed') from PRs appending their own blocks. Go-forward: .github/workflows/changelog.yml watches pushes to main. When a merge lands without touching CHANGELOG.md, it drafts the missing entries from the merge's actual diff (.github/scripts/changelog-ai.sh, Vercel AI Gateway, degrade-open: no key or a failed call is a log line, never a red check) and proposes them as a bot/changelog PR — a draft for human review, never a direct push. The gap is measured from the last commit that touched CHANGELOG.md, so merging the bot PR resets it, and each run regenerates the whole current gap, so a superseded bot PR loses nothing. Backfill: entries for the rename (#1), frame identity/composition/usage reports (#32), golden wire fixtures (#35), ADR 0007 (#61, #27), composition conformance + the canary scheduled-run gate (#70) — written from each PR's diff, in the file's existing voice. Three further audit hits (#68, #69, #71) turned out to be already covered by newer entries and were left alone. Duplicate category headings merged: one heading per category, Keep-a-Changelog order.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Rebrands the entire project from Open Context Protocol / OCP / ocp / opencontextprotocol to Context Graph Protocol.
What changed
ocp-types/ocp-host/ocp-conformance→contextgraph-types/-host/-conformance(dirs viagit mv,[package].name, path deps, Rustusepaths, crates.io keywords).contextgraph-*names are all free on crates.io.ocp-inspect→contextgraph-inspect,ocp-example-docs→contextgraph-example-docs(incl.CARGO_BIN_EXE_*refs).ocp/1.0-draft→contextgraph/1.0-draft—PROTOCOL_VERSIONand everyocp/literal in tests changed in lockstep;mcp/left untouched (cross-protocol negative test preserved).schema/ocp-envelope.schema.json→schema/contextgraph-envelope.schema.json;$idhostopencontextprotocol.org→context-graph-protocol.org.ocp-logo.svg→contextgraph-logo.svg(repo +site/public).opencontextprotocol→context-graph-protocol(GitHub org path, docs.rs / crates.io links). The three crate READMEs now link this repo's owndocs/instead of thestelladocs/ocp/mirror.contextgraphidentifier stem and the project manifesto).<meta>description, README).Verification
cargo build --workspace+cargo test --workspace— 46 tests greenschema/validate-examples.py— all 12 example messages validatetests/docs_site_witness_test.py— OKsitetsc --noEmit— clean (exit 0)ocp(case-insensitive) — 0 across tracked text filesFollow-ups (not in this PR)
oxagen-platformhas its own independent copy ofocp-types/-host/-conformance(self-contained path deps; not broken by this rename). Renaming those is a separate decision.ocp-*@0.1.0crates are untouched here; publishingcontextgraph-*(and optionally yankingocp-*) is a post-merge step.context-graph-protocol.orgdomain used in the schema$id.