feat(skills): add inherited agent skill allowlists (#59992)

Merged via squash.

Prepared head SHA: 6f60779a57
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Co-authored-by: gumadeiras <5599352+gumadeiras@users.noreply.github.com>
Reviewed-by: @gumadeiras
This commit is contained in:
Gustavo Madeira Santana
2026-04-03 13:41:28 -04:00
committed by GitHub
parent 04f59a7227
commit ddd250d130
37 changed files with 910 additions and 60 deletions

View File

@@ -3983,6 +3983,30 @@
"tags": [],
"hasChildren": false
},
{
"path": "agents.defaults.skills",
"kind": "core",
"type": "array",
"required": false,
"deprecated": false,
"sensitive": false,
"tags": [
"advanced"
],
"label": "Skills",
"help": "Optional default skill allowlist inherited by agents that omit agents.list[].skills. Omit for unrestricted skills, set [] to give inheriting agents no skills, and remember explicit agents.list[].skills replaces this default instead of merging with it.",
"hasChildren": true
},
{
"path": "agents.defaults.skills.*",
"kind": "core",
"type": "string",
"required": false,
"deprecated": false,
"sensitive": false,
"tags": [],
"hasChildren": false
},
{
"path": "agents.defaults.skipBootstrap",
"kind": "core",
@@ -6460,7 +6484,7 @@
"advanced"
],
"label": "Agent Skill Filter",
"help": "Optional allowlist of skills for this agent (omit = all skills; empty = no skills).",
"help": "Optional allowlist of skills for this agent. If omitted, the agent inherits agents.defaults.skills when set; otherwise skills stay unrestricted. Set [] for no skills. An explicit list fully replaces inherited defaults instead of merging with them.",
"hasChildren": true
},
{

View File

@@ -3982,6 +3982,30 @@
"tags": [],
"hasChildren": false
},
{
"path": "agents.defaults.skills",
"kind": "core",
"type": "array",
"required": false,
"deprecated": false,
"sensitive": false,
"tags": [
"advanced"
],
"label": "Skills",
"help": "Optional default skill allowlist inherited by agents that omit agents.list[].skills. Omit for unrestricted skills, set [] to give inheriting agents no skills, and remember explicit agents.list[].skills replaces this default instead of merging with it.",
"hasChildren": true
},
{
"path": "agents.defaults.skills.*",
"kind": "core",
"type": "string",
"required": false,
"deprecated": false,
"sensitive": false,
"tags": [],
"hasChildren": false
},
{
"path": "agents.defaults.skipBootstrap",
"kind": "core",
@@ -6459,7 +6483,7 @@
"advanced"
],
"label": "Agent Skill Filter",
"help": "Optional allowlist of skills for this agent (omit = all skills; empty = no skills).",
"help": "Optional allowlist of skills for this agent. If omitted, the agent inherits agents.defaults.skills when set; otherwise skills stay unrestricted. Set [] for no skills. An explicit list fully replaces inherited defaults instead of merging with them.",
"hasChildren": true
},
{