01 / DECIDE
Architecture decision
calculation、data transformation、chart、file inspection で deterministic code が回答を改善する場合に使う。
bounded input を渡し expected artifact を定義し、sandbox 外で output を検証してから business workflow に入れる。 input、output、state、side effect を一つの観測可能な経路にしてから、code execution を disposable compute cell として使う の所有層を決めます。
02 / BUILD
3段階の実装
- 01
contract を定義
caller、data classification、success condition、timeout、cancel、ownership を先に記述します。calculation、data transformation、chart、file inspection で deterministic code が回答を改善する場合に使う。
- 02
狭い経路を構築
request correlation、typed state、reversible failure handling を持つ一つの end-to-end path だけを実装します。bounded input を渡し expected artifact を定義し、sandbox 外で output を検証してから business workflow に入れる。
- 03
outcome を証明
acceptance を再実行可能な fixture、contract test、browser test にします。fixture で calculation を独立検証し、missing、oversized、malformed、unexpected artifact を拒否する。
03 / BOUND
Production boundary
sandbox は未知 code を信頼可能にしない。input、output type、size、runtime、downstream effect を制限する。
04 / PROVE
Acceptance evidence
fixture で calculation を独立検証し、missing、oversized、malformed、unexpected artifact を拒否する。
SOURCE / HTTP
再現可能な source probe
curl -fsSI 'https://developers.openai.com/api/docs/guides/tools' | sed -n '1,5p'