Skip to content

Sizing WUs

Right-sizing WUs is critical for flow. Too big = stuck. Too small = overhead.

Estimate WU “weight” using these heuristics. Agents operate in context windows and tool calls, not clock time.

ComplexityFilesTool CallsContext BudgetStrategy
Simple<20<50<30%Single Session
Medium20-5050-10030-50%Checkpoint-Resume
Complex50+100+>50%Orchestrator or Split
Oversized100+200+Must Split
  • Single clear outcome
  • Touches 1-5 files
  • One test file added/modified
  • Can describe in one sentence
  • No “and then…” in the description
  • Estimated <50 tool calls
  • Multiple outcomes
  • Touches 10+ files
  • Requires multiple test suites
  • Description has multiple paragraphs
  • Contains “and”, “also”, “plus”
  • Estimated 100+ tool calls
  • Just a config change
  • Single line fix
  • No tests needed
  • Overhead exceeds value

Too big: “Add user preferences feature”

Split:

  • WU-100: Add preferences API endpoint (Core)
  • WU-101: Add preferences database schema (Infra)
  • WU-102: Add preferences UI panel (UI)

Too big: “Add form validation”

Split:

  • WU-110: Add email format validation
  • WU-111: Add password strength check
  • WU-112: Add form error display

Too big: “Add checkout flow”

Split:

  • WU-120: Add cart summary view
  • WU-121: Add payment method selection
  • WU-122: Add order confirmation

Best for: New integrations, unproven libraries.

WUTitleTool Calls
WU-APort + mock adapter + E2E skeleton~30
WU-BReal adapter + error handling~40

Best for: Large backend features, hexagonal architecture.

WUTitleTool Calls
WU-APorts + application + unit tests~40
WU-BInfrastructure adapters + int tests~40

Pattern C: UI/Logic Split (Lane Separation)

Section titled “Pattern C: UI/Logic Split (Lane Separation)”

Best for: Full-stack features.

WUTitleLane
WU-AAPI + DB + backendCore
WU-BComponents + UI stateUI

Best for: High-risk refactoring, breaking changes.

WUTitleTool Calls
WU-ANew logic behind ENABLE_NEW=true flag~50
WU-BRemove flag + delete old code~30

Sometimes tiny WUs can be combined:

Too granular:

  • WU-A: Add firstName field
  • WU-B: Add lastName field
  • WU-C: Add email field

Better:

  • WU-X: Add user profile fields (firstName, lastName, email)

If WUs depend on each other, note it:

id: WU-201
title: Add theme toggle component
dependencies:
- WU-200 # Needs theme context first

Execute in order, or work on independent WUs in parallel lanes.

If you hit ANY of these during a session, checkpoint and handoff:

  • Token Limit: Context usage hits 50% (warning) or 80% (critical)
  • Tool Volume: 50+ tool calls in current session
  • File Volume: 20+ files modified in git status
  • Performance Degradation: Redundant queries, forgotten context

When uncertain, create a discovery WU first:

id: WU-299
title: Spike - evaluate auth libraries
type: discovery
acceptance:
- Document pros/cons of 3 auth libraries
- Recommend one with rationale
- No code changes (research only)

Discovery WUs produce decisions, not code. They unblock future implementation WUs.