Skip to content

fix(#170): remove inert disallowedTools from agent definitions#171

Open
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/170-remove-disallowed-tools
Open

fix(#170): remove inert disallowedTools from agent definitions#171
fullsend-ai-coder[bot] wants to merge 1 commit into
mainfrom
agent/170-remove-disallowed-tools

Conversation

@fullsend-ai-coder

Copy link
Copy Markdown
Contributor

Remove disallowedTools frontmatter from agents/code.md, agents/fix.md, agents/review.md, and agents/retro.md. These entries are inert in --agent sessions (per ADR 0024) and Bash(...) entries trigger a Claude Code bug that removes the entire Bash tool, causing costly subagent fallbacks.

Also remove the inert tools key from agents/review.md and agents/retro.md.

Update comments in harness, env, policy, and skill files to reference the actual enforcement mechanisms: sandbox token scoping (read-only GH_TOKEN), PUSH_TOKEN isolation, and network policy binary allowlists.


Closes #170

Post-script verification

  • Branch is not main/master (agent/170-remove-disallowed-tools)
  • Secret scan passed (gitleaks — 0dbf1959357382ecdb9bb39e3c69a5fa678af3c1..HEAD)
  • Pre-commit hooks passed (authoritative run on runner)
  • Tests ran inside sandbox

Remove disallowedTools frontmatter from agents/code.md,
agents/fix.md, agents/review.md, and agents/retro.md.
These entries are inert in --agent sessions (per ADR 0024)
and Bash(...) entries trigger a Claude Code bug that removes
the entire Bash tool, causing costly subagent fallbacks.

Also remove the inert tools key from agents/review.md and
agents/retro.md.

Update comments in harness, env, policy, and skill files
to reference the actual enforcement mechanisms: sandbox
token scoping (read-only GH_TOKEN), PUSH_TOKEN isolation,
and network policy binary allowlists.

Closes #170
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.

fix: remove disallowedTools from all agents/*.md files

1 participant