Intent-Based Commits
11–20 of 54 posts
Re: Intent-Based Commits
#12This naturally happens over several commits. I suppose I could squash them, but I haven't bothered.
Re: Intent-Based Commits
#13I start with a conversation and then ask the coding agent to write a design doc. It might go through several revisions. The implementation might also be a bit different if something unexpected is found, so afterwards I ask the agent to update it to explain what was implemented. This naturally happens over several commits. I suppose I could squash them, but I haven't bothered.
Re: Intent-Based Commits
#14I dont know. I get the idea that its like comitting c code that then gets compiled to machine code when someone needs the binary, but what if the prompt isnt complete? For any formal language, there was a testing and iteration process that resulted in the programmer verifying that this code results in the correct functionality, and because a formal compiler is deterministic, they can know that the same code will have…
dependencies = [“foo”]
While the code itself is more like: $ wc -l uv.lock
245
You need both.Re: Intent-Based Commits
#15 > 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 are really more like private commits to your feature branch. Once everything works you squash it all down to a final version ready for review and to commit to main.It’s unclear what the “squash” process is for “make me a foo” + “no not like that”.
Re: Intent-Based Commits
#16Re: Intent-Based Commits
#17It 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
#18I noticed in the README that each commit message includes the agent and model, which is a nice start toward reproducibility. I’m wondering how deep you plan to go on environment pinning beyond that. Is the system prompt / agent configuration versioned? Do you record tool versions or surrounding runtime context? My mental model is that reproducible intent requires capturing the full "execution envelope", not just the…
Re: Intent-Based Commits
#19> 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.