ident
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
- 98226b41antcolony#40: mission references point to the moved missionsmre
- ff805b9aantcolony#40: history (LOG.md), worker briefs (missions/) and reports moved here from antcolony, numbered per project; old numbers in antcolony docs/mission-map.mdmre
- 51a7bcdfident: Hybriel master 73267707 (#122); /code uses the new page() signature; pending address passed as parameter; once-checksmre
- 836f644fident#24: installable app (manifest, service worker, data-free offline /start), own iconmre
- 8bebbbf2deploy.sh: back up live storage/.sessions/.env before every deploy (newest 5 kept)mre
- cc063ea2deploy.sh: never send .git or .gitignore to Byrodinmre
- 81b15b7bState of 2026-09-27, before the move to gitoriamre