Skip to content

governance: make Cursor-Governance the canonical home for ORG_INVARIANTS#5

Merged
cryptoxdog merged 1 commit into
mainfrom
claude/org-invariants-canonical
Jul 20, 2026
Merged

governance: make Cursor-Governance the canonical home for ORG_INVARIANTS#5
cryptoxdog merged 1 commit into
mainfrom
claude/org-invariants-canonical

Conversation

@cryptoxdog

Copy link
Copy Markdown
Collaborator

Summary

Migrates the canonical home of the Quantum-L9 org invariant policy into the governance control plane (this repo). Previously ORG_INVARIANTS.yaml lived only in L9-Ops-MCP; now it's canonical here and mirrored downstream.

Changes

File Change
ORG_INVARIANTS.yaml (root) New canonical policycanonical: true, plus a provenance block listing downstream consumers. The org_invariants block is byte-identical to the L9-Ops-MCP mirror.
docs/governance/ORG_INVARIANTS.md SSOT topology diagram, change process, and how to add a consumer.
CANONICAL_LAW.md Registered ORG_INVARIANTS.yaml as a canonical asset in the SSOT table (one row).

Design (honest)

  • Policy vs enforcement stays separated. This repo is where the invariant is authored; enforcement remains deterministic and repo-local in each consumer (L9-Ops-MCP/scripts/validate_org_invariants.py). No network dependency added to any CI gate.
  • Sync model: consumers keep a byte-identical org_invariants block; change here → re-sync mirrors. Verified the current L9-Ops-MCP block matches this canonical one exactly.
  • Not moved/broken: the L9-Ops-MCP copy is retained and, in its PR (ci(review): add L9 Copilot code-review instructions + org rollout handoff #4), annotated as a synced mirror (canonical: false + canonical_source); its gate and library_health were re-run and stay green.

Topology

Cursor-Governance/ORG_INVARIANTS.yaml   (CANONICAL — edit here)
        │ synced (byte-identical org_invariants block)
        ▼
L9-Ops-MCP/ORG_INVARIANTS.yaml          (MIRROR — validated by its CI gate)

Note

Independent of the CodeQL (#3) and Copilot-review (#4) PRs. The companion mirror-annotation lands on L9-Ops-MCP's existing branch (PR #4), since the file only exists there pre-merge.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Rr6wpk9eehnJdRmh5BwWGG


Generated by Claude Code

Add the canonical ORG_INVARIANTS.yaml (canonical: true + provenance/consumers)
and docs/governance/ORG_INVARIANTS.md (SSOT topology + sync process).

Note: registration of ORG_INVARIANTS in CANONICAL_LAW.md is deferred to the
Suite 6 -> L9 rebrand PR that rewrites CANONICAL_LAW.md, to avoid a collision on
that file. This PR no longer touches CANONICAL_LAW.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rr6wpk9eehnJdRmh5BwWGG
@cryptoxdog
cryptoxdog force-pushed the claude/org-invariants-canonical branch from 882e2ac to eff8462 Compare July 5, 2026 04:14
@sonarqubecloud

sonarqubecloud Bot commented Jul 5, 2026

Copy link
Copy Markdown

cryptoxdog pushed a commit that referenced this pull request Jul 20, 2026
Carries the ORG_INVARIANTS registration that PR #5 originally placed in the old
CANONICAL_LAW.md table, re-expressed in this PR's rewritten table format. This
resolves the CANONICAL_LAW.md collision between the hygiene pack and PR #5 so the
two land without conflict (PR #5 no longer touches this file).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Rr6wpk9eehnJdRmh5BwWGG
@cryptoxdog
cryptoxdog merged commit 0e4af0d into main Jul 20, 2026
2 checks passed
@cryptoxdog
cryptoxdog deleted the claude/org-invariants-canonical branch July 20, 2026 02:27
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.

2 participants