This runbook creates evidence; it does not authorize production. The release owner must use a unique candidate identifier and keep code, schema, workflows, legal-source policy, evaluation output, and approvals tied to the same commit.
- Start from a reviewed commit on
main; confirm the worktree and generated files are clean. - Set a unique release ID in every governed record. Do not reuse an identifier.
- Run
npm run install:all,npm run check, andnpm run build:release-manifestusing the locked dependency files. - Run the GitHub Release candidate evidence workflow for the same commit. Retain its URL, commit SHA, logs, and downloaded evidence artifact.
- Deploy that immutable candidate to isolated staging. Never substitute a different build after review.
- Complete the staging journey, migration dry run, backup/restore exercise,
rollback exercise, monitoring test, source-health observation, dependency
review, and incident exercise. Use
evidence-template.mdfor each result. - Obtain the independent Ontario legal-content, privacy, security, accessibility, and product approvals. Approval authors must be independent of the implementation where the applicable review requires independence.
- Populate the release, operations, and launch JSON records with names, ISO dates, and non-secret evidence paths. Never commit secrets or client data.
- Run
npm run release:check. A blocked result ends the promotion attempt. - Record a time-bounded go/no-go decision. Promote only the reviewed artifact, monitor the rollout, and be prepared to execute the rollback runbook.
- commit SHA and immutable build/deployment identifier;
- generated SHA-256 release manifest;
- database migration set and tested rollback/forward-fix decision;
- Ontario evaluation report and independent review evidence;
- live source-health report and coverage limitations;
- approval, operational-readiness, and launch-readiness records;
- dependency/licence notice and vulnerability-review evidence;
- backup/restore, rollback, monitoring, incident, and accessibility evidence;
- release notes separating code, schema, source, workflow, prompt, policy, and public-content changes.
Stop when any required check is missing, stale, inconsistent with the candidate, or failed; an owner cannot be reached; a source is quarantined; a migration or restore is unproven; material coverage changed; or the production data boundary is broader than the approved privacy and security evidence.