tracker
All repositories: gitoria
2.6 KB
\* hl:data — NEED EVALUATION, the one implementation every realm edge uses.A component's need is a member whose initializer calls a provider class(SPEC.md §9.2); the graph publishes each as { key, provider, method, args,project }. Evaluating one is: resolve the arguments against the caller'scontext — a folded constant, a route group's member, or a `session`field — call the provider method, and take the projected field. hl:web didthis per request and per push; hl:ipc does it per peer push. It lived inhl:web until the second edge existed (2026-09-01), which is when "shared"stopped being a word and became this plugin. *\\* Every need of one component, against the provider instances of the callingedge. One memo per evaluation: two needs fed by the same call cost ONE call. *\runNeeds(Hybrid needs \\ the graph's need list for the component&providers \\ class name → provider instance (the edge module's)¶ms \\ route groups; {} for a peer that matched no route&sdata \\ the session bag; {} for a peer with no session) {let out = {}let memo = {}for (need of needs) {out[need.key] = runNeed(&need, &providers, ¶ms, &sdata, &memo)}return out}\* One need: the value its MEMBER holds. `need.project` is the field taken offthe returned hybrid ("" = the member IS the return value). A provider readanswers for null arguments (the 074 contract), so an anonymous callerevaluates the same needs and simply sees nothing of anyone. *\runNeed(&need, &providers, ¶ms, &sdata, &memo) {let provider = providers[need.provider]if (provider == null) {return null}let args = []for (a of need.args) {if (a.group != null) {args[] = params[a.group]} else if (a.session != null) {if (a.session.length == 0) {args[] = sdata} else {args[] = sdata[a.session]}} else {args[] = a.value}}let ck = need.provider + "." + need.method + "(" + JSON.stringify(args) + ")"// a call that ANSWERED null is simply not memoized — repeating it is correctlet result = memo[ck]if (result == null) {result = callProvider(&provider, need.method, &args)memo[ck] = result}if (need.project.length == 0) {return result}if (result == null) {return null}return result[need.project]}// The provider call itself — the method name is DATA, so the call is computed.callProvider(&provider, method, &args) {if (args.length == 0) {return provider[method]()}if (args.length == 1) {return provider[method](args[0])}if (args.length == 2) {return provider[method](args[0], args[1])}return provider[method](args[0], args[1], args[2])}
Branches
- mainmain branch
Latest commits
- d8b12d67tracker#27 (mission 060): short ids for movies, series and persons — old 702 kept (data/old-short-ids.json), new random [a-z0-9]{5} unique across both, claimed at creation, background backfill (resumes), shown under poster/photo, /<shortId> → 301; gate 259, tests/realdata-060*, README + STATUSmre
- f14db671tracker#22-#25 (mission 058): episode air dates, season check = all episodes watched, movie watched check (+ /my/movies count), /genres/<genre> pages (movies + series, newest first, paginated); gate 238, tests/realdata-058.mjs, README + STATUSmre
- 1704ec45tracker#17 (mission 057): season caret down/up, skeleton rows while a season loads, sessionless showSeasonEpisodes face (no page re-mount), client-only close; gate 214, tests/realdata-057.mjs, README + STATUSmre
- f2fe3e36mission 056: README + STATUS (merge, fixes, Hybriel 8590df63, real-data check), tests/realdata-056.mjs, tools/check-public-slugs.hlmre
- f40c250emission 056: re-vendor hybriel master 8590df63 (#121, #122); an adult title's page is Not found for non-followers; gate: leave the page before stopping the servermre
- 2b7fdd6cmission 056: signed-out header one row on phones ("Log in", nowrap), backfill skips adult titles' posters, gate checksmre
- 2c53d5efMerge branch 't16-person' (tracker#16 person pages) into main; filmography shows only public titles (054 adult flag), gate race fix (backfill start line)mre
- c171227emission 054: hide adult/unknown titles from the public lists and the search; in-app adult-flag backfill (TMDB details + poster per title, resumes), gate + real-data proofmre
- 139fafd8tracker#16: short bio (4 lines, click = all), real-data check script, README + STATUSmre
- 93be9476tracker#16: person pages /person/<slug> with the filmography fetched from TMDB on the first visit (step by step), gatemre
- 47a3cae6STATUS: mission 053 merge commit idsmre
- dcc5eecaMerge branch 't14-search'mre
- 03edc783Merge branch 't15-tvmaze'mre
- 71b46345tracker#15: numbering check by date or title, placeholder titles in other languages, docs + real-data proofmre
- 6bb2daf1tracker#13: homepage (tiles, intro, latest movies/shows), /shows, /movies/page/N, /my/movies; lists cached in memorymre
- b8bd1157tracker#14: README + STATUS (search, real-data numbers, gate, merge notes)mre
- 65c694a8tracker#14: search — header magnifier, /search/<text> (in-memory word-prefix index over titles + people), Fetch from web (TMDB search/multi, ours left out), Add = import via syncShow; gate +25 checks, real-data scriptmre
- 34f2c15btracker#15: TVmaze merge in the sync (gaps only: new episodes/seasons, empty titles/air dates; numbering check), fake TVmaze episodes + gatemre
- cbdc4ea7tracker#12: link icons TMDB/IMDb/TVDB/TVmaze; sync fills missing ids (TVmaze lookup); movies fetched via /movie/mre
- b105bcd8tracker#11: Hybriel master ff51cf46 (checks no longer vanish), mobile-first styles, carets, follow button, sign-in modal, inverted check, orange castmre