VGSF CONSTITUTIONAL TECHNICAL ARCHITECTURE — BOOK II — PART A: CONSTITUTIONAL DOMAIN MODEL
Chapter 2 of 21 in this Part
T2 — REF002: Relationship Domain
Document record
| Field | Value |
|---|---|
| Constitutional Series | T — Constitutional Domain Model |
| Source Document | FOUNDATION_G35_REF002_RELATIONSHIP_CONSTITUTION.md |
| Domain Identifier | REF002 |
| Classification | PRIMITIVE |
| Schema | relationship |
| Certified | CERTIFIED_WITH_OBSERVATIONS (89% — 4.45/5.00; CAP026L; 2026-06-14) |
| Certifying Program | CAP026L |
| Position in Book | Part 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 On | Nature of Dependency |
|---|---|
| REF001 — Identity/Party | Every 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 Ontology | Source of the governance chain, enrollment/participation architecture, and the No-Delete Doctrine that REF002 constitutes as relationship law. |
| G3A — Organizational Function Architecture | Source 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
| Property | Value |
|---|---|
| Certification verdict | CERTIFIED_WITH_OBSERVATIONS — 89% (4.45/5.00) |
| Certifying program | CAP026L (R-CERT — distinct from all implementing/verifying programs) |
| Certification date | 2026-06-14 |
| ISS status | INSTITUTIONALLY_SELF_SUFFICIENT (CAP036A; 2026-06-16) |
| Domain Perfection | DOMAIN_PERFECTION_V2_CERTIFIED (CAP029G-B) |
| Constitutional state | ACTIVE — CONSTITUTIONALLY FROZEN (immutable; amendment requires a new program) |
| Methodology at certification | V2.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 Scope | Notes |
|---|---|
| The constitutional definition of Relationship | The directed, typed, temporally bounded, contextually scoped edge |
| The Relationship Type Registry | Constitutional rulebook; all recognized relationship types (exhaustive, not exemplary) |
| Relationship edges (all types) | The institutional relationship graph |
| Endpoint constitutional requirements | Which REF001 Party types may form which relationships |
| Cardinality, reciprocity, and exclusivity doctrine | Concurrency, symmetry, and conflict-prevention rules |
| Bitemporal doctrine | The two-axis world-time / system-time model for relationship history |
| Universal vs. Contextual scope doctrine | Whether organizational context is required |
| The four relationship classes | Governance, Operational, Mission, Social |
| Relationship governance audit records | Constitutional records of every create/archive act |
| Governance satellite routing | CFO / DFO / AA / FON / FK / IGO routing (DDL 013) |
| Relationship authority and conflict resolution | Who may create/archive; how conflicts are resolved |
| The Universal Relationship Doctrine | REF002 as the sole authoritative relationship registry for the ERP |
2.2 What REF002 Does NOT Govern
| Out of Scope | Domain Owner / Authority |
|---|---|
| Party identity records | REF001 |
| Geographic location of parties | REF003 |
| Physical assets linked to relationships | REF005 |
| Financial obligations arising from relationships | REF007 |
| Governance workflow execution and approval processes | REF008 |
| Personal interactions (visits, counseling) | REF009 |
| Case management / service journeys | REF010 |
| Written correspondence / communication records | REF009.C1 (Communication) |
| Physical database schema, triggers, DDL for edges | G9 / ADR / the certified 02_DOMAIN engineering layer |
| API contract for relationship queries | REF002 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:
| Dimension | Constitutional Meaning | Engineering Anchor (02_DOMAIN) |
|---|---|---|
| Type | What kind of connection is this? (Registered in the Relationship Type Registry) | relationship_types (EI-009) |
| Endpoints | Who are the subject and object? (Both valid REF001 Party anchors) | FK exclusively to identity_records(id) (EI-008) |
| Time | When was this relationship true? (valid_from / valid_to, world time) | Bitemporal columns (EI-005) |
| Context | Within what organizational reality does this exist? (Universal = no context; Contextual = entity required) | Registry scope property |
| Authority | By 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):
| EI | Invariant | DB Enforcement | CAP026K |
|---|---|---|---|
| EI-001 | Relationship Root Immutability | trg_prevent_root_mutation | PASS |
| EI-002 | Anchor Immutability | trg_prevent_anchor_mutation | PASS |
| EI-003 | Type Immutability | trg_prevent_type_mutation | PASS |
| EI-004 | Directional Singularity | GiST exclusion + trg_enforce_symmetry | PASS (EX-001–012) |
| EI-005 | Relationship Bitemporality | valid_time columns + system-time triggers | PASS |
| EI-006 | History Append-Only | validate_relationship_edge() superseded_at guard | PASS (AI-006) |
| EI-007 | System-Time Ownership | trg_system_time_insert | PASS (EX-018) |
| EI-008 | Dependency Isolation | FK exclusively to identity_records(id) | PASS |
| EI-009 | Registry Immutability | trg_registry_immutable | PASS (RD-001/002/003) |
| EI-010 | Symmetric Canonical Ordering | SymmetricNormalizer + DB trigger | PASS (CR-001–003) |
| EI-011 | Extension Independence | Satellite FK exclusively to relationship_id | PASS (GR-001–006) |
| EI-012 | No Physical Deletion | prevent_delete_* + prevent_truncate_* triggers | PASS (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).
| Doctrine | Name | Constitutional Statement | Enforces |
|---|---|---|---|
| R1 | Relationship Root Immutability | The root identity of a relationship edge (its existence as a distinct entity) may not be mutated after creation. | EI-001 |
| R2 | Anchor Immutability | Once 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 |
| R3 | Type Immutability | A relationship edge's type code may not be modified post-creation. The type is fixed for the life of the edge. | EI-003 |
| R4 | Directional Singularity | For 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 |
| R5 | Bitemporality | Every 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 |
| R6 | Root 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 |
| R7 | Extension Independence | Domain extensions (governance satellites, employment profiles) attach via satellite tables whose FK references relationship_id only. Extensions never mutate the core edge. | EI-011 |
| R8 | Semantic Preservation | Registry 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 |
| R9 | State Non-Overlapping | No 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 Property | Constitutional Meaning |
|---|---|
| Type code | Permanent immutable identifier (R3) |
| Name | Constitutional name (immutable once live edges exist — R8) |
| Subject endpoint type | Which REF001 Party types may be the subject |
| Object endpoint type | Which REF001 Party types may be the object |
| Reciprocal type code | The type representing this relationship in reverse |
| Universal scope | TRUE = no context required; FALSE = context required |
| Temporal overlap | Whether concurrent active edges are permitted for the same subject-object pair |
| Exclusivity group | Types that cannot temporally overlap for the same subject-object pair (R9) |
| Context matches object | Whether context must equal the object Party |
| Authority level | Minimum 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:
| Axis | Columns | Meaning |
|---|---|---|
| World Time (reality) | valid_from, valid_to | When the relationship was true in the real world (valid_to = NULL = active) |
| System Time (recording) | recorded_at, superseded_at | When 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 viaSymmetricNormalizer, 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 referencesrelationship_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
| State | Condition | Meaning |
|---|---|---|
| ACTIVE | valid_from set; valid_to is NULL | Currently true in the real world |
| ARCHIVED | valid_to set with a past date | Was 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 viaPATCH /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 Code | Subject | Object | Exclusive | Creating Authority |
|---|---|---|---|---|
| BOARD_MEMBERSHIP | PERSON | Institution | Per seat | Board |
| PILLAR_LEADERSHIP | PERSON | Pillar | YES — one active | Board |
| DEPARTMENT_LEADERSHIP | PERSON | Department | YES — one active | Pillar Head |
| DIVISION_LEADERSHIP | PERSON | Division | YES — one active | Department Head |
| INITIATIVE_STEWARDSHIP | PERSON | Initiative | YES — one active | Division Head |
| PROJECT_MANAGEMENT | PERSON | Project | YES — one active | Initiative Steward |
| EVENT_APPROVAL_AUTHORITY | PERSON | Scope | NO — multiple | Division 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 Code | Subject | Object | Exclusive | Creating Authority |
|---|---|---|---|---|
| EMPLOYMENT | PERSON | Institution | One per entity | HR Officer |
| VOLUNTEER_ASSIGNMENT | PERSON | Division/Project | NO | Division Head / PM |
| EVENT_ORGANIZER_ASSIGNMENT | PERSON | Event | YES — one active | Project Manager |
| REPORTING_TO | PERSON | PERSON | One primary active | Department Head |
| AUTHORITY_DELEGATION | PERSON | PERSON | NO (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 Code | Subject | Object | Exclusive | Creating Authority |
|---|---|---|---|---|
| BENEFICIARY_ENROLLMENT | PERSON | Initiative | NO — multiple | Data Registrar |
| DONOR_DESIGNATION | Any Party | Initiative | NO — multiple | Finance Officer |
| EVENT_PARTICIPATION | PERSON | Event | N/A (per event) | Field Staff |
| ASSET_ASSIGNMENT | Initiative | Asset | YES — one Initiative | Finance 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 Code | Subject | Object | Scope | Exclusive |
|---|---|---|---|---|
| PARENT_OF | PERSON | PERSON | Universal | NO |
| CHILD_OF | PERSON | PERSON | Universal | NO (reciprocal of PARENT_OF) |
| CURRENT_SPOUSE | PERSON | PERSON | Universal | YES (exclusivity group) |
| FORMER_SPOUSE | PERSON | PERSON | Universal | Sequential (after CURRENT_SPOUSE) |
| SIBLING_OF | PERSON | PERSON | Universal | NO (symmetric) |
| GUARDIAN_OF | PERSON | PERSON | Universal/Contextual | NO |
| WARD_OF | PERSON | PERSON | Universal/Contextual | NO (reciprocal) |
| FAMILY_MEMBER_OF | PERSON | FAMILY | Universal | NO |
| HAS_FAMILY_MEMBER | FAMILY | PERSON | Universal | NO (reciprocal) |
| HOUSEHOLD_MEMBER_OF | PERSON | HOUSEHOLD | Contextual | Restricted |
| HEAD_OF_HOUSEHOLD | PERSON | HOUSEHOLD | Contextual | YES |
| COMMUNITY_MEMBER_OF | PERSON | Community | Contextual | NO |
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 Pair | Applicable Relationship Classes |
|---|---|
| NATURAL_PERSON ↔ NATURAL_PERSON | Social (family, kinship); Mentoring; Reporting; Authority delegation |
| NATURAL_PERSON → ORGANIZATION | Employment; Governance roles; Volunteer; Donor |
| NATURAL_PERSON → Pillar/Dept/Division/Initiative/Project/Event | Governance leadership; Initiative stewardship; Event participation; Enrollment |
| ORGANIZATION → ORGANIZATION | Federation membership; Subsidiary; Partnership |
| Any Party → Initiative | Beneficiary enrollment; Donor designation |
| NATURAL_PERSON → FAMILY | Family membership |
| NATURAL_PERSON → HOUSEHOLD | Household membership |
| NATURAL_PERSON → Community Unit | Community 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 Type | Constitutional Meaning | Example |
|---|---|---|
| Exclusivity conflict | Two edges in the same exclusivity group overlap for the same pair | CURRENT_SPOUSE + FORMER_SPOUSE simultaneously active |
| Hierarchical exclusive conflict | An entity assigned to two exclusive parents | Department in two Pillars |
| Authority exclusive conflict | Two Parties hold the same exclusive governance role concurrently | Two simultaneous Department Heads |
| Endpoint type conflict | An edge endpoint type violates the type's endpoint rules | FAMILY recorded as STAFF_OF |
| Bypass conflict | An entity related through a non-constitutional path | Initiative 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
| Domain | Reference Relationship | Direction / Co-deploy Note |
|---|---|---|
| REF001 — Identity | Every 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 — Place | Geographic Party-Place relationships are REF003's, not REF002's | Boundary; REF002 does not record geography |
| REF005 — Resource | ASSET_ASSIGNMENT references an Asset (REF005) | REF002 records the assignment edge; REF005 owns the asset |
| REF007 — Obligation | Financial obligations arising from relationships | REF007 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 — Interaction | Personal interactions (visits, counseling) | REF009 owns interactions; REF002 owns the relationship context |
| REF009.C1 — Communication | Written correspondence | REF009.C1 owns communication records |
| REF010 — Case | Service journeys | REF010 owns cases; consumes REF002 relationship facts |
| REF014 — Initiative | BENEFICIARY_ENROLLMENT / DONOR_DESIGNATION object = Initiative | Consumes 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:
- R1 — Relationship Root Immutability: an edge's root identity is immutable post-creation (EI-001).
- R2 — Anchor Immutability: subject/object anchors are immutable post-creation; "change" = archive + new edge (EI-002).
- R3 — Type Immutability: an edge's type code is fixed for its life (EI-003).
- R4 — Directional Singularity: no duplicate or temporally overlapping edge per subject-object-type-period; reciprocal is recorded, not duplicated (EI-004).
- R5 — Bitemporality: two independent axes — world time and system time — recorded separately (EI-005).
- R6 — Root Purity (History Append-Only): corrections supersede, never overwrite; no physical deletion (EI-006, EI-012).
- R7 — Extension Independence: extensions attach via satellites whose FK is
relationship_idonly; the core edge is never mutated (EI-011). - R8 — Semantic Preservation: meaning-bearing registry properties are immutable once live edges exist; registry rows are themselves immutable (EI-009).
- 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).
- Endpoint Isolation: endpoints FK exclusively to
identity_records(id)— REF002 depends on REF001, never the reverse (EI-008; RULE-OWN-001). - System-Time Ownership:
recorded_at/superseded_atare trigger-owned, never client-set (EI-007). - Symmetric Canonical Ordering: symmetric edges normalized to
subject_id < object_idfor duplicate-free bidirectional traversal (EI-010). - Registry Supremacy: no edge may exist for an unregistered type; the Registry is exhaustive (RULE-REL-006, EI-009).
- Universal Relationship Doctrine: REF002 is the sole authoritative relationship registry for the ERP (§7.3).
- 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, the02_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.
