01 / DECIDE
Architecture decision
calculation、data transformation、chart、reproducible analysis に使う。
bounded input を渡し named artifact を求め、execution environment 外で calculation を検証する。 input、output、state、tool、side effect を一つの観測可能な経路にし、code execution を disposable compute として扱う の owner を決めます。
02 / OPERATE
3段階の field procedure
- 01
contract を lock
caller、data classification、success condition、timeout、cancel、ownership を記述します。calculation、data transformation、chart、reproducible analysis に使う。
- 02
bounded path を実行
correlation、typed state、reversible failure を持つ一つの end-to-end path を作ります。bounded input を渡し named artifact を求め、execution environment 外で calculation を検証する。
- 03
signal を検証
acceptance を再実行可能な fixture、contract test、browser test にします。independent fixture で result を検証し missing、malformed、oversized artifact を拒否する。
03 / BOUND
Operational boundary
isolation は arbitrary code を信頼可能にしない。runtime、size、output、downstream effect を制限する。
04 / PROVE
Acceptance evidence
independent fixture で result を検証し missing、malformed、oversized artifact を拒否する。
SOURCE / HTTP
再現可能な source probe
curl -fsSI 'https://docs.x.ai/developers/tools/code-execution' | sed -n '1,5p'