gitoriaLog in with ident

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit71e0fd7d71e0fd7dtracker missions 029 + 030: README (What it does, Files, gate count), STATUS (real-copy numbers, how to repeat, open points), LOGmre71e0fd7d/project.hl

17.1 KB

  1. // project.hl — tracker.worldapi.org: THE MAP (mission 028, docs: README "Files"). Config, the routes and how the parts are wired;
  2. // what each feature does is in the file named here, not in this one.
  3. //
  4. // login (ident only, the header's selector + button) lib/users.hl, components/main.hl, login.js, /login/* below
  5. // titles: records, slugs, kinds, list caches lib/shows.hl a title's page: components/show.hl
  6. // public lists /movies /series /shows /genres, home lib/catalog.hl
  7. // components/{movies,allseries,allshows,genre,home,tilelist}.hl
  8. // follows · watches · /my/* lib/follows.hl · lib/watches.hl
  9. // components/{myshows,mymovies,unwatched,schedule}.hl
  10. // search, web search, import lib/search.hl (+ search-helpers.hl) components/search.hl
  11. // people, a person's page and filmography fill lib/people.hl components/person.hl
  12. // cast + crew, the credits job lib/credits.hl (+ credits-helpers.hl)
  13. // a title completed from TMDB (details repair) lib/details.hl
  14. // TMDB / TVmaze requests, posters lib/tmdb.hl
  15. // the sync of one title · which titles a day lib/sync.hl (+ sync-helpers.hl) · lib/dailysync.hl
  16. // adult flag + kind backfills lib/backfill.hl
  17. // short ids (/<shortId>) lib/shortids.hl
  18. // franchises + timelines · TMDB collection seed lib/franchises.hl · lib/collections.hl
  19. // components/franchise*.hl, timelineedit.hl
  20. // duplicate titles merged lib/merge.hl
  21. // the background jobs and their clocks lib/jobs.hl (one instance, made below after the server)
  22. // poster + photo files lib/images.hl
  23. // shared helpers (env, paths, dates, ids, lists) lib/util.hl
  24. // styles · design tokens components/styles.hl · shared/tokens.hl
  25. //
  26. // Config (env; no committed secret — the first deploy registers this app in ident and sets these, done by the architect, as
  27. // with ident's own .env for SMTP): TRACKER_PORT (45008), TRACKER_URL (this app's own public address, for the return URL),
  28. // IDENT_URL (https://ident.worldapi.org), TRACKER_KEY (pk_…), TRACKER_SECRET (sk_…), TRACKER_STORAGE, TRACKER_SESSIONS,
  29. // TRACKER_WATCH, TMDB_READ_TOKEN; the jobs' switches and limits: lib/jobs.hl (README "Config").
  30. import WebFramework from 'hl:web'
  31. import { Response } from 'hl:http1'
  32. import { env } from 'hl:proc'
  33. import { now } from 'hl:time'
  34. import Styles from './components/styles.hl'
  35. import Home from './components/home.hl'
  36. import LoginFailed from './components/loginfailed.hl'
  37. import Show from './components/show.hl'
  38. import Unwatched from './components/unwatched.hl'
  39. import Schedule from './components/schedule.hl'
  40. import MyShows from './components/myshows.hl'
  41. import MyMovies from './components/mymovies.hl'
  42. import Movies from './components/movies.hl'
  43. import AllShows from './components/allshows.hl'
  44. import AllSeries from './components/allseries.hl'
  45. import Search from './components/search.hl'
  46. import Person from './components/person.hl'
  47. import Genre from './components/genre.hl'
  48. import Franchises from './components/franchises.hl'
  49. import Franchise from './components/franchise.hl'
  50. import FranchiseEdit from './components/franchiseedit.hl'
  51. import TimelineEdit from './components/timelineedit.hl'
  52. import { dark, darker } from './shared/tokens.hl'
  53. import { postersDir, profilesDir } from './lib/util.hl'
  54. import { loginCallbackOf } from './lib/users.hl'
  55. import { imageResponse, isSafePosterName } from './lib/images.hl'
  56. import { ensureIndex } from './lib/search.hl'
  57. import { showsMovedPath, warmTitleCaches, warmEpisodeKeys, movedSlugs, movedPathOf, personById } from './lib/shows.hl'
  58. import { allWatchedEpisodeIds } from './lib/watches.hl'
  59. import { allFollowedShowIds } from './lib/follows.hl'
  60. import { ensureShortIds, shortIdPath } from './lib/shortids.hl'
  61. import { guestPersonId } from './lib/people.hl'
  62. import { moveCopiedSummaries } from './lib/dailysync.hl'
  63. import { ensureFranchises } from './lib/franchises.hl'
  64. import Jobs from './lib/jobs.hl'
  65. static appTitle = "tracker"
  66. // ---- THE INSTALLABLE APP (tracker.worldapi.org#10), the same way calendar.worldapi.org does it: hl:web's own web app
  67. // manifest (/__hl/manifest.webmanifest, linked from every head with the apple-touch-icon and theme-color) and service
  68. // worker (/__hl/sw.js) from these settings — no JavaScript of ours. Icons in icons/ (icon.svg is the source, the PNGs
  69. // are rendered from it with rsvg-convert, README "Icons"). The theme colour is the header's background (darker), the
  70. // splash background the page's (dark) — both off the tokens, not written out again.
  71. appThemeColor = darker.value
  72. appBackgroundColor = dark.value
  73. appIcons = [
  74. { src = '/icons/icon-192.png' sizes = '192x192' purpose = 'any' }
  75. { src = '/icons/icon-512.png' sizes = '512x512' purpose = 'any' }
  76. { src = '/icons/icon-192.png' sizes = '192x192' purpose = 'maskable' }
  77. { src = '/icons/icon-512.png' sizes = '512x512' purpose = 'maskable' }
  78. ]
  79. appTouchIcon = '/icons/apple-touch-icon.png'
  80. appFavicon = '/icons/favicon.svg'
  81. // OFFLINE: only the shell — the header and `/` (components/main.hl says "You are offline" while the browser has no
  82. // network). The data pages are not kept: without a network they get hl:web's "Unavailable offline" page.
  83. offline = [ Home ]
  84. styles = Styles
  85. port = env('TRACKER_PORT') != null ? toNumber(env('TRACKER_PORT')) : 45008
  86. watching = env('TRACKER_WATCH') != '0'
  87. // read by hl:web's own manifest config (WebFramework.hl `cfg.sessionDir`), not the constructor call below
  88. sessionDir = env('TRACKER_SESSIONS') != null ? env('TRACKER_SESSIONS') : null
  89. // ---- the function routes: each checks its input, asks the topic, answers ---------------------------------------------------
  90. // /login/callback?ident_code=… (lib/users.hl): the code exchanged, this app's session signed in, back to the page (`?next=`)
  91. loginCallback = (&route, &req) => { return loginCallbackOf(server.sessions, req) }
  92. // /posters/<name>, /profiles/<name> (lib/images.hl): the file, else the placeholder
  93. posterRoute = (&route, &req) => { return imageResponse(postersDir, route.params != null ? route.params.name : null, 'poster') }
  94. profileRoute = (&route, &req) => { return imageResponse(profilesDir, route.params != null ? route.params.name : null, 'photo') }
  95. // the old addresses of the personal lists (tracker.worldapi.org#8): they all live under /my/ now — a permanent redirect so old
  96. // links keep working (architect's decision)
  97. movedTo = (&path) => { return new Response('moved to ' + path, { status = 301 headers = { 'Location' = path 'Content-Type' = 'text/plain; charset=utf-8' } }) }
  98. notFoundText = (&text) => { return new Response(text, { status = 404 headers = { 'Content-Type' = 'text/plain; charset=utf-8' } }) }
  99. unwatchedMoved = (&route, &req) => { return movedTo('/my/unwatched') }
  100. scheduleMoved = (&route, &req) => { return movedTo('/my/schedule') }
  101. // mission 058: the show page's genre pills linked `/genre/<x>` (no page there) — the genre pages are `/genres/<x>`
  102. genreMoved = (&route, &req) => {
  103. g = route.params != null ? route.params.genre : null
  104. return movedTo(isSafePosterName(g) ? '/genres/' + g : '/')
  105. }
  106. // mission 060 (tracker.worldapi.org#27): `/<shortId>` → 301 to the title's or person's page (lib/shortids.hl); upper case is
  107. // read as lower case; anything else is a 404
  108. shortIdRoute = (&route, &req) => {
  109. sid = route.params != null ? route.params.sid : null
  110. path = sid != null && hlTypeName(sid) == 'String' ? shortIdPath(sid.toLowerCase()) : null
  111. if (path == null) { return notFoundText('not found') }
  112. return movedTo(path)
  113. }
  114. // mission 062: a GUEST STAR's link (components/show.hl castRowsOf) — `/person/tmdb/<tmdbId>?show=<show id>` creates the person
  115. // (lib/people.hl guestPersonId) or finds the one we have, then 302 → `/person/<slug>`. A function route: the browser loads it
  116. // itself (hl:web's client router hands every non-component link to the browser)
  117. guestRoute = (&route, &req) => {
  118. t = route.params != null ? route.params.tmdb : null
  119. tmdbId = t != null && hlTypeName(t) == 'String' && t.length <= 10 ? toNumber(t) : null
  120. if (tmdbId == null || tmdbId < 1) { return notFoundText('not found') }
  121. q = req.query != null ? req.query : {}
  122. r = guestPersonId(tmdbId, q.show)
  123. p = r.id != null ? personById(r.id) : null
  124. if (p == null || p.urlSegment == null) { return notFoundText('not found: ' + (r.error != null ? r.error : 'no such person')) }
  125. return new Response('see /person/' + p.urlSegment, { status = 302 headers = { 'Location' = '/person/' + p.urlSegment 'Cache-Control' = 'no-store' 'Content-Type' = 'text/plain; charset=utf-8' } })
  126. }
  127. // /shows/<slug> (tracker.worldapi.org#21, mission 068): a series or movie (or a merged duplicate's slug) answers 301 to its page
  128. // (lib/shows.hl showsMovedPath). hl:web has no way for a component route to answer a redirect, so this is a FUNCTION route, and
  129. // for a show (or an unknown slug: the page's own "Not found") it renders the title page the way hl:web renders a component
  130. // route (WebFramework.hl `on http.request`, the `component` branch): the Show component matched at /series/<slug> — same
  131. // component, same params — with the cookie's session, a new one (and its cookie) when the browser brought none. In the browser
  132. // a link to /shows/<slug> is then a full page load; every other title page stays a client-side navigation.
  133. showsRoute = (&route, &req) => {
  134. slug = route.params != null ? route.params.slug : null
  135. to = showsMovedPath(slug)
  136. if (to != null) { return movedTo(to) }
  137. m = server.router.match('/series/' + slug)
  138. let s = req.session
  139. fresh = s == null
  140. if (fresh) { s = server.sessions.mint() }
  141. let res = server.page(m, s, server.hostOf(req.headers['host']), server.requestHeaders(req.headers))
  142. if (fresh) { res.headers['Set-Cookie'] = server.sessions.cookieHeader(s.id) }
  143. return res
  144. }
  145. // tracker#31 (mission 026): the slug of a merged duplicate, or a keeper's former slug → 301 to the keeper's page (lib/shows.hl
  146. // movedSlugs, read at boot). A component route cannot redirect, so each such slug gets its own function route under /movies/ and
  147. // /series/ (/shows/ is showsRoute). A title merged while this process runs answers the keeper's page under its old slug (shows.hl
  148. // showBySlug) until the next start.
  149. slugMoved = (&route, &req) => {
  150. to = movedPathOf(req.path)
  151. if (to == null) { return notFoundText('not found') }
  152. return movedTo(to)
  153. }
  154. routes = [
  155. { pattern = "/favicon.ico" file = "./icons/favicon.ico" headers = { 'Cache-Control' = 'no-cache' } }
  156. // the installable app (tracker.worldapi.org#10): the icons (manifest and service worker are hl:web's own, from appIcons / offline)
  157. { pattern = "/icons/icon-192.png" file = "./icons/icon-192.png" headers = { 'Cache-Control' = 'no-cache' } }
  158. { pattern = "/icons/icon-512.png" file = "./icons/icon-512.png" headers = { 'Cache-Control' = 'no-cache' } }
  159. { pattern = "/icons/apple-touch-icon.png" file = "./icons/apple-touch-icon.png" headers = { 'Cache-Control' = 'no-cache' } }
  160. { pattern = "/icons/favicon.svg" file = "./icons/favicon.svg" headers = { 'Cache-Control' = 'no-cache' } }
  161. { pattern = "/login/callback" function = loginCallback }
  162. { pattern = "/login/failed" component = LoginFailed }
  163. { pattern = "/login.js" file = "./login.js" headers = { 'Cache-Control' = 'no-cache' } }
  164. { pattern = "/posters/:name" function = posterRoute }
  165. // tracker.worldapi.org#13: every movie / every series, 24 per page — the page is a PATH segment (`/movies/page/2`), a
  166. // page component cannot read `?page=` (hybriel#11) — and the movies the user follows
  167. { pattern = "/movies" component = Movies }
  168. { pattern = "/movies/page/:page" component = Movies }
  169. // tracker.worldapi.org#21 (mission 068): series and shows split — /series lists the series, /shows the shows; a title's page
  170. // is /movies/<slug>, /series/<slug> or /shows/<slug> (one component; /shows/<slug> is showsRoute above)
  171. { pattern = "/movies/:slug" component = Show }
  172. { pattern = "/series" component = AllSeries }
  173. { pattern = "/series/page/:page" component = AllSeries }
  174. { pattern = "/series/:slug" component = Show }
  175. { pattern = "/shows" component = AllShows }
  176. { pattern = "/shows/page/:page" component = AllShows }
  177. { pattern = "/shows/:slug" function = showsRoute }
  178. { pattern = "/my/movies" component = MyMovies }
  179. { pattern = "/my/unwatched" component = Unwatched }
  180. { pattern = "/my/schedule" component = Schedule }
  181. // #21: /my/series and /my/shows (one component, components/myshows.hl; any other word there is its "Not found")
  182. { pattern = "/my/:tv" component = MyShows }
  183. { pattern = "/unwatched" function = unwatchedMoved }
  184. { pattern = "/schedule" function = scheduleMoved }
  185. // tracker.worldapi.org#14: the search — `/search/<text>` (hl:web gives a page no query string, so not `?q=`)
  186. { pattern = "/search/:q?" component = Search }
  187. // tracker.worldapi.org#16: a person's page (the show page's cast and the search link here) and their photo
  188. { pattern = "/person/tmdb/:tmdb" function = guestRoute }
  189. { pattern = "/person/:slug" component = Person }
  190. { pattern = "/profiles/:name" function = profileRoute }
  191. // mission 058 (tracker.worldapi.org#25): a genre's movies and series, like /movies (the page in the path)
  192. { pattern = "/genres/:genre" component = Genre }
  193. { pattern = "/genres/:genre/page/:page" component = Genre }
  194. { pattern = "/genre/:genre" function = genreMoved }
  195. // tracker.worldapi.org#19 (mission 066): franchises and timelines, the creator's editor (`/franchises/edit` before the slug)
  196. { pattern = "/franchises" component = Franchises }
  197. { pattern = "/franchises/edit" component = FranchiseEdit }
  198. { pattern = "/franchises/:slug" component = Franchise }
  199. { pattern = "/timelines/:tslug" component = Franchise }
  200. { pattern = "/timelines/:slug/edit" component = TimelineEdit }
  201. { pattern = "/" component = Home }
  202. // mission 060 (tracker.worldapi.org#27): a short id → its page (LAST: every named one-segment route above wins)
  203. { pattern = "/:sid" function = shortIdRoute }
  204. ]
  205. // WHO GETS THE PUSH: the login state reaches the tabs of one session (components/main.hl trackerSignedIn/Out).
  206. tagOf = (&session) => { return session != null && session.data != null ? session.data.tag : null }
  207. audience = {
  208. trackerSignedIn = (tag, &session) => { return tag != null && tagOf(session) == tag }
  209. trackerSignedOut = (tag, &session) => { return tag != null && tagOf(session) == tag }
  210. }
  211. // cookies are per host, not per port: an own name keeps this app's session apart from
  212. // ident's own (and from any other worldapi app sharing a dev host), see ident README "Design
  213. // tokens" / hybriel#10 hybriel#17.
  214. sessionCookie = 'trackersid'
  215. // tracker.worldapi.org#14: the search index (lib/search.hl) is built once here at boot (~0.6 s on the real data), not by the
  216. // first search
  217. searchIndexReady = ensureIndex()
  218. // mission 060: every short id in use (one map over shows AND persons) and the records still without one, before the first request
  219. shortIdsReady = ensureShortIds()
  220. // tracker#30 (mission 025): the slim list caches (lib/shows.hl cardOf / episodeRowsOf) of every followed title, before the first
  221. // /my/ load — not filled by that load
  222. titleCachesStart = now()
  223. titleCachesWarm = warmTitleCaches(allFollowedShowIds())
  224. episodeKeysWarm = warmEpisodeKeys(allWatchedEpisodeIds())
  225. console.log('list caches: ' + titleCachesWarm + ' followed titles, ' + episodeKeysWarm + ' watched episodes in ' + (now() - titleCachesStart) + ' ms')
  226. // tracker#18, ONCE (lib/dailysync.hl moveCopiedSummaries): a `summary` that is only the migrated copy of tmdbSummary is MOVED to
  227. // `migratedSummary` (mission 070: kept, not shown) — the current TMDB text shows; the creator's own texts stay
  228. summariesMoved = moveCopiedSummaries()
  229. if (summariesMoved.ran) { console.log('summaries: moved ' + summariesMoved.moved + ' copies of tmdbSummary to migratedSummary, kept ' + summariesMoved.kept + ' own texts, errors ' + summariesMoved.errors + ', ' + summariesMoved.ms + ' ms') }
  230. // mission 066: which timelines every title is in (one scan of the timelines), before the first show page
  231. franchisesReady = ensureFranchises()
  232. // tracker#31: the moved slugs' routes first, then `routes` as written (hl:web reads the written list for the pages it serves)
  233. movedSlugList = movedSlugs()
  234. withMovedSlugs = () => {
  235. out = []
  236. for (m of movedSlugList) {
  237. out.push({ pattern = '/movies/' + m.slug function = slugMoved })
  238. out.push({ pattern = '/series/' + m.slug function = slugMoved })
  239. }
  240. for (r of routes) { out.push(r) }
  241. return out
  242. }
  243. allRoutes = withMovedSlugs()
  244. console.log('moved slugs: ' + movedSlugList.length + ' (301 to the keeper)')
  245. server = new WebFramework(routes = allRoutes, styles = styles, port = port, sessionCookie = sessionCookie, watchMode = watching)
  246. // ---- THE BACKGROUND JOBS (lib/jobs.hl): the daily TMDB sync, the backfills, the details repair, the credits job, the duplicate
  247. // merge, the short-id backfill, the collection seed — constructing it starts their clocks and logs which ones are off
  248. jobs = new Jobs()
  249. on Error(e) { console.log('error absorbed: ' + e.message) }

Branches

Latest commits

  • 71e0fd7dtracker missions 029 + 030: README (What it does, Files, gate count), STATUS (real-copy numbers, how to repeat, open points), LOGmre
  • d36ea6eatracker#34 + #35 (mission 030): Follow directly under the poster, as wide as the poster (show.hl, styles.hl); the status pill next to a series' title — TVmaze's status (new tvmazeStatus, stored by the sync's TVmaze merge) else TMDB's, TVmaze Ended + TMDB Canceled = Canceled, inverted (filled, dark text, no border), green running / yellow pending / red canceled / muted ended (shows.hl statusOf); the daily delta asks TVmaze's status of an unfollowed series TVmaze's change list names (dailysync.hl syncRunStep, sync.hl syncTvmazeStatus); the status backfill after the details repair (backfill.hl, jobs.hl statusTick; resumable, 550 ms per TVmaze request); gates 354/0, 32/0, 52/0mre
  • 7d7d4487tracker#33 (mission 029): reduced titles — every title TMDB's details never went through this app (no detailsAt, no tmdbSync) is incomplete (shows.hl isIncomplete; the old tracker's migrated rows passed #26's test: 5,697 non-adult on the live copy, 691 series without seasons); the repair job does the visibly reduced first (shows.hl missingParts), the page completes one on open; a title TMDB has no poster for (The Remaining) shows the placeholder; tools/count-incomplete.hl; gate fixtures stand for synced titles (tmdbSync), tests/seed-reduced.hl + #33 checks; gates 347/0, 32/0, 52/0mre
  • 661c2592tracker: report 028mre
  • 27c916fatracker mission 028: README ("Code order", the new file map), STATUS (counts before/after, tests, how to repeat, open), LOGmre
  • d924f398tracker mission 028: comments name the new files (sync.hl, dailysync.hl, backfill.hl, credits.hl, jobs.hl, images.hl …); tools/ref-params.py + tools/lambda-audit.py also scan lib/ (they globbed the root only), lambda-audit counts a plain `x = p` alias like `let x = p`mre
  • 2e89b968tracker mission 028 (code order) 5/5 let: `let` only where a variable is reassigned — 667 never-reassigned lets became plain declarations (project.hl, lib/, components/, tools/, tests/); kept: 264 in loop bodies (a plain declaration there is 'Cannot reassign' on the 2nd pass), 234 reassigned, 27 whose name is also a member/outer/free name (a plain write would rebind it); tools/let-audit.py decides and fixes (README 'Code order'); tests/realdata-m028.{sh,mjs} = the page-output diff on a real copy; gates 342/0, 32/0, 52/0, real-copy pages identicalmre
  • 54796ff2tracker mission 028 (code order) 4/5 thin faces + last copies: the show page's check/follow faces call lib/watches.hl toggleWatched / toggleSeasonWatched (seasonAllWatched moved there) and lib/follows.hl toggleFollowed; both logins (header selector face, /login/callback) share lib/users.hl userOfCode; todayStr/listOf copies in components and the export readers copied into tools/migrate.hl + tools/old-short-ids.hl now once (lib/util.hl, lib/export.hl); gates 342/0, 32/0, 52/0; old-short-ids output byte-identical, migrate output identicalmre
  • 06b078e3tracker mission 028 (code order) 3/5 project.hl is the map: config, routes, wiring and a feature → file index (914 → 258 lines); the background jobs (daily sync run, backfills, details repair, credits job, merge, short ids, collection seed) moved unchanged into lib/jobs.hl (a class: their state is reassigned every step, a static cannot be; one instance made after the server), the login callback into lib/users.hl, poster/photo serving into lib/images.hl, the /shows/<slug> rule into lib/shows.hl showsMovedPath; route handlers are thin wrappers; gates 342/0, 32/0, 52/0, real-copy pages identicalmre
  • 94716fd2tracker mission 028 (code order) 2/5 util + topics: lib/util.hl holds envOr, storageDir, postersDir, profilesDir, newId, hexDigits, todayStr, dateOr, textOr, hasId, listOr, firstOf, sortDesc once (were copied into up to 5 files); tmdbsync.hl split into tmdb.hl (TMDB/TVmaze requests), sync.hl (one title's sync), sync-helpers.hl, backfill.hl; details.hl split into details.hl, credits.hl, credits-helpers.hl (isIncomplete to shows.hl); search-helpers.hl (words, query, ranking, slugs); collections.hl (the TMDB collection seed, out of franchises.hl); deltasync.hl renamed dailysync.hl; no behaviour change: gates 342/0, 32/0, 52/0, real-copy pages identicalmre
  • 186079b0tracker mission 028 (code order) 1/5 move: every root .hl except project.hl into lib/ (styles.hl into components/), import paths only; gates 342/0, 32/0, 52/0; real-copy pages identicalmre
  • 4f47f181tracker: report 027mre
  • dc1d4be4tracker mission 027: Hybriel master 06617221 vendored (plugin allocator fixes 3a781359 + 413f60e4); real copy RSS through first-start jobs + 400 loads flat ~2.55 GB (190aa11d 2.3 -> 5.6 GB), page times <= 1.1x; gates 342/0, 32/0, 52/0mre
  • 84e1b3e1tracker: reports 025 + 026mre
  • dc40d859tracker#31 (mission 026): duplicate titles merged — the 68 type+tmdbId pairs held by 157 records were the old tracker's (all migrated); merge.hl repair job (own clock, before the TMDB jobs) keeps one keeper per title (follows/watches > old short id > oldest), moves follows, watches, seasons, cast, credits, timelines, tombstones the rest (mergedInto, never deleted), slugs + short ids 301 to the keeper; stray seasons merged into their listed twin (Reacher S3 watches) or linked when watched; search import re-checks before its put; deploy.sh waits up to 90 s for 200; real copy 68 -> 0 dup ids, az5b2 follows/watches equal; gates 342/0, 32/0, 52/0mre
  • 2667da05tracker#30 (mission 025): /my/ pages from slim cached title cards, episode rows and watch sets (after the jobs /my/series 1.8 s -> 0.06 s, /my/unwatched 4.1 -> 0.18 s); timeline page shows its name once; franchise widget under the poster/title; movies with TV leftovers (First Contact) go through the details repair; tools/count-tmdb-ids.hl; gates 327/0, 52/0, 32/0mre
  • 3909810dantcolony#40: mission references in README/STATUS/docs point to the moved missionsmre
  • e63b1d28antcolony#40: history (LOG.md), worker briefs (missions/) and reports moved here from antcolony, numbered per project; old numbers in antcolony docs/mission-map.mdmre
  • 1cda451dtracker: Hybriel master 190aa11d (#127 both shapes, GC correctness fc838894) — conductor adopts despite /my/series 2.4x after jobs (memory 8.0 → 1.7 GB boot); see reports/071mre
  • c1fa2f2etracker (mission 071): Hybriel master 190aa11d measured on the real copy vs the live binary 8590df63 — NOT adopted (after the first-start jobs /my/series 2.4x slower, /series 1.6x, RSS swings 7.4-12.2 GB; fresh it is flat at 1.7-2.2 GB and /my/unwatched faster), vendor stays 8efba065, candidate kept in .scratch/w071/vendor-190aa11d; tests/kinds.mjs: collection seed off (its TMDB request broke check 1 in 1 of 4 runs); tests/realdata-071.sh + realdata-071-bench.mjs + tools/realdata-071-table.py; README + STATUS (numbers, how to repeat); gates 325/0, 32/0, 50/0mre