feat: Dayparting PR 1/5 — foundation (db/35, Show entity + /api/shows, resolver chokepoint, air-time stamp) - #455
Merged
Merged
Conversation
…acts + 23 jest todos, all skipped/todo pending T238–T261
…rovenance + dormant bundle cols, booth_log.show_id, library.media.show_id) w/ fresh-init mirrors + snapshot-proven convergence specs
…, 60/120/400 budgets at the seam, provenance, 23503→Referenced store-side) + 32 live-PG facts
…ming delete guard w/ best-effort imaging unscope, F115.5 write gate, IShowImagingScope seam; SEAMS 79; Kestrel-smoked
…heduleSegment carry ShowSummary (Abstractions, source-compatible defaults); schedule load LEFT JOINs show identity, dormant columns structurally unread
…ActiveShowId DIM, one chokepoint for music+kinded) + F121.2 gate halves in demo_hour_gate.sql; IBoothLogAppender parameter object (T220 carry-forward)
Merged
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📛 Dayparting epic — PR 1 of 5 (SPEC F115–F121 · PLAN T238–T242)
Zero audible change — the foundation every later PR stands on:
35-show-identity-migration.sh+ db/06 + 01-library fresh-init mirrors):station.showwidens — slug (uniqueshow_slug_key), tagline, flavor (prompt-only, never public), provenance, and the dormantpersona_id/envelopebundle columns (ruled 2026-08-10 — unread until the schedulable-bundle slice; layering rule recorded: block ?? show ?? none, block wins). Plusbooth_log.show_id+library.media.show_id(both deliberately no-FK — F121.1 history / db/22 grant boundary)./api/shows(T239/T240): budgets 60/120/400 at the seam, house Slugify (FallbackSlugpromoted), 23503→Referencedmapped store-side (T120 ruling), delete guard 409 naming referencing blocks, best-effort imaging unscope (post-commit,CancellationToken.None, logged), F115.5 write gate (authored save never erases imported provenance) + gh-save-as-own provenance guard is read-then-write (TOCTOU) — make it a conditional upsert #394 note. NewIShowImagingScopeseam — SEAMS.md 77→79 (generated).EffectiveAssignmentchokepoint (T241): ONE identity function inScheduleResolver;OnAirSnapshot/ScheduleSegmentgainShowSummary(Abstractions — source-compatible trailing defaults per the MediaItem/SegmentRequest precedent); schedule load LEFT JOINs exactly 4 show columns (the dormant pin is structural —ShowSummaryhas no member to receive them).show_idstamp (T242): publish-time capture (the T60 discipline, backlog-proven) via anActiveShowIdDIM onIActivePersonaAccessor; one chokepoint stamps music + kinded alike;tools/demo_hour_gate.sqlgains the F121.2 halves (recurring-show false-pass closed vialag()bounding;coalescefalse — both probe-proven red/green). Rider:IBoothLogAppender8-positional-param →BoothLogAppendRequest(the recorded T220 carry-forward).✅ Gates
Every task opus-review-gated (T238 ×4 rounds, T239 ×2, T240 ×2, T241 ×2, T242 ×2 — every catch mutation- or probe-proven). Suites: solution non-Integration green 0 failed, MediaLibrary Integration 647/0, Architecture laws 95/95,
check-seam-index.shgreen,-warnaserror0/0. Kestrel-smoked: login → create → 409-naming-blocks (real FK) → delete, plus the JOIN'd schedule load, all through the production binary against live Postgres.Stack: PR 2 (authoring surfaces) → PR 3 (on-air + spectator) → PR 4 (catalog) → PR 5 (specials, droppable) follow on this base.