Stefan Weinert (@zealot128@ruby.social) has a really deep blog post on how he implemented it. I love that the blog post reflects the huge mess that is software development in the real world.

www.stefanwienert.de/blog/2024/11...