Reject references to roles declared absent in the same global manifest
Parent: #627
A role declared state = "absent" remains available to other declarations when it currently exists.
Reproduced with ownership; the same contradiction applies to memberships and default privileges:
- Declare
app_ownerabsent. - Declare an object owner or default-privilege owner as
app_owner. - Plan against a database where
app_ownercurrently exists.
Observed: planning accepts mutually contradictory work, can transfer/grant to the role, and later tries to drop it. This can fail after earlier groups have committed and cannot represent the requested final state.
Required behavior: manifest validation rejects every membership, ownership, or default-privilege reference to a role declared absent before planning any mutation.
Tracked under #627. A proposed implementation is in #637, which is still under discussion. Closing this sub-issue since it is covered by the #627 umbrella.