Operational guidance, not legal advice. This page distills named public sources (regulator guidance and industry practice). It is not a legal determination, not a notification decision, and not a substitute for your counsel, insurer, or a retained DFIR firm. Verify applicability and current deadlines for your facts and jurisdiction.

What should an AI coding policy include?

Last verified

An AI coding policy defines scope, approved tools, data and IP rules, review and provenance requirements, exceptions, and review cadence. Clauses below are marked mandatory or recommended. This template requires legal review — it is not legal advice.

AI coding policy template, last verified 10 September 2026 against ISO/IEC 42001:2023 organisational policy expectations, NIST AI RMF Govern function, NIST SSDF PO practices, OWASP GenAI risk guidance, and contractual IP considerations flagged for counsel. Alignment notes reference ISO 42001 and SSDF without claiming certification. Not legal advice.

Annex A — approved tools (example structure)

Maintain Annex A as a living table in your policy library. Example columns only — not YOUR allow-list.

Annex A structure for approved AI coding tools (illustrative; not YOUR allow-list)
ToolVendorApproved useData handling noteApproval dateOwner
[IDE copilot example][Vendor]Internal app repos onlyEnterprise tier; training opt-out verified[date][role]
[CLI agent example][Vendor]Non-production branchesNo customer data in prompts[date][role]

What you need to do now

Steps to go from template to adopted policy. Not legal advice.

  • Copy the clause table; replace placeholders; attach Annex A with your real allow-list.
  • Send mandatory clauses — especially data, IP, and violations — to counsel before publication.
  • Align review tiers with the review-agent-generated-pull-requests guide on this site.
  • Cross-check control coverage against the AI coding governance checklist guide on this site.
  • Publish to your internal handbook; schedule annual review and tool-change triggers.
  • Upload the signed version to Compliance → Policies if you use ShipReady Metrics for tracking.

Checklist

Pre-adoption checklist. Not YOUR signed policy. Not legal advice.

  • Purpose, scope, and named policy owner filled in.
  • Annex A allow-list complete with vendor data terms verified.
  • Data and IP clauses reviewed by counsel.
  • Provenance and review-before-merge clauses match engineering branch protection.
  • Security scan requirements match your CI pipeline.
  • Exception process tied to ticket system with expiry.
  • Review cadence calendar invite sent to policy owner.
  • Training plan linked for new hires.
  • No claim of ISO 42001 or SSDF certification in the policy text.

Where this shows up in ShipReady Metrics

Shipped product surfaces only. The product does not draft or certify your policy.

  • Signed-in Compliance → Policies holds policy documents you upload or maintain. It is a library — not legal advice, not auto-generation of mandatory clauses.
  • Signed-in Compliance → AI governance AI risk register can reference which coding tools you recorded in inventory — not a legal classification.
  • The bundled framework keys (including iso_42001 and eu_ai_act starter subsets on the obligation map) are illustrative control mappings — not certification that your policy satisfies those frameworks.
  • The AI governance policy template under guides is a broader document pattern; this engineering policy is narrower and focused on coding workflows.

Primary sources (last verified 10 September 2026)

Framework and practice references for this template. Not legal advice.

ISO/IEC 42001:2023 — documented information, roles, operational planning, management review. NIST AI RMF 1.0 Govern function. NIST SP 800-218 Rev. 1 PO and RV practices. OWASP LLM Top 10 risk categories for data leakage and supply chain. Contractual IP and employment law require counsel — no primary URL substitutes for that review.

Frequently asked questions