Delivery Readiness Audit
Purpose / When to Activate
Activate via /gaai-status --audit. This skill runs after the standard status sections (1–4) have already identified delivery-ready stories, memory staleness, and framework health.
This skill adds two depth checks that standard status skips for speed:
- AC internal consistency — catches missing columns, undeclared endpoints, broken cross-references within a story
- Pending revisions — catches deferred work flagged in backlog notes but not yet captured as stories
Process
1. AC internal consistency — spot-check READY stories
For each story identified as "ready to deliver" by Section 1:
- Open the story artefact file
- Build an inventory of all resources declared by schema/setup ACs: columns, tables, endpoints, queues, secrets, cron triggers
- Scan all other ACs for resources referenced but not in the inventory
- Flag any reference to a column, endpoint, queue, table, or resource that is not declared elsewhere in the same story
Example of what this catches:
- AC5 uses
orders.cancelled_at for filtering, but AC4 (schema migration) doesn't list that column
- AC7 references
users.api_token but it's missing from the migration
Severity: CRITICAL if it would cause the Delivery Agent to produce incomplete code.
2. Pending revisions scan
Scan all backlog item notes fields for patterns indicating unresolved work:
Patterns to match:
- "will be revised", "pending revision", "needs review"
- "story to generate", "story E0xS0x to generate", "to be created"
- "TODO", "to replace", "to migrate", "needs update"
DEC- references followed by a pending action description
For each match:
- State the backlog item ID, the DEC reference (if any), and the pending action
- Check whether a corresponding story already exists in the backlog
- Flag as IMPORTANT if no story exists yet
3. Delivery verdict
Produce a summary:
- Count of stories truly ready (all deps met + ACs internally consistent)
- Count of issues by severity (CRITICAL / IMPORTANT / MINOR)
- Verdict: READY FOR DELIVERY (0 critical issues) or ISSUES TO RESOLVE FIRST (list critical issues)
For issues safe to correct (missing AC metadata, column alignment), list them as "auto-fixable" in the report. Discovery or the human decides whether to apply fixes — this skill reports only.
Output Format
### Section 5 — Delivery Readiness
**5a. AC Consistency (READY stories)**
| Story | Issue | Severity |
|---|---|---|
| E01S03 | AC5 uses `orders.cancelled_at` — missing from AC4 migration | CRITICAL |
Verdict: PASS | N issues found
**5b. Pending Revisions**
| Backlog Item | DEC | Pending Action | Story Exists? |
|---|---|---|---|
| E02S04 | DEC-{N} | auth middleware refactor to support RBAC | No |
**5c. Delivery Verdict**
N stories ready. M critical, K important issues.
READY FOR DELIVERY | ISSUES TO RESOLVE FIRST
Quality Checks
- Every finding references a specific story ID, AC number, and resource name
- No vague findings ("something might be wrong" is invalid)
- Severity is explicit: CRITICAL (blocks Delivery), IMPORTANT (should fix), MINOR (cosmetic)
- No false positives — only flag cross-references that are genuinely missing
- The report is additive to standard status — never repeats Sections 1–4
Non-Goals
This skill must NOT:
- Repeat checks already done by
/gaai-status Sections 1–4 (staleness, dependency graph, backlog counts)
- Fix issues (report only — Discovery or human decides)
- Rewrite artefacts or memory
- Make prioritization decisions about delivery order
If an AC can't survive a cross-reference check, Delivery will produce broken code. Catch it here.
1---2name: delivery-readiness-audit3description: Spot-check AC internal consistency and scan for pending revisions on delivery-ready stories. Activated by `/gaai-status --audit` as Section 5. Complements the standard status checks with depth checks that standard status skips for speed.4license: ELv25compatibility: Works with any filesystem-based AI coding agent6metadata:7 author: gaai-framework8 version: "1.0"9 category: cross10 track: cross-cutting11 id: SKILL-CRS-01912 updated_at: 2026-02-2313 tags: [governance, delivery-gate, coherence]14 status: stable15inputs:16 - delivery-ready stories (from /gaai-status Section 1)17 - contexts/artefacts/stories/*.story.md (for each ready story)18 - contexts/backlog/active.backlog.yaml (notes field)19outputs:20 - ac_consistency_issues (structured list)21 - pending_revisions (structured list)22 - delivery_verdict (READY FOR DELIVERY | ISSUES TO RESOLVE FIRST)23---2425# Delivery Readiness Audit2627## Purpose / When to Activate2829Activate via `/gaai-status --audit`. This skill runs **after** the standard status sections (1–4) have already identified delivery-ready stories, memory staleness, and framework health.3031This skill adds two depth checks that standard status skips for speed:32- **AC internal consistency** — catches missing columns, undeclared endpoints, broken cross-references within a story33- **Pending revisions** — catches deferred work flagged in backlog notes but not yet captured as stories3435---3637## Process3839### 1. AC internal consistency — spot-check READY stories4041For each story identified as "ready to deliver" by Section 1:42431. Open the story artefact file442. Build an inventory of all resources **declared** by schema/setup ACs: columns, tables, endpoints, queues, secrets, cron triggers453. Scan all other ACs for resources **referenced** but not in the inventory464. Flag any reference to a column, endpoint, queue, table, or resource that is not declared elsewhere in the same story4748**Example of what this catches:**49- AC5 uses `orders.cancelled_at` for filtering, but AC4 (schema migration) doesn't list that column50- AC7 references `users.api_token` but it's missing from the migration5152Severity: CRITICAL if it would cause the Delivery Agent to produce incomplete code.5354### 2. Pending revisions scan5556Scan all backlog item `notes` fields for patterns indicating unresolved work:5758**Patterns to match:**59- "will be revised", "pending revision", "needs review"60- "story to generate", "story E0xS0x to generate", "to be created"61- "TODO", "to replace", "to migrate", "needs update"62- `DEC-` references followed by a pending action description6364For each match:65- State the backlog item ID, the DEC reference (if any), and the pending action66- Check whether a corresponding story already exists in the backlog67- Flag as IMPORTANT if no story exists yet6869### 3. Delivery verdict7071Produce a summary:72- Count of stories truly ready (all deps met + ACs internally consistent)73- Count of issues by severity (CRITICAL / IMPORTANT / MINOR)74- Verdict: **READY FOR DELIVERY** (0 critical issues) or **ISSUES TO RESOLVE FIRST** (list critical issues)7576For issues safe to correct (missing AC metadata, column alignment), list them as "auto-fixable" in the report. Discovery or the human decides whether to apply fixes — this skill reports only.7778---7980## Output Format8182```83### Section 5 — Delivery Readiness8485**5a. AC Consistency (READY stories)**8687| Story | Issue | Severity |88|---|---|---|89| E01S03 | AC5 uses `orders.cancelled_at` — missing from AC4 migration | CRITICAL |9091Verdict: PASS | N issues found9293**5b. Pending Revisions**9495| Backlog Item | DEC | Pending Action | Story Exists? |96|---|---|---|---|97| E02S04 | DEC-{N} | auth middleware refactor to support RBAC | No |9899**5c. Delivery Verdict**100101N stories ready. M critical, K important issues.102READY FOR DELIVERY | ISSUES TO RESOLVE FIRST103```104105---106107## Quality Checks108109- Every finding references a specific story ID, AC number, and resource name110- No vague findings ("something might be wrong" is invalid)111- Severity is explicit: CRITICAL (blocks Delivery), IMPORTANT (should fix), MINOR (cosmetic)112- No false positives — only flag cross-references that are genuinely missing113- The report is additive to standard status — never repeats Sections 1–4114115---116117## Non-Goals118119This skill must NOT:120- Repeat checks already done by `/gaai-status` Sections 1–4 (staleness, dependency graph, backlog counts)121- Fix issues (report only — Discovery or human decides)122- Rewrite artefacts or memory123- Make prioritization decisions about delivery order124125**If an AC can't survive a cross-reference check, Delivery will produce broken code. Catch it here.**