notes
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
- 8cda5412notes mission 002 (1/4): code order — files moved: lib/notes.hl, lib/users.hl, lib/jsoncheck.hl, components/styles.hl (imports only); gates 50/0 + 18/0, live-data run identicalmre
- 47dad68bnotes: Hybriel master 06617221 (plugin allocators 3a781359 + 413f60e4, mpackdb 2cb7ae5e, http1 773de63e); gates 50/0 + 18/0mre
- a4a2b2aeantcolony#40: tracker missions moved too — references to them in missions/reports/LOG.md updatedmre
- 3dea0ef2notes: Hybriel master 190aa11d (fc838894 GC correctness, #126 closure scopes, #127); gate 50/0mre
- e27c7d71notes: Hybriel master 8efba065 (#126 GC by bytes, #48 lambda params copy; audit: nothing to fix; gate 50/0)mre
- 124613b6antcolony#40: mission references point to the moved missionsmre
- 1ca2f34dantcolony#40: history (LOG.md), worker briefs (missions/) and reports moved here from antcolony, numbered per project; old numbers in antcolony docs/mission-map.mdmre
- 2bebebdanotes: Hybriel master ff51cf46 (re-vendor round)mre
- 3eff126dnotes#3: installable app (manifest + own icon/favicon; notes' own sw.js kept)mre
- 9883c540deploy.sh: back up live storage/.sessions/.env before every deploy (newest 5 kept)mre
- eee693b8deploy.sh: never send .git or .gitignore to Byrodinmre
- c8904061State of 2026-09-27, before the move to gitoriamre