feat: check invariant for `parents`
3 files changed