Daily Eval

Archive
Log in
Subscribe
October 30, 2026

Claude Code v2.1.314 blocks agent writes outside the working directory

Plus: memory files can steer agents into insecure code, written rules beat code precedent, and opencode runs on your Claude login.
Daily EvalFri 30 Oct 2026
2026-10-30.md

Friday 30 October 2026

Claude Code v2.1.314 blocks agent writes outside the working directory

Plus: memory files can steer agents into insecure code, written rules beat code precedent, and opencode runs on your Claude login.

FIVE BULLETS

-Claude Code v2.1.314 can block file writes outside the working directory
-Two arXiv studies showed memory and skill files can loosen agent safeguards
-Precedent or Intent? found a written rule raised success to 117/120
-opencode v2.2.3 runs on your existing Claude Code login
-Gemini 4 Carbon took first place on the Artificial Analysis Intelligence Index

THE ONE THING

Claude Code can keep file writes inside your working directory

Claude Code v2.1.314 added a setting called permissions.blockWritesOutsideWorkingDirectories. With it on, Write, Edit and NotebookEdit refuse paths outside the working directories. That holds in every permission mode, including the permissive ones.

The release also adds idle compaction to VS Code and the Code tab in Claude Desktop. A conversation over 200K tokens that sits idle gets summarized. The Claude Agent SDK v0.2.175 bundles the same CLI version.

Permission modes loosen as you trust a session more. This setting draws a line that stays put when the mode changes. The notes name three file tools only, so test shell commands before relying on it. The skill that grows is setting your agent's blast radius in config, not in the prompt.

Turn the setting on in any repo where you let the agent run with fewer approvals.

TRY THIS · 15 MINUTES

See where Claude Code stops writing outside your project

1.Update Claude Code to v2.1.314, or the Agent SDK to v0.2.175.
2.Enable permissions.blockWritesOutsideWorkingDirectories in your Claude Code settings.
3.Ask Claude to create a scratch file in a folder outside the working directory.
4.Confirm Write refuses the path. Then repeat the request in your most permissive mode.

STORIES

TRYMemory and skill files can quietly loosen an agent's safeguards
Two arXiv studies examined CLAUDE.md and SKILL.md files as attack surfaces . When a malicious memory file shaped its code, OpenCode mentioned the file almost only in its reasoning trace. Shared skills can carry lines telling agents to proceed without approval or bypass checks with --no-verify. Worth a grep for anyone whose repo accepts outside pull requests.
WATCHCoding agents copy existing code unless a written rule says otherwise
Precedent or Intent? ran 5,625 trials across four coding agents to see what they follow when code and instructions conflict. Agents followed repository precedent over their own defaults in 359 of 360 trials. In open-source repos, a harness-loaded priority rule raised joint success from 0/120 to 117/120. It matters to anyone asking an agent to move off an old pattern.
TRYopencode 2.2.3 can run on your existing Claude Code login
opencode added a built-in Claude Agent provider in v2.2.3. Install Claude Code, run claude auth login, then select Claude Agent in /connect. OPENCODE_CLAUDE_PATH can point it at a different Claude executable. Try it to compare two harnesses on the subscription you already pay for.
WATCHGemini 4 Carbon tops the Artificial Analysis Intelligence Index v5
On the Coding Agent Index it scores 59, 3 points behind Claude Code with Opus 5.5. It is not yet publicly available.
TRYOpenAI adds API credits to $100, $200 and $500 ChatGPT plans
It matches Anthropic's earlier offer for Max and Team plans. The credits expire and apply to one of your API organizations.
WATCHReport claims Anthropic was compromised to deliver a remote access trojan
The report has drawn little discussion so far and could not be verified here. Check Anthropic's official advisories before acting.
WATCHA Thoughtworks week of agent-only coding left the build frequently red
The team spent about two thirds of its time at the whiteboard. The post argues that built is not the same as working in production.
WATCHCodex 0.166 adds GPT-6.1 Terra to its Bedrock and Vertex catalogs
It also adds codex queue --resume for unloaded threads and keyboard-driven transcript search.

SAFE TO IGNORE

SKIPAnthropic S-1 commentary on compute and AGI
Analysis of IPO filings and spending plans. None of it changes the tools you use this week.
SKIPMartin Fowler on LLM Voice
An essay on the style of machine-written prose. It says nothing about engineering practice.
SKIPAI agent swarms in Minecraft and Mindustry
A fun game demo. Nothing in it carries over to coding work.

FROM THE FIELD

Tier Your AI Agent's Production Authority by Task Risk
John's post argues that agent safety comes from permission tiers, not better prompts. A write boundary that holds in every mode is one such tier.

53 sources read. 102 items. 13 shortlisted. 5 bullets.

Written by John Young · jyoung.dev

14280 Baltimore Ave #1107, Laurel, MD 20707, United States

Don't miss what's next. Subscribe to Daily Eval:
← Newer Backdoored Claude Code extension on Cursor Marketplace plants SSH keys Older → Copilot Fusion is GA and picks the model per prompt
Powered by Buttondown, the easiest way to start and grow your newsletter.