Start Debugging

Daily notes on .NET, C#, EF Core, MAUI, Blazor, and Flutter - for developers who ship.

How to Change Claude's Effort Per Turn With a Mid-Conversation System Message

Stop rewriting output_config.effort between requests. Append {"role": "system", "content": [], "output_config": {"effort": "low"}} with the mid-conversation-output-config-2026-07-01 beta and claude-opus-5-5, claude-sonnet-5-5 or claude-haiku-5-5 switches effort from the next user turn while the prompt cache and preserved thinking stay valid. Placement, persistence, errors and an agent-loop helper.

How to Stop Claude Code From Writing Outside the Repo With permissions.blockWritesOutsideWorkingDirectories

Set permissions.blockWritesOutsideWorkingDirectories to true and Claude Code 2.1.314+ makes Write, Edit and NotebookEdit refuse any path outside the working directories in every permission mode, bypassPermissions included. What it refuses, what stays writable, why allow rules cannot open it, how /add-dir and additionalDirectories do, what it does to worktrees, and how to pair it with the Bash sandbox so shell commands are fenced too.
Page 1 of 117 Next ›