gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit52e09eb252e09eb2boot: sync window 1000 ms (the gates ask for a complete start), README boot-time sectionmre52e09eb2/DECISIONS.md

10.5 KB

  1. # Decisions — tracker.worldapi.org
  2. <!-- generated by the antcolony librarian (antcolony-scheduler: ./colony librarian) from librarian/decisions.json — do not edit by hand, it is rewritten -->
  3. The creator's decisions for **tracker.worldapi.org** — current state only (superseded ones: `DECISIONS-archive.md` beside this file).
  4. **A decision here overrides anything else; ask only if it is not decided here.**
  5. Each entry: date · the creator's exact words in quotes · where it was said · "means" = a READING (the librarian's or the architect's), not the creator's words — when in doubt, the quote counts.
  6. ## Contents
  7. - [ident registration](#ident-registration) — 1
  8. - [look and style](#look-and-style) — 1
  9. - [tracker concept](#tracker-concept) — 11
  10. ## ident registration
  11. - 2026-09-27 · **"Before you can test:** register the app in ident (/apps) for the origin https://tracker.worldapi.org and give me the key and secret — until then the sign-in button shows "not registered with ident yet"."** · [tracker.worldapi.org #1 — Step 1: an empty tracker with the ident login](https://tickets.worldapi.org/projects/tracker.worldapi.org/1)
  12. - means (the librarian's reading, not the creator's words): Register the tracker app in ident (/apps) for origin https://tracker.worldapi.org and give the creator the key and secret; without this the sign-in button stays broken.
  13. ## look and style
  14. - 2026-09-27 · **"Fixed by the architect after your correction: now NO button has a border — also "Log out", the signed-in ident status and the identities in the ident dropdown. Only an inverted button (class "inverted", accent outline) would have one; tracker has none yet."** · [tracker.worldapi.org #3 — Design notes from the first test: no borders on the header and the bu…](https://tickets.worldapi.org/projects/tracker.worldapi.org/3)
  15. - means (the librarian's reading, not the creator's words): No border on any tracker button including "Log out", the signed-in ident status pill, and identities in the ident dropdown; only class "inverted" (accent outline) buttons keep a border — tracker currently has none.
  16. ## tracker concept
  17. - 2026-09-27 · **"Step 5 (/unwatched) is live — step 6 can start."** · [tracker.worldapi.org #6 — Step 6: /schedule — the upcoming episodes of the shows you follow](https://tickets.worldapi.org/projects/tracker.worldapi.org/6)
  18. - means (the librarian's reading, not the creator's words): Tracker step 6 (/schedule) is now unblocked and may begin; the hold is lifted.
  19. - 2026-09-27 · **"Step 4 (the show page) is live — step 5 can start."** · [tracker.worldapi.org #5 — Step 5: /unwatched — the unwatched episodes of the shows you follow](https://tickets.worldapi.org/projects/tracker.worldapi.org/5)
  20. - means (the librarian's reading, not the creator's words): Tracker step 5 (/unwatched) is now unblocked and may begin; the hold is lifted.
  21. - 2026-09-27 · **"Posters: the old tracker kept them as files (storage/posters/<id>.jpg); those files are gone — they were never in the backup (see LOG). Keep the placeholder for now; getting posters again from TMDB (the show's tmdbId) is a later step with the TMDB token. The open point that matters in this step is the check click: it must really toggle (and a season's check all its episodes)."** · [tracker.worldapi.org #4 — Step 4: the show page /shows/:slug with seasons, episodes and watch c…](https://tickets.worldapi.org/projects/tracker.worldapi.org/4)
  22. - means (the librarian's reading, not the creator's words): Real poster images are out of scope now (files lost, not backed up); keep the placeholder and defer TMDB re-fetching to a later ticket. For this step, prioritize making the watch check actually toggle, including a season check toggling all its episodes.
  23. - 2026-09-27 · [tracker.worldapi.org #6 — Step 6: /schedule — the upcoming episodes of the shows you follow](https://tickets.worldapi.org/projects/tracker.worldapi.org/6) · the creator wrote:
  24. > Step 6: /schedule — the upcoming episodes of the shows you follow
  25. >
  26. > A list of the episodes still to come from the shows you follow, soonest first, without checks.
  27. > **Test:** open /schedule — only future episodes of followed shows, the next one on top, no check icons.
  28. > **Details:**
  29. > - Creator: "/schedule has a similar list without check icons for he upcoming episodes of shows followed".
  30. > - Upcoming = release date after today; order soonest first (decided by the architect; the creator named the order only for /unwatched).
  31. > - Same row layout as /unwatched (step 5) minus the check.
  32. - means (the librarian's reading, not the creator's words): Build /schedule: upcoming (release date after today) episodes of followed shows, soonest first, same row layout as /unwatched but without the check icon.
  33. - 2026-09-27 · [tracker.worldapi.org #5 — Step 5: /unwatched — the unwatched episodes of the shows you follow](https://tickets.worldapi.org/projects/tracker.worldapi.org/5) · the creator wrote:
  34. > - Creator: "/unwatched lists all unwatched episodes of shows followed in release date desc order"; "check icon is a disc with a check in it".
  35. > - Only episodes already released (release date today or earlier); each row: check icon, show title, episode number, episode title, release date; the show links to /shows/:slug.
  36. > - Same check icon and watch logic as the show page (step 4) — reuse, don't copy.
  37. - means (the librarian's reading, not the creator's words): Build /unwatched: list unwatched episodes of followed shows, newest release first, only already-released episodes; each row shows check icon, show title, episode number, episode title, release date, show links to /shows/:slug; reuse the show page's check icon and watch logic, don't duplicate it.
  38. - 2026-09-27 · **"/shows/:slug shows the poster on the left, right of it the title of the show, the genre pills, below the plot summary, below that the artists just as normal links, separated with comma color red, genres are blue i think, this is the show header. then all sesions in reverse order, latest on top, below them collapsable their episodes episodes first the round check icon, if the episode was watche by the user looking its solid, if not its regular. then the episode number, then the title. the last season is not collpased. click on the check adds a watch. the season also has a check, if the season is checked or unchecked all its episodes get checked or unchecked. artists link to /person/<artist-slug> the genre to /genre/<genre-slug>"** · [tracker.worldapi.org #4 — Step 4: the show page /shows/:slug with seasons, episodes and watch c…](https://tickets.worldapi.org/projects/tracker.worldapi.org/4)
  39. - means (the librarian's reading, not the creator's words): Build /shows/:slug exactly as specified: poster left, title/genre pills/plot right, artists below as red comma-separated links, genre pills blue, artist/genre links use slugs; seasons listed reverse-chronological, all collapsible except the latest; each episode shows a check icon (solid disc if the…
  40. - 2026-09-27 · **"The old data itself had 36,194 episodes without a season link (and 3 watches without a target) — kept as they were; they can be re-linked by show + season number later."** · [tracker.worldapi.org #2 — Step 2: move the old tracker data into the new app](https://tickets.worldapi.org/projects/tracker.worldapi.org/2)
  41. - means (the librarian's reading, not the creator's words): Episodes without a season link and watches without a target were migrated as-is, not dropped or fixed now; a later step may re-link them by matching show + season number.
  42. - 2026-09-27 · **"Copy calendar.worldapi.org's login unchanged: the header in components/main.hl with <ident-selector>, users.hl, login.js, and the login routes in project.hl. Open those files in /media/STORAGE/projects/WorldAPI/calendar.worldapi.org — not ident's test app."** · [tracker.worldapi.org #1 — Step 1: an empty tracker with the ident login](https://tickets.worldapi.org/projects/tracker.worldapi.org/1)
  43. - means (the librarian's reading, not the creator's words): Tracker's login must copy calendar's unchanged (identity selector in header, homepage stays empty, no centered sign-in); rejected for not matching.
  44. - 2026-09-27 · **"Step 1 is live (https://tickets.worldapi.org/projects/tracker.worldapi.org/1) — step 2 can start."** · [tracker.worldapi.org #2 — Step 2: move the old tracker data into the new app](https://tickets.worldapi.org/projects/tracker.worldapi.org/2)
  45. - means (the librarian's reading, not the creator's words): Tracker step 2 (moving old data into the new app) is now unblocked and may begin; the earlier hold is lifted.
  46. - 2026-09-27 · **"Every record gets a NEW mpackdb id. Build the map old id → new id, then re-point EVERY reference: Show.seasons/genres/cast, Season.show/episodes, Episode.show/season, Person.shows, Follow.oid/userId, Watch.oid (episode or season, sometimes a plain string)/userId."** · [tracker.worldapi.org #2 — Step 2: move the old tracker data into the new app](https://tickets.worldapi.org/projects/tracker.worldapi.org/2)
  47. - means (the librarian's reading, not the creator's words): Tracker step 2: migrate old MongoDB export into new app db with fresh mpackdb ids via an old→new id map, re-pointing every reference listed; only user is creator (ident az5b2), old password hash dropped; build an idempotent one-off tool in tools/ that prints counts and proves counts match, zero d…
  48. - 2026-09-27 · [tracker.worldapi.org #1 — Step 1: an empty tracker with the ident login](https://tickets.worldapi.org/projects/tracker.worldapi.org/1) · the creator wrote:
  49. > Step 1: an empty tracker with the ident login
  50. >
  51. > The new tracker starts as an empty app: sign in with ident, then an empty homepage.
  52. > **Test:** open https://tracker.worldapi.org, sign in with ident, see the empty homepage with your name and a sign-out.
  53. > **Details:**
  54. > - New Hybriel app in its own folder, set up like calendar/notes (vendored Hybriel, deploy script, container, port 45008).
  55. > - Login exactly like calendar: ident only, no own passwords.
  56. > - Nothing else: no shows, no data, no design from the old app. The next steps come from the creator (see CONCEPT.md).
  57. > - Proof: a gate with a real ident copy and a real browser: signed out → sign in → homepage → sign out.
  58. - means (the librarian's reading, not the creator's words): Tracker step 1 is a new Hybriel app (own folder, vendored Hybriel, deploy script, container, port 45008) with ident-only login like calendar (no own passwords); build nothing else — no shows, data, or design from the old app; further steps wait for the creator via CONCEPT.md.

Branches

Latest commits

  • 52e09eb2boot: sync window 1000 ms (the gates ask for a complete start), README boot-time sectionmre
  • c87149e8tests/warmstart.mjs: the progressive start proven over HTTP (note in the window, 503 short id, after: everything); bootBeginmre
  • 593a6350boot: resumable start-up scan, the server listens first (T17)mre
  • be4890a0reports: H2 hydration audit (no test change needed)mre
  • 1f9c8bf4re-vendor Hybriel 5406d146 (hl:web batches 9+10: #72 emits while the socket is closed delivered after reconnect, browser boot linear, faster list appends; contains int 6–14 + m406)mre
  • c1df88eddocker-compose: HL_GC_TABLE_LOAD=62 (tracker mission 048, T16 real-data numbers)mre
  • d0a82867mission 048: report, LOG (HL_GC_TABLE_LOAD=62 measured)mre
  • 2d4be66fre-vendor Hybriel 5df4eb7e (GC: HL_GC_TABLE_LOAD knob, mission 406)mre
  • 99e7c8b9tests: realdata-m035-radii, repro-t38, realdata-060-backfill ports from env (REAL_PORT, REAL_CHROME, REPRO_CHROME), defaults unchangedmre
  • 4625aa22re-vendor Hybriel 6f8a0689 (int 6–11: streaming cursors, #203 index heal + close() fix, fd403 listDir/cursor fds, hl:time browser side, hl:web batches 5+6)mre
  • a6dfd6ecdeploy: person-lookup gate (tracker#46)mre
  • 33ad4bd5Merge commit 'f57f64f'mre
  • 7d38cec4docker-compose: nofile 65536 (default soft 1024 refused boot: errno 24 in fs.listDir, Hybriel 528bc89f)mre
  • f57f64f0mission 046: report, LOGmre
  • 5965963adeploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
  • efe1b485mission 046: re-vendor Hybriel master 60b2817b (integration 8, #203): plugins mpackdb + web (bin/ git-ignored: hybriel, libhlrt.a, hlc.o, hlrt/ from native/zig-out)mre
  • 53099ffbmission 046: person page reads a slim per-title credit row cache (no whole-record fetch per credit); gate tests/person-lookup.mjsmre
  • 9b3828aemission 046a: report, LOGmre
  • 4b37356emission 046: franchise seed supersedeCollections reads the curated timelines once (10 s one-tick block at the end of boot)mre
  • ac6268e3mission 046a: re-vendor Hybriel 528bc89f (integration 6): plugins mpackdb/time/web (bin/ git-ignored)mre