"""Intern attendance monthly-report domain. Pulls per-day attendance facts from Feishu (考勤, read-only), builds one versioned report per intern per cycle, and drives a two-stage confirmation workflow (intern → leader) with HR-orchestrated return / resend and intern self-undo. Layers: feishu_attendance — read-only Feishu 考勤 client facts — raw user_tasks → per-day snapshot + summary cycle — 21→20 period arithmetic (local calendar dates) roster / config — intern roster (dept membership) + tunables service — cycle generation + report queries router — HR endpoints constants — states / events / Feishu enums (single source) Cross-domain coordination (identity, notifications) goes through shared core primitives, never direct domain imports. """