/sdlc-documentation:20-ai-agent-compliance-runbookfrom sdlc-documentation
Produces or updates AI-agent compliance operations runbooks covering control testing, evidence collection, drills, audit-window operations, and remediation. Generates decision registers and validation evidence for auditor handoffs.
Ships in sdlc-documentation. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Artefact | Source/provider | Required? | Behaviour when absent |
|---|---|---|---|
| Project _context/, approved requirements, and relevant architecture | Project owner and upstream phase skills | Required | Stop at a gap register; do not invent scope, thresholds, integrations, or owners. |
| Existing artefact, implementation, configuration, and evidence named below | Repository, delivery team, or service owner | Required when updating or assessing | Mark inaccessible items not assessed; do not treat them as passed. |
| Target audience, environment, risk tolerance, and authority | Requester and accountable owner | Required | Produce a read-only outline with explicit assumptions; do not mutate project or production state. |
| Artefact | Consumer | Observable acceptance condition |
|---|---|---|
| AI-agent Compliance Operations Runbook | Compliance, control owners, and auditors | Every control activity has an owner, cadence, evidence object, exception path, and closure verification. |
| Decision and gap register | Reviewer and downstream phase owner | Every assumption, rejected option, unresolved dependency, waiver, and owner is explicit. |
| Validation evidence | Release or governance reviewer | Checks identify command or method, date, result, evidence location, and all unassessed items. |
| Evidence | Minimum content | Acceptance |
|---|---|---|
| Traceability record | Source artefact, decision, output section, owner | No mandatory decision is source-free. |
| Quality-gate result | Check, expected result, observed result, evidence path | Failures and unavailable checks cannot appear as passes. |
| Review record | Reviewer, date, disposition, open actions | The consumer can reproduce the acceptance decision. |
If files, execution, network, rendering, environment access, fonts, or current evidence are unavailable, return the narrowest useful draft plus a gap register. Label affected checks not assessed, retain the intended acceptance oracle, and state who must supply or verify the missing evidence. Never convert an unavailable check into a pass.
| Choice | Action | Failure or risk avoided |
|---|---|---|
| Evidence is complete and authority is explicit | Choose cadence from control requirement and evidence freshness and produce the full artefact. | Audit-time evidence scrambles or untested controls. |
| A required source or approval is missing | Stop the affected branch; record the gap, owner, and unblock condition. | Fabricated requirements or unauthorised action. |
| Evidence conflicts across sources | Preserve both claims, identify the controlling owner, and request a recorded decision. | Silent selection of a convenient but wrong source. |
| A check cannot run in the available environment | Keep its oracle and mark it not assessed; require later execution evidence. | False assurance from capability limits. |
not assessed, preserve the oracle, and name the verifier.Given an approved project source and a conflicting implementation detail, record both with provenance, stop the affected branch, and obtain the accountable owner's decision. Then update the relevant contract, define a reproducible acceptance check, and retain its observed result. The artefact is accepted only when every control activity has an owner, cadence, evidence object, exception path, and closure verification.
The compliance runbook converts the control packs, policy pack, evidence pack spec, and attestation prep spec into a calendar-driven operating procedure: who does what, when, with what artefact. It is the daily / weekly / monthly / quarterly / annual heartbeat that keeps compliance posture continuous.
| Attribute | Value |
|---|---|
| Inputs | SOC 2 / ISO / HIPAA control packs, Policy Pack, Evidence Pack Spec, Attestation Prep Spec, Agent Runbook, AI Incident Response Runbook |
| Output | AI_Agent_Compliance_Runbook.md |
| Standards | AICPA AT-C 205; ISO/IEC 27001 Clauses 9.1 and 9.2; ISO/IEC 17021; HIPAA §164.308(a)(8) |
| Drill | Cadence | Owner | Verification |
|---|---|---|---|
| Global kill-switch (staging) | quarterly | SRE Lead | Drill report; audit-log entry; propagation ≤ 5 s |
| Per-tenant kill-switch (staging) | quarterly | SRE Lead | Drill report |
| Per-feature kill-switch (staging) | quarterly | AI Lead | Drill report |
| Global kill-switch (production) | annual + on-event | SRE Lead | Drill report; tenant notification |
| Replay-a-run | quarterly | AI Lead | Drill report |
| Force-pause + force-resume | quarterly | SRE Lead | Drill report |
| Agent-task quarantine | annual | AI Lead | Drill report; tenant-admin notification |
| Evidence-pack assembly dry run | quarterly | Compliance Manager | Pack signed zip; manifest hash |
| BAA / DPA execution dry run | annual | DPO | Counter-signed addendum produced |
| Auditor portal access dry run | quarterly | Compliance Manager | Access granted to named test recipient; access revoked on day +1 |
For every evidence artefact in the evidence frequency table, document:
| Test | Cadence | Owner |
|---|---|---|
| Access review for agent service principals | quarterly | Security |
| Tool allow-list reperformance | quarterly | AI Lead |
| Hash-chain integrity verification | daily (automated) + weekly review | Security |
| Approval-event sample review (25 events) | monthly | AI Lead |
| Daily-review ticket sample review (25 tickets) | monthly | AI Lead |
| PR sample review (25 PRs) | quarterly | CTO |
| Sub-processor list review | quarterly | DPO |
| BAA / DPA addendum currency review | quarterly | DPO |
| Disclosure currency review (public + in-product) | quarterly | AI Lead |
| Bias review (protected-class features) | quarterly | DPO + AI Lead |
Once the audit window opens (per the attestation preparation spec):
When the auditor walks in (or joins the video call):
24-ai-agent-attestation-preparation-spec/references/ai-agent-auditor-on-the-day-playbook.md).| Severity | Definition | SLA | Owner |
|---|---|---|---|
| SEV1 | Mandatory control without evidence; control failed during the window | 7 days | AI Lead + CTO |
| SEV2 | Evidence incomplete; sampling not yet attainable | 30 days | AI Lead |
| SEV3 | Documentation polish; cross-link missing | 90 days | Compliance Manager |
| Role | Responsibility |
|---|---|
| AI Lead | Compliance posture for agent features; evidence custodian; demoer for governance and approval walkthroughs |
| CTO | Change management sample; system architecture walkthrough |
| CISO | Kill-switch drill owner; security control walkthroughs |
| DPO | Privacy controls; DSAR; BAA/DPA addenda; sub-processor reviews; bias review co-owner |
| Compliance Manager | Audit-window orchestration; auditor portal; sign-off ledger; pack assembly |
| SRE Lead | Drill execution; observability evidence; orchestrator availability evidence |
AI_Agent_Compliance_Runbook.md sections: 1) Drill Schedule, 2) Evidence-Collection Schedule, 3) Control-Test Schedule, 4) Audit-Window Operating Procedure, 5) On-the-Day Playbook Activation, 6) Gap-Remediation Cadence, 7) Roles, 8) Calendar Index, 9) Cross-Refs, 10) Sign-off.
logic.prompt, README.md, references/ai-agent-compliance-runbook-template.md.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub peterbamuhigire/chwezi-sdlc-documentation --plugin sdlc-documentation160 skills in this plugin
/01-deployment-guideUse when producing or updating deployment guide for release prerequisites, migration choreography, verification, rollback, and ownership. Use runbook for the neighbouring concern; this skill owns the named document contract and its acceptance evidence./01-high-level-designUse when approved requirements need a system-level architecture with boundaries, components, critical flows, deployment topology and ADRs, or an as-built design must be recovered from existing code; use system-overview for orientation, low-level-design for module internals, and infrastructure-design for infrastructure depth./01-initialize-srsUse when writing a new SRS (software requirements specification) for a business system or module: create the Waterfall SRS workspace, IEEE structure, identifiers and source context; use context-engineering next for boundaries and actors.Other plugins' skills for the same job