> Every commit is reproducible. The prompt is preserved with > some extra attributes about which model and agent was used. > You can re-run any commit against a fresh checkout to see > what Claude generates from the same instruction. I don't see how this is true. LLMs can generate different outputs even with the same model and inputs.
How different? So do compilers.
Intent-Based Commits
41–50 of 54 posts
Re: Intent-Based Commits
#42Write your code so that the intent is crystal clear. If it is not, you have failed.
The primary purpose of code is NOT for a computer to execute it, but for humans to communicate intent.
Re: Intent-Based Commits
#43[flagged]
i'm mostly just musing. I get the instinct, but i suspect all sessions have extremely rapid decay cycles.
Re: Intent-Based Commits
#44In my CLAUDE.md, I have Claude include all new prompts verbatim in the commit message body. While I haven't used Claude long enough to need my prompts, I would appreciate seeing my coworkers' prompts when I review their LLM-generated code or proposals. Sometimes it's hard to tell if something was intentional that the author can stand behind, or fluff hallucinated by the LLM. It's a bit annoying to ask why something s…
Re: Intent-Based Commits
#45[flagged]
But every time, AI workflows are so unique... that’s why "we" built
Re: Intent-Based Commits
#46Earlier quoted context omitted.
How different? So do compilers.
If you have a compiler the same source code and the same options, it should generate the same output everything provided you aren't using some compiler pragmas or something similar that embeds timestamps or random numbers or similar. If you give an LLM the same input, it can generate different outputs (controlled by the temperature setting).
Re: Intent-Based Commits
#47Earlier quoted context omitted.
If you have a compiler the same source code and the same options, it should generate the same output everything provided you aren't using some compiler pragmas or something similar that embeds timestamps or random numbers or similar. If you give an LLM the same input, it can generate different outputs (controlled by the temperature setting).
So provided you don't do anything that might cause it to be non-determinist, it's deterministic. Got it.
Re: Intent-Based Commits
#48It would be good to see a real example. There’s a sketch of one in the README.md but I’d be interested to see how it works in real life with something complicated. > Add users with authentication > No, not like that > Closer, but I don’t want avatars > I need email validation too > Use something off the shelf? Someone in this place was saying this the other day: a lot of what might seem like public commits to main ar…
Re: Intent-Based Commits
#49So, using git exactly as usual? edit: and also, not bothering to represent manual edits to the code...
Re: Intent-Based Commits
#50We already have a very succinct and precise way to communicate intent. It's called source code. Write your code so that the intent is crystal clear. If it is not, you have failed. The primary purpose of code is NOT for a computer to execute it, but for humans to communicate intent.
I'd also quibble minorly with intent being what the code should be clearly communicating - it's its place and function and meaning within the wider system, which isn't necessarily what the particular programmer wished. Free-form English is a good medium for intent - not so much for "what this thing actually does"