How to achieve greater code refactoring automation?
One more thing:
KevinH:
I’m not a coder so I’m following instructions from ChatGPT Pro on my Windows PC, pasting back and forth with the staging server via Putty/SSH. The iteration loop is basically: paste bash command → paste compact output back to ChatGPT → inspect → patch → lint → smoke → commit/checkpoint.
Yuk!!
DO NOT CUT AND PASTE!
Get the project running locally and run codex cli over the code locally!
Time spent cut & pasting is incredibly unproductive (and tiring!)!!
You do not really need ChatGPT and Codex CLI - your Codex CLI session context will benefit from all discussion. Use ChatGPT auth login from Codex CLI to benefit from your bundled credits.
(one alternative I do occasionally is install codex remotely - but the key thing is to work on codex-cli locally wrt to the code)
(you can also use remote tooling effectively too, e.g. VSCode remote, but you will need more memory on your server to run the required integration effectively)
btw, when you need to work on the command line check out this project:
clai: your useful command line helper! Codex
Hey guys, I’d like to present my ongoing project I co-authored (with the help of codex-cli ). This extremely useful command line tool that provides a natural language way to describe what you want to happen at the terminal. AI has brought a lot of budding new developers into the space and it is extremely useful for CLI beginners, making the terminal much more accessible for all. It is also great for experienced users - very handy for formulating complex piped commands, or ones…
Discussion in the ATmosphere