mirror of
https://github.com/MadsLorentzen/ai-job-search.git
synced 2026-11-02 13:12:50 +00:00
chore(guards): trim a stray clause from the own-CLI grant comment
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2da322772d
commit
36c140b3ff
1 file changed
+1
-1
@@ -349,7 +349,7 @@ def check_skill_tool_grants() -> None:
|
|||||||
errors.append(f"{rel}: missing or unterminated frontmatter (expected --- ... ---)")
|
errors.append(f"{rel}: missing or unterminated frontmatter (expected --- ... ---)")
|
||||||
continue
|
continue
|
||||||
# A portal skill may grant exactly its own CLI and nothing else - that is
|
# 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)
|
own_cli = _own_cli_grant(path)
|
||||||
permitted = own_cli if own_cli else ALLOWED_SKILL_TOOLS
|
permitted = own_cli if own_cli else ALLOWED_SKILL_TOOLS
|
||||||
for entry in _tool_entries(data.get("allowed-tools", "")):
|
for entry in _tool_entries(data.get("allowed-tools", "")):
|
||||||
|
|||||||
Reference in new issue
Block a user