01 / DECIDE
Architecture decision
long model work が interactive connection budget を超える場合に使う。
request identifier、explicit status、expiry、cancellation、idempotent retrieval、visible terminal result を保持する。 input、output、state、tool、side effect を一つの観測可能な経路にし、deferred work を job として表す の owner を決めます。
02 / OPERATE
3段階の field procedure
- 01
contract を lock
caller、data classification、success condition、timeout、cancel、ownership を記述します。long model work が interactive connection budget を超える場合に使う。
- 02
bounded path を実行
correlation、typed state、reversible failure を持つ一つの end-to-end path を作ります。request identifier、explicit status、expiry、cancellation、idempotent retrieval、visible terminal result を保持する。
- 03
signal を検証
acceptance を再実行可能な fixture、contract test、browser test にします。state test で queued、running、completed、failed、cancelled、expired、duplicate retrieval を確認する。
03 / BOUND
Operational boundary
sensitive data で deferred execution を使う前に storage と data-retention compatibility を確認する。
04 / PROVE
Acceptance evidence
state test で queued、running、completed、failed、cancelled、expired、duplicate retrieval を確認する。
SOURCE / HTTP
再現可能な source probe
curl -fsSI 'https://docs.x.ai/developers/advanced-api-usage/deferred-chat-completions' | sed -n '1,5p'