# AI Agent Safety Checklist

## 1. Permission & Scope

- [ ] Agent ကို လိုအပ်သော tool ကိုသာ ပေးထားပြီး unnecessary access မရှိစေရ
- [ ] Read-only လုပ်ငန်းနှင့် write/delete လုပ်ငန်းကို tool level မှာ ခွဲထားခြင်း
- [ ] API key/credential ကို agent ရဲ့ code ထဲ hardcode မလုပ်ခြင်း

## 2. Human Approval

- [ ] ငွေပေးချေမှု၊ ဖျက်ခြင်း၊ email/message ပို့ခြင်းလို risky action အားလုံးအတွက် human approval step ထားခြင်း
- [ ] Approval မတောင်းခင် agent က "ဘာလုပ်တော့မယ်" ဆိုတာ ရှင်းရှင်းလင်းလင်း ပြသခြင်း

## 3. Logging & Monitoring

- [ ] Tool call တိုင်း (input + output) ကို log ချထားခြင်း
- [ ] Sensitive data (password, API key, personal info) ကို log ထဲ မသိမ်းခြင်း
- [ ] Error rate/latency ကို dashboard တစ်ခုနှင့် monitor လုပ်ခြင်း

## 4. Limits & Stop Conditions

- [ ] Loop/retry အရေအတွက် အများဆုံး (max iteration) သတ်မှတ်ထားခြင်း
- [ ] Timeout သတ်မှတ်ထားခြင်း — agent တစ်ခု အကန့်အသတ်မရှိ run နေခြင်းမှ ကာကွယ်ရန်
- [ ] Cost limit (token/API call budget) သတ်မှတ်ထားခြင်း

## 5. Testing

- [ ] Happy path + edge case + adversarial input (agent ကို လမ်းလွှဲစေရန် ကြိုးစားတဲ့ prompt) နှင့် စမ်းသပ်ထားခြင်း
- [ ] Tool error/timeout ဖြစ်ချိန် agent ရပ်တန့်တတ်ကြောင်း စစ်ဆေးထားခြင်း

Production ထုတ်ခင် ဒီ checklist အားလုံး ✓ ဖြစ်အောင် လုပ်ပါ — item တစ်ခုမှ ကျန်ခဲ့ရင် အန္တရာယ်ရှိနိုင်ပါတယ်။
