Implementation Guide

    How to Write the Data Handling Section of an LLM Governance Policy

    Write the data handling section as a set of rules that name a data class, a point where data crosses a boundary (prompt, retrieved context, tool call, output, memory or log) and a defined system action on violation. Reuse your existing data classification scheme. Pair every clause with a control that can allow, redact, block, rate limit or escalate, and name the evidence that shows the control ran for a specific interaction.

    Start with scope and the data surfaces

    A data handling section fails when its scope reads "all LLM use" and stops there. Define scope by the places data actually moves. In most deployments these are user prompts, retrieved documents, tool arguments and tool responses (including calls to MCP servers), agent memory, model outputs, and logs or captured traffic. Each surface has a different exposure profile, so each needs its own rule.

    Two scoping decisions matter early. First, extend your existing organizational data classification policy rather than inventing an LLM-specific scheme. Reviewers already know the existing classes, and the mapping to access rights already exists. Second, state which tools are in scope. Include tools the organization does not manage, and say explicitly that protected or confidential data must not be entered into them.

    Treat retrieved documents, API responses, emails and tool responses as untrusted content, including responses from approved servers. This matters for data handling because injected instructions can encode sensitive values into ordinary-looking tool calls, such as a search query or an email subject. A policy that only governs what users type will miss this path.

    Write permitted and prohibited inputs as testable rules

    Each input rule should answer four questions: which data class, which surface, under what conditions, and what happens on a violation. "Employees must not share sensitive data with AI" answers none of them. Compare: "Credentials and data classified as restricted must not appear in prompts, retrieved context or tool arguments. A detected instance is redacted before the request proceeds, or the request is blocked if redaction cannot be applied safely." That sentence can be tested.

    Add a minimum-access rule. A model should only use data classified for the minimum access level of any user of the system. This forces the policy to depend on user identity and data class at request time, which in turn tells the engineering team what the enforcement point must know.

    Add a data minimization rule for context. Agents tend to carry more than they need, and coding assistants may pass file contents, credentials or environment variables as tool arguments without any awareness of classification. Require that only the fields needed for the task enter context, and that credentials, personal data and sensitive source code are excluded or redacted before anything is recorded.

    For outputs, require filtering for sensitive data leakage before a response leaves the system or is passed to another tool. Treat data exfiltration through agent outputs, API requests and tool calls as one requirement, not three.

    Pair every clause with a control and evidence

    The test of a clause is whether someone other than the author can verify it. For each requirement, record the control that implements it and the evidence an auditor would ask for. The pairings below are a working template.

    • Scope and classification: Control: every interaction is tagged with the data class and user's access level at request time. Evidence: the classification and access level recorded with the decision.
    • Prohibited inputs: Control: detect and redact or block restricted classes in prompts, context and tool arguments. Evidence: the rule that applied, the action taken and the outcome for that interaction.
    • Tool and MCP calls: Control: authorize each call by its possible effect, including sensitive reads, writes, disclosure and irreversible actions, since a read or write label alone may not establish risk. Evidence: authorization decision, outcome and correlation identifier.
    • Outputs: Control: filter for sensitive data before delivery. Evidence: filter decision and whether content was modified or withheld.
    • Memory and logs: Control: audit memory contents for sensitive data before persistence, and redact before logs or captured traffic are stored. Evidence: redaction records and a sample check of stored content.
    • Retention and deletion: Control: scheduled deletion per persistence location. Evidence: deletion records and a periodic verification result.

    Specify retention, residency and third-party obligations

    Retention is where aspirational language is most common. Name each place data persists (agent memory, logs, captured traffic, any provider-side storage) and assign each a retention period and a deletion method. Then require verification, not only configuration. A policy that says data is deleted after a stated period, with no check that deletion occurred, cannot be evidenced.

    Logging needs two rules that pull in different directions. Logs should record authorization decisions, outcomes and correlation identifiers, which is what makes an interaction reconstructable. They should also exclude credentials, personal data and sensitive content, or redact them before storage. State both.

    For residency, write the permitted storage and processing regions per data class, and require that sensitive data be stored only in organization-approved environments and locations. Check that the regions you name can be enforced by your deployment model, otherwise the clause is a statement of intent.

    For third-party model providers, the policy should not restate contract terms. It should set the minimum obligations a provider must meet before a data class may be sent to it: retention limits, whether submitted data may be used for training, subprocessor disclosure and region of processing. Tie each data class to the providers approved for it. Procurement and legal own the terms; the policy owns the gate.

    Define exceptions, escalation and regulatory context

    Every prohibition needs a defined exception path, or people will create undocumented ones. State who may approve an exception, the maximum duration, the compensating controls required and where the approval is recorded. For actions that are consequential or irreversible, such as a tool call that discloses restricted data, require escalation for human approval at the moment of the action, not a review afterward. Record the approver and the outcome as evidence.

    Keep regulatory language accurate and limited. As of December 2026, the EU AI Act requires high-risk AI systems to be traceable and auditable with appropriate documentation, and requires input data supplied by a deployer to be relevant and sufficiently representative for the intended purpose. The Act also states that Union personal data protection law applies to personal data processed in connection with it. The Commission notes that many deployers will also need a data protection impact assessment, with the fundamental rights impact assessment conducted alongside it.

    The Digital Omnibus on AI is a Commission proposal that would delay high-risk deadlines. Do not hard-code proposed dates into policy text. Reference the requirement and keep dates in a register that is reviewed on a schedule. Also note that security-focused guidance addresses cybersecurity risk only; privacy, intellectual property and bias risks need management within the wider risk program.

    Enforce the section at runtime

    A policy section that is only reviewed after the fact leaves a gap between what was permitted and what happened. Closing it requires enforcement at the point where data crosses each boundary, with a record produced as a by-product.

    Trussed enforces policy in the execution path across models, agents, tools, MCP servers, AI sites and coding assistants. Actions are allow, redact, block, rate limit and escalate for human approval, applied to individual interactions and tool calls. Enforcement generates audit-ready evidence, mapped to frameworks including HIPAA, NIST and the EU AI Act. Deployment is self-managed in the customer cloud, with configurable retention and data residency, which maps directly to the retention and residency clauses above.

    Whatever tooling you use, apply the same acceptance test before finalizing the section: pick one clause, pick one real interaction, and confirm you can show which rule applied, what the system decided and what the outcome was. If you cannot, rewrite the clause or add the missing control.

    From policy clause to audit evidence

    Clause

    A rule naming a data class, a boundary and an action

    Control

    Allow, redact, block, rate limit or escalate

    Enforcement point

    Prompt, retrieved context, tool call, output, memory or log

    Evidence

    The decision, the outcome and a correlation identifier

    Turn data handling clauses into enforced controls

    See how policy is enforced in the execution path and how each decision becomes audit-ready evidence for a regulated enterprise.

    See How Evidence Is Produced
    Next step

    How does your AI governance program compare?

    See where your program has gaps in less than 2 minutes.