Consolidated reference · v1 · assembled 24 Jul 2026
One place for the methodology: the philosophy it implements, the settled six-phase spec, the mechanisms proposed but not yet adopted, and the threads still open.
The philosophy. DPCD is one implementation of it, not the thing itself.
Guidance and compounding are co-equal requirements. A process that guides but does not accrete forgets everything between cycles; a process that accretes but does not guide produces a knowledge base nobody can act on.
The layering matters because it decides where a fix belongs. If a gap is in how the phases are enforced, it is a DPCD problem. If a gap is in what compounding means, it is a Compounding Loop problem and every implementation inherits it.
JetBrains' YouTrackDB workflow book is a sibling implementation of the same principle, not a rival philosophy — which is why its phase skeleton matches DPCD almost exactly (research → design+plan → implement → finalize) and every meaningful difference is about enforcement rather than shape.
A compounding methodology that does not say what it costs will drown in its own knowledge base. This is the sharpest thing taken from the YouTrackDB comparison, and it is a hole in the philosophy — not merely in DPCD's implementation of it.
Cross-change domain knowledge. YouTrackDB deletes its research log at the finalize phase; only the adversarial verdict folds into the ADR. It compounds the process, not the codebase understanding. DPCD compounds both.
Discuss → Plan → Review 1 → Code → Review 2 → Document. Six phases; two of them are gates.
Each phase both deposits intent and gates the next one. The deposit is what compounds; the gate is what guides.
plan.md), not held in a thread. The repo is the artifact store.Never to an intermediate phase. Plan and Code can be short on re-entry precisely because Discuss resolved the gap upstream — re-entering at Plan would carry the same broken premise forward, which is the failure the rule exists to prevent.
DPCD state is always session-based and every session always leaves with an artifact. That splits the state cleanly:
The consequence is enforcement-shaped: CI cannot gate on phases, because phases are not durable. It can only check that the artifact landed. The gate is a human decision inside the session; the mechanical check is downstream of it.
Three tiers, distinguished by how often they are written — which is also how you decide where a new fact goes.
Skill folders exist for the discuss, plan and document stages, plus a loop agent file. The structure is deliberately tool-agnostic: it maps onto both Claude Code and GitHub Copilot via their respective native file conventions, so the methodology is not hostage to one vendor's harness.
Ranked by value-to-DPCD ÷ cost-to-adopt. Grafted from the YouTrackDB structural diff.
Not adopted Nothing in this section is part of the spec. v4 stands unmodified. Items 1 and 4 are principle-layer gaps — they belong to the Compounding Loop and every implementation inherits them. The rest are DPCD implementation detail.
| # | Mechanism | Verdict | Cost & rationale |
|---|---|---|---|
| 01 | Single-challenge rule + comprehension-only second gate Principle layer | ADOPT | Cost: prose. Both current gates drift toward "is this right?". Split them by forbidden question: Gate 1 attacks decisions; Gate 2 is forbidden from re-litigating them and only asks whether a cold reader can build a working model from the document alone, plus the absorption check — every decision in the Discuss log appears in the Plan, and the Plan invented none the log never made. Highest value per word changed in the list. |
| 02 | Mechanical trigger for fallback-to-Discuss | ADOPT | Cost: one sentence. Current rule is a judgment call. Mechanical version: a new load-bearing decision surfaced during Plan → append it to the Discuss log, re-challenge it there, and Gate 2 may not run until it clears. Converts a vibe into a named trigger. |
| 03 | Tier gate — ceremony scaled to change size | ADOPT | Cost: one section. Two routing questions, three tiers, an artifact set per tier. Fixes DPCD's actual failure mode: it gets skipped on small changes because it is all-or-nothing. Categories must be your own — data correctness, erasure/GDPR semantics, IAM/policy surface, table-format or schema migration, cost hot path, public interface, methodology machinery. The category must be what the change is about, not something it brushes. |
| 04 | Priced improvement gate Principle layer | ADOPT | Cost: a formula plus the discipline to run it. load_cost = paragraphs added × placement multiplier (always-loaded file ≈ 15–20× an on-demand one), weighed against self_fix_cost = turns per recovery × sessions that hit the trigger. File only at ≥5×; cap one per session; zero is the expected outcome. Fixes a real defect, not polish. Without it the loop compounds into a context tax paid every session. |
| 05 | Handoff file with verbatim re-present text | ADOPT | Cost: low. When a session runs out of room mid-phase, write a file whose key field is the exact prompt the next session must show you — not a paraphrase of the decision you were half-way through making. On resume it outranks every other marker and must be resolved before any routing. You hit this constantly on long artifact sessions. |
| 06 | Risk tag per step, sharing the tier gate's categories | ADAPT | Cost: low. One source of truth read at two granularities — change-level (which tier?) and step-level (does this step get its own review?). Only worth it once step-level review exists at all. |
| 07 | Session-per-phase + phase ledger | ADAPT | The mechanism is sound and it is the one most missing: the session that argued the design biases the plan derived from it; the session that wrote the code biases its review. But the reference implementation assumes a filesystem and an auto-resuming skill. In a chat client you would hand-carry a ledger artifact between chats — friction you will abandon by week two. In Claude Code / Copilot it is natural. Adopt the boundary (new session per phase, state written down before you clear); skip the append-only last-value-wins machinery until an agent can read the file itself. |
| 08 | Dimensional review fan-out | ADAPT | Take the shape, not the roster: triage the diff → select lenses by characteristic → normalize severities → location-collapse synthesis → on iteration 2+ run a gate check rather than a re-review, each reviewer verdicting only its own findings under a tight output budget, capped at 3 then escalate. Three or four lenses, not sixteen. Keep the upgrade-only severity backstop even with three lenses. |
| 09 | Mutation discipline on the design document | DEFER | Worth it only for a long-lived, multiply-edited design artifact. Data Matrix qualifies. TerraLab does not. |
| 10 | Workflow-SHA stamps + drift migration | SKIP / PART | Skip the machinery, keep the stamp: mark each artifact with the spec version it was written against. The new-filename-per-version convention is already half of this. The migration-replay engine solves a problem you do not have — you are the sole author of your own spec, so you feel the drift directly. |
Decisions raised and left unresolved. Listed so they stop re-surfacing as if new.
Items 1 and 4 above are principle-layer gaps. The proposal was to write them as an amendment to the Compounding Loop document — the cost function plus the gate-disjointness rule — leaving DPCD v4 untouched. Never drafted.
One hard constraint decided: the UI is a projection of repo state, never the source of truth. Phase, gate approvals, quota status and review verdicts land in the repo (plan.md frontmatter or .dpcd/state.json on the branch); the UI only renders them. If state lived in a fork's local store the fork becomes load-bearing and upstream churn costs you the methodology, not just a UI. Open: fork T3 Code vs. standalone prototype — with the prior step being to check whether T3 Code's custom-actions surface can carry it without a fork at all. Flagged as a good candidate to move into Cowork (multi-file, iterative build/test/commit).
AI credit cost per PR, split by DPCD phase. The phase boundaries are what make the spend interpretable — the measurement itself is commoditising fast, but "does front-loading Discuss compress downstream rework?" is a claim about how to work, and it is only askable because session boundaries map onto phases.
The workshop series surfaced it: people can follow DPCD as steps without internalizing why the gates exist. Named independently by a peer at another institution the same week, which suggests it is structural to the methodology class rather than a local rollout problem.
Where each part came from, so you can go back to the argument rather than just the conclusion.
compounding-loop-full-spec-v4.md.Status of this document: Layers 01–02 are settled and reflect v4. Layer 03 is a proposal set with no adoption decision taken. Layer 04 items are open by definition. Nothing here supersedes compounding-loop-full-spec-v4.md; this is a consolidation, not a new version of the spec.