Skip to content

design: IContextProvider — ONE seam for news/weather/calendar/holidays context segments #378

Description

@genwave-radio

THOUGHTS 2026-08-06. News, weather, calendar, and holidays are the same feature: external context injected into DJ patter and/or rendered as a scheduled segment. Four bespoke pipelines = DRY violated four times. Build one seam (IContextProvider / ISegmentSource) with a shared model for: opt-in/config, polling cadence, persona assignment, segment-vs-patter delivery, and pre-render caching — then each feature is just an implementation. Slots into GenWave.Abstractions so the community can write providers we never thought of (sports scores, tide tables) — feeds the community-store strategy and is a differentiator. Sequencing: weather (gh-#267) is the reference implementation. Related: gh-#266, gh-#268, the holidays + this-day-in-history issues. Design session material, not a patch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions