Skip to content

feat: configurable trace-check exemptions for knowledge-store MCP tools #47

Closed

Description

@jflowers

Part of unbound-force/dewey#153. Exemptions are scoped per agent by #48.

Summary

The file-path trace check blocks calls whose path arguments don't appear in verified reasoning. For corpus-scale knowledge work (hundreds of source files, knowledge-store MCP calls) this blocks continuously; the workaround is requireStepReferenceInTools: false, which disables the check for all work in that project.

Proposal

  • Configurable exempt tools (e.g. traceCheck.exemptTools: ["dewey_*"]), mirroring the FR-065 exemption for the plugin's own console tools. Knowledge-store tools (store_learning, promote, search) touch no workspace files.
  • Consider exempting read-only tools (read, grep, glob) from the trace check, or document glob-form reasoning (FR-069) as the recommended pattern for bulk reads.
  • The reward-hacking check still applies to exempt tools.

Acceptance

  • Exempt tools pass the trace check; non-exempt tools are unchanged. Exemptions only come from config tiers the user controls (see per-agent overrides issue).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions