1) Write the backend in python using test-driven development. The bot can run the test suite and self-correct as it goes, and greatly reduce the blast radius when it tries to do something "stupid"
2) Write the front end with typescript. Same reason. Super fragile, typescript checks as it goes to make sure things are mostly done right.
that's it, have a nice day.