Sorry for the experience. But we may not underestimated the underlying engineering challenges. I replied in Renaming a page doesn't update queries using the page · Issue #7519 · logseq/logseq · GitHub and discussion is welcome.
Also see Opinion: development focus should shift towards improving LogSeq's partially unstable core - #5 by Junyi_Du
Feel free to share insights if you have engineering experience on the field of query DSL.