dsh-subagent-tool-guard: Narrowing Sub-agent Tool Visibility
By default, DSH subagents have visibility into tools across both the global layer and ancestor layers, causing background task permissions to easily exceed the intended preset design. dsh-subagent-tool-guard removes inherited tools from subagents via set difference only, preserving items self-declared in the preset, while leaving the main agent unaffected. This covers installation, cordis configuration, subagent_tool_report self-checking, and boundary behavior: it does not select presets, does not block preset-bundled powerful tools, and supports skipPresets and emergency environment variables. Host-only; requires DSH >=0.2.2-rc.3; MIT licensed.
Read More