Repository navigation
Description
Parent epic: #2116
Priority and sequence
P1 within the Context Engine epic · CE16. Required for the complete initial release after that checkpoint.
Customer journey
A marketer asks what the artist's current era looks like. Recoup can reference recent images and captions while recognizing that a throwback post or old interview may describe a different period.
Customer value and architecture
Give creative tasks visual and time-specific context beyond a single cover image.
Scope
- Preserve useful Instagram captions, post images/carousels, dates and attribution using existing scraping infrastructure rather than discarding media fields.
- Separate provider URLs from optional retained asset bytes; refresh expired URLs without reanalyzing identical content.
- Distinguish reference-only material from approved production assets; retained internet imagery is not automatically a production asset.
- Build provisional era summaries with evidence, uncertain/overlapping dates, artist-versus-release scope and scoped customer overrides.
- Reuse existing source storage, visibility, withdrawal, freshness and cost limits; do not create an authoritative global era taxonomy or continuous crawler.
Acceptance criteria
- Artist images and captions remain retrievable with source/version/date/usage status and suitable retention.
- Throwbacks, historical interviews and guest appearances do not automatically redefine the current era or artist identity.
- Enduring artist brand, current era, song meaning and release artwork remain separately selectable.
- Expired media links can be repaired without creating duplicate evidence or repeated analysis charges.
- Withdrawn/private material is excluded from dependent era documents and briefs under CE08.
Blocking dependencies
These are completion prerequisites, mirrored by native GitHub blocked-by links. Contracts, fixtures and independent scaffolding may begin earlier.
Execution gates
Can proceed alongside CE15 after CE14; live collection respects established request budgets and retention settings.
Validation
Carousel, deleted/expired image, throwback post, ambiguous date, guest artist, two overlapping eras, override and reference-only asset tests.
Owning implementation
API social ingestion/media retention + provisional era synthesis
Delivery conventions
Shared API business logic serves HTTP, MCP and workers; clients do not duplicate it. Validate input with Zod and use the existing Supabase access layer. Database changes go through database-repository migrations and PRs. Use Vercel Workflows for new durable work. Reuse existing credits and record costs without exposing credentials or private traces. Every owning repository uses a feature branch and PR; distinguish fixture, local, merged and deployed verification.
Activity