All code and API mappings must be cross-platform; do not use macOS-only APIs unless equivalent Linux and Windows implementations are provided. Gitea Actions workflows must target only `ubuntu-latest`; do not add macOS or Windows Gitea jobs.