File size: 1,766 Bytes
ed6bec6 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# Glyphic Language β Ordering Rules
This document defines the canonical ordering rules for glyph sequences. These rules ensure that all sequences are deterministic, reversible, and unambiguous.
# 1. Global Ordering
All glyph sequences must follow this global order:
<actor> <action> <object> <modifiers...> <context...>
If a role is absent, it is simply skipped, but the order remains fixed.
# 2. Context Ordering
Context must always appear last and must follow this internal order:
Place
Time
Emotion
Sensory
Social
Example of valid context ordering:
ποΈ π
π π¬οΈ π§βπ€βπ§
Example of invalid ordering:
π π
(emotion cannot precede time)
# 3. Modifier Ordering
Modifiers:
- must appear after the object
- must appear before any context
- may appear in any order relative to each other
Example:
π€ π πͺ¨ β¨ π₯ ποΈ
actor action object modifier modifier context
# 4. SingleβRole Constraints
Only one of each primary role is allowed:
- one actor
- one action
- one object
Multiple modifiers and multiple context glyphs are allowed.
# 5. Role Precedence
If a glyph has multiple roles, precedence is:
actor > action > object > modifier > context
This ensures deterministic interpretation.
# 6. Invalid Ordering Examples
6.1 Context before object
π§οΈ πͺ¨
INVALID
6.2 Modifier after context
πͺ¨ ποΈ β¨
INVALID
6.3 Multiple actions
π€ π βοΈ
INVALID
6.4 Social context before sensory context
π§βπ€βπ§ π¬οΈ
INVALID
# 7. Canonical Encoding
The encoder always outputs glyphs in the correct canonical order, even if the input structure is unordered.
This ensures:
- stable storage
- predictable LLM training
- consistent Soulfileβ’ memory
- deterministic agent behavior
|