From 36c140b3ff848a57c7a8cc134dacc86730a04bce Mon Sep 17 00:00:00 2001 From: Mads Lorentzen Date: Mon, 19 Oct 2026 17:34:29 +0200 Subject: [PATCH] chore(guards): trim a stray clause from the own-CLI grant comment Co-Authored-By: Claude Opus 5.5 --- tools/security_guards.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/security_guards.py b/tools/security_guards.py index cc1fb978..c6c35a4c 100644 --- a/tools/security_guards.py +++ b/tools/security_guards.py @@ -349,7 +349,7 @@ def check_skill_tool_grants() -> None: errors.append(f"{rel}: missing or unterminated frontmatter (expected --- ... ---)") continue # A portal skill may grant exactly its own CLI and nothing else - that is - # the promise SECURITY.md makes, and portals are leaving the tree anyway. + # the promise SECURITY.md makes. own_cli = _own_cli_grant(path) permitted = own_cli if own_cli else ALLOWED_SKILL_TOOLS for entry in _tool_entries(data.get("allowed-tools", "")):