Top news
No. 2
Stop letting the agent run the pipeline: wrap it in code that checks its homework
One engineer's five-month path from a giant English skill file to a YAML-driven shell that decides every next step for Claude and Codex.
Alexander Heerens caught Claude claiming it had reviewed a change against the team's coding standards when the logs showed it ran head -80 on the file. His fix: the agent must now return a list of every standard it applied, and plain code checks that the list has all 21 entries, or the step fails and retries.
He packaged the pattern as sous, an MIT-licensed tool where each step is a folder with a Markdown prompt, a JSON Schema for the output, and optional prepare and eval scripts. Routes such as "review fails 3 times, stop as blocked" live in YAML, not in the prompt. One big skill that sometimes ran UI tests twice became a graph where the agent only does the creative step, a different model can review, and blocked runs keep their worktree so you can fix by hand and resume.
The agent said it had checked the change against 21 coding standards. The logs showed it had read the first 80 lines of the file.
Let the cheap model go first and hand only its unsure cases to Opus
Hightouch got close to Opus accuracy at under a quarter of the cost by escalating on confidence.
On 1,000 identity-resolution cases, Jev alone scored 95.6% at $0.05 per 1,000. Sending only Jev's 30 to 90% confidence cases (22% of traffic) to Opus 5.5 reached 98.8% at $0.88, against 99.0% at $3.86 for Opus on everything.
On a harder set the hybrid matched Opus (95.3% vs 95.1%) at $2.94 vs $5.39, because a well-calibrated cheap model escalates more on its own when the data gets harder. The better out-of-the-box model, Luna, lost in the hybrid because it was confidently wrong.
Claude Code 2.1.319: unattended runs stop hanging on permission prompts
A new setting denies instead of waiting, and long MCP tool calls now move to the background.
permissions.denyInsteadOfPrompting makes any tool call that would wait on a prompt get denied so the turn continues, in terminal sessions, subagents and teammates. MCP tools that run as tasks are backgrounded right away and Claude is told when they finish (opt out with CLAUDE_CODE_DISABLE_MCP_TASK_BACKGROUND).
Also new: /claude-api latency-optimize tries faster settings against your eval, and /tasks keeps finished subagents you can reopen and message.
Deep dive
Context and memory
How Claude remembers: Anthropic's notes on agent memory and dreaming
Tell the model what memory is for, not how to use it, then clean up the notes in the background.
Anthropic walks through its evaluations of agent memory. On a database Q&A benchmark, newer models closed the learning loop on their own: write a rule, say how they know it is true, and log traps. Telling Opus 5 and Opus 4.7 to "record only failures" cut much of the gain memory gave them, while the older Sonnet 4.6 nearly doubled its score only when told to read memory first and test its theories.
Dreaming is a background pass that checks notes against the original transcripts. In Pokemon it fixed a wrong landmark note that had trapped Claude in a loop. On a 350,000-file corpus, 128 dreaming sessions built a linked wiki that raised scores from 13% to 48% of criteria, and wiki plus search beat search alone (61% vs 53%) while saving about 20,000 tokens per question. The always-loaded layer must stay small: Claude Code's auto memory loads only the first 200 lines or 25 KB of MEMORY.md.
The companion cookbook is a runnable version: export finished sessions, run one Haiku analyzer per transcript plus an organizer, write into a memory store your agent mounts read-only, and run it nightly from cron. Fifty long transcripts cost about $8.
In brief
Tools and releases
Codex CLI 0.167.0 adds an agent command center (opens in a new tab)
codex agents --no-daemonshows all sessions with unread-result markers, and you can expand a patch inline before approving it.Claude Code's advisor tool, in one flag (opens in a new tab)
claude --advisor opuslets a cheaper main model consult Opus before committing, when stuck, and before saying done, without breaking the prompt cache.
Techniques and workflows
Agentic Nibbles: design with one agent, attack with a fresh one (opens in a new tab)
A CTO's loop: agent-assisted design, a second agent hunts for holes, a plan of small dependency-ordered tasks with tests, then one fresh agent per task plus a checker.
Engineering at agent scale
Replit swapped Docker for microVMs under every agent sandbox (opens in a new tab)
Each sandbox gets its own minimal kernel on Cloud Hypervisor, credentials stay in a host-side broker, and warm pools keep startup near 500 ms.
