Shows how to roll out a large agent-harness change to millions of users without staged marketplace releases, including what broke the first time. Useful for anyone shipping agent updates at scale.
Key takeaways · AI-distilled
Cline shipped the legacy and new extensions in one package behind a small loader that picks a bundle per window from a cached PostHog flag, falls back to legacy and pins the machine if the new one fails activation, and uses the flag as a kill switch.
Since one VS Code extension gets one manifest, Cline's build generates a union package.json from both bundles, gates single-bundle commands behind a loader-set Context and context windowContext is the information available for a generation; the context window is the capacity available to hold it.Full definition → key, and hard-fails if views or settings schemas diverge.
Cline recommends instrumenting the old system before comparing: they added task.mistake_limit_reached to the legacy HarnessThe software that sends a model its context, recognizes tool calls, runs or refuses them, returns results and keeps the record.Full definition → with identical semantics, then held near a 50/50 split for over a week as their cleanest A/B window.
With cohorts near 50/50, tasks hitting the three-mistakes-in-a-row limit fell from 6.34% on the old harness to 0.62% on the new one, with per-ModelA computational system that uses learned patterns to produce an output from information supplied to it.Full definition → drops ranging from 6x to 11x.
Cline attributes the gap to the 2024 harness parsing XML ToolAn operation that the software around a model makes available for the model to request, with a name, expected inputs and a kind of result.Full definition → calls from text, built for Claude 3.5 Sonnet, which taxes 2026 models trained to call tools natively with format errors, parse failures, and retries.
Terms in this piece · Glossary
Harness — The software that sends a model its context, recognizes tool calls, runs or refuses them, returns results and keeps the record.
Context and context window — Context is the information available for a generation; the context window is the capacity available to hold it.
Model — A computational system that uses learned patterns to produce an output from information supplied to it.
Tool — An operation that the software around a model makes available for the model to request, with a name, expected inputs and a kind of result.