Wednesday, 2 December 2026No. 6Updated 07:45 EET
New viewRSSby Nikos SiderisAbout

Diff of the Day

What changed in AI today, for engineers who build with it

Top stories · ranked by conversation

No. 1 today

Claude Code makes a 400K auto-compact the default for most 1M-window models, to cut usage on long sessions

Lydia Hallie posted on Dec 1 that a 400K auto-compact is rolling out as the default for most 1M models, which should lower usage in longer sessions. You can keep the full 1M window with the /autocompact 1m command or in /config. The post gives no measurement of the saving, so test it on your own long runs; it sits next to the cache-pause numbers above as another lever on the same bill.

diff --git a/yesterday b/2026-12-02

Ideas to try

Side projects from today's reading

Each idea comes from today's stories and ships with an agent-ready spec: goals, scope, requirements with acceptance criteria and build steps. Hand it to Claude Code, Codex or Cursor and start building.

Cost· One evening

Measure your own prompt-cache pause bill

Requesty's 30-day study of coding-agent traffic says 23.1% of a Claude bill went to rebuilding expired caches against 9.3% for GPT, and breaks of 5 to 30 minutes alone took 15.2%. The data is from Requesty's own customers, so your share may differ. Your usage logs can show your own number in an evening, and decide whether keep-alive pings or a longer cache are worth it.

  1. Export one week of per-turn usage from your agent logs: time, input, cache read and cache write tokens
  2. Mark a pause miss: a gap over 5 minutes where under 10% of the previous prompt came from cache
  3. Price the misses and report their share of the total bill
  4. Replay the same week with a keep-alive ping and a 1-hour cache and compare
Already on GitHub
  • mag123c/toktrack★ 195 · 2026-12-01Ultra-fast token & cost tracker for LLM Token Usage (e.g. Claude Code)
  • inferock/inferock-bench★ 111 · 2026-08-17Local LLM cost-tracking proxy for OpenAI, Anthropic, Gemini, and pinned OpenRouter calls with token usage, failure, and billing-integrity re
  • chopratejas/tokview★ 80 · 2026-09-30See where your LLM tokens actually go — down to the individual tool call. A small, local, zero-config proxy + dashboard for token/cost track
  • oluwajubelo1/otellix★ 56 · 2026-11-04OpenTelemetry-native tracing, token tracking, cost attribution, and prompt analytics for Go backends integrating LLMs.
Tried by

Nobody yet. Tried it? Add the topics diffofday-spike and diffofday-20261202-1 to your public repo and it shows up here.

Build it with your agent
spec.md
Cost· One evening

Audit what is in your agent's first call

Krishnal Jadav measured an eight-day Claude Code run for a client: 14 sessions, 765 subagents and about 5.2 billion context tokens, half of them the same opening block resent on every call. Agent files that listed banned tools started at about 70K tokens, while files that listed allowed tools started at 15 to 17K. Those are his own measurements from one client, but the check is cheap: look at the first call, not the average.

  1. Capture the first request of a fresh session with a local logging proxy or your agent debug log
  2. Split it into system prompt, tool definitions, agent instructions and memory files, and count tokens for each part
  3. Rewrite one agent instruction file from a deny list to an allow list
  4. Measure the first call again and record the change
Already on GitHub
  • AMAP-ML/LongHorizon-Harness★ 1.9k · 2026-12-01The long-horizon computer-use harness. Run AI agents across desktop apps and the CLI for extended periods while preserving task state and ma
  • robonuggets/doctor-plus★ 89 · 2026-07-31Extended health check for Claude Code - runs /doctor, then audits your workspace against Anthropic's 6 then & now context-engineering shifts
  • iops-leo/claude-slim★ 42 · 2026-11-21Audit and shrink your Claude Code startup context. Measures what every skill, plugin, agent, and memory file costs in the system prompt, the
  • Mdshobu/Liberty-House-Club-Whitepaper★ 36 · 2022-04-22# Liberty House Club **A Parallel Binance Chain to Enable Smart Contracts** _NOTE: This document is under development. Please check regularl
Tried by

Nobody yet. Tried it? Add the topics diffofday-spike and diffofday-20261202-2 to your public repo and it shows up here.

Build it with your agent
spec.md
Evaluation· One weekend

Race bare Claude Code against skills and MCP on your own repo

Paul Iusztin built the same system in five setups with Opus 5.5 and found bare Claude Code passed 95.3% of tests with Inngest and 94.8% with LangChain, while adding skills, MCP and docs often lowered the score (for example 82.1% with everything on LangChain). Jellyfish finds the tool explains under 1% of engineer output. Both are one author's or one dataset's results, so run a small version on your own tasks before you add more context.

  1. Pick 5 small tasks from your repo that have a test or a script that decides pass or fail
  2. Define 4 setups: bare, skills only, MCP and docs only, and everything
  3. Run each task three times per setup with the same model and effort setting
  4. Report pass rate, cost and minutes per setup and decide which context earns its place
Already on GitHub
  • alexshpunt/explicit-edit-benchmark★ 39 · 2026-12-02Benchmark coding agents and agent harnesses on 226 deterministic file-editing tasks with byte-exact verification and a public leaderboard.
  • aws-samples/sample-agentic-coding-harness-benchmarks★ 23 · 2026-12-02Run Claude Code with any foundation model on Amazon Bedrock (43 models) or a self-hosted model on EC2. Includes a HumanEval benchmark.
  • vinilana/bench-my-harness★ 21 · 2026-07-02Benchmark and observability harness for comparing agentic coding tools under controlled, repeatable conditions.
  • Swival/calibra★ 17 · 2026-11-17A benchmarking harness for coding agents.
Tried by

Nobody yet. Tried it? Add the topics diffofday-spike and diffofday-20261202-3 to your public repo and it shows up here.

Build it with your agent
spec.md
Speed· One evening

Race ty 1.0 against your current Python type checker

Astral says ty 1.0 is ready for production, with 1.46x the command-line speed of Pyrefly by geometric mean, and OpenAI reports a median 24x speedup and 73% less peak memory after moving to it. These are Astral's and OpenAI's own numbers on their own code. A coding agent runs the checker after every edit, so a fast one shortens every loop. Measure it on your repo and look at the differences in what each tool reports.

  1. Run your current checker and ty on the same repo, cold and warm, and record time and peak memory
  2. Save each tool output and sort the findings into only ty, only the old checker, and both
  3. Read 20 findings from each only-group and mark each as real or noise
  4. Time one agent edit followed by a check with each tool
Already on GitHub
  • LF3551/python-type-checkers-benchmark★ 0 · 2026-12-02Reproducible 201-file Python type-checker benchmark (ty 1.0, Pyrefly, Zuban, Pyright, mypy)
  • webi-28/api-inspector-mobile★ 0 · 2026-11-25uilt a cross-platform mobile developer tool in React Native and TypeScript for composing HTTP requests, importing/exporting cURL commands, d
Tried by

Nobody yet. Tried it? Add the topics diffofday-spike and diffofday-20261202-4 to your public repo and it shows up here.

Build it with your agent
spec.md

From the big ones

What big tech ships, sized for your team

Big companies publish how they work. Each day one of their engineering posts gets a small-team version: the part that gives most of the value, buildable by one or two people, with a spec your agent can start from.

ShopifySmall-team version · Two days

Shopify gives agents tools that take the whole cart state and return the new one, and tests them against browser automation

What they did

Shopify registers WebMCP tools on every storefront and in Checkout so an agent calls a function with a schema instead of reading screenshots. Its cart tools take the full cart state and return the new state, and fail if the cart changed outside the tool. Completing checkout is marked as consequential so the buyer confirms it. In a Checkout benchmark the tools took 10.3 seconds per attempt against 27.4 for browser automation, cost 58% less and passed 60 of 60 attempts against 56 of 60.

Why it works for them

Shopify runs the browser vendor evaluation suite plus deterministic tests in CI and wraps every tool call with monitoring, so it can measure speed, cost and success against the browser-automation path.

Your small-team version

Expose two or three actions of your own web app as WebMCP tools that take the full state and return the new state, mark the one that spends money or deletes data as consequential, and measure the tools against a browser-automation agent on 20 attempts.

  1. Pick three actions of a small app and write a schema for each, with full state in and new state out
  2. Add an out-of-band change check that returns an error when the state moved
  3. Mark the one risky action as consequential and require a person to confirm it
  4. Run 20 attempts with the tools and 20 with a browser-automation agent and compare time, cost and success
Build it with your agent
spec.md

Must read

Things worth your time

  1. A Correctness Approach for Modern Systems SoftwareMarc BrookerA worked example of a Rust lock client checked by proof, model checking of 10,198,126 states, simulation and mutation testing, built with agents in about three hours of his time.
  2. It's Not the Model, It's YouJellyfish ResearchData from about 49,000 engineers says the tool explains under 1% of output and the person about 75%.
  3. Shipping WebMCP tools in storefronts and CheckoutShopifyReal numbers (2.7x faster, 58% cheaper, 60 of 60) and a tool design that survives repeated calls.
  4. Claude 5-minute prompt cache vs GPT 30-minute cache: the cost of pausesRequestyShows where a coding-agent bill goes when you stop to think, with a method you can repeat on your own logs.
  5. Securing Coding Agents with OpenShell and Databricks LakewatchDatabricksA sandbox with file and network policy plus an audit trail for every denied action; it admits the automated stop response is not yet validated for coding agents.

Signals

This week

  • The tool is not the lever4 items

    Jellyfish finds the model and harness explain under 1% of engineer output, bare Claude Code passes 95% of tests in Paul Iusztin's run, Matt Baxter says to measure per model, and IBM lifts CUGA from 19% to 52.8% with configuration alone.

  • The context bill4 items

    Requesty puts cache rebuilds after pauses at 23.1% of a Claude bill, Claude Code defaults to a 400K auto-compact, Krishnal Jadav shows a deny list costing about 70K tokens per call against 15 to 17K for an allow list, and Shopify cuts cost 58% by calling tools instead of driving a browser.

  • Open and fast4 items

    Amazon opens Ergo (1.1 trillion parameters), nvdriver is a Rust NVIDIA driver, ty 1.0 is a Rust type checker with a reported median 24x speedup at OpenAI, and a Rust engine runs a 27B model on Lambda.

  • Prove it, then trust it4 items

    Marc Brooker checks agent-written Rust with proofs and mutation testing, Shopify runs WebMCP tests in CI, cryptographers weigh a Lean-checked lattice result, and David Loker and Mat Szymczyk argue an agent summary is a claim, not evidence.

The feed

Everything else from today

Models & releases

New models, launches and comparisons

Agents & MCP

Agent design, memory, MCP

Coding agents & dev practice

Claude Code, Codex, Cursor and how teams work with them

Evals & verification

Benchmarks, evals, testing agent output

Infra, inference & tools

Serving, local models, tooling

Security & safety

Securing agents, misuse, safety

Research & applied ML

Papers, science, applied ML at scale

MCP

Use it from your AI tools

Diff of the Day is also a public, read-only MCP server. Connect it once, then ask your agent about today's AI news, search past editions or follow the trends.

Claude Code

claude mcp add --transport http diffofday \
  https://diffofday.com/mcp

Cursor, VS Code and other clients

{
  "mcpServers": {
    "diffofday": { "url": "https://diffofday.com/mcp" }
  }
}

Clients that only run local servers

{
  "mcpServers": {
    "diffofday": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://diffofday.com/mcp"]
    }
  }
}

Tools

  • latest_edition Today's top stories, must-reads and trends
  • ideas_to_try Side projects from the day's stories, with steps
  • small_team_playbook Big-company practices with a small-team version, searchable
  • get_idea_spec The agent-ready build spec for an idea or a playbook entry
  • build_idea A prompt: your agent fetches the spec and starts building. In Claude Code: /mcp__diffofday__build_idea
  • new_episodes New podcast episodes from the shows in Listen
  • get_edition Any past edition by date
  • search Full-text search across every story and link
  • list_trends The trend lines of recent editions

Try asking

  • Give me today's ideas to try and help me start the first one.
  • What changed in AI today that matters for a backend team?
  • Search Diff of the Day for MCP quota changes this month.
  • Which trends keep coming back over the last two weeks?

Prefer plain data? Use the RSS feed or the JSON API.

About

How this paper is made

What it is

A morning briefing on AI for software engineers. It leads with what everyone is talking about, turns the day's reading into side projects you can try, then collects the posts, repos and engineering blogs worth reading today.

Made and curated by Nikos Sideris. Follow me on LinkedIn for more.