Skip to content

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

T1 — REF001: Identity / Party Domain

Document record
FieldValue
Constitutional SeriesT — Constitutional Domain Model
Source DocumentFOUNDATION_G35_REF001_IDENTITY_CONSTITUTION.md
Domain IdentifierREF001
ClassificationPRIMITIVE
Schemaidentity
CertifiedFULLY_CERTIFIED 90/100 (CR-003; 2026-06-10)
Certifying ProgramCR-003 / CAP023C Phase B
Position in BookPart A, Chapter 1 of 21

Part A opens with T1 (REF001 Identity) because the Party is the constitutional foundation of every other domain. No resource can be held, no obligation can exist, no authority can be granted, without a constitutional identity from which to issue or receive it. REF001 depends on no other REF domain; every other REF domain depends on it.


Constitutional Dependencies

REF001 is the root identity domain — Position 1 in the constitutional REF sequence (G1-D-007).
It depends on no other REF domain. Every other REF domain depends on it: any entity that can
act, own, relate, bear obligations, or participate anchors to a REF001 party.id.

DirectionDomainNature of dependency
Inbound (REF001 depends on)—None. REF001 is the irreducible root (NPS-1).
Outbound (depends on REF001)REF002 (Relationship)Relates two party.id anchors
OutboundREF003 (Place)Party-Place associations reference party.id
OutboundREF004 (Event)Participation records reference party.id
OutboundREF005 / REF007Resource/obligation holders reference party.id
OutboundREF008 (Authority)Authority grants reference party.id
OutboundREF009 / REF009.C1Interaction & Communication parties reference party.id
OutboundREF010 (Case)Case is an EXT of REF001 (party.id anchor)
OutboundREF005–REF014 (all)All reference Party identity via party.id

Status

CERTIFIED — FULLY_CERTIFIED (CR-003), score 90/100 (2026-06-10; ICA / CAP023C Phase B).
Forensically frozen: FORENSICALLY_FROZEN (G5+CR-007) (CAP025H; 2026-06-14). Institutional
self-sufficiency: ACHIEVED (CAP035C; 2026-06-15). V2.0 equivalence:
REF001_EQUIVALENT_WITH_REMEDIATION (CAP035A) — Stage 0D maps to V2.0 Phases 0–6; remediation =
DS-010 retrofit, completed. Grandfathered (immutable foundation) under Methodology V2.1.

Lifecycle programs: CR-001 (initial conditional) → CR-002 (conditional full, 2026-06-07) →
CR-003 (full, 2026-06-10) → CR-004/CR-005 (suite updates) → CR-006 (REJECTED 10/11) →
CR-007 (hardened, 11/11) → Stage 0D Closure (CAP025G) → DS-010 retrofit (CAP035C).

Constitutional Note: Domain Numbering

REF001 is the NPS-1 root domain — Position 1 in the constitutional dependency lattice
(G1-D-007). Identity is constitutionally irreducible: it cannot be composed from any combination
of other domains, and every other reality (Person, Organization, Project, Donation, Case, Campaign)
ultimately resolves to a Party anchor (G3-D-002 — all 18 VGSF realities composable from
REF001–REF013). For this reason REF001 holds the lowest REF number and is the immutable foundation
on which the entire domain lattice is built. Its classification triple is GRANDFATHERED (pre-V2.1;
admitted retroactively; the Phase -1 gate was not traversed because REF001 predates it). Numbering
authority of record is REF_DOMAIN_ROADMAP.yaml (DC-005 AD-1).


1. Domain Purpose

REF001 answers the most fundamental constitutional question in the VGSF ERP:

Who or what exists, and how do we anchor that existence permanently?

A Person is the beginning and the end of VGSF's mission. A Person begins the chain — as a
beneficiary receiving service through an Event; and a Person concludes the chain — the impact of
the institution is measured by what changed in the lives of specific Persons. Without a Person at the
end of the participation chain, no Event, no Project, no Initiative, and no Pillar has fulfilled its
constitutional purpose.

REF001 governs party identity — the constitutional anchor for every entity (PERSON, ORGANIZATION,
AI_SYSTEM, and the other taxonomy types) that exists in the VGSF federation. A "Party" is any
identifiable participant in the VGSF constitutional ecosystem. REF001 asserts that the entity exists,
gives it a permanent unique identity, classifies it, names it (bitemporally), associates it with
locations (referentially), and isolates its projection data per entity. It does not design databases,
write schemas, or build services; it declares what is constitutionally required of any system that
manages identity within VGSF.


2. Constitutional Scope

2.1 What REF001 Governs

  • The constitutional definition of Person and Party in the VGSF organizational context
  • Unique, permanent party identity (UUID-based, never-deleted) — the identity anchor
  • Party classification (the type registry) and registry-backed classification discipline
  • Party names (bitemporal, multi-language capable) and name historicity
  • Party locations (referential, cross-domain) and location-role semantics
  • Person and Organization profiles (mutually exclusive, entity-scoped)
  • Entity isolation of projection data via row-level security (ADR-001)
  • The role classification system (Beneficiary, Donor, Volunteer, Staff, Officer, sub-roles)
  • The Enrollment Constitution — what enrollment is, how it works, what governs it
  • The Participation Constitution — its connection to the Event Approval Doctrine
  • The identity lifecycle — the Party Never Closes doctrine in operational context
  • Identity governance — duplicate resolution (Merge Protocol), preservation, deduplication
  • Identity ownership — what belongs to REF001 and what belongs to other domains

2.2 What REF001 Does NOT Govern

ConcernDelegated to
Relationships between Parties (family, employment)REF002 (Relationship)
Geographic location ontology of PersonsREF003 (Place)
Event structure and participation record storageREF004 (Event)
Resource holdings / financial transactionsREF005, REF007
Authority grants and governance entitlementsREF008 (Authority)
Communication with PartiesREF009.C1 (Communication)
Interaction / engagement recordsREF009 (Interaction)
Case and service-journey assemblyREF010 (Case) — EXT of REF001
GPI (Global Party Identifier) implementationdeferred RO-005 (Federation wave)
Service-layer / API / middleware implementationdeferred RO-003
Cross-entity party transfer protocolout of scope
Physical DB design, DDL, migrations, SQLG9, ADR, REF001 DDL (never in G3.5)

3. Core Constitutional Definition

3.1 What Is a Party?

A Party is the universal identity anchor for any entity that can act, hold relationships, own
resources, bear obligations, or participate in any form in the institutional life of VGSF.

Every Person is a Party. Not every Party is a Person.

A Person is a natural human being who has entered into any form of relationship with the
Vaishvika Gauranga Samaja Foundation — as beneficiary, volunteer, donor, staff member, governance
officer, community member, or family member of any of the above. A Person is not merely a record; a
Person is a human being whose relationship with the institution is constitutionally preserved as
institutional memory.

The Party Principle: If an entity can act or own within the VGSF ERP, it must be anchored as a
Party.
Every person who holds any role in the system — including system users, Event Organizers,
Division Event Coordinators, and approvers — is a Party. No relationship, transaction, participation,
or role may exist without a Party anchor.

The Anchor / Projection Two-Layer Model

REF001 operates on a strict two-layer model. The separation of anchor from projection is the
constitutional mechanism that lets historical names survive a name change, lets deceased persons'
records remain accessible, lets merged duplicates reference a canonical anchor, and lets one Party
carry multiple classifications (a person may be both Beneficiary and Volunteer).

Layer 1 — The Identity Anchor. The minimal, immutable truth: this entity exists and has a
permanent ID.
party(id, created_at) — the federated, global, never-deleted root.

Layer 2 — The Identity Projection. The temporal description: this entity is currently named X,
classified as Y, located at Z, in lifecycle state S.
Projections are mutable and bitemporally
versioned; modifying a projection never modifies the anchor.

3.2 Constitutional Properties of Every Party

The Identity Anchor — immutable core:

PropertyConstitutional Rule
Unique permanent ID (party.id UUID)Assigned at creation; immutable forever (CI-001)
Party typeSet at creation; classification permanent (CI-003)
Creation record (created_at)The existence-start fact; system-owned, immutable (CI-002, CI-009)

The Identity Projection — mutable, bitemporally versioned description:

PropertyNature
Full name (and name variants)Mutable — names change; name history preserved (CI-004)
Date of birthMutable until verified by legal document; immutable once verified
Legal identity documents (Aadhaar, PAN, Voter ID)Additive — documents added, never removed
Current lifecycle stateMutable — ACTIVE, DECEASED, DEPARTED, DISSOLVED, UNKNOWN, MERGED
GenderMutable projection (legal gender change = state change on projection; RO-004 registry pending)
Location associationsReferential; location-role-typed (CI-003)

Canonical Constitutional Invariants (CI-001 … CI-010)

The canonical certified record states ten constitutional invariants. They are the load-bearing
laws of REF001; all are CERTIFIED (CR-003). This charter carries them verbatim in identity; the
enforcement column names the certified mechanism.

CIInvariantStatementEnforcement (certified)
CI-001Party Never ClosesOnce a party.id is issued it is permanent; no party may be deleted, closed, or terminatedtrg_prevent_delete(); GUARANTEE-001 (unconditional)
CI-002Root PurityThe party(id, created_at) root carries no entity_id; party existence is a global federated factADR-001-AMEND-01; G0-L-U8 Root Purity Doctrine
CI-003Registry-Backed ClassificationAll classifications (type, name-type, location-role) reference immutable registry entries; no free-textFK to *_registry; trg_registry_immutable()
CI-004Bitemporal History EngineAll projection changes preserved in append-only, immutable history tablestrg_bitemporal_update(), trg_system_time_update(); GUARANTEE-008
CI-005Profile ExclusivityA party with a person_profile will never have an organization_profile, and vice versa — globallytrg_enforce_profile_exclusivity() (SECURITY DEFINER, Migration 005); GUARANTEE-002
CI-006Delete / Truncate ProtectionNo party data in any table may be deleted or truncated from any non-superuser sessiontrg_prevent_delete(), trg_prevent_truncate() on all REF001 tables
CI-007Registry ImmutabilityRegistry id/name/description are frozen; only is_active=FALSE retirement permittedtrg_registry_immutable(); GUARANTEE-009
CI-008Party Immutability (History Write-Once)Once a *_history record is written it is immutable forevertrg_history_immutable(); application_role SELECT-only
CI-009System-Time OwnershipSystem timestamps are owned by the database; no application may set or override system timetrg_system_time_update()
CI-010Entity Isolation (ADR-001 / RLS)Projection data is strictly scoped to the owning entity; Entity A cannot read/write Entity B's party data17 RLS policies; FORCE RLS; no BYPASSRLS for application_role; GUARANTEE-003

Foundation Charter Doctrines I1–I6 (charter-tier synthesis)

For the organizational-execution tier, REF001's invariants are summarized as six foundation
doctrines. Each maps to the canonical CI-set above; the CI-set governs on any conflict.

Charter DoctrineStatementCanonical basis
I1 — Party Never ClosesA Party's identity anchor persists permanently — through death, departure, dissolution. No lifecycle state change deletes the anchor or its history.CI-001, CI-006
I2 — Profile ExclusivityA Party is a Person or an Organization, never both; the profile type is fixed for the life of the anchor.CI-005
I3 — Classification PermanenceClassifications are registry-backed and the registry is immutable (retire-only); a classification may be added but its referenced type can never be silently changed or deleted.CI-003, CI-007
I4 — Name HistoricityEvery name a Party has ever held is preserved bitemporally; renaming supersedes (closes) the prior name record but never erases it.CI-004, CI-008
I5 — Location Role SemanticsA Party-location association is meaningful only via a registry-backed location role; locations are referential and role-typed, not free-text.CI-003, CI-004
I6 — Identity Fingerprint PermanenceThe immutable identity fingerprint — party.id, party type, and existence-start (created_at) — is owned by the database, never set by the application, and never mutated.CI-001, CI-002, CI-009, G12-D-017

3.3 Fundamental Rules

RULE-P-001: Every Person who enters a relationship with the institution must be anchored as a
Party (NATURAL_PERSON type) at the moment that relationship begins — enrollment, first Event
attendance, donor registration, or appointment to a governance role.

RULE-P-002: A Person's identity anchor may not be deleted under any circumstances. Departure,
death, or dissolution changes lifecycle state only; the anchor remains permanently.

RULE-P-003: No Person may be represented by two Party records. Duplicate Person records are a
constitutional governance violation requiring the Merge Protocol (§7).

RULE-P-004: A Person's service history — all their Events, Initiatives, roles, interactions, and
outcomes — is a constitutional record of institutional memory and may not be deleted (A8 §10
No-Delete Doctrine).

RULE-PA-001: Every Party has an immutable identity anchor consisting of: permanent unique ID,
Party type, and existence-start event.

RULE-PA-002: The Party Never Closes — the identity anchor persists permanently through death,
dissolution, or departure.

RULE-PA-003: A Party's descriptive attributes are mutable projections; modifying a projection
does not modify the anchor.

RULE-PA-004: Every entity that holds any relationship with VGSF — in any capacity — must be a
Party record. No relationship, transaction, participation, or role may exist without a Party anchor.


4. Party Taxonomy, Profiles & Registries

4.1 Constitutional Party Taxonomy

Party TypeSubcategoryVGSF Examples
NATURAL_PERSON—Beneficiary, volunteer, donor, staff, officer, Board member
LEGAL_PERSONTRUSTVGSF itself; donor trusts
CORPORATIONCorporate CSR donors
NGO_FOUNDATIONPartner organizations, grant-making bodies
GOVERNMENT_BODYGovernment ministry, local government
RELIGIOUS_BODYTEMPLEAffiliated temples, ashrams
MONASTIC_ORDERAffiliated monastic communities
INFORMAL_COLLECTIVEFAMILYEnrolled family unit
COMMITTEELocal advisory committee
SYSTEM_ACTORSERVICE_ACCOUNTERP service accounts, automated agents
AI_SYSTEM—Registered AI agents (G8A-L-AI-001 — unregistered AI may not operate)

4.2 Profiles (Person / Organization)

A Party carries at most one profile, and the two are mutually exclusive (CI-005 / Doctrine I2):

  • person_profile — for NATURAL_PERSON parties (biographic detail; gender per RO-004 pending registry).
  • organization_profile — for LEGAL_PERSON / RELIGIOUS_BODY / collective parties.

A party may legitimately exist with no profile (e.g., a SYSTEM_ACTOR or a minimal anchor).
The exclusivity invariant holds globally across all entities and cannot be violated by any
entity combination (enforced SECURITY DEFINER post-Migration 005).

4.3 Constitutional Registries (Classification-Permanent — Doctrine I3)

RegistryGovernsDiscipline
party_type_registryParty type classifications (PERSON, ORGANIZATION, AI_SYSTEM, SYSTEM_ACTOR, …)Registry-backed; immutable; retire-only (CI-003, CI-007)
name_type_registryName-type classifications (legal, alias, maiden, …)Registry-backed; immutable; retire-only
location_role_registryLocation-role classifications (residence, facility, service-site, …)Registry-backed; immutable; retire-only

Registry exemption from entity_id (ADR-001-AMEND-02): registries are federated shared
infrastructure, not subject to entity isolation. No registry value may be deleted — only
retired via is_active=FALSE (G8-L-REG-002).


5. Identity Architecture — Roles, Relationships, Enrollment & Participation

REF001 governs the constitutional requirement for the structures below; the relationship
architecture itself is REF002's domain, and participation storage is REF004's. This section
declares what REF001 constitutionally requires of those structures.

5.1 Constitutional Role Registry

A Role is a named, temporal, institutional classification describing how the institution relates
to a Party in a specific capacity. Roles do not constitute identity — identity is the anchor; a
single Party may hold multiple concurrent roles, each with a start date and optional end date.

Governance Roles (Organizational Authority):

Role CodeRole NameHeld ByA8/Basis
ROLE-GOV-BOARDBoard MemberNATURAL_PERSONA8 §2
ROLE-GOV-PILPillar HeadNATURAL_PERSONA8 §3
ROLE-GOV-DEPTDepartment HeadNATURAL_PERSONA8 §4, RULE-DEPT-2
ROLE-GOV-DIVDivision HeadNATURAL_PERSONA8 §5
ROLE-GOV-CACCAC MemberNATURAL_PERSONCAP-003A
ROLE-GOV-INITInitiative StewardNATURAL_PERSONG3A §7
ROLE-GOV-PROJProject ManagerNATURAL_PERSONG3A §8

Operational Roles (Execution Functions):

Role CodeRole NameHeld ByG3A Basis
ROLE-OPS-STAFFStaff MemberNATURAL_PERSONG3A §4.3
ROLE-OPS-EVT-ORGEvent OrganizerNATURAL_PERSONG3A §9.2
ROLE-OPS-EVT-COORDDivision Event CoordinatorNATURAL_PERSONG3A §9.2
ROLE-OPS-EVT-APREvent ApproverNATURAL_PERSONG3A §9.2
ROLE-OPS-FIELDField StaffNATURAL_PERSONG3A §9.2

Relational Roles (Community and Mission):

Role CodeRole NameHeld ByBasis
ROLE-COM-BENBeneficiaryNATURAL_PERSONA8 §6, §8, §11
ROLE-COM-DONDonorAny Party typeA8 §6
ROLE-COM-VOLVolunteerNATURAL_PERSONG3A
ROLE-COM-MEMCommunity MemberNATURAL_PERSONG3 Canonical
ROLE-COM-ALUAlumniNATURAL_PERSONG3.5
ROLE-COM-ADVProfessional AdvisorNATURAL_PERSONG3 Concept Inventory

Role governance rules:

  • RULE-R-001: Roles are temporal — every assignment carries a start date, role code, Party reference, and organizational-context reference.
  • RULE-R-002: Role assignments are never deleted; an ended role is archived with end date and reason.
  • RULE-R-003: Governance roles must reference the Party identity FK, not a free-text name.
  • RULE-R-004: A Party may hold multiple concurrent roles without conflict.
  • RULE-R-005: ROLE-COM-BEN (Beneficiary) is conferred through enrollment, not Event attendance alone.

5.2 Constitutionally Required Relationships (modeled in REF002)

Relationship CodeFrom PartyTo EntityDurationBasis
REL-BEN-ENROLLParty (Beneficiary)InitiativeDurableA8 §6
REL-DON-DESIGParty (Donor)InitiativeDurableA8 §6
REL-GOV-ROLEParty (Officer/Staff)Department / Division / PillarRole-heldA8 §4, §5
REL-EMPLOYParty (Staff)The InstitutionEmployment periodA8 §2
REL-VOL-ASSIGNParty (Volunteer)Division / ProjectService periodG3A
REL-PART-EVENTParty (any role)EventTemporalA8 §8
  • RULE-REL-001: REL-BEN-ENROLL recognizes a Person as enrolled in an Initiative; it persists independently of Event attendance.
  • RULE-REL-002: REL-DON-DESIG links a donor to an Initiative (not a Project or Event).
  • RULE-REL-003: Governance role relationships must reference the Party identity FK, not free-text.
  • RULE-REL-004: Relationship records are never deleted; an ended relationship is archived with end date and reason.

5.3 Enrollment Constitution

Enrollment is the formal institutional recognition that a specific Person is a participant in a
specific Initiative as a recognized beneficiary — a constitutional commitment to serve and to
maintain a longitudinal record.

PropertyStatus
Party reference (beneficiary)Required
Initiative referenceRequired
Enrollment dateRequired — start of recognized service relationship
Enrollment status (Active / Archived / Transferred)Required
Enrollment recordNever deleted — archived only

Enrollment vs. Participation: Enrollment is at the Initiative level, durable, and counts
beneficiary reach (unique persons). Participation is at the Event level, temporal, and counts
attendance.

  • RULE-EN-001: Enrollment is at the Initiative level — never Project, Division, or Event level.
  • RULE-EN-002: Every enrollment must reference a Party identity anchor; anonymous enrollment is invalid.
  • RULE-EN-003: Enrollment records are never deleted; they are archived on Initiative archival or formal exit.
  • RULE-EN-004: The enrollment date establishes the constitutional start of the recognized service relationship.
  • RULE-EN-005: A person may be simultaneously enrolled in multiple Initiatives; each is a separate relationship.

5.4 Participation Constitution

Participation is the event-level evidence record that a specific Person was present at and engaged
in a specific APPROVED Event in a specific role — the atomic constitutional evidence that the
institution served a specific human being at a specific time and place.

FieldRequirement
Party reference (person)REQUIRED (A8 §8, RULE-EVT-4)
Event referenceREQUIRED — Event must be APPROVED (RULE-EVT-2)
Participation RoleREQUIRED — from {BENEFICIARY, VOLUNTEER, STAFF, OBSERVER, OTHER}
Date of participationREQUIRED
Enrollment linkREQUIRED if Role = BENEFICIARY (RULE-EN-001)
Outcome noteOPTIONAL

Participation and the Event Approval Doctrine (A8 §8.2):

  • RULE-PAR-001: No participation record may be created against an Event not in APPROVED status.
  • RULE-PAR-002: Participation records from a REJECTED Event may not be re-instated to a replacement Event; new records must be created against the replacement APPROVED Event.
  • RULE-PAR-003: Once an Event is ARCHIVED, all participation records are sealed — none added or modified.
  • RULE-PAR-004: Participation requires Party identity; no anonymous participation is valid.
  • RULE-PAR-005: Participation records are never deleted; they are sealed upon Event archival.
  • RULE-PAR-006: A BENEFICIARY participant must have an active enrollment in the Initiative to which the Event's Project belongs; if none exists, enrollment is created concurrently.

6. Party Lifecycle

6.1 The Party Never Closes Doctrine (I1 / CI-001)

A Party's identity anchor persists permanently — beyond death, departure, or dissolution. The
identity anchor is the eternal record of the entity's existence in VGSF's institutional memory.
This is adopted from the REF001-G0 Domain Charter (Charter Review C) and extended to the
organizational-execution context. Lifecycle is a property of the projection; the anchor
never changes state and never closes.

6.2 Party Lifecycle States

StateMeaningEntry ConditionConstitutional Effect
ACTIVEParty engaged in primary capacityAt Party creationAll operations permitted
DECEASEDNatural person has diedDeath notification + documented dateNew enrollments prohibited; records preserved; participation sealed
DEPARTEDPerson left the community / ended engagementDeparture record + date + reasonActive roles archived; records preserved
DISSOLVEDOrganization no longer legally existsDissolution documentationNew relationships prohibited; records preserved
UNKNOWNContact lost; status unclearInactivity thresholdInvestigation required; records preserved
MERGEDRecord is a duplicate, merged into canonicalMerge Protocol completionRelationships migrated to canonical; record read-only (terminal)

6.3 Lifecycle Governance Rules

  • RULE-LC-001: No lifecycle state change deletes the Party identity anchor or its historical records.
  • RULE-LC-002: Every state change is documented with new state, date, reason, and the recorder's identity.
  • RULE-LC-003: DECEASED/DISSOLVED records remain fully accessible as institutional memory (A8 §10).
  • RULE-LC-004: MERGED is terminal — a merged record cannot revert to any other state.
  • RULE-LC-005: A Party in UNKNOWN state may not be deleted; the response is investigation, not deletion.

7. Governance & Authority

7.1 Identity Governance Roles

RoleResponsibility
Identity Governance OfficerReviews suspected duplicates; authorizes Merge Protocol; oversees data quality
Data Registrar (Field)Creates new Party records at field level; performs initial deduplication checks
System AdministratorManages Party type registry and role type registry (retire-only)
Initiative StewardGoverns enrollment records for their Initiative
Division HeadGoverns governance-role assignments within their Division

7.2 The Deduplication Doctrine

  • RULE-DUP-001 — Initiative-level: Beneficiary reach at the Initiative level is the count of unique Party identities with BENEFICIARY enrollment; multiple Events of the same Initiative count once.
  • RULE-DUP-002 — Division-level: Division reach deduplicates across all Initiatives in the Division; a person enrolled in two Initiatives counts once.
  • RULE-DUP-003 — Institution-level: Total beneficiary reach is the count of unique Party identities ever holding BENEFICIARY enrollment across all Initiatives, Divisions, Departments, Pillars.
  • RULE-DUP-004 — Participation vs. reach: Participation count and beneficiary reach are distinct metrics; both must be reported and neither confused with the other.

7.3 The Merge Protocol

When two Party records represent the same real-world entity, the following protocol applies (it may
not be bypassed):

  1. Detection — system flags matching legal IDs / biographic markers (name + birth date + father's name) / contact info; field staff may report suspected duplicates.
  2. Review — an Identity Governance Officer reviews and documents the same-identity evidence.
  3. Designation — the canonical record is designated; the duplicate is designated for merge.
  4. Migration — all relationships, participations, enrollments, transactions, and role assignments migrate to the canonical record.
  5. Archive — the duplicate's state changes to MERGED; canonical Party ID, merge date, and governing officer are permanently recorded.
  6. History Preserved — the merge event is permanently preserved; the canonical record carries the complete unified history.
  • RULE-MRG-001: The Merge Protocol may not be bypassed; no duplicate resolution occurs outside it.
  • RULE-MRG-002: The merged record is preserved in MERGED state — never deleted.
  • RULE-MRG-003: The merge event is a constitutional governance record and may not be deleted.

7.4 Identity Ownership & the Identity Authority Principle

REF001 owns: the Party identity anchor; party type classification; lifecycle state; all
historical names and variants; legal document records; role assignment records; merge records.

REF001 does not own: Party-to-Party relationships (REF002); geographic location (REF003);
participation record storage (REF004); enrollment storage (organizational chain); financial
transactions (REF005/REF007); communication records (REF009.C1); case/service-journey records
(REF010).

  • RULE-OWN-001: No domain other than REF001 may be the authoritative source of Party identity. A domain needing a Party reference stores the Party ID — not the name, not classification attributes.
  • RULE-OWN-002: The only permitted inter-domain Party reference is the Party ID (logical UUID). Physical FK constraints to REF001 tables are governed by the REF001 Service Boundary doctrine (G4-L-INT-001; no direct DB access — Service Layer only).

7.5 Prohibitions (certified)

ProhibitionEnforcement
Direct table access by downstream domainsService Boundary — Party Anchor Rule
Party DELETE or TRUNCATECI-001 + CI-006 triggers
History mutationCI-008 trigger
Registry field mutationCI-007 trigger
Profile type change (PERSON ↔ ORGANIZATION)CI-005 trigger
Cross-entity data accessCI-010 RLS policies
Free-text classificationCI-003 (registry-backed)

8. Cross-Domain Constitutional References

REF001 is the referenced root of the entire lattice; downstream domains reference party.id
logically (UUID), never by name. The following relationships are constitutionally established.

DomainRelationship to REF001Authority
REF002 (Relationship)Relates two party.id anchors; owns all Party-to-Party relationshipsG3.5 REF001 §5.2; REF002
REF003 (Place)Party-location associations are REF002 temporal relationships to REF003 PlacesREF003; REL via location-role
REF004 (Event)Participation records reference party.id; Event must be APPROVEDA8 §8; G3-AD-002
REF005 / REF007Resource holders / obligation bearers reference party.id (Donation = COMP(REF001+REF007+REF004+REF006))G3-AD-003, G3-AD-011
REF008 (Authority)Authority grants reference party.id; SYSTEM_ACTOR/AI_SYSTEM parties may never hold governance grantsG9-D-025; G7-AD-003
REF009 / REF009.C1Interaction & Communication records reference party.id (Campaign = COMP(REF001+REF004+REF009+REF009.C1))G3-AD-007 (REF012 retired → REF009.C1)
REF010 (Case)Case is an EXT of REF001 — a bitemporal extension of party.idG3-AD-009
REF011–REF014All reference Party identity via party.idG3-D-002

Federation / GPI co-deploy note: the GPI (Global Party Identifier) extension is constitutionally
required before federation activation (RO-005; G4-D-011) and is deferred to the Federation
Readiness Wave. Until then, party identity is entity-scoped (CI-010 / RLS).

Authentication anchor: every authenticated session must associate with a REF001 Party record
(G9-L-AUTH-004; G9-D-023 — no anonymous sessions); SYSTEM_ACTOR/AI_SYSTEM types support this.


9. Constitutional Invariants Summary

The load-bearing invariants of REF001, in compact form (canonical CI-set governs on any conflict):

  1. CI-001 / I1 — Party Never Closes. party.id is permanent; no party is ever deleted, closed, or terminated.
  2. CI-002 / I6 — Root Purity. The party(id, created_at) root is global and federated; it carries no entity_id.
  3. CI-003 / I3 — Registry-Backed Classification. All classifications reference immutable registry entries; no free-text.
  4. CI-004 / I4 — Bitemporal History. Every projection change is preserved in append-only, immutable history.
  5. CI-005 / I2 — Profile Exclusivity. A Party is a Person or an Organization, never both — globally.
  6. CI-006 / I1 — Delete/Truncate Protection. No party data in any table is deletable or truncatable by non-superusers.
  7. CI-007 / I3 — Registry Immutability. Registry id/name/description are frozen; retire-only via is_active=FALSE.
  8. CI-008 / I4 — History Write-Once. Once written, every *_history record is immutable forever.
  9. CI-009 / I6 — System-Time Ownership. The database owns system time; the application may never set or override it.
  10. CI-010 — Entity Isolation (RLS). Projection data is strictly entity-scoped; no cross-entity read/write.
  11. I5 — Location Role Semantics. Party-location associations are meaningful only through registry-backed location roles.
  12. Party Principle. Anything that can act or own within VGSF must be anchored as a Party; no relationship, transaction, participation, or role exists without a Party anchor.
  13. Identity Authority Principle. REF001 is the single authoritative source of Party identity; all other domains reference the Party ID only.
  14. No-Delete Doctrine. Anchors, history, registries, role assignments, enrollments, participations, and merge events are never deleted — only archived, retired, or sealed (A8 §10).

Constitutional Colophon — T1
This chapter establishes that Party identity is the irreducible constitutional foundation of the
entire VGSF domain lattice — the permanent, immutable anchor from which every relationship,
resource holding, obligation, authority grant, event participation, and service record issues.
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 T2 (REF002 — Relationship) should carry forward:
the Party anchor (a UUID-based, never-deleted identity root) is the sole constitutional reference
that all downstream domains may hold — and it is the subject and object of every relationship
that REF002 will constitute.


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.