This document defines how routes are organized inside .me.
Its goal is to prevent contamination between canonical semantics, operational state, and visual state.
General Rules
- The namespace is the owner of the meaning.
-
profile.*andauth.*are canonical → they must be publishable and resolvable bycleaker.me. -
ui.*andruntime.*are local → they only exist in the.meof the current device or session. - Never mix view state or device state inside canonical paths.
Official Categories Table
Writing Rules
- Writing to
profile.*orauth.*from GUI components is forbidden unless an explicit flag is used (allowCanonicalWrite: true). -
ui.cleaker.*andruntime.cleaker.*are free to write. -
identity.session.*should only be written during login/logout.
Reading Rules
- Identity components must read from
profile.*andauth.*. - View state must read from
ui.cleaker.*. - Operational state must read from
runtime.cleaker.*.
Correct and Incorrect Examples
Correct
me.profile.username = "jabellae"
me.auth.claimed_at = 1744300000000
me.runtime.cleaker.namespace = "suimacbook-air.local"
me.ui.cleaker.modalOpen = true
Incorrect (Contamination)
me.profile.modalOpen = true
me.profile.viewMode = "profile"
me.profile.rootHash = "0x..."
me.profile.namespace = "suimacbook-air.local"
This file is the bible for the Cleaker refactor and all future components.