Task · MDE-0027

Preserve endpoint-reference front matter during doc generation

Description

Running make docgen currently rewrites docs/reference/endpoints.md without its Zensical front matter and adds a trailing blank line. Because CI regenerates and diffs this file, the checked-in metadata cannot remain stable. Make scripts/generate_endpoints_docs.py emit the repository-owned title and description front matter deterministically and pin the output contract.

Acceptance Criteria

Definition of Done

Implementation Plan

Update the endpoint generator output prologue and focused generator regression, regenerate the reference, then include it in the shared docgen/check gates.

Final Summary

Discovered during integration and fixed in 7327153. Endpoint front matter generation is deterministic, tested, and byte-idempotent.

View the source file on GitHub