Skip to content

orchestration: extract MusicSelectionPolicy β€” the pick pipeline leaves the Orchestrator before project #3's cycle opensΒ #401

Description

@genwave-radio

πŸŽ›οΈ Finding (August 2026 architecture analysis, Β§5)

The Orchestrator (~1,570 lines) trends toward god-object territory. The pick pipeline β€” request rung β†’ persona rung β†’ envelope query β†’ trust-but-verify β†’ degradation ladder β€” is a coherent standalone policy; extract it (working name MusicSelectionPolicy), leaving the Orchestrator to own cadence and unit assembly.

⏰ Timing β€” sharpened from "judgment call" to a scheduling rule

The analysis says extract when a second consumer appears. Project #3's cycle IS that moment: #300 (boundary-fit bug), #320 (straddle handoff), #383 (dayparting) all churn exactly this pipeline. This extraction is the opening task of project #3's first /plan β€” before the churn, not mid-epic (the wardrobe epic's "data before law" rung discipline).

πŸ“Ž Scope note

Pure Orchestration-internal restructure β€” no seam changes, no Host contact; the existing Orchestration.Tests suite is the harness.

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