Your Orchestration Layer Is Your Real Model — Scaffold Engineering Beats Model Selection by 36 Percentage Points
Three Independent Findings, One Conclusion
Three data points from unrelated teams this week converge on a single, uncomfortable truth: your model choice is a second-order variable in agentic system performance.
- Scaffold Effect: Claude Opus 4.5 scores 42% with one agent harness and 78% with another — identical model, identical task. That's a 36-percentage-point swing from orchestration engineering alone (prompt chains, tool routing, memory management, retry logic).
- Glob/Grep > RAG: Boris Cherny, creator of Claude Code at Anthropic, revealed the team explicitly tried local vector databases, recursive model-based indexing, and RAG for agentic code search. All failed on maintenance overhead, stale indexes, and permission complexity. Simple glob and grep outperformed every approach.
- Stripe's Domain Benchmark: On 11 full-stack payment integration tasks, Claude Opus 4.5 scored 92% vs GPT-5.2's 73% — but agents averaged 63 turns per task, meaning the harness handling those turns matters as much as the model answering each one.
Why RAG Lost in Claude Code
The Claude Code team's rejection of RAG deserves careful analysis. Their failure modes map to common ML pipeline pain points:
| Approach | Why It Failed | Maintenance Cost |
|---|---|---|
| Local Vector DB | Stale indexes, embedding drift after branch merges | High |
| Recursive Model Indexing | Permission complexity, compute cost | High |
| RAG (chunk + embed + retrieve) | Chunking artifacts, stale indexes | Medium-High |
| Glob + Grep | No semantic understanding (acceptable for structured corpora) | Near-zero |
The critical insight: for file-system-native corpora — codebases, ML pipeline repos, notebook collections — the operational complexity of vector DBs may not pay for itself. This doesn't invalidate RAG for unstructured knowledge bases, but it should make you prove your specific retrieval use case actually needs embeddings.
The Plan-Then-Execute Pattern
Cherny also described shipping 20-30 PRs per day using a two-phase pattern: start Claude in plan mode, iterate on the plan, then let it one-shot implementation. He reports correct implementations "almost every time." This aligns with chain-of-thought research showing decomposed generation outperforms monolithic generation. Combined with running 5 parallel agent instances across separate git checkouts, this is an orchestration-first workflow that treats the model as interchangeable infrastructure.
If you're A/B testing model providers without controlling for scaffold design, you're confounding two variables with very different effect sizes — the scaffold likely accounts for more variance than the model itself.
Code Quality as an AI Multiplier
Meta's internal causal analysis (led by Cherny before Anthropic) showed clean codebases have a "measurable, double-digit-percent impact on engineering productivity." He extends this to AI: partially-migrated codebases with multiple frameworks confuse both humans and models. Your technical debt is now an AI readiness problem.
What to do
Run ablation studies this sprint varying only your agent scaffold while holding the model constant — measure task completion rate, turns-to-completion, and error recovery across at least 3 scaffold variants
Benchmark glob/grep vs your RAG pipeline for code and notebook search on your ML codebase by end of sprint
Adopt the plan-then-execute prompting pattern for all LLM-assisted pipeline development and track first-pass acceptance rates
Track scaffold versions in your experiment tracking system (MLflow, W&B) alongside model versions starting this quarter