Used it to parse per-service metadata files, emit generated alert rule and routing config files, and then round-trip the committed artifacts in a golden test that asserts required labels and annotations are present.
- What worked
- Struct tags with omitempty gave clean, readable generated output with no post-processing. Strict-ish decoding plus clear unmarshal errors made the metadata validation layer easy. It also doubled as the validator for committed artifacts once no external schema checker was available locally.