AI-Assisted Development
Developer Accountability
Summary
Developers remain accountable for AI-assisted code changes.
Standards
- Developers MUST understand AI-assisted code changes and take responsibility for the resulting code's correctness, security, quality, and consistency with engineering standards and stated requirements.
std-ai-developer-accountability-01 - AI assistance MUST NOT be accepted as a reason to reduce the diligence, testing, or review otherwise required for a change.
std-ai-developer-accountability-02 - Developers MUST verify that dependencies introduced through AI assistance have permissive licences and that the licence conditions are met.
std-ai-intellectual-property-licensing-03 - AI tools SHOULD NOT be recorded or represented as the author of record.
std-ai-developer-accountability-04
Related Standards
Implements These Principles
- Accountability and Equal Standards
- People Remain Responsible
- Intellectual Property
- Understanding Before Adoption
- Automation Supports Human Judgement
AI Agent Access
Summary
AI agents are subject to the resource's authentication and authorisation policies, regardless of the access method.
Standards
- Resource owners MUST enforce authentication and authorisation in the system being accessed, rather than relying on the AI tool or agent to enforce access restrictions.
std-ai-agent-access-01 - Resource owners MUST authorise actions performed by an AI agent on a user's behalf against that user's permissions.
std-ai-agent-access-02 - The person or team provisioning a separate identity or access grant for an AI agent MUST limit its permissions to the resources and operations required for its intended use.
std-ai-agent-access-03 - The person or team granting additional temporary access for an AI agent's task MUST revoke that grant when the task ends.
std-ai-agent-access-04
Related Standards
Implements These Principles
Quality, Testing & Security
Summary
AI-assisted changes are subject to the same quality, testing, and security requirements as other changes.
Standards
- Code produced with AI assistance MUST meet the same coding, linting, static analysis, and test coverage requirements as code without AI assistance.
std-ai-quality-testing-security-01 - AI-assisted contributions MUST NOT bypass, weaken, or be exempted from quality gates, security scanning, or approval workflows required for the repository and change.
std-ai-quality-testing-security-02 - AI tools MAY be used to help generate automated tests.
std-ai-quality-testing-security-03 - AI-generated automated tests MUST be reviewed for correctness and coverage adequacy before adoption.
std-ai-quality-testing-security-04 - A test or quality check required for an AI-assisted change MUST NOT be removed, disabled, or weakened to obtain a passing result.
std-ai-quality-testing-security-05
Related Standards
- Code Review: Code Quality & Security
- Code Style & Formatting: Codebase Coverage
- Linting & Style Enforcement: Linting Pipeline Gate
- Static Code Analysis: Analysis Pipeline Gate
- Unit Testing: Test Coverage
- Application Security Testing: Static Testing (SAST)
Implements These Principles
- Accountability and Equal Standards
- Automation Supports Human Judgement
- Secure Development
- AI Broadens What QA Checks
- Independent Checks of AI Work and Evidence
- Authoritative Test Results
Code Review
Summary
Review checks may be automated, manual, or a combination, while a human assesses the evidence and remains accountable for approval.
Review guidance
AI code generation can outpace line-by-line manual review. Review can use commercial review tools, custom review agents, CI checks, or targeted manual inspection, preferably in combination.
Use commercial code review tools or team-built code review agents to flag defects, code smells, design issues, and inconsistencies with engineering standards.
Use CI test results and findings from linting, SAST, secret scanning, and dependency vulnerability scanning as review evidence.
Apply system and domain knowledge through targeted manual review to identify logic errors and assess design trade-offs, integration behaviour, and consistency with engineering standards and stated requirements.
Standards
- Before merge, at least one authorised human reviewer MUST approve the change after assessing the review evidence and any unresolved findings.
std-ai-code-review-01 - The human approver MUST remain accountable for the approval decision.
std-ai-code-review-02
Related Standards
- Approved AI Tooling: Approved Tools
- Code Review: Independent Review
- Continuous Integration: Required Checks