build: restore API proposal registry safeguard
Validate the generated registry as the first core-ci step without rewriting tracked sources. Reuse developer generation logic and preserve regeneration and watch workflows.
Cover stale and missing data, newline handling, no-write behavior, and production task ordering.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>