Been using Termux and iSH on my phones for years. You can ssh to your server or just directly code for the phone itself.
I also used Web based coding environment like Glitch (R.I.P.) for years.
You can do that with your virtual keyboard, voice or a even a physical keyboard via BT, e.g. Corne-ish Zen.
That's how I travel.
That's really nothing AI specific or novel. It's cool though.
FWIW I even coined a related term https://fabien.benetou.fr/Languages/OwnConcepts#ResponsivePr... "extending responsive design to be able to program on the device, any device from eink to mobile phone to device, one is currently using not just to "consume" content, e.g read a Website that is then properly formatted for it, but rather program back that very device"
That being said, if you do want to go that route check out CloudInit as it will help you (or whatever tool you rely on) to spawn new instance on your favorite cloud provider to boot specific instances and e.g. setup Docker/Podman then services, etc with no interaction. Also ntfy can help you manage notifications across devices on your own infrastructure, no 3rd parties.
Also on the topic of gaps... liminal space IS precious. It doesn't require coding per se though. You can problem solve, jolt down a solution THEN only implement it as code later on. What matters IMHO is that the potential solution is not lost, wherever you might be. For that... I have shower crayons. Point is, CAPTURE ideas, don't necessarily implement on the spot but of course if you want to, it's good to be able to.