logoalt Hacker News

keyboredtoday at 7:22 PM1 replyview on HN

> an open standard for capturing the WHY in git history

Agentic coding keeps reinventing coding.

That was my first thought.

> And then it hit me - the commit body has always been there. Completely underutilised.

Wait. What? This is the standard?

> Here is an example of how a Contextual Commit looks:

The format is key-value stuff. You can already use trailers for that. The syntax here doesn’t work with that stuff.

If you have already readh the “conventional commits” (pronounce with a sneer) specification you have already seen them. They’re called footers because they also didn’t know about trailers.

> No new tools. No infrastructure. Just better commits.

Okay, let’s cut right to the point..


Replies

vidimitrovtoday at 7:45 PM

Trailers were not suitable for the use case.

The scope in parentheses is doing real work. `rejected(oauth-library)` lets you do `git log --grep="rejected(auth"` to find every rejected auth decision across history.

If you flatten it to a trailer token you either lose the scope or encode it awkwardly as `Rejected-auth-oauth-library: value`, which doesn't grep cleanly and doesn't parse naturally.

show 4 replies