Spec spec_001
SPEC-001: Universal Node Schema — Two-Layer Model
v8 · draft · Owner: Q
Two-layer schema: 16 immutable core fields (Layer 1 — the Meridian protocol) + 20+ extensible fields (Layer 2 — personal only, null defaults, never emitted). Layer 1 never changes. Layer 2 grows without migration.

Definition

Two-layer schema (Will v4). Layer 1: 16 immutable core fields (the Meridian protocol). Layer 2: 20+ extensible fields (personal only, null defaults, never emitted). Layer 1 never changes. Layer 2 grows without migration.

Layer 1

16 immutable core fields — the Meridian protocol. Never changed.

FieldTypePurpose
idUUID4Primary key across all systems
schema_versionstrBumped on breaking Layer 1 change
vectorfloat32[1024]BGE-M3 embedding. Always 1024-dim.
textstr requiredThe atomic principle. Max 2000 chars.
titlestr requiredHuman-readable label. Max 120 chars.
node_typeenumprinciple | chunk | framework | error | dream_insight | reasoning_trace
source_idUUID4Traces any principle to its origin
collectionstr requiredTop-level domain bucket
date_addedISO 8601Set at creation, never modified
confidence_scorefloat 0.0-1.0Earned not assigned
gravity_scorefloat 0.0-1.0Composite weight-of-evidence. Primary ranking signal.
edge_weightfloat 0.0-1.0Default = cosine similarity. Updated by co-activation.
mechanismstrHow and why this principle is true
situationstrWhen this principle applies
when_notstrWhen this principle does not apply
reasoning_trace_idUUID4 or nullLinks to reasoning_trace node. The generational intelligence link.

Layer 2

Extensible envelope — personal system only. Null defaults. Never emitted.

FieldTypePurpose
framework_idUUID4Which framework cluster
parent_idUUID4Parent node in hierarchy
validation_countintTimes principle informed a real decision
error_countintTimes principle led to bad outcome
confidence_historyJSON array[{score, timestamp, trigger}] — belief archaeology
emission_statusenumnot_ready | queued | emitted | suppressed
tagsCSVPersonal taxonomy. Never emitted.
domain_pathhierarchical strFull path: investing/private-markets/series-b
novelty_scorefloat 0.0-1.0Anti-confirmation-bias signal for exploration mode
generationintWhich generation created this node
inherited_fromUUID4Links to ancestor node in previous generation

Migration: Q's TAO: 6,797 nodes need remapping from NODE_SCHEMA (14 fields) to Layer 1 (16 fields). Add: schema_version, gravity_score, edge_weight, reasoning_trace_id. Rob: 16,717 holons need full schema alignment after embedding migration.

Amendment Rule: New field would break codex interoperability? Layer 1, MAJOR version bump (rare, founder consensus). Personal extension? Layer 2, MINOR bump: add the field, set null defaults, done.

Whitepaper References

Sovereign Intelligence Infrastructure (Whitepaper v5) > 15_technical_spec
Two-layer: 16 immutable core + extensible envelope
View in whitepaper
Sovereign Intelligence Infrastructure (Whitepaper v5) > 05_knowledge_architecture
Gravity replaces confidence as primary retrieval signal
View in whitepaper

Dependencies

Referenced by

Open Questions

Learning Resources

What Is a Schema?
First principles explanation of schemas, why they matter, and the current 4-schema problem
The Two-Layer Model Explained
Why Layer 1 is immutable and Layer 2 is extensible — the Meridian protocol

Changelog

v8 2026-04-05 Q Fixed learning doc links — specific concepts not duplicate files

v7 2026-04-05 Q Fixed summary — was showing old Was field

v6 2026-04-05 Q Restructured definition with full Layer 1 and Layer 2 field tables

v5 2026-04-05 Q Added learning doc references

v4 2026-04-05 Q Mapped to whitepaper sections

v3 2026-04-05 Q Merged vision refs from research into SPEC-001

v2 2026-04-05 Q Imported SPEC-001 from model_specifications_v2.html

v1 2026-04-05 Q Created spec: SPEC-001: Universal Node Schema — Two-Layer Model