VGSF CONSTITUTIONAL TECHNICAL ARCHITECTURE — BOOK II — PART A: CONSTITUTIONAL DOMAIN MODEL
Chapter 5 of 21 in this Part
T5 — REF005: Resource Domain
Document record
| Field | Value |
|---|---|
| Constitutional Series | T — Constitutional Domain Model |
| Source Document | FOUNDATION_G35_REF005_RESOURCE_CONSTITUTION.md |
| Domain Identifier | REF005 |
| Classification | PRIMITIVE |
| Schema | resource |
| Certified | CERTIFIED_WITH_OBSERVATIONS (CAP040G, 2026-06-18; first FS-001 domain certified) |
| Certifying Program | CAP040G |
| Position in Book | Part A, Chapter 5 of 21 |
T4 established events and projects — the temporal atoms of service delivery, authorized before they happen and evidenced immutably after. T5 (REF005 Resource) establishes what is held and exchanged: the conservation-law domain whose S1 invariant (balance = Σ transitions) is the most formally verified in the system and whose ten enforced invariants constitute the institution's financial and material spine. REF005 is the first VGSF domain certified under the ratified FS-001 Full-Stack Constitutional Engineering Standard.
Constitutional Dependencies
G3.5 REF005 depends upon:
- G3.5 REF001 Identity Constitution — every Resource is held within exactly one Party/entity scope (sole mandatory dependency; UP-007 trustworthiness floor = REF001's).
- G3.5 REF003 Place Constitution — physical (S2 Material) resources may reference a location (soft/referential; nullable).
- G3.5 REF008 Authority Constitution — allocation, disposal, and transfer acts may require an Authority grant recorded on the transition (soft/referential; nullable).
- DC-001 Three-Axis Classification — admission triple
(PRIMITIVE, Asset, Transactional)established by CAP040B. - FS-001 Full-Stack Constitutional Engineering Standard — REF005 is the first domain certified under it (Methodology V2.1).
REF005 is downstream-depended-upon by REF007.X1 (Financial Obligation — encumbers Resources), REF011 (Schedule — asset maintenance), REF014 (Initiative — resource planning), REF006 (Document — evidence of acquisition/disposal), and the proposed REF008.X1 (Financial Authority).
Status
CONSTITUTIONALLY CERTIFIED — REF005_CERTIFIED_WITH_OBSERVATIONS | Certified by CAP040G (R-CERT), 2026-06-18, commit 598bb71 | Recorded by CAP040H (R-HIST) | Standard: FS-001 | Methodology: V2.1.
REF005 is the first VGSF domain certified under the ratified FS-001 standard, completing the full constitutional lifecycle from Phase −1 admission through Phase 6 certification. Verification (CAP040F-RT3) executed the complete architecture against a live PostgreSQL 17.9 instance as the mandated non-superuser ref005_app: completeness gate 10/10; 54 P1 assertions; 15/15 applicable mutations detected and restored; replay, concurrency, cross-scope, and adversarial all PASS; conservation 0 mismatches.
Lifecycle program chain (ERA_020 — CLOSED, immutable): CAP040A Readiness · CAP040B Admission · CAP040C Discovery · CAP040D Specification · CAP040E Verification Architecture · CAP040F Verification Block · CAP040F-R Specialization Numbering · CAP041A Implementation · CAP040F-RT/RT2/RT3 Verification (BLOCKED → INCOMPLETE → COMPLETE) · CAP041B/C/D Corrective Cycles · CAP040G Certification · CAP040H Historical Promotion · CAP040I Era Constitution.
Carried observations (NON-BLOCKING): OBS-A — DISPOSAL lifecycle labeling (resource_status='DISPOSED' may be set while held_quantity > 0; a non-invariant labeling matter; ledger/conservation remain correct). OBS-B — MC-11 cross-domain referential integrity of cause ids deferred to integration (IC-contract obligation at REF004/007/008 co-deployment; attribution cardinality and actor presence ARE DB-enforced). OBS-040H-001 — class-level triple (Primitive, Resource, Master) vs operational admission triple (PRIMITIVE, Asset, Transactional) divergence flagged to R-STEWARD; both recorded.
Constitutional Note: Domain Numbering
REF005 is the Resource domain. Its number and identity are fixed by REF_DOMAIN_ROADMAP.yaml (the single canonical authority under DC-005 AD-1). REF005 occupies the material-and-financial substrate layer of the Reference Domain lattice: the value tier that the obligation layer (REF007) encumbers, that the authority layer (REF008) gates, that documents (REF006) evidence, and that events (REF004) cause to change. Its classification triple (PRIMITIVE, Asset, Transactional) is parallel in structure to Event's (PRIMITIVE, Activity, Transactional) — same reality and participation classes, distinct constitutional role: Asset (a held value) versus Activity. Resource is a PRIMITIVE: it is constituted from first principles, not assembled from other domains.
1. Domain Purpose
REF005 answers the fundamental question of institutional holding and conservation:
What does the institution hold — financial, material, capacity, and intangible — in what quantity, scoped to whom, and how is that quantity conserved as it is acquired, allocated, consumed, and disposed?
Every thing the organization owns, manages, allocates, or expends — a bank balance, a temple van, a stock of prasadam, a volunteer's available hours, a software licence — is constitutionally a Resource: a held quantum of value, scoped to exactly one entity, whose state changes only through recorded acts.
REF005 is the constitutional substrate on which the financial and material reality of the VGSF ERP rests. Without it, obligations would have nothing to encumber, authority would have nothing to gate, documents would have nothing to evidence, and events would have nothing to consume. REF005 makes institutional value measurable, conserved, attributable, and reconstructable — it is the institution's financial-and-material spine.
The cardinal architectural rule (CAP040C D6) is decisive: neighbors act on Resources through recorded, attributed acts; they never mutate Resource state directly, and interaction never implies identity collapse. An Event does not contain a balance — it causes a transition. An Obligation does not hold value — it claims held value. Authority does not own value — it permits a transition. A Document does not create value — it evidences an act that did.
2. Constitutional Scope
2.1 What REF005 Governs
- The constitutional definition of Resource as a held, quantified, conserved quantum of value.
- The four kind specializations: REF005.S1 Financial · S2 Material · S3 Capacity · S4 Intangible.
- The conserved quantity core: balance as the sum of recorded transitions; no direct balance writes.
- Encumbrance accounting: allocation/reservation against held quantity, with a no-over-encumber ceiling.
- The append-only transition ledger (ACQUISITION, ALLOCATION, RELEASE, CONSUMPTION, DISPOSAL, CORRECTION).
- The Resource lifecycle state machine (ACTIVE → DEPLETED / DISPOSED / ARCHIVED) and its transition rules.
- Bitemporal reconstruction (valid-time + transaction-time) of any past balance or state.
- Entity-scoped ownership and RLS isolation (no cross-scope read/write).
- Attribution of every transition to a cause and an actor.
- Cross-entity transfer via dual-scoped, paired acts linked by a Transfer Instrument.
- The No-Delete Doctrine as applied to Resources and their transition history.
- The object-model invariants EI-001..EI-010 that DB-enforce all of the above.
2.2 What REF005 Does NOT Govern
- Obligations / financial commitments / encumbrance claims (REF007 owns the claim; REF005 owns the allocation transition).
- Authority role definitions and grants (REF008 owns roles and grants; REF005 records grant references on transitions).
- Party / entity identity (REF001 owns identity; REF005 references the holding Party by FK).
- Place / location identity (REF003 owns Places; REF005 optionally references a location).
- Documents / evidence (REF006 owns documents; the Document → Resource FK lives on REF006).
- Events / activities that cause consumption (REF004 owns the Event; it causes, never holds, value).
- Initiatives / projects / budgets (REF014 / CON-PROJECT own planning; REF005 holds the value they consume).
- The chart of accounts, journal entries, or general-ledger implementation (downstream of REF005.S1).
- Database schema or SQL implementation (engineering tier; never in a G3.5 charter).
3. Core Constitutional Definition
3.1 What Is a Resource?
A Resource is a held quantum of value, scoped to exactly one REF001 entity, whose measurable state (balance / quantity / capacity) changes only through recorded, attributed transitions, and is conserved and reconstructable across its entire lifecycle.
The Resource has a stable identity distinct from its current quantity — the quantity is a derived projection of the transition ledger, never an independently writable field. The defining feature that distinguishes Resource from every neighbor is the quantified, conserved balance:
current_state = Σ (recorded transitions) [conservation]
└ acquisition (+)
└ allocation (− available, reserved/encumbered)
└ release (+ available, encumbrance freed)
└ consumption (−, value exits)
└ disposal/depletion(−, asset removed from register)
└ correction (±, attributed, never silent; references a prior transition)There is no "set balance" primitive — only "record an act that changes the balance." Value is neither created nor destroyed without a recorded acquisition or disposal.
3.2 Constitutional Properties of Every Resource
Every Resource, regardless of kind, possesses these constitutional properties (the object-model facets, CAP040B/C):
| Property | Constitutional Requirement |
|---|---|
| Identity | A UUID-fingerprinted record, stable and distinct from its current quantity. |
| Entity scope | Belongs to exactly one REF001 entity; RLS-enforced; no cross-scope read or write (owner_party_id FK). |
| Kind discriminator | Exactly one of {Financial, Material, Capacity, Intangible}; immutable for the Resource's lifetime (subtype_code). |
| Quantified state | A measurable held balance / quantity / capacity (held_quantity) — the defining Asset attribute; a derived projection of the ledger. |
| Lifecycle status | A position in the lifecycle state machine (ACTIVE / DEPLETED / DISPOSED / ARCHIVED). |
| Transition history | The append-only, bitemporal log of recorded acts that produced the current state. |
| Attribution | Every state change attributable to exactly one cause and a recorded actor. |
| Validity period | Bitemporal existence window (valid-time + transaction-time). |
3.3 Fundamental Rules
RULE-RES-001 (No silent mutation): A Resource's balance changes ONLY through a recorded transition. There is no direct balance write. (EI-001)
RULE-RES-002 (Conservation): Value is neither created nor destroyed without a recorded acquisition or disposal; at every moment balance = Σ transitions. (EI-002)
RULE-RES-003 (Entity-scoped ownership): Every Resource belongs to exactly one REF001 entity; cross-scope read or write is constitutionally forbidden (RLS-enforced). (EI-005)
RULE-RES-004 (No-delete): A Resource is never physically deleted; depletion, disposal, and archival are history-preserving transitions. Transitions are immutable; corrections are new CORRECTION records, never edits. (EI-007)
RULE-RES-005 (Attribution): Every state-changing act is attributable to exactly one cause and a recorded actor. Anonymous or uncaused transitions are constitutionally invalid. (EI-009)
RULE-RES-006 (Immutable kind): A Resource has exactly one kind discriminator for its lifetime; the kind may not change after creation. (EI-010)
RULE-RES-007 (Bitemporal reconstruction): Any past balance or state is reconstructable from the ledger (valid-time + transaction-time). (EI-008)
4. The Four Constitutional Specializations (REF005.S1–S4)
The Resource constitutional model is a single base reality + a thin specialization layer + a conserved quantity core. The base is kind-agnostic: the universal invariants bind on the base; each subtype adds kind-specific facets without altering the base. (Specializations ratified by CAP040F-R, 2026-06-16; DC-002.)
Constitutional rule of specialization: A subtype MAY add attributes and TIGHTEN an invariant; it MAY NOT relax a universal invariant. No subtype may permit silent mutation or deletion.
4.1 Specialization Registry
| Designation | Subtype | Kind-specific facets | Subtype invariants |
|---|---|---|---|
| REF005.S1 | Financial | currency/denomination; ledger account reference; reconciliation target | SI-S1-1 balance reconciles to a ledger account; SI-S1-2 currency is fixed per Resource; SI-S1-3 credit/negative balance permitted only where the account type explicitly allows it (the RULE-RES-008 carve-out). |
| REF005.S2 | Material | unit-of-measure; storage location (REF003); lot/batch/expiry | SI-S2-1 quantity is in a fixed unit-of-measure; SI-S2-2 lot/batch and expiry tracked where applicable; SI-S2-3 physical location is part of state. |
| REF005.S3 | Capacity | capacity window (time-bounded); replenishment cadence; over-allocation policy | SI-S3-1 capacity is time-bounded (a window); SI-S3-2 unconsumed capacity expires at window end (no roll-over unless explicitly modeled); SI-S3-3 allocation may not exceed the window's capacity. |
| REF005.S4 | Intangible | grant/entitlement terms (REF008 reference); expiry; transferability flag | SI-S4-1 entitlement bounded by grant terms; SI-S4-2 expiry enforced; SI-S4-3 transferability governed by the grant, not assumed. |
4.2 The Non-Negative Quantity Rule and its Bounded Carve-Out
RULE-RES-008 (Non-negative held quantity): Allocation and consumption may not exceed held quantity; a Resource may not hold a negative balance — except where a subtype explicitly models credit. The only such authorization is REF005.S1 Financial (SI-S1-3), and only where the account type explicitly allows it. This carve-out is named at the universal level (not a subtype overriding doctrine); it is implemented as an immutable, S1-only credit flag (EI-003 + EI-010). (EI-003)
5. Conservation & Encumbrance Accounting (the Asset core)
This is the heart of the Resource reality and what makes REF005 the institution's financial-and-material spine. Every neighbor that consumes, encumbers, or authorizes value resolves against this conserved quantity — never by mutating it directly.
5.1 The Encumbrance Model — reservation IS allocation
The constitutionally decisive rule of REF005 (CAP040C D6): a reservation IS an allocation, decided at reservation time, not later. When a quantity is reserved for a planned use, it leaves the available pool immediately; there is no separate "soft hold" that fails to encumber. Allocation moves quantity from AVAILABLE to ALLOCATED (reserved/encumbered); RELEASE returns it to AVAILABLE; CONSUMPTION removes it permanently.
held_quantity = AVAILABLE + Σ(open ALLOCATIONS)
AVAILABLE = held_quantity − Σ(open ALLOCATIONS)An allocation is a spanning record linking an opening ALLOCATION transition to its closing RELEASE or CONSUMPTION transition; while open, it encumbers the Resource. An allocation may carry an obligation_id reference (REF007.X1) and an authority_grant_id reference (REF008) — both nullable on the transition, never owned by the Resource.
5.2 The Over-Encumbrance Prohibition
RULE-RES-009 (Non-over-allocation): No ALLOCATION may be created if the requested amount exceeds the available quantity. The allocation amount must be positive. The available quantity is read under a row lock to prevent allocation races. (EI-003)
RULE-RES-010 (Encumbrance ceiling): The sum of open allocations may never exceed the held quantity: Σ(open ALLOCATIONS) ≤ held_quantity. Creating an allocation that would breach this ceiling is constitutionally prohibited. (EI-004)
These two rules together are the no-over-encumber guarantee: the institution can never reserve, commit, or consume value it does not hold.
5.3 The Three Quantity States
| State | Meaning | Available for new allocations? |
|---|---|---|
| Held | Total quantity held by the Resource (the conserved balance) | Only the Available portion. |
| Encumbered (Allocated) | Reserved by open allocations — committed but not yet consumed | NO — must not be double-allocated. |
| Available | Held − Σ(open allocations) | YES — the only quantity that may support new allocations or consumption. |
5.4 Correction Discipline
Balances are never edited. A mistaken transition is corrected by recording a new CORRECTION transition that (a) references the prior transition it corrects, (b) is attributed to a cause and actor, and (c) is itself immutable. A non-CORRECTION transition may never reference a prior transition; a CORRECTION transition must. (EI-007, EI-009)
6. Resource Lifecycle
6.1 The State Machine
┌──────────── (ALLOCATED ⇄ AVAILABLE within ACTIVE) ──────────┐
│ │
[create] → ACTIVE ─┼──→ DEPLETED (value fully consumed; held_quantity → 0)
├──→ DISPOSED (end-of-life; asset removed from register)
└──→ ARCHIVED (retired from active register; history preserved)- The kind-agnostic lifecycle is
ACQUIRED → AVAILABLE → (ALLOCATED ⇄ AVAILABLE) → CONSUMED/DEPLETED → DISPOSED/ARCHIVED, where AVAILABLE/ALLOCATED are quantity sub-states of the ACTIVE record status and the terminal statuses are DEPLETED, DISPOSED, and ARCHIVED. - All transitions are recorded acts; balances change only through recorded transitions; nothing is ever deleted.
6.2 Resource Status Definitions
| Status | Constitutional meaning |
|---|---|
| ACTIVE | The Resource is live and held; its quantity may be allocated, released, consumed, or corrected. AVAILABLE and ALLOCATED are quantity sub-states within ACTIVE. |
| DEPLETED | Held quantity has reached zero through consumption; the record is preserved. |
| DISPOSED | End-of-life: the asset has been removed from the active register via a DISPOSAL transition (e.g., sold, written off, scrapped). (See OBS-A: DISPOSED may currently be labeled while held_quantity > 0; ledger/conservation remain correct.) |
| ARCHIVED | Retired from the active register but permanently preserved as history (no-delete). |
6.3 Transition Kinds (the append-only ledger)
| transition_kind | Effect on quantity | Notes |
|---|---|---|
| ACQUISITION | + held | Resource enters holdings; provenance recorded. |
| ALLOCATION | − available, + encumbered | Reserve/commit; opens an allocation span; reservation IS allocation. |
| RELEASE | + available, − encumbered | Closes an open allocation; quantity returns to AVAILABLE. |
| CONSUMPTION | − held | Value expended (usually by a REF004 Event); closes an allocation. |
| DISPOSAL | − held / terminal | End-of-life removal from register. |
| CORRECTION | ± held | Attributed correction; MUST reference the corrected transition; never silent. |
6.4 Lifecycle Governance Rules
RULE-LC-RES-001: Every lifecycle transition is a recorded act in the append-only ledger; there is no out-of-ledger state change.
RULE-LC-RES-002: Terminal statuses (DEPLETED, DISPOSED, ARCHIVED) preserve the record permanently; a Resource is archived, never deleted (no-delete; EI-007).
RULE-LC-RES-003: An open allocation must be closed by a RELEASE or CONSUMPTION transition; an allocation may not be silently dropped.
RULE-LC-RES-004: DISPOSAL and CONSUMPTION are governed by the conservation invariant: the recorded change must reconcile with balance = Σ transitions.
7. Governance & Authority
REF005 references authority roles and grants by title and FK; it does not constitute roles (REF008 owns roles and grants).
7.1 Act Authority
| Act | Who may perform | Authority record |
|---|---|---|
| Acquire a Resource (ACQUISITION) | The holding entity's resource steward / acquisition authority | Provenance recorded; optional REF006 document evidence (e.g., invoice, receipt). |
| Allocate / Reserve (ALLOCATION) | Resource Allocator (e.g., Finance Manager for S1) | Optional REF008 authority_grant_id (RESOURCE_ALLOCATE); optional REF007.X1 obligation_id (encumbrance). |
| Release an allocation (RELEASE) | The allocating authority or its delegate | Recorded transition closing the allocation span. |
| Consume (CONSUMPTION) | The executing actor (typically a REF004 Event) | Attributed to cause + actor (EI-009). |
| Dispose (DISPOSAL) | Disposal authority | May require a REF008 grant; optional REF006 instrument (deed/agreement). |
| Correct (CORRECTION) | An authorized actor | References the corrected transition; attributed; immutable. |
| Transfer across entities | Both entities' authorities | Requires a REF008 grant AND a REF006 instrument; paired dual-scoped acts (see §8). |
7.2 The Non-Superuser Mandate
REF005 was certified under the mandated non-superuser access model (ref005_app, EI-005/PO-4). The application role is never a database superuser; RLS deny-by-default isolates entity scopes; the constitutional guards (triggers) cannot be bypassed by the application. This access model is part of the certified constitutional surface, not an implementation detail.
7.3 Role Reference Notation
Authority titles referenced here (Resource Allocator, Finance Manager, Disposal Authority) are institutional roles governed by REF008 (Authority — CERTIFIED). REF005 declares which acts those roles may perform; it does not define the roles. The proposed REF008.X1 (Financial Authority) extension would govern who may authorize financial resource allocations above specified thresholds — gating S1 acts without owning the value.
8. Cross-Domain Constitutional References
REF005 is the substrate layer: neighbors act on Resources through recorded, attributed acts and never mutate Resource state directly.
8.1 REF005 ↔ REF001 (Identity) — MANDATORY
Every Resource is held within exactly one Party/entity scope. The owning Party defines the RLS boundary. REF001 is the sole mandatory dependency; REF005's trustworthiness floor equals REF001's (UP-007 satisfied). ref005_resources.owner_party_id → ref001_party_members.party_id. Staff-capacity (S3) resources reference the staff member whose time is tracked.
8.2 REF005 ↔ REF003 (Place) — SOFT / REFERENTIAL
Physical (S2 Material) resources may carry a location; a temple building IS a REF003 Place (they co-classify). ref005_resources.location_place_id → ref003_places.place_id (nullable). Place is not constitutive: a financial fund (S1) or intangible (S4) has no required location.
8.3 REF005 ↔ REF008 (Authority) — SOFT / REFERENTIAL
Allocation, disposal, and transfer acts may require an Authority grant, recorded on the transition, not on the Resource. ref005_resource_transitions.authority_grant_id → ref008_authority_grants.grant_id (nullable). Authority gates the act; it does not own the value. A Resource exists with no authority grant. The proposed REF008.X1 Financial Authority is contemplated to gate financial allocations above thresholds.
8.4 REF005 ↔ REF007 / REF007.X1 (Obligation) — DOWNSTREAM
REF007.X1 Financial Obligation depends on REF005 to carry the monetary amounts that make a duty financial. The encumbrance pattern: the Obligation owns the claim record; the Resource owns the allocation transition — distinct records joined by a reference. An open allocation may carry obligation_id → REF007.X1. REF005 does NOT depend on REF007 — a Resource exists unencumbered; the dependency arrow points from the obligation toward the resource. (REF007 §9.5 / §10: every resource consumption must reference an authorizing Budget/Financial Obligation with sufficient available balance under the Encumbrance Doctrine — co-deploy obligation.)
8.5 REF005 ↔ REF004 (Event) — CAUSE OF CONSUMPTION
An Event does not contain a balance — it causes a CONSUMPTION transition. Resource consumption is typically attributed to a REF004 Event as its cause (EI-009). The Event is the cause reference on the transition; identity is never collapsed.
8.6 REF005 ↔ REF006 (Document) — EVIDENCE
Documents evidence Resource acquisitions, disposals, and transfers (invoice → acquisition; receipt → donation-in-kind; deed → transfer). The Document → Resource FK lives on REF006, not the reverse. A Document does NOT create the balance — the transition does; the Document provides the legal/audit trace.
8.7 REF005 ↔ REF011 (Schedule) & REF014 (Initiative) — DOWNSTREAM
REF011 references REF005 resources for maintenance scheduling (ref011_schedules.resource_id → ref005_resources.resource_id, nullable on REF011). REF014 Initiatives consume Resources during project execution; grant-fund restricted resources (S1) anchor to the governing Initiative for budgeting.
8.8 Cross-Entity Transfer (Federation)
A transfer across entities is two Resource records + two paired, dual-scoped transitions: a DISPOSAL in the source scope and an ACQUISITION in the destination scope, linked by a Transfer Instrument (REF006) and authorized by a REF008 grant. Neither scope mutates the other's records directly; the RLS boundary is preserved (EI-006).
9. Constitutional Invariants Summary
The load-bearing, DB-enforced object-model invariants of REF005 (the EI-001..EI-010 set certified under FS-001), each tracing to a universal Resource invariant (RI) and a foundational axiom (RA):
| Code | Invariant | Enforcement | Trace |
|---|---|---|---|
| EI-001 | Append-only balance — no direct write to held_quantity; balance changes only via transition. | BEFORE UPDATE trigger rejects direct balance writes. | RI-001 / RULE-RES-001 |
| EI-002 | Conservation — balance = Σ transitions; value neither created nor destroyed without a recorded act. | AFTER INSERT trigger recomputes + asserts the sum. | RI-002 / RULE-RES-002 |
| EI-003 | Non-over-allocation — allocation may not exceed available quantity (with the S1-only credit carve-out). | BEFORE INSERT checks availability under row lock. | RI-007 / RULE-RES-008/009 |
| EI-004 | Encumbrance ceiling — Σ(open allocations) ≤ held_quantity. | BEFORE INSERT checks the open-allocation sum. | RI-007 / RULE-RES-010 |
| EI-005 | Entity-scope RLS — every Resource scoped to one entity; no cross-scope read/write. | RLS policies; non-superuser ref005_app. | RI-003 / RULE-RES-003 |
| EI-006 | Dual-scoped transfer — cross-entity transfer is two paired scoped acts linked by a Transfer Instrument. | Trigger + service guard; entity_id match enforced. | RI-003 / §8.8 |
| EI-007 | No-delete / history immutability — Resources and transitions are never deleted or updated; corrections are new records. | BEFORE DELETE/UPDATE/TRUNCATE triggers. | RI-006 / RULE-RES-004 |
| EI-008 | Bitemporal — NOT NULL occurred_at + recorded_at on every transition; any past state reconstructable. | NOT NULL columns; replay-verified. | RI-004 / RULE-RES-007 |
| EI-009 | Attribution completeness — exactly one cause + NOT NULL recorded_by on every transition. | CHECK (exactly-one-cause) + NOT NULL. | RI-005 / RULE-RES-005 |
| EI-010 | Immutable subtype — a Resource's kind discriminator may not change after creation. | BEFORE UPDATE trigger blocks subtype_code change. | RI-008 / RULE-RES-006 |
Universal invariant lineage (RI-001..RI-008), from the foundational Resource axioms RA-001..RA-007: RI-001 no silent mutation · RI-002 conservation · RI-003 entity-scoped ownership · RI-004 bitemporal reconstruction · RI-005 attribution of every transition · RI-006 no-delete · RI-007 non-negative held quantity (with S1 carve-out) · RI-008 single immutable subtype identity.
Subtype-specific invariants (SI-*): S1 — SI-S1-1/2/3 · S2 — SI-S2-1/2/3 · S3 — SI-S3-1/2/3 · S4 — SI-S4-1/2/3 (see §4). A subtype invariant may tighten a universal invariant but may never relax one.
Constitutional Colophon — T5
This chapter establishes that every quantum of financial, material, capacity, and intangible value the
institution holds is constitutionally a Resource — a conserved, attributed, append-only, entity-scoped
quantity whose balance is the derived sum of recorded transitions, and from which no value may be created
or destroyed without a formally recorded, attributed act.
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 T6 (REF006 — Document) should carry forward:
the distinction between the act (Resource transition) and the evidence of the act (Document) is a
constitutional boundary, not a design choice — a Document does not create a Resource balance; it
evidences the acquisition or disposal transition that did, and the Document → Resource foreign key
lives on REF006, not the reverse.
