| # 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 | |