01 / DECIDE
架構決策
替 inspection、routine edit、automation 與 trusted maintenance 使用 least-privilege profile。
Permission 決定 call 能否執行;sandbox 在 call 獲准後限制 filesystem/network impact。 先把 input、output、state、tool 與 side effect 畫成一條可觀察路徑,再決定 分開 permission 與 sandbox enforcement 的 owner。
02 / OPERATE
三步野戰程序
- 01
鎖定合約
寫下 caller、資料分類、成功條件、timeout、取消與 ownership。替 inspection、routine edit、automation 與 trusted maintenance 使用 least-privilege profile。
- 02
執行有界路徑
只建立一條 end-to-end path,保留 correlation、typed state 與 reversible failure。Permission 決定 call 能否執行;sandbox 在 call 獲准後限制 filesystem/network impact。
- 03
驗證訊號
把驗收變成可重跑的 fixture、contract test 或 browser test。Policy test 證明 denied command/path/network 在 interactive/headless mode 都持續阻擋。
03 / BOUND
Operation 邊界
Always-approve 不會移除 deny rule、hook 或 sandbox 需求;explicit allow rule 具有真實 authority。
04 / PROVE
驗收證據
Policy test 證明 denied command/path/network 在 interactive/headless mode 都持續阻擋。
SOURCE / HTTP
可重現來源探針
curl -fsSI 'https://docs.x.ai/build/features/permissions' | sed -n '1,5p'