pdewost

Coding Constitution — AI skill for Claude Code

AI community

A ratified constitution + harness-neutral enforcement regime for AI coding agents — hooks, a cold-startable project-state model, and the adversarial-review harness used to harden them.

How to install Coding Constitution

This entry records only its repository, not the path inside it, so there is no exact command to give. Open pdewost/coding-constitution and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Coding Constitution does

A ratified constitution + harness-neutral enforcement regime for AI coding agents — hooks, a cold-startable project-state model, and the adversarial-review harness used to harden them.

Alternatives in AI

  • Codex — openai-codex Adversarial code review, Codex CLI integration, cross-model analysis 9.6k ★
  • LongHorizon Harness — The long-horizon computer-use harness 1.3k ★
  • Claudexor — Multi-harness control plane for Claude Code, Codex, Cursor, and OpenCode: quota-aware rotation across multiple 425 ★

README

Coding Constitution — an Enforcement Regime for AI Coding Agents

Governance for agentic coding that you **run**, not just write down. A ratified constitution, a harness-neutral enforcement layer, and the adversarial-review harness used to harden them — extracted clean-room from a real multi-project workspace.

![License](https://img.shields.io/badge/license-MIT%20%2B%20CC--BY--4.0-blue) ![Constitution](https://img.shields.io/badge/constitution-v1.0%20ratified-success) ![Harness](https://img.shields.io/badge/adapter-Claude%20Code-informational) ![Status](https://img.shields.io/badge/enforcement-self--tested-success) ![Reviewed](https://img.shields.io/badge/reviewed%20%26%20amended-2026--10--27-success)


Reviews

The constitution carries its own amendment doctrine (Art. 11): a **frontier-model generation change** convenes a review, which asks of every article only *"does this still bind correctly under current conditions?"*

Date Scope Outcome
2026-08-25 All 14 articles + Preamble + Amendment I BIND-AS-IS. Zero amendments. 188/190 lines, unchanged
2026-10-27 All 18 clauses, one ruling each Four changes ratified (Art. 6 consented deletion, Sorting Rule wording, dated asides removed, vendor-neutral "instruction file"); two external reviews by a model of another lineage before the author applied them by hand. 190/190 lines

The 2026-08-25 record is worth reading for the failure modes more than the verdict: an article that went missing from a ratification, a rule that bound a budget written to ignore it, tests that passed whether or not the fix was present, and a status indicator that showed green *because* things were bad. Every gap the review found was one layer below the constitution — which is the Sorting Rule working, not a gap in it.

**Enforcement-layer reviews.** The hooks that enforce the constitution are reviewed