Split a feature into verifiable changes
medium 12 minChoose a task boundary that can be demonstrated, reviewed and reverted on its own.
Theory
Read or listen first. About 1 min.
What it is
Two agents are asked to implement checkout in parallel. One changes the meaning of a hold ID while the other writes cancellation against the old meaning. Both local branches pass.
Why it exists
Split by behavioral dependency. Agree the hold identity and its replay contract first. Make a small claim work end to end; only then parallelize independent consumers of that stable contract. A branch is a source-control boundary, not automatically a behavior boundary.
- 1Agree IDSame key + same intent = same hold
- 2Prove claimOne debit after two requests
- 3Build callersCancellation and receipt can now use the agreed ID
- 4IntegrateClaim, retry and cancel through one fixture
Understand it
Work through the decision
Split by layer when contracts already exist and each component has a meaningful independent test.
Split by observable behavior when interfaces are still being discovered. A small vertical slice exposes mistaken assumptions earlier.
Give the agent a check
- Name prerequisites for each task, the expected command and the state it should observe. Verify the first slice before dispatching the next.
The shortcut
- Assign every folder to a different agent and merge them all at the end.
What a reviewer can hear
| Signal | Example |
|---|---|
| Weak | Assign every folder to a different agent and merge them all at the end. |
| Competent | The representation and meaning of a committed hold ID plus one replay example. |
| Strong | A normal entry-point trace that crosses both changes, plus the independent evidence from each task. |
Summary
The whole topic in one minute.
A task is small enough when you can point to its proof.