As part of follow-up changes, we need a list of fields that could be
used in templates as part of a linting rule.
To avoid the `tools` directory importing from `lib`, we can make sure
that we generate the list of fields.
Co-authored-by: Claude Opus 5 <jamie.tanna+claude-code@mend.io>