01 / DECIDE
Architecture decision
release、model、言語、複数 surface をまたいで behavior を安定させる場合に使う。
永続的な developer instruction と user input を分け、output contract を明示し、prompt change を review 可能にする。 input、output、state、side effect を一つの観測可能な経路にしてから、prompt を application code と同様に version 管理する の所有層を決めます。
02 / BUILD
3段階の実装
- 01
contract を定義
caller、data classification、success condition、timeout、cancel、ownership を先に記述します。release、model、言語、複数 surface をまたいで behavior を安定させる場合に使う。
- 02
狭い経路を構築
request correlation、typed state、reversible failure handling を持つ一つの end-to-end path だけを実装します。永続的な developer instruction と user input を分け、output contract を明示し、prompt change を review 可能にする。
- 03
outcome を証明
acceptance を再実行可能な fixture、contract test、browser test にします。prompt 改訂前に fixture suite で task outcome と refusal handling を比較する。
03 / BOUND
Production boundary
prompt は authorization ではない。tool、data access、重大 action は server policy で検証する。
04 / PROVE
Acceptance evidence
prompt 改訂前に fixture suite で task outcome と refusal handling を比較する。
SOURCE / HTTP
再現可能な source probe
curl -fsSI 'https://developers.openai.com/api/docs/guides/prompt-engineering' | sed -n '1,5p'