feat(skills): every skill commit carries the Created-with trailer
kvb-git-commit-no-verify is the single place of the rule: commits end with --trailer "Created-with: https://s.veen.world/skills" before Co-Authored-By, merges run git merge --no-commit and then that commit (git merge has no --trailer), and PR bodies end with the link. The commit, merge, hotfix, unify, update-branches and PR skills point at it. hotfix.py sync concludes each merge with the trailer itself; fast-forwards create no commit. 🎯 Fix: 92 % 💥 Break: 4 % 💸 Tokens: 100 % ⏱️ Velocity: 100 % 🛡️ Security: 100 % 🏆 Score: 88 🚦 Gate: ✅ 90/5, tokens and velocity <= 100, security 100 % Created-with: https://s.veen.world/skills Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4c4a3ab227
commit
9b1f0690de
10 files changed
+34
-26
No files matched your search
@@ -562,6 +562,8 @@ class TestHotfix(unittest.TestCase):
|
||||
for name in ("db.txt", "line2.txt", "side.txt"):
|
||||
self.assertTrue((self.work / name).is_file(), name)
|
||||
self.assertEqual(self.git(self.work, "rev-list", "--count", "--merges", "HEAD").strip(), "2")
|
||||
self.assertEqual(self.git(self.work, "log", "--merges", "--format=%(trailers:key=Created-with,valueonly)").split(),
|
||||
["https://s.veen.world/skills"] * 2)
|
||||
self.assertEqual(self.merges(self.sync(self.work, "work/side")), [["contained", "origin/main"],
|
||||
["contained", "line"]])
|
||||
|
||||
|
||||
Reference in new issue
Block a user