Files
ersatztv/docs/decisions/records/api
timothy ef62a6d9bd docs(690,758): un-stale the record after the MediaCards commit
Codex round 2 found the code and tests sound and two defects in the record —
both staleness the previous commit introduced by changing the rule without
re-reading the whole record. That is the failure mode this repo already has on
file as "sweep by subject, not verb": I edited the rule text and left two other
places asserting the superseded version.

- The `signals:` line still carried "an unfiltered paged handler is not an
  instance", which now contradicts the rule: GetPagedFillerPresets and
  GetPagedTraktLists were changed to take the shape precisely so the first
  filter added cannot leave their counts behind. A later shape audit following
  the stale signal would exclude exactly the handlers the change included.
- The no-detector paragraph still cited GetPagedFillerPresets as "counts a
  DbSet and is correct" — it counts the shared query now. Replaced with two
  real false positives (GetPlayoutWarningsCount, DeleteFFmpegProfileHandler's
  usage check, both verified filtered-count-with-no-page) and the observation
  that a same-file detector cannot see the MediaCards sites at all.

Also scoped the include-chain gap the same way the Channel != null clause is
scoped, rather than leaving it reading as a live open defect: Season.ShowId is
non-nullable with DeleteBehavior.Cascade and production enforces the FK, so
count 1 / page 0 is corruption-only. It is stated because it makes "count the
table the page reads" necessary and not sufficient in general, not because
something reachable is being left unfixed.
2026-08-26 08:48:35 +02:00
..