PM-1 JWT (filter/JwtProvider.java): the SecretKey and JwtParser are built once in volatile fields by an idempotent ensureInit(), and reused for warm-up, signing and verification. The 601/602 error mapping is unchanged.
PM-2 Permissions (service/impl/PermissionServiceImpl.java): the permission_enforcement_enabled flag is cached for 15 s in a 1-entry Guava cache. If loading fails, it falls back to a direct lookup. Per-check logs are now DEBUG; DENY logs stay at INFO. invalidateEnforcementCache() is public for two controller permission tests in another package.
GET /video-stream/list is served from a 30 s cache keyed by the HLS flag value.
The cache is invalidated after commit wherever the public feed can change: the admin status, priority, hidden, delete and HLS toggles; a new row from Drive download or force sync; updateDesc; HLS READY in and out (markHlsReady, markHlsOutputMissing, requeueHls).
New partial index idx_video_sources_feed (202610240002-video-sources-feed-index.sql).
PM-4 Hikari (application.yaml): maximum-pool-size ${DB_POOL_SIZE:10}, connection-timeout ${DB_CONNECTION_TIMEOUT_MS:5000}, checked for the default, dev and prod profiles.
PM-5 Comments: deleting a comment uses existsByParentId instead of loading every reply. The old findByParentId is removed.
PM-6 Watch history:
IncognitoCache holds each user's incognito flag for 60 s and is evicted after commit on every user_settings write and account delete.
upsertWatched returns RETURNING (xmax = 0), so trimToCap runs only when a new history row is inserted.
PM-7 Logs: the per-request and per-chunk Range-path logs are now DEBUG.
PM-6 query not run against PostgreSQL in tests.RETURNING (xmax = 0) is checked by annotation reflection only. A smoke test after deploy is needed (see Manual checks).
Incognito lag. After-commit eviction can be undone by a reader that loaded the old value just before the commit, so an incognito change can take up to 60 s to apply (privacy). Accepted: a shorter TTL would defeat the cache, because progress pings come every 30 s.
PermissionServiceImpl.invalidateEnforcementCache() is public only for tests. Keep it, and document it as test-only.
FeedCache shares VideoDto instances across requests. Callers must treat them as read-only.
Size. The non-test diff is 268 LOC against an estimate of about 140: three cache classes plus their wiring, and the ExecutionException unwrapping is duplicated in two caches. There is no dead code.