01 / DECIDE
Architecture decision
uploaded manual、policy、case、project artifact に grounding した回答が必要な場合に使う。
hosted retrieval tool でも corpus governance、ingestion status、metadata、access filter、citation、refresh、deletion が必要。 input、output、state、side effect を一つの観測可能な経路にしてから、ownership と freshness を備えた file search を構築する の所有層を決めます。
02 / BUILD
3段階の実装
- 01
contract を定義
caller、data classification、success condition、timeout、cancel、ownership を先に記述します。uploaded manual、policy、case、project artifact に grounding した回答が必要な場合に使う。
- 02
狭い経路を構築
request correlation、typed state、reversible failure handling を持つ一つの end-to-end path だけを実装します。hosted retrieval tool でも corpus governance、ingestion status、metadata、access filter、citation、refresh、deletion が必要。
- 03
outcome を証明
acceptance を再実行可能な fixture、contract test、browser test にします。tenant-isolation suite で cross-user query が title、snippet、identifier、content を取得できないことを示す。
03 / BOUND
Production boundary
retrieval 前に authorization を評価し、deleted document が回答と citation に影響しないようにする。
04 / PROVE
Acceptance evidence
tenant-isolation suite で cross-user query が title、snippet、identifier、content を取得できないことを示す。
SOURCE / HTTP
再現可能な source probe
curl -fsSI 'https://developers.openai.com/api/docs/guides/tools' | sed -n '1,5p'