docs: advance ChicoryTV queue past #144/#162 (scheduling parity DONE, PRs #170-#175/#179); next = #145/#141 leftovers
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -5,7 +5,7 @@ Custom IPTV channel server for Jellyfin. Forked from [ErsatzTV/ErsatzTV](https:/
|
||||
## Architecture
|
||||
|
||||
- **Language**: C# / .NET 10
|
||||
- **UI**: ChicoryTV React SPA (`web/`, Vite, served at `/app`) over the REST API — the default UI; root `/` and migrated legacy routes 302 there (`ErsatzTV/LegacyUiRedirects.cs`). The legacy Blazor Server UI (MudBlazor) still serves un-migrated admin screens (blocks/decos/templates + playout editors, media detail pages + image browser, block-playout/playback troubleshooting + YAML validator, multi/rerun collections + playlists; Blazor home = `/system/health`, reachable via the Settings → System "Classic UI" link); its removal is #91 phase (b), gated on parity #144 + #141/#145 leftovers and API gaps #151–#153/#155/#158/#161/#162
|
||||
- **UI**: ChicoryTV React SPA (`web/`, Vite, served at `/app`) over the REST API — the default UI; root `/` and migrated legacy routes 302 there (`ErsatzTV/LegacyUiRedirects.cs`). The legacy Blazor Server UI (MudBlazor) still serves un-migrated admin screens (media detail pages + image browser, block-playout/playback troubleshooting + YAML validator, multi/rerun collections + playlists; Blazor home = `/system/health`, reachable via the Settings → System "Classic UI" link); its removal is #91 phase (b), gated on #141/#145 leftovers and API gaps #151–#153/#155/#158/#161 (scheduling parity #144/#162 DONE 2026-07-07: blocks/templates/decos/deco-templates/playout editors all in the SPA)
|
||||
- **Pattern**: CQRS via MediatR — queries/commands in `ErsatzTV.Application/`
|
||||
- **Database**: EF Core (SQLite default, MySQL optional) — context in `ErsatzTV.Infrastructure/Data/TvContext.cs`
|
||||
- **Media**: FFmpeg via CliWrap, SkiaSharp for logo generation
|
||||
|
||||
@@ -3,94 +3,100 @@
|
||||
Paste the prompt below into a fresh session to work the next item. Each session ends by
|
||||
UPDATING THIS FILE in place (rewrite the state section and the queue for the next item) so it
|
||||
always holds the current handoff. History: created 2026-07-02 after the plan audit (#59 epic);
|
||||
all backend gap issues (#100–#111), all SPA screens (#84–#89, #93, #109), the rebrand (#90)
|
||||
and the cutover root-flip (#91 phase a) are MERGED. v26.5.0 tagged + DEPLOYED to prod
|
||||
2026-07-07. Blazor removal (#91 phase b) is blocked on parity; #140/#142/#143/#146/#147
|
||||
CLOSED. Remaining parity: #144 (all of it), #145 + #141 leftovers. Gap issues #151–#153/#155
|
||||
(collections/playlists APIs) + #158 items 4–5 + #161 items 3+5 + #162 also gate phase (b).
|
||||
all backend gap issues (#100–#111), all SPA screens (#84–#89, #93, #109), the rebrand (#90),
|
||||
the cutover root-flip (#91 phase a), parity pass 2 (#140/#142/#143/#146/#147, PRs #165–#169),
|
||||
and the FULL scheduling parity #144/#162 (PRs #170/#171/#173/#174/#175/#179) are MERGED.
|
||||
v26.5.0 tagged + DEPLOYED to prod 2026-07-07. Blazor removal (#91 phase b) is now gated ONLY
|
||||
on: #145 leftovers, #141 leftovers, and gap issues #151–#153/#155 (collections/playlists
|
||||
CRUD APIs) + #158 items 4–5 + #161 items 3+5.
|
||||
|
||||
**Session state (2026-07-07, parity pass 2)**: main = 3c37ec5f, post-merge CI green through
|
||||
PR #169 (#168's post-merge run pending at handoff time — verify). This session merged FIVE PRs:
|
||||
- #145 partial → PR #165: SPA Logs (`/app/logs`, paged+filter over new `GET /api/logs`) +
|
||||
Troubleshooting (`/app/troubleshooting`, `GET /api/troubleshoot/info`); playback endpoints
|
||||
now in the OpenAPI spec; new "System" nav group. #145 stays OPEN (leftovers below).
|
||||
- #143 + #159 CLOSED → PR #166: FFmpeg Profiles / Filler Presets / Watermarks editor screens;
|
||||
filler+watermark full CRUD, FFmpeg response DTO round-trip complete, hwaccel-kinds lookup;
|
||||
404-vs-422 fix in Update/Delete handlers (NotFoundError lost through `Validation`
|
||||
aggregation — use Option.Match precedent); WatermarkLocation/Size string-enum spec fix.
|
||||
- #142 + #160 CLOSED → PR #167: Trakt Lists screen + TraktController (202 + background
|
||||
worker channel + IEntityLocker, `GET /api/trakt/status` for polling; lock released on
|
||||
failed enqueue — review find). No OAuth: public lists via TRAKT__CLIENTID.
|
||||
- #141 core → PR #168: `/app/media` (browse ALL 10 media kinds — LibraryBrowseMediaType
|
||||
extended, hydrators + Subtitle field), `/app/search` (new grouped `GET /api/search`,
|
||||
TopBar wired), `/app/trash` (new `DELETE /api/media-items` + existing empty_trash).
|
||||
Review fixes: ChannelBuilder library picker + Collections add-items dialog fan out
|
||||
per-kind (unscoped browse now mixes all kinds). #141 + #161 stay OPEN (leftovers below).
|
||||
- #157 CLOSED → PR #169: Libraries scan-polling tests made deterministic (root cause:
|
||||
captured-interval array empty when ticked — passive-effect registration raced `findBy*`;
|
||||
fix: `runPollTick` helper — act-flush, assert handlers captured, tick inside act).
|
||||
- Gap issues FILED from recon: #158 (logs/troubleshoot API — items 1–3 DONE in #165),
|
||||
#159/#160 (CLOSED with #166/#167), #161 (media API — items 1/2/4 DONE in #168), #162
|
||||
(scheduling REST surface, 6 slices S1–S6 — untouched). Backlog (non-blocking): #163
|
||||
(playout-build golden tests), #164 (health checks UX audit + guided remediation).
|
||||
- All PRs: adversarial fork review + should-fixes applied + CI green before merge; all
|
||||
screens live-E2E'd. Main flaked twice on #157 (empty-commit retriggers) before PR #169
|
||||
fixed it. Worktrees feat-145/143/142/141 + fix-157 removed; parity-recon may remain.
|
||||
**Session state (2026-07-07 evening, #144 finale)**: main = c480fbe8, all pre+post-merge CI
|
||||
green through PR #179. This session merged SIX PRs — the entire #162 slice plan — closing
|
||||
#144 and #162:
|
||||
- S5 → PR #170: POST /api/playouts all 5 kinds (scheduleKind discriminator) + PUT
|
||||
/api/playouts/{id} (dailyRebuildTime null-clears, scheduleFile file-kinds-only);
|
||||
AddPlayoutDialog + EditPlayoutDetailsDialog (App.tsx inline). Add Playout button fixed.
|
||||
- S1 → PR #171: BlockController (groups/blocks CRUD, GET items, PUT full-replace with
|
||||
index-from-array-order, POST preview non-persisting) + GET /api/search/{collections,
|
||||
television-shows,television-seasons,smart-collections} pickers + /app/blocks list+editor.
|
||||
- S2 → PR #173: TemplateController (+?templateGroupId= filter) + POST .../copy for BOTH
|
||||
templates and blocks + /app/templates (table editor, not Blazor's drag calendar —
|
||||
accepted deviation; client-side overlap+midnight warnings mirror the server).
|
||||
- S3 → PR #174: DecoController (6-section 22-field PUT; Merge-mode request validation) +
|
||||
PUT /api/playouts/{id}/deco + GET-only PlaylistController (/api/playlists/groups,
|
||||
/api/playlists?playlistGroupId=) + GET /api/search/{artists,multi-collections} +
|
||||
/app/decos. Legacy Artist/MultiCollection break-content renders read-only, round-trips.
|
||||
- S4 → PR #175: DecoTemplateController + /app/deco-templates (start + duration editor,
|
||||
endTime 00:00:00 = end-of-day, displays 24:00). No copy exists upstream — not a gap.
|
||||
- S6 → PR #179: GET/PUT /api/playouts/{id}/alternate-schedules (Classic-only) +
|
||||
/api/playouts/{id}/templates (Block-only); index from array order, LAST alt-schedule row
|
||||
= catch-all default (writes playout.ProgramScheduleId; SPA badges it + disables its
|
||||
recurrence controls); PlayoutResponseModel gained decoId/decoName; default-deco select
|
||||
on Block playout cards; playouts route now allowSubPaths via PlayoutsRouteScreen.
|
||||
- Upstream Application-handler bugs fixed at the root along the way (all surfaced by the
|
||||
new API, all 422-now-not-500): missing group-existence checks in Create{Block,Template,
|
||||
Deco,DecoTemplate}Handler; ReplaceTemplateItems KeyNotFoundException on unknown blockId;
|
||||
midnight-crossing template items accepted-then-silently-dropped; ReplaceDecoTemplateItems
|
||||
silent-drop/no-overlap-check; UpdateDecoHandler dropped MediaItemId on break-content
|
||||
writes (silent corruption); alternate-schedules empty-list Max() throw; out-of-day-range
|
||||
TimeSpans/dates persisted raw then crashed the selector/builder.
|
||||
- Issues: #144 CLOSED, #162 CLOSED. Filed: #172 (API hardening nits consolidated), #176
|
||||
(PseudoTV-style channel-first creation rethink — user vision, post-phase-(b)), #177
|
||||
(Jellyfin music-video Album/Track metadata gap), #178 (far-future Jellyfin plugin idea).
|
||||
- Tests: ErsatzTV.Tests 621→786, Core.Tests 493 (stable), web 218→301. All slices:
|
||||
adversarial fork review + live browser E2E + should-fixes applied before merge.
|
||||
- Worktrees all removed except .worktrees/docs-wrapup (this doc commit; remove after).
|
||||
|
||||
**Lessons for all remaining prompts** (accumulated; pruned of fixed items):
|
||||
**Lessons for all remaining prompts** (accumulated; pruned):
|
||||
- The main checkout (/Users/timothy/ersatztv) sits on the STALE docs/59-ui-redesign-brief
|
||||
branch. NEVER recon/edit there — point subagents at a worktree pinned to origin/main.
|
||||
- PARALLEL PARITY BRANCHES ALL CONFLICT on web/src/App.tsx (ScreenId/routes/nav),
|
||||
SettingsScreen Classic-UI help text, v1.json/v1.d.ts, and the security/contract test
|
||||
lists. Routine: implement off a main snapshot → merge origin/main into the branch before
|
||||
PR → resolve as UNION (one System nav group; help text lists only still-Blazor screens)
|
||||
→ v1.json/v1.d.ts: take either side then REGENERATE (authoritative) → full test pass.
|
||||
- Gitea 1.24 has no rerun-run API; retrigger CI with an empty commit.
|
||||
- Live E2E via `dotnet run`: content root resolves to bin/Debug/net10.0 — copy wwwroot in
|
||||
(and clean up) if the SPA 404s. Scratch ETV_CONFIG_FOLDER; curl `localhost` NOT 127.0.0.1;
|
||||
wait for "Done migrating search index". Without an API key configured, mutating /api
|
||||
verbs are open (ApiKeyAuthorizationFilter) — E2E can POST/PUT/DELETE.
|
||||
- GET /api/library/browse now serves ALL 10 media kinds; `mediaType`-less calls mix kinds —
|
||||
pickers must pass mediaType or fan out per-kind (ChannelBuilder `loadLibraryItems` /
|
||||
CollectionsScreen `runSearch` are the precedents). Browse `id` == `mediaItemId` for media
|
||||
kinds. GET /api/search returns a stable 10-group shape; `state:FileNotFound` = trash.
|
||||
- Background-work API pattern (Trakt precedent, reuse for scans etc.): validate sync (422)
|
||||
→ IEntityLocker lock (409 if held) → enqueue to ChannelWriter<IBackgroundServiceRequest>
|
||||
inside try/catch that UNLOCKS on failure → 202; plus a GET status endpoint wrapping the
|
||||
lock for SPA polling (poll only while busy, refresh on busy→idle).
|
||||
- Update/Delete handlers that feed NotFoundError through LanguageExt `Validation` lose the
|
||||
subtype (422 instead of 404) — use the Option.Match precedent (NotFoundError as direct
|
||||
Either Left). Watch for enums living in ErsatzTV.FFmpeg documented as ints — register as
|
||||
OpenAPI string enums in Startup.cs (WatermarkLocation/Size precedent).
|
||||
- Request DTOs (Controllers/Api/Requests) historically lack `#nullable enable` → their
|
||||
strings typegen as `string | null`; SPA handles with `?? ''`. New RESPONSE DTOs in
|
||||
ErsatzTV.Core/Api MUST get file-scoped `#nullable enable`. ErsatzTV.Application has NO
|
||||
nullable context (CS8632).
|
||||
- SPA polling tests: capture-interval mocks MUST act-flush effects then assert handlers
|
||||
were captured before ticking (`runPollTick` in App.test.tsx) — silent no-op ticks were
|
||||
the #157 flake. Fetch races: seqRef per-request counter (LogsScreen precedent).
|
||||
- NSubstitute + ConfigElementKey: stub with `Arg.Any<ConfigElementKey>()` + generic `<T>`.
|
||||
- `Option<T>.ToNullable()` doesn't exist; use `MatchUnsafe(v => (T?)v, () => null)`.
|
||||
- ./scripts/update-openapi.sh needs a prior normal `dotnet build ErsatzTV/ErsatzTV.csproj`.
|
||||
- Id-taking GETs 404 on unknown id via pre-check + ApiResults + an
|
||||
OpenApiErrorResponseContractTests [TestCase] entry. New controllers with mutating verbs
|
||||
go into ApiControllerSecurityTests' array.
|
||||
- SPA screen pattern for sub-path routes: allowSubPaths + screen parses pathname + popstate
|
||||
+ keyed render branch. New screens in web/src/screens/; API clients in web/src/api/ with
|
||||
URL-assert tests.
|
||||
- Backlog nits: GET /api/search dispatches its 10 per-kind queries SERIALLY (Task.WhenAll
|
||||
safe — per-dispatch DbContext); ADDABLE_TYPES could grow beyond 4 kinds now browse serves
|
||||
them (Blazor allowed adding seasons/episodes to collections); Trakt matched-items link
|
||||
still points at classic /search — swap to /app/search now it exists; MediaBrowse/Search
|
||||
`key={location.search}` remount staleness (replaceState, no popstate) is fragile-but-OK;
|
||||
`/api/logs` + `/api/troubleshoot/info` unauthenticated GETs — list for API auth hardening;
|
||||
artwork content-type trusted (#66); GET /api/guide 21-include eager-load per request;
|
||||
languages-list endpoint still unimplemented; VAAPI display/device lists have no lookup
|
||||
endpoint (free-text in SPA); FFmpeg profile "Copy" is a client-side clone.
|
||||
- IMPLEMENTER AGENTS MUST RUN `npm run lint` before finishing — CI lint failed once (S5)
|
||||
on react-hooks set-state-in-effect. Rule of thumb: NO synchronous setState inside
|
||||
useEffect; derive state or set only in promise callbacks (useChannelsQuery precedent).
|
||||
- SPA sub-path screens MUST own their pathname state + popstate listener (BlocksScreen /
|
||||
PlayoutsRouteScreen pattern). App-level routeFromLocation returns the SAME route object
|
||||
for /app/x and /app/x/{id} (allowSubPaths prefix match), so setActiveRoute bails via
|
||||
Object.is and nothing re-renders — navigateToPath's synthetic popstate is NOT enough.
|
||||
- Live E2E: copy ErsatzTV/wwwroot INCLUDING app/ into bin/Debug/net10.0/wwwroot AND
|
||||
RESTART (static middleware won't see wwwroot appearing post-startup). UI port 8410, API
|
||||
8409. Scratch ETV_CONFIG_FOLDER; curl localhost; wait "Done migrating search index";
|
||||
mutating verbs open without API key. Playwright MCP can only write screenshots into the
|
||||
ROOT checkout (.playwright-mcp) — tolerated exception. Creating a Classic playout via
|
||||
API needs channel enums: ChannelPlayoutSource=Generated, ChannelPlayoutMode=Continuous,
|
||||
ChannelSongVideoMode=Default, ChannelTranscodeMode=OnDemand,
|
||||
ChannelIdleBehavior=StopOnDisconnect.
|
||||
- WRAPPING CQRS HANDLERS IN REST: check for these latent bug classes and fix at the
|
||||
handler (established convention, ~8 fixes merged): missing FK existence checks (FK
|
||||
violation → unhandled 500), dictionary-indexer lookups (KeyNotFoundException → 500),
|
||||
silent item filtering at persist/read time (reject with 422 instead), unbounded
|
||||
TimeSpan/month/day ints that crash consumers later. Deep FK ids (collection/media refs
|
||||
in items) are deliberately NOT existence-checked (matches schedules precedent) — #172.
|
||||
- DayOfWeek serializes as day-name STRINGS (StringEnumConverter) though OpenAPI says
|
||||
integer — TS client overrides both directions (playouts.ts WithDayNames precedent).
|
||||
- PUT-replace list endpoints: index from array order (ReplaceScheduleItemsRequest
|
||||
precedent). Alternate schedules: LAST row = catch-all default (selector is
|
||||
OrderBy(Index) first-match-wins; handler writes Max(Index) row's scheduleId to the
|
||||
playout). GET /api/blocks and /api/templates synthesize negative-id "(none)" rows per
|
||||
empty group — SPA pickers/lists must filter id > 0 (#172 wants them gone at the API).
|
||||
- PARALLEL/STACKED PARITY BRANCHES CONFLICT on web/src/App.tsx, v1.json/v1.d.ts, and the
|
||||
security/contract test lists. Routine: stack the next slice on the previous branch, and
|
||||
merge origin/main into the branch before PR → union resolve → REGENERATE v1.json +
|
||||
v1.d.ts (authoritative) → full test pass. Stacked merges were conflict-free all session.
|
||||
- Gitea 1.24 has no rerun-run API; retrigger CI with an empty commit. Poll CI by commit:
|
||||
/api/v1/repos/timothy/ersatztv/commits/{sha}/status.
|
||||
- ./scripts/update-openapi.sh needs a prior normal dotnet build; web typegen = npm run
|
||||
generate:api. Request DTOs (Controllers/Api/Requests) have no #nullable; response DTOs
|
||||
in ErsatzTV.Core/Api MUST get file-scoped #nullable enable. ErsatzTV.Application has NO
|
||||
nullable context (CS8632). NSubstitute+ConfigElementKey: Arg.Any + generic. LanguageExt:
|
||||
MatchUnsafe for Option→nullable; foreach(x in either.LeftToSeq()) for error extraction.
|
||||
- Known dead UI nit (multiple screens): the header primaryAction "New Group" button isn't
|
||||
wired on Blocks/Decos-style screens (screen-local buttons work) — fold into a sweep.
|
||||
- Backlog nits live in #172 (hardening) + #163/#164 (goldens, health UX). Trakt
|
||||
matched-items link → /app/search swap and GET /api/search parallelization still open.
|
||||
|
||||
---
|
||||
|
||||
# PROMPT — Parity finale: #144 scheduling editors (S1–S6), then #145/#141 leftovers → #91 phase (b) readiness
|
||||
# PROMPT — Parity endgame: #145 leftovers (block-playout history, YAML validator), #141 leftovers (media detail pages, image browser) → #91 phase (b) readiness
|
||||
|
||||
You are Fable, the ORCHESTRATOR in the main Claude Code session (Claude Code only). Fable is
|
||||
EXPENSIVE: delegate (recon → Explore/haiku; mechanical/reconciles → sonnet; judgment-heavy
|
||||
@@ -98,61 +104,58 @@ code → opus; fable forks for review). Read CLAUDE.md + the Lessons above first
|
||||
|
||||
HARD CONSTRAINTS:
|
||||
- Work in worktrees off origin/main; NEVER touch /Users/timothy/ersatztv (stale branch).
|
||||
`cd web && npm ci` in any NEW worktree.
|
||||
`cd web && npm ci` in any NEW worktree (or copy node_modules from a sibling worktree).
|
||||
- Max 2–3 concurrent builds; ONE dotnet build at a time. NEVER set ETV_UPDATE_GOLDENS.
|
||||
- Merge consent in-conversation per PR (user may pre-approve). CI reruns = empty commit.
|
||||
- Live-E2E new screens (Lessons: localhost, scratch config, wwwroot→bin copy).
|
||||
- Merge consent in-conversation per PR (user may pre-approve the session). CI reruns =
|
||||
empty commit.
|
||||
- Live-E2E new screens (Lessons above: wwwroot+app copy + restart, ports, enums).
|
||||
- Adversarial review fork over each PR diff before merge; apply should-fixes.
|
||||
- Merge origin/main into every branch before its PR (Lessons: the App.tsx/v1.json union
|
||||
routine) — sessions now run stacked parallel branches and they ALL conflict there.
|
||||
- Implementers must run `npm run lint`; sub-path screens own pathname state (Lessons).
|
||||
|
||||
## Known facts (2026-07-07, from #162 recon — re-verify cheaply, don't re-recon)
|
||||
- #144 = the LAST whole parity issue. Zero REST endpoints exist for scheduling editors, but
|
||||
the full CQRS layer exists (ErsatzTV.Application/Scheduling/ + Playouts/Commands/) — API
|
||||
work is thin wrappers mirroring ScheduleController + Requests/. Ordering = item Index in
|
||||
bulk Replace*Items (no move/reorder commands — parity-faithful). Slices from #162:
|
||||
S1 blocks CRUD+items+preview [L] → S2 templates [M, needs S1] → S3 decos [XL form, ~28
|
||||
fields] → S4 deco-templates [M, needs S3] → S5 playout create ALL kinds + detail update
|
||||
endpoints (fixes the disabled Add Playout button; UpdateDefaultDeco needs S3 for its
|
||||
picker) [M] → S6 alternate-schedules + playout-templates editors [L, needs S2+S4].
|
||||
RECOMMENDED START: S5 first (small, self-contained, user-visible Add-Playout fix; classic
|
||||
kind needs only existing schedules API; block/sequential/scripted/externaljson create =
|
||||
channel + ScheduleFile path), then S1→S2, S3→S4, S6. One PR per slice or per pair — do
|
||||
NOT attempt all six in one PR.
|
||||
- #145 leftovers (issue open): block-playout troubleshooting + history screens (#158 item 4
|
||||
endpoints: GetAllBlockPlayouts/GetAllBlocksForPlayout/GetBlockPlayoutHistory/
|
||||
DecodePlayoutHistory) [M]; sequential-schedule YAML validator (#158 item 5: POST body,
|
||||
not server path) [S-M]; playback-troubleshooting screen (endpoints live + in spec; needs
|
||||
HLS player + a session-log retrieval design) [L — consider its own session].
|
||||
## Known facts (2026-07-07 — re-verify cheaply)
|
||||
- main = c480fbe8 (post-#179): ALL scheduling editors are in the SPA. Remaining Blazor-only
|
||||
surface (phase (b) gates): #145 leftovers + #141 leftovers + #151–#153/#155.
|
||||
- #145 leftovers (issue open): block-playout history screens (#158 item 4 endpoints:
|
||||
GetAllBlockPlayouts/GetAllBlocksForPlayout/GetBlockPlayoutHistory/DecodePlayoutHistory)
|
||||
[M]; sequential-schedule YAML validator (#158 item 5: POST body, not server path) [S-M];
|
||||
playback-troubleshooting screen (endpoints live + in spec; needs HLS player + session-log
|
||||
retrieval design) [L — own session, LAST].
|
||||
- #141 leftovers (issue open): detail endpoints+pages for movie/show/season/artist +
|
||||
GetMediaItemInfo (#161 item 3) [M-L]; image folder browser (#161 item 5) [S-M].
|
||||
- Quick wins interleavable anytime: parallelize GET /api/search (Task.WhenAll); swap Trakt
|
||||
matched-items link to /app/search.
|
||||
- #151–#153/#155 (collections/playlists CRUD APIs) are NOT in this prompt's scope unless
|
||||
everything above lands with capacity to spare — but S3 already shipped playlist LIST
|
||||
endpoints (PlaylistController) + artist/multi-collection search, which those issues can
|
||||
build on.
|
||||
- Quick wins interleavable: Trakt matched-items link → /app/search; parallelize
|
||||
GET /api/search (Task.WhenAll); dead header "New Group" primaryAction sweep.
|
||||
|
||||
## Task
|
||||
1. Verify main green (post-#168 run if still pending at session start).
|
||||
2. #144 slice-by-slice per the recommended order: worktree per slice/pair, opus for S1/S3/S6
|
||||
+ sonnet for S2/S4/S5 screens, tests + live E2E, merge main in, PR, fork review, CI,
|
||||
consent, merge. Comment progress on #144/#162 per slice.
|
||||
3. If session capacity remains: #145 leftovers (block-playout history first), then #141
|
||||
detail pages.
|
||||
4. When #144+#145+#141 fully close: run the #91 phase (b) READINESS CHECK — enumerate
|
||||
remaining Blazor-only routes (grep @page in ErsatzTV/Pages minus migrated), reconcile
|
||||
against open gaps (#151–#153/#155, #158, #161), and either declare ready (file the
|
||||
removal plan on #91) or file what's missing.
|
||||
5. Update THIS handoff (state, lessons, next prompt), commit to main, print next prompt in
|
||||
1. Verify main green (post-#179 run).
|
||||
2. #145 leftovers: block-playout history [M] first (worktree, recon the 4 CQRS queries +
|
||||
Blazor history pages, thin wrappers + SPA screen), then YAML validator [S-M] (same or
|
||||
second PR). Tests + live E2E, merge main in, PR, fork review, CI, consent, merge.
|
||||
Comment on #145/#158 per landing; close #158 when items 4–5 done (1–3 landed in #165).
|
||||
3. #141 leftovers: media detail endpoints+pages [M-L], then image folder browser [S-M].
|
||||
Same routine; close #141/#161 when done.
|
||||
4. If #145's playback-troubleshooting is all that remains, leave it for its own session
|
||||
(update #145 accordingly) — do NOT start it late in a session.
|
||||
5. READINESS CHECK once #141 closes and #145 is troubleshooting-only: enumerate remaining
|
||||
Blazor-only routes (grep @page in ErsatzTV/Pages minus migrated), reconcile against
|
||||
#151–#153/#155 + troubleshooting, and file the phase (b) removal plan on #91 (or file
|
||||
what's missing).
|
||||
6. Update THIS handoff (state, lessons, next prompt), commit to main, print next prompt in
|
||||
a fenced block.
|
||||
|
||||
---
|
||||
|
||||
## Issue queue (work top-down)
|
||||
1. #144 S5 playout create/detail-update (Add-Playout fix) ← PROMPT above
|
||||
2. #144 S1 blocks → S2 templates
|
||||
3. #144 S3 decos → S4 deco-templates
|
||||
4. #144 S6 alternate-schedules + playout-templates
|
||||
5. #145 leftovers: block-playout history [M] → YAML validator [S-M] → playback
|
||||
troubleshooting [L, own session]
|
||||
6. #141 leftovers: detail endpoints+pages [M-L] → image folder browser [S-M]
|
||||
7. #91 phase (b) readiness check (also gated on #151–#153/#155)
|
||||
Backlog (non-blocking): #163 playout goldens, #164 health UX, #66 artwork sniffing, search
|
||||
parallelization, Trakt link swap, API auth hardening list.
|
||||
1. #145 block-playout history screens [M] ← PROMPT above
|
||||
2. #145 sequential-YAML validator [S-M]
|
||||
3. #141 media detail endpoints+pages [M-L]
|
||||
4. #141 image folder browser [S-M]
|
||||
5. #91 phase (b) readiness check + removal plan (gated also on #151–#153/#155)
|
||||
6. #145 playback troubleshooting [L, own session]
|
||||
7. #151–#153/#155 collections/playlists CRUD APIs (S3's PlaylistController is the seed)
|
||||
Backlog (non-blocking): #172 API hardening, #163 playout goldens, #164 health UX, #176
|
||||
PseudoTV-style creation rethink (post-phase-(b)), #177 Jellyfin music-video Album/Track,
|
||||
#178 Jellyfin plugin idea, #66 artwork sniffing, search parallelization, Trakt link swap.
|
||||
|
||||
Reference in New Issue
Block a user