01 / DECISION
この primitive を選ぶ時
multi-step operation が時間、transient failure、human-in-the-loop pause を越える必要がある時に使います。
02 / ARCHITECTURE
最小で説明可能な path を作る
named idempotent step、serializable output、bounded retry、terminal state、安全な status surface を設計します。
- 01contract を定義
multi-step operation が時間、transient failure、human-in-the-loop pause を越える必要がある時に使います。
- 02primitive を一つ追加
named idempotent step、serializable output、bounded retry、terminal state、安全な status surface を設計します。
- 03failure evidence を残す
middle step failure、delay 後の resume、external event、単一 final effect と inspectable history を確認します。
03 / REPRODUCE
confidence の前に evidence
middle step failure、delay 後の resume、external event、単一 final effect と inspectable history を確認します。
npx wrangler workflows list 04 / BOUNDARY
Production boundary
各 step に idempotency strategy がなければ retry は side effect を重複します。workflow は authorization の代替ではありません。
05 / FIRST-PARTY SOURCES
一次資料を authoritative に保つ
product behavior、limit、pricing、availability は変わります。実行前に source を再確認してください。