VGSF CONSTITUTIONAL TECHNICAL ARCHITECTURE — BOOK II — PART A: CONSTITUTIONAL DOMAIN MODEL
Chapter 16 of 21 in this Part
T16 — REF006.X3 LICENSE — GOVERNANCE INSTRUMENT III: CONDITIONAL PERMISSION
Document record
| Field | Value |
|---|---|
| Constitutional Series | T — Constitutional Domain Model |
| Source Document | FOUNDATION_G35_REF006X3_LICENSE_CONSTITUTION.md |
| Domain Identifier | REF006.X3 |
| Classification | EXTENSION |
| Parent Domain | REF006 — Document |
| Constitutional Discriminator | Named licensee + explicit permission scope + optional bilateral REF007 Obligation cross-reference |
| Schema | ref006x3 |
| Certified | CERTIFIED |
| Certifying Program | CAP182A |
| Position in Book | Part A, Chapter 16 of 21 |
T15 established Directive as command. T16 (REF006.X3 License) specializes REF006 as permission — a Document that grants specific rights to a named party, conditional on stated terms.
Constitutional Dependencies
G3.5 REF006.X3 depends upon and references the following constitutional authorities:
- REF006 Document (CERTIFIED) — the mandatory primary parent. Every License IS-A Document; all eight universal Document invariants DI-001..DI-008 apply without exception. The
licence_propertiestable attaches toref006.ref006_documentby reverse FK (1:1). CAP175A DC-003 T4: PASS. - REF007 Obligation (CERTIFIED) — the bilateral secondary parent. A License carries an optional but architecturally constitutive cross-reference to a REF007 Obligation record via the
licence_obligationscross-reference table. This is the first REF007 cross-reference in the REF006.Xn extension set. CAP175A T3: both parents required; PASS. - REF001 Identity/Party (CERTIFIED) — cite-only reference for
licensee_party_idandcreated_by. REF006.X3 references party identity; it never constitutes it. - DC-001..DC-005 Domain Classification Standards — the three-axis triple, the
.Xnnumbering convention, zero-parent-mutation discipline, and DC-005 anti-drift (boundary freeze). - Methodology V2.1 — the Phase −1 → Phase 6 constitutional lifecycle under which REF006.X3 was admitted, specified, implemented, verified, and certified.
Status
REF006.X3_CERTIFIED_WITH_OBSERVATIONS — CAP182A (R-CERT) — 2026-06-25 — ERA_044 — DS-001 PERFECTED.
REF006.X3 License is the third certified REF006.Xn extension (after Policy X1 and Directive X2),
and the only Governance Instrument that couples two secondary domains — Authority (REF008) and
Obligation (REF007). It traversed the full V2.1 lifecycle — Phase −1 admission through Phase 6
certification — with 15/15 verification scripts PASS on first execution and zero corrective cycle.
REF006.X3 is the first bilateral REF007 cross-reference in the VGSF certified extension set: a
permission-grant Document that carries both the governing Authority dimension and a formal Obligation
linkage to the licensee's performance duties.
Lifecycle program chain (immutable, committed · ERA_044):
CAP175A Phase -1 Classification & Admission ADMIT — triple (EXTENSION, Governance-License, Master)
CAP176A Phase 0 Constitutional Discovery PHASE_0_COMPLETE_PHASE_1_AUTHORIZED — BL-1..BL-4 resolved
CAP177A Phase 1 Service Specification COMPLETE — 6 obligation groups, 15 VOs
CAP178A Phase 2 Independent Review APPROVED_WITH_OBSERVATIONS — 3 observations, 0 blockers
CAP179A Phase 3 Verification Architecture COMPLETE — 15 VL scripts + run_all.sql
CAP180A Phase 4 Implementation COMPLETE — 4 DDL files deployed to cap090b_pilot
CAP181A Phase 5 Verification Execution 15/15 PASS — 100% — Phase 5a NOT REQUIRED
CAP182A Phase 6 Independent Certification CERTIFIED_WITH_OBSERVATIONSThe lifecycle is archived as ERA_044_REF006X3_LICENSE_LIFECYCLE (CLOSED).
Constitutional Note: Domain Numbering and Extension Position
REF006.X3 is the License extension. It occupies the third position in the REF006.Xn Governance
Instrument family, assigned sequentially per DC-002 at Phase −1 admission (CAP175A):
REF006.X1 Policy Document × Authority
REF006.X2 Directive Document × Authority
REF006.X3 License Document × Authority × Obligation ← this domain
REF006.X4 Mandate Document × AuthorityIts number is the single source of record in REF_DOMAIN_ROADMAP.yaml.
REF006.X3 is an EXTENSION: it introduces new constitutional surfaces (licensee_party_id,permitted_activities, the bilateral licence_obligations cross-reference, the revocation state
machine) that cannot be expressed as mere tightening of REF006 invariants alone (DC-003 T2). The
classification triple (EXTENSION, Governance-License, Master) records that it is a governance
instrument of the permission-grant class with Master-data volatility (stable records, controlled
lifecycle). This triple is unique within the GI family: no other extension carries both a governance
dimension and a bilateral obligation cross-reference.
1. Domain Purpose
REF006.X3 answers the fundamental question of institutionally governed permission:
To whom has the institution granted permission to do what — under what terms, for what validity
window, subject to what obligations — and can that permission be traced, verified, and revoked?
An institution does not grant permissions informally. A License is the constitutionally formal record
of a permission grant: it names the recipient (licensee), states explicitly what they are permitted to
do, anchors a validity period, and — when the grant is bilateral — cross-references the obligation
record that binds the licensee's performance.
REF006.X3 is the constitutional permission-grant artifact of the VGSF ERP:
- It constitutes what it means for an institution to have formally licensed a named party.
- It guarantees that the permission record is immutable evidence once active: a change in scope requires a new license, never a silent in-place edit of the existing one.
- It carries the full REF006 Document guarantee — every license is attributed, tamper-evident, temporally anchored, retained, and entity-scoped.
- It is the first extension in the GI family to carry a bilateral obligation linkage: the
licence_obligationscross-reference ties the license to the licensee's formal duty in REF007, closing the constitutional loop between permission granted and performance owed.
Without REF006.X3, the institution could hold permission-granting decisions but have no constitutional
carrier for the formal grant artifact — no named recipient, no explicit scope, no revocation record,
no obligation cross-reference. REF006.X3 makes institutional permission identifiable, attributed,
scoped, time-bounded, revocable, and obligation-linked.
2. Constitutional Scope
2.1 What REF006.X3 Governs
- The constitutional definition of License as a permission-grant Document: a formal grant of specified activities to a named party, with validity period and governed revocation.
- The IS-A REF006 relationship: every License is a Document; all DI-001..DI-008 invariants hold without exception; the
licence_propertiestable IS the Document spine extension. - The named-licensee obligation: a License without an identified
licensee_party_idis constitutionally invalid. - The explicit scope obligation:
permitted_activitiesmust be stated non-empty; an undescribed permission grant is constitutionally invalid. - The bilateral optional FK to REF007 via
licence_obligations: the first REF007 cross-reference in the extension set; 0-or-1 per license (UNIQUE constraint); hard DDL FK when REF007 is co-deployed. - The License state machine:
DRAFT → ACTIVE → SUSPENDED → REVOKED/EXPIRED— withREVOKEDandEXPIREDas terminal states (no exit). - The immutability discipline:
licensee_party_id,permitted_activities,entity_id, and identity columns are immutable once the license is ACTIVE; changes require a new license. - The no-delete doctrine as applied to licenses: revocation is a state transition on
licence_properties.status, never a physical row deletion. - Schema
ref006x3and rolesref006x3_app/ref006x3_verifieras the certified implementation surface.
2.2 What REF006.X3 Does NOT Govern
- The obligation record itself — REF007 owns the
ref007_obligationrow; REF006.X3 only holds the cross-reference FK (licence_obligations). REF006.X3 is the Document side; REF007 is the Obligation side. - The Authority approval gate — as a Governance Instrument, License is issued under Authority (REF008); but the REF008 governing dimension is asserted constitutionally rather than enforced by a separate REF008.Xn coupling in this extension. The Authority FK is carried as a party reference via REF001, consistent with the GI family pattern.
- The base Document artifact — the document spine (
ref006.ref006_document,ref006.ref006_document_version) is owned by REF006 and referenced, never mutated. Zero parent mutation (BL-4, CAP176A): no ALTER on any REF006 or REF007 table. - Content storage or representation — the content-integrity fingerprint is carried by REF006 (DI-004); physical content is implementation, not constitution.
- Reusable knowledge — any reusable meaning or template attached to a license class is REF013 Knowledge; REF006.X3 governs the artifact, not the content.
- Composite governance instruments — multi-party licensing agreements or grant arrangements that combine REF004 Event, REF005 Resource, or REF014 Initiative are COMPOSITE (CON-) instruments, not REF006.X3 sub-kinds.
3. Core Constitutional Definition
3.1 What Is a License?
A License is a permission-grant Document — a uniquely identifiable, attributed, tamper-evident
artifact that formally grants named specified activities to a named party (the licensee) for a
bounded validity period, subject to governed state transitions (including revocation), and
optionally cross-referenced to a bilateral Obligation record in REF007.
The defining words are permission grant and named party. A License is not a policy (a class
norm), not a directive (an obligatory command), not a financial obligation (a monetary commitment) —
it is the formal institutional record that says: this party is permitted to do these things, under
these terms, from this date, until revoked or expired. The optional REF007 linkage is the bilateral
completion: the institution's commitment to honor the permission, and the licensee's commitment to
comply with the terms.
3.2 Constitutional Properties of Every License — Inherited + Extension Invariants
Every License inherits all eight REF006 Document universals (DI-001..DI-008). In addition, the
following extension invariants apply:
| ID | Extension Invariant | Constitutional Requirement |
|---|---|---|
| LI-001 | Named Licensee | Every License has a licensee_party_id (REF001 cite-only) — an anonymous license is constitutionally invalid. |
| LI-002 | Explicit Permission Scope | permitted_activities MUST NOT be null or empty; the scope of permission must be stated. |
| LI-003 | Validity Period Anchoring | valid_from MUST NOT be null; valid_until, if set, must be strictly after valid_from. |
| LI-004 | Governed State Machine | Status is a closed set: DRAFT, ACTIVE, SUSPENDED, REVOKED, EXPIRED. No other value. |
| LI-005 | Terminal Revocation / Expiry | REVOKED and EXPIRED are terminal — no exit transitions. Revocation records revocation_reason. |
| LI-006 | Immutability Once Active | licensee_party_id, permitted_activities, entity_id, and identity columns are immutable once ACTIVE. Changes require a new license. |
| LI-007 | No Physical Delete | Revocation is a state transition on status, never a row deletion; the license record is retained as historical evidence (inherits DI-006). |
| LI-008 | Bilateral Obligation Cross-Reference (optional) | At most one REF007 Obligation per License; UNIQUE(licence_id) on licence_obligations; hard FK when co-deployed. |
3.3 Fundamental Rules
RULE-LIC-001 (Named Licensee). A License without licensee_party_id is constitutionally invalid (LI-001).
RULE-LIC-002 (Explicit Scope). A License without non-empty permitted_activities is constitutionally invalid (LI-002).
RULE-LIC-003 (Issuance via Function). A License MUST be created atomically via fn_issue_licence(), which creates both the ref006_document row (document_type='LICENSE') and the licence_properties row in one transaction. No orphan extension rows.
RULE-LIC-004 (State-Machine Discipline). Only the service functions (fn_issue_licence, fn_suspend_licence, fn_reinstate_licence, fn_revoke_licence, fn_check_licence_validity) perform valid state transitions. Direct status manipulation outside these functions is not constitutionally governed.
RULE-LIC-005 (Revocation-by-State). Revocation is a state transition on licence_properties.status to REVOKED; it is never a physical deletion of the row. The reason is recorded in revocation_reason.
RULE-LIC-006 (Zero-Parent-Mutation). No ALTER is issued against ref006.ref006_document, ref007.ref007_obligation, or any other parent table. Extension surfaces are wholly in schema ref006x3. document_type='LICENSE' is written at INSERT; extension_ref is never touched.
RULE-LIC-007 (Obligation Cross-Reference). The licence_obligations table enforces at-most-one REF007 Obligation per License (UNIQUE on licence_id); participation is optional. A License may exist and be certified without a linked REF007 obligation row.
RULE-LIC-008 (Tighten-Not-Relax). No sub-kind or variant of REF006.X3 may relax any of DI-001..DI-008 or LI-001..LI-008. Extension invariants tighten the parent contract; they never loosen it.
4. Sub-Kinds and Variants
4.1 Current Taxonomy
REF006.X3 License constitutes the permission-grant instrument. At the current certified state,
no .Cn specializations or further .Xn extensions of REF006.X3 are ratified. The document_type
discriminator ('LICENSE') is the sole type marker.
Within REF006.X3, operational variants — such as a research-use license, an activity-use license, or
a conditional license — are governed by the permitted_activities text and licence_terms fields:
attribute-level variation (DC-001 Tier 3), requiring no separate REF designation and introducing no
new invariants.
4.2 Boundaries That Determine Sub-Kind Eligibility
A candidate sub-kind of REF006.X3 must:
- Remain a permission-grant Document (IS-A REF006.X3, IS-A REF006);
- Tighten — never relax — LI-001..LI-008 and DI-001..DI-008;
- Introduce new constitutional substance not expressible as an attribute value.
A candidate that relaxes any invariant (e.g., allowing an undescribed permission scope, dropping the
validity anchor, or weakening the revocation discipline) is not a REF006.X3 sub-kind and is
constitutionally excluded.
5. Domain Architecture
REF006.X3 follows the certified extension attachment pattern: a 1:1 sub-table in a dedicated
schema, attached to the REF006 Document spine by reverse FK. The architecture was confirmed by
Primary Steward ruling (BL-1, PS-CAP176A-001) and mirrors the REF006.X1 Policy and REF007.X1
Financial Obligation attachment patterns.
5.1 Schema Surface
All REF006.X3 implementation surfaces live in schema ref006x3. Zero parent-schema mutation.
ref006.ref006_document ← owned by REF006; document_type='LICENSE' written at INSERT
│ 1:1 (reverse FK)
▼
ref006x3.licence_properties ← extension anchor; PK = document_id (FK to ref006_document)
│ 0..1 (optional hard FK)
▼
ref006x3.licence_obligations ← bilateral cross-reference table
│ (FK to ref007.ref007_obligation; UNIQUE on licence_id)
▼
ref007.ref007_obligation ← owned by REF007; obligation_kind='LICENCE_BILATERAL' at INSERT5.2 Table: licence_properties (Extension Anchor)
| Column | Serves | Notes | ||||
|---|---|---|---|---|---|---|
document_id | PK + FK to ref006_document | IS-A attachment; 1:1 with Document root. | ||||
entity_id | DI-007 / LI-006 | Immutable after creation; entity scope (RLS inherited from REF006). | ||||
licensee_party_id | LI-001 / LI-006 | NOT NULL; cite-only REF001 party reference; immutable after creation. | ||||
permitted_activities | LI-002 / LI-006 | NOT NULL, non-empty (CHECK); immutable once ACTIVE. | ||||
licence_terms | descriptive | Optional terms text; mutable while DRAFT. | ||||
valid_from | LI-003 | NOT NULL; validity period start. | ||||
valid_until | LI-003 | NULL allowed (open-ended); if set, must be > valid_from (CHECK). | ||||
status | LI-004 | Closed set `DRAFT | ACTIVE | SUSPENDED | REVOKED | EXPIRED` (CHECK). |
revocation_reason | LI-005 | Set on fn_revoke_licence; NULL otherwise. | ||||
created_by | DI-001 | Responsible party REF001; immutable. | ||||
created_at | DI-005 | Creation timestamp; immutable. |
Trigger guards (BEFORE):
- UPDATE guard: blocks mutation of
document_id,entity_id,licensee_party_id,created_by,created_at; blocks mutation ofpermitted_activitieswhen status is ACTIVE or SUSPENDED. - DELETE guard: blocks all physical deletions (LI-007 / DI-006).
Type gate trigger (BEFORE INSERT): validates that the parent ref006_document.document_type = 'LICENSE'.
5.3 Table: licence_obligations (Bilateral Cross-Reference)
| Column | Serves | Notes |
|---|---|---|
licence_id | FK to licence_properties(document_id) | UNIQUE — at most one obligation per license (LI-008). |
obligation_id | FK to ref007.ref007_obligation(obligation_id) | Hard DDL FK when co-deployed; referential integrity enforced. |
The obligation_kind = 'LICENCE_BILATERAL' discriminator is written into ref007_obligation at
INSERT — open discriminator, no ALTER on REF007 tables.
5.4 Service Functions
| Function | Transition / Purpose | |
|---|---|---|
fn_issue_licence(p_entity_id, p_licensee_party_id, p_permitted_activities, p_licence_terms, p_valid_from, p_valid_until, p_created_by) → UUID | Creates ref006_document (document_type='LICENSE') + licence_properties (status='ACTIVE') atomically. Returns document_id. | |
fn_suspend_licence(p_document_id) → VOID | ACTIVE → SUSPENDED; raises exception if not ACTIVE. | |
fn_reinstate_licence(p_document_id) → VOID | SUSPENDED → ACTIVE; raises exception if not SUSPENDED. | |
fn_revoke_licence(p_document_id, p_revocation_reason) → VOID | ACTIVE | SUSPENDED → REVOKED (terminal); revocation_reason required. |
fn_check_licence_validity(p_document_id) → TEXT | Returns current effective status; auto-transitions ACTIVE → EXPIRED if valid_until < now(). |
5.5 View: vw_licences
JOIN of licence_properties + ref006_document + LEFT JOIN licence_obligations. Returns all
license attributes plus document_type, document_lifecycle_state, and linked_obligation_id.
Inherits REF006 RLS isolation (DI-007) over the joined result.
5.6 Roles
| Role | Permissions |
|---|---|
ref006x3_app | DML on extension tables; EXECUTE on all five functions. Primary application role. |
ref006x3_verifier | SELECT only on extension tables and view. Verification role. |
Pattern mirrors ref006x1_app (REF006.X1 Policy) and ref007x1_app (REF007.X1 Financial Obligation).
6. License Lifecycle — Governed State Machine
6.1 Determination
License lifecycle is MASTER-RECORD with governed state transitions. A License record is
created, activated, optionally suspended and reinstated, and ultimately terminated by revocation
or expiry — but never physically deleted. The record persists as immutable historical evidence
regardless of terminal state (LI-007 / DI-006).
6.2 State Machine
(fn_issue_licence)
│
▼
┌──────────┐
│ DRAFT │ ─── (fn_issue_licence issues as ACTIVE directly) ───┐
└──────────┘ │
▼
┌─────────────────────────────────────────────────────────────┌────────────┐
│ │ ACTIVE │
│ fn_suspend_licence └─────┬──────┘
│ ◄────────────────────────────────────────────────────────────┘ │
▼ │ fn_revoke_licence
┌───────────────┐ │
│ SUSPENDED │ ─── fn_reinstate_licence ──► ACTIVE │
└───────┬───────┘ │
│ fn_revoke_licence ▼
▼ ┌─────────────┐
┌──────────────┐ │ REVOKED │ (terminal)
│ REVOKED │ (terminal) └─────────────┘
└──────────────┘
auto (fn_check_licence_validity: valid_until < now())
ACTIVE ─────────────────────────────────────────────────────────────► EXPIRED (terminal)6.3 State Definitions
| State | Meaning | Mutability |
|---|---|---|
| DRAFT | Pre-issuance; fn_issue_licence typically creates ACTIVE directly. Retained for phased workflows. | MUTABLE (not yet active evidence) |
| ACTIVE | Permission is in force; the licensee may perform permitted_activities. | Constrained: permitted_activities IMMUTABLE |
| SUSPENDED | Operational suspension — permission temporarily not in force; reversible via fn_reinstate_licence. | Constrained: permitted_activities IMMUTABLE |
| REVOKED | Permanently terminated by institution action; revocation_reason recorded. | TERMINAL — no exit |
| EXPIRED | Terminated by passage of time (valid_until < now()); auto-set by fn_check_licence_validity. | TERMINAL — no exit |
6.4 Prohibited Transitions
| Prohibited Transition | Violated Invariant |
|---|---|
| ACTIVE/SUSPENDED → DRAFT (un-issue) | DI-002 (issuance immutability) |
| REVOKED → any state | LI-005 (terminal) |
| EXPIRED → any state | LI-005 (terminal) |
| any → physical DELETE | LI-007 / DI-006 (non-destruction) |
ACTIVE → update permitted_activities in place | LI-006 / DI-002 |
Revoke without revocation_reason | LI-005 |
7. Governance
7.1 Base Governance Acts
REF006.X3 is a Governance Instrument: issuance and state transitions are performed by authorized
parties under institutional authority. At the certified base, governance acts are:
| Act | Constitutional Requirement | |
|---|---|---|
| Issue License | fn_issue_licence called by a responsible party; creates atomic Document + extension record; sets ACTIVE and valid_from. | |
| Suspend License | fn_suspend_licence called by a responsible party; ACTIVE → SUSPENDED; reversible. | |
| Reinstate License | fn_reinstate_licence; SUSPENDED → ACTIVE; recorded. | |
| Revoke License | fn_revoke_licence with revocation_reason; ACTIVE | SUSPENDED → REVOKED (terminal); record preserved. |
| Validity Check / Expire | fn_check_licence_validity; auto-expires if past valid_until; returns current effective status. | |
| Link Obligation | INSERT into licence_obligations; optional; hard FK to REF007. |
7.2 Security Model (certified)
- Schema
ref006x3with SECURITY INVOKER semantics — no superuser bypass. - Two roles:
ref006x3_app(DML + execute) andref006x3_verifier(SELECT only). - RLS isolation inherited from REF006
entity_idcolumn (DI-007) — cross-entity access denied. - Trigger guards enforcing immutability (LI-006) and no-delete (LI-007) fail-closed.
- Certified 15/15 PASS including negative tests VL08–VL14 (constraint enforcement) and structural tests VL01–VL03 (schema/constraint/role existence).
8. Cross-Domain Constitutional References
8.1 REF006.X3 ⟷ REF006 (Document) — primary IS-A parent [MANDATORY]
Every License IS-A Document. The licence_properties table is anchored toref006.ref006_document by a reverse FK (1:1). All DI-001..DI-008 invariants hold without
exception for every License. Zero parent mutation: document_type='LICENSE' is set at INSERT;extension_ref is never touched.
RULE-LIC-006 (Zero-Parent-Mutation) is the governing law of this attachment.
8.2 REF006.X3 ⟷ REF007 (Obligation) — bilateral secondary parent [OPTIONAL FK · FIRST IN EXTENSION SET]
REF006.X3 is the first REF006.Xn extension to carry a REF007 cross-reference. Thelicence_obligations table holds a hard DDL FK (fk_ref006x3_lo_obligation) toref007.ref007_obligation.obligation_id. Participation is optional (0-or-1 per license).
The UNIQUE constraint uq_ref006x3_lo_licence enforces at-most-one-obligation cardinality.
The obligation_kind = 'LICENCE_BILATERAL' discriminator is written into the REF007 record at
INSERT — open discriminator, zero REF007 mutation.
Constitutional significance: The bilateral coupling closes the permission-obligation loop.
A licensee who holds an ACTIVE License without a linked Obligation has a unilateral permission
grant. A licensee with a linked Obligation (obligation_kind='LICENCE_BILATERAL') has both the
permission and the formal duty record — making the grant constitutionally bilateral.
8.3 REF006.X3 ⟷ REF001 (Identity) — cite-only
licensee_party_id and created_by are REF001 Party references, validated at the service layer
inside fn_issue_licence() (cite-only seam — no DDL FK, consistent with the federated pattern
used across the extension set). REF006.X3 references party identity; it never constitutes it.
8.4 REF006.X3 ⟷ Other GI Extensions (REF006.X1, X2, X4)
| Pair | Discriminator | Verdict |
|---|---|---|
| License ≠ Policy (X1) | named-party permission vs. class norm; X3 carries REF007 linkage; X1 does not | STABLE |
| License ≠ Directive (X2) | permissive grant vs. obligatory command | STABLE |
| License ≠ Mandate (X4) | permission with bilateral obligation vs. subdelegation authorization | STABLE |
REF006.X3 is the sole GI family member with a REF007 bilateral cross-reference. This is its
constitutionally distinguishing property within the GI family.
8.5 Other Boundaries (all STABLE)
| Pair | Discriminator | Verdict |
|---|---|---|
| License ≠ Financial Obligation (REF007.X1) | primary identity is Document, not Obligation; permission grant vs. monetary commitment | STABLE |
| License ≠ Communication (REF009.C1) | persistent artifact vs. engagement act | STABLE |
| License ≠ Resource (REF005) | artifact vs. value | STABLE |
| License ≠ CON-PROJECT | single-domain extension vs. multi-domain composite | STABLE |
9. Constitutional Invariants Summary
The load-bearing constitution of REF006.X3, in compact form. Every item traces to the canonical
CAP175A–CAP182A record in 02_DOMAIN/REF006.X3_LICENSE/.
9.1 Inherited Universal Invariants (DI-001..DI-008 from REF006)
| Code | Invariant |
|---|---|
| DI-001 | Attribution — ≥1 responsible Party (REF001) per Document |
| DI-002 | Issuance Immutability — once issued/active, change only by new license |
| DI-003 | Version Lineage — ordered, append-only, predecessor preserved (carried by REF006) |
| 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 Extension Invariants (LI-001..LI-008 — REF006.X3 specific)
| Code | Invariant |
|---|---|
| LI-001 | Named Licensee — licensee_party_id NOT NULL; anonymous license invalid |
| LI-002 | Explicit Permission Scope — permitted_activities NOT NULL, non-empty |
| LI-003 | Validity Period Anchoring — valid_from NOT NULL; valid_until > valid_from if set |
| LI-004 | Governed State Machine — closed status set: DRAFT, ACTIVE, SUSPENDED, REVOKED, EXPIRED |
| LI-005 | Terminal States — REVOKED and EXPIRED have no exit; revocation records reason |
| LI-006 | Immutability Once Active — identity and scope columns frozen when ACTIVE/SUSPENDED |
| LI-007 | No Physical Delete — revocation is state transition; record retained as evidence |
| LI-008 | Bilateral Obligation Cross-Reference — 0-or-1 per license; UNIQUE; hard FK when co-deployed |
9.3 Structural and Governance Rules
| Rule | Statement |
|---|---|
| RULE-LIC-001 | A License without licensee_party_id is constitutionally invalid (LI-001) |
| RULE-LIC-002 | A License without non-empty permitted_activities is constitutionally invalid (LI-002) |
| RULE-LIC-003 | Atomic creation via fn_issue_licence; no orphan extension rows |
| RULE-LIC-004 | State transitions only via service functions |
| RULE-LIC-005 | Revocation is a state transition to REVOKED with recorded reason, not a deletion |
| RULE-LIC-006 | Zero parent mutation — no ALTER on REF006, REF007, or any other parent table |
| RULE-LIC-007 | At most one REF007 Obligation per License; UNIQUE on licence_id in licence_obligations |
| RULE-LIC-008 | Tighten-not-relax — no variant may relax DI-001..DI-008 or LI-001..LI-008 |
9.4 Certified Implementation Surface
| Surface | Owned By |
|---|---|
ref006x3.licence_properties | REF006.X3 — extension anchor (PK = FK to ref006_document) |
ref006x3.licence_obligations | REF006.X3 — bilateral obligation cross-reference |
ref006x3.fn_issue_licence | REF006.X3 — atomic creation |
ref006x3.fn_suspend_licence | REF006.X3 — ACTIVE → SUSPENDED |
ref006x3.fn_reinstate_licence | REF006.X3 — SUSPENDED → ACTIVE |
ref006x3.fn_revoke_licence | REF006.X3 — terminal revocation |
ref006x3.fn_check_licence_validity | REF006.X3 — validity check + auto-expiry |
ref006x3.vw_licences | REF006.X3 — joined view over properties + document + obligations |
ref006x3_app (role) | application DML + execute |
ref006x3_verifier (role) | read-only verification |
ref006.ref006_document (parent) | owned by REF006 — cited, never mutated |
ref007.ref007_obligation (cross-ref) | owned by REF007 — cited, never mutated |
9.5 Carried Observations (NON-BLOCKING, from CAP178A)
| Observation | Substance |
|---|---|
| RF-09 | lifecycle_state='Active' direct insert permitted by REF006 guard design (guard blocks DELETE and identity-column UPDATE, not initial state insertion). Resolved at Phase 4. |
| RF-10 | No append-only guard on licence_obligations; acceptable for initial certification. Recommend future Phase 5a if obligation-link audit history is required operationally. |
| RF-11 | vw_licences RLS inheritance is the standard pattern across certified domains; non-issue. |
9.6 Classification Triple Summary
| Axis | Value | Source |
|---|---|---|
| Type | EXTENSION | Introduces new constitutional surfaces not derivable from REF006 or REF007 alone (DC-003 T2) |
| Class | Governance-License | Permission-grant governance instrument; distinct from Policy, Directive, Mandate (DC-003 T1) |
| Volatility | Master | Stable permission records with controlled lifecycle; not event-driven transactions |
| Designation | REF006.X3 | Sequential per DC-002; assigned at CAP175A Phase −1 admission |
| ERA | ERA_044 | ERA_044_REF006X3_LICENSE_LIFECYCLE (CLOSED) |
| DS-001 | PERFECTED | 15/15 PASS — 100% certification — no corrective cycle |
Constitutional Colophon — T16
This chapter establishes REF006.X3 License as the third certified VGSF Governance Instrument —
the constitutional carrier of formally governed permission grants to named parties.
It operates within Part A as a certified extension: it inherits the identity of REF006 Document
and adds the named-licensee + explicit-scope + optional-bilateral-obligation discriminating
dimension — and uniquely within the GI family, it is the first extension to carry a REF007
cross-reference, making the permission-obligation loop constitutionally bilateral.
Readers proceeding to T17 (REF006.X4 Mandate) should carry forward:
License grants permission; Mandate completes the GI family — it is the Document that IS the
conferral act itself: the constitutional instrument of delegated authority.
