It'd be nice to be able to tell commit "hey, take the last one and make this be part if it, too."
Additionally, or maybe separately (?) perhaps any time the commit message is not WIP the script should dig back through previous commits and find any of them that simply do have simply the string of "WIP" as their message and squashes them all together in one single amend.
https://www.atlassian.com/git/tutorials/rewriting-history/git-commit--amend