Skip to content

feat(subagents): support Claude Code permission overrides#51

Open
0xbentang wants to merge 2 commits into
HazAT:mainfrom
0xbentang:claude-code-readonly-overrides
Open

feat(subagents): support Claude Code permission overrides#51
0xbentang wants to merge 2 commits into
HazAT:mainfrom
0xbentang:claude-code-readonly-overrides

Conversation

@0xbentang

Copy link
Copy Markdown

Summary

  • Allow custom Claude Code-backed agents to set permission mode, allowed tools, and disallowed tools from frontmatter.
  • Preserve the existing bypass-permissions behavior for bundled/default Claude Code agents.
  • Document a read-only Claude Code agent pattern with examples.

Testing

  • npm test

@0xbentang 0xbentang marked this pull request as ready for review May 7, 2026 01:38
0xbentang added 2 commits May 14, 2026 06:17
Allow custom Claude Code-backed agents to set permission mode, allowed tools, and disallowed tools from frontmatter while preserving the existing bypass-permissions default when no override is configured.

Document the read-only Claude Code agent pattern and add tests for parsing and launch argument generation.
Update the read-only Claude Code documentation to demonstrate overriding the bundled claude-code agent with a same-name global or project-local agent file, matching the supported agent discovery precedence.
@0xbentang 0xbentang force-pushed the claude-code-readonly-overrides branch from 9bef29b to 83d9a0d Compare May 13, 2026 22:17
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.

1 participant