VGSF CONSTITUTIONAL TECHNICAL ARCHITECTURE — BOOK II — PART E: VERIFICATION AND CERTIFICATION
Chapter 1 of 4 in this Part
V1 — Verification Doctrine and Standards
Document record
| Field | Value |
|---|---|
| Constitutional Series | V — Verification and Certification |
| Primary Sources | VERIFICATION_ENVIRONMENT_STANDARD.md (VS-004) · FOUNDATION_G5_CERTIFICATION_STANDARD.md · CONSOLIDATED_PROHIBITIONS.md · UNIVERSAL_PRACTICES_CATALOG.md |
| Constitutional Status | RATIFIED (Prohibitions + Universal Practices) · ADVISORY (VS-004) · CERTIFIED (G5 Certification Standard) |
| Applies To | All REF domains entering Phase 3–6 |
| Position in Book | Part E, Chapter 1 of 4 |
Part E opens with V1 because no subsequent chapter — VF architecture, certification standards, or evidence packaging — can be constitutionally grounded without first declaring what verification IS, why it exists as a constitutional requirement rather than an engineering practice, and what constitutional prohibitions govern the verification process. The doctrine precedes the mechanism. Verification Obligations (UP-003) precede Verification Functions. The prohibition on self-verification precedes any account of how verification is executed. This chapter establishes the constitutional ground that the three chapters following it build upon.
§1 — The Constitutional Doctrine of Verification
§1.1 — The Evidence Supremacy Principle
The VGSF constitutional instrument CLAUDE.md states: "Architectural elegance without independently verifiable evidence is insufficient for constitutional trustworthiness." This sentence is not a quality standard. It is a constitutional axiom that governs the relationship between specification and proof. The Foundation G5 Certification Standard operationalizes this axiom as the Evidence Supremacy Principle:
No domain may be certified by assertion, summary, or narrative alone. Every certification claim must be traceable to:
- Actual SQL execution on a live PostgreSQL instance
- Actual query results returned by that execution
- Actual evidence documents containing those results
The certification tribunal accepts only forensic evidence — not architectural descriptions.
Source: FOUNDATION_G5_CERTIFICATION_STANDARD.md, Part I §1.1
§1.2 — The Constitutional Verification Obligations (UP-003)
Universal Principle UP-003 — "Verification obligations SHALL precede verification mechanisms" — establishes the conceptual priority of the entire verification architecture. It is a constitutional law, not a process recommendation.
Constitutional Provision
[UP-003] Verification obligations SHALL precede verification mechanisms.
Source: CLAUDE.md (Universal Constitutional Principles) | Established: ratified | Program: CAP027B
The implication is binding: before a Verification Function (VF) may be written or an environment assembled, the Verification Obligations (VOs) it will satisfy must be declared. VOs are declared in Phase 1 (Service Specification) as part of the Service Test Strategy. They are the constitutional commitments that the implementation must honor, expressed as testable obligations. VFs (built in Phase 3) are the mechanisms that prove those obligations are honored. The VO-to-VF chain is constitutional, not optional.
§1.3 — The Completeness Principle
The Foundation G5 Certification Standard establishes that verification must be complete:
A certification suite must cover every registry entry, every lifecycle state transition, every constitutional rule, every attack vector, and every rollback scenario defined for the domain. Partial coverage produces a partial certification — which is NOT a certification.
Source: FOUNDATION_G5_CERTIFICATION_STANDARD.md, Part I §1.2
§1.4 — The Independence Principle
Certification evidence must be produced by execution against a clean, isolated database instance — not against a production database, not against a database shared with other domains. The certification instance contains only the domain under certification and its declared dependencies.
Source: FOUNDATION_G5_CERTIFICATION_STANDARD.md, Part I §1.3
§1.5 — The Reproducibility Principle
Every certification must be reproducible. The certification scripts must be preserved as artifacts. Any future engineer must be able to run the same scripts on a clean instance and produce equivalent results.
Source: FOUNDATION_G5_CERTIFICATION_STANDARD.md, Part I §1.4
§2 — The VO-to-VF Chain
Every Verification Obligation declared in Phase 1 must have at least one Verification Function written in Phase 3. This is the VO-to-VF chain. A VO without a VF is a constitutional gap — an obligation that the domain has committed to satisfying but has provided no mechanism to demonstrate. The REF003–REF014 Execution Standard makes this explicit by requiring, as a Phase 3 deliverable, a Verification Traceability Matrix that maps every constitutional invariant to its covering test(s).
The VO-to-VF chain governs the full lifecycle relationship between the two programs:
| Phase | Role | Product | Constitutional Function |
|---|---|---|---|
| Phase 1 | R-ARCH (Service Specification) | Verification Obligations (VOs) | Declares what must be constitutionally true |
| Phase 3 | R-VARCH (Verification Architecture) | Verification Functions (VFs) + Verification Traceability Matrix | Provides mechanisms to prove VOs are satisfied |
| Phase 5 | R-VEXEC (Verification Execution) | Test execution evidence (PASS/FAIL per VF) | Independently demonstrates VO satisfaction |
| Phase 6 | R-CERT (Independent Certification) | Certification verdict + Constitutional Invariant Matrix | Evaluates the evidence chain as a whole |
A VO without a VF is a Phase 3 defect. A VF without an associated VO is an ungrounded test (permitted if it addresses an attack surface identified during review, but must be labeled accordingly). Neither condition authorizes Phase 5 to proceed until resolved.
The REF003–REF014 Execution Standard specifies minimum test counts by domain complexity:
| Domain complexity | Minimum unconditional tests | Minimum P1 BLOCKERs |
|---|---|---|
| Simple (≤5 entity types, no governance) | 60 | 15 |
| Moderate (5–10 entity types, basic governance) | 80 | 20 |
| Complex (>10 entity types, governance types, bitemporal) | 100 | 25 |
| REF002-equivalent (graph + governance + temporal) | 110 | 26 |
P1 BLOCKER categories must include at minimum:
- Temporal exclusivity enforcement (if GiST pattern applies)
- No physical deletion (at least 3: DELETE edges, DELETE types, TRUNCATE)
- History immutability (at least 1: UPDATE on historical record)
- Authentication fail-closed (at least 2: missing JWT, invalid JWT)
- Governance type routing (if governance satellite pattern applies)
- Event atomicity (if DFO+FON-equivalent pattern applies)
Source: REF003_014_EXECUTION_STANDARD.md §5
§3 — Verification Function Typology
Constitutional verification requires multiple categories of Verification Function. The Foundation G5 Certification Standard defines seven certification suites — each corresponding to a VF category. The verification environment standard and the REF003–REF014 Execution Standard together define the following typology:
§3.1 — Reference Data Coverage Tests (Suite X3-REF)
Purpose: Prove that every registry entry defined for the domain has been instantiated with at least one real record.
Requirements:
- Every Party Type, Event Type, Relationship Type, Document Type, or domain-specific type must appear in at least one actual record
- Every lifecycle state that the domain supports must be instantiated in at least one record
- Registry completeness query must return zero gaps
Evidence Required:
- SQL queries confirming registry coverage
- Query results showing zero ungapped registry entries
- Count of records per registry type
Failure Criterion: Any registry entry with zero instantiated records.
Source: FOUNDATION_G5_CERTIFICATION_STANDARD.md, Part II Suite 1
§3.2 — Lifecycle Simulation Tests (Suite X3-LIFE)
Purpose: Prove that entities can be born, evolve through all lifecycle states, and be archived correctly.
Requirements:
- At least one entity must traverse the complete lifecycle from creation to archive
- All valid state transitions must be demonstrated
- All forbidden state transitions must be attempted and rejected by the system
- Bitemporal records must be produced at each state transition
Evidence Required:
- SQL showing entity lifecycle traversal with timestamps
- SQL showing forbidden transition rejection (error or constraint violation)
- Bitemporal history query results showing full audit trail
Failure Criterion: Any lifecycle state unreachable, or any forbidden transition not blocked by constraints.
Source: FOUNDATION_G5_CERTIFICATION_STANDARD.md, Part II Suite 2
§3.3 — Attack Tests (Suite X3-ATTACK)
Purpose: Prove that constitutional rules cannot be violated even by direct SQL manipulation.
Requirements:
- At minimum 10 constitutional attack attempts must be documented
- Each attack must attempt to violate one constitutional rule (e.g., inserting a duplicate identity, creating a circular relationship, bypassing audit trail, deleting a historical record)
- Every attack must be rejected by the database — either by constraint violation or trigger enforcement
- No attack may succeed
Evidence Required:
- SQL for each attack attempt
- Error messages or rejection evidence for each attack
- Confirmation that the database state is unchanged after each rejected attack
Failure Criterion: Any attack that succeeds — i.e., any constitutional rule that is not enforced at the database level.
Source: FOUNDATION_G5_CERTIFICATION_STANDARD.md, Part II Suite 3
§3.4 — Historical Replay Tests (Suite X3-HIST)
Purpose: Prove that the bitemporal model correctly preserves and retrieves historical reality.
Requirements:
- A sequence of time-ordered changes must be made to domain records (e.g., a party's name changes, an obligation is fulfilled, a relationship ends)
- Point-in-time queries must retrieve the correct historical state at each point in the sequence
- The "as-of" queries must respect both valid time and transaction time axes
- Historical reconstruction at any past point must produce the exact state that was true at that moment
Evidence Required:
- SQL demonstrating point-in-time queries
- Query results showing correct historical values at T1, T2, T3...
- Evidence that current-time queries return current state (not historical)
- Evidence that no historical record was altered retroactively
Failure Criterion: Any point-in-time query returning incorrect historical data, or any evidence that history was retroactively altered.
Source: FOUNDATION_G5_CERTIFICATION_STANDARD.md, Part II Suite 4
§3.5 — Rollback Verification Tests (Suite X3-ROLLBACK)
Purpose: Prove that the domain's DDL can be completely rolled back without affecting any other domain.
Requirements:
- Install all dependent domains first (in dependency order)
- Seed each dependent domain with at least one representative data record
- Install the domain under certification
- Seed the domain with representative data
- Execute the domain's rollback script
- Verify: (a) the domain's schema is completely removed, (b) all dependent domain schemas are intact, (c) all dependent domain data records are intact, (d) no orphaned foreign key references remain
Evidence Required:
- Pre-rollback counts of records in each dependent domain
- Pre-rollback MD5 hash of dependent domain identity records
- Post-rollback counts of records in each dependent domain
- Post-rollback MD5 hash of dependent domain identity records
- Evidence that pre and post hashes are identical for all dependent domains
Failure Criterion: Any dependent domain schema is damaged, or any dependent domain data record is altered, orphaned, or destroyed.
Source: FOUNDATION_G5_CERTIFICATION_STANDARD.md, Part II Suite 5
§3.6 — Federation Readiness Tests (Suite X3-FED)
Purpose: Prove that federation extensions function correctly for this domain.
Note: This suite is required only for domains that have been extended for federation (state: FEDERATED). It is not required for CERTIFIED status — only for FEDERATED status.
Requirements:
- GPI linking must be demonstrated for domains with GPI integration
- Cross-entity records must respect tenant isolation
- Cross-entity operations must require and verify federation authority grants
- Consolidated reporting queries must aggregate correctly across entity boundaries
Evidence Required:
- SQL demonstrating cross-entity record creation with authority grant verification
- SQL demonstrating that cross-entity access without authority grant is rejected
- GPI resolution query results
- Consolidated report query results matching sum of entity-level totals
Failure Criterion: Any cross-entity access without authority grant succeeds, or GPI resolution produces incorrect links.
Source: FOUNDATION_G5_CERTIFICATION_STANDARD.md, Part II Suite 6
§3.7 — Performance Baseline Tests (Suite X3-PERF)
Purpose: Establish the performance baseline for the domain under representative data load.
Requirements:
- Seed the domain with a representative realistic dataset (minimum: 1,000 party records for identity domains, or equivalent scale for other domains)
- Execute the five most critical queries for this domain under realistic load
- All five queries must return results in under 500ms under this data volume
- Index strategy must be validated (no sequential scans on large tables)
Evidence Required:
- EXPLAIN ANALYZE output for each query
- Query execution times
- Index usage confirmation
Failure Criterion: Any critical query exceeds 500ms, or a sequential scan occurs on a table with more than 100 records.
Source: FOUNDATION_G5_CERTIFICATION_STANDARD.md, Part II Suite 7
§4 — Verification Environment Requirements (VS-004)
Identifier: VS-004 | Version: 1.0 | Date: 2026-06-14 | Authority: R-VARCH (advisory) | Originating Program: CAP028E-B | Status: INSTITUTIONAL STANDARD — Advisory.
§4.1 — Purpose
Define the selection criteria, advantages, disadvantages, and institutional recommendations for VGSF verification database environment strategies. A verification environment is the database infrastructure against which constitutional verification programs execute.
§4.2 — Option A — Per-Domain Isolated Databases
Definition: Each constitutional domain has its own verification database, independent of all other domains.
ref001_verification ← REF001 Identity Domain only
ref002_verification ← REF002 Relationship Domain only
ref003_verification ← REF003 Location Domain only
ref004_verification ← REF004 (future)Advantages:
- Complete isolation — schema changes in one domain cannot affect other domain verification
- Independent timelines — each domain can be verified on its own lifecycle schedule
- Extension isolation — only install the extensions the domain needs (PostGIS only in REF003)
- Simple setup — one domain per database; no coordination between domain teams
- Clean state management — clear which database contains which domain's data
Disadvantages:
- Cross-domain interactions not verifiable (FK references across databases are not enforceable)
- Platform middleware must be tested against each database separately
- Event correlation between domains cannot be end-to-end verified
entity_idUUID space consistency is enforced only at the application layer (no DB-layer FK cross-databases)
Prerequisites:
- None beyond basic PostgreSQL installation
- Domain-specific extensions installed per-database only where needed
Best for: Individual domain certification programs (Phase 5); constitutional maturation era
§4.3 — Option B — Unified vgsf_systems_verification Database
Definition: A single PostgreSQL database containing all domain schemas side by side.
Advantages:
- Cross-domain FKs can be enforced at the DB layer (
entity_idFK from REF003 to REF001.entity) - Platform middleware consistency testable in one environment
- Event correlation testable end-to-end
- Foundation Stack integration tests enabled
- Single database management overhead
Disadvantages:
- Extension conflicts — PostGIS (needed for REF003) must be installed; this affects all schemas
- DDL ordering becomes a dependency graph — REF001 schema must be applied before REF003 if cross-FK is added
- FINDING-R1-001 hazard — PostGIS installed in
postgis_extschema; search_path management across all schemas - FINDING-R1-003 hazard —
geometrytable type collision may affect any schema in the same search_path - RLS policy naming conflicts — requires globally unique policy names across domains (current convention
refNNN_*_*is sufficient) - Verification of one domain can corrupt state for another
- TRUNCATE/DELETE constitutional protection makes shared-database cleanup harder
- Migration coordination required — all domain migrations must be tracked in one system
Prerequisites:
- All domains must have completed individual certification (or be at an advanced stage)
- DDL amendment resolving FINDING-R1-003 (
geometry→place_geometry) MUST be applied - PostGIS schema isolation (
postgis_ext) documented as a deployment standard - All domain RLS policy names confirmed globally unique
Best for: Foundation Stack integration testing AFTER individual domain certifications complete
§4.4 — Option C — Hybrid (Per-Domain + Integration Layer)
Definition: Maintain per-domain isolated databases for individual verification; create a separate integration database only for cross-domain tests.
ref001_verification — REF001 individual certification only
ref002_verification — REF002 individual certification only
ref003_verification — REF003 individual certification only
...
vgsf_integration_verification — Foundation Stack integration tests onlyAdvantages:
- All individual certification continues unaffected by integration concerns
- Integration database is explicitly scoped to integration tests; created only when needed
- PostGIS and other extension isolation challenges are contained to only the databases that need them
- Clear architectural boundary between individual certification and integration certification
- Integration database can be recreated fresh per integration test run
Disadvantages:
- Two separate database environments to maintain
- Some schema setup duplicated (integration DB must install all relevant domain schemas)
- Some test logic may duplicate between individual and integration layers
Prerequisites:
- Two or more foundational domains individually certified
- Foundation Stack Integration Program constituted (Primary Steward authorization required)
Best for: Post-individual-certification era; Foundation Stack Integration Test Program
§4.5 — Selection Algorithm
Q1: Are all foundational REF domains individually certified?
NO → Use Option A (per-domain isolated)
YES → proceed to Q2
Q2: Has the Primary Steward authorized a Foundation Stack Integration Program?
NO → Use Option A (per-domain isolated)
YES → proceed to Q3
Q3: Are all individual domain DDL amendments complete (FINDING-R1-003 resolved)?
NO → Use Option A until amendments are applied; then re-evaluate
YES → proceed to Q4
Q4: Is the integration scope limited to specific cross-domain interactions?
YES → Use Option C (hybrid — existing per-domain DBs + new integration DB)
NO (full system verification intended) → Use Option B (unified DB)§4.6 — Institutional Recommendations by Era
Current Era — Constitutional Maturation (REF003 and earlier)
Recommendation: Option A (per-domain isolated)
Rationale: REF001 and REF002 are individually certified. REF003 is approaching certification. Individual domain certification is the priority. Cross-domain integration concerns are secondary. Option A is sufficient for Phase 5 verification of any individual domain.
Foundation Stack Era — Post-REF003 Certification
Recommendation: Option C (hybrid)
Rationale: After CAP028G (REF003 certification), three foundational domains will be individually certified. Foundation Stack Integration Test Program becomes the appropriate next step. Option C avoids rebuilding existing per-domain verification infrastructure while adding an integration layer.
Future Unified Era — Post-Foundation Stack
Recommendation: Option B (unified)
Rationale: When all foundational domains are certified and Foundation Stack integration is established, a unified database reduces operational overhead and enables end-to-end system testing. This era is not yet constituted — requires Primary Steward authorization.
§4.7 — REF003-Specific Constraints (DOMAIN-CONDITIONAL for PostGIS domains)
Any environment that includes REF003 (current or future) must account for:
FINDING-R1-001: PostGIS must be installed in a dedicated schema (postgis_ext) to avoid name collision with the geometry table. Add to setup documentation:
CREATE SCHEMA postgis_ext;
CREATE EXTENSION postgis SCHEMA postgis_ext;
ALTER DATABASE <dbname> SET search_path = public, postgis_ext;FINDING-R1-003: If the constitutional DDL amendment (rename geometry → place_geometry) has NOT been applied, the column type correction must be applied after DDL:
ALTER TABLE geometry_history ALTER COLUMN geom TYPE postgis_ext.geometry
USING NULL::postgis_ext.geometry;These constraints apply to ALL environment options that include REF003.
§4.8 — Environment Setup Standardization
Each domain's Phase 3 verification architecture SHALL include a canonical environment setup script or document covering:
- Database creation parameters
- Extension installation
- DDL application sequence
- Migration application sequence
- Canonical seed application
- Any domain-specific workarounds (must be documented; should be resolved by DDL amendment)
Environment setup documentation is a Phase 3 deliverable, not an afterthought.
Source: VERIFICATION_ENVIRONMENT_STANDARD.md (VS-004) | 2026-06-14 | CAP028E-B
§5 — Consolidated Prohibitions
Date: 2026-06-14 | Authority: Constitutional Methodology Architect | Originating Program: CAP027A | Status: RATIFIED DOCTRINE
This section consolidates all constitutional prohibitions from REF001 and REF002 into a single authoritative list. Prohibitions are classified by scope: UNIVERSAL (all REF domains), IMPLEMENTATION (implementation teams), DB (database layer), and LIFECYCLE (constitutional process).
§5.1 — Part I: UNIVERSAL PROHIBITIONS (All REF Domains, All Roles)
These prohibitions are derived from the VGSF constitutional framework and confirmed by both REF001 and REF002 lifecycles. They apply to all roles, all programs, and all REF domains.
Constitutional Provision
[PROHIB-U-001: No Application-Layer Entity Filtering]
Application SQL MUST NOT contain
entity_id = $nfilters. Row Level Security is the only authorized entity isolation mechanism.get_entity_scope()SECURITY DEFINER is the only authorized scope-reading mechanism.
Origin: REF001 ADR-001 (CAP023B); CURRENT_ORIENTATION.md PROHIB-001
Consequence of violation: Cross-entity data leakage — constitutional security violation.
Evidence: REF002 middleware correctly applies RLS without application-layer filtering (MW-006 PASS).
Constitutional Provision
[PROHIB-U-002: No Superuser Database Connection in Service Code]
Service layer code MUST NOT use a superuser database role for any operation. The
application_role(or equivalent least-privilege role) MUST be the only connection role in service code.
Origin: REF001 CAP023E PROHIBITION 3 (superuser bypasses RLS); CURRENT_ORIENTATION.md PROHIB-002
Consequence of violation: All RLS policies are bypassed; entity isolation is destroyed.
Evidence: Both REF001 and REF002 implementations use non-superuser connection roles.
Constitutional Provision
[PROHIB-U-003: No Physical Deletion or Deactivation of Constitutional Records]
Service layer code MUST NOT implement any pathway that physically deletes, truncates, or archives-by-removal any constitutional record. Constitutional records are closed by bitemporal operations (valid_to expiry, superseded_at trigger) only.
Origin: REF001 CAP023E PROHIBITION 3; REF002 CAP026C PROHIBITION-3; U2 Doctrine; CURRENT_ORIENTATION.md PROHIB-003
Consequence of violation: Audit trail destroyed; bitemporal history corrupted; constitutional void created.
Evidence: REF002 EX-007, EX-008, EX-009 confirm DB-layer trigger blocks all deletion attempts.
Constitutional Provision
[PROHIB-U-004: No Bypassing Bitemporal Triggers]
Service layer code MUST NOT bypass, disable, or suppress bitemporal triggers. System time (recorded_at, superseded_at) is trigger-owned. No service code may write to system-time columns.
Origin: REF001 PROHIBITION 3 (history immutable); CURRENT_ORIENTATION.md PROHIB-004; REF002 EX-018 (AI-007)
Consequence of violation: Temporal record corrupted; history audit trail invalidated.
Evidence: REF002 EX-018 confirms service code cannot override trigger-written system timestamps.
Constitutional Provision
[PROHIB-U-005: No Modification of Constitutionally Frozen Artifacts Without CAC Authorization]
DDL files in
03_engineering/ddl/*, migration files in03_engineering/migrations/*, and certification artifacts in06_certification/*MUST NOT be modified by any implementation program unless the modification is explicitly authorized by an active constitutional amendment (CAF-001 process) or by a CAC-authorized program.
Origin: REF001 CAP023E PROHIBITION 1 and 2; CLAUDE.md; CURRENT_ORIENTATION.md PROHIB-005
Consequence of violation: Freeze baseline integrity destroyed; certification status suspended; constitutional void created.
Evidence: REF002 CAP026J correctly created new DDL file (013) rather than modifying existing files. No freeze target was modified.
Constitutional Provision
[PROHIB-U-006: No AI Governance Decisions Without Human Confirmation]
AI agents MUST NOT make constitutional governance decisions without human (Primary Steward) authorization. This includes: issuing certification verdicts, authorizing implementation scope, ratifying ambiguity rulings, or overriding any constitutional constraint.
Origin: CURRENT_ORIENTATION.md PROHIB-006; CLAUDE.md role separation law
Consequence of violation: Constitutional act without authority — void ab initio.
Evidence: Every CAP026-series verdict was human-authorized per PROHIB-006. The CAP026D-R1 Primary Steward Decision Instrument was ratified by Primary Steward before cascading into successor programs.
§5.2 — Part II: IMPLEMENTATION PROHIBITIONS (R-IMPL Role Only)
Constitutional Provision
[PROHIB-I-001: No Direct Downstream Domain SQL]
Implementation teams MUST NOT write service layer SQL that queries another REF domain's tables directly. Cross-domain data access MUST go through the other domain's service API or through a constitutionally authorized port.
Origin: REF001 CAP023E PROHIBITION 4
Consequence of violation: Cross-domain SQL coupling creates constitutional boundary violations; changes to one domain's schema break another's service.
Constitutional Provision
[PROHIB-I-002: No Superseded Table References]
Implementation teams MUST NOT write code that references tables, columns, or entities that were superseded by constitutional amendments (e.g., Lineage B tables superseded by Lineage B DDL changes).
Origin: REF001 CAP023E PROHIBITION 5 (Lineage B reference prohibition)
Consequence of violation: Service code references constitutionally void structures.
Constitutional Provision
[PROHIB-I-003: No Unapproved API Additions]
Implementation teams MUST NOT add API endpoints beyond those specified in the RO-series authorized specification without CAC authorization.
Origin: REF001 CAP023E PROHIBITION 6; REF002 CAP026C PROHIBITION-1
Consequence of violation: Unspecified endpoints may expose constitutional risks that bypassed the constitutional review process.
Constitutional Provision
[PROHIB-I-004: No Self-Verification]
An implementation program MUST NOT execute the verification trial protocol and declare a verification verdict. Implementation post-fix tests are evidence only. Only a distinct R-VEXEC program may issue a verification verdict.
Origin: CLAUDE.md role separation law; REF002 corrective cycle doctrine (PP-006)
Consequence of violation: Verification by the party being verified is constitutionally void.
Constitutional Provision
[PROHIB-I-005: No Governance Metadata in Nullable Main-Table Columns]
Governance type-specific metadata MUST NOT be stored as nullable columns on the constitutional main table. Satellite tables (PP-004) are the only authorized storage mechanism for type-specific metadata.
Origin: REF002 AMB-D-002 resolution (R2-A); CAP026J RC-A
Consequence of violation: Main table schema becomes type-conditional; 4NF violated; governance data becomes unqueryable by FK.
§5.3 — Part III: DATABASE LAYER PROHIBITIONS
Constitutional Provision
[PROHIB-DB-001: No DELETE or TRUNCATE Without Trigger Block]
All constitutional tables MUST have BEFORE DELETE and BEFORE STATEMENT TRUNCATE triggers that raise exceptions. The triggers are constitutional backstops — even if the service layer prohibits deletion, the DB trigger is required.
Origin: UP-005; REF002 007_relationship_non_deletion.sql; REF001 comparable triggers
Consequence of violation: Direct DB access (maintenance, scripts, vulnerabilities) can delete constitutional records.
Constitutional Provision
[PROHIB-DB-002: No System-Time Column Modification by Service Code]
recorded_atandsuperseded_at(or equivalent system-time columns) MUST be trigger-owned. No DDL or service code path may allow application code to write to these columns.
Origin: REF002 EX-018; REF001 system-time trigger
Consequence of violation: System time can be backdated, falsified, or corrupted.
Constitutional Provision
[PROHIB-DB-003: No Historical Record Modification]
DB triggers MUST guard against UPDATE on historical records (records with
superseded_at IS NOT NULLor equivalent). Attempting to modify a historical record MUST raise a constitutional violation exception.
Origin: REF002 AI-006 (P1 BLOCKER resolved by RC-C trigger); CAP026H Root Cause C
Consequence of violation: Historical audit trail corrupted; bitemporal model invalidated.
§5.4 — Part IV: LIFECYCLE PROHIBITIONS
Constitutional Provision
[PROHIB-L-001: No Phase Skipping]
Constitutional lifecycle phases MUST be executed in sequence. Phase 2 (Independent Review) MUST precede Phase 3 (Verification Architecture). Phase 3 MUST precede Phase 4 (Implementation). A domain MUST NOT receive certification without completing all prior phases.
Origin: Constitutional lifecycle standard (CONSTITUTIONAL_LIFECYCLE_STANDARD.md)
Consequence of violation: Downstream phases rest on unvalidated assumptions from skipped phases.
Constitutional Provision
[PROHIB-L-002: No Self-Certification]
A program that designed, specified, or implemented any part of a domain MUST NOT certify that domain. Certification requires a distinct R-CERT program that had no role in specification, verification architecture, or implementation.
Origin: CLAUDE.md role separation law; CAP026L charter
Consequence of violation: Self-certification is constitutionally void. The certified artifact remains uncertified.
Constitutional Provision
[PROHIB-L-003: No Evidence Fabrication]
Constitutional programs MUST NOT invent, fabricate, or extrapolate evidence. Test results must come from actual test execution. SQL evidence must come from actual DB queries. If evidence is missing or ambiguous, STOP and issue a clarification report.
Origin: CLAUDE.md: "If ambiguity exists: STOP. Produce a clarification report instead of implementation."
Consequence of violation: Fabricated evidence corrupts the constitutional chain of trust.
Constitutional Provision
[PROHIB-L-004: No P1 BLOCKER Suppression]
A P1 BLOCKER failure MUST trigger VERIFICATION_FAIL regardless of the numeric test score. P1 BLOCKER classifications MUST NOT be downgraded after verification execution. A P1 failure found during re-verification MUST produce VERIFICATION_FAIL even if all other re-verification tests pass.
Origin: CAP026E phase release gate; CAP026K phase re-execution standard
Consequence of violation: Constitutional violations are masked behind numeric pass rates.
Summary Count:
| Category | Count |
|---|---|
| Universal prohibitions (all domains, all roles) | 6 |
| Implementation prohibitions (R-IMPL only) | 5 |
| Database layer prohibitions | 3 |
| Lifecycle prohibitions | 4 |
| Total | 18 |
Source: CONSOLIDATED_PROHIBITIONS.md | 2026-06-14 | CAP027A — Constitutional Methodology Architect
§6 — Universal Practices Catalog (Verification-Relevant Practices)
Date: 2026-06-14 | Authority: Constitutional Methodology Architect | Originating Program: CAP027A | Status: RATIFIED DOCTRINE
Practices are classified by evidence tier:
| Tier | Meaning |
|---|---|
| TIER-1 UNIVERSAL | Confirmed by both REF001 and REF002; no contradictions; mandatory for REF003–REF014 |
| TIER-2 PRESUMPTIVE | Introduced by REF002; no contradicting evidence from REF001; presumptively universal pending confirmation by REF003 |
| TIER-3 DOMAIN-CONDITIONAL | Applies only when domain has specific structural characteristics |
§6.1 — UP-005: No-Delete DB Trigger Layer (TIER-1 UNIVERSAL)
Evidence — REF001: CAP023E PROHIBITION 3 / U2 Doctrine: no physical deletion through any service pathway. prevent_delete_* and prevent_truncate_* triggers enforce at DB layer. CAP023E Code Review Checklist item 9: "Does any code path allow DELETE, UPDATE, or TRUNCATE against REF-001 tables? → Block."
Evidence — REF002: CAP026B confirmed prevent_delete_relationship_edges, prevent_truncate_relationship_edges, prevent_delete_relationship_types, prevent_truncate_relationship_types triggers. CAP026K EX-007, EX-008, EX-009 all PASS. Trigger enforcement confirmed.
Constitutional value: Deletion is irreversible. The constitutional model uses bitemporal close operations (valid_to, superseded_at) to end relationships. Physical deletion bypasses the audit trail and creates constitutional voids.
Mandate for REF003–REF014:
All REF domain schemas MUST have DB-layer no-delete and no-truncate triggers on all constitutional tables. Application-layer prohibitions alone are insufficient. DB triggers are the constitutional backstop. Any code path that issues DELETE or TRUNCATE against a constitutional table is a P1 BLOCKER.
§6.2 — PP-006: Corrective Implementation Distinctness (TIER-2 PRESUMPTIVE → MANDATORY)
Source: CAP026J (distinct from CAP026K); constitutional role separation law
Practice: When a verification program issues VERIFICATION_FAIL, the corrective implementation and re-verification MUST be separate programs with distinct role authorities. The Implementer who made the correction MUST NOT re-verify their own corrections.
Constitutional value: Role separation is a constitutional law. The self-certifying Implementer is the canonical constitutional violation. A corrective loop that merges Implementer and Verifier roles defeats the constitutional guarantee of independent oversight.
Mandate (presumptive → MANDATORY): When any REF domain enters a corrective cycle (VERIFICATION_FAIL), re-verification MUST be a distinct program from the corrective implementation. The Implementer's post-fix tests are evidence, not verification. Only the distinct Verifier's test results count toward the re-verification verdict.
§6.3 — PP-007: Evidence-First Remediation Documentation (TIER-2 PRESUMPTIVE)
Source: CAP026J IMPLEMENTATION_EVIDENCE.md + CAP026K BLOCKER_STATUS_REPORT.md pattern
Practice: For each corrected P1 BLOCKER, BOTH programs produce independent evidence: the corrective program documents what changed; the re-verification program independently observes the corrected behavior. These are separate, cross-verifiable evidence records.
Constitutional value: A single evidence record from the correcting party is insufficient — it cannot distinguish "we tried to fix it" from "it is fixed." Independent observation by the Verifier creates a cross-verifiable chain.
Mandate (presumptive): Corrective programs MUST document each correction with the specific artifact changed and the post-fix test result. Re-verification programs MUST independently observe and document each correction without relying on the corrective program's documentation.
Source: UNIVERSAL_PRACTICES_CATALOG.md | 2026-06-14 | CAP027A — Constitutional Methodology Architect
§7 — The Verification Independence Principle
The constitutional independence of verification from implementation is not merely a best practice — it is a constitutional law derived from the CLAUDE.md role separation doctrine. The following separations are absolute in the verification domain:
R-VARCH ≠ R-VEXEC
R-VEXEC ≠ R-CERT
R-IMPL ≠ R-VEXEC
R-IMPL ≠ R-CERTThe R-VEXEC executor executing Phase 5 did not write the VFs. The R-VEXEC executor follows the VF protocol produced by R-VARCH in Phase 3. The R-CERT certifier evaluating Phase 6 had no role in Phase 3 (VF architecture), Phase 4 (implementation), or Phase 5 (verification execution) for the domain being certified.
This independence is what gives verification its constitutional weight. A domain whose verification was designed, executed, and certified by the same party has produced no independent evidence — it has produced a self-assessment. Constitutional trustworthiness requires independent evidence. Independence requires role separation. Role separation is enforced by the absolute prohibitions in §5.4.
→ See: [PROHIB-L-002] — No self-certification; the certifier must be distinct from the architect, implementer, and verifier.
→ See: [PROHIB-I-004] — No self-verification; the implementer cannot declare a verification verdict.
Constitutional Colophon — V1
This chapter establishes the complete constitutional doctrine of verification: why verification is a constitutional obligation rather than an engineering practice, what categories of Verification Function the constitutional lifecycle requires, what the VO-to-VF chain demands of Phases 1 and 3, what eighteen prohibitions govern all constitutional actors across all domains and roles, and why verification independence is a constitutional law rather than a procedural preference.
It operates within Part E under the governing principle that architectural elegance without independently verifiable evidence is constitutionally insufficient — a principle that makes the entire preceding Book constitutionally incomplete until this Part's standards are applied.
Readers proceeding to V2 (Verification Architecture) should carry forward: the typology of VF categories established in this chapter governs what V2's technical standards must support — mutation testing must detect the attacks enumerated in X3-ATTACK; replay must satisfy the independence principle established in §7; environment assembly must enable the clean isolation mandated by the Independence Principle of §1.4.
