I have a simple script that adds and updates dates in a blog post by #prek (#precommit) before #git commit.
It works well in #linux, but does not work as expected on #macos. In Mac it sets initial time, but does not update it.
I thought it’s very simple bug, very good to delegate to #AI coding tool, my #aiagent was #github #copilot.
Copilot generated me #Nodejs code inside bash to fix the issue, but it did not. It rewrote almost completely my #bash script to #nodejs, but it did not work as well.
When I gave up and checked by myself, it required to add “-u” option to “date” cli for macOS.
There was an another task that involved another git command’s parameters and “AI” decided to add 20 lines of code with no positive result.
How do people build a #startup and fully functional apps with it?
I use it for function generations, tests, structs… but when it goes to something more complicated it never works with “good enough” quality for me.




