tracker
All repositories: gitoria
19.6 KB
// lib/people.hl — THE PERSON PAGE's data (tracker.worldapi.org#16, components/person.hl `/person/<slug>`): a person by slug,// their facts and filmography, and the ONE-TIME fetch of their whole filmography from TMDB on the first visit. Creator:// "the movies come from artist scrolls. when one clicks on an artist that has no dataset yet the old version fetched that// artist and its entire bibilogrqphy so its profile was complete".//// personBySlug(slug) the person (slug = `urlSegment`) — a slug → id map built once (15k people, one scan)// personInfoOf(p) name, photo URL, born/died lines, bio// filmographyOf(p) their credits (`p.shows`): poster, title, year, role, kind — newest first, adult titles hidden// personFillStep(id) ONE step of the fetch, called again and again by the page until it answers `done`:// 1st call: GET <TMDB>/person/<tmdbId>?append_to_response=combined_credits (ONE request: details +// every cast/crew credit) + the photo (w185, like the posters); the person's facts are updated;// every next call stores the next `fillBatch` titles; the last one links the credits and marks// the person complete (`filmographyAt`, ms). hl:web serves one request at a time — between two// steps every other request is served, so a person with 300 credits never holds the server.//// COMPLETE = `filmographyAt` set: never fetched again (the daily sync may refresh followed people later — not built).// Migrated people are NOT complete (153 of them carry the old tracker's credits — kept, the fetch adds the rest).// A title we don't have → a MINIMAL show record (title, year, type, tmdbId, `adult`, overview, genres by TMDB id, language;// no seasons, no poster file; `minimal = true` — details.hl completes it when it is opened or by the repair job, tracker#26), shaped like search.hl importTitle's// (`oldId tmdb-<tv|movie>-<id>`, a free slug), indexed for the search and put into the public lists (catalog.hl).// The person's credits (`shows`, the migrated field): [{ show, character, posterPath, adult }] — `character` is the role// text (the characters, then crew jobs like "Director", " / " between them); `posterPath` = TMDB's, so the page can show// TMDB's small poster (w92, like search's web rows) until we have the file. ADULT (TMDB's flag, mission 054): a row is// shown only for a PUBLIC title (shows.hl `isPublicTitle`: `adult == false`, unknown hidden like the public lists) whose// credit is not adult either (mission 056 merge).// ONE PROCESS PER STORAGE (hybriel#21); new rows get self-assigned 16-hex ids (hybriel#113), like sync.hl.import { now } from 'hl:time'import { fetch } from 'hl:fetch'import { writeFile, mkDir, exists } from 'hl:fs'import { profilesDir, newId, textOr, listOr, sortDesc } from './util.hl'import { personsTable, showsTable, genresTable, showById, showYear, posterUrlOf, isPublicTitle, titlePath, typeWordOf, typeClassOf, liveShowOf } from './shows.hl'import { tmdbGet, tmdbImageBase } from './tmdb.hl'import { titleIdByTmdb, indexShow, slugOf, indexPerson } from './search.hl'import { slugBaseOf } from './search-helpers.hl'import { refreshCatalogShow } from './catalog.hl'import { claimShortId } from './shortids.hl'// titles stored per step (real data: see STATUS.md ticket #16 for the per-step time)static fillBatch = 40// ---- the person -------------------------------------------------------------------------------------------------static slugIndex = { built = false ids = {} }static ensureSlugIndex = () => {if (!slugIndex.built) {m = {}for (p of personsTable.find(null, null)) { if (p.urlSegment != null) { m[p.urlSegment] = p.id } }slugIndex.ids = mslugIndex.built = true}return true}static personBySlug = (&slug) => {if (slug == null || hlTypeName(slug) != 'String' || slug == '') { return null }ensureSlugIndex()id = slugIndex.ids[slug]return id == null ? null : personsTable.fetch(id)}static isComplete = (&p) => { return p.filmographyAt != null }// the page asks TMDB for this person: not complete yet, and TMDB knows themstatic needsFill = (&p) => { return !isComplete(p) && p.tmdbId != null }// the photo: /profiles/<oldId>.<ext> (images.hl) — only when the file is there (the migrated `image` = 'jpg'// of 129 people never came with a file)static profileName = (&p) => {if (p.oldId == null || p.image == null || p.image == '') { return null }return p.oldId + '.' + p.image}static photoUrlOf = (&p) => {name = profileName(p)return name != null && exists(profilesDir + '/' + name) ? '/profiles/' + name : ''}static monthNames = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']// '1986-03-04' → '4 March 1986'; a bare year or anything else as it isstatic dateText = (&d) => {t = textOr(d)if (t == null) { return null }if (t.length < 10) { return t }m = toNumber(t.slice(5, 7))day = toNumber(t.slice(8, 10))if (m == null || day == null || m < 1 || m > 12) { return t }return day + ' ' + monthNames[m - 1] + ' ' + t.slice(0, 4)}// { name, photoUrl, born, died, bio } — every field a plain string ('' = none)static personInfoOf = (&p) => {born = dateText(p.birthDate)place = textOr(p.birthPlace)let bornText = ''if (born != null && place != null) { bornText = 'Born ' + born + ' in ' + place } else if (born != null) { bornText = 'Born ' + born } else if (place != null) { bornText = 'Born in ' + place }died = dateText(p.deathDate)return { name = p.name != null ? p.name : '' photoUrl = photoUrlOf(p) born = bornText died = died != null ? 'Died ' + died : ''bio = textOr(p.biography) != null ? p.biography : '' }}// ---- the filmography --------------------------------------------------------------------------------------------// the credits, one row per title (a title twice — the migrated credit and TMDB's — is ONE row, roles merged), newest// first by the title's release ('YYYY-MM-DD', else its year), undated last; only public titles (no adult/unknown)static filmographyOf = (&p) => {byShow = {}order = []for (c of listOr(p.shows)) {if (c != null && c.show != null) {let role = textOr(c.character)let prev = byShow[c.show]if (prev == null) {byShow[c.show] = { role = role != null ? role : '' posterPath = textOr(c.posterPath) adult = c.adult == true }order.push(c.show)} else {let x = previf (role != null && !(' / ' + x.role + ' / ').includes(' / ' + role + ' / ')) { x.role = x.role == '' ? role : x.role + ' / ' + role }if (x.posterPath == null) { x.posterPath = textOr(c.posterPath) }if (c.adult == true) { x.adult = true }byShow[c.show] = x}}}list = []listed = {}for (sid of order) {let c = byShow[sid]// tracker#31: a credit on a merged tombstone is the keeper's (merge.hl repoints them; a keeper listed once)let s = liveShowOf(showById(sid))if (isPublicTitle(s) && !c.adult && listed[s.id] != true) {listed[s.id] = truelet y = showYear(s)let release = textOr(s.release)let key = release != null && release.length >= 4 ? release : (y != null ? y : '')let poster = posterUrlOf(s)if (poster == '/posters/none' && c.posterPath != null) { poster = tmdbImageBase + '/w92' + c.posterPath }list.push({ key = key id = s.id title = s.title year = y != null ? y : '' href = titlePath(s) posterUrl = posterrole = c.role typeLabel = typeWordOf(s) typeClass = typeClassOf(s) })}}out = []undated = []for (r of sortDesc(list)) { if (r.key == '') { undated.push(r) } else { out.push(r) } }for (r of undated) { out.push(r) }return out}// ---- the fetch ------------------------------------------------------------------------------------------------// person id → { items, pos, credits, added, requests, started, steps } while a fetch is under way (in memory: a restart// loses it — the titles stored so far are found again by TMDB id, nothing is duplicated)static jobs = {}// TMDB genre id → ours (our genres carry TMDB's id)static genreMap = { built = false ids = {} }static genreIdsOfTmdb = (&tmdbIds) => {if (!genreMap.built) {m = {}for (g of genresTable.find(null, null)) { if (g.tmdbId != null) { m['' + g.tmdbId] = g.id } }genreMap.ids = mgenreMap.built = true}out = []for (t of listOr(tmdbIds)) {let id = genreMap.ids['' + t]if (id != null && !out.includes(id)) { out.push(id) }}return out}// TMDB's combined_credits → one item per title (cast AND crew of the same title merged), TV + movies onlystatic creditItems = (&cc) => {byKey = {}order = []all = []if (cc != null) {for (c of listOr(cc.cast)) { all.push({ credit = c role = textOr(c.character) }) }for (c of listOr(cc.crew)) { all.push({ credit = c role = textOr(c.job) }) }}for (a of all) {let c = a.creditlet kind = c.media_typeif ((kind == 'tv' || kind == 'movie') && c.id != null && hlTypeName(c.id) == 'Number') {let k = kind + ':' + c.idlet known = byKey[k]if (known == null) {let name = kind == 'tv' ? textOr(c.name) : textOr(c.title)if (name != null) {byKey[k] = { kind = kind tmdbId = c.id title = name release = textOr(kind == 'tv' ? c.first_air_date : c.release_date)overview = textOr(c.overview) language = textOr(c.original_language) genreIds = listOr(c.genre_ids)posterPath = textOr(c.poster_path) adult = c.adult == true role = a.role != null ? a.role : '' }order.push(k)}} else if (a.role != null && !(' / ' + known.role + ' / ').includes(' / ' + a.role + ' / ')) {let x = knownx.role = x.role == '' ? a.role : x.role + ' / ' + a.rolebyKey[k] = x}}}out = []for (k of order) { out.push(byKey[k]) }return out}// the photo: w185 → storage/mpackdb/profiles/<oldId>.<ext> — { requests, image, tmdbProfile, failed }static syncProfile = (&p, profilePath) => {out = { requests = 0 image = p.image tmdbProfile = p.tmdbProfile failed = null }if (textOr(profilePath) == null || p.oldId == null) { return out }parts = profilePath.split('.')ext = parts[parts.length - 1].toLowerCase()if (ext != 'jpg' && ext != 'jpeg' && ext != 'png' && ext != 'webp') { return out }file = profilesDir + '/' + p.oldId + '.' + extif (exists(file) && p.tmdbProfile == profilePath && p.image == ext) { return out }out.requests = 1r = fetch(tmdbImageBase + '/w185' + profilePath, { headers = { 'user-agent' = 'tracker.worldapi.org (person page)' } timeoutMs = 20000 })if (r == null || r.status != 200 || r.body == null || r.body.length == 0) {out.failed = 'photo ' + profilePath + ': ' + (r == null ? 'no answer' : 'HTTP ' + r.status)return out}mkDir(profilesDir)writeFile(file, toBytes(r.body), 420)out.image = extout.tmdbProfile = profilePathreturn out}// step 1: TMDB's person + credits; the facts (a TMDB value that is empty never overwrites ours) and the photostatic startFill = (p) => {t0 = now()d = tmdbGet('/person/' + p.tmdbId + '?append_to_response=combined_credits')if (d.failed != null) { return { error = 'TMDB: ' + d.failed } }items = creditItems(d.combined_credits)photo = syncProfile(p, d.profile_path)x = pif (textOr(d.biography) != null) { x.biography = d.biography }if (textOr(d.birthday) != null) { x.birthDate = d.birthday }if (textOr(d.deathday) != null) { x.deathDate = d.deathday }if (textOr(d.place_of_birth) != null) { x.birthPlace = d.place_of_birth }if (textOr(x.imdbId) == null && textOr(d.imdb_id) != null) { x.imdbId = d.imdb_id }if (d.adult != null) { x.adult = d.adult == true }x.image = photo.imagex.tmdbProfile = photo.tmdbProfileif (personsTable.update(x.id, x) == null) { return { error = 'could not store the person: ' + personsTable.lastError() } }if (photo.failed != null) { console.log('person fill: ' + p.name + ': ' + photo.failed) }jobs[p.id] = { items = items pos = 0 credits = [] added = 0 requests = 1 + photo.requests started = t0 steps = 1 tmdbMs = now() - t0 }return { done = false pos = 0 total = items.length }}// a title we don't have: the minimal record (shape: search.hl importTitle) → its id, or nullstatic addMinimalTitle = (&cr, &pid, pname) => {kindType = cr.kind == 'tv' ? 'series' : 'movie'rel = cr.releaseyr = rel != null && rel.length >= 4 ? toNumber(rel.slice(0, 4)) : nullslug = slugOf(cr.title, cr.tmdbId)record = {id = newId() title = cr.title summary = null tmdbSummary = cr.overview tmdbId = cr.tmdbIdlanguage = cr.language type = kindType release = rel year = yr image = nullurlSegment = slug episodesCount = null homepage = null imdbId = null seasonsCount = nullstatus = null tagline = null tvdbId = null tvmzId = null genres = genreIdsOfTmdb(cr.genreIds)cast = [{ person = pid character = cr.role actor = pname }] seasons = [] oldId = 'tmdb-' + cr.kind + '-' + cr.tmdbIdadult = cr.adult imported = now() minimal = true}// mission 060: its short id (shortids.hl — unique across shows and persons)record.shortId = claimShortId('show', record.id, record.oldId)if (showsTable.put(record) == null) {console.log('person fill: "' + cr.title + '" not stored: ' + showsTable.lastError())return null}indexShow(record)refreshCatalogShow(record.id)return record.id}// every next step: the next `fillBatch` titles; the last one links the credits and marks the person completestatic fillStep = (p, jobIn) => {job = jobIntotal = job.items.lengthlet end = job.pos + fillBatchif (end > total) { end = total }credits = job.creditslet added = job.addedpid = p.idpname = p.namelet i = job.poswhile (i < end) {let item = job.items[i]let sid = titleIdByTmdb(item.kind == 'tv' ? 'series' : 'movie', item.tmdbId)if (sid == null) {sid = addMinimalTitle(item, pid, pname)if (sid != null) { added = added + 1 }}if (sid != null) { credits.push({ show = sid character = item.role posterPath = item.posterPath adult = item.adult }) }i = i + 1}job.pos = endjob.credits = creditsjob.added = addedjob.steps = job.steps + 1jobs[pid] = jobif (end < total) { return { done = false pos = end total = total } }// done: the credits (+ the migrated ones TMDB no longer lists), completehave = {}all = []for (c of credits) { have[c.show] = true all.push(c) }for (c of listOr(p.shows)) { if (c != null && c.show != null && have[c.show] != true) { all.push(c) } }x = px.shows = allx.filmographyAt = now()if (personsTable.update(x.id, x) == null) { return { error = 'could not store the filmography: ' + personsTable.lastError() } }personsTable.persist()showsTable.persist()jobs[pid] = nullconsole.log('person fill: ' + pname + ' (tmdb ' + p.tmdbId + ') credits=' + total + ' added=' + added + ' requests=' + job.requests + ' steps=' + job.steps + ' tmdbMs=' + job.tmdbMs + ' ms=' + (now() - job.started))return { done = true pos = total total = total added = added }}// one step for the person with this id: { done, pos, total } or { error }static personFillStep = (&personId) => {p = personsTable.fetch(personId)if (p == null) { return { error = 'no such person' } }if (isComplete(p)) { return { done = true } }if (p.tmdbId == null) { return { error = 'TMDB does not know this person' } }job = jobs[personId]if (job == null) { return startFill(p) }return fillStep(p, job)}// ---- people from a title's cast (tracker#26, details.hl completeStep) ------------------------------------------// TMDB person id → our person id, built once (15k people, one scan), kept up to date by castPersonId// (flat statics, written key by key like search.hl's haveTmdb: `let m = …ids` would copy the whole map — plain data// deep-copies on assignment)static personTmdbBuilt = { yes = false }static personTmdbIds = {}static personIdByTmdb = (&tmdbId) => {if (!personTmdbBuilt.yes) {for (p of personsTable.find(null, null)) { if (p.tmdbId != null) { personTmdbIds['' + p.tmdbId] = p.id } }personTmdbBuilt.yes = true}return personTmdbIds['' + tmdbId]}// a free person slug: "Maya-Rudolph", taken → "-2", … (the migrated people's form)static personSlugOf = (&name, &tmdbId) => {ensureSlugIndex()base = slugBaseOf(name, 'person-' + tmdbId)if (slugIndex.ids[base] == null) { return base }let n = 2while (slugIndex.ids[base + '-' + n] != null) { n = n + 1 }return base + '-' + n}// how many people castPersonId added since the start (details.hl counts a title's new people by the difference, tracker#28)static castPeopleAdded = { n = 0 }static castPeopleCount = () => { return castPeopleAdded.n }// our person for one cast entry of TMDB ({ tmdbId, name, character, gender }) — the one we have by TMDB id, else a NEW// person (name, tmdbId, a free slug, this one credit; not complete: their page fetches the rest on the first visit like any// migrated person). Answers the id, or null when it could not be stored. Also a CREW person (tracker#28: `character` = the// job, "Director").static castPersonId = (&c, &showId) => {have = personIdByTmdb(c.tmdbId)if (have != null) { return have }record = { id = newId() name = c.name tmdbId = c.tmdbId urlSegment = personSlugOf(c.name, c.tmdbId) oldId = 'tmdb-person-' + c.tmdbIdgender = c.gender image = null tmdbProfile = null adult = false birthDate = null birthPlace = null deathDate = null imdbId = nullshows = showId != null ? [{ show = showId character = c.character }] : [] added = now() }// mission 062 (tracker#27 for #26/#28): every person the app creates gets its short id at once (shortids.hl)record.shortId = claimShortId('person', record.id, record.oldId)if (personsTable.put(record) == null) {console.log('details: person "' + c.name + '" not stored: ' + personsTable.lastError())return null}personTmdbIds['' + c.tmdbId] = record.idslugIndex.ids[record.urlSegment] = record.idindexPerson(record)castPeopleAdded.n = castPeopleAdded.n + 1return record.id}// ---- GUEST STARS (mission 062): a series' guests are NOT person records — details.hl stores them on the title ({ tmdbId, actor,// character, profile, episodes, guest }, `person` only when we have them already). 160k people (most of them one-episode guests)// cost 3.3 GB of RSS at boot (w061). A guest's link is `/person/tmdb/<tmdbId>?show=<show id>` (project.hl guestRoute): the FIRST// open creates the person (name + role from that title's guest entry; without one — an old link — TMDB's /person/<id>), with its// short id, then the person page fills it like any other.static guestOf = (&showId, &tmdbId) => {s = showId != null && hlTypeName(showId) == 'String' && showId != '' ? showsTable.fetch(showId) : nullif (s == null) { return null }for (c of listOr(s.cast)) { if (c != null && c.tmdbId == tmdbId && textOr(c.actor) != null) { return c } }return null}// our person for this TMDB person (created now when we have none) → { id, created } or { error }static guestPersonId = (tmdbId, showId) => {have = personIdByTmdb(tmdbId)if (have != null) { return { id = have created = false } }g = guestOf(showId, tmdbId)let c = nulllet inShow = nullif (g != null) {c = { tmdbId = tmdbId name = g.actor character = g.character gender = null }inShow = showId} else {d = tmdbGet('/person/' + tmdbId)if (d.failed != null) { return { error = 'TMDB: ' + d.failed } }if (textOr(d.name) == null || d.adult == true) { return { error = 'no such person' } }c = { tmdbId = tmdbId name = d.name character = null gender = d.gender }}pid = castPersonId(c, inShow)if (pid == null) { return { error = 'could not store the person' } }personsTable.persist()console.log('guest opened: ' + c.name + ' (tmdb ' + tmdbId + ') → new person ' + pid + (inShow != null ? ' from show ' + inShow : ' from TMDB'))return { id = pid created = true }}
Branches
- mainmain branch
Latest commits
- 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
- 8081350atracker docs (mission 070): README (summary, Config HL_GC_BYTES — kept at Hybriel's default, the 256 MiB setting is taken out of docker-compose.yml again: the jobs grew to 12+ GB with it too, see STATUS), Test (three gates), Deploy (first start ~50 min: kinds then seed, restart once after collections done, memory numbers), Vendored Hybriel 8efba065 + #48 audit, Files; STATUS mission 070 entry (merges, migrated counts, lambda audit, gates, RSS old vs new, how to repeat, open points); docs/kinds.md + docs/franchises.md job order; tests/realdata-070-*.sh, tools/count-migrated.hl, tools/ref-params.py, tools/lambda-audit.pymre
- 1ad19c8ctracker: re-vendor Hybriel master 8efba065 (#126 GC by bytes, #48 lambda parameters copy) (mission 070): bin/hybriel sha256 50361e95…, plugins core crypto data fetch fs http http1 mpackdb proc smtp time web; lambda audit: 13 lambdas change a passed record/list (11 through a local alias), no caller relies on it — unchanged; 319 read-only lambda parameters get & (no copy per call: /my/schedule 2.35 → 0.46 s, /my/unwatched 13.7 → 5.7 s on the real copy); /my/unwatched one merge sort instead of n² inserts; docker-compose HL_GC_BYTES=268435456; deploy.sh runs kinds.mjs + franchises.mjs too (default ports 8700–8710); tests/realdata-070.mjs; gates browser 325/0, kinds 32/0, franchises 50/0mre