You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Distro TV pivot (May 2026, PR #65) removed product-level surfaces for ads, USDC earnings, World Chain integration, and GitHub OAuth. The code paths and docs for these surfaces still exist — they're inert at runtime (no callers, no UI) but they bloat the API package and confuse new readers.
Surfaced during the M8 gitbook audit:
`gitbook-docs/backend/api.md` (~1394 lines): still documents ad/campaign/earnings/World Chain routes inside marked-deprecated sections. Should match the actual code state.
`gitbook-docs/cli/daemon-and-hooks.md`: retains "ad" terminology in impression/key-capture sections because the daemon code still uses those terms internally.
Suggested scope
Code-side (`packages/api/src`)
Routes / services / DB columns for: campaigns, ad slots, ad impressions (separate from "slot impressions"), revenue ledger, payout queue, USDC settlement worker, World ID verifier middleware, GitHub OAuth callback + session exchange
Drizzle schema tables: anything ad/campaign/earnings/payout/world-* related (run a migration to drop)
Drizzle schema only contains tables for the current product (users, devices, channels, news_items, ticker_symbols, watchlists, alerts, sessions, slot_impressions, etc.)
`gitbook-docs/backend/api.md` matches the actual route surface (~half the line count)
Context
The Distro TV pivot (May 2026, PR #65) removed product-level surfaces for ads, USDC earnings, World Chain integration, and GitHub OAuth. The code paths and docs for these surfaces still exist — they're inert at runtime (no callers, no UI) but they bloat the API package and confuse new readers.
Surfaced during the M8 gitbook audit:
Suggested scope
Code-side (`packages/api/src`)
CLI-side (`packages/cli/src`)
Docs
Why P2 / not urgent
Acceptance
Related