I thought I had a fun weekend project, and really I have just ended up feeling a lot of this: https://despairlabs.com/blog/posts/2025-03-12-we-should-improve-libzfs-somewhat/
Trying to write code that manages zfs is tragically bad, I see why people give up