Skip to content

Add --disallowedTools to block Claude Code scheduling tools#23

Merged
juhgiyo merged 1 commit intomainfrom
claude/disallow-scheduling-tools
Mar 21, 2026
Merged

Add --disallowedTools to block Claude Code scheduling tools#23
juhgiyo merged 1 commit intomainfrom
claude/disallow-scheduling-tools

Conversation

@juhgiyo
Copy link
Copy Markdown
Contributor

@juhgiyo juhgiyo commented Mar 21, 2026

Summary

  • Adds --disallowedTools CronCreate,CronDelete,CronList to cmdBuild() in the Go wrapper, preventing agents from using Claude Code's native scheduling tools
  • Adds TestCmdBuild_DisallowedSchedulingTools test verifying the flag and value are present in the built command
  • StrawPot manages scheduling through denden; Claude Code's built-in cron tools create "ghost schedules" invisible to the orchestrator

Closes #22
Part of #20

Test plan

  • New test TestCmdBuild_DisallowedSchedulingTools passes
  • All 15 existing tests pass (go test ./...)
  • No regressions — existing command flags unchanged

🤖 Generated with Claude Code

Prevent agents from using Claude Code's native CronCreate, CronDelete,
and CronList tools. StrawPot manages scheduling through its own
orchestrator (denden), so these tools create invisible "ghost schedules"
that bypass orchestrator control.

Fixes #22

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@juhgiyo juhgiyo merged commit c7a55b4 into main Mar 21, 2026
1 check passed
@juhgiyo juhgiyo deleted the claude/disallow-scheduling-tools branch March 21, 2026 01:53
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/1: Add --disallowedTools to block Claude Code scheduling tools in cmdBuild()

1 participant