{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreia52ef5meibdowgpr4mgkddfwp3wegqfgwfag24thbxi25vsmj5y4",
"uri": "at://did:plc:lk3jfj3zq4k4wxnk474axylu/app.bsky.feed.post/3mpo34xdhdzx2"
},
"path": "/t/how-to-achieve-greater-code-refactoring-automation/1385318#post_11",
"publishedAt": "2026-07-02T12:40:36.000Z",
"site": "https://community.openai.com",
"tags": [
"@merefield"
],
"textContent": "Thanks to everyone for the feedback, suggestions and resource links - I will definitely explore those. I wish I had known about this forum before I started this project!\n\nRe copying and pasting back and forth between ChatGPT and Codex, it’s definitely tedious and time consuming, but from my (none developer) perspective, who had used ChatGPT since 2023, and never used Codex, I didn’t know what I didn’t know.\n\nI asked ChatGPT from the outset about using Codex, but as I am sure you all know, ChatGPT tends to just run with whatever it comes up with first. Several times I did ask it if there were other workflows and tools I could use to improve efficiency but it didn’t come up with much. It seems to behave like a control freak at times!\n\nThings like developing helper scripts and using Playwright were prompted by me. I also started using VS Code locally with an SSH plugin so it could access the files on the staging server, but ChatGPT recommended against using other tools like Cursor, and I found I was only using the terminal in VS Code, so I went back to using PuTTY.\n\nNext time I will ask ChatGPT to list all the different approaches and tools that could be used! Perhaps I will ask Gemini and Claude to cross-check!\n\n@merefield , to answer your question about testing - I have a significant behavioural test suite, comprising over 100 tests addressing both front end and back end (admin) functionality, including mutative tests which create, modify and delete database entries on a disposable copy of the database, with automated logging, and cleanup/reset. The tests may not be 100% exhaustive, but I believe they exercise a very high proportion of the functionality.\n\nOnce I have finished the upgrade to PHP 8.3 I may take a different approach to get up to 8.4.",
"title": "How to achieve greater code refactoring automation?"
}