Skip to content
arula

Stage 525 minutesPairs301-P · Executable intent

Decompose so it survives Plan

Write the specification so it decomposes into four to eight file-scoped tasks, and split it when it does not.

You will produce

Decomposable spec

We will demonstrate

A spec that cannot be split produces a change nobody can review

Done when

Every criterion maps to work that could be reviewed on its own.

Sibling repository../payments-validation-fixture836a75dShared with course 301. You work from specs/product/payments.md rather than the diff.

Orient

Why this stage exists

Course 301 states that an oversized change is a planning problem no validation workflow can fix. The person who can fix it is the one writing the spec.

Four to eight tasks per spec is the target. Work that cannot decompose that far returns to specification rather than to a longer agent run.

Start from

What you start from

Work from these inputs only. Anything not on this list is either a later stage’s concern or a decision you do not own.

Acceptance contract
Your criteria from stage 3.
Scope boundary
What the slice excludes, from stage 4.
The cadence
One task is roughly 15 to 30 minutes of agent work and one reviewable diff.
Demonstrate

A spec that cannot be split produces a change nobody can review

One worked pass, so the shape of the work is visible before you do it on your own.

  1. Map each criterion to the work it implies.
  2. Estimate the files each piece of work would touch.
  3. Mark any criterion whose work cannot be reviewed on its own.
  4. Split it, or return the criterion to specification.

What this turns onA criterion that touches everything is usually carrying more than one decision. Splitting the criterion is the fix, not splitting the pull request.

Practice

Do the work

  1. Produce the decomposable spec for the refund slice.
  2. Find the criterion that will not split and say why.
  3. Rewrite it as two criteria and check the result.
  4. Confirm the slice lands between four and eight tasks.
Output

You produce

Artifact

Decomposable spec

  • Criterion
  • Work it implies
  • Files likely touched
  • Reviewable alone
  • Split required
Pressure-test

Challenge your own result

One criterion touches 20 files. Is that a problem?

Show how this resolves

It depends which 20. A mechanical rename across 20 files is fine. A behavioral change across 20 unrelated modules means the criterion carries more than one decision and needs splitting before anyone writes code.

Gate

Ready to continue when

Readiness gate
  • Every criterion maps to work that could be reviewed on its own.
  • The slice lands between four and eight tasks, or the excess returned to specification.

What transfersSize work by what can be reviewed, not by what can be built.

Source · 08 Cadence and decomposition