components
All repositories: gitoria
1.3 KB
// ONE SESSION — a browser's bag on the server. A CLASS, not a hybrid, on purpose:// the language passes an instance by handle (through maps, lists, assignments and// emit payloads; an ordinary call argument copies, hence `&` at the dispatch) and// a face that logs a session in writes the session it was HANDED. On disk it is// the JSON of these members, and a file comes back as `rec > new Session()`.// THE APP'S OWN DATA GOES INTO `data`, a hybrid: `session.data.cart = …` rides along,// and an entry nobody wrote reads null — as a hybrid does. An UNDECLARED member of// an instance is not that: the language lets a write mint it on one instance and// refuses the read on another (measured 2026-09-13: `session.signupEmail` read in an// audience function on a session that never set it was an UndefinedProperty error).String id = nullNumber created = 0 // epoch msNumber seen = 0 // epoch ms of the last request or frame that presented ituser = null // whoever logged this session in, or nulldata = {} // the app's own fields, absent ones read null// THE QUEUED EMITS THIS SESSION'S BROWSERS HAVE HAD HANDLED (COMPONENTS §10): the last// `handledKept` of them, oldest first, each `{ q, ok, error }` — its stable id and the// ack it got. A replay of one of these ids is answered from here and runs no face again.handled = []
Branches
- mainmain branch
Latest commits
- e4f01768antcolony#40: mission references point to the moved missionsmre
- d32b44e2antcolony#40: history (LOG.md), worker briefs (missions/) and reports moved here from antcolony, numbered per project; old numbers in antcolony docs/mission-map.mdmre
- 0fb80b57components: Hybriel master ff51cf46 (re-vendor round)mre
- 57408b6ecomponents#14: installable app (manifest, service worker, offline index), own iconmre
- 317bd09fdeploy.sh: back up live storage/.sessions/.env before every deploy (newest 5 kept)mre
- becbd59bcomponents#13: modal dialog (<dialog> based, focus wrap, backdrop/Esc/x close with reason, scroll lock, footer buttons)mre
- 367dd19adeploy.sh: never send .git or .gitignore to Byrodinmre
- 4b4dabe5State of 2026-09-27, before the move to gitoriamre