Pulumi does track the dependencies between stacks, but does not yet enforce any policy related to that - like preventing deleting a resource that is indirectly depended on by another stack.
There are several layers of things we’ve considered adding here to allow coordinating deployments across stacks - even as far as something like
https://github.com/pulumi/pulumi/issues/2209.