3 ms·
I would like to lift my interaction with git to a higher level of abstraction. Now this would be based in the context that the wonderful AI knew What client, w
by ThinkBeat 4y ago
I would like to lift my interaction with git to a higher level of abstraction.
Now this would be based in the context that the wonderful AI knew
What client, what project, what tools, what team, what rules etc.
knew the codebase, parsed and knew all the history,
So the CLI:
AI# Hey, check in my code.
AI# >Ok.
Which would contain in part:
Hey commit my code, ensure that all files are up to date.
Handle all conflicts and manual merges that may arise
based on your knowledge of the entire code base and the
code I have just written.
Ensure to update whatever GitHub might need it.
..
Ensure that all tests are run, ensure continuous integration
runs.
Do whatever it is this company / client / project wants to happen
after a commit.
docker update
restart containers
Trigger lambdas
Release.
Whatever
""
AI# > I would like to let you know that checking in your code
was successful and all issues have been handled by me and
all routines and procedures have been completed with success.
AI# > Would you like to play a nice game of chess?
Ok. I am on it.
I am checking your code and handling all the boring stuff.
All mergers have been handled by me.
All testes have returned positive.
- eimrine 4y agoYou don't even want AI to prove a correctness of understanding of your intention about editing your code. I would rather make AI to make a save/load of my interactions. For example, I need to do something complicated with versions of my code but I know I may fall down in dozens of ways. So I tell AI to remember the state then I do shit and I end up with one of two possible results. Either I do everything correctly or I fuck up. My idea is that all I really need, based of my experience with git, is some ability to easily un-fuckup without copy/pasting git folder on filesystem level. Maybe my approach fits better to some state-machine than to AI but tbh I do not think GPT is any decent help for writing code.