Policy demoWrite a Qpoint policy from scratch

About this demo
In this demo, we build a Qpoint policy file step by step and explain each part as we go.
First, we configure the judge, a fast decision model that any rule can call. We then write static rules to control for known risks. One rule denies git force pushes. Another denies reads of .env files. A third uses a custom list of approved MCP servers and denies calls to any server that is not on the list. A denial message is configured, so the agent can inform the user why the call was blocked and who to ask for access.
Static rules cover the risks that you can anticipate. Since an agent can send data off the machine using many different commands including curl, scp, and netcat, we add an intent-based rule that asks the judge whether a command sends secrets, customer data, or private files to an outside server. To start, the rule flags these commands in the audit log but doesn’t block them. If the security team sees the same command come up repeatedly, they can write a static rule to block it, or switch the rule from flag to deny.
Every rule has the same three parts: a title, a condition, and an action. The same structure works for file writes, skill loading, HTTP requests, and prompts sent to the model. Any of these rules can be static or use the judge.