{"slug": "show-hn-git-hook-for-model-identifation", "title": "Show HN: Git Hook for Model Identifation", "summary": "A developer released a Git hook and accompanying format specification that lets AI models self-identify in commit messages, tagging each commit with fields such as model name, harness, effort and confidence level. The developer built the tool after using multiple models — including Claude, Codex, Grok via cursor-agent, Z.ai, Deepseek, Hy4 via OpenCode and agy — and finding no way to tell which commit came from which model. The stated goal is for a higher-ranked model to verify other models' output and suggest changes, similar to a senior engineer reviewing junior engineers' work.", "body_md": "I have started using multiple models (Claude, Codex, Grok via cursor-agent, Z.ai, Deepseek, Hy4 via OpenCode, agy) etc, and I realized that I not able to identify which commit was made by which model. After looking around and not finding anything, I create a format specification that will let Model self-identify itself. The goal is a higher ranked model can verify the output of other models and suggest changes. It is similar how to a Senior Engineer will review the output of Junior Engineers. As Humans, we know which model is behaving well, and which we can trust more.\n\nMy AI based commits have a identification like this.\n\nAdd retry backoff to fetch\n\nModel: claude-sonnet-5-5 harness=claude-code effort=high conf=medium\n\nModel: opencode/hy4-flash-free harness=opencode effort=high conf=medium\n\nIn using this, I get an intuition what I can expect when I fire off model on a particular task.\n\nComments URL: [https://news.ycombinator.com/item?id=50556343](https://news.ycombinator.com/item?id=50556343)\n\nPoints: 1\n\n# Comments: 0", "url": "https://wpnews.pro/news/show-hn-git-hook-for-model-identifation", "canonical_source": "https://github.com/orsenthil/git-hook-model-identification", "published_at": "2026-11-19 05:18:23+00:00", "updated_at": "2026-11-19 05:45:10.258539+00:00", "lang": "en", "topics": ["ai-agents", "developer-tools", "ai-tools"], "entities": ["Git", "Claude", "Codex", "Grok", "cursor-agent", "Z.ai", "Deepseek", "OpenCode"], "also_reported_by": [], "takeaway": "A Git hook plus commit-message format spec records model name, harness, effort and confidence per AI-authored commit, so a stronger model can review weaker models' output.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/show-hn-git-hook-for-model-identifation", "markdown": "https://wpnews.pro/news/show-hn-git-hook-for-model-identifation.md", "text": "https://wpnews.pro/news/show-hn-git-hook-for-model-identifation.txt", "jsonld": "https://wpnews.pro/news/show-hn-git-hook-for-model-identifation.jsonld"}}