मुख्य सामग्री पर जाएं
हर tool call को चलाने से पहले एक policy check से गुजरना पड़ता है। यह check आपके rules के मुताबिक़ call को match करता है और फ़ैसला लेता है: allow, ask, या block।

Default posture

दो postures हैं — इस बात पर निर्भर करता है कि write app, repo, या storage को target कर रहा है (जिसका scope ज्ञात है) या computer की raw filesystem को। शुरुआत में, Kazzle sensible defaults के साथ आता है ताकि AI तुरंत काम करे। Apps, repos, और storage में writes default से allowed हैं क्योंकि उनके paths एक ज्ञात root तक scoped हैं। Raw computer writes allowed हैं सिवाय ऊपर दिए गए sensitive path patterns के।

Rule types

Terminal commands

Rules command prefix से match होते हैं। git push को git push origin main से match करता है। Default exception जिसे approval की ज़रूरत है: sudo। Default block: git push --force। सामान्य git push allowed है।

Browser URLs

Browser navigation default से सभी URLs पर allowed है। Browser url field पर custom rules जोड़ें specific sites को restrict या approval की ज़रूरत के लिए।

File paths

Rules glob pattern से match होते हैं। *.pem कहीं भी certificate files को match करता है। Computer writes पर default blocks: .ssh/*, *.pem, *.key। .env writes allowed हैं। File path rules को एक specific computer तक scoped किया जा सकता है। “All computers” वाला rule हर जगह apply होता है। एक computer के लिए scoped rule सिर्फ़ तब apply होता है जब AI उस machine पर काम कर रहा हो। Computer-specific rules global ones को override करते हैं।

Tool approvals

Individual tools और actions को allow, ask, या block पर set किया जा सकता है। Default से, app publish, app delete, और database delete approval माँगते हैं। db exec DROP/TRUNCATE के लिए ask करता है और दूसरे SQL को allow करता है। File deletes और git push allowed हैं।

Safety changes

Policies या limits में changes हमेशा one-off approval की ज़रूरत होती है और कभी permanently auto-approved नहीं हो सकते। Policies और limits को देखना approval की ज़रूरत नहीं है।

How rules resolve

जब AI एक tool call करता है, तो router सभी matching rules को ढूँढता है और सबसे specific वाला चुनता है — ज़्यादा matching conditions वाले rules broader rules को beat करते हैं। अगर दो rules equal specificity के साथ match करते हैं, तो deny allow को beat करता है। User-defined rules (Settings से) same pattern वाले defaults को override करते हैं।

Configuring

Settings > AI safety खोलें rules को per space manage करने के लिए। Patterns जोड़ें, policies बदलें, file paths को specific computers तक scope करें। Changes तुरंत effect में आते हैं।