Coding-agent production loops
Agentic development is being described as a production system with measurable gates. The software-factory proposal defines a loop that accepts customer requests, designs and implements changes, runs tests, and deploys with humans used for stop buttons and selected review. Its practical advice centers on project contracts, AGENTS.md-style instructions, tiered validation, agent-run test environments, and feedback capture from reviews and incidents.
Claude Code v2.1.172 adds a lower-level control point. Nested sub-agents can now spawn sub-agents up to five levels deep, with each frame keeping its own prompt, model choice, and 200K-token context window. That helps isolate noisy work such as log search. It also adds cost risk: the article cites 7x token overhead per branch per level, a user hitting 887,000 tokens per minute, and a reported $47,000 invoice after 23 sub-agents ran for three days.