Skip to content
Disclaimer

This is a draft discussion paper circulated for peer review. It is independent work published in a personal capacity and does not constitute official guidance or policy of any government body. It does not mandate or recommend specific controls for any agency, system, or project. Views and analysis are the author's own.

Reading Guide

This guide helps you navigate the discussion paper suite based on your role and available time. The suite presents one argument at several depths — from a 13-page overview to the ~200-page full analysis. You do not need to read everything; the routing tables below identify what is relevant to your role.

For a quick overview of all documents, see the home page.


By time available

Time What to read What you'll get
5 minutes Governing AI-Generated Code §1 (one-paragraph problem) + §3 (three properties) Whether this risk applies to your organisation
30 minutes Governing AI-Generated Code in full (~13 pages) The complete argument and response landscape — enough to brief others
1 hour Governing AI-Generated Code + Practical Guide Actionable next steps — review techniques and how to apply them
Half day Discussion paper §1–6, App A (taxonomy), App D (controlled generation case study), App E (longitudinal case study) Deep technical understanding of threat landscape and evidence base
Full day Full discussion paper (~200 pages) Complete command of the analysis

Reading paths by role

The home page has the role routing cards. Below are the paths in detail, organised by audience cluster.


Leadership, policy, and non-developer staff

Executive (Secretary, Deputy Secretary, SES)

Task: Decide whether to invest further time, resources, or policy attention.

5-minute path:

Read Governing AI-Generated Code §1 ("The one-paragraph problem"). This gives you the core finding: AI coding tools produce code that passes every automated check but makes the wrong decision about data that matters in institutional contexts. The question for your organisation is whether you have detection capability for this class of defect.

30-minute path:

  1. Governing AI-Generated Code — the full 13-page document. Covers the problem, the evidence, the three properties that make it a distinct risk class, the gaps in current frameworks, and the staged response.
  2. Discussion paper Executive Summary (2 pages) — the condensed version of the ~200-page analysis.

After reading: You should be able to answer: "Is our organisation exposed? Are our suppliers?" and decide whether to direct your CTO/CISO to investigate further.

Key sections if you go deeper: Discussion paper App E §E.7 (1 page) — cross-cutting observations from the longitudinal case study, written for a non-technical audience.


Policy officer / adviser

Task: Understand the problem and where current frameworks fall short.

30-minute path:

  1. Governing AI-Generated Code — the core argument in accessible form.

1-hour path (adds rationale and evidence):

  1. Discussion paper §6 (guidance gap analysis) — where the ISM, Essential Eight, OWASP, and NIST SSDF leave gaps for agent-generated code.

Key sections if you go deeper: Discussion paper Executive Summary, §6 (guidance gap analysis), App E §E.4–E.7 (longitudinal case study — policy-not-applied pattern and cross-cutting observations), App G (systems thinking primer).


Programme director

Task: Understand organisational exposure and decide on team-level response.

30-minute path:

  1. Governing AI-Generated Code — the core argument in accessible form.
  2. Discussion paper §9.6 (legacy modernisation risk — particularly relevant for modernisation programmes), App E §E.7 (cross-cutting observations), App E §E.6 (spec-level review — catching violations before code is written).

After reading: You should understand whether your programme's codebase is exposed and whether the Practical Guide should be distributed to your development teams.


Security, assessment, and assurance

CISO / Security adviser

Task: Assess control gaps and prioritise remediation.

30-minute path:

  1. Governing AI-Generated Code — the core argument.
  2. CISO Assessment — translates the failure taxonomy into control-gap language, maps failure modes to existing ISM controls, and identifies where current frameworks leave gaps.

1-hour path (adds taxonomy and actionable detail):

  1. ACF Taxonomy — the summary tables at the top give you the full threat landscape with STRIDE mapping, risk ratings, and detection status at a glance.

After reading: You should be able to produce a control-gap assessment and a prioritised remediation plan.

Key sections if you go deeper: Discussion paper §2 (the threat), §6 (full gap analysis), App E §E.7 (cross-cutting observations).


CTO / CIO

Task: Assess organisational exposure and determine response investment.

30-minute path:

  1. Governing AI-Generated Code — the full argument in accessible form.
  2. Discussion paper §1–2 (scope and threat characterisation), §6 (gap analysis).

1-hour path (adds case study and operational evidence):

  1. Discussion paper §8 (case studies — what detection looks like in practice, productivity impact, the redirection insight), App D (simulation), App E (annotated agent transcript).

After reading: You should be able to scope the response — whether existing controls are sufficient, what detection capability is needed, and how to brief your CISO and development leads.


IRAP assessor

Task: Evaluate AI-assisted development against ISM controls.

30-minute path:

  1. IRAP Checklist — your primary working document.

1-hour path (adds evidence base and response landscape):

  1. Discussion paper §7 (response landscape), §9 (open questions — evidence thresholds), App A (ACF taxonomy).

Key sections if you go deeper: Discussion paper §6 (gap analysis), App D (simulation), App E (transcripts).


Auditor / assurance

Task: Assess governance adequacy and evidence thresholds.

30-minute path:

  1. Discussion paper Executive Summary, App E §E.7 (cross-cutting observations).

Key sections if you go deeper: Discussion paper §9 (open questions — governance mechanics, evidence thresholds), App E §E.4–E.5 (policy-not-applied pattern).


Procurement / contracts

Task: Understand what to require from suppliers delivering AI-assisted code.

30-minute path:

  1. Governing AI-Generated Code §5–6 (the contracted development dimension).

Key sections if you go deeper: Discussion paper §6.7 (contracted development as the primary delivery context), App E §E.4–E.5 (what detection looks like in practice — policy-not-applied pattern).


Development and implementation

Developer / code author

Task: Understand the threat, review code effectively, and plan detection capability.

30-minute path:

  1. Practical Guide (~23 pages) — five review questions with worked code examples, hot-path identification, and pattern recognition techniques. This is hands-on and immediately applicable.
  2. Governing AI-Generated Code — for context on why these defects matter.

1-hour path (adds the analytical framework):

  1. ACF Taxonomy — the detailed failure mode entries with code examples and detection approaches.
  2. Discussion paper §2 (the threat), §4 (review as attack surface), App D (simulation), App E (annotated agent transcript — the most instructive section for practitioners).

After reading: You should be able to identify the highest-risk code paths in your project, apply the five review questions, and evaluate whether detection tooling (custom rules or semantic enforcement) is warranted.


Citizen programmer (non-developer using AI to write code)

Task: Learn to review code you've generated with AI chat tools, without CI or developer tooling.

30-minute path:

  1. Practical Guide (~23 pages) — five review questions, worked code examples, hot-path identification. Written specifically for people copying code from AI chat windows.
  2. Governing AI-Generated Code — for context on why this matters.

Key sections if you go deeper: Discussion paper App C (SQL extension — relevant for data and analytics work), App D (simulation with worked examples), App E (annotated transcripts).


Development team lead

Task: Assess team exposure and decide whether to adopt detection tooling.

30-minute path:

  1. Governing AI-Generated Code — the core argument.
  2. Discussion paper §2 (the threat), §4 (review as attack surface), §7 (response landscape), App A (ACF taxonomy).

1-hour path (adds case studies):

  1. Discussion paper App D (simulation), App E (annotated agent transcript).

Tool implementer / architect

Task: Build or evaluate semantic enforcement tooling.

30-minute path:

  1. Discussion paper §2–3 (the threat and its three properties), App A (detection approaches per taxonomy entry).

1-hour path (adds implementation evidence):

  1. Discussion paper §7.2 (technical controls — what is buildable), §8 (case studies), App E (annotated agent transcript).

Other roles

Role Start here Then if needed
Autonomy assessment Autonomy Self-Assessment Discussion paper App B
Analyst / data engineer / ops staff Practical Guide Governing AI-Generated Code; Discussion paper App C (SQL extension), App D