Skip to content

fix: add missing allowed-tools declaration to knowledge-guide agent#38

Open
xiaolai wants to merge 1 commit intoagenticnotetaking:mainfrom
xiaolai:fix/nlpm-knowledge-guide-allowed-tools
Open

fix: add missing allowed-tools declaration to knowledge-guide agent#38
xiaolai wants to merge 1 commit intoagenticnotetaking:mainfrom
xiaolai:fix/nlpm-knowledge-guide-allowed-tools

Conversation

@xiaolai
Copy link
Copy Markdown

@xiaolai xiaolai commented Apr 21, 2026

Automated audit: This PR was generated by NLPM, a natural language programming linter, running via claude-code-action. Please evaluate the diff on its merits.

Bug

agents/knowledge-guide.md declares model: sonnet but has no allowed-tools field. The agent's implementation reads ${CLAUDE_PLUGIN_ROOT}/reference/ files to back its methodology guidance (derivation-manifest, interaction-constraints, kernel.yaml, etc.), but without allowed-tools: Read, Claude Code will not grant the Read tool and those file reads will fail silently at runtime — leaving the agent without the reference context it was designed to use.

All other agents and skills in the plugin declare allowed-tools explicitly.

Fix

Added allowed-tools: Read to the frontmatter, matching the minimum permission needed for the agent's reference file reads.

Files changed

  • agents/knowledge-guide.md

The knowledge-guide agent reads ${CLAUDE_PLUGIN_ROOT}/reference/ files
to back its methodology advice, but declared no allowed-tools. Without
the Read tool granted, those file reads will fail at runtime.

Co-Authored-By: Claude Code <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants