G5 captures the data model, business rules and workflows, as well as company-wide policies covering areas such as security, GDPR, infrastructure and coding standards.
Turns out "legacy system" is less about old code and more like a bad relationship — it's legacy the moment you start eyeing other options.