Repository navigation
docs(workflow): stop pinning a model name in the commit-trailer rule - #291
Merged
Merged
Conversation
The rule named `Claude Opus 4.8 (1M context)`, and the trailer is whichever model wrote the commit — the last eight squashed commits carry `Opus 5` 39 times against that name's 13. It also omitted the `Claude-Session:` line every recent commit has, so an agent following the rule literally wrote one trailer too few and the wrong name in the other. Found while writing this repo's own commits: the file and the practice disagreed, with nothing to say which was current. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Fykc2h9oeU3kcq72LoWcuL
Deploying sahajatlas with
|
| Latest commit: |
926cd41
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://fdb8b8ee.sahajatlas.pages.dev |
| Branch Preview URL: | https://claude-docs-workflow-commit.sahajatlas.pages.dev |
sydevs-bot
marked this pull request as ready for review
October 13, 2026 03:55
sydevs-bot
enabled auto-merge
October 13, 2026 03:55
Contributor
Author
|
Adversarial review skipped: 1 file(s), 7 changed line(s), under 🤖 sydevs dispatcher |
Ardnived
approved these changes
Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AGENTS.md's commit-trailer rule named one model and omitted theClaude-Session:line every recent commit carries, so following it literally produced the wrong attribution.Change outline
Contract — the commit-trailer rule, paraphrased from
AGENTS.md("Overall instructions")Preview
No deployed surface — the diff is one
AGENTS.mdbullet.Test results
lint+typecheck+test:run(139 files, 1701 tests)Notes for reviewer
Found while writing this session's own commits on #285, where the file and the practice disagreed with nothing to say which was current. On
origin/main's last eight squashed commits the bodies carryCo-Authored-By: Claude Opus 539 times against the documented name's 13, andClaude-Session:on every one.Open questions
Pinning the exact trailer is the alternative, and it is defensible: a literal string is checkable, and
claude-workflowcould sweep it the way it syncs the comment rules across the five repos. This PR takes the other side — the model name is a property of the run, not of the repo — because nothing checks the line today and the version that was pinned had already drifted. Say which you want and I will land it the other way.Closes nothing — filed as an incidental finding from #285, with no ticket.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code