github dtzp555-max/ocp v3.9.0
v3.9.0 — Alignment Constitution + Usage Endpoint Restoration

latest releases: v3.11.0, v3.10.0
11 hours ago

Highlights

This release establishes OCP's alignment constitution — a binding principle that OCP must mirror Claude Code's behavior exactly, with CI guardrails preventing drift.

Constitutional changes (governance)

  • ALIGNMENT.md — 5 binding Rules + Historical Lesson recording the 2026-04-11 drift incident
  • CLAUDE.md — session rules requiring `cli.js:NNNN` citations on every `server.mjs` change
  • PR template — mandatory Claude Code Alignment Evidence section
  • CI: `alignment.yml` — server.mjs blacklist (hard fail) + commit-message citation check (soft)

Bug fixes

  • `/usage` endpoint restored to mirror Claude Code's `vE4` function (header-based extraction from a minimal `/v1/messages` probe). Reverted hallucinated `api/oauth/usage` endpoint introduced in commit b87992f
  • OAuth Bearer + `anthropic-beta: oauth-2025-04-20` header now sent on the probe (was using stale `x-api-key`)
  • Stale-cache compensation for the hallucinated endpoint reverted

PRs

  • #20 Constitution
  • #21 Usage endpoint fix
  • #23 Stale-cache revert
  • #24 OAuth Bearer hotfix
  • #25 Backfill fix commit SHAs in ALIGNMENT.md

Don't miss a new ocp release

NewReleases is sending notifications on new releases.