VGSF CONSTITUTIONAL TECHNICAL ARCHITECTURE — BOOK II — PART A: CONSTITUTIONAL DOMAIN MODEL
Chapter 17 of 21 in this Part
T17 — REF006.X4 MANDATE — GOVERNANCE INSTRUMENT IV: DELEGATED AUTHORITY
Document record
| Field | Value |
|---|---|
| Constitutional Series | T — Constitutional Domain Model |
| Source Document | FOUNDATION_G35_REF006X4_MANDATE_CONSTITUTION.md |
| Domain Identifier | REF006.X4 |
| Classification | EXTENSION |
| Parent Domain | REF006 — Document |
| Constitutional Discriminator | The document IS the conferral act — mandating authority + named mandatee + delegated scope + subdelegation gate |
| Schema | ref006x4 |
| Certified | CERTIFIED |
| Certifying Program | CAP190A |
| Position in Book | Part A, Chapter 17 of 21 |
T16 established License as conditional permission. T17 (REF006.X4 Mandate) completes the REF006 extension family: a Mandate is a Document that authorizes an agent to act on behalf of the issuing authority — the constitutional instrument of delegation.
Constitutional Dependencies
G3.5 REF006.X4 depends upon — and references — the following constitutional authorities:
- G3.5 REF006 Document Constitution — the mandatory primary parent. Every Mandate IS-A REF006 Document. REF006 must be CERTIFIED before any
.Xnextension may proceed (UP-007 predecessor-trustworthiness gate; RULE-GOV). REF006's full DI-001..DI-008 invariant set is inherited unconditionally by every Mandate. - G3.5 REF008 Authority Constitution — the mandatory secondary parent. The mandating authority (
mandating_authority_id) is a logical cite into REF008. REF008 was CERTIFIED before REF006.X4 admission (CAP070G → CAP183A). - G3.5 REF001 Identity Constitution — REF001 is referenced via
mandatee_party_id(FK →ref001.party(id)) on the extension's own table. REF001 was CERTIFIED at REF006 admission (CAP050A). - DC-001..DC-005 Domain Classification Standards — the classification triple, the
.Xnnumbering convention, the tighten-not-relax discipline, and DC-005 anti-drift (boundary freeze). - Methodology V2.1 — the Phase −1 → Phase 6 constitutional lifecycle under which REF006.X4 was specified, implemented, verified, and certified.
REF006.X4 introduces zero new domain dependencies beyond its three certified parents (REF001,
REF006, REF008). The UP-007 predecessor-trustworthiness gate was PASSED at admission (all three
mandatory parents CERTIFIED; RULE-GOV LIFTED).
Status
REF006X4_CERTIFIED_WITH_OBSERVATIONS — CAP190A (R-CERT) — 2026-06-25 — ERA_045.
REF006.X4 Mandate is the fourth and final member of the VGSF Governance Instrument (GI)
family (REF006.X1–X4) to be certified. It achieved 19/19 PASS (100%) at Verification
Execution (CAP189A) — a first-pass, zero-defect result with a 96% overall certification
score, earning the notation DS-001 PERFECTED. The admission report describes REF006.X4 as
"the cleanest admission in the extension batch": all four Phase 0 blockers (BL-1..BL-4)
were resolved by Primary Steward ruling at admission (CAP183A), leaving zero residual Phase 0
issues before specification commenced.
Lifecycle program chain (immutable, committed):
CAP183A Phase -1 Classification & Admission ADMIT (Primary Steward; 2026-06-25)
[BL-1..BL-4 resolved by PS rulings PS-CAP183A-001..003 during Phase -1]
CAP184A Phase 0 Constitutional Discovery COMPLETE — 0 residual blockers
CAP185A Phase 1 Service Specification SPEC_APPROVED — 19 obligations + DDL
CAP186A Phase 2 Independent Review APPROVED_WITH_OBSERVATIONS (3 obs, 0 blockers)
CAP187A Phase 3 Verification Architecture ARCHITECTURE_APPROVED — 19 VM scripts
CAP188A Phase 4 Implementation DEPLOYED — cap090b_pilot — schema ref006x4
CAP189A Phase 5 Verification Execution 19/19 PASS (100%)
CAP190A Phase 6 Independent Certification CERTIFIED_WITH_OBSERVATIONS 96% · DS-001 PERFECTEDThe lifecycle is archived as ERA_045 (CAP190A, R-CERT).
Constitutional Note: Domain Numbering
REF006.X4 is the Mandate extension of REF006 Document. Its designation was established at
Phase −1 admission (CAP183A) and is the single source of record in REF_DOMAIN_ROADMAP.yaml
(DC-005 AD-1). The .X4 suffix follows the DC-002 .Xn extension convention: it is the fourth
certified extension of the REF006 Governance Instrument family (after X1 Policy, X2 Directive,
X3 License), designating a Document + Authority cross-domain extension. There is no independent
REF number for Mandate — an independent REF would duplicate REF006 and fail DC-003 (RULE-BL2-B).
1. Domain Purpose
REF006.X4 answers the fundamental question of delegated authority:
What formal instrument constitutes the conferral of authority from a grantor to a named
grantee — and can that conferral be proven, its scope verified, its term enforced, and its
revocation recorded without destroying the historical record?
An institution does not merely delegate power informally — it must be able to prove the
conferral, its precise scope, who authorized it, and for how long. The Mandate is the
constitutional artifact that IS the conferral act. Signing (issuing) a Mandate is not recording
a delegation that happened elsewhere — it IS the delegation.
REF006.X4 constitutes the authority-conferral layer of the VGSF Governance Instrument
family. It:
- Defines what it means for a Document to be a Mandate — a REF006 Document that adds constitutional substance for delegated authority: mandating authority, named grantee, delegated scope, term, and subdelegation gate.
- Guarantees that the Mandate document IS the conferral act (not merely evidence of it): issuance creates the delegation; revocation terminates it.
- Enforces a dual lifecycle: the inherited REF006 document lifecycle (Draft/Active/Withdrawn/ Archived) and the mandate-specific authority status (DRAFT/ACTIVE/SUSPENDED/REVOKED/EXPIRED), coordinated atomically by the service layer.
- Gates subdelegation: a Mandate may forbid further delegation; the gate is enforced at
fn_issue_mandate()— the service entry point.
Without REF006.X4, the institution's delegated authority would have no constitutional
carrier — a delegation could be asserted but its scope, term, and lineage could not be
proven, its revocation could not be traced, and subdelegation could not be controlled. REF006.X4
makes the delegated-authority record identifiable, attributed, scoped, term-bounded,
revocable, and non-falsifiable.
2. Constitutional Scope
2.1 What REF006.X4 Governs
- The constitutional definition of Mandate as a REF006 Document that IS a delegated-authority conferral act.
- The four load-bearing constitutional attributes:
mandating_authority_id,mandatee_party_id,delegated_scope, andmandate_term(start + optional end). - The supporting constitutional attributes:
is_subdelegable,status, and revocation evidence (revocation_reason,revoked_at). - The nine Mandate Invariants (MI-001..MI-009): identity immutability, no physical deletion, forward-only status transitions, revocation consistency, term consistency, authority-active-at- issuance gate, subdelegation gate, mandatee party FK, and zero-parent-mutation.
- The dual lifecycle model: REF006 document lifecycle (inherited; enforced by REF006 guard triggers) and Mandate status lifecycle (extension-owned; enforced by
trg_fn_mandate_status_guard), coordinated atomically via the service layer. - The subdelegation gate (
is_subdelegable): enforced atfn_issue_mandate()— the sole authorized entry point for Mandate creation. The gate is a service-layer check (not a DB constraint), per PS-CAP184A-001. - The cite-only REF008 reference model:
mandating_authority_idis a UUID without a cross-schema FK; validity is checked at issuance time via a SECURITY DEFINER seam owned byref008_app(Federation EX-N-2; PS-CAP183A-002).
2.2 What REF006.X4 Does NOT Govern
- Authority facts / the authority graph —
mandating_authority_idreferences REF008; REF008 owns and constitutes the authority record. REF006.X4 cites authority, it does not constitute it. - Policy, norms, or commands — norms (Policy X1) and commands (Directive X2) are distinct GI siblings; they govern a class of subjects or addressed actors, not a named grantee.
- Obligation linkage — License (X3) is the GI that couples Document + Authority + Obligation; Mandate carries no Obligation dimension.
- Party identity —
mandatee_party_idreferences REF001; REF001 constitutes the Party. REF006.X4 references identity, it does not constitute it. - The content body of the mandate instrument — content is referenced by the inherited
content_integrity_reffingerprint (DI-004) only; storage is implementation, not constitution. - Sub-mandates as a separate domain — a sub-mandate issued under a subdelegable Mandate is itself a Mandate (same extension); subdelegation does not create a new domain class.
3. Core Constitutional Definition
3.1 What Is a Mandate?
A Mandate is a REF006 Document — a Governance Instrument — that CONFERS delegated authority
from a named mandating authority (grantor) to a named mandatee (grantee): identifying the
specific scope of delegated power, the term of delegation, and whether further subdelegation
is permitted. The Mandate document IS the conferral act: issuing the Mandate creates the
delegation.
The constitutive distinction: a Policy prescribes norms for a class of subjects; a Directive
commands action by addressed actor(s); a Mandate confers authority upon a named grantee.
The mandating authority IS the source of the delegated power — not merely a legitimizing reference.
This distinguishes Mandate from its GI siblings at the constitutional level, not merely at the
attribute level.
3.2 Mandate Invariants — MI-001..MI-009
All nine Mandate Invariants extend (never relax) the eight REF006 universals (DI-001..DI-008).
The RELAX count at admission was zero (CAP183A D2).
| ID | Mandate Invariant | Enforcement Mechanism |
|---|---|---|
| MI-001 | Identity immutability — mandate_id, entity_id, mandating_authority_id, mandatee_party_id, delegated_scope, created_by, created_at are immutable after creation | trg_fn_mandate_guard (BEFORE UPDATE) |
| MI-002 | No physical deletion — a Mandate is never physically deleted; termination is by lifecycle transition only | trg_fn_mandate_guard (BEFORE DELETE) |
| MI-003 | Forward-only status — transitions only: DRAFT→ACTIVE; ACTIVE→SUSPENDED/REVOKED/EXPIRED; SUSPENDED→ACTIVE/REVOKED; no reversal | trg_fn_mandate_status_guard (BEFORE UPDATE) |
| MI-004 | Revocation consistency — status = 'REVOKED' iff revoked_at IS NOT NULL | CHECK constraint |
| MI-005 | Term consistency — when both term dates are set, mandate_term_end > mandate_term_start | CHECK constraint |
| MI-006 | Authority active at issuance — mandating authority must have lifecycle_state = 'Active' in REF008 at fn_issue_mandate() time | Service gate via fn_seam_authority_validity() |
| MI-007 | Subdelegation gate — when a parent_mandate_id is provided, the parent mandate's is_subdelegable MUST be TRUE | Service gate in fn_issue_mandate() |
| MI-008 | Mandatee is a REF001 Party — mandatee_party_id references a valid ref001.party(id) | FK constraint |
| MI-009 | Zero parent mutation — no ALTER/DROP on ref006.*, ref008.*, ref001.*; only additive DDL in schema ref006x4 | Architectural discipline |
3.3 Inherited REF006 Universals (UI-001..UI-005)
Every Mandate is a REF006 Document. The following universals are inherited unconditionally and
enforced by REF006's certified guard triggers — REF006.X4 does not re-implement them:
| ID | Inherited Invariant |
|---|---|
| UI-001 | Every Mandate is a REF006 Document (IS-A; FK mandate_id → ref006_document(document_id)) |
| UI-002 | No physical deletion of documents (trg_fn_document_guard) |
| UI-003 | Document lifecycle: Draft/Active/Withdrawn/Archived (trg_fn_version_guard) |
| UI-004 | Entity isolation — a Mandate is visible only within its entity scope (RLS) |
| UI-005 | Version history preserved (REF006 version model) |
3.4 Fundamental Rules
RULE-MAN-001 (IS-A Attachment). mandate_id is simultaneously the PK ofref006x4.ref006x4_mandate and a FK to ref006.ref006_document(document_id) withdocument_type = 'MANDATE'. The document_type field in REF006 is open (no CHECK constraint);
'MANDATE' requires no REF006 DDL mutation (PS-CAP183A-001).
RULE-MAN-002 (Sole Entry Point). fn_issue_mandate() is the sole authorized path to
create a Mandate. It atomically creates the REF006 document, issues the version, validates the
mandating authority, checks the subdelegation gate, and inserts the mandate row withstatus = 'ACTIVE'. No other insertion path is constitutionally valid.
RULE-MAN-003 (Cite-Only Authority Reference). mandating_authority_id is stored as UUID
WITHOUT a cross-schema FK to ref008.ref008_authority. Validity is checked at issuance time
only, via a SECURITY DEFINER seam owned by ref008_app (Federation EX-N-2; PS-CAP183A-002).
REF006.X4 NEVER writes to REF008.
RULE-MAN-004 (Subdelegation Gate is Service-Layer). The subdelegation gate (is_subdelegable)
is enforced in fn_issue_mandate() — not by a DB trigger. A trigger alone would be insufficient
because the check requires joining back to the parent mandate's subdelegability flag via themandating_authority_id path (PS-CAP184A-001).
RULE-MAN-005 (Dual Lifecycle Coordination). The Mandate status lifecycle
(DRAFT/ACTIVE/SUSPENDED/REVOKED/EXPIRED) and the inherited REF006 document lifecycle
(Draft/Active/Withdrawn/Archived) are two coordinated state machines. They transition
atomically: fn_issue_mandate() sets both to active; fn_revoke_mandate() sets mandate
status to REVOKED and calls fn_seam_withdraw_version() on the REF006 document version
(PS-CAP183A-003).
RULE-MAN-006 (Tighten-Not-Relax). No Mandate invariant relaxes any REF006 universal
DI-001..DI-008. Admission boundary analysis confirmed: RELAX count = 0; EXTEND count = 6;
INHERIT count = 4+ (CAP183A D2). The tighten-not-relax discipline (RULE-BL2-A) is satisfied.
4. Sub-Kinds and Type Variants
REF006.X4 Mandate is itself a .Xn extension — it is not a base domain with its own sub-kind
hierarchy. No further .Xn extension is designated off of REF006.X4. The subdelegation mechanism
(a sub-mandate issued under a parent Mandate) creates another Mandate instance — not a new
class. The is_subdelegable gate controls whether subdelegation is permitted for a given Mandate.
4.1 Sibling Distinction — GI Family
REF006.X4 is the fourth and final certified member of the Governance Instrument family:
| Extension | Identity | Governing Dimension | Target of governance | Status |
|---|---|---|---|---|
| REF006.X1 | Policy | Document × Authority | A CLASS of subjects — prescribes norms | CERTIFIED_WITH_OBSERVATIONS |
| REF006.X2 | Directive | Document × Authority | Addressed actor(s) — commands action | CERTIFIED_WITH_OBSERVATIONS 100% |
| REF006.X3 | License | Document × Authority × Obligation | Named grantee — grants permission with obligation linkage | CERTIFIED_WITH_OBSERVATIONS 100% |
| REF006.X4 | Mandate | Document × Authority | Named mandatee — confers delegated authority | CERTIFIED_WITH_OBSERVATIONS 96% |
The constitutional discriminator that separates Mandate from its siblings: the mandating
authority IS the source of the delegated power, and the document IS the conferral act — not a
record of legitimacy (as in Policy/Directive) or a grant of permission (as in License), but an
act of delegation that creates operative authority in the named grantee.
4.2 Mandate vs. REF008 Authority Record
A Mandate is a Document in the REF006 sense — evidentiary, version-controlled, immutable
once issued, retained. An REF008 Authority record is a governance fact in the authority
graph — it records that a party holds an institutional role. These are orthogonal: a Mandate
may be the instrument that creates or evidences an REF008 authority record, but Mandate and
Authority are distinct constitutional objects (see §8.3).
5. Domain Architecture
5.1 Four-Surface Model
REF006.X4 is structured around four constitutional surfaces (CAP183A D2):
| Surface | Nature | Description |
|---|---|---|
| S1 — IS-A Document | Inherited | Every Mandate IS-A REF006 Document. The Document spine (version history, lifecycle, entity isolation) is owned by REF006; accessed exclusively via SECURITY DEFINER seam contracts owned by ref006_app. |
| S2 — Cited Authority | Read-only cite | mandating_authority_id is a logical cite into ref008.ref008_authority. No cross-schema FK (Federation EX-N-2). Read via fn_seam_authority_validity() at issuance time only. |
| S3 — Extension-Owned | New substance | All new constitutional substance lives in ref006x4.ref006x4_mandate — mandate qualification columns, status, guard triggers, and the dual lifecycle. |
| S4 — Derived | Computed predicate | fn_check_mandate_active() — a composite active-check combining mandate status, term validity, REF006 doc lifecycle state, and REF008 authority lifecycle state. Never stored as a column. |
5.2 Table: ref006x4.ref006x4_mandate
The single extension-owned table. All new constitutional columns reside here.
| Column | Type | Constraint | Constitutional Role |
|---|---|---|---|
mandate_id | UUID PK | FK → ref006.ref006_document(document_id) | IS-A attach (S1) |
entity_id | UUID | NOT NULL | RLS scope (DI-007 / UI-004) |
mandating_authority_id | UUID | NOT NULL | Cite → ref008 authority (S2) |
mandatee_party_id | UUID | NOT NULL, FK → ref001.party(id) | Named grantee (MI-008) |
delegated_scope | TEXT | NOT NULL, nonempty CHECK | Scope of delegated authority |
mandate_term_start | TIMESTAMPTZ | NOT NULL DEFAULT now() | Effective start (MI-005) |
mandate_term_end | TIMESTAMPTZ | nullable | Optional expiry (MI-005) |
status | TEXT | CHECK IN ('DRAFT','ACTIVE','SUSPENDED','REVOKED','EXPIRED') | Authority status (MI-003/MI-004) |
is_subdelegable | BOOLEAN | NOT NULL DEFAULT FALSE | Subdelegation gate (MI-007) |
revocation_reason | TEXT | nullable | Revocation evidence (MI-004) |
revoked_at | TIMESTAMPTZ | nullable | Revocation timestamp (MI-004) |
created_by | UUID | NOT NULL | Audit / DI-001 |
created_at | TIMESTAMPTZ | NOT NULL DEFAULT now() | Audit / DI-005 |
5.3 Schema and DDL Structure
Schema: ref006x4 (independent deployable unit; Federation CAP030D)
Roles: ref006x4_app (NOLOGIN), ref006x4_verifier (NOLOGIN BYPASSRLS)
GUC: ref006x4.current_entity_id (set by service layer for RLS)
| DDL File | Contents |
|---|---|
001_ref006x4_ddl.sql | Schema, roles, main table, guard triggers (2 trigger functions) |
002_ref006x4_rls.sql | RLS policies, role grants |
003_ref006x4_functions.sql | Seam contracts (Part A: REF006, Part B: REF008), lifecycle functions (Part C), view, grants (11 functions + 1 view) |
Total implementation surface: 1 table · 11 functions + 2 trigger functions · 1 view
5.4 Service Functions
| Function | Constitutional Purpose |
|---|---|
fn_issue_mandate(...) | Sole entry point — creates document + issues version + validates authority + checks subdelegation gate + inserts mandate row with status='ACTIVE'. Returns (mandate_id, version_id). |
fn_revoke_mandate(p_mandate_id, p_reason) | Sets status='REVOKED', revoked_at=now(); calls fn_seam_withdraw_version() on REF006 document version. Dual-layer revocation. |
fn_suspend_mandate(p_mandate_id, p_reason) | ACTIVE → SUSPENDED (authority temporarily halted). |
fn_reinstate_mandate(p_mandate_id) | SUSPENDED → ACTIVE (authority reinstated). |
fn_expire_mandate(p_mandate_id) | ACTIVE → EXPIRED (natural term end). |
fn_check_mandate_active(p_mandate_id) | Composite active predicate: TRUE iff status='ACTIVE' AND (term_end IS NULL OR term_end > now()) AND REF006 doc lifecycle='Active' AND REF008 authority lifecycle='Active'. Never stored. |
fn_seam_create_document(...) | SECURITY DEFINER (ref006_app) — creates REF006 document with document_type='MANDATE'. |
fn_seam_issue_version(...) | SECURITY DEFINER (ref006_app) — issues REF006 document version. |
fn_seam_withdraw_version(...) | SECURITY DEFINER (ref006_app) — withdraws REF006 document version (called by revoke). |
fn_seam_document_head(...) | SECURITY DEFINER (ref006_app) — retrieves current REF006 document head metadata. |
fn_seam_authority_validity(...) | SECURITY DEFINER (ref008_app) — reads REF008 authority lifecycle state for issuance gate (MI-006). |
vw_mandates | View joining ref006x4_mandate + ref006.ref006_document, exposing all mandate columns plus document_lifecycle_state. |
5.5 Zero-Parent-Mutation Evidence (MI-009)
| Parent Schema | Authorized Operations | Prohibited Operations |
|---|---|---|
ref006.* | FK from mandate_id; EXECUTE on ref006_app-owned seam functions | ALTER TABLE, DROP, new columns, trigger modification |
ref008.* | Read via SECURITY DEFINER seam owned by ref008_app | Any write; FK to ref008 tables |
ref001.* | FK from mandatee_party_id on extension table | ALTER TABLE, DROP, new columns |
Verified by VM09, VM14, VM15, VM19 (19/19 PASS, CAP189A).
6. Lifecycle — Dual Coordinated State Machines
6.1 Determination
DUAL COORDINATED. Every Mandate carries two simultaneously active state machines: the
inherited REF006 document lifecycle (mutable-before-issuance / immutable-after-issuance, per
the HYBRID model) and the mandate-specific authority status lifecycle (forward-only,
service-layer enforced). These are distinct and coordinated — neither subsumes the other
(PS-CAP183A-003).
6.2 REF006 Document Lifecycle (Inherited)
Draft → Active → Withdrawn → ArchivedTransitions executed via REF006 seam contracts. REF006's certified guard triggers enforce these
unconditionally. The Mandate document is immutable evidence once issued (DI-002 / DI-004).
6.3 Mandate Status Lifecycle (Extension-Owned)
DRAFT ──────────→ ACTIVE ──────────────────────→ REVOKED
│ ▲
├──────→ SUSPENDED ───────────────┘
│
└──────→ EXPIRED (natural term end)| Status | Meaning | Constitutional Effect |
|---|---|---|
| DRAFT | Mandate document being prepared; no authority conferred yet | Authority not operative |
| ACTIVE | Mandate issued; authority conferred; mandatee may act | Authority fully operative |
| SUSPENDED | Authority temporarily halted (pending review, dispute, etc.) | Authority suspended; no new acts under mandate |
| REVOKED | Mandate cancelled by mandating authority; no resurrection | Authority permanently terminated |
| EXPIRED | Term end reached; mandate naturally concluded | Authority concluded by time |
The status machine is forward-only (MI-003): no backward transitions are permitted.trg_fn_mandate_status_guard enforces this at the DB layer.
6.4 Coordination Events
| Service Function | REF006 Doc Transition | Mandate Status Transition |
|---|---|---|
fn_issue_mandate() | Draft → Active | DRAFT → ACTIVE |
fn_suspend_mandate() | (unchanged) | ACTIVE → SUSPENDED |
fn_reinstate_mandate() | (unchanged) | SUSPENDED → ACTIVE |
fn_revoke_mandate() | Withdraw current version | ACTIVE/SUSPENDED → REVOKED |
fn_expire_mandate() | (unchanged) | ACTIVE → EXPIRED |
6.5 Prohibited Transitions
| Prohibited Transition | Violated Invariant |
|---|---|
| Any status backward transition | MI-003 (forward-only) |
REVOKED status without revoked_at set | MI-004 (revocation consistency) |
| Physical deletion of mandate row | MI-002 / DI-006 (non-destruction) |
Create mandate except via fn_issue_mandate() | RULE-MAN-002 (sole entry point) |
| Issue mandate with inactive mandating authority | MI-006 (authority-active gate) |
Issue sub-mandate where is_subdelegable=FALSE | MI-007 (subdelegation gate) |
7. Governance
7.1 Governance Acts
| Act | Service Function | Constitutional Requirement |
|---|---|---|
| Create and issue | fn_issue_mandate() | Sole authorized entry point; authority-active gate (MI-006); subdelegation gate (MI-007); dual-layer atomic transition. |
| Suspend | fn_suspend_mandate() | Status must be ACTIVE; transitions to SUSPENDED only. |
| Reinstate | fn_reinstate_mandate() | Status must be SUSPENDED; returns to ACTIVE. |
| Revoke | fn_revoke_mandate() | Sets REVOKED + revoked_at; withdraws REF006 document version. Irreversible. |
| Expire | fn_expire_mandate() | Status must be ACTIVE; natural term end. |
| Check active | fn_check_mandate_active() | Composite derived predicate; four conditions all TRUE required. |
7.2 Security Model (Certified)
- Row-Level Security enforcing DI-007 entity isolation on
ref006x4.ref006x4_mandate. GUCref006x4.current_entity_idset by service layer. - Least-privilege application role (
ref006x4_app); SECURITY INVOKER except for seam functions (SECURITY DEFINER, owned by parent domain roles). - Seam ownership: REF006 seams owned by
ref006_app; REF008 seam owned byref008_app. REF006.X4 executes seams, never modifies parent schema (MI-009). - RLS enabled and forced: verified by VM16 (19/19 PASS, CAP189A).
- Seam count and ownership verified: VM17 (ref008_app seam), VM18 (ref006_app seam count), VM19 (cite-only, no FK to ref008).
7.3 Role Separation (Certified)
All six constitutional role types were distinct across the full REF006.X4 lifecycle:
R-ARCH (CAP183A–CAP187A, CAP189A analysis)
R-REVIEW (CAP186A independent review)
R-VARCH (CAP187A verification architecture)
R-IMPL (CAP188A implementation)
R-VEXEC (CAP189A verification execution)
R-CERT (CAP190A independent certification)Role separation confirmed by CAP190A certification record (key certifiable property #5).
8. Cross-Domain Constitutional References
REF006.X4 takes no substantive dependency beyond its three certified parents (REF001,
REF006, REF008). The references below define the boundary of each relationship.
8.1 REF006.X4 ⟷ REF006 (Document) — Mandatory Primary Parent
IS-A relationship. Every Mandate is a REF006 Document. The mandate_id PK is
simultaneously a FK to ref006.ref006_document(document_id). REF006's certified DI-001..DI-008
universals and guard triggers apply to every Mandate's document row unconditionally.
REF006.X4 accesses the Document spine exclusively via SECURITY DEFINER seam contracts owned
by ref006_app. Zero mutation of ref006.* is the constitutional guarantee (MI-009; VM09/VM14).
8.2 REF006.X4 ⟷ REF008 (Authority) — Cite-Only Secondary Parent
Cite-only relationship. mandating_authority_id is a UUID stored without a cross-schema FK
(Federation EX-N-2; PS-CAP183A-002). The mandating authority's lifecycle_state is read at
issuance time via fn_seam_authority_validity() (SECURITY DEFINER, owned by ref008_app).
REF006.X4 NEVER writes to REF008 (VM19 confirmed).
The constitutive distinction: the mandating authority IS the source of delegated power —
not merely a legitimizing reference. The Mandate IS the conferral act. The authority record
(REF008) and the conferral instrument (REF006.X4) are orthogonal objects.
8.3 REF006.X4 ⟷ REF001 (Identity) — Mandatee Party Reference
FK reference on extension table. mandatee_party_id FK → ref001.party(id) (MI-008).
REF001 constitutes the Party; REF006.X4 references it. No mutation of ref001.* (VM09).
The created_by audit column (inherited REF006 DI-001 attribution) also references REF001.
8.4 REF006.X4 ⟷ REF006.X1/X2/X3 — Governance Instrument Siblings
Mandate is one of four GI siblings (X1 Policy, X2 Directive, X3 License, X4 Mandate). The
siblings share the .Xn extension architecture (IS-A Document + Authority cite-only) but
constitute distinct constitutional objects — each adds non-overlapping constitutional
substance. There is no inheritance or overlap between siblings; each is a separate schema
(ref006x1, ref006x2, ref006x3, ref006x4).
8.5 Boundaries (All STABLE)
| Pair | Discriminator | Verdict |
|---|---|---|
| Mandate ≠ Policy (X1) | norms for a class vs. authority conferred on a named grantee | STABLE |
| Mandate ≠ Directive (X2) | commands addressed actors vs. confers authority on named grantee | STABLE |
| Mandate ≠ License (X3) | delegated authority vs. permission + obligation linkage | STABLE |
| Mandate ≠ REF008 Authority record | conferral instrument vs. authority graph fact | STABLE |
| Mandate IS-A REF006 Document | base ⊂ extension (containment, not overlap) | STABLE |
| Subdelegation = another Mandate instance | no new class created by subdelegation | STABLE |
9. Constitutional Invariants Summary
The load-bearing constitution of REF006.X4, in compact form. Every item traces to the canonical
CAP183A–CAP190A record.
9.1 Inherited REF006 Universals (DI-001..DI-008)
Fully inherited. See G3.5 REF006 Document Constitution §3.2 for the complete table.
| Code | Universal (inherited) |
|---|---|
| DI-001 | Attribution — ≥1 responsible Party per Document |
| DI-002 | Issuance Immutability — once issued, change only by new version |
| DI-003 | Version Lineage & Supersession — append-only, predecessor preserved |
| DI-004 | Evidence Integrity — content integrity verifiable / tamper-evident |
| DI-005 | Temporal Anchoring — issuance/effective time; bitemporal history |
| DI-006 | Retention / Non-Destruction — no physical removal while referenced |
| DI-007 | Entity Scope (RLS) — exactly one entity scope; isolation at the data layer |
| DI-008 | Unique Artifact Identity — uniquely, stably identifiable; never reused |
9.2 Mandate Invariants (MI-001..MI-009)
| Code | Mandate Invariant (extension-owned) | Enforcement |
|---|---|---|
| MI-001 | Identity immutability — core columns immutable after creation | trg_fn_mandate_guard |
| MI-002 | No physical deletion | trg_fn_mandate_guard |
| MI-003 | Forward-only status transitions | trg_fn_mandate_status_guard |
| MI-004 | Revocation consistency | CHECK constraint |
| MI-005 | Term consistency | CHECK constraint |
| MI-006 | Mandating authority active at issuance | Service gate (fn_issue_mandate) |
| MI-007 | Subdelegation gate | Service gate (fn_issue_mandate) |
| MI-008 | Mandatee is a REF001 Party | FK constraint |
| MI-009 | Zero parent mutation | Architectural discipline |
9.3 Fundamental Rules
| Rule | Statement |
|---|---|
| RULE-MAN-001 | IS-A attachment via PK=FK pattern; document_type='MANDATE' requires no REF006 DDL mutation |
| RULE-MAN-002 | fn_issue_mandate() is the sole authorized Mandate creation entry point |
| RULE-MAN-003 | mandating_authority_id is cite-only UUID; no cross-schema FK to ref008 |
| RULE-MAN-004 | Subdelegation gate is service-layer enforcement (not DB trigger) |
| RULE-MAN-005 | Dual lifecycle coordination — two state machines, atomically transitioned by service functions |
| RULE-MAN-006 | Tighten-not-relax — RELAX count = 0; EXTEND = 6; INHERIT = 4+ (CAP183A D2) |
9.4 Implementation Summary
| Artifact | Count / Value |
|---|---|
| Table | 1 (ref006x4.ref006x4_mandate) |
| Service functions + seam functions | 11 (in 003_ref006x4_functions.sql) |
| Trigger functions | 2 (trg_fn_mandate_guard, trg_fn_mandate_status_guard) |
| View | 1 (vw_mandates) |
| Schema | ref006x4 |
| Verification obligations | 19 (CAP185A; 19/19 PASS, CAP189A) |
| Phase 0 blockers at start of Phase 1 | 0 (cleanest admission in GI batch) |
| Overall certification score | 96% |
9.5 Carried Observations (NON-BLOCKING, forwarded to CAP027X)
| Observation | Substance |
|---|---|
| METH-OBS-CAP190A-001 | One-obligation-per-script pattern — methodology evolution candidate |
| METH-OBS-CAP190A-002 | Subdelegation gate as standalone evidence — methodology evolution candidate |
| METH-OBS-CAP190A-003 | RLS runtime isolation evidence — methodology evolution candidate |
Constitutional Colophon — T17
This chapter establishes REF006.X4 Mandate as the fourth and final certified VGSF Governance
Instrument — the constitutional carrier of delegated authority, where the document IS the
conferral act.
It operates within Part A as a certified extension: it inherits the identity of REF006 Document
and adds the constitutional discriminator of named mandatee + delegated scope + subdelegation gate,
completing the four-member Governance Instrument family and demonstrating that all four GI types
(prescribe / command / confer / authorize) can be grounded in the same Document × Authority parent pair.
Readers proceeding to T18 (REF007.X1 Financial Obligation) should carry forward:
The REF006 extension family is complete. The next four extensions are drawn from REF007 and REF008 —
adding the financial dimension (amount, currency, conservation) to Obligation and the threshold/co-
authorization dimension to Authority.
