Skip to content

Stop SubscriptionHydrator from skipping exclusive ids on quotes - #190

Closed
Pitchfork-and-Torch wants to merge 1 commit into
xai-org:mainfrom
Pitchfork-and-Torch:cursor/magellan-overnight-c-quoteex-90e9
Closed

Stop SubscriptionHydrator from skipping exclusive ids on quotes#190
Pitchfork-and-Torch wants to merge 1 commit into
xai-org:mainfrom
Pitchfork-and-Torch:cursor/magellan-overnight-c-quoteex-90e9

Conversation

@Pitchfork-and-Torch

Copy link
Copy Markdown

Bug

Phoenix SubscriptionHydrator asks TES for exclusive authors by wrapper tweet_id. Super Follow lives on the quoted original. A quote wrapper is not exclusive, so subscription_author_id stays None and IneligibleSubscriptionFilter keeps the card.

#155 keys retweet originals via get_original_tweet_id(). That helper is retweeted_tweet_id.unwrap_or(tweet_id). Quotes keep the wrapper id. This is the leftover quoted exclusive TES key.

This is not #155 (retweet original). This is not #118 (quoted id hydration). This is not #129 (subscription-list miss). This is not #141 (TES exclusive fail-closed).
This is not #184 (ads served history). This is not #157 (Explore topic hydration). This is not #170 (rank-all NSFW index). This is not #146 (soft VF Avoid/Tombstone/Interstitial).

Proof

Fix

Fetch TES exclusive authors for tweet_id and quoted_tweet_id. Use the wrapper author when the quote itself is exclusive. Use the quoted author when the wrapper is not exclusive and the quoted original is. Retweet originals stay #155.

Tests

  • native_exclusive_still_uses_candidate_id
  • quote_of_exclusive_fetches_quoted_id
  • retweet_without_quote_does_not_use_original_id (fails if this twins Stop SubscriptionHydrator from skipping exclusive ids on retweets #155)
  • tes_keyed_only_by_wrapper_does_not_mark_quote_exclusive (fails on unmodified main)
  • quote_of_exclusive_uses_quoted_author
  • exclusive_quote_of_public_keeps_wrapper_author
  • native_not_exclusive_stays_none
  • unit tests added; cargo test cannot run in the public dump (no home-mixer Cargo.toml)
  • Standalone decision-table harness (same match arms): 12/12 passed

Fork PR: none
Survey: #96-#188. Unclaimed. Not steward ads/Explore/soft-demotion/NaN.

Phoenix TES exclusive lookup keyed only the quote wrapper tweet_id.
Super Follow lives on the quoted original, so IneligibleSubscriptionFilter
kept the card as public. Fetch the quoted id and use it when the wrapper
is not exclusive. Retweet originals stay xai-org#155.
@Pitchfork-and-Torch
Pitchfork-and-Torch force-pushed the cursor/magellan-overnight-c-quoteex-90e9 branch from 843f3a9 to 902a06f Compare September 8, 2026 23:07
@Pitchfork-and-Torch

Copy link
Copy Markdown
Author

Parking this intern-stack PR per operator GitHub cleanup (2026-09-08). Hunt notes remain local. Not a reject of the class.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant