17.6 Generated File Review Rules
Return to Git and Review Workflow
Generated files require special review discipline. Reviewers should be able to distinguish source changes from generated outputs and confirm that generation occurred through the approved workflow.
When a change includes generated Artifacts, the pull request should identify:
-
Source definitions that triggered generation.
-
Generation command or script used.
-
DDS product or generator used.
-
Generator version, where relevant.
-
Target language or output type.
-
Output directory.
-
Validation performed after generation.
-
Whether generated Artifacts should enter Git for this Baseline.
Reviewers should not treat generated code as the source of architectural truth. IDL source files, catalogues, Configuration, architecture documents, and handbook sections define the governed meaning. Generated code projects that meaning into implementation form.
If generated files change without corresponding source-definition changes, reviewers should ask why. Possible explanations include generator version changes, output format changes, regenerated stale files, or accidental local generation differences. The team should resolve the cause before accepting the change.
If source definitions change but generated Artifacts do not change where expected, reviewers should ask whether the developer forgot to run generation or whether the generated Artifacts are intentionally not tracked in Git.
© 2026 Dido Solutions, Inc. and Jackrabbit Consulting, Inc.