governed.software

Install the engineering discipline, not just the prompt.Instala la disciplina de ingeniería, no nada más el prompt.

Programming agents generate code. Engineering agents generate evidence.Los agentes que programan generan código. Los agentes que hacen ingeniería generan evidencia.

D³ makes your agent earn architectural decisions with observable evidence. What it installs is not instructions — it is roles, contracts, and a protocol.D³ hace que tu agente gane sus decisiones de arquitectura con evidencia observable. Lo que instala no son instrucciones — son roles, contratos y un protocolo.

Native for Codex · Claude Code · Pi · Kimi Code · OpenCode. Complements DDD, TDD, SDD, ADRs.Nativo para Codex · Claude Code · Pi · Kimi Code · OpenCode. Complementa DDD, TDD, SDD, ADR.

curl -fsSL https://raw.githubusercontent.com/governed-software/doctrine-driven-development/main/install.sh | bash -s -- --pro--pro
curl -fsSL https://raw.githubusercontent.com/governed-software/doctrine-driven-development/main/install.sh | bash -s -- --codex --pro--pro
curl -fsSL https://raw.githubusercontent.com/governed-software/doctrine-driven-development/main/install.sh | bash -s -- --pi --pro--pro
curl -fsSL https://raw.githubusercontent.com/governed-software/doctrine-driven-development/main/install.sh | bash -s -- --kimi --pro--pro
curl -fsSL https://raw.githubusercontent.com/governed-software/doctrine-driven-development/main/install.sh | bash -s -- --opencode --pro--pro

Then start a new session and ask it to build. · DocsLuego abre una sesión nueva y pídele que construya. · Docs

Gemini, Cursor, any agent? No install — paste the prompt.¿Gemini, Cursor, cualquier agente? Sin instalar — pega el prompt.
Before writing code for a build/implement/add request, frame it first:
1. What architectural question are we really answering? (its answer changes the BUILD ORDER)
2. What claim would be too big for the evidence we have?
3. What is the minimal slice that could REFUTE the idea?
4. What observable result would count as evidence? ("it works" doesn't count)
5. What's out of scope, and what are we deferring?
Then ask: "Is that still the first thing I'd build?" Don't write code until this frame exists.
Antes de escribir código para una petición de build/implementar/agregar, enmárcala primero:
1. ¿Qué pregunta arquitectónica estamos respondiendo? (su respuesta cambia el ORDEN DE CONSTRUCCIÓN)
2. ¿Qué afirmación sería demasiado grande para la evidencia que tenemos?
3. ¿Cuál es la rebanada mínima que podría REFUTAR la idea?
4. ¿Qué resultado observable contaría como evidencia? ("funciona" no cuenta)
5. ¿Qué queda fuera de alcance, y qué diferimos?
Luego pregunta: "¿Sigue siendo lo primero que construiría?" No escribas código hasta que exista este marco.
What the engineer prints — before & afterLo que el ingeniero escribe — antes y después
Before: the first thing I thought I should build was …

Architectural question   What answer would change the build order?
Overclaim to avoid       What would the current evidence not support?
Refuting slice           What is the smallest slice that could prove us wrong?
Evidence contract        What observable result would count?
Deferred on purpose      What must not become architecture yet?

After: is that still the first thing I'd build?Antes: lo primero que creí que debía construir era …

Pregunta arquitectónica   ¿Qué respuesta cambiaría el orden de construcción?
Sobrecarga a evitar       ¿Qué no sostendría la evidencia actual?
Rebanada refutadora       ¿La rebanada mínima que podría probar que estamos mal?
Contrato de evidencia     ¿Qué resultado observable contaría?
Diferido a propósito      ¿Qué no debe volverse arquitectura aún?

Después: ¿sigue siendo lo primero que construiría?

The protocolEl protocolo

Six roles. Each consumes one typed artifact, produces the next — and refuses to do the next role's job. That refusal is what makes it a pipeline instead of eight prompts sharing a prefix.Seis roles. Cada uno consume un artefacto tipado, produce el siguiente — y se niega a hacer el trabajo del que sigue. Esa negativa es lo que lo vuelve un pipeline y no ocho prompts que comparten prefijo.

  1. ProblemProblema
  2. ScoutScoutReport Goes and looks. Every claim carries a citation. Never recommends.Va y mira. Cada afirmación lleva su cita. Nunca recomienda.
  3. ArchitectArchitectureQuestion Keeps only the questions whose answer reorders construction. Cuts the rest.Se queda solo con las preguntas cuya respuesta reordena la construcción. Corta el resto.
  4. PlannerExecutionPlan Orders slices by blast radius — what would hurt most if wrong goes first.Ordena rebanadas por radio de impacto — primero la que más dolería si falla.
  5. BuilderEvidenceBundle Builds exactly one slice. Records the raw output, including the failure.Construye exactamente una rebanada. Registra la salida cruda, incluyendo la falla.
  6. ReviewerReviewVerdict Tries to break each claim against its artifact. Default: refuted.Intenta romper cada afirmación contra su artefacto. Por defecto: refutada.
  7. RecorderSettlement → DecisionRecord States what was proved and what was not — then writes the decision, with the observation that would kill it.Dice qué se probó y qué no — y escribe la decisión, con la observación que la mataría.
  8. The lawLa ley

Starter covers the front and back of this chain with three skills — frame, break, settle. The middle stations are Professional.Starter cubre el frente y el cierre de esta cadena con tres skills — enmarcar, romper, liquidar. Las estaciones de en medio son Professional.Professional ships one skill per station, plus the compressed Discovery for when the full chain would be ceremony.Professional trae una skill por estación, más la Discovery comprimida para cuando la cadena completa sea ceremonia.

governed-discovery

Frames the architectural question and the smallest slice that could refute it — before a line of code.Enmarca la pregunta arquitectónica y la rebanada más pequeña que podría refutarla — antes de una línea de código.

governed-review

Breaks load-bearing claims against their actual artifacts — unproven claims, silent failures, tautological evidence.Rompe las afirmaciones que cargan peso contra sus artefactos reales — afirmaciones no probadas, fallos silenciosos, evidencia tautológica.

governed-close

States what the evidence proved, what it did not, and what stays deferred. The green check is not the evidence.Dice qué probó la evidencia, qué no, y qué queda diferido. La palomita verde no es la evidencia.

governed-scout

Scout. Sweeps the ground and returns cited findings and named unknowns. It never recommends.Scout. Barre el terreno y regresa hallazgos citados e incógnitas nombradas. Nunca recomienda.

governed-sdd

Architect. Turns findings into the questions whose answers reorder construction — and cuts the ones that don't.Architect. Convierte hallazgos en las preguntas cuyas respuestas reordenan la construcción — y corta las que no.

governed-plan

Planner. Orders slices by blast radius — the one whose failure would hurt most goes first.Planner. Ordena las rebanadas por radio de impacto — primero la que más dolería si falla.

governed-slice

Builder. Builds exactly one slice against its evidence contract. It never reviews its own work.Builder. Construye exactamente una rebanada contra su contrato de evidencia. Nunca revisa su propio trabajo.

governed-adr

Recorder. Crystallizes what a slice proved, in past tense, with the observation that would kill it.Recorder. Cristaliza lo que la rebanada probó, en pasado, con la observación que lo mataría.

What it doesn't prove — yet. D³ is a hypothesis, designed to be refuted. Every datapoint so far is internal. Starter is ratified by a developer we've never met whose first move changes; Professional, by someone already working this way whose result improves because a station refused to do the next station's job. If neither happens, the skills are refuted — not the doctrine.Lo que aún no prueba. D³ es una hipótesis, diseñada para ser refutada. Todo datapoint hasta ahora es interno. Starter se ratifica con un desarrollador que no conocemos y a quien le cambia el primer movimiento; Professional, con alguien que ya trabaja así y cuyo resultado mejora porque una estación se negó a hacer el trabajo de la siguiente. Si no pasa ninguna de las dos, las refutadas son las skills — no la doctrina.