You are helping a UK government organization assess compliance with the UK Government AI Playbook for responsible AI deployment.
User Input
$ARGUMENTS
Instructions
Note: Before generating, scan projects/ for existing project directories. For each project, list all ARC-*.md artifacts, check external/ for reference documents, and check 000-global/ for cross-project policies. If no external docs exist but they would improve output, ask the user.
Identify AI system context:
- AI system name and purpose
- Type of AI (Generative, Predictive, Computer Vision, NLP, etc.)
- Use case in government operations
- Users (internal staff, citizens, affected population)
- Decision authority level
Determine risk level:
HIGH-RISK AI (requires strictest oversight):
- Fully automated decisions affecting:
- Health and safety
- Fundamental rights
- Access to services
- Legal status
- Employment
- Financial circumstances
- Examples: Benefit eligibility, immigration decisions, medical diagnosis, predictive policing
MEDIUM-RISK AI (significant impact with human oversight):
- Semi-automated decisions with human review
- Significant resource allocation
- Examples: Case prioritization, fraud detection scoring, resource allocation
LOW-RISK AI (productivity/administrative):
- Recommendation systems with human control
- Administrative automation
- Examples: Email categorization, meeting scheduling, document summarization
Read existing artifacts from the project context:
MANDATORY (warn if missing):
- PRIN (Architecture Principles, in 000-global)
- Extract: AI/ML governance standards, technology constraints, compliance requirements
- If missing: warn user to run
$arckit-principles first
- REQ (Requirements)
- Extract: AI/ML-related FR requirements, NFR (security, compliance, fairness), DR (data requirements)
- If missing: warn user to run
$arckit-requirements first
RECOMMENDED (read if available, note if missing):
- DATA (Data Model)
- Extract: Training data sources, personal data, special category data, data quality
- RISK (Risk Register)
- Extract: AI-specific risks, bias risks, security risks, mitigation strategies
OPTIONAL (read if available, skip silently if missing):
- STKE (Stakeholder Analysis)
- Extract: Affected populations, decision authority, accountability
- DPIA (Data Protection Impact Assessment)
- Extract: Data protection context, lawful basis, privacy risks
Read the template (with user override support):
- First, check if
.arckit/templates-custom/uk-gov-ai-playbook-template.md exists in the project root
- If found: Read the user's customized template (user override takes precedence)
- If not found: Read
.arckit/templates/uk-gov-ai-playbook-template.md (default)
- Then read
.arckit/templates/_partials/RENDERING.md and resolve the <!-- DOC-CONTROL-HEADER --> marker in the template before writing. Do not hand-write the Document Control table: the partial RENDERING.md selects is the only source of the 14 standard fields and of the classification ladder.
Tip: Users can customize templates with $arckit-customize ai-playbook
Read external documents and policies:
- Read any external documents listed in the project context (
external/ files) — extract AI ethics policies, model cards, algorithmic impact assessments, bias testing results
- Read any global policies listed in the project context (
000-global/policies/) — extract AI governance framework, approved AI/ML platforms, responsible AI guidelines
- Read any enterprise standards in
projects/000-global/external/ — extract enterprise AI strategy, responsible AI frameworks, cross-project AI maturity assessments
- If no external docs exist but they would improve the output, ask: "Do you have any AI governance policies, model cards, or ethical AI assessments? I can read PDFs directly. Place them in
projects/{project-dir}/external/ and re-run, or skip."
- Citation traceability: When referencing content from external documents, follow the citation instructions in
.arckit/references/citation-instructions.md. Place inline citation markers (e.g., [PP-C1]) next to findings informed by source documents and populate the "External References" section in the template.
Assess the 10 Core Principles:
Principle 1: Understanding AI
- Team understands AI limitations (no reasoning, contextual awareness)
- Realistic expectations (hallucinations, biases, edge cases)
- Appropriate use case for AI capabilities
Principle 2: Lawful and Ethical Use
- CRITICAL: DPIA, EqIA, Human Rights assessment completed
- UK GDPR compliance
- Equality Act 2010 compliance
- Data Ethics Framework applied
- Legal/compliance team engaged early
Principle 3: Security
- Cyber security assessment (NCSC guidance)
- AI-specific threats assessed:
- Prompt injection
- Data poisoning
- Model theft
- Adversarial attacks
- Model inversion
- Security controls implemented
- Red teaming conducted (for high-risk)
Principle 4: Human Control
- CRITICAL for HIGH-RISK: Human-in-the-loop required
- Human override capability
- Escalation process documented
- Staff trained on AI limitations
- Clear responsibilities assigned
Human Oversight Models:
- Human-in-the-loop: Review EVERY decision (required for high-risk)
- Human-on-the-loop: Periodic/random review
- Human-in-command: Can override at any time
- Fully automated: AI acts autonomously (HIGH-RISK - justify!)
Principle 5: Lifecycle Management
- Lifecycle plan documented (selection → decommissioning)
- Model versioning and change management
- Monitoring and performance tracking
- Model drift detection
- Retraining schedule
- Decommissioning plan
Principle 6: Right Tool Selection
- Problem clearly defined
- Alternatives considered (non-AI, simpler solutions)
- Cost-benefit analysis
- AI adds genuine value
- Success metrics defined
- NOT using AI just because it's trendy
Principle 7: Collaboration
- Cross-government collaboration (GDS, CDDO, AI Standards Hub)
- Academia, industry, civil society engagement
- Knowledge sharing
- Contributing to government AI community
Principle 8: Commercial Partnership
- Procurement team engaged early
- Contract includes AI-specific terms:
- Performance metrics and SLAs
- Explainability requirements
- Bias audits
- Data rights and ownership
- Exit strategy (data portability)
- Liability for AI failures
Principle 9: Skills and Expertise
- Team composition verified:
- AI/ML technical expertise
- Data science
- Ethical AI expertise
- Domain expertise
- User research
- Legal/compliance
- Cyber security
- Training provided on AI fundamentals, ethics, bias
Principle 10: Organizational Alignment
- AI Governance Board approval
- AI strategy alignment
- Senior Responsible Owner (SRO) assigned
- Assurance team engaged
- Risk management process followed
- Assess the 6 Ethical Themes:
Theme 1: Safety, Security, and Robustness
- Safety testing (no harmful outputs)
- Robustness testing (edge cases)
- Fail-safe mechanisms
- Incident response plan
Theme 2: Transparency and Explainability
- MANDATORY: Algorithmic Transparency Recording Standard (ATRS) published
- System documented publicly (where appropriate)
- Decision explanations available to affected persons
- Model card/factsheet published
Theme 3: Fairness, Bias, and Discrimination
- Bias assessment completed
- Training data reviewed for bias
- Fairness metrics calculated across protected characteristics:
- Gender
- Ethnicity
- Age
- Disability
- Religion
- Sexual orientation
- Bias mitigation techniques applied
- Ongoing monitoring for bias drift
Theme 4: Accountability and Responsibility
- Clear ownership (SRO, Product Owner)
- Decision-making process documented
- Audit trail of all AI decisions
- Incident response procedures
- Accountability for errors defined
Theme 5: Contestability and Redress
- Right to contest AI decisions enabled
- Human review process for contested decisions
- Appeal mechanism documented
- Redress process for those harmed
- Response times defined (e.g., 28 days)
Theme 6: Societal Wellbeing and Public Good
- Positive societal impact assessment
- Environmental impact considered (carbon footprint)
- Benefits distributed fairly
- Negative impacts mitigated
- Alignment with public values
- Generate comprehensive assessment:
Create detailed report with:
Executive Summary:
- Overall score (X/160 points, Y%)
- Risk level (High/Medium/Low)
- Compliance status (Excellent/Good/Adequate/Poor)
- Critical issues
- Go/No-Go decision
10 Principles Assessment (each 0-10):
- Compliance status (✅/⚠️/❌)
- Evidence gathered
- Findings
- Gaps
- Score
6 Ethical Themes Assessment (each 0-10):
- Compliance status
- Evidence
- Findings
- Gaps
- Score
Risk-Based Decision:
- HIGH-RISK: MUST score ≥90%, ALL principles met, human-in-the-loop REQUIRED
- MEDIUM-RISK: SHOULD score ≥75%, critical principles met
- LOW-RISK: SHOULD score ≥60%, basic safeguards in place
Mandatory Documentation Checklist:
Action Plan:
- High priority (before deployment)
- Medium priority (within 3 months)
- Low priority (continuous improvement)
- Map to existing ArcKit artifacts:
Link to Requirements:
- Principle 2 (Lawful) → NFR-C-xxx (GDPR compliance requirements)
- Principle 3 (Security) → NFR-S-xxx (security requirements)
- Principle 4 (Human Control) → FR-xxx (human review features)
- Theme 3 (Fairness) → NFR-E-xxx (equity/fairness requirements)
Link to Design Reviews:
- Check HLD addresses AI Playbook principles
- Verify DLD includes human oversight mechanisms
- Ensure security controls for AI-specific threats
Link to TCoP:
- AI Playbook complements TCoP
- TCoP Point 6 (Secure) aligns with Principle 3
- TCoP Point 7 (Privacy) aligns with Principle 2
- Provide risk-appropriate guidance:
For HIGH-RISK AI systems:
- STOP: Do NOT deploy without meeting ALL principles
- Human-in-the-loop MANDATORY (review every decision)
- ATRS publication MANDATORY
- DPIA, EqIA, Human Rights assessments MANDATORY
- Quarterly audits REQUIRED
- AI Governance Board approval REQUIRED
- Senior leadership sign-off REQUIRED
For MEDIUM-RISK AI:
- Strong human oversight required
- Critical principles must be met (2, 3, 4)
- ATRS recommended
- DPIA likely required
- Annual audits
For LOW-RISK AI:
- Basic safeguards sufficient
- Human oversight recommended
- Periodic review (annual)
- Continuous improvement mindset
- Highlight mandatory requirements:
ATRS (Algorithmic Transparency Recording Standard):
- MANDATORY for central government departments
- MANDATORY for arm's length bodies
- Publish on department website
- Update when system changes significantly
DPIAs (Data Protection Impact Assessments):
- MANDATORY for AI processing personal data
- Must be completed BEFORE deployment
- Must be reviewed and updated regularly
Equality Impact Assessments (EqIA):
- MANDATORY to assess impact on protected characteristics
- Must document how discrimination is prevented
Human Rights Assessments:
- MANDATORY for decisions affecting rights
- Must consider ECHR (European Convention on Human Rights)
- Document how rights are protected
CRITICAL - Auto-Populate Document Control Fields:
Before completing the document, populate ALL document control fields in the header:
Construct Document ID:
- Document ID:
ARC-{PROJECT_ID}-AIPB-v{VERSION} (e.g., ARC-001-AIPB-v1.0)
Populate Required Fields:
Auto-populated fields (populate these automatically):
[PROJECT_ID] → Extract from project path (e.g., "001" from "projects/001-project-name")
[VERSION] → "1.0" (or increment if previous version exists)
[DATE] / [YYYY-MM-DD] → Current date in YYYY-MM-DD format
[DOCUMENT_TYPE_NAME] → "UK Government AI Playbook Assessment"
ARC-[PROJECT_ID]-AIPB-v[VERSION] → Construct using format above
[COMMAND] → "arckit.ai-playbook"
User-provided fields (extract from project metadata or user input):
[PROJECT_NAME] → Full project name from project metadata or user input
[OWNER_NAME_AND_ROLE] → Document owner (prompt user if not in metadata)
- Classification → comes from the resolved Document Control header, not from a placeholder.
_partials/RENDERING.md fixes the ladder from the artefact's own regime; ${default_classification} applies only where that regime falls through to user config.
Calculated fields:
[YYYY-MM-DD] for Next Review Date → Current date + 30 days
Pending fields (leave as [PENDING] until manually updated):
[REVIEWER_NAME] → [PENDING]
[APPROVER_NAME] → [PENDING]
[DISTRIBUTION_LIST] → Default to "Project Team, Architecture Team" or [PENDING]
Populate Revision History:
| 1.0 | {DATE} | ArcKit AI | Initial creation from `$arckit-ai-playbook` command | [PENDING] | [PENDING] |
Populate Generation Metadata Footer:
The footer should be populated with:
**Generated by**: ArcKit `$arckit-ai-playbook` command
**Generated on**: {DATE} {TIME} GMT
**ArcKit Version**: {ARCKIT_VERSION}
**Project**: {PROJECT_NAME} (Project {PROJECT_ID})
**AI Model**: [Use actual model name, e.g., "Claude Sonnet 5 (session default)"]
**Generation Context**: [Brief note about source documents used]
Before writing the file, read .arckit/references/quality-checklist.md and verify all Common Checks plus the AIPB per-type checks pass. Fix any failures before proceeding.
- Write comprehensive output:
Output location: projects/{project-dir}/ARC-{PROJECT_ID}-AIPB-v1.0.md
Use template structure from uk-gov-ai-playbook-template.md
- Provide next steps:
After assessment:
- Summary of compliance level
- Critical blocking issues
- Recommended actions with priorities
- Timeline for remediation
- Next review date
Example Usage
User: $arckit-ai-playbook Assess AI Playbook compliance for benefits eligibility chatbot using GPT-4
You should:
- Identify system: Benefits eligibility chatbot, Generative AI (LLM)
- Determine risk: HIGH-RISK (affects access to benefits - fundamental right)
- Assess 10 principles:
- Understanding AI: ⚠️ PARTIAL - team aware of hallucinations, but risk of false advice
- Lawful/Ethical: ❌ NON-COMPLIANT - DPIA not yet completed (BLOCKING)
- Security: ✅ COMPLIANT - prompt injection defenses, content filtering
- Human Control: ❌ NON-COMPLIANT - fully automated advice (BLOCKING for high-risk!)
- Lifecycle: ✅ COMPLIANT - monitoring, retraining schedule defined
- Right Tool: ⚠️ PARTIAL - AI appropriate but alternatives not fully explored
- Collaboration: ✅ COMPLIANT - engaged with GDS, DWP
- Commercial: ✅ COMPLIANT - OpenAI contract includes audit rights
- Skills: ✅ COMPLIANT - multidisciplinary team
- Organizational: ✅ COMPLIANT - SRO assigned, governance in place
- Assess 6 ethical themes:
- Safety: ⚠️ PARTIAL - content filtering but some harmful outputs in testing
- Transparency: ❌ NON-COMPLIANT - ATRS not yet published (MANDATORY)
- Fairness: ⚠️ PARTIAL - bias testing started, gaps in demographic coverage
- Accountability: ✅ COMPLIANT - clear ownership, audit trail
- Contestability: ❌ NON-COMPLIANT - no human review process (BLOCKING)
- Societal: ✅ COMPLIANT - improves access to benefits advice
- Calculate score: 92/160 (58%) - POOR, NON-COMPLIANT
- CRITICAL ISSUES:
- BLOCKING-01: No DPIA completed (legal requirement)
- BLOCKING-02: Fully automated advice (high-risk requires human-in-the-loop)
- BLOCKING-03: No ATRS published (mandatory for central government)
- BLOCKING-04: No contestability mechanism (right to human review)
- DECISION: ❌ REJECTED - DO NOT DEPLOY
- Remediation required:
- Complete DPIA immediately
- Implement human-in-the-loop (review all advice before shown to citizens)
- Publish ATRS
- Create contestability process
- Re-assess after remediation
- Write to
projects/NNN-benefits-chatbot/ARC-NNN-AIPB-v1.0.md
- Summary: "HIGH-RISK AI system with 4 blocking issues. Cannot deploy until ALL principles met."
Important Notes
AI Playbook is MANDATORY guidance for all UK government AI systems
HIGH-RISK AI cannot deploy without meeting ALL principles
ATRS publication is MANDATORY for central government
DPIAs are MANDATORY for AI processing personal data
Human oversight is REQUIRED for high-risk decisions
Non-compliance can result in legal challenges, ICO fines, public backlash
"Move fast and break things" does NOT apply to government AI
When in doubt, err on side of caution (add more safeguards)
Markdown escaping: When writing less-than or greater-than comparisons, always include a space after < or > (e.g., < 3 seconds, > 99.9% uptime) to prevent markdown renderers from interpreting them as HTML tags or emoji
Related Frameworks
- Technology Code of Practice (TCoP) - broader technology governance
- Data Ethics Framework - responsible data use
- Service Standard - service design and delivery
- NCSC Guidance - cyber security for AI systems
- ICO AI Guidance - data protection and AI
Resources
1---2name: arckit-ai-playbook3description: Assess UK Government AI Playbook compliance for responsible AI deployment4---56You are helping a UK government organization assess compliance with the UK Government AI Playbook for responsible AI deployment.78## User Input910```text11$ARGUMENTS12```1314## Instructions1516> **Note**: Before generating, scan `projects/` for existing project directories. For each project, list all `ARC-*.md` artifacts, check `external/` for reference documents, and check `000-global/` for cross-project policies. If no external docs exist but they would improve output, ask the user.17181. **Identify AI system context**:19 - AI system name and purpose20 - Type of AI (Generative, Predictive, Computer Vision, NLP, etc.)21 - Use case in government operations22 - Users (internal staff, citizens, affected population)23 - Decision authority level24252. **Determine risk level**:2627**HIGH-RISK AI** (requires strictest oversight):2829- Fully automated decisions affecting:30 - Health and safety31 - Fundamental rights32 - Access to services33 - Legal status34 - Employment35 - Financial circumstances36- Examples: Benefit eligibility, immigration decisions, medical diagnosis, predictive policing3738**MEDIUM-RISK AI** (significant impact with human oversight):3940- Semi-automated decisions with human review41- Significant resource allocation42- Examples: Case prioritization, fraud detection scoring, resource allocation4344**LOW-RISK AI** (productivity/administrative):4546- Recommendation systems with human control47- Administrative automation48- Examples: Email categorization, meeting scheduling, document summarization49503. **Read existing artifacts from the project context:**5152 **MANDATORY** (warn if missing):53 - **PRIN** (Architecture Principles, in 000-global)54 - Extract: AI/ML governance standards, technology constraints, compliance requirements55 - If missing: warn user to run `$arckit-principles` first56 - **REQ** (Requirements)57 - Extract: AI/ML-related FR requirements, NFR (security, compliance, fairness), DR (data requirements)58 - If missing: warn user to run `$arckit-requirements` first5960 **RECOMMENDED** (read if available, note if missing):61 - **DATA** (Data Model)62 - Extract: Training data sources, personal data, special category data, data quality63 - **RISK** (Risk Register)64 - Extract: AI-specific risks, bias risks, security risks, mitigation strategies6566 **OPTIONAL** (read if available, skip silently if missing):67 - **STKE** (Stakeholder Analysis)68 - Extract: Affected populations, decision authority, accountability69 - **DPIA** (Data Protection Impact Assessment)70 - Extract: Data protection context, lawful basis, privacy risks7172 **Read the template** (with user override support):73 - **First**, check if `.arckit/templates-custom/uk-gov-ai-playbook-template.md` exists in the project root74 - **If found**: Read the user's customized template (user override takes precedence)75 - **If not found**: Read `.arckit/templates/uk-gov-ai-playbook-template.md` (default)76 - **Then read** `.arckit/templates/_partials/RENDERING.md` and resolve the `<!-- DOC-CONTROL-HEADER -->` marker in the template before writing. Do not hand-write the Document Control table: the partial `RENDERING.md` selects is the only source of the 14 standard fields and of the classification ladder.7778 > **Tip**: Users can customize templates with `$arckit-customize ai-playbook`79804. **Read external documents and policies**:81 - Read any **external documents** listed in the project context (`external/` files) — extract AI ethics policies, model cards, algorithmic impact assessments, bias testing results82 - Read any **global policies** listed in the project context (`000-global/policies/`) — extract AI governance framework, approved AI/ML platforms, responsible AI guidelines83 - Read any **enterprise standards** in `projects/000-global/external/` — extract enterprise AI strategy, responsible AI frameworks, cross-project AI maturity assessments84 - If no external docs exist but they would improve the output, ask: "Do you have any AI governance policies, model cards, or ethical AI assessments? I can read PDFs directly. Place them in `projects/{project-dir}/external/` and re-run, or skip."85 - **Citation traceability**: When referencing content from external documents, follow the citation instructions in `.arckit/references/citation-instructions.md`. Place inline citation markers (e.g., `[PP-C1]`) next to findings informed by source documents and populate the "External References" section in the template.86875. **Assess the 10 Core Principles**:8889### Principle 1: Understanding AI9091- Team understands AI limitations (no reasoning, contextual awareness)92- Realistic expectations (hallucinations, biases, edge cases)93- Appropriate use case for AI capabilities9495### Principle 2: Lawful and Ethical Use9697- **CRITICAL**: DPIA, EqIA, Human Rights assessment completed98- UK GDPR compliance99- Equality Act 2010 compliance100- Data Ethics Framework applied101- Legal/compliance team engaged early102103### Principle 3: Security104105- Cyber security assessment (NCSC guidance)106- AI-specific threats assessed:107 - Prompt injection108 - Data poisoning109 - Model theft110 - Adversarial attacks111 - Model inversion112- Security controls implemented113- Red teaming conducted (for high-risk)114115### Principle 4: Human Control116117- **CRITICAL for HIGH-RISK**: Human-in-the-loop required118- Human override capability119- Escalation process documented120- Staff trained on AI limitations121- Clear responsibilities assigned122123**Human Oversight Models**:124125- **Human-in-the-loop**: Review EVERY decision (required for high-risk)126- **Human-on-the-loop**: Periodic/random review127- **Human-in-command**: Can override at any time128- **Fully automated**: AI acts autonomously (HIGH-RISK - justify!)129130### Principle 5: Lifecycle Management131132- Lifecycle plan documented (selection → decommissioning)133- Model versioning and change management134- Monitoring and performance tracking135- Model drift detection136- Retraining schedule137- Decommissioning plan138139### Principle 6: Right Tool Selection140141- Problem clearly defined142- Alternatives considered (non-AI, simpler solutions)143- Cost-benefit analysis144- AI adds genuine value145- Success metrics defined146- NOT using AI just because it's trendy147148### Principle 7: Collaboration149150- Cross-government collaboration (GDS, CDDO, AI Standards Hub)151- Academia, industry, civil society engagement152- Knowledge sharing153- Contributing to government AI community154155### Principle 8: Commercial Partnership156157- Procurement team engaged early158- Contract includes AI-specific terms:159 - Performance metrics and SLAs160 - Explainability requirements161 - Bias audits162 - Data rights and ownership163 - Exit strategy (data portability)164 - Liability for AI failures165166### Principle 9: Skills and Expertise167168- Team composition verified:169 - AI/ML technical expertise170 - Data science171 - Ethical AI expertise172 - Domain expertise173 - User research174 - Legal/compliance175 - Cyber security176- Training provided on AI fundamentals, ethics, bias177178### Principle 10: Organizational Alignment179180- AI Governance Board approval181- AI strategy alignment182- Senior Responsible Owner (SRO) assigned183- Assurance team engaged184- Risk management process followed1851866. **Assess the 6 Ethical Themes**:187188### Theme 1: Safety, Security, and Robustness189190- Safety testing (no harmful outputs)191- Robustness testing (edge cases)192- Fail-safe mechanisms193- Incident response plan194195### Theme 2: Transparency and Explainability196197- **MANDATORY**: Algorithmic Transparency Recording Standard (ATRS) published198- System documented publicly (where appropriate)199- Decision explanations available to affected persons200- Model card/factsheet published201202### Theme 3: Fairness, Bias, and Discrimination203204- Bias assessment completed205- Training data reviewed for bias206- Fairness metrics calculated across protected characteristics:207 - Gender208 - Ethnicity209 - Age210 - Disability211 - Religion212 - Sexual orientation213- Bias mitigation techniques applied214- Ongoing monitoring for bias drift215216### Theme 4: Accountability and Responsibility217218- Clear ownership (SRO, Product Owner)219- Decision-making process documented220- Audit trail of all AI decisions221- Incident response procedures222- Accountability for errors defined223224### Theme 5: Contestability and Redress225226- Right to contest AI decisions enabled227- Human review process for contested decisions228- Appeal mechanism documented229- Redress process for those harmed230- Response times defined (e.g., 28 days)231232### Theme 6: Societal Wellbeing and Public Good233234- Positive societal impact assessment235- Environmental impact considered (carbon footprint)236- Benefits distributed fairly237- Negative impacts mitigated238- Alignment with public values2392407. **Generate comprehensive assessment**:241242Create detailed report with:243244**Executive Summary**:245246- Overall score (X/160 points, Y%)247- Risk level (High/Medium/Low)248- Compliance status (Excellent/Good/Adequate/Poor)249- Critical issues250- Go/No-Go decision251252**10 Principles Assessment** (each 0-10):253254- Compliance status (✅/⚠️/❌)255- Evidence gathered256- Findings257- Gaps258- Score259260**6 Ethical Themes Assessment** (each 0-10):261262- Compliance status263- Evidence264- Findings265- Gaps266- Score267268**Risk-Based Decision**:269270- **HIGH-RISK**: MUST score ≥90%, ALL principles met, human-in-the-loop REQUIRED271- **MEDIUM-RISK**: SHOULD score ≥75%, critical principles met272- **LOW-RISK**: SHOULD score ≥60%, basic safeguards in place273274**Mandatory Documentation Checklist**:275276- [ ] ATRS (Algorithmic Transparency Recording Standard)277- [ ] DPIA (Data Protection Impact Assessment)278- [ ] EqIA (Equality Impact Assessment)279- [ ] Human Rights Assessment280- [ ] Security Risk Assessment281- [ ] Bias Audit Report282- [ ] User Research Report283284**Action Plan**:285286- High priority (before deployment)287- Medium priority (within 3 months)288- Low priority (continuous improvement)2892908. **Map to existing ArcKit artifacts**:291292**Link to Requirements**:293294- Principle 2 (Lawful) → NFR-C-xxx (GDPR compliance requirements)295- Principle 3 (Security) → NFR-S-xxx (security requirements)296- Principle 4 (Human Control) → FR-xxx (human review features)297- Theme 3 (Fairness) → NFR-E-xxx (equity/fairness requirements)298299**Link to Design Reviews**:300301- Check HLD addresses AI Playbook principles302- Verify DLD includes human oversight mechanisms303- Ensure security controls for AI-specific threats304305**Link to TCoP**:306307- AI Playbook complements TCoP308- TCoP Point 6 (Secure) aligns with Principle 3309- TCoP Point 7 (Privacy) aligns with Principle 23103119. **Provide risk-appropriate guidance**:312313**For HIGH-RISK AI systems**:314315- **STOP**: Do NOT deploy without meeting ALL principles316- Human-in-the-loop MANDATORY (review every decision)317- ATRS publication MANDATORY318- DPIA, EqIA, Human Rights assessments MANDATORY319- Quarterly audits REQUIRED320- AI Governance Board approval REQUIRED321- Senior leadership sign-off REQUIRED322323**For MEDIUM-RISK AI**:324325- Strong human oversight required326- Critical principles must be met (2, 3, 4)327- ATRS recommended328- DPIA likely required329- Annual audits330331**For LOW-RISK AI**:332333- Basic safeguards sufficient334- Human oversight recommended335- Periodic review (annual)336- Continuous improvement mindset33733810. **Highlight mandatory requirements**:339340**ATRS (Algorithmic Transparency Recording Standard)**:341342- MANDATORY for central government departments343- MANDATORY for arm's length bodies344- Publish on department website345- Update when system changes significantly346347**DPIAs (Data Protection Impact Assessments)**:348349- MANDATORY for AI processing personal data350- Must be completed BEFORE deployment351- Must be reviewed and updated regularly352353**Equality Impact Assessments (EqIA)**:354355- MANDATORY to assess impact on protected characteristics356- Must document how discrimination is prevented357358**Human Rights Assessments**:359360- MANDATORY for decisions affecting rights361- Must consider ECHR (European Convention on Human Rights)362- Document how rights are protected363364---365366**CRITICAL - Auto-Populate Document Control Fields**:367368Before completing the document, populate ALL document control fields in the header:369370**Construct Document ID**:371372- **Document ID**: `ARC-{PROJECT_ID}-AIPB-v{VERSION}` (e.g., `ARC-001-AIPB-v1.0`)373374**Populate Required Fields**:375376*Auto-populated fields* (populate these automatically):377378- `[PROJECT_ID]` → Extract from project path (e.g., "001" from "projects/001-project-name")379- `[VERSION]` → "1.0" (or increment if previous version exists)380- `[DATE]` / `[YYYY-MM-DD]` → Current date in YYYY-MM-DD format381- `[DOCUMENT_TYPE_NAME]` → "UK Government AI Playbook Assessment"382- `ARC-[PROJECT_ID]-AIPB-v[VERSION]` → Construct using format above383- `[COMMAND]` → "arckit.ai-playbook"384385*User-provided fields* (extract from project metadata or user input):386387- `[PROJECT_NAME]` → Full project name from project metadata or user input388- `[OWNER_NAME_AND_ROLE]` → Document owner (prompt user if not in metadata)389- **Classification** → comes from the resolved Document Control header, not from a placeholder. `_partials/RENDERING.md` fixes the ladder from the artefact's own regime; `${default_classification}` applies only where that regime falls through to user config.390391*Calculated fields*:392393- `[YYYY-MM-DD]` for Next Review Date → Current date + 30 days394395*Pending fields* (leave as [PENDING] until manually updated):396397- `[REVIEWER_NAME]` → [PENDING]398- `[APPROVER_NAME]` → [PENDING]399- `[DISTRIBUTION_LIST]` → Default to "Project Team, Architecture Team" or [PENDING]400401**Populate Revision History**:402403```markdown404| 1.0 | {DATE} | ArcKit AI | Initial creation from `$arckit-ai-playbook` command | [PENDING] | [PENDING] |405```406407**Populate Generation Metadata Footer**:408409The footer should be populated with:410411```markdown412**Generated by**: ArcKit `$arckit-ai-playbook` command413**Generated on**: {DATE} {TIME} GMT414**ArcKit Version**: {ARCKIT_VERSION}415**Project**: {PROJECT_NAME} (Project {PROJECT_ID})416**AI Model**: [Use actual model name, e.g., "Claude Sonnet 5 (session default)"]417**Generation Context**: [Brief note about source documents used]418```419420---421422Before writing the file, read `.arckit/references/quality-checklist.md` and verify all **Common Checks** plus the **AIPB** per-type checks pass. Fix any failures before proceeding.42342411. **Write comprehensive output**:425426Output location: `projects/{project-dir}/ARC-{PROJECT_ID}-AIPB-v1.0.md`427428Use template structure from `uk-gov-ai-playbook-template.md`42943012. **Provide next steps**:431432After assessment:433434- Summary of compliance level435- Critical blocking issues436- Recommended actions with priorities437- Timeline for remediation438- Next review date439440## Example Usage441442User: `$arckit-ai-playbook Assess AI Playbook compliance for benefits eligibility chatbot using GPT-4`443444You should:445446- Identify system: Benefits eligibility chatbot, Generative AI (LLM)447- Determine risk: **HIGH-RISK** (affects access to benefits - fundamental right)448- Assess 10 principles:449 - 1. Understanding AI: ⚠️ PARTIAL - team aware of hallucinations, but risk of false advice450 - 2. Lawful/Ethical: ❌ NON-COMPLIANT - DPIA not yet completed (BLOCKING)451 - 3. Security: ✅ COMPLIANT - prompt injection defenses, content filtering452 - 4. Human Control: ❌ NON-COMPLIANT - fully automated advice (BLOCKING for high-risk!)453 - 5. Lifecycle: ✅ COMPLIANT - monitoring, retraining schedule defined454 - 6. Right Tool: ⚠️ PARTIAL - AI appropriate but alternatives not fully explored455 - 7. Collaboration: ✅ COMPLIANT - engaged with GDS, DWP456 - 8. Commercial: ✅ COMPLIANT - OpenAI contract includes audit rights457 - 9. Skills: ✅ COMPLIANT - multidisciplinary team458 - 10. Organizational: ✅ COMPLIANT - SRO assigned, governance in place459- Assess 6 ethical themes:460 - 1. Safety: ⚠️ PARTIAL - content filtering but some harmful outputs in testing461 - 2. Transparency: ❌ NON-COMPLIANT - ATRS not yet published (MANDATORY)462 - 3. Fairness: ⚠️ PARTIAL - bias testing started, gaps in demographic coverage463 - 4. Accountability: ✅ COMPLIANT - clear ownership, audit trail464 - 5. Contestability: ❌ NON-COMPLIANT - no human review process (BLOCKING)465 - 6. Societal: ✅ COMPLIANT - improves access to benefits advice466- Calculate score: 92/160 (58%) - **POOR, NON-COMPLIANT**467- **CRITICAL ISSUES**:468 - **BLOCKING-01**: No DPIA completed (legal requirement)469 - **BLOCKING-02**: Fully automated advice (high-risk requires human-in-the-loop)470 - **BLOCKING-03**: No ATRS published (mandatory for central government)471 - **BLOCKING-04**: No contestability mechanism (right to human review)472- **DECISION**: ❌ **REJECTED - DO NOT DEPLOY**473- **Remediation required**:474 1. Complete DPIA immediately475 2. Implement human-in-the-loop (review all advice before shown to citizens)476 3. Publish ATRS477 4. Create contestability process478 5. Re-assess after remediation479- Write to `projects/NNN-benefits-chatbot/ARC-NNN-AIPB-v1.0.md`480- **Summary**: "HIGH-RISK AI system with 4 blocking issues. Cannot deploy until ALL principles met."481482## Important Notes483484- AI Playbook is **MANDATORY** guidance for all UK government AI systems485- HIGH-RISK AI cannot deploy without meeting ALL principles486- ATRS publication is MANDATORY for central government487- DPIAs are MANDATORY for AI processing personal data488- Human oversight is REQUIRED for high-risk decisions489- Non-compliance can result in legal challenges, ICO fines, public backlash490- "Move fast and break things" does NOT apply to government AI491- When in doubt, err on side of caution (add more safeguards)492493- **Markdown escaping**: When writing less-than or greater-than comparisons, always include a space after `<` or `>` (e.g., `< 3 seconds`, `> 99.9% uptime`) to prevent markdown renderers from interpreting them as HTML tags or emoji494495## Related Frameworks496497- **Technology Code of Practice** (TCoP) - broader technology governance498- **Data Ethics Framework** - responsible data use499- **Service Standard** - service design and delivery500- **NCSC Guidance** - cyber security for AI systems501- **ICO AI Guidance** - data protection and AI502503## Resources504505- AI Playbook: https://www.gov.uk/government/publications/ai-playbook-for-the-uk-government506- ATRS: https://www.gov.uk/government/publications/guidance-for-organisations-using-the-algorithmic-transparency-recording-standard507- Data Ethics Framework: https://www.gov.uk/government/publications/data-ethics-framework508- ICO AI Guidance: https://ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/artificial-intelligence/