VGSF CONSTITUTIONAL TECHNICAL ARCHITECTURE — BOOK II — PART B: CONSTITUTIONAL ENGINEERING METHODOLOGY
Chapter 4 of 8 in this Part
M4 — Phases 1–2: Specification and Review
Document record
| Field | Value |
|---|---|
| Constitutional Series | M — Constitutional Engineering Methodology |
| Primary Source | CONSTITUTIONAL_LIFECYCLE_STANDARD.md + FOUNDATION_G5_DOMAIN_LIFECYCLE_MODEL.md |
| Version | V2.1 (CAP030C, 2026-06-15) |
| Ratified | RATIFIED — CAP027B (Methodology V2.0) + CAP030C (V2.1 Phase -1 amendment) |
| Applies To | REF003–REF014 |
| Position in Book | Part B, Chapter 4 of 8 |
M3 established readiness. M4 (Phases 1–2: Specification and Review) establishes the twin specification and review process — where the domain's constitutional contract is written and independently evaluated.
§1 — Phase 1: Service Layer Specification
Role: R-ARCH (Constitutional Architect)
Entry condition: Phase 0 READY or READY_WITH_CONSTRAINTS
§1.1 — Constitutional Position
Phase 1 is where the constitutional contract of the service layer is written. The specification is not a description of what the service will probably do — it is a set of verifiable obligations that the implementation must satisfy and that the verification architecture must be capable of testing. The Verification Obligations (VOs) produced in Phase 1 are the constitutional commitments. Everything downstream — Phase 3 test design, Phase 4 implementation, Phase 5 verification, Phase 6 certification — is evaluated against the VOs.
§1.2 — Mandatory Deliverables
- RO-series Implementation Authorization Order (first deliverable — UP-007): The formal authorization order that defines what the implementer is authorized to build, what is not authorized, discharge criteria, and expiry conditions.
- OpenAPI Engineering Specification (all endpoints)
- Event Engineering Specification (all events)
- Middleware Architecture Specification (fail-closed — UP-002)
- Service Package Architecture (hexagonal — UP-001)
- Service Test Strategy (minimum test count, release gate)
- Implementation Sequence (10 stages, gate criteria)
- Implementation Governance (prohibitions, escalation paths)
- Executive Verdict
§1.3 — Gate Criteria
| Verdict | Meaning |
|---|---|
| IMPLEMENTATION_READY | All deliverables complete; all constitutional invariants traced to specification |
| IMPLEMENTATION_READY_WITH_CONSTRAINTS | Deliverables complete with named constraints requiring Phase 2 resolution |
§1.4 — Prohibited Actions in Phase 1
- Implementing code
- Executing tests
- Certifying
- Modifying constitutional artifacts (DDL, certifications)
§1.5 — The RO-Series Instrument (UP-007)
Evidence — REF001: RO-003 (issued CAP023D Phase B) authorized implementation with 11 explicit discharge criteria. Implementation outside RO-003 scope was constitutionally unauthorized.
Evidence — REF002: RO-004 (issued CAP026C) authorized implementation with 17 discharge criteria. CAP026G implemented within RO-004 scope. CAP026J's corrective work remained within RO-004's corrective authorization.
Constitutional value: The RO instrument creates an explicit contract between the Architect (who specifies) and the Implementer (who builds). It defines the implementation boundary. Without it, the Implementer has no constitutional authority and no defined scope.
Mandate for REF003–REF014:
Every REF domain service layer implementation MUST be authorized by a formal implementation authorization order (RO-series). The RO MUST specify: what is authorized, what is not authorized, discharge criteria, and expiry conditions. Implementation work without an active RO instrument is constitutionally unauthorized.
§1.6 — Phase Gate Validation: Phase 1 → Phase 2
| From Phase | To Phase | Gate validation required |
|---|---|---|
| 1 → 2 | Specification → Review | All Phase 1 deliverables present; RO-series instrument issued |
§2 — Phase 2: Independent Specification Review
Role: R-REVIEW — MUST be a distinct program from Phase 1
Entry condition: Phase 1 IMPLEMENTATION_READY or IMPLEMENTATION_READY_WITH_CONSTRAINTS
§2.1 — Constitutional Position
Phase 2 is the first absolute role separation gate in the forward lifecycle: R-ARCH (who produced the specification in Phase 1) MUST NOT review their own specification. The independent reviewer operates under a distinct program with a distinct mandate. The constitutional value of Phase 2 lies precisely in this separation — a review by the specification's author would not be independent and would carry the author's own assumptions and blind spots.
§2.2 — Mandatory Deliverables
- Role separation assessment
- Invariant preservation audit
- Ambiguity register (categorized by severity)
- Verification obligation assessment
- Specification review report
- Executive Verdict
§2.3 — Gate Criteria
| Verdict | Meaning |
|---|---|
| SPEC_ACCEPTED | All constraints absorbed; no HIGH ambiguities requiring Primary Steward ruling |
| SPEC_ACCEPTED_WITH_CONSTRAINTS | HIGH ambiguities identified; Phase 2a required |
| SPEC_REJECTED | Fundamental specification defects; Phase 1 must be revised |
§2.4 — Required Actions on HIGH Ambiguities
R-REVIEW MUST NOT resolve HIGH ambiguities unilaterally. HIGH ambiguities MUST be referred to Phase 2a.
This prohibition is absolute. A HIGH ambiguity is one where the correct resolution has constitutional implications that exceed the authority of the reviewer — where the Architect might reasonably interpret the specification one way and the reviewer another way, and where the resolution will cascade into Phase 3 verification architecture design. Only the Primary Steward (R-STEWARD) has the authority to resolve such ambiguities, and the resolution must be documented in the Phase 2a instrument so that it cascades into all successor programs.
§2.5 — Ambiguity Severity Classification
The ambiguity register produced in Phase 2 MUST categorize each ambiguity by severity:
- HIGH: Constitutional implications; cannot be resolved by R-REVIEW; MUST be referred to Phase 2a.
- MAJOR: Significant specification gap; R-REVIEW may identify the gap but must note that resolution requires Phase 2a or Phase 1 revision.
- MINOR: Clarification needed; R-REVIEW may resolve by reference to existing constitutional doctrine.
§2.6 — Phase Gate Validation: Phase 2 → Phase 2a
| From Phase | To Phase | Gate validation required |
|---|---|---|
| 2 → 2a | Review → Ambiguity Resolution | HIGH ambiguities documented in ambiguity register |
| 2/2a → 3 | Review → Verification Architecture | Phase 2 gate passed; all Phase 2a rulings ratified (if applicable) |
§3 — Phase 2a: Ambiguity Resolution (Conditional)
Role: R-STEWARD (Primary Steward)
Trigger: Phase 2 identifies one or more HIGH ambiguities
Instrument: Primary Steward Decision Instrument (PSDI) — one ruling per ambiguity
§3.1 — Constitutional Position
Phase 2a is conditional: it triggers only when Phase 2 identifies HIGH ambiguities. If Phase 2 has NO HIGH ambiguities, Phase 2a is SKIPPED and Phase 3 may begin directly.
Phase 2a is the constitutional instrument for resolving ambiguities that neither the Architect nor the Reviewer has authority to resolve unilaterally. The Primary Steward's exclusive authority over HIGH ambiguities prevents: (a) specification scope creep where the Architect claims unauthorized authority; (b) over-restriction where the Reviewer blocks warranted scope; and (c) undocumented assumptions that propagate silently into the verification architecture.
§3.2 — PSDI Structure
Each Primary Steward Decision Instrument (PSDI) — corresponding to the D-R1 instrument established in PP-002 — MUST include:
- Question: The precise constitutional question to be resolved
- Evidence: The specification text giving rise to the ambiguity; the reviewers' alternative interpretations
- Available rulings with pros/cons: Each option with its constitutional consequences
- Advisor recommendation: The reviewer's recommendation (advisory only; not binding)
- Primary Steward ratification checkbox: The Primary Steward's exclusive ruling
§3.3 — Gate Criteria for Phase 2a
Phase 2a gate: All HIGH ambiguities have ratified rulings. Rulings cascade into Phase 3 architecture.
§3.4 — Binding Ruling PS-27B-002 — Phase 2a Parallelism Conditions
Topic: Whether Phase 2a (Ambiguity Resolution) may run in parallel with early Phase 3 design work, and under what conditions.
Primary Steward Ruling:
Phase 2a parallelism with Phase 3 is permitted under the following conditions:
- The Phase 3 program charter explicitly identifies which areas are unambiguous (and may proceed) and which are ambiguous (provisional only).
- Provisional Phase 3 design elements are clearly labelled PROVISIONAL-PENDING-PHASE-2A and may not be incorporated into the verification architecture until Phase 2a rulings are ratified.
- If Phase 2a rulings require modification of provisional Phase 3 elements, the Phase 3 program must revise those elements before issuing its final verdict. This authorization is automatic — no separate Primary Steward approval is required for individual domains. The conditions above are self-executing.
Effective: 2026-06-14 | [RATIFIED — Primary Steward, 2026-06-14]
§3.5 — PP-002: Primary Steward Ambiguity Resolution Instrument
Source: CAP026D-R1 pattern
Practice: When an independent reviewer identifies HIGH constitutional ambiguities that neither the Architect nor Reviewer can resolve, a Primary Steward Decision Instrument (D-R1) shall be produced. The instrument presents: precise question, available rulings with pros/cons, advisor recommendation, and requires Primary Steward ratification. Ratified rulings cascade into all successor programs.
Constitutional value: Ambiguities resolved unilaterally by an Architect or Reviewer tend to reflect role bias. Primary Steward resolution prevents: (a) spec scope creep (Architect claiming unauthorized authority), (b) over-restriction (Reviewer blocking warranted scope), (c) undocumented assumptions that propagate silently.
Universality assessment: REF001 did not encounter HIGH ambiguities in CAP023E equivalent (domain boundaries were clear). REF002 encountered two. The pattern is likely to arise in complex domains (REF007, REF004). No contradicting evidence.
Mandate (presumptive): When any REF domain independent review (D-role) identifies HIGH ambiguities, a D-R1 instrument MUST be produced before the verification architecture (E-role) may proceed.
§4 — The Specification as Constitutional Contract
The most important constitutional principle of Phases 1 and 2 is this: the Verification Obligations (VOs) produced in Phase 1 and reviewed in Phase 2 are not descriptive prose. They are the constitutional contract of the service layer — the specific, verifiable commitments that the implementation must honor and that the verification architecture must be designed to test.
A VO that says "the service should handle authentication correctly" is not a constitutional VO. A VO that says "the middleware chain MUST return HTTP 401 to any request bearing a missing, invalid, or expired JWT before the request reaches any domain handler" is a constitutional VO: it is specific, testable, and traceable to the UP-002 (Fail-Closed Middleware) universal practice.
The Phase 2 reviewer's verification obligation assessment specifically evaluates whether the VOs are testable — whether each VO can be converted into a Phase 3 Verification Function (VF). If a VO cannot be tested, it is not a constitutional VO; it is a description. Phase 2 is the gate where untestable VOs are identified and returned to Phase 1 for reformulation.
→ See: [M5.§2] — Phase 3 conversion of VOs into Verification Functions
§5 — Program Charter Requirements for Phases 1 and 2
§5.1 — Phase 1 Charter
Each Phase 1 program MUST produce a PROGRAM_CHARTER.md that includes:
Program ID: [CAPXXX_y]
Authority: R-ARCH (Constitutional Architect) only.
This program is NOT authorized to act as:
- R-REVIEW (Independent Specification Reviewer)
- R-VARCH (Verification Architect)
- R-IMPL (Implementer)
- R-VEXEC (Verification Executor)
- R-CERT (Independent Certifier)
- R-HIST (Historian)
Predecessors: [Phase 0 program]
Abort conditions: [Domain-specific; at minimum: Phase 0 NOT_READY]§5.2 — Phase 2 Charter
Each Phase 2 program MUST produce a PROGRAM_CHARTER.md that includes:
Program ID: [CAPXXX_y]
Authority: R-REVIEW (Independent Specification Reviewer) only.
This program is NOT authorized to act as:
- R-ARCH (Constitutional Architect)
- R-VARCH (Verification Architect)
- R-IMPL (Implementer)
- R-VEXEC (Verification Executor)
- R-CERT (Independent Certifier)
- R-HIST (Historian)
Predecessors: [Phase 1 program]
Abort conditions: [Domain-specific; at minimum: Phase 1 deliverables absent]CONSTITUTIONAL_LIFECYCLE_STANDARD.md — Phases 1, 2, 2a specification | 2026-06-14 | CAP027A
Constitutional Colophon — M4
This chapter establishes Phases 1 and 2 — Service Layer Specification and Independent Specification Review — as the twin constitutional process by which a domain's verifiable obligations are written by R-ARCH and independently evaluated by R-REVIEW, with Phase 2a providing the conditional Primary Steward resolution instrument for HIGH ambiguities that neither architect nor reviewer has authority to resolve unilaterally.
It operates within Part B under the governing principle that constitutional trustworthiness — not mere correctness — is the objective of Dharma ERP Constitutional Engineering Methodology V2.1.
Readers proceeding to M5 (Phases 3–4: Verification Architecture and Implementation) should carry forward: the VOs produced in Phase 1 and accepted in Phase 2 are the constitutional contract — every Phase 3 Verification Function must be traceable to a VO, and every Phase 4 implementation element must be bounded by the RO-series instrument issued in Phase 1.
