Skip to content

VGSF CONSTITUTIONAL TECHNICAL ARCHITECTURE — BOOK II — PART A: CONSTITUTIONAL DOMAIN MODEL
Chapter 2 of 21 in this Part

T2 — REF002: Relationship Domain

Document record
FieldValue
Constitutional SeriesT — Constitutional Domain Model
Source DocumentFOUNDATION_G35_REF002_RELATIONSHIP_CONSTITUTION.md
Domain IdentifierREF002
ClassificationPRIMITIVE
Schemarelationship
CertifiedCERTIFIED_WITH_OBSERVATIONS (89% — 4.45/5.00; CAP026L; 2026-06-14)
Certifying ProgramCAP026L
Position in BookPart A, Chapter 2 of 21

T1 established Party identity as the irreducible constitutional foundation — the permanent anchor from which all institutional records issue. T2 (REF002 Relationship) establishes how parties are constitutionally related to each other and to institutional structures: every employment, every enrollment, every governance appointment, every family bond is a directed, typed, bitemporal edge in the relationship graph that REF002 constitutes and exclusively owns.


Constitutional Dependencies

Depends OnNature of Dependency
REF001 — Identity/PartyEvery relationship endpoint (subject, object) FK references a valid REF001 Party anchor (identity_records(id)). Dependency direction is REF002 → REF001; REF001 is constitutionally unaware of REF002.
A8 — Canonical Organizational OntologySource of the governance chain, enrollment/participation architecture, and the No-Delete Doctrine that REF002 constitutes as relationship law.
G3A — Organizational Function ArchitectureSource of the Event Approval role matrix and delegation governance that REF002 constitutes as relationship types.
REF008 — Authority (PENDING)Governance role types stored as text codes (Mode B FK) pending the REF008 catalog table (OBS-L-004).

REF002 is a PRIMITIVE domain in the dependency lattice — it sits directly atop REF001 and is consumed by every
downstream domain that needs an authoritative relationship graph (REF007 obligations, REF008 authority, REF009
interactions, REF010 cases, REF014 initiatives). No other domain may maintain a parallel authoritative
relationship registry (Universal Relationship Doctrine, §7.3).

Status

PropertyValue
Certification verdictCERTIFIED_WITH_OBSERVATIONS — 89% (4.45/5.00)
Certifying programCAP026L (R-CERT — distinct from all implementing/verifying programs)
Certification date2026-06-14
ISS statusINSTITUTIONALLY_SELF_SUFFICIENT (CAP036A; 2026-06-16)
Domain PerfectionDOMAIN_PERFECTION_V2_CERTIFIED (CAP029G-B)
Constitutional stateACTIVE — CONSTITUTIONALLY FROZEN (immutable; amendment requires a new program)
Methodology at certificationV2.0 (Phase 0 through Phase 6) — grandfathered under V2.1
Classification triple(PRIMITIVE, Resource (relational), Master) — CAP030B grandfathered, DC-001 triple assigned

Lifecycle programs. REF002 was the FIRST domain certified under the V2.0 lifecycle (ERA_010: CAP026B
through CAP026L). It introduced 7 Presumptive Practices (PP-001..PP-007) that became institutionalized across
all subsequent domains. The pre-V2.0 G-series freeze (G3J FREEZE CERTIFICATE + AMD re-freeze
CAC-REFREEZE-CERT-REF002-2026-001) is preserved in 06_certification/ as historical evidence and as the
precursor to the certified record. The G3G mechanical-execution audit (2026-06-05) returned HARDENING_REQUIRED
for a tsrange()/tstzrange() DDL type mismatch; this was remediated in the V2.0 lifecycle prior to the
CAP026L certification.

Constitutional Note: Domain Numbering

REF002 is the second PRIMITIVE reference domain. It follows REF001 (Identity/Party) because a relationship is
constitutionally a directed association between two REF001 Party anchors — a relationship cannot exist before
the identities it connects. REF002's place in the lattice is therefore fixed: directly above REF001 and below
every domain that consumes relationship facts. This number is canonical per REF_DOMAIN_ROADMAP.yaml (v1.5);
any identity/number conflict is resolved only by Primary Steward ruling reflected in that roadmap (DC-005 AD-1).


1. Domain Purpose

REF002 (Relationship) answers one fundamental question:

What are the constitutional requirements that govern every relationship between Parties and organizational
entities within VGSF — and how is that relationship graph constituted as an independent, bitemporal,
append-only record of institutional fact?

REF001 established that Party identity is the foundation of all institutional records, and declared that
relationships between Parties belong to REF002. G3A established that governance roles, beneficiary enrollment,
donor designation, and participation are constitutionally required relationships. A8 declared the governance
chain, the enrollment and participation architecture, and the No-Delete Doctrine. REF002 is the constitutional
fulfillment of all three: it constitutes the requirements that every system, workflow, report, and governance
process must honor when managing relationships, and it constitutes the relationship architecture (the directed,
typed, bitemporal, contextually scoped edge) that those requirements demand.

REF002 does not design systems, write database schemas, or define API contracts at the charter tier. It
declares what is constitutionally required of any system that manages relationships within VGSF. The certified
02_DOMAIN record additionally carries the executed service, DDL, and verification evidence.


2. Constitutional Scope

2.1 What REF002 Governs

In ScopeNotes
The constitutional definition of RelationshipThe directed, typed, temporally bounded, contextually scoped edge
The Relationship Type RegistryConstitutional rulebook; all recognized relationship types (exhaustive, not exemplary)
Relationship edges (all types)The institutional relationship graph
Endpoint constitutional requirementsWhich REF001 Party types may form which relationships
Cardinality, reciprocity, and exclusivity doctrineConcurrency, symmetry, and conflict-prevention rules
Bitemporal doctrineThe two-axis world-time / system-time model for relationship history
Universal vs. Contextual scope doctrineWhether organizational context is required
The four relationship classesGovernance, Operational, Mission, Social
Relationship governance audit recordsConstitutional records of every create/archive act
Governance satellite routingCFO / DFO / AA / FON / FK / IGO routing (DDL 013)
Relationship authority and conflict resolutionWho may create/archive; how conflicts are resolved
The Universal Relationship DoctrineREF002 as the sole authoritative relationship registry for the ERP

2.2 What REF002 Does NOT Govern

Out of ScopeDomain Owner / Authority
Party identity recordsREF001
Geographic location of partiesREF003
Physical assets linked to relationshipsREF005
Financial obligations arising from relationshipsREF007
Governance workflow execution and approval processesREF008
Personal interactions (visits, counseling)REF009
Case management / service journeysREF010
Written correspondence / communication recordsREF009.C1 (Communication)
Physical database schema, triggers, DDL for edgesG9 / ADR / the certified 02_DOMAIN engineering layer
API contract for relationship queriesREF002 service layer (executed; see 02_DOMAIN §3)

3. Core Constitutional Definition

3.1 What Is a Relationship?

A Relationship is a directed, typed, temporally bounded, contextually scoped association between two Party
entities that constitutes a formal institutional fact.

A Relationship is an independent constitutional entity — not a property of either Party. A relationship edge
exists as a third entity connecting subject and object. Neither Party's identity record changes when a
relationship is created, modified, or archived. This independence is constitutionally required: if REF001
records contained relationship references, then archiving a relationship would require mutating a Party's
identity record, violating REF001 immutability.

A Relationship Type is the formal constitutional declaration that a specific named association between
defined endpoint types is a recognized institutional reality. The Relationship Type is the law; the
Relationship edge is the fact that the law governs.

3.2 Constitutional Properties of Every Relationship

Every valid Relationship has five constitutional dimensions. A relationship missing any of these is
constitutionally incomplete:

DimensionConstitutional MeaningEngineering Anchor (02_DOMAIN)
TypeWhat kind of connection is this? (Registered in the Relationship Type Registry)relationship_types (EI-009)
EndpointsWho are the subject and object? (Both valid REF001 Party anchors)FK exclusively to identity_records(id) (EI-008)
TimeWhen was this relationship true? (valid_from / valid_to, world time)Bitemporal columns (EI-005)
ContextWithin what organizational reality does this exist? (Universal = no context; Contextual = entity required)Registry scope property
AuthorityBy whose governance act was this created? (An authorized Party)acting_authority_guard.py (CR-009)

Engineering invariant table (carried verbatim from the certified 02_DOMAIN record). All 12 invariants are
mechanically enforced at the DB layer and verified PASS in CAP026K (100/110 unconditional tests; 0 P1 failures):

EIInvariantDB EnforcementCAP026K
EI-001Relationship Root Immutabilitytrg_prevent_root_mutationPASS
EI-002Anchor Immutabilitytrg_prevent_anchor_mutationPASS
EI-003Type Immutabilitytrg_prevent_type_mutationPASS
EI-004Directional SingularityGiST exclusion + trg_enforce_symmetryPASS (EX-001–012)
EI-005Relationship Bitemporalityvalid_time columns + system-time triggersPASS
EI-006History Append-Onlyvalidate_relationship_edge() superseded_at guardPASS (AI-006)
EI-007System-Time Ownershiptrg_system_time_insertPASS (EX-018)
EI-008Dependency IsolationFK exclusively to identity_records(id)PASS
EI-009Registry Immutabilitytrg_registry_immutablePASS (RD-001/002/003)
EI-010Symmetric Canonical OrderingSymmetricNormalizer + DB triggerPASS (CR-001–003)
EI-011Extension IndependenceSatellite FK exclusively to relationship_idPASS (GR-001–006)
EI-012No Physical Deletionprevent_delete_* + prevent_truncate_* triggersPASS (EX-007–009)

3.3 Fundamental Rules

RULE-REL-001: Every relationship must reference a type registered in the Relationship Type Registry.

RULE-REL-002: Every relationship must reference valid REF001 Party identity anchors for both subject and
object (EI-008 Dependency Isolation).

RULE-REL-003: Every relationship must have a valid_from date. Undated relationships are constitutionally
incomplete.

RULE-REL-004: Relationship records may not be physically deleted. End-dating is the only constitutional
mechanism for archiving a relationship (EI-012; A8 §10 No-Delete Doctrine).

RULE-REL-005: Every relationship must be created by a Party with constitutional authority for that
relationship type.

RULE-REL-006: The Relationship Type Registry is the supreme constitutional reference for all relationship
governance. No code, no system, and no process may create relationship edges outside the Registry.


4. The Nine Constitutional Relationship Doctrines (R1–R9)

The load-bearing constitutional doctrines of REF002 are the nine invariant doctrines below. Each maps to one or
more mechanically enforced engineering invariants (EI-codes) in the certified 02_DOMAIN record. These doctrines
are immutable; altering any of them requires a formal constitutional amendment (§3.2 Amendment Gate of the
canonical record).

DoctrineNameConstitutional StatementEnforces
R1Relationship Root ImmutabilityThe root identity of a relationship edge (its existence as a distinct entity) may not be mutated after creation.EI-001
R2Anchor ImmutabilityOnce created, a relationship edge's subject and object anchors may not be modified. To "change" an endpoint, the edge is archived and a new edge is created.EI-002
R3Type ImmutabilityA relationship edge's type code may not be modified post-creation. The type is fixed for the life of the edge.EI-003
R4Directional SingularityFor a given subject-object-type-period, no duplicate or temporally overlapping edge may exist; reciprocal direction is recorded, not duplicated. GiST temporal exclusion enforces this.EI-004
R5BitemporalityEvery edge carries two independent temporal axes — world time (valid_from/valid_to) and system time (recorded_at/superseded_at). Reality and recording are recorded separately.EI-005
R6Root Purity (History Append-Only)Relationship history is append-only. Corrections supersede; they never overwrite. The superseded_at guard prevents mutation of historical versions.EI-006
R7Extension IndependenceDomain extensions (governance satellites, employment profiles) attach via satellite tables whose FK references relationship_id only. Extensions never mutate the core edge.EI-011
R8Semantic PreservationRegistry properties that carry constitutional meaning (name, endpoint types, scope, overlap, exclusivity group) are immutable once live edges exist; changing them would silently change the meaning of historical edges. Registry rows are themselves immutable (no delete, no mutation).EI-009
R9State Non-OverlappingNo two edges in the same exclusivity group, for the same subject-object pair, may have overlapping active periods. State transitions are sequential, never concurrent.EI-004 / EI-010

Supporting invariants. R1–R9 are reinforced by EI-007 (System-Time Ownership — system time is trigger-owned,
never client-set), EI-008 (Dependency Isolation — endpoints FK only to identity_records), EI-010 (Symmetric
Canonical Ordering — subject_id < object_id normalization for symmetric edges), and EI-012 (No Physical
Deletion — the universal No-Delete trigger family on all tables).


5. Relationship Architecture

5.1 The Relationship Type Registry

The Relationship Type Registry is the constitutional rulebook for the entire relationship graph. No relationship
edge may exist for a type not registered in the Registry. The Registry is exhaustive — it is not a partial list
of examples.
The Registry declares, for each type:

Registry PropertyConstitutional Meaning
Type codePermanent immutable identifier (R3)
NameConstitutional name (immutable once live edges exist — R8)
Subject endpoint typeWhich REF001 Party types may be the subject
Object endpoint typeWhich REF001 Party types may be the object
Reciprocal type codeThe type representing this relationship in reverse
Universal scopeTRUE = no context required; FALSE = context required
Temporal overlapWhether concurrent active edges are permitted for the same subject-object pair
Exclusivity groupTypes that cannot temporally overlap for the same subject-object pair (R9)
Context matches objectWhether context must equal the object Party
Authority levelMinimum governance level to create/archive

Relationship Type Governance Rules:

RULE-RT-001: Every registered type must have a reciprocal type code. Symmetric relationships use the same
type code as their own reciprocal.

RULE-RT-002: Type properties are immutable once the type has live edges (R8). Modification requires retiring
the existing type and registering a new one.

RULE-RT-003: A retired type may not be re-activated. It is preserved in the Registry in RETIRED status for
historical reference (EI-009).

RULE-RT-004: Only the constitutional authority (CAC / governance gate, ENDPOINT-008 with MW-4 governance
role gate) may approve additions to or retirements from the Registry.

5.2 The Bitemporal Model (R5, R6)

Every relationship edge is governed by two independent temporal axes:

AxisColumnsMeaning
World Time (reality)valid_from, valid_toWhen the relationship was true in the real world (valid_to = NULL = active)
System Time (recording)recorded_at, superseded_atWhen this version was recorded / superseded (superseded_at = NULL = current version)

Constitutional implications:

  • Historical truth queries ("What relationships were active on 1 Jan 2020?") use world time only.
  • Audit queries ("What did the system believe on 15 Mar 2024?") use system time only.
  • Data corrections supersede the old record; both versions are preserved, neither is deleted (R6).

RULE-LC-001: Back-dating is permitted. valid_from records when the relationship became true in reality,
not when it was entered. Pre-system historical relationships may be entered with their correct real-world dates.

RULE-LC-002: Archival sets valid_to to the date the relationship ended in reality; this may be back-dated.

RULE-LC-003: No physical deletion of edges is permitted (R6, EI-012; A8 §10).

RULE-LC-004: Corrections supersede — they do not overwrite. A corrected record is created; the incorrect
record is preserved with superseded_at set (R6, EI-006).

5.3 Symmetric Canonical Ordering (R4, R9 / EI-010)

Every symmetric relationship edge is normalized so that subject_id < object_id (canonical ordering via
SymmetricNormalizer, enforced by DB trigger). The direction column distinguishes FORWARD from REVERSE
traversal. This enables bidirectional graph traversal without duplicate edges, and is the mechanical basis
for Directional Singularity (R4).

5.4 The Exclusivity Model (R9)

Some relationship types cannot temporally overlap for the same subject-object pair. Exclusivity is governed by
the exclusivity_group property in the Registry.

Constitutional statement: Two edges with the same subject, the same object, and the same exclusivity group
may not have overlapping active periods.

Example: CURRENT_SPOUSE and FORMER_SPOUSE both belong to GRP_SPOUSAL_BOND. A person may not be both
of the same person simultaneously. CURRENT_SPOUSE is archived (valid_to set) before FORMER_SPOUSE begins.

RULE-EX-001: Exclusivity enforcement is constitutional, not merely a database constraint. Even if a system
fails to enforce it technically, a record set that violates exclusivity is constitutionally invalid and requires
conflict resolution (§7.4).

5.5 Governance Satellite Routing (R7 / EI-011)

Governance relationships route to extension satellites that attach to the core edge via a FK that references
relationship_id only — never mutating the core edge (Extension Independence, R7). Six satellites are routed
via DDL 013: CFO, DFO, AA, FON, FK, IGO. The DFO+FON pair is FK-atomic (GR-005). IGO carries an INSERT
guard (trg_block_igo_insert, GR-006). All six were P1 BLOCKERs (GR-001..GR-006) in CAP026H and resolved by
CAP026J, re-verified PASS in CAP026K.


6. Relationship Lifecycle

6.1 The Two Lifecycle States

StateConditionMeaning
ACTIVEvalid_from set; valid_to is NULLCurrently true in the real world
ARCHIVEDvalid_to set with a past dateWas true; no longer active

There is no DELETE state. Deletion is constitutionally prohibited (R6, EI-012). The state machine is governed by
the bitemporal model (§5.2): an edge is created ACTIVE via POST /relationships, archived via
PATCH /relationships/{id}/expire (sets valid_to), and corrected by supersession (a new version with the prior
version's superseded_at set). No transition deletes or overwrites a prior version.

6.2 The Four Constitutional Relationship Classes

REF002 recognizes exactly four classes of relationship. Each is governed by the same core invariants (R1–R9)
and differs only in endpoints, scope, exclusivity, and creating authority.

6.2.1 Governance Class

Governance relationships are the constitutional expression of the authority chain declared in A8. Each connects
a NATURAL_PERSON (role holder) to an organizational entity. They are exclusive (one active of each type per
entity), contextual (organizational context required), authority-governed (created only by superior
governance authority), and formally recorded (free-text names are constitutionally insufficient).

Type CodeSubjectObjectExclusiveCreating Authority
BOARD_MEMBERSHIPPERSONInstitutionPer seatBoard
PILLAR_LEADERSHIPPERSONPillarYES — one activeBoard
DEPARTMENT_LEADERSHIPPERSONDepartmentYES — one activePillar Head
DIVISION_LEADERSHIPPERSONDivisionYES — one activeDepartment Head
INITIATIVE_STEWARDSHIPPERSONInitiativeYES — one activeDivision Head
PROJECT_MANAGEMENTPERSONProjectYES — one activeInitiative Steward
EVENT_APPROVAL_AUTHORITYPERSONScopeNO — multipleDivision Head

RULE-GOV-001: Every active organizational entity must have an associated active governance relationship. A
Department without a DEPARTMENT_LEADERSHIP edge is DORMANT, not ACTIVE.

RULE-GOV-002: Governance role transitions must be recorded without gap — the departing edge is archived
before or concurrent with the new edge's creation (R9 sequential transition).

RULE-GOV-003: No governance role may exist without a formally recorded edge. Free-text "Department Head:
[Name]" is constitutionally insufficient — the Party identity FK is authoritative.

RULE-GOV-004: EVENT_APPROVAL_AUTHORITY may be delegated by Division Head to a subordinate Party, recorded as
an AUTHORITY_DELEGATION edge scoped by entity, Event type, and time period.

6.2.2 Operational Class

Operational relationships connect Persons to the institution's operational machinery — how work is authorized,
assigned, and accounted for.

Type CodeSubjectObjectExclusiveCreating Authority
EMPLOYMENTPERSONInstitutionOne per entityHR Officer
VOLUNTEER_ASSIGNMENTPERSONDivision/ProjectNODivision Head / PM
EVENT_ORGANIZER_ASSIGNMENTPERSONEventYES — one activeProject Manager
REPORTING_TOPERSONPERSONOne primary activeDepartment Head
AUTHORITY_DELEGATIONPERSONPERSONNO (multiple)Delegator

RULE-OPS-001: EMPLOYMENT establishes that a person is Staff (ROLE-OPS-STAFF per G3.5 REF001 §5).

RULE-OPS-002: VOLUNTEER_ASSIGNMENT is temporal — an expired assignment means the person is not currently a
volunteer.

RULE-OPS-003: The REPORTING_TO chain follows the organizational hierarchy (Division Head → Department Head
→ Pillar Head → Board). Cross-Pillar reporting requires explicit CAC authorization.

RULE-OPS-004: AUTHORITY_DELEGATION edges must carry delegation scope (which types, which entities, which
period). A delegation without scope is constitutionally invalid.

Employment Extension Profile (R7 / OBS-L-001 — AUTHORIZED_NOT_EXECUTED). An employment extension profile
(satellite, Extension Independence) is specified (ENDPOINT-009/010; tests EP-001..EP-010) but cannot deploy
until the R1-B CAF amendment translates the employment_relationship_profile DDL from Lineage A to Lineage B
naming. Until then, certification remains CERTIFIED_WITH_OBSERVATIONS (§ Status; canonical §7.1).

6.2.3 Mission Class

Mission relationships connect Parties to the organizational execution chain (Initiatives, Projects, Events) —
how VGSF's civilizational mission reaches individual human beings.

Type CodeSubjectObjectExclusiveCreating Authority
BENEFICIARY_ENROLLMENTPERSONInitiativeNO — multipleData Registrar
DONOR_DESIGNATIONAny PartyInitiativeNO — multipleFinance Officer
EVENT_PARTICIPATIONPERSONEventN/A (per event)Field Staff
ASSET_ASSIGNMENTInitiativeAssetYES — one InitiativeFinance Officer

BENEFICIARY_ENROLLMENT: Subject = NATURAL_PERSON only; Object = Initiative (not Project/Event/Division).
RULE-BEN-001: Beneficiary reach reporting uses BENEFICIARY_ENROLLMENT edges as the counting unit,
deduplicated by subject Party. RULE-BEN-002: Concurrent enrollment in multiple Initiatives is valid;
deduplication occurs only at reporting level. RULE-BEN-003: An EVENT_PARTICIPATION edge with
Role=BENEFICIARY must be linkable to an active BENEFICIARY_ENROLLMENT for the Initiative to which the Event's
Project belongs.

DONOR_DESIGNATION: Subject = any Party; Object = Initiative (the donor funds the mission, carried as an
edge property = amount). RULE-DON-001: Designation is at Initiative level — a donation to "Project
SJA-PAL-2026" is attributed to Initiative SJA. RULE-DON-002: The designation persists across all Projects
under the Initiative.

EVENT_PARTICIPATION: Subject = NATURAL_PERSON only; Object = Event (must be APPROVED); carries a
participation role (BENEFICIARY / VOLUNTEER / STAFF / OBSERVER / OTHER). RULE-PART-001 (Event Approval
Doctrine):
No EVENT_PARTICIPATION edge may be created against an Event in DRAFT, PENDING, or REJECTED status.
RULE-PART-002: Every edge must carry a participation role. RULE-PART-003: EVENT_PARTICIPATION edges are
never deleted — they are the constitutional evidence of service delivery, archived with the Event (R6).

6.2.4 Social Class

Social relationships are universal — they exist in human reality independent of any organization. REF002 records
them as institutional knowledge, enabling the institution to understand the social context of the people it
serves (household vulnerability profile; family network scope of impact; guardian-of-record; community context).

Type CodeSubjectObjectScopeExclusive
PARENT_OFPERSONPERSONUniversalNO
CHILD_OFPERSONPERSONUniversalNO (reciprocal of PARENT_OF)
CURRENT_SPOUSEPERSONPERSONUniversalYES (exclusivity group)
FORMER_SPOUSEPERSONPERSONUniversalSequential (after CURRENT_SPOUSE)
SIBLING_OFPERSONPERSONUniversalNO (symmetric)
GUARDIAN_OFPERSONPERSONUniversal/ContextualNO
WARD_OFPERSONPERSONUniversal/ContextualNO (reciprocal)
FAMILY_MEMBER_OFPERSONFAMILYUniversalNO
HAS_FAMILY_MEMBERFAMILYPERSONUniversalNO (reciprocal)
HOUSEHOLD_MEMBER_OFPERSONHOUSEHOLDContextualRestricted
HEAD_OF_HOUSEHOLDPERSONHOUSEHOLDContextualYES
COMMUNITY_MEMBER_OFPERSONCommunityContextualNO

RULE-SOC-001: Social relationships are records of real-world facts, not institutional designations. The
institution records an existing family; it does not create one.

RULE-SOC-002: CURRENT_SPOUSE and FORMER_SPOUSE share exclusivity group GRP_SPOUSAL_BOND (R9). Divorce
transitions the relationship: CURRENT_SPOUSE is archived; FORMER_SPOUSE begins.

RULE-SOC-003: GUARDIAN_OF is the constitutional basis for determining whom the institution contacts
regarding a dependent beneficiary; any communication/consent/authorization involving a minor must trace through
an active GUARDIAN_OF edge.

RULE-SOC-004: COMMUNITY_MEMBER_OF is the constitutional basis for geographic impact reporting.

6.3 Constitutional Endpoint Type Matrix

Endpoint PairApplicable Relationship Classes
NATURAL_PERSON ↔ NATURAL_PERSONSocial (family, kinship); Mentoring; Reporting; Authority delegation
NATURAL_PERSON → ORGANIZATIONEmployment; Governance roles; Volunteer; Donor
NATURAL_PERSON → Pillar/Dept/Division/Initiative/Project/EventGovernance leadership; Initiative stewardship; Event participation; Enrollment
ORGANIZATION → ORGANIZATIONFederation membership; Subsidiary; Partnership
Any Party → InitiativeBeneficiary enrollment; Donor designation
NATURAL_PERSON → FAMILYFamily membership
NATURAL_PERSON → HOUSEHOLDHousehold membership
NATURAL_PERSON → Community UnitCommunity membership

RULE-EP-001: Every endpoint must reference a valid REF001 Party anchor (EI-008). RULE-EP-002: Each
endpoint's REF001 Party type must satisfy the type's endpoint rules; mismatched types are invalid.
RULE-EP-003: A Party may not form a relationship with itself — reflexive edges are prohibited.


7. Governance & Authority

7.1 The Governance Cascade

Authority to create and archive relationships flows through the organizational hierarchy:

Board
  ↓ (may create PILLAR_LEADERSHIP; all constitutional relationships)
Pillar Head
  ↓ (may create DEPARTMENT_LEADERSHIP)
Department Head
  ↓ (may create DIVISION_LEADERSHIP)
Division Head
  ↓ (may create INITIATIVE_STEWARDSHIP; may delegate EVENT_APPROVAL_AUTHORITY)
Initiative Steward
  ↓ (may create PROJECT_MANAGEMENT)
Project Manager
  ↓ (may create EVENT_ORGANIZER_ASSIGNMENT)
Data Registrar / Field Staff
  ↓ (may create BENEFICIARY_ENROLLMENT, FAMILY, HOUSEHOLD, EVENT_PARTICIPATION)

7.2 Authority Enforcement (Service Layer, certified 02_DOMAIN)

The certified service enforces authority through an 8-layer middleware stack: MW-2 JWT authentication
(fail-closed → 401); MW-3 entity scope via SET LOCAL entity_id (fail-closed → 403); MW-4 Governance Role Gate
on ENDPOINT-008 (fail-closed → 403); MW-5 RLS enforcement (PostgreSQL, fail-closed). RLS model: global read
for all authenticated users; entity-scoped write restricted to the JWT entity scope; governance gate on
registry deactivation. The acting_authority_guard.py enforces that every create/archive carries a valid acting
authority (CR-009 resolution).

7.3 The Universal Relationship Doctrine

REF002 is the universal relationship authority for the entire VGSF ERP. Every relationship between any two
entities involving Party identity must be recorded through REF002. No other domain may maintain an authoritative
relationship registry.
Downstream domains consume relationship data from REF002; they do not maintain parallel
registries.

7.4 Conflict Resolution

Conflict TypeConstitutional MeaningExample
Exclusivity conflictTwo edges in the same exclusivity group overlap for the same pairCURRENT_SPOUSE + FORMER_SPOUSE simultaneously active
Hierarchical exclusive conflictAn entity assigned to two exclusive parentsDepartment in two Pillars
Authority exclusive conflictTwo Parties hold the same exclusive governance role concurrentlyTwo simultaneous Department Heads
Endpoint type conflictAn edge endpoint type violates the type's endpoint rulesFAMILY recorded as STAFF_OF
Bypass conflictAn entity related through a non-constitutional pathInitiative references Department directly instead of Division

Resolution protocol: (1) Detection — system flags at creation (blocked) or audit; (2) Classification by a
governance officer; (3) Determination by evidence review; (4) Resolution — incorrect record archived and
superseded, correct record retained/created; (5) Documentation — permanently recorded.

RULE-CONF-001: Conflict resolution may never delete a relationship record — all historical versions,
including conflicting ones, are preserved (R6). RULE-CONF-002: Automated conflict resolution without human
authorization is prohibited. RULE-CONF-003: Conflict resolution is a governance event; the resolving
officer's identity and authority basis must be recorded.

RULE-GOV-AUD-001: Governance audit records for relationship actions are themselves constitutional records
under the No-Delete Doctrine and may not be deleted.


8. Cross-Domain Constitutional References

DomainReference RelationshipDirection / Co-deploy Note
REF001 — IdentityEvery endpoint FK → identity_records(id) (EI-008)REF002 → REF001. REF001 is unaware of REF002. RULE-OWN-001: REF001 records contain no references to REF002 edges.
REF003 — PlaceGeographic Party-Place relationships are REF003's, not REF002'sBoundary; REF002 does not record geography
REF005 — ResourceASSET_ASSIGNMENT references an Asset (REF005)REF002 records the assignment edge; REF005 owns the asset
REF007 — ObligationFinancial obligations arising from relationshipsREF007 owns obligations; REF002 owns the relationship that may give rise to them
REF008 — Authority (PENDING)Governance role types stored as text codes (Mode B FK, PROHIB-8)Co-deploy: upon REF008, migrate governance role references to FK (OBS-L-004)
REF009 — InteractionPersonal interactions (visits, counseling)REF009 owns interactions; REF002 owns the relationship context
REF009.C1 — CommunicationWritten correspondenceREF009.C1 owns communication records
REF010 — CaseService journeysREF010 owns cases; consumes REF002 relationship facts
REF014 — InitiativeBENEFICIARY_ENROLLMENT / DONOR_DESIGNATION object = InitiativeConsumes REF002 mission edges

A8 → REF002 derivation (preserved): RULE-DEPT-1 → DEPARTMENT_MEMBERSHIP (exclusive); RULE-DIV-1 →
DIVISION_MEMBERSHIP (exclusive); RULE-INIT-1 → DIVISION_ANCHOR (exclusive); RULE-DEPT-2 → DEPARTMENT_LEADERSHIP;
A8 §6 → BENEFICIARY_ENROLLMENT + DONOR_DESIGNATION; A8 §8 → EVENT_PARTICIPATION with Event Approval Doctrine;
A8 §10 → No-Delete (RULE-REL-004, RULE-LC-003); A8 §11 → Governance Cascade (§7.1); A8 §12 → AUTHORITY_DELEGATION.

G3A → REF002 derivation (preserved): Event Approval role matrix (7 roles) → the seven Governance-class type
codes; "governance role must be formally recorded" → RULE-GOV-003; delegation governance → AUTHORITY_DELEGATION
with scope; reporting chain → REPORTING_TO; Initiative Steward → INITIATIVE_STEWARDSHIP.

REF001 → REF002 fulfillment (preserved): REF001 §6's six required relationship types are fulfilled —
REL-BEN-ENROLL → BENEFICIARY_ENROLLMENT; REL-DON-DESIG → DONOR_DESIGNATION; REL-GOV-ROLE → the Governance class;
REL-EMPLOY → EMPLOYMENT; REL-VOL-ASSIGN → VOLUNTEER_ASSIGNMENT; REL-PART-EVENT → EVENT_PARTICIPATION.


9. Constitutional Invariants Summary

The load-bearing constitutional invariants of REF002, in compact form:

  1. R1 — Relationship Root Immutability: an edge's root identity is immutable post-creation (EI-001).
  2. R2 — Anchor Immutability: subject/object anchors are immutable post-creation; "change" = archive + new edge (EI-002).
  3. R3 — Type Immutability: an edge's type code is fixed for its life (EI-003).
  4. R4 — Directional Singularity: no duplicate or temporally overlapping edge per subject-object-type-period; reciprocal is recorded, not duplicated (EI-004).
  5. R5 — Bitemporality: two independent axes — world time and system time — recorded separately (EI-005).
  6. R6 — Root Purity (History Append-Only): corrections supersede, never overwrite; no physical deletion (EI-006, EI-012).
  7. R7 — Extension Independence: extensions attach via satellites whose FK is relationship_id only; the core edge is never mutated (EI-011).
  8. R8 — Semantic Preservation: meaning-bearing registry properties are immutable once live edges exist; registry rows are themselves immutable (EI-009).
  9. R9 — State Non-Overlapping: no two edges in the same exclusivity group for the same pair may overlap; transitions are sequential (EI-004 / EI-010).
  10. Endpoint Isolation: endpoints FK exclusively to identity_records(id) — REF002 depends on REF001, never the reverse (EI-008; RULE-OWN-001).
  11. System-Time Ownership: recorded_at / superseded_at are trigger-owned, never client-set (EI-007).
  12. Symmetric Canonical Ordering: symmetric edges normalized to subject_id < object_id for duplicate-free bidirectional traversal (EI-010).
  13. Registry Supremacy: no edge may exist for an unregistered type; the Registry is exhaustive (RULE-REL-006, EI-009).
  14. Universal Relationship Doctrine: REF002 is the sole authoritative relationship registry for the ERP (§7.3).
  15. No-Delete Doctrine: no edge, type, or audit record may be physically deleted; TRUNCATE is prohibited (EI-012; PROHIB-1..3).

All 12 engineering invariants (EI-001..EI-012) are mechanically enforced at the DB layer and verified PASS in
CAP026K (100/110 unconditional tests; 0 P1 failures). The remaining gap to full CERTIFIED is the
AUTHORIZED_NOT_EXECUTED Category G (employment extension profile, EP-001..EP-010), gated on the R1-B CAF
amendment (OBS-L-001). On any conflict between this charter and the certified record, the
02_DOMAIN/REF-002/DOMAIN_CONSTITUTION.md + REF_DOMAIN_ROADMAP.yaml govern.


Constitutional Colophon — T2
This chapter establishes that every institutional relationship — governance, operational, mission, and social
— is a directed, typed, bitemporal edge that exists as an independent constitutional entity in REF002's
exclusively owned relationship registry, and may not be physically deleted under any circumstance.
It operates within Part A under the governing principle that the thirteen base domains are the
irreducible categories of institutional reality — no action, record, resource, or obligation of
VGSF may exist outside one of these domains.
Readers proceeding to T3 (REF003 — Place) should carry forward:
the relationship graph governs associations between parties but does not record where those parties exist
geographically — that sovereign domain, the irreducible WHERE of VGSF's institutional world, is
constituted by REF003.


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.