/sdlc-documentation:14-ai-agent-runbookfrom sdlc-documentation
Produces or updates AI-agent operations runbooks covering agent health, pauses, retries, replay, tool failures, containment, and operator authority. Owns the named document contract and its acceptance evidence.
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 Operations Runbook | AI operations and SRE | Every operator action has an authority check, observable precondition, safe execution step, verification, and audit evidence. |
| 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 operation from run state, tool reversibility, and incident severity and produce the full artefact. | Duplicate, unauthorised, or unreplayable actions. |
| 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 operator action has an authority check, observable precondition, safe execution step, verification, and audit evidence.
Document three switches with operator-only access:
kill_switch.global = refuse across every tenant. Two-person rule. Used for upstream provider compromise, mass irreversible-incident, or red-team-confirmed catastrophic vulnerability.State the propagation SLA (default 5 s), the rehearsal cadence (monthly in staging), and the operator surface (ops console + API + on-call paging integration).
intervened; in-flight tool calls complete or time-out; no further steps.Operator can replay any historical run against the current planner + catalogue in the eval environment. Used for postmortems and for "would the fix have caught this?" verification.
When a run is suspected harmful but not actioned, quarantine the run:
quarantined.Define playbooks for:
Each playbook follows: detection → declare SEV → kill-switch decision → contain → investigate → notify → postmortem.
Operators on call for agent incidents shall have:
AI_Agent_Runbook.md sections: 1) Kill-switch Operations, 2) Force-Pause & Resume, 3) Replay, 4) Agent-Task Quarantine, 5) Audit-Log Review, 6) Incident Playbooks, 7) On-call Rotation, 8) Rehearsal Cadence.
Every drill produces evidence consumed by the SOC 2 / ISO / HIPAA control packs. Capture format and cadence are defined in 09-governance-compliance/25-ai-agent-evidence-pack-spec/references/ai-agent-evidence-frequency-table.md (rows 15, 16, 17):
| Drill | Evidence | Cadence | Controls |
|---|---|---|---|
| Kill-switch (global / per-tenant / per-feature) | drill report; audit-log entry; propagation timing | quarterly staging; annual production | SOC2 CC7.4, A1.3; ISO A.5.30, A.8.2; HIPAA 164.308.a.7 |
| Replay-a-run | drill report | quarterly | SOC2 A1.3; ISO A.5.30 |
| Force-pause + force-resume | drill report | quarterly | SOC2 A1.3; ISO A.5.30 |
| Agent-task quarantine | drill report; tenant-admin notification log | annual | SOC2 CC7.3; ISO A.5.25 |
The compliance runbook (06-deployment-operations/20-ai-agent-compliance-runbook) sets the calendar.
logic.prompt, README.md, references/ai-agent-runbook-template.md.For an owner-authorised unattended development plan, use the project-local auto-agents/README.md and auto-agents/config.json. Keep the plan and authority explicit, provide project-specific verification commands, and preserve a durable handoff. Publishing, remote, branch, runner and limits are configured per project. Treat the worktree as checkout isolation, not a sandbox; preserve host permissions and security controls. Failed or unavailable checks are never passes. Verify the actual driver version and runtime before relying on it.
When this engine changes auto-agents, update the canonical copy in skills-engine-agents first, regenerate its manifest, run its tests, then discover and update the installed project and engine copies with its managed propagate.py --apply workflow. Preserve each copy’s config, plan and local edits; report blocked or missing targets. Batch necessary host plugin-cache refreshes at the end of the change; preserve hook trust checks and report any required review. See auto-agents/README.md.
Use the project-owned plan to record the outcome, scope and authority, relevant source-of-truth decisions, observable acceptance examples, ordered slices and dependencies, and a short recovery handoff. auto-agents/PLAN-TEMPLATE.md is optional; adapt it to the task rather than filling it mechanically. Configure meaningful project checks before running, and treat each failed, unavailable or unrun check as such. A fresh session resumes from the durable plan and evidence; verify the actual resulting revision independently before any configured publication. Continue independent authorised work without routine confirmation pauses. Apply a second review to the real changes and correct material findings.
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