What a policy checks
Kontext converts each tool call into a request with the endpoint, agent, tool, tool input, and session. For shell commands, Kontext includes the parsed program and recognized operations, such as a force push. You scope each policy to agents and endpoints when you add it.How policies combine
A matching forbid wins. Kontext denies a call if no permit matches.
Enforced and Observing
A policy in the Enforced list blocks matching calls. A policy in the Observing list shows how many calls it would have blocked without blocking them. Every new policy starts in Observing. Check its matches, then click Enforce to move it to Enforced. See Add a policy. The workspace has one mode for all endpoints:
Kontext saves and deploys each action on the page immediately. Endpoints apply changes on their next check-in, about once a minute. See Rollout and failure behavior for endpoint behavior during updates and failed checks.