{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreihiscoggirqwykx3wqdsvozebxj422n7qv3srpwcjv6uj4nftt5vq",
    "uri": "at://did:plc:f53svxxkx4s6ql3ccvavlvh5/app.bsky.feed.post/3mlxecvr3ft32"
  },
  "coverImage": {
    "$type": "blob",
    "ref": {
      "$link": "bafkreiexbdr2j66bapsjjr5a6iovvgo3t5rdyjl3n2yrdw5xjd5n7y4one"
    },
    "mimeType": "image/jpeg",
    "size": 103377
  },
  "description": "A constitutional governance plugin for Claude-for-Legal implementing the 5QLN framework: cryptographic Codex verification, S→G→Q→P→V constitutional analysis, membrane audits, corruption detection, attestation preparation, and AI-human governance separation.",
  "path": "/5qln-constitutional-legal-plugin-for-anthropics-claude-for-legal-ecosystem/",
  "publishedAt": "2026-05-16T07:49:22.000Z",
  "site": "https://www.5qln.com",
  "tags": [
    "On GitHub",
    "Anthropic Claude-for-Legal",
    "5QLN Foundation",
    "https://github.com/qlnlife/5qln-constitutional-legal",
    "GitHub - qlnlife/5qln-constitutional-legal: 5QLN Constitutional Legal Plugin for Anthropic Claude-for-Legal — constitutional governance analysis with Codex-verified cycle execution, membrane integrity audit, corruption detection, and dual-edition cross-reference.5QLN Constitutional Legal Plugin for Anthropic Claude-for-Legal — constitutional governance analysis with Codex-verified cycle execution, membrane integrity audit, corruption detection, and dual-ed…GitHubqlnlife",
    "GitHub - anthropics/claude-for-legal: A suite of plugins for legal workflowsA suite of plugins for legal workflows. Contribute to anthropics/claude-for-legal development by creating an account on GitHub.GitHubanthropics"
  ],
  "textContent": "On GitHub\n\n# 5QLN Constitutional Legal Plugin\n\n> **Platform:** Anthropic Claude-for-Legal\n> **Plugin ID:** `5qln-constitutional-legal@claude-for-legal`\n> **Version:** 0.1.0\n> **Author:** 5QLN Foundation\n> **License:** MIT\n\n* * *\n\n## What This Is\n\nA third-party external plugin that integrates the **5QLN Foundation constitutional governance framework** into Anthropic's Claude-for-Legal ecosystem. It packages the 9-line Codex, the five-phase constitutional cycle (S→G→Q→P→V), the Membrane Protocol, dual-edition bylaws, corruption codes, and attestation discipline into eight skills that Claude can invoke.\n\n## What It Does\n\nThis plugin enables AI-assisted constitutional governance analysis under the 5QLN grammar. It does not make decisions. It does not sign anything. It does not replace legal counsel. It:\n\n  * **Fetches and cryptographically verifies** the canonical Codex at invocation time\n  * **Runs constitutional analysis** through the full S→G→Q→P→V cycle\n  * **Audits membrane integrity** — checks that K-side (AI analysis) and ∞₀-side (human authorization) remain properly separated\n  * **Detects corruption** — L1 (Closing), L2 (Generating), L3 (Claiming), L4 (Performing), V∅ (Incomplete)\n  * **Cross-references editions** — compares Human and AI/OS Edition bylaws for semantic equivalence\n  * **Prepares attestation records** — Tier-B seal records ready for Conductor Ed25519 signature (plugin never signs)\n  * **Routes disputes** through graduated escalation: CIO → Resonance Court → Chancery\n\n\n\n## Why It Exists\n\nThe 5QLN Foundation publishes a constitutional grammar — a 217-byte Codex with a fixed SHA-256 hash — that governs how an AI and a human collaborate on governance questions. This plugin makes that grammar operational inside the most widely used AI-for-legal platform, with cryptographic integrity guarantees at every step.\n\n**Every analysis operation begins by fetching the Codex from GitHub and verifying its SHA-256 hash. If the hash doesn't match — the plugin halts.** There is no \"trust me\" path.\n\n## Architecture\n\n\n    5qln-constitutional-legal/\n    ├── .claude-plugin/\n    │   ├── plugin.json              ← 4-field manifest\n    │   └── marketplace.json         ← registration block\n    ├── CLAUDE.md                    ← practice profile template\n    ├── .mcp.json                    ← MCP connectors\n    ├── agents/\n    │   └── codex-integrity-watcher  ← daily hash check + drift alert\n    ├── references/\n    │   ├── codex-reference.md       ← canonical URL, SHA-256, symbol table\n    │   └── currency-watch.md        ← watcher log + drift history\n    └── skills/\n        ├── codex-verify/            ← THE GATE — every skill calls this first\n        ├── cold-start-interview/    ← writes CLAUDE.md practice profile\n        ├── constitutional-analysis/ ← full S→G→Q→P→V cycle\n        ├── membrane-audit/          ← K-side / ∞₀-side separation\n        ├── corruption-detect/       ← L1-L4 + V∅ scan\n        ├── edition-cross-ref/       ← Human vs AI/OS bylaw comparison\n        ├── cycle-attestation/       ← Tier-B seal prep (AI never signs)\n        └── dispute-route/           ← CIO → Resonance Court → Chancery\n\n\n### Integrity Chain\n\n\n    Canonical Codex (qlnlife/5qln-foundation, tag codex-v1)\n      │ SHA-256: feaa46b4147d4e023cdd3fd59c051d063e8ec654ee7b38a481dcd5e4c781859b\n      │ 217 bytes, 9 lines, UTF-8, LF only\n      │\n      ▼\n    codex-verify (fetches at invocation time, computes hash, constant-time compare)\n      │ PASS → proceed\n      │ DRIFT → HALT — no downstream skill runs\n      │\n      ▼\n    All 6 analysis skills (constitutional-analysis, membrane-audit, corruption-detect,\n      edition-cross-ref, cycle-attestation, dispute-route)\n\n\n**Design invariants:**\n\n  * No copy of the Codex ships inside the plugin\n  * No AI signing — the Conductor holds the Ed25519 key offline\n  * Fail-closed — hash mismatch halts every downstream skill\n  * Tier separation — working register, sealed record, and public surface are distinct\n  * 14/14 validation checks passed (see `VALIDATION_REPORT.md`)\n\n\n\n## Skills Reference\n\nSkill | Command | Purpose\n---|---|---\n`codex-verify` | Internal only | Fetches Codex, verifies SHA-256, HALT on drift\n`cold-start-interview` | `/5qln-constitutional-legal:cold-start-interview` | Configures practice profile\n`constitutional-analysis` | `/5qln-constitutional-legal:constitutional-analysis` | Full S→G→Q→P→V cycle\n`membrane-audit` | `/5qln-constitutional-legal:membrane-audit` | K-side / ∞₀-side separation\n`corruption-detect` | `/5qln-constitutional-legal:corruption-detect` | L1-L4 + V∅ detection\n`edition-cross-ref` | `/5qln-constitutional-legal:edition-cross-ref` | Dual-edition comparison\n`cycle-attestation` | `/5qln-constitutional-legal:cycle-attestation` | Seal prep (AI never signs)\n`dispute-route` | `/5qln-constitutional-legal:dispute-route` | Escalation pathway\n\n## Integration Path\n\nThis repository is the **canonical source** for the plugin. The integration into Anthropic's `claude-for-legal` follows this path:\n\n  1. **This repo** (`qlnlife/5qln-constitutional-legal`) — canonical development + maintenance\n  2. **Fork/PR** into `anthropics/claude-for-legal` — copy into `external_plugins/5qln-constitutional-legal/`\n  3. **Register** in root `marketplace.json` — add the registration block from `.claude-plugin/marketplace.json`\n  4. **Users install** via `/plugin install 5qln-constitutional-legal@claude-for-legal`\n\n\n\nSee `PR_DESCRIPTION.md` for the full PR narrative and `INTEGRATION.md` for technical integration details.\n\n## Relationship to the 5QLN Foundation\n\nComponent | Repository | Role\n---|---|---\n**Constitution** | `qlnlife/5qln-foundation` | Canonical Codex, narrative, codex verifiers, CI\n**Plugin** | `qlnlife/5qln-constitutional-legal` ← this repo | Operational grammar for Claude-for-Legal\n**Kernel** | `qlnlife/5qln-core` | Position-in-grammar state machine\n\nThe plugin **does not contain the Codex**. It fetches the Codex from the Foundation repository at invocation time and verifies the SHA-256 hash before any operation. If the Foundation amends the Codex (v2), the plugin's `references/codex-reference.md` is updated, the new hash is configured via `cold-start-interview`, and the `codex-integrity-watcher` agent detects any unannounced drift.\n\n## ⚠️ Legal Disclaimer\n\n**Every output produced by this plugin is a draft for attorney review.** It is not legal advice, not a legal conclusion, and not a substitute for advice from a licensed attorney. This plugin does not file documents with any court or regulatory body; does not create attorney-client relationships or privilege; and does not replace the judgment of a licensed attorney. You should always consult with qualified legal counsel before making governance decisions or executing legal instruments.\n\n**Built and maintained by the 5QLN Foundation, not Anthropic.** This is a third-party external plugin. Anthropic does not maintain, review, or warrant the content or integrity of this plugin. All governance framework content, cryptographic integrity guarantees, and constitutional analysis logic are the responsibility of the 5QLN Foundation.\n\n* * *\n\n_Plugin version: 0.1.0 | Maintainer: 5QLN Foundation_ _amihai@qln.life_ _| Canonical source:_ https://github.com/qlnlife/5qln-constitutional-legal\n\nGitHub - qlnlife/5qln-constitutional-legal: 5QLN Constitutional Legal Plugin for Anthropic Claude-for-Legal — constitutional governance analysis with Codex-verified cycle execution, membrane integrity audit, corruption detection, and dual-edition cross-reference.5QLN Constitutional Legal Plugin for Anthropic Claude-for-Legal — constitutional governance analysis with Codex-verified cycle execution, membrane integrity audit, corruption detection, and dual-ed…GitHubqlnlifeGitHub - anthropics/claude-for-legal: A suite of plugins for legal workflowsA suite of plugins for legal workflows. Contribute to anthropics/claude-for-legal development by creating an account on GitHub.GitHubanthropics\n\n* * *\n\n<a href=\"https://amihailoven.bandcamp.com/album/raanan-fresh\">Ra`anan (Fresh) by Amihai Loven</a>",
  "title": "5qln Constitutional Legal Plugin for Anthropic's Claude-for-Legal ecosystem",
  "updatedAt": "2026-05-16T07:49:22.385Z"
}