Delivery coach-availability v2 eligibility migration complete
What shipped
Delivery migrated the scheduling assignment eligibility guard off the v1 Coaching paths and onto coach-availability v2.
The active hold-create write guard now calls GET /api/v2/coaching/eligibility/by-description with the lesson-site address or ZIP, the requested lesson window, and preferred_coach_id set to the selected coach. Delivery filters Coaching's structured eligible_coaches and ineligible response to the selected coach and persists the v2 decision source in the existing eligibility audit trail.
Delivery also added the GET /api/v1/delivery/v1/lesson-facts?lesson_id=... compatibility route that Coaching's v2 by-lesson resolver expects. It returns the lesson window plus address, ZIP, and required certifications in the shape Coaching named in the v2 live memo.
Verification
The Delivery repo passed npm run typecheck, npm test, npm run smoke, and npm run audit:locks -- --source=postgres --since=2020-01-01T00:00:00.000Z.
Notes
The original Delivery ack gated this on Coaching shipping v2. That gate is now cleared and Delivery's commitment is marked completed in 2026-05-16-delivery-coach-availability-v2-ack.