# Beyond the Prompt: Engineering the Loop for Software Change at Scale

DevFeed: [Beyond the Prompt: Engineering the Loop for Software Change at Scale](<https://devfeed.tech/articles/beyond-the-prompt-engineering-the-loop-for-software-change-at-scale-102660.md>)

Original publisher: [Read original article](<https://medium.com/expedia-group-tech/beyond-the-prompt-engineering-the-loop-for-software-change-at-scale-9ac26e3b2706?source=rss----38998a53046f---4>)

Author: Karthik Bedre

Published: 2026-10-27T11:01:01Z

Content type: article

Language: en

Sources: [Expedia](<https://devfeed.tech/sources/expedia.md>)

Topics: [Loop Engineering](<https://devfeed.tech/topics/loop-engineering.md>), [Code Modularity](<https://devfeed.tech/topics/code-modularity.md>), [agentic-coding](<https://devfeed.tech/topics/agentic-coding.md>), [Test automation](<https://devfeed.tech/topics/test-automation.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [human in the loop agent](<https://devfeed.tech/topics/human-in-the-loop-agent.md>)

Tags: [agent](<https://devfeed.tech/tags/agent.md>), [agentic](<https://devfeed.tech/tags/agentic.md>), [agents](<https://devfeed.tech/tags/agents.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [build](<https://devfeed.tech/tags/build.md>), [cadence](<https://devfeed.tech/tags/cadence.md>), [ci](<https://devfeed.tech/tags/ci.md>), [code](<https://devfeed.tech/tags/code.md>), [coding](<https://devfeed.tech/tags/coding.md>), [coding-agents](<https://devfeed.tech/tags/coding-agents.md>), [coding-assistants](<https://devfeed.tech/tags/coding-assistants.md>), [compile](<https://devfeed.tech/tags/compile.md>), [component](<https://devfeed.tech/tags/component.md>), [components](<https://devfeed.tech/tags/components.md>), [context](<https://devfeed.tech/tags/context.md>), [cycles](<https://devfeed.tech/tags/cycles.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [developer-productivity](<https://devfeed.tech/tags/developer-productivity.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [ios-development](<https://devfeed.tech/tags/ios-development.md>), [llm](<https://devfeed.tech/tags/llm.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [scale](<https://devfeed.tech/tags/scale.md>), [software](<https://devfeed.tech/tags/software.md>), [software-engineering](<https://devfeed.tech/tags/software-engineering.md>)

## AI overview

Expedia Group reports completing an iOS modularization estimated at roughly two years in about three months while maintaining Monday releases and avoiding a code freeze. Its approach paired an agent-driven Analyze-Decide-Act-Verify-Memory-Route loop with a Modularization MCP for persistent state, deterministic repository analysis, package changes, builds, tests, and reuse of verified fixes. Build and test gates defined completion; human input was reserved for consequential architectural choices, and one complex migration ran over eight hours before its first such decision. The article reports medium-to-complex domain migrations shrinking from about four months to under three days, focused builds from 15 to 2 minutes, and CI build/test time from 45 to 11 minutes. It argues that durable state, executable evidence, recovery, cost controls, and escalation boundaries make agent autonomy more reliable than prompts or skills alone.

## Source excerpt

Expedia Group Technology -- EngineeringHow Expedia Group compressed an estimated two years of iOS modularization into about three months while shipping weeklyPhoto by Queensland, Australia on Unsplash The first wave of coding assistants trained us to think in prompts: describe a task, generate code, review the result. Reusable skills made that interaction more repeatable. They packaged instructions, conventions, and tools so an agent could perform a familiar task more consistently. The hard part of large-scale engineering sits between code changes: hidden dependencies, incomplete context, build failures, test regressions, architectural decisions, ownership boundaries, and a codebase that keeps moving while the work is underway. Generating a change is only the first step. The system still has to carry progress across hours of execution, repeated failures, changing state, and human decision points. For that, we need a Loop. A prompt provides direction. A skill packages reusable capability. A sub-agent provides bounded execution and context isolation. The Loop is the operating model. At Expedia Group™, that distinction became the foundation for a major modularization program inside our Shared iOS Components Stack. Work initially estimated at roughly two years was completed in about three months. We did it without a code freeze, and our Monday release cadence stayed intact. In one complex-domain migration, the loop ran autonomously for more than eight hours before requesting its first human architectural decision. We got there by treating coding agents as one component of a deliberately engineered system. Three engineering north stars shaped the program: Prepare workspaces for the agentic era: create smaller, faster, isolated workspaces with clear ownership and dependency boundaries that can compile independently Shorten every feedback loop: let developers and CI build and test the smallest meaningful piece Improve developer flow: turn faster build cycles into less codin