RFC: SLEX‑FLEX Data Encoding Format
ICS‑1 / ITISIAN Standard
Abstract
SLEX‑FLEX is a one‑line, high‑compression data format created by ITISIAN for encoding persona kernels, worldbuilding metadata, faction descriptors, and structured identity profiles. It preserves full semantic nuance while minimizing character count and maintaining complete reversibility.
Status of This Memo
This document defines the SLEX‑FLEX ICS‑1 standard. It is an open specification intended for public use, adaptation, and implementation.
1. Introduction
SLEX‑FLEX provides a compact, AI‑safe encoding method for complex data. It is designed for environments where:
- high‑nuance information must fit into a single line
- AI systems require predictable parsing
- human readability is beneficial but not mandatory
- reversibility is essential
2. Terminology
- Payload: The full encoded content inside braces.
- Category: A labeled section of the payload (e.g., PHY, JOB).
- Descriptor: A compressed semantic unit.
- Tuple: A grouped set of related values.
- Token: Any atomic unit of meaning.
3. Format Overview
The general structure of a SLEX‑FLEX object is:
TAG={category:values;category:values;category:values;}
3.1 TAG
A short uppercase identifier describing the object type. Examples:
PSN— PersonaNPC— Non‑player characterWORLD— World kernelFACTION— Faction descriptorITEM— Artifact or object
3.2 Categories
Categories are short labels followed by a colon. They must remain consistent within a domain.
3.3 Values
Values are compressed descriptors separated by semicolons. Nested values use parentheses.
4. Delimiter Rules
- { } wrap the entire payload
- ; separates descriptors
- : separates category from values
- , separates tuple elements
- + joins related descriptors
- ( ) group nested values
- ~ marks approximate values
5. Reversibility Requirements
- Category labels must remain stable.
- Nested structures must use parentheses.
- Numeric values must remain numeric.
- Descriptors must not be merged if doing so reduces clarity.
- Tokens must remain human‑interpretable.
6. Compliance Requirements
- Payload must be a single line.
- No markdown, no HTML inside the payload.
- No explicit sexual content.
- All delimiters must follow the defined rules.
- TAG must be uppercase.
7. Example: Persona Kernel
PSN={PHY:B:8/12/70;Scot_Ukr;6'3;200;thin_solid;broad_sh;light_skin;bald_shaved;trim_grey_beard;blue_eyes;rimless_rect_glasses;tat:semicolon_Larm(2016_survivor);VEH:2006_Pathfinder_LE_silver+blk_leather+sunroof+mahogany_CF;VICE:coffee(2c,1s);MUSIC:metal+rock+genre_fluid+avoid_country;INTIM:anatomy:handspan10.5;fingers(mid4,thumb3,index3);dj_tips;JOB:bus_driver_trainer(2019,Sched_SepJun_MF_0600-1000_1300-1700);ItisianMedia_fullstack(1994);TTRPG_worldbuilder(1979);FAM:father2(Alison17,Olivia14);limited_contact;no_ext_family_ties;PREF:ADHD;diabetic(insulin);L_foot_ulcer(VON_daily);R_pinky_toe_missing;home:Woodside_apt_with_Myles;avoid_AI_slop;direct_comms;AI_initiate_when_needed;}
8. Example: World Kernel
WORLD={Core:ancient_memory+restless_ambition;Magic=consequence_not_tool;Impact:WW3→shelter;Asteroid→continent_shift+climate_twist+oldworld_buried;Realms:Caudor+Temran+Ialeis+Sirith+Euna;Leyline:unstable;Plague:radiant_pockets;Folk:resilient+tradition+hope_rebuild;}
9. Versioning
- Current Version: SLEX‑FLEX v1.0 (ICS‑1)
- Maintainer: ITISIAN
- Future Versions: v1.x incremental, v2.x structural
10. Security Considerations
SLEX‑FLEX contains no executable code and poses no inherent security risk. Implementers should ensure payloads are sanitized before storage or transmission.
11. Attribution
SLEX‑FLEX is created and maintained by ITISIAN as an open, shareable standard for compact, reversible AI‑readable data.
