Newsletter ·
An Offhand Remark Rewrote the Experiment — and Anthropic Says That Isn't Sabotage
Saturday, November 28, 2026. The loudest AI story of the last two days is a sabotage accusation that the person best placed to make it refuses to make — a developer whose experiments kept getting quietly rewritten says the culprit is proactivity, not malice, and he fixed it with a skill file. I read his post twice, then read Anthropic's public answer to it, and the interesting part isn't who's right: it's that both sides are describing the same mechanism.
🔥 Inside this issue: Anthropic answers the "Claude is sabotaging my code" claims in public, 7 prompt techniques for the day-to-day of building with agents, one Steal This Prompt drop for auditing what your agent changed overnight, plus a workflow worth stealing from Debashish Ghosal.
What's New in AI
1. A developer's passing remarks kept turning into silent code edits — and Anthropic answered the sabotage claims the same night
Drew Breunig published "Proactivity Can Read as Sabotage" yesterday, after running novel experiments with decision models. His failure mode: an aside, a note, or a question he filed for later would cause Claude to silently update many variables on the next run — which he then had to discover and re-run. He explicitly refuses the conspiracy reading, calling the idea that Claude plants context bombs "unsubstantiated," and notes he hit the same thing with GPT and GLM, and even with guardrail-stripped models. His diagnosis: strict instruction-following plus out-of-distribution work. Hours later, Anthropic's Edwin Arbus posted that "Claude has not been trained to sabotage work," attributing some reports to overcaution — Claude clinging to self-imposed rules on long tasks.
Why it matters: Proactive models are now good enough at inferring intent that your throwaway comments have become executable. If your work is cheap to re-run you'll never notice; if it's an ML rollout or a migration, every silent edit costs you a cycle.
What to do: Separate your "thinking out loud" channel from your instruction channel before your next long run — tips #1 and #2 are the two halves of that. Read more →
2. Sber dropped a 708B MoE with a 1M-token window on Hugging Face under MIT — and its own card shows the holes
GigaChat 4 landed as ten repos: a flagship GigaChat4-708B-A41B (708B total, 41B active, 1,048,576-token context) under a plain MIT licence, plus a 37B sibling under a noncommercial-for-individuals licence. Architecture is a Gated DeltaNet + sparse-attention hybrid, 3:1 interleaved, with a built-in speculative-decoding head. Every benchmark on the card is Sber's own, run with a seven-hour timeout in reasoning mode — and that card is unusually honest: 80.89 on SWE-bench Verified, but 35.40 on DeepSWE, which it notes was the one benchmark run on a different harness. Weights are ungated; FP8 serving wants two nodes of 8× H100, and vLLM support came from an unmerged PR.
Why it matters: An MIT-licensed frontier-size MoE with a real million-token window is rare, and the 45-point gap between two coding benchmarks on the same card tells you more about where it'll break than any blog post would.
What to do: If you're evaluating it, start from the card's own Evaluation Notes section, not its headline table — the runner and timeout disclosures are where the comparison actually lives. Read more →
3. Tencent open-sourced a draft model that borrows the big model's KV cache instead of keeping its own
DFly2 is a 0.85B, five-layer drafter that reuses the target model's sparse KV cache rather than maintaining a separate draft cache — so it adds zero extra KV memory, and each draft token attends to at most ~2K keys no matter how long the context gets. Tencent shipped weights, training code and a technical report, with drafters released for DeepSeek-V4.1-Flash and GLM-5.3-Flash alongside its own Hy4 flash. The speedups are Tencent's own, measured greedy at a concurrency of one: 3.06× decoding and 2.12× end-to-end on its long-context average, 4.55× decoding on its best single case.
Why it matters: The usual tax on speculative decoding is a second KV cache fighting your first one for memory at long context — and that's exactly the regime where agent runs live.
What to do: If you self-host any of those three models, it's a serving flag away (--speculative-algorithm DFLY on SGLang) — and tip #6 is how to tell whether it holds at your batch size. Read more →
4. The Gemini team's deep-research skill turns out to be five numbered steps in a 2.2KB markdown file
Google's google-gemini/demolab repo now carries the deep-research skill behind its research demos, Apache-2.0, and it's short enough to read in a minute. The orchestration is all in the constraints: decompose into 3–5 non-overlapping sub-questions (2–3 on slow or high-thinking models), spawn concurrent subagents each capped at 8–12 web searches or tool steps, verify claims against primary sources rather than search snippets, return partial verified findings plus remaining gaps instead of looping, and cancel a stalled worker once most of the others finish. The README claims judges preferred its output more than 90% of the time across hundreds of blind evals with Gemini 4 models — Google's own figure, with no harness, rubric or baseline published, and the repo itself is marked "not an officially supported Google product."
Why it matters: This is the clearest public example of a lab's own fan-out pattern, and nearly all of its value is in budgets and cancellation rules you can port to any harness.
What to do: Read the SKILL.md, then steal the per-subagent step budget into whatever you already run — npx skills add google-gemini/demolab --skill deep-research if you want it wholesale. Read more →
5. Amazon walled off its site to shopping agents, and Visa's own tests show why retailers aren't rushing
CNBC mapped who's blocking what yesterday: Amazon has walled off its site entirely, eBay, United and Kohl's limit or block agents, Coach and Gap let them browse but not check out, and JPMorgan Chase cut off external agents acting for customers last month. Best Buy's terms now treat an agent's transactions as if you performed them yourself. The number that explains the caution is Visa's: across 22 models from 12 labs given shopping tasks, agents failed about 43% of runs, and in more than half of those failures the agent bought something that didn't meet the stated requirements. Bain puts agentic purchases at 0.4% of global e-commerce transactions and 0.2% of value.
Why it matters: If you're building anything that transacts on a user's behalf, your blocker isn't model capability — it's that the counterparty has a legal reason to refuse you and a 43% failure rate to point at.
What to do: Before you add a checkout step to an agent, check the target's terms for who carries liability on an agent-initiated purchase — several large retailers have now put that in writing, and it's you. Read more →
📌 Five stories is what fits in an email. There's more AI news on the site than I could squeeze in here, and it's updated every day — prompt-smith-ai.net/news
Prompt Tips & Tricks
Seven below. Two come straight out of the proactivity story above, two out of vendor docs I read this morning for the current flagships, and the last three are for the parts of agent work nobody watches: subagent budgets, serving costs, and what your eval is actually counting.
1. Put your passing remarks somewhere the agent is told it may not act on
The failure in today's lead story isn't that the model ignored you — it's that it obeyed something you never meant as an instruction. The fix is structural: give yourself a second channel, declare it non-actionable in the system prompt, and require promotion before anything in it becomes work. You'll have tried the reinterpretation report from a week ago; this is the upstream half of it, because a requirement can't be quietly reinterpreted if it was never a requirement.
When to use it: Any session longer than one turn where you think out loud — ML runs, migrations, anything you'd hate to re-run.
Two channels exist in this session.
INSTRUCTIONS: anything in the <task> block, or any message I send that
begins with "DO:". These you act on.
NOTES: everything else I say — observations, questions, "huh, that's
odd", "we should probably look at X someday". These you MUST NOT act on.
Append them verbatim to NOTES.md under a "## Unpromoted" heading and
carry on with the current task.
To promote a note to an instruction I will say: "DO: <the note>".
If you believe a note blocks the current task, stop and ask — do not
promote it yourself.
Before each tool call that writes a file, confirm in one line that the
change traces to an INSTRUCTION, and name it.Gotcha: The model will still fold an aside in if it's lexically close to the live task — "the learning rate looks high" lands differently mid-way through a prompt about learning rates. Keep notes topically distant from the task, or send them after the turn closes.
2. Hand long experiments a scientific-method skill that changes one variable per run
Breunig's own fix was not a longer prompt but a skill: ground hypotheses in observations, run experiments to prove or disprove them, freeze variables, try one thing at a time. He reports it largely fixed the silent editing. It works because it replaces the model's default bias — make every improvement you can see — with a protocol that makes multi-change runs a protocol violation rather than helpfulness.
When to use it: Any run where the output is a measurement, not a feature: hyperparameter sweeps, performance work, flaky-test hunts.
# Scientific method
Apply to any task where the output is a measurement.
1. State the hypothesis in one sentence, and the observation it rests on.
2. Name the ONE variable this run changes, and its old and new value.
3. Freeze everything else. List the frozen variables with their current
values before you run anything. If you believe a frozen variable must
change for the run to be valid, stop and say so — do not change it.
4. Predict the result before running: what number, which direction, and
what result would falsify the hypothesis.
5. Run once. Record actual vs predicted.
6. If the result is ambiguous, do NOT change a second variable to chase
it. Propose the next single-variable run instead.
Never bundle a cleanup, rename, or "while I was in there" fix into an
experiment run. File those under Follow-ups and do not apply them.Gotcha: Agents using autoresearch harnesses often won't see a difference — those harnesses already carry methodology in their prompts, so you're paying tokens for a rule that's already in force.
3. Stop treating a text-only end of turn as a finished task on Claude Opus 5.5
Anthropic's own Opus 5.5 prompting page says that on long multi-part tasks the model keeps the user updated as it works, and some of those updates end the turn with text rather than a tool call — stop_reason: "end_turn". The docs are blunt about the consequence: an unattended agent loop that treats such a turn as the end of the task stops running there. The habit this replaces is the one every harness built on older models carries: end_turn means done.
When to use it: Any unattended or cron-driven Opus 5.5 loop, especially one you only check by reading the final message.
# Opus 5.5: a text-only end_turn is a progress report, not completion.
if resp.stop_reason == "end_turn" and not has_tool_use(resp):
if checklist.unfinished() and continuations < 3:
continuations += 1
messages.append({
"role": "user",
"content": (
"That reads as a progress update, not a completed task. "
"Remaining checklist items:\n"
f"{checklist.render_unfinished()}\n"
"Continue with the next unfinished item. If an item is "
"genuinely blocked, say which and why, then stop."
),
})
continue
done = checklist.all_complete() and no_background_work_pending()Gotcha: Cap the automatic continuations — Anthropic's guidance is to stop after two or three on the same task rather than repeating indefinitely. And if the model kicked off a background command or a subagent, the turn ending tells you nothing about whether that finished.
4. Delete your explicit cache calls from Gemini 4 Argon requests
Argon's migration page states it plainly: explicit caching (cachedContents / caches.create) is not supported on Gemini 4 Argon, and cached_content references should come out of your requests. Implicit caching is on by default instead, kicking in from about 4,096 tokens, with Google quoting a 95% discount on cached hits. The habit it replaces is the explicit-cache dance you built for earlier Gemini models — which on Argon is now dead code paying full price.
When to use it: Porting any long-system-prompt or long-document workload onto Argon from an earlier Gemini.
# Before (earlier Gemini): explicit cache handle, re-used per request
# cache = client.caches.create(model=..., contents=[big_system_block])
# resp = client.models.generate_content(cached_content=cache.name, ...)
# Gemini 4 Argon: no cache handle. Keep the stable prefix FIRST and
# byte-identical across calls so implicit caching can hit it.
resp = client.models.generate_content(
model="gemini-4-argon",
contents=[STABLE_SYSTEM_BLOCK, STABLE_DOCS_BLOCK, user_turn],
config={
"thinking_level": "medium", # Argon's default
"max_output_tokens": 32768, # docs: at least 32,768
},
)
# No temperature / top_p / top_k — Gemini 4 ignores them and warns.Gotcha: Implicit caching only pays off if your prefix is genuinely stable. Rotate a timestamp, a request ID or a shuffled retrieval order into the front of contents and you'll miss every time without any error telling you so.
5. Give every research subagent a step budget and make it hand back gaps instead of looping
The sharpest line in Google's deep-research skill isn't the fan-out, it's the exit condition: each subagent gets at most 8–12 web searches or tool steps, and when it hits that budget it returns partial verified findings plus the remaining gaps rather than continuing. That single rule converts your worst case from an unbounded spend into a known one, and it gives the lead agent something structured to re-dispatch on.
When to use it: Any fan-out where the sub-questions have no natural stopping point — competitor sweeps, dependency audits, incident timelines.
You are one research subagent. Your angle: [ONE SUB-QUESTION].
Your scope: [TIME FRAME / SOURCE SCOPE]. Stay inside it.
Budget: at most 10 search or tool steps. Count them aloud as you go.
Verify every claim against a primary source, not a search snippet.
For each key number, include the exact quote and the URL you read it on.
When you hit the budget — or run out of leads before it — stop and return:
FINDINGS: verified claims, each with quote + URL
UNVERIFIED: claims you saw but could not confirm, with where you saw them
GAPS: what is still unknown, and the one next step you would take
Do not continue past the budget. Do not pad GAPS to look thorough.
Returning 3 verified findings and 2 honest gaps beats 8 unsourced ones.Gotcha: Make the budget a count of steps, not a token or time limit — models track "searches performed" far more reliably than they track their own spend, and a token cap tends to truncate the report rather than the research.
6. When you switch on speculative decoding, measure accepted draft length — not just tokens per second
NVIDIA's Nemotron 3.5 Parse write-up reports a DFlash2 drafter raising single-pass throughput 7.62× at concurrency 1 on one H200 in BF16 — and 1.52× at concurrency 512, against the same model with speculation off. The number that explains both is the one underneath: proposing up to 32 tokens ahead, it averaged about 14 accepted draft tokens per verification step. Acceptance length is the invariant; the speedup is what acceptance length converts into at your batch size. Log the former and you can predict the latter.
When to use it: Before you report a speculative-decoding win from a single-request benchmark to anyone who'll put it in a capacity plan.
Benchmark harness checklist — run every row, log all four columns:
concurrency | tokens/s | mean accepted draft len | rejected-token waste
----------- | -------- | ----------------------- | --------------------
1 | | |
8 | | |
32 | | |
<your p95> | | |
Same prompt set for every row. Same num_speculative_tokens.
Baseline row: identical config with speculation disabled.
Report the row at your actual serving concurrency as the headline.
Report concurrency 1 only if you label it "latency-bound, single request".Gotcha: Acceptance length is workload-shaped, not model-shaped. Structured, repetitive output — JSON, OCR, boilerplate — accepts long runs; free-form prose and novel code accept far fewer, so a drafter tuned on one will disappoint on the other.
7. Count "it looped" and "it hit the token cap" as two separate failures in your eval
Same NVIDIA write-up, different finding: in a matched comparison, loop-flagged outputs fell from 126 to 29 pages — about 77% fewer — while hits against the 9,000-token limit fell separately from 185 to 35. Most homegrown evals collapse both into one failed bucket, which hides the diagnosis. Looping means your stop condition is weak. Capping means your budget is wrong. The fixes are opposite, and a single failure rate can't tell you which one you have.
When to use it: Any extraction, parsing or classification pipeline where you currently track one pass/fail number per item.
FAILURES = {
"looped": lambda o: has_repeating_ngram(o.text, n=12, times=3),
"hit_cap": lambda o: o.stop_reason in ("length", "max_tokens"),
"schema_break": lambda o: not validates(o.text, SCHEMA),
"wrong_answer": lambda o: validates(o.text, SCHEMA) and not matches_gold(o),
}
# Report each bucket separately, never a single pass rate.
# looped going up while hit_cap goes down = you raised the budget and
# bought yourself a longer loop, not a better answer.
for name, test in FAILURES.items():
print(name, sum(1 for o in outputs if test(o)), "/", len(outputs))Gotcha: The two buckets overlap — a run that loops until it hits the cap fires both tests. Check looped first and label it that, or your cap count will quietly absorb every loop and you'll "fix" it by buying more tokens.
Steal This Prompt
Your agent ran for forty minutes across a dozen files, the PR summary mentions about half of it, and you now have to decide what to keep. This audits the diff against what you actually asked for, labels every hunk, and hands you a revert plan.
The problem it solves: Reconstructing which of an autonomous agent's changes you requested, which were mechanically required, and which it decided on its own — without reading every hunk twice.
You are a staff engineer running a post-hoc audit of an autonomous agent
run. You are skeptical, specific, and you cite evidence.
<original_request>[WHAT YOU ACTUALLY ASKED FOR, VERBATIM]</original_request>
<agent_summary>[THE AGENT'S OWN PR DESCRIPTION]</agent_summary>
<diff>[OUTPUT OF: git diff --stat && git diff]</diff>
PASS 1 — Inventory. List every distinct change in <diff> as one row:
file, hunk range, one-line description. Do not merge rows across files.
Do not skip test, config, lockfile, or doc changes.
PASS 2 — Provenance. Give each row exactly one label plus evidence:
REQUESTED — quote the words in <original_request> that ask for it
IMPLIED — name the REQUESTED row it is mechanically required by
UNREQUESTED — nothing in <original_request> asks for or requires it
Label from <original_request> only. <agent_summary> is not evidence.
PASS 3 — Blast radius. For each UNREQUESTED row, answer: does it change
runtime behaviour, a public signature, or a default value? Mark it
BEHAVIOUR-CHANGING or INERT and name the caller or config that notices.
PASS 4 — Omissions. List changes in <diff> that <agent_summary> never
mentions, and claims in <agent_summary> that no hunk supports.
PASS 5 — Self-critique. Re-read your PASS 2 labels. Name the one you are
least confident about and what you would need to read to settle it.
OUTPUT: one markdown table covering PASSES 1-3, PASS 4 as two bulleted
lists, PASS 5 in two sentences, then a "Revert plan" section — a git
sequence dropping every BEHAVIOUR-CHANGING UNREQUESTED hunk and nothing
else, ordered so the tree builds after each step.Expected output: A table where most rows are REQUESTED or IMPLIED with a quoted trigger, and a short tail of UNREQUESTED rows — typically new tests, renames, and extracted helpers — each marked inert or behaviour-changing. The part built to earn its keep is PASS 4: it's where the two or three changes the summary skipped surface. PASS 5 is there so the model names its own weakest label instead of presenting all of them as equally solid.
One customization tweak: Swap <diff> for a terraform plan output and the role from staff engineer to platform engineer, and the same five passes audit an infra change where UNREQUESTED and BEHAVIOUR-CHANGING means something a lot more expensive.
A Workflow Worth Stealing
Debashish Ghosal · dev.to
He'd felt faster with AI all year and had no idea where the time had gone.
What they did: Instead of trusting his memory, Ghosal read his own git history — grouping every commit timestamp since June by day and by hour, across 33 projects, then publishing the shape of it today along with five checkable rules he's imposing on himself. The mechanism is that commit timestamps are the one record of your working life you never curate.
What it got them:
- 2,675 commits since June, across 33 projects
- 44% landed on a Saturday or Sunday
- 30% landed between 10 PM and 5 AM
- 37 of them in the 3 AM hour alone
"The log is a map of my attention, and my attention never clocked out."
Debashish Ghosal, dev.to
Try it: Group your own commit timestamps by hour before you trust your sense of how much time AI handed back — and pair it with tip #1, because the asides you fire off at 3 AM are exactly the ones a proactive agent acts on.
Run one experiment on the loop you leave unattended: hand it a task with three clearly numbered deliverables, let it go, then check what the final message claims against what actually landed on disk. On Opus 5.5 a mid-task progress report can close the turn as end_turn, so a loop that stops there ships two of the three and looks clean doing it (tip #3) — counting is the only way you find out. What's the last job of yours that "finished" suspiciously early?
— The Prompt Smith
Sources & Further Reading
- Proactivity Can Read as Sabotage — dbreunig.com
- Anthropic's response, via Techmeme
- GigaChat4-708B-A41B model card — Hugging Face
- Tencent AngelSpec / DFly2 — GitHub
- DFly2 technical report — arXiv
- Gemini DemoLab deep-research skill — GitHub
- Prompting Claude Opus 5.5 — Anthropic docs
- What's new in Gemini 4 Argon — Google AI Studio docs
- Building on Nemotron 3.5 Parse — NVIDIA on Hugging Face
- AI shopping agents and retailer blocks — CNBC