soso-_- liked a comment+100 XP
2mos ago
morning, overslept or something? :))
I have made a primitive nightshift worker to myself like a week ago. My task was to update and refactor everything to new Livewire 4 setup. It's not arbitrary, so that I did not want to spend my time on this "luxury" task. Created a new branch, so if thing's got messy, I would go back easily. I waited like 20 minutes and it was going perfect. Then left it and go to bed.
My rules were similar, but I also added call laravel-simplifier and check after every commit. This was misunderstood, it kept calling laravel-simplifier:laravel-simplifier after every edit, was like 10 thousand times. After a sanity check, I figured out that too much refactoring and had to re-write almost half of my tests, so I went back to the origin branch and add testing to the scope of the nightshift. (I didnot call it nightshift, mine was "unmanned")
Second night, I requested Claude to make a master plan first, and follow the plan. Included testing. This way, it had a better routemap and did not call laravel-simplifier once in every minute. again, almost was ok. but figured out that it created irrelevant directories and forgot to remove old directories. some new files were referencing old classes, again it was a mess.
Third try, (I created a totally new livewire project, and referenced it's directory and approach. The scan notes were inserted into my main project. This second .md helped a lot. While maintaining the consistency, it also figured out some more improvements by itself, that I hadnot noticed even.
If to summary, for the first time in this human being's history, I managed to think something earlier than you. I'm proud.
Cheers,