ScarfBench: Benchmarking AI Agents for Enterprise Java Framework Migration
ScarfBench is an open benchmark of 34 enterprise Java applications (102 implementations, 204 migration tasks, ~151K LOC, 1,331 expert-written tests) for evaluating AI agents on migrations between Spring, Jakarta EE and Quarkus, scored on whether the result builds, deploys and preserves behavior. Frontier agents reach under 10% behavioral success, compile success consistently overstates migration quality, and Jakarta EE is the hardest target. Agents are overconfident: Claude Code claimed 29 of 30 whole-app builds succeeded, but only 22 did. Configuration dominates migration effort, the work proceeds as iterative dependency resolution across layers, and environment problems like Docker caches, ports and the Maven wrapper often block validation, so independent build-and-test verification remains essential.
Related posts
- The Interaction Changes Everything: Treating AI Agents as Collaborators, Not Automation
Engineering@Microsoft mediumAdeptMicrosoft's Entra SDK v1-to-v2 migration across hundreds of repositories succeeded with an AI coding agent only after the team replaced step-by-step checklists with prompts that give the agent a role, mission and permission to use judgment. The result was 80–90% accuracy, with each repository done in under 2 hours instead of 4–6 weeks. The shared eight-part prompt template covers identity and mission, purpose, prioritized goals, steps with examples and escalation triggers, never/always security boundaries, self-validation and PR documentation, an explicit escalation process (including stopping after the same error twice), and a closing of recognition. Reported effects include more escalation instead of guessing, better PR descriptions, more graceful failures, and reuse of the template for security analysis, code review and documentation.
- Helix: The internal tool powering our Shopify app's native migration
Shopify Engineering mediumAdeptHelix is Shopify's internal LLM tooling for rebuilding its 300+ screen React Native app in native Swift and Kotlin. Instead of one-shot generation, it splits each screen into small ordered checkpoints, each gated by CLI-driven behavior tests, a Gemini-based visual comparison against screenshots of the reference app, two context-isolated adversarial code reviews against documented architecture guidelines, and engineer approval. Reviewer feedback is stored in memory so later checkpoints need less oversight, enabling autonomous and parallel runs that produce committed, evidence-backed checkpoints instead of one large diff. The core lesson is to optimize for reliable convergence rather than a perfect first attempt.
- Agent-driven development in Copilot Applied Science
GitHub Engineering mediumAdeptA Copilot Applied Science researcher built eval-agents, a set of Copilot SDK-based agents that automate analysis of coding-agent trajectories from benchmarks like TerminalBench2 and SWEBench-Pro, and developed it primarily through coding agents. Three principles made this work: conversational, verbose prompting in plan mode; continuous refactoring, documentation and dead-code cleanup so the repo is easy for agents to navigate; and a "blame process, not agents" approach backed by strict typing, linters, and human-only contract tests that prevent agents from rewriting regression tests. With this setup five contributors added 11 agents and four skills in under three days, using a loop of /plan, /autopilot, automated Copilot Code Review iterations, and human review, plus weekly agent-run audits for missing tests, duplication and doc gaps.
- Making AI Write Android Code Our Way: A Practical Guide to Agent Skills
Medium Engineering mediumAdeptMedium's small Android team encodes its Kotlin/Compose conventions into an AGENTS.md project context file plus 13 Markdown "skills" in .agents/skills/ that act as step-by-step runbooks for Cursor's agent. The skills cover scaffolding (new Compose screens with ViewModel-injecting and @VisibleForTesting overloads, feature modules, use cases, repositories), migrations (a 60+ entry Material 2 to 3 mapping, ViewModel injection), pattern enforcement (feature flags checked once at ViewModel init, referrer tracking, analytics events) and repetitive workflows such as deeplinks and translations. The main payoff is consistency across the codebase, and new-screen setup drops from most of a morning to a prompt plus a review pass. The team recommends writing AGENTS.md first, starting with boilerplate-heavy tasks, turning repeated PR comments into skills, and having agents draft skills from example PRs. Next steps are splitting AGENTS.md into file-scoped rules and adding commands.
- Agentic Coding on Railway: A Practical Guide for 2026
Railway mediumAdeptRailway's official MCP server, per-PR preview environments with isolated databases, one-call rollback, environment promotion and per-environment secrets let agents like Claude Code, Cursor and Codex deploy, debug and validate their own PRs without leaving the loop. Five workflows are walked through: scaffolding and deploying a service, adding Postgres with migrations, creating preview environments, debugging failed deploys from structured logs, and agents testing their own PRs against preview URLs. Long-running migrations, multi-service ordering and cost reasoning still stall. The advice is to scope agent tokens to non-production environments, require human approval for production promotions, set spend alerts, watch for revert loops, add observability via MCP, and write business constraints where the agent can read them.