- Shipped
- November 13, 2026 at 3:53 AM UTC
- Author
- Kamo
- Commit
- 0e5de78
Legal package audiences (Deliver, Redeliver, the Deliver repair path, audience preview, auto-assign on join, HR Quick Request) resolve through TeamMemberRepo.findAudience, which is now team members only (members.member_type = TEAM_MEMBER) and filtered by the package's employment statuses. - Packages carry `statuses` (TeamMembershipStatusType names) on save, in the package DTO and on the audience-preview request; ACTIVE when absent. The preview reports the statuses it used, an exact per-status count (byStatus) and each person's membershipStatus. - Redeliver re-checks the superseded people against the package's own statuses. - Compliance requirements keep their intent: ComplianceAssignmentService (withdrawal gate, sweeps, HR Send Now, member Start) and the own-copy upload resolve through resolveForCompliance — ACTIVE, any member type — so a MEMBER-typed affiliate still gets the W-9 before a payout. - Training audiences are team members only too (findAudience), including assign-on-join.
