MOMENT Studio
← Back

Centralizing Content Visibility Logic

2026.05.30Technical Log#content#rust-core#playback

Visibility rules for moments and insts — previously handled independently across recommendation and discovery surfaces — have been consolidated into a shared core, ensuring consistent evaluation across all entry points.

The same content was being evaluated against different criteria depending on which surface rendered it. Visibility conditions for moments in the recommendation layer differed from those applied in discovery, and eligibility logic for insts varied subtly across contexts. When each surface handles its own visibility decisions, inconsistencies grow in proportion to the number of entry points.

To address this, visibility logic was extracted from the presentation layer and moved into a shared core. Moments and insts, recommendation and discovery, now share a single evaluation path — the same content receives the same treatment regardless of how it is accessed. Display conditions and eligibility are determined at one location; iOS surfaces are responsible only for rendering the output.

The same principle was applied to the playback layer. Timing misalignments between reel transitions, video looping, audio session management, track loading, and effect initialization were resolved so that audio and visual state remain consistent across screen transitions. The objective was to ensure that every content entry point delivers the same predictable behavior.