fix(kvb-org-operator): a mail address or link in angle brackets is no slot to fill in
🧪 Test / 🧪 Lock + lint (push) Waiting to run

operator.py add and run refused every commit row whose message or trailer carries 'Co-Authored-By: ... <noreply@anthropic.com>' (or a <https://...> link) as 'holds a <...> slot to fill in'. SLOT now skips angle brackets holding @, : or /; <branch> style slots still refuse. New test, which fails on the old pattern with that trailer.

🎯 Fix: 95 %
💥 Break: 2 %
💸 Tokens: –
⏱️ Velocity: –
🛡️ Security: 100 %
🏆 Score: 93
🚦 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:
Kevin Veen-BirkenbachandClaude Opus 5.5 committed 2026-11-25 10:04:40 +00:00
1 parent 888ebb40af
commit 724042aa5b
2 files changed
+10 -1

No files matched your search

+9
View File
@@ -687,6 +687,15 @@ class TestOperator(unittest.TestCase):
self.assertIn(" M one", result.stdout)
self.assertNotIn("(nothing to compare)", result.stdout)
def test_a_slot_to_fill_in_refuses_a_row_and_a_mail_address_or_link_in_angle_brackets_does_not(self):
for command in ("git push origin <branch>", "make -C <register task> test"):
self.assertEqual(operator_script.unrunnable(command, "/"), "holds a <...> slot to fill in", command)
for command in (
"git commit --no-verify -m 'fix: x' --trailer 'Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>'",
"git commit --no-verify -m 'docs: see <https://s.veen.world/skills>'",
):
self.assertIsNone(operator_script.unrunnable(command, "/"), command)
def test_run_preview_stays_off_when_git_cannot_name_the_scope_of_a_filter(self):
marker = self.base / "ran"
git = self.bin / "git"