Skip to content

Rename Open Context Protocol (OCP) → Context Graph Protocol - #1

Merged
macanderson merged 1 commit into
mainfrom
rename-to-context-graph-protocol
Jul 20, 2026
Merged

Rename Open Context Protocol (OCP) → Context Graph Protocol#1
macanderson merged 1 commit into
mainfrom
rename-to-context-graph-protocol

Conversation

@macanderson

Copy link
Copy Markdown
Owner

Rebrands the entire project from Open Context Protocol / OCP / ocp / opencontextprotocol to Context Graph Protocol.

Context Graph Protocol — The canonical architecture for building context graphs that agents use to reason over.

What changed

  • Crates: ocp-types / ocp-host / ocp-conformancecontextgraph-types / -host / -conformance (dirs via git mv, [package].name, path deps, Rust use paths, crates.io keywords). contextgraph-* names are all free on crates.io.
  • Binaries: ocp-inspectcontextgraph-inspect, ocp-example-docscontextgraph-example-docs (incl. CARGO_BIN_EXE_* refs).
  • Wire protocol version: ocp/1.0-draftcontextgraph/1.0-draftPROTOCOL_VERSION and every ocp/ literal in tests changed in lockstep; mcp/ left untouched (cross-protocol negative test preserved).
  • Schema: schema/ocp-envelope.schema.jsonschema/contextgraph-envelope.schema.json; $id host opencontextprotocol.orgcontext-graph-protocol.org.
  • Assets: ocp-logo.svgcontextgraph-logo.svg (repo + site/public).
  • URLs: opencontextprotocolcontext-graph-protocol (GitHub org path, docs.rs / crates.io links). The three crate READMEs now link this repo's own docs/ instead of the stella docs/ocp/ mirror.
  • Prose: "Open Context Protocol" / "OCP" → "Context Graph Protocol", spelled out with no new acronym (consistent with the contextgraph identifier stem and the project manifesto).
  • Tagline applied to the marquee surfaces (site hero, <meta> description, README).
  • Removed nothing re: "two existing OCP projects" — no such acknowledgement existed in the repo.

Verification

  • cargo build --workspace + cargo test --workspace46 tests green
  • schema/validate-examples.py — all 12 example messages validate
  • tests/docs_site_witness_test.py — OK
  • site tsc --noEmit — clean (exit 0)
  • Residual scan for ocp (case-insensitive) — 0 across tracked text files

Follow-ups (not in this PR)

  • Body positioning still says "open wire protocol for retrieval" in the deep docs; only the marquee tagline was re-pivoted to "architecture for building context graphs." Deeper repositioning intentionally deferred.
  • oxagen-platform has its own independent copy of ocp-types/-host/-conformance (self-contained path deps; not broken by this rename). Renaming those is a separate decision.
  • crates.io: the already-published ocp-*@0.1.0 crates are untouched here; publishing contextgraph-* (and optionally yanking ocp-*) is a post-merge step.
  • Confirm ownership/intent of the context-graph-protocol.org domain used in the schema $id.

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.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @macanderson, your pull request is larger than the review limit of 150000 diff characters

@macanderson
macanderson marked this pull request as ready for review July 20, 2026 19:13
@macanderson
macanderson merged commit d6768a8 into main Jul 20, 2026
1 check passed
@macanderson
macanderson deleted the rename-to-context-graph-protocol branch July 20, 2026 19:14
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant