Skip to content

Part B — Constitutional Engineering Methodology: Introduction


§I — The Foundation

An institution can build correct software and still fail constitutionally. A database may enforce referential integrity, a service layer may return accurate results, a test suite may pass in its entirety — and the system may still be constitutionally untrustworthy. The distinction between correctness and constitutional trustworthiness is the foundational insight of the Dharma ERP Constitutional Engineering Methodology. Correctness asks whether the system does what someone intended. Constitutional trustworthiness asks whether independent evidence demonstrates that the system does what the constitution requires — and whether that evidence was produced through a process whose integrity cannot be questioned because the roles were separated, the phases were gated, and the evidence chain is immutable.

The methodology exists because the alternative — belief — is constitutionally insufficient. A specification author believes the design is correct. An implementer believes the code matches the specification. A tester believes the tests cover the obligations. Each of these beliefs may be entirely accurate. But belief, even expert belief, is not independently verifiable evidence. Constitutional trustworthiness requires that the architect who believed the design is correct did not also certify it; that the implementer who believed the code is correct did not also verify it; that the verifier who believed the tests passed did not also certify the domain. The methodology is the instrument by which belief is converted into evidence — evidence that a distinct party, with a distinct mandate, operating under distinct authority, independently produced and cannot have reason to have fabricated.

This conversion — from belief to evidence — is what the Dharma ERP Constitutional Engineering Methodology V2.1 (ratified by CAP027B and amended by CAP030C) governs. The methodology is not a software development framework. It is a constitutional lifecycle: the sequence of phases, gates, roles, deliverables, prohibitions, and evidence standards that every REF domain service layer must traverse before it may be considered constitutionally trustworthy. It was not invented in advance of experience. It was extracted from the empirical evidence of two completed domain lifecycles — REF001 (Identity) and REF002 (Relationship) — and ratified as binding doctrine for REF003 through REF014.


§II — The Architecture

V2.1 is V2.0 with one critical addition: the Phase -1 Classification and Admission gate. V2.0 established the forward lifecycle (Phases 0 through 6), the role separation doctrine, the corrective cycle standard, the universal and presumptive practices, and the consolidated prohibitions. V2.1 added, in front of all of that, the mandatory gate through which every domain candidate must pass before it may enter Phase 0: the Phase -1 Classification and Admission process, governed by the DC-001 through DC-005 domain classification standards and requiring a Primary Steward ADMIT verdict before any readiness assessment may begin.

The result is an eleven-phase lifecycle: Phase -1 (Classification and Admission), Phase 0 (Readiness Assessment), Phase 1 (Service Specification), Phase 2 (Independent Review), Phase 2a (Ambiguity Resolution — conditional), Phase 3 (Verification Architecture), Phase 4 (Implementation), Phase 5 (Verification Execution), Phase 5a-IMPL (Corrective Implementation — conditional), Phase 5a-VERIFY (Independent Re-Verification — conditional), and Phase 6 (Independent Certification). Phases 2a, 5a-IMPL, and 5a-VERIFY are conditional: Phase 2a triggers when the independent review identifies HIGH ambiguities; the Phase 5a cycle triggers when Phase 5 Verification Execution issues a VERIFICATION_FAIL verdict. All other phases are mandatory for every REF domain.

The role separation doctrine divides constitutional authority across eight distinct roles: R-ARCH (Constitutional Architect), R-REVIEW (Independent Reviewer), R-STEWARD (Primary Steward), R-VARCH (Verification Architect), R-IMPL (Implementer), R-VEXEC (Verification Executor), R-CERT (Independent Certifier), and R-HIST (Historian). The doctrine establishes four absolute separations — R-ARCH ≠ R-CERT, R-IMPL ≠ R-CERT, R-VARCH ≠ R-VEXEC, R-VEXEC ≠ R-CERT — and extends those separations explicitly into corrective cycles: the corrective R-IMPL may not re-verify their own corrections, and re-verification requires a new, distinct R-VEXEC program. These separations are constitutional law. Verdicts produced by combined roles are constitutionally void regardless of the quality of the work product.

Each domain traverses the methodology as a series of discrete, evidence-producing programs — the ERA (Evidence, Role, Authorization) program structure. Each program carries a single role declaration, a defined scope, abort conditions, required deliverables, and evidence obligations. Programs are archived upon closure and become immutable historical record. The accumulated programs for a domain constitute its constitutional biography: from Phase -1 admission through Phase 6 certification, every phase is documented, every role is separated, every evidence artifact is preserved.


§III — Why This Matters

The value of the methodology becomes fully apparent only when its absence is imagined. Without Phase -1, domain numbering and classification drift. The REF012 problem — in which a domain was admitted, numbered, and then found to be a specialization of REF009 rather than an independent root domain — demonstrates what happens when there is no classification gate: the domain receives a REF designation, downstream programs plan against that designation, and when the classification error is discovered the number must be permanently retired (NPS-7) and all downstream references corrected. Phase -1 exists precisely to prevent this category of error from entering the lifecycle at all. A candidate that would be classified as a specialization (rather than a primitive or aggregate-root) is identified as such in Phase -1 and assigned the appropriate sub-designation, never receiving an independent REF number.

Without role separation, self-certification emerges naturally. An architect designing a system is institutionally motivated to see it succeed. If that architect is also permitted to certify the system, the certification verdict is not independent evidence — it is the architect's own judgment about their own work, dressed in the language of certification. The absolute separation between R-ARCH and R-CERT, and between R-IMPL and R-CERT, prevents self-certification from masquerading as independent review. The history of regulatory and engineering failures across institutions — financial, infrastructural, pharmaceutical — is replete with self-certification failures. The methodology encodes the lesson of those failures as constitutional law.

Without Phase 5a corrective cycles, there is no constitutional path for addressing verification failures. A domain that fails verification either cannot proceed (creating a constitutional deadlock) or the failure is suppressed (creating a constitutional violation). The corrective cycle provides the constitutionally sound path: the implementation defect is identified by the independent verifier, corrected by a distinct implementer program within bounded scope, and re-verified by a new, distinct verifier program. The corrective cycle is not a sign of failure — it is the methodology demonstrating that it works. REF002 entered a corrective cycle (CAP026H → CAP026J → CAP026K) and emerged certified. The corrective cycle is the constitutional safety net between verification failure and production deployment.

Without Phase 6 independent certification, there is no institutional basis for authorizing production deployment. A domain that has been implemented and verified has not yet been assessed by an independent certifier against the full constitutional scorecard — eight dimensions including role separation, invariant preservation, evidence chain completeness, and methodology observations. Only Phase 6 produces the CERTIFIED or CERTIFIED_WITH_OBSERVATIONS verdict that constitutes the authorization for production deployment. Implementation programs may not certify themselves. Verification executors may not certify the verification they executed. These prohibitions are not procedural formalities — they are the constitutional guarantee that the entity authorizing production deployment is not the same entity that built what is being deployed.


§IV — Key Constitutional Decisions

1. Why trustworthiness, not correctness, is the constitutional objective. Correctness is a property of a system assessed against its own specification. A system is correct if it does what it was specified to do. Trustworthiness is a different and higher property: it is evidence-based confidence that the system does what the constitution requires, produced through a process whose integrity is independently verifiable. A system can be correct and still fail constitutional standards if the certification was produced by the implementer, if the evidence chain is incomplete, or if the role separations were collapsed. The methodology's stated objective — constitutional trustworthiness — reflects this distinction. The methodology does not ask "is this system correct?" It asks "is there independently verifiable evidence that this system satisfies its constitutional obligations, produced by parties with separated authorities?" The higher standard is not perfectionism. It is the recognition that institutions of 500-year intent require a different class of assurance than commercial software.

2. Why role separation is absolute, with no exceptions. The four absolute separations — R-ARCH ≠ R-CERT, R-IMPL ≠ R-CERT, R-VARCH ≠ R-VEXEC, R-VEXEC ≠ R-CERT — are constitutional law rather than guidelines because guidelines invite exceptions. An exception to role separation — "in this case, the implementer can also certify because they have particular expertise" — defeats the purpose of the separation. The value of independent certification is not independent expertise; it is independent perspective. An implementer certifying their own work applies the same assumptions, the same conceptual frame, the same blind spots that produced the implementation. An independent certifier, operating under a distinct program with a distinct mandate, is structurally required to challenge those assumptions. The absoluteness of the separation is what makes the certification meaningful. A conditional separation — one with exceptions — would produce conditional trustworthiness, which is not constitutional trustworthiness.

3. Why Phase -1 was added in V2.1 rather than V2.0. V2.0 was extracted from the evidence of REF001 and REF002, two domains that were constituted before the domain classification standards (DC-001 through DC-005) existed. The classification problems that motivated Phase -1 — domain number drift, the REF012 retirement, the ambiguity between primitive and aggregate-root domains — were not yet fully visible when V2.0 was ratified. The DC standards were ratified by CAP030B, and their integration into the methodology lifecycle required a methodology amendment. V2.1 (CAP030C, 2026-06-15) adds Phase -1 as the mandatory entry gate: no domain may receive Phase 0 authorization without a Primary Steward ADMIT verdict and the five mandatory Phase -1 artifacts (classification triple, admission verdict, REF designation, single canonical roadmap entry, and predecessor dependency axioms satisfied). The amendment is classified MINOR (additive) because it adds a phase ahead of the existing lifecycle without restructuring any existing phase or contradicting any existing ruling.

4. Why corrective cycles preserve role separation through implementation failure. When Phase 5 issues VERIFICATION_FAIL, the constitutional instinct might be to return the implementation to the original implementer for correction and then re-execute the same verifier's tests. This instinct collapses role separation at precisely the moment it is most needed: when the implementation has been found defective. The CORRECTIVE_CYCLE_STANDARD.md establishes, and Binding Ruling PS-27B-001 confirms, that Phase 5a-IMPL (Corrective Implementation) must be a distinct program from the Phase 5 verifier, and Phase 5a-VERIFY (Independent Re-Verification) must be a distinct program from Phase 5a-IMPL. The corrective implementer's post-fix tests are evidence, not re-verification. Only a distinct R-VEXEC program can issue the re-verification verdict. This structure ensures that the discovery of an implementation defect does not collapse the authority separations that are the constitutional basis for trusting the eventual Phase 6 certification.

5. Why Phase 6 certifiers may not certify themselves and may not be the verifiers. R-VEXEC ≠ R-CERT is one of the four absolute separations. The reason is that the Phase 5 verifier has already made a determination: they have assessed the evidence and issued a verdict. The Phase 6 certifier must assess whether that determination was sound — whether the evidence chain is complete, whether the role separations were maintained, whether the verification architecture was adequate, and whether conditional scope was properly handled. If the Phase 5 verifier is also the Phase 6 certifier, they are being asked to assess the soundness of their own prior determination. Even when that prior determination was entirely correct, the structural conflict means the assessment cannot be trusted as independent. The separation of R-VEXEC from R-CERT is the constitutional guarantee that Phase 6 is a genuinely independent review of the accumulated evidence, not a ratification of Phase 5's own conclusions.


§V — Bridge Forward

Part B establishes the HOW of the VGSF constitutional system: the Constitutional Engineering Methodology V2.1 that governs the lifecycle process by which domains are discovered, classified, admitted, specified, reviewed, verified architecturally, implemented, verified by execution, and independently certified. The twenty-one certified domains presented in Part A are the direct output of Part B's methodology applied over 47 ERA programs across the institution's constitutional history.

Part C (Platform Architecture) establishes WHERE those certified domains run: the constitutional platform decisions — PostgreSQL as the constitutionally mandated database substrate, the API design doctrine, the authorization architecture, and the deployment standards — that provide the operational substrate on which the certified domain model is operationalized. Part C's platform decisions are not implementation choices made by a single team. They are constitutional commitments made by architects and ratified by the Primary Steward, and they carry the same immutability obligations that Part A's domain model carries. Part B having established the methodology through which constitutional domains are discovered, specified, verified, and certified, Part C now establishes the platform on which those domains are deployed and operated.


Compiled by CAP-BOOK2-001 (R-ARCH) — 2026-06-26

Test Dharma ERP and tell us what you find.

The trial uses sandboxed demo data across twelve core modules. Look around, try the forms, and review what works and what does not.