01 / DECIDE
Architecture decision
model が action の提案から外部 system での実行へ進める場合に使う。
tool を impact で分類し、external message、purchase、destructive write、credential use、privilege change 前に停止する。 input、output、state、side effect を一つの観測可能な経路にしてから、side-effect boundary に approval を置く の所有層を決めます。
02 / BUILD
3段階の実装
- 01
contract を定義
caller、data classification、success condition、timeout、cancel、ownership を先に記述します。model が action の提案から外部 system での実行へ進める場合に使う。
- 02
狭い経路を構築
request correlation、typed state、reversible failure handling を持つ一つの end-to-end path だけを実装します。tool を impact で分類し、external message、purchase、destructive write、credential use、privilege change 前に停止する。
- 03
outcome を証明
acceptance を再実行可能な fixture、contract test、browser test にします。audit record で actor、intent、approval、tool argument、execution result、compensating action を結ぶ。
03 / BOUND
Production boundary
approval には exact target、payload、consequence、reversibility を示し、generic confirmation だけにしない。
04 / PROVE
Acceptance evidence
audit record で actor、intent、approval、tool argument、execution result、compensating action を結ぶ。
SOURCE / HTTP
再現可能な source probe
curl -fsSI 'https://developers.openai.com/api/docs/guides/tools' | sed -n '1,5p'