Repository navigation
Conversation
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Mainline consolidation status (2026-11-09)
This documentation-only exploration was selectively imported through PR #279 and is now on
mainin mergead61da3932bc4ed6f9b45ac2f0f93c4eb384cd62. This PR is closed to prevent duplicate integration. This administrative close does not approve Podcasts as a product feature or authorize product/runtime implementation. Preserve this branch for provenance.Purpose
Deep exploratory handoff for a future Podcasts category on the Expo migration branch, focused first on Japanese native-immersion audio and local MOSS ASR.
This PR is intentionally documentation-only. It changes no production code, configuration, dependencies, tests, generated assets, or backend behavior.
Stacked on the ongoing Expo migration (#257) and targeted to
feat/expo-android-web-migration, notmain.Current architectural conclusions
The spec now reflects the actual media/Expo code rather than a generic podcast-player design:
ByteSource+ Mediabunnyidentify()would otherwise hash remote media in 1 MiB reads, so a generic network source profile is a prerequisiteTrackpublicationContentKeyhashing is optional until an existing portable/export/sync path actually needs itShowKey/EpisodeKey, activeRenditionSession, transcript timeline and exact byteContentKeyare separate identitiesEpisodeKey, not ContentKeyTrack.origin,Playback, media search andvideo_*sync contracts must not be silently overloadedexpo-audio,fast-xml-parser, DOMPurify and Mediabunny are already installed and should be qualified before new dependenciesProvider/CORS refinement
The provider matrix now distinguishes evidence quality. Observing
Access-Control-Allow-Originin a packet/network capture is not treated as equivalent to proving Manabi-origin JavaScript can read the body.Evidence order:
fetch()body evidenceCurrent working provider picture:
Redirect/CORS details now captured
The spec now explicitly covers:
If-Range/ ETag conditional request headers in v1redirect: manualcannot reveal a cross-origin Location to scriptnullVary: Originmatters when ACAO is conditional; otherwise a cached no-CORS media response can poison a later CORS fetchcredentials: includeis not used to stabilize ads; v1 does not depend on third-party cookiesSession versus reopen stability
Dynamic ads no longer cause an overly broad exclusion.
The qualification model now distinguishes:
For session-only sources, old text may remain useful after reopen, but old timestamps cannot silently drive new audio.
This is especially relevant for RedCircle's documented listener-specific dynamic insertion and Spotify's off-platform targeted ads.
Playback ↔ ASR coherence
A further dynamic-host issue is now explicit: the media element and JS
fetch()have different request metadata/modes, so a host could hand playback and MOSS different ad renditions even when all MOSS ranges agree with each other.The Phase-0 harness therefore records both request paths and, where browser tooling safely exposes overlapping response bytes, compares their hashes. Otherwise it compares final/session URLs, validators, sizes and durations and leaves the result unknown rather than guessing.
Anonymous-CORS playback is tested per MOSS-qualified source; it is not forced globally.
Exact-size proof
When
Content-Rangeis not exposed but RSS provides declared lengthN, the spec now uses one contiguous proof:Per RFC 9110:
This replaces the earlier two-request boundary check and reduces publisher/analytics traffic.
Qualification is not browse traffic
Production does not probe every episode during browse/search.
Two layers are separated:
Browsing, catalog search and publisher-transcript search remain enclosure-network-free.
The runtime admission uses the smallest Range/size/decode work needed for the active
RenditionSession; fresh-context provider stability testing stays in qualification tooling.Browser qualification matrix
Normal CI uses controlled local origins for:
Vary: OriginSec-Fetch-DestLive-provider checks stay manual/scheduled and never become ordinary PR CI dependencies.
Review boundary
Current Expo base reviewed/synchronized:
53d4534ca681d4bf8f49f9b236d8330c41784811No review comments or inline review threads are currently open on this draft.
Verification
Current GitHub compare against
feat/expo-android-web-migration:docs/expo/PODCASTS-EXPLORATORY-SPEC.mdNo runtime/test pass is claimed for this docs-only PR.
Handoff
The next worker should begin with the controlled provider/deployment qualification harness, not product UI. It should not infer JS readability from CORS-looking headers, treat fresh-session ad changes as intra-session failure, probe every catalog episode during browse, strip publisher tracking prefixes, or reuse current v3 whole-media scheduling for long podcasts.