24 — Quality Assurance

Status: Ratified Version: 1.0.0 Applies to: Acceptance criteria, review checklists, architecture/security/performance reviews, change processes


1. Purpose

QA is the enforcement mechanism for the entire Bible. It defines what “done” and “acceptable” mean, who reviews what, and how changes to ratified standards occur. QA is a gate, not a report.


2. Acceptance Criteria

2.1 Mission Acceptance

A mission is accepted when (matching 12 expected-output contract):

2.2 Feature / Change Acceptance


3. Team Review Checklist (PR-level)


4. Roles & Responsibilities

Role Authority
Contributor Implements, tests, documents
Reviewer Approves PR (≥1; 2 for core/arch/security)
Architecture Owner Approves architecture-relevant changes, ADRs, folder/schema changes
Security Reviewer Approves security-sensitive changes, sandbox/permissions/secrets
Performance Owner Approves perf-relevant changes; owns benchmarks
Release Manager Enforces SemVer, release process (23)
Schema Owner Approves Unified Security Schema changes

5. Review Checklists

5.1 Architecture Review

5.2 Security Review

5.3 Performance Review

5.4 Documentation Review


6. Architecture Change Process (ADR)

Any change to: layering, folder structure, core contracts, SDK ABI, deployment topologies, or cross-cutting behavior requires an Architecture Decision Record:

  1. Author ADR (context, decision, consequences, alternatives).
  2. Architecture Owner + at least one senior reviewer approve.
  3. ADR referenced from the changed docs.
  4. Implemented only after approval (no code-first for architectural change).

ADR register: docs/ADR/ (or docs/bible/ appendix); numbered sequentially.


7. Schema Change Process

Any change to 08 or 09 schema:

Severity Process
Patch (additive optional field, docs) Normal PR + Schema Owner approval
Minor (new enum value, new optional entity) PR + Schema Owner + API compatibility check
Major (breaking, removal, type change) ADR + migration plan + dual-write/backfill + versioned rollout (09 §13)

Schema changes always bump the schema version and update goldens.


8. Performance Review Triggers


9. Release QA Gates

Before any release (23 §8):


10. Continuous Improvement


11. References