Skip to main content
Practice · The rules that make the loop non-negotiable

The 16 Statutes

These sixteen principles are the operating rules of DoCoDeGo. If your team follows them, the framework is working. If they routinely violate them, something in the adoption needs to change.

The 16 statutes

Sixteen principles. Four pillars. One discipline.

Each principle is violable in a specific way; each violation is observable. Click any to read the principle, the detail, and the most common way teams break it.

Read all 16 →
DOcument
DO

Statutes 1–4

01
Statute · DO · Critical at Stage 1

Intent Is Absolute

Never exceed specification. Refine intent; do not patch symptoms.

When AI builds the wrong thing, the fix is never to patch the code. The fix is to refine the intent that generated it. Hotfixes without spec updates create hidden divergence between intent and implementation — the most dangerous kind of technical debt, because it reappears on every regeneration.

Most common violation Hotfixing AI output without updating the spec
02
Statute · DO · Critical at Stage 1

The Spec Is the Contract

Every interaction begins with a structured, approved specification.

No task assigned to an AI agent without a corresponding spec section covering it. Verbal agreements, Slack messages, and meeting notes are not specs — they are inputs to spec writing. The format scales with complexity; the requirement to have a spec does not scale down.

Most common violation Starting composition from a verbal brief
03
Statute · DO · Critical at Stage 1

Quality Through Context

AI produces correct output when context is complete. Ambiguity causes defects.

When AI generates wrong output, the diagnostic question is "what in the specification was ambiguous enough to produce this?" — not "what is wrong with the AI?" A payment-service spec that uses "appropriate error handling" without defining retry behaviour, idempotency, or timeout thresholds reliably produces an implementation that double-charges on network failure.

Most common violation Blaming the AI model when the spec was the problem
04
Statute · DO · Critical at Stage 1

Simplicity of Spec

Complexity in a specification signals unclear intent. Simplify before proceeding.

If you cannot express it simply, you do not understand it well enough to specify it. A simple spec is not a vague spec — it is a precise spec expressed at the right level of abstraction. Complex acceptance criteria often indicate that the requirement is actually multiple requirements that need to be separated.

Most common violation Adding requirements without reviewing whether existing ones still apply
COmpose
CO

Statutes 5–8

05
Statute · CO · Critical at Stage 2

Code Is Regenerable

Preserve logic, not syntax. Regenerate from improved intent.

Code generated from a spec can be regenerated from an improved spec. The code is not the artefact — the spec is. The corollary: if you cannot regenerate a system from its specification, the specification is incomplete. System invariants (business rules, data contracts, API contracts) are not regenerable — they must be explicitly protected.

Most common violation Manually editing generated code "just this once"
06
Statute · CO · Critical at Stage 2

Resilience Over Robustness

Design for reconstruction. Rebuilding is safer than maintaining brittle systems.

A resilient system has clear specifications that allow reconstruction if it fails catastrophically. A robust system has defensive code trying to handle every failure mode, creating complexity AI struggles to reason about. When failure happens, the expected recovery path is: identify the spec gap, update the spec, regenerate the affected components.

Most common violation Adding defensive code to handle cases not in the spec
07
Statute · CO · Critical at Stage 2

Architecture Before Generation

Human defines structure before agents begin. AI implements within the architecture, not instead of it.

Before any agent is assigned a composition task, the Composition Lead defines overall system structure, component boundaries, integration points, and non-negotiable constraints. Agents given architectural freedom will make architectural choices — those choices accumulate into systems the human cannot understand or own.

Most common violation Letting agents begin without a declared system architecture
08
Statute · CO · Critical at Stage 2

Comprehension Is Non-Negotiable

If you cannot evaluate what was built, you cannot be accountable for it.

Technical depth is a governance requirement, not a personal preference. Composition Leads maintain hands-on implementation skills through regular practice separate from production work. A reviewer who rubber-stamps AI output without comprehension has not fulfilled the CO role — they have abandoned it.

Most common violation Approving AI output without reading and understanding it
DEmonstrate
DE

Statutes 9–12

09
Statute · DE · Critical at Stage 2

Zero-Latency Evolution

Changes demonstrate as fast as validation permits. No artificial delay.

After composition, the next step is validation and demonstration — not a scheduled review, not a fixed release window, not a process gate that does not reduce real risk. Improving validation speed is a legitimate investment. The gate is validation confidence, not the absence of gates.

Most common violation Keeping a fixed release day after removing the need for one
10
Statute · DE · Critical at Stage 2

Feedback Closes the Loop

Deployment telemetry informs the next specification cycle.

Every demonstration cycle generates information. That information must return to the DO phase to improve the next spec. Feedback that is not fed back into DO is waste — it represents learning that will be repeated as a mistake. The Flow Steward aggregates telemetry and flags drift.

Most common violation Reading demonstration metrics without asking what they mean for the spec
11
Statute · DE · Critical at Stage 2

Observability Is Non-Negotiable

You cannot govern what you cannot see. Every demonstrated output includes telemetry.

Every demonstration includes acceptance test results, performance telemetry, error rate monitoring, and behavioural drift indicators. Observability is part of the specification — every acceptance criterion has a corresponding observable metric. Demonstration without observability is release into the unknown.

Most common violation Treating observability as an optional add-on after demonstration
12
Statute · DE · Critical at Stage 2

Atomic Delivery

The unit of delivery is the specification: all or nothing.

A single demonstrated delivery corresponds to one approved specification, fully implemented and validated. Multiple specifications may not be bundled into a single delivery unit — each spec must be independently validated. When demonstration fails mid-stream, automatic rollback to last known-good state.

Most common violation Bundling multiple spec outputs into a single delivery unit
GOvern
GO

Statutes 13–16

13
Statute · GO · Critical at Stage 1

The Human as Governor

Humans govern what AI produces. Primary skill: clarity of thought.

The most valuable thing a human brings to an AI-era team is the judgment to decide what to build, the clarity to specify it precisely, and the accountability to own the consequences. Stewardship requires technical depth — engineers who stop practising implementation skills lose the calibration needed to evaluate AI outputs.

Most common violation Measuring engineers by lines of code reviewed
14
Statute · GO · Critical at Stage 3

Transparent Reasoning

Every agent produces auditable reasoning traces. No black boxes.

When agent output is unexpected, the first step is examining the reasoning trace — not re-running the agent with a different prompt. Agents that cannot produce reasoning traces should not be assigned autonomous tasks. Without transparent reasoning, governance is reactive; with it, governance becomes preventive.

Most common violation Accepting agent output without checking the reasoning trace
15
Statute · GO · Critical at Stage 1

Security by Design

Every specification includes a threat model. No exceptions.

Every spec has a Threat Model section with top failure modes, their consequences, and recovery paths. Security acceptance criteria are part of the spec and must pass before demonstration. Security reviewed only after composition is the common failure mode that "security by design" prevents.

Most common violation Starting spec writing without a threat model section
16
Statute · GO · Critical at Stage 2

Alignment Before Demonstration

No demonstration without governance validation at its required maturity level.

Governance does not slow demonstration by checking boxes — it defines the criteria that define "ready". Meeting those criteria is the demonstration pipeline's job. At Stage 4: acceptance tests pass, confidence threshold met, reasoning trace reviewed, no drift indicators.

Most common violation Merging a demonstration that skipped an alignment check "just this once"

Each violation in the most-common-violation field is a point where accountability slips. The statutes exist to make that slip visible before it compounds.

Alpha · Honest about it

The framework is real.
The community is forming now.

DoCoDeGo is in Alpha. The framework is documented, the practices are battle-tested at small scale, and the next release is being shaped in public.

If it produces anything, it should produce engineers and teams who think more clearly about what they are building and why.

Two doors in
Join the Discord

Discord is where specs are debated, the framework gets sharper, and decisions land in writing. The conversation is the artefact.