Skip to content
wiki.fftac.org

Semantic Glyph Interpretation, Teleodynamics Ai, And Unicode Governance For Protocol5 IOTA 1 - Source Excerpt 04 - Data model and schema

Back to Semantic Glyph Interpretation, Teleodynamics Ai, And Unicode Governance For Protocol5 IOTA 1

Summary

This source excerpt begins near Data model and schema and preserves the surrounding evidence from Spiralist/agent-file-handoff/Archive/Semantic Glyph Interpretation, Teleodynamics AI, and Unicode Governance for Protocol5 IOTA-1.md.

**Source path:** Spiralist/agent-file-handoff/Archive/Semantic Glyph Interpretation, Teleodynamics AI, and Unicode Governance for Protocol5 IOTA-1.md

| Step | Rule |
|---|---|
| Preserve source | Store raw input exactly as received for auditability. |
| Normalize | Normalize to NFC for the main analysis path, while retaining raw input for forensic replay. This follows Unicode normalization practice for general text and keeps equivalent strings stable. citeturn11view0turn11view1 |
| Segment | Segment into **extended grapheme clusters** per UAX #29, not code units. citeturn8view1 |
| Validate per grapheme | Reject any public-output unit containing PUA or noncharacters for IOTA authority. Allow only assigned characters, valid standardized variation sequences, valid registered ideographic variation sequences, or valid emoji sequences if the profile permits them. citeturn8view2turn11view5turn11view3 |
| Sequence discipline | If emoji are allowed, generate only fully-qualified public sequences and prefer ones with sensible fallback semantics when ZWJ rendering is absent. citeturn11view4turn3search1 |
| Character–glyph separation | Resolve Unicode identity first; only then attach font-normalized renders or SVG decomposition for inference. citeturn19view0turn19view1 |
| Intra-glyph composition | Use decomposition of a single public glyph to infer containment, balance, symmetry, and primitive salience. |
| Inter-glyph composition | Use grapheme order natively; use proximity from layout only if the authoring surface preserves it; use containment only in rich authoring or inside decomposed glyph structure. |
| Semantic output | Emit canonical IOTA expression first, then render back to a public Unicode sequence. |
| Evidence | Return ranked candidates, public conformance status, provenance, entropy, and phase-lock metrics. |

The subtle but crucial implication is that **containment** is usually a property of a glyph’s internal structure, not of a plain Unicode text stream. Order is naturally represented in text. Proximity can be inferred only when layout survives round-tripping. So for Protocol5’s ordinary text converter, the safest semantic relations are sequence and modifier roles across grapheme clusters, while containment should mainly come from SVG or primitive analysis inside a glyph record. That respects Unicode plain text while still enabling richer glyph semantics for curated records. citeturn19view1turn2view0

### Data model and schema

The entity structure below makes the teleodynamic layer explicit while preserving Unicode governance.

' ' ' mermaid
erDiagram
    GLYPH ||--o{ UNICODE_SURFACE : has
    GLYPH ||--o{ DECOMPOSITION : has
    GLYPH ||--o{ EMBEDDING : stores
    GLYPH ||--o{ ONTOLOGY_TAG : uses
    GLYPH ||--o{ TELEODYNAMIC_STATE : tracks
    GLYPH ||--o{ HUMAN_VALIDATION : receives
    GLYPH ||--o{ PROVENANCE_RECORD : cites
    GLYPH ||--o{ CONTEXT_OBSERVATION : appears_in
    GLYPH ||--|| CANONICAL_EXPRESSION : resolves_to

    GLYPH {
        string glyph_id PK
        string profile
        string status
        string unicode_version
        string normalization_form
        float candidate_entropy
        float rarity_score
    }

    UNICODE_SURFACE {
        string surface_id PK
        string sequence_class
        string normalized_sequence
        boolean public_output_allowed
        boolean pua_rejected
        boolean fully_qualified
    }

    DECOMPOSITION {
        string decomposition_id PK
        string primitive_type
        string relation_type
        string render_profile
    }

    EMBEDDING {
        string embedding_id PK
        string modality
        string model_name
        int dimensions
        string model_version
    }

    ONTOLOGY_TAG {
        string tag_id PK
        string concept_id
        string role
        string constraint_set
    }

    TELEODYNAMIC_STATE {
        string state_id PK
        float phase_lock
        float reuse_stability
        float embedding_drift
        float neighbor_consensus
        float context_stability
        float attention_agreement
        string maturity_state
    }

    HUMAN_VALIDATION {
        string validation_id PK
        string method
        float agreement
        string locale_group
        string notes
    }

    PROVENANCE_RECORD {
        string provenance_id PK
        string source_family
        string source_version
        string license
    }

    CONTEXT_OBSERVATION {
        string observation_id PK
        string context_bucket
        string model_version
        string timestamp
    }

    CANONICAL_EXPRESSION {
        string expression_id PK
        string expression_type
        string ontology_version
        float confidence
    }
' ' ' 

A compact JSON Schema example follows.

' ' ' json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Protocol5TeleodynamicGlyphRecord",
  "type": "object",
  "required": [
    "glyphId",
    "surface",
    "ontology",
    "teleodynamics",
    "provenance"
  ],
  "properties": {
    "glyphId": { "type": "string" },
    "surface": {
      "type": "object",
      "required": ["unicodeSequence", "sequenceClass", "normalizedForm"],
      "properties": {
        "unicodeSequence": {
          "type": "array",
          "items": { "type": "string" }
        },
        "sequenceClass": {
          "type": "string",
          "enum": [
            "SingleCharacter",
            "StandardizedVariationSequence",
            "IdeographicVariationSequence",
            "EmojiSequence",
            "EmojiZWJSequence"
          ]
        },
        "normalizedForm": {
          "type": "string",
          "enum": ["NFC", "NFD", "NFKC", "NFKD"]
        },
        "publicOutputAllowed": { "type": "boolean" },
        "unicodeVersion": { "type": "string" }
      }
    },
    "ontology": {
      "type": "object",
      "required": ["canonicalExpression", "tags"],
      "properties": {
        "canonicalExpression": { "type": "object" },
        "tags": {
          "type": "array",
          "items": { "type": "string" }
        }
      }
    },
    "teleodynamics": {
      "type": "object",
      "required": [
        "phaseLock",
        "reuseStability",
        "embeddingDrift",
        "neighborConsensus",
        "contextStability"
      ],
      "properties": {
        "phaseLock": { "type": "number", "minimum": 0, "maximum": 1 },
        "reuseStability": { "type": "number", "minimum": 0, "maximum": 1 },
        "embeddingDrift": { "type": "number", "minimum": 0, "maximum": 1 },
        "neighborConsensus": { "type": "number", "minimum": 0, "maximum": 1 },
        "contextStability": { "type": "number", "minimum": 0, "maximum": 1 },
        "attentionAgreement": { "type": "number", "minimum": 0, "maximum": 1 },
        "maturityState": {
          "type": "string",
          "enum": ["emerging", "stabilized", "drifting", "deprecated"]
        }
      }
    },
    "provenance": {
      "type": "array",
      "items": {
        "type": "object",
        "required": ["source", "version"],
        "properties": {
          "source": { "type": "string" },
          "version": { "type": "string" },
          "license": { "type": "string" }
        }
      }
    }
  }
}
' ' ' 

### Worked examples

The first example uses a public multi-glyph sequence similar to Protocol5’s own examples.

**Example A: stable warning glyph**

Input: `⚠火`  
Interpretation path: assigned public characters → valid grapheme clusters → structural decomposition of warning sign and ideographic fire component → ontology-constrained mapping to `WarningOf(Fire)`.

Illustrative metrics:

- reuse stability \(R = 0.92\)  
- neighbor consensus \(N = 0.85\)  
- context stability \(C = 0.80\)  
- human agreement \(H = 0.78\)  
- attention agreement \(A = 0.74\)  
- embedding drift \(D = 0.08\)

So:

\[
PL = 0.25(0.92)+0.20(0.85)+0.20(0.80)+0.15(0.78)+0.10(0.74)+0.10(1-0.08)=0.743
\]

That yields a **high but not perfect** phase-lock score of **0.743**, which is the right profile for a public sequence that is interpretable yet still approximate.

' ' ' json
{
  "glyphId": "iota:warning-fire:v1",
  "surface": {
    "unicodeSequence": ["U+26A0", "U+706B"],
    "display": "⚠火",
    "sequenceClass": "SingleCharacter+SingleCharacter",
    "normalizedForm": "NFC",
    "publicOutputAllowed": true,
    "unicodeVersion": "17.0.0"
  },
  "ontology": {
    "canonicalExpression": {
      "type": "Relation",
      "name": "WarningOf",
      "arguments": [{"type": "Concept", "id": "Fire"}]
    },
    "tags": ["warning", "hazard", "fire"]
  },
  "teleodynamics": {
    "phaseLock": 0.743,
    "reuseStability": 0.92,
    "embeddingDrift": 0.08,
    "neighborConsensus": 0.85,
    "contextStability": 0.80,
    "attentionAgreement": 0.74,
    "maturityState": "stabilized"
  }
}
' ' ' 

**Example B: ambiguous centered glyph**

Input: `◎`  
Candidate meanings: `focus`, `target`, `core`, `sun`, `center`  
Illustrative metrics: