Daniel Lemire proposes 'ephemeral testing': judge your library by building throwaway layers with AI
lemire · x · 2026-10-05
Computer scientist Daniel Lemire proposes ephemeral testing, a software quality method that was unthinkable before AI agents:
- Write your component, then have an AI agent build applications or extra layers on top of it and test what it built. You assess not the original work directly, but the quality of software built on top.
- It's a form of integration testing where the upper layers are entirely throwaway.
- The signal: a library with a clean API, stable invariants, and useful errors lets agents produce working software quickly; hidden state, surprising defaults, or incomplete docs produce piles of patches and failures — and those failures are evidence about your code, not the agent.
- Repeatable across different agents and tasks on the same foundation.
- Instead of anticipating upper-layer needs while building the core, you simulate them by actually building them.
Lemire says he applies this trick across projects, prototyping what might later be built atop a proposed feature before committing to it.
More from coding & agent
- The viral vibe-coder SEO prompt: AI fixes the tech, but backlinks still take grinding — sujingshen · 2026-10-05
- Blender + Claude + Polyxd: swapping prompts for sliders to drive a 3D island scene live — sidahuj · 2026-10-05
- Borrowing aviation's controlled English (ASD-STE100) to strip AI fluff and fake completions — sujingshen · 2026-10-05
- Use Magpie CLI to check quotas and route sub-agents by urgency to save tokens — lxfater · 2026-10-05
- Give Claude real designer assets: 40 vetted resources to fix vibe-coded UI, says founder — PrajwalTomar_ · 2026-10-05
- Claude Opus 5.5 builds an interactive lens lab in one 1h26m shot for $25.66 — nikola_mr64990 · 2026-10-05