Skip to content

[Feature]: Allow removing tools from default protected tools list #497

@sergeyk-symbiotic

Description

@sergeyk-symbiotic

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions