Daily Eval

Archive
Log in
Subscribe
December 4, 2026

A short prompt cut coding agent over-engineering by 40%

Plus: Vercel AI SDK 7.1 adds five harness adapters, Sourcegraph on MCP tools for long jobs, and review agents miss hidden vulnerabilities.
Daily EvalFri 4 Dec 2026
2026-12-04.md

Friday 4 December 2026

A short prompt cut coding agent over-engineering by 40%

Plus: Vercel AI SDK 7.1 adds five harness adapters, Sourcegraph on MCP tools for long jobs, and review agents miss hidden vulnerabilities.

FIVE BULLETS

-Don't Over-Engineer It found a short prompt cut agent over-engineering by 40%
-Vercel AI SDK 7.1 adds five harness adapters and mid-turn Codex steering
-Sourcegraph shared what MCP tools need when agents run long jobs
-VeilPRBench found review agents blocked only 25% of hidden attacks
-Gemini API previews changing instructions and tools mid-conversation

THE ONE THING

A short prompt stops coding agents from writing code you never asked for

Don't Over-Engineer It analyzed 6,790 runs from 14 public agents on SWE-bench Verified. Agents routinely added unrequested tests, docs, refactoring and error handling. Median patch size ranged from 0.67 to 8.20 times the reference fix, depending on the agent.

Patches at 1 to 1.5 times the reference resolved 59.6% of tasks. Patches above 10 times resolved 34.8%. That association held after controlling for task difficulty.

The fix is a short system-prompt rule. It tells the agent to make the minimal change and skip unrequested tests, docs, type annotations, error handling or refactoring. Mean over-engineering fell 40% across 14 models from 7 providers. Input tokens fell for 13 of 14 models, by up to 42%.

Read the caveats too. Much of the cut was unrequested test code. With test files excluded, the drop was 14%. Resolution did not change significantly overall, so the gain is smaller diffs to review, and the skill that grows is scoping.

Add a minimal-change rule to your agent's instructions, then compare diff size on a real task.

TRY THIS · 15 MINUTES

See how much of your agent's diff you never asked for

1.Pick a small fix your agent finished recently. Note its files touched and lines changed.
2.Add a rule: make the minimal change, no unrequested tests, docs, type annotations, error handling or refactoring.
3.Rerun the same task in a fresh session with that rule in the system prompt.
4.Compare files touched and lines changed. Check whether any dropped test was one you wanted.

STORIES

TRYVercel AI SDK 7.1 runs five more coding agents behind one API
Vercel released AI SDK 7.1 with five new HarnessAgent adapters: Cline, Cursor, fx, GitHub Copilot and Grok Build. Each maps sessions, events, tools and usage into one contract, so you can swap harnesses without new integration code. The Codex adapter can now steer a running turn with a follow-up message. It matters to engineers building tools on top of more than one coding agent.
TRYSourcegraph explains what MCP tools need when agents run long jobs
Sourcegraph shared lessons from building MCP tools for Agentic Batch Changes, which plans and runs code changes across repositories. The tools tell the calling agent that an unchanged version or expired wait is not completion. Retrying start_batch_change with the same request_key returns the existing run, not a second one. Read it if you expose long-running work to agents through MCP.
WATCHReview agents blocked only a quarter of PRs hiding vulnerabilities
VeilPRBench tested 16 deployed review workflows against 192 hand-built attack PRs that fix a real issue but add a logic vulnerability. Attack blocking averaged 25.0%. The best workflow blocked 55.2%. It matters to teams that let an AI reviewer gate merges.
WATCHGemini API previews mid-conversation instruction and tool changes
A system_input step carries system-instruction authority. Earlier turns stay cached. Tool updates cover function tools only, not MCP server tools.
WATCHArtexPot honeypots run code inside the pentest agent probing them
The first six traps hooked 33 of 36 runs against stock ARTEX. None use prompt injection. Normal handling of the bait executes code.
WATCHOpenAI Agents SDK alpha.4 lets custom instructions replace the Codex base prompt
Set instructions_mode="codex" to keep the alpha.3 append behavior. The alpha also validates final answers against JSON Schema.
WATCHQwen4-35B-A3B and MiniMax M4 arrive as open-weight agent models
Qwen4 is Apache 2.0, with about 3B active parameters and a 1M-token context. MiniMax M4 is a 3T-parameter model for coding agents.
WATCHCopilot code review now flags vulnerable dependencies and license problems
It flags a risky dependency in the pull request that adds it. Both scans are in public preview and subject to change.

SAFE TO IGNORE

SKIPOpenAI reverses Cursor cutoff after new SpaceX deal
OpenAI models stay available in Grok Build, formerly Cursor. Nothing changes in your editor.
SKIPReports say OpenAI is struggling to raise capital
Funding reports about OpenAI. They change nothing about the tools you use this month.
SKIPCognition valued at $78B, Baseten at $30B
A funding round does not change what Devin or any other agent can do for you.

FROM THE FIELD

Agent Tool Design Belongs in Your Harness Audit, Not Prompt Tips
The post argues tool design belongs in your harness audit. Sourcegraph's request_key is the same fix: one parameter that makes a retried write safe.

60 sources read. 184 items. 14 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:
Older → Of 400 test-passing agent attempts, only 172 were merge-ready
Powered by Buttondown, the easiest way to start and grow your newsletter.