Skip to content

Plan mode is blocked by the bot #88

@cherifya

Description

@cherifya

Great project!
However I'm running into an issue. Asking claude to use plan mode, triggers a Tool validation error.
from logs

{"requested_path": "/Users/allad/.claude/plans/encapsulated-rolling-willow.md", "resolved_path": "/Users/allad/.claude/plans/encapsulated-rolling-willow.md", "approved_directory": "/Users/allad/Documents/dev/cleanstrdata", "event": "Path traversal attempt detected", "logger": "src.security.validators", "level": "warning", "timestamp": "2026-02-22T00:00:37.536519Z"}
{"type": "invalid_file_path", "tool_name": "Read", "file_path": "/Users/allad/.claude/plans/encapsulated-rolling-willow.md", "user_id": 8396329692, "working_directory": "/Users/allad/Documents/dev/cleanstrdata", "error": "Access denied: path outside approved directory", "event": "Invalid file path in tool call", "logger": "src.claude.monitor", "level": "warning", "timestamp": "2026-02-22T00:00:37.537178Z"}
{"tool_name": "Read", "error": "Access denied: path outside approved directory", "user_id": 8396329692, "event": "Tool validation failed", "logger": "src.claude.facade", "level": "error", "timestamp": "2026-02-22T00:00:37.537763Z"}
{"error": "\ud83d\udeab **Tool Access Blocked**\n\nClaude tried to use tools that are not currently allowed:\n\n\n**Why this happened:**\n\u2022 Claude needs these tools to complete your request\n\u2022 These tools are not in the allowed tools list\n\u2022 This is a security feature to control what Claude can do\n\n**What you can do:**\n\u2022 Contact the administrator to request access to these tools\n\u2022 Try rephrasing your request to use different approaches\n\u2022 Use simpler requests that don't require these tools\n\n**Currently allowed tools:**\n`Read`, `Write`, `Edit`, `Bash`, `Glob`, `Grep`, `LS`, `Task`, `MultiEdit`, `NotebookRead`, `NotebookEdit`, `WebFetch`, `TodoRead`, `TodoWrite`, `WebSearch`\n\n", "event": "Stream callback failed", "logger": "src.claude.sdk_integration", "level": "warning", "timestamp": "2026-02-22T00:00:37.538761Z"}

Notice "/Users/allad/.claude/plans/encapsulated-rolling-willow.md". This is outside of my project root folder. It appears Claude keeps plans in in my home directory under ~/.claude and the bot blocks that path.
This seems like a legitimate use case to allow in the bot. Any recommendations? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions