Fix codegen templates — never work around codegen gaps
When a generated file is missing fields, columns, methods, or patterns, identify the responsible template and fix it there. Regenerate all affected entities. Never add things manually to generated files or write hand-crafted alternatives.
Why: Hand-written workarounds diverge from the template, causing drift. The root-cause gap stays unfixed and repeats for every future entity.
How to apply: Any time generated output is wrong or incomplete: find the .mustache template, fix it, run codegen. Only touch generated files to verify the output is correct after regeneration.