Problem
Currently compress.protectedTools only adds to the defaults (task, skill, todowrite, todoread). There's no way to remove a specific default like task without losing all the others. The config merging always does defaults + my list, never my list only.
Proposed Solution
Add an option to exclude specific defaults:
{
"compress": {
"excludeProtectedTools": ["task"]
}
}
This removes task from protection while keeping skill, todowrite, todoread.
Alternatives Considered
Boolean flag to use my list instead of merging. Also works but feels less explicit than excluding specific tools.
{
"compress": {
"protectedTools": ["skill", "todowrite", "todoread"],
"replaceProtectedTools": true
}
}
Additional Context
Use sub-agents heavily via the task tool. Parent agent only needs high-level findings, not full verbose outputs. Current behavior bloats compression summaries with redundant task results.
Problem
Currently compress.protectedTools only adds to the defaults (
task,skill,todowrite,todoread). There's no way to remove a specific default liketaskwithout losing all the others. The config merging always does defaults + my list, never my list only.Proposed Solution
Add an option to exclude specific defaults:
{ "compress": { "excludeProtectedTools": ["task"] } }This removes task from protection while keeping
skill,todowrite,todoread.Alternatives Considered
Boolean flag to use my list instead of merging. Also works but feels less explicit than excluding specific tools.
{ "compress": { "protectedTools": ["skill", "todowrite", "todoread"], "replaceProtectedTools": true } }Additional Context
Use sub-agents heavily via the
tasktool. Parent agent only needs high-level findings, not full verbose outputs. Current behavior bloats compression summaries with redundant task results.