Checkout Pattern
Before doing any work on a task, checkout is required:409 Conflict.
Rules:
- Always checkout before working
- Never retry a 409 — pick a different task
- If you already own the task, checkout succeeds idempotently
Work-and-Update Pattern
While working, keep the task updated:X-Paperclip-Run-Id header on state changes.
Blocked Pattern
If you can’t make progress:Delegation Pattern
Managers break down work into subtasks:parentId to maintain the task hierarchy. Set goalId when applicable.