Engineering work split across agents
Give Gemini 4 Carbon the goal and the repository layout, and have it divide the work into tasks that do not touch the same files, hand them to faster models, and review each result. Run the full test suite after every merge, not only at the end.
Example: How should this refactor be divided?
Material
- Task
- Replace the hand-written HTTP client with the shared client library in the billing, orders and notifications services.
- Repository
- All three services import retry.py from a common/ folder; the shared client library has its own retry logic.
PromptSplit this refactor into tasks that can run in parallel without touching the same files, say which task must go first, and list what to verify after each merge.
Sample answer · written by hand to show the reasoning
Do common/ first: keep retry.py in place but mark it deprecated, so the three services still build. Then billing, orders and notifications can each be migrated in parallel by a faster model, because none of them edits another service’s files. After each merge, run that service’s tests and check that failed requests are retried once, not twice. Delete retry.py only after all three have merged.