M1: Repo & CI modernization

New Issue

Repo preparation for autonomous coding: AGENTS.md, Gitea Actions CI, build fixes for modern toolchains, both branches present on the remote

No due date
66% Completed