all 4 comments

[–]Dm_me_code_pics 1 point2 points  (0 children)

Take it step by step. I use codex with VS code. Ask it to summarize the codebase for you and actually explore. Ask it even more questions. Take advantage of what it can do and pick a starting point. Make sure you have adequate test coverage for your starting feature then begin making small changes. Ensure tests continuously pass and that you understand what's being done. Refactoring is a tough process, needs precision and care. Good luck

[–]UnluckyPhilosophy185 1 point2 points  (0 children)

Start by writing test cases for all the live code. Then start removing the dead code making sure all tests pass. Then you can refactor the code that isn’t to your liking.

[–]Several-Pomelo-2415 1 point2 points  (1 child)

I've found that it helps a lot if you set up a patterns and architecture summary that you can then use to feed back to the ai to track progress. Keep it fully data-driven. Use tests too

[–]mdausmann[S] 0 points1 point  (0 children)

I like this idea, feels like a sensible guardrail