Launch readiness

From event4u-app/agent-config · View interactive version

Launch readiness is an AI agent skill from the GitHub repository event4u-app/agent-config. Use before merging a release-shaped PR — pre-merge checklist, rollout plan, rollback criteria, ops handoff. Triggers on 'ready to ship', 'launch checklist', 'rollout plan for X'.

How to use this skill

Skill file

launch-readiness

When to use

Do NOT use for routine internal merges

(CODE0)

or for the comms text itself (CODE0).

This skill produces the decision to ship and the rollback contract.

Cognition cluster

of the rollout to a reversibility class; the rollback criteria

must name the irreversible steps and the abort threshold for each.

See CODE0 § 10.

six hours; what failed first? The pre-mortem becomes the rollback

criteria, not a separate document. See mental-models.md § 29.

becomes harder after the launch (rollback cost, contributor

ergonomics, doc churn). See mental-models.md § 4.

on-call rotation and ops handoff path; read product for the

segment / cohort exposure of the rollout. See

CODE0.

Procedure

1. Identify the launch shape

One sentence: *"This change ships X to segment Y behind

rollout mechanism Z."* If you cannot, the change is not

release-shaped; route to finishing-a-development-branch.

2. Inspect the pre-merge checklist

Walk the diff with the following gates:

the inventory (blueprint: security-audit/references/control-section.md).

CODE0 for the prose).

coverage % and last run. No ledger reads "not checked", never "no findings".

Cells without evidence block the launch — surface the gap, do not hand-wave.

2b. Epistemics block — the diagnostic report (contract-backed)

For a consumer-facing diagnostic (not just the merge decision), emit a

report per CODE0

(schema: prelaunch-report.schema.json). Rules:

(prelaunch-areas.yml): auth · migrations · secrets · observability ·

rollback · agent-governance. No ad-hoc areas.

npx tsx node_modules/@event4u/agent-config/src/scripts/check_account_surface.ts <repo-root>:

violated → an AC-AUTH-NNN id, an undecided class stays unknown; the

output is unmeasured while claim:account-surface-finds-planted is unbacked.

finding (IDs listed) · unknown (the honest default — **absence of

findings is Unknown, never an automatic Pass**) · not-applicable

(reason required).

never re-assign; the ID is the diff key across runs.

any open P1 or a launch-gate area not at pass/N-A → NOT ready. Ready is

the residual state, never the default.

diagnosis; the next run converts them into evidence or findings.

npx tsx node_modules/@event4u/agent-config/src/scripts/prelaunch_diagnostics.ts validate <report.json>;

regression-gate against the committed baseline via

… diff <baseline> <current> --ci (contract § 4–6).

2c. Fix loop (approval-gated, read-only diagnostic)

Rank open findings by severity, then launch-gate membership; propose the

safest first approval batch (reversible, small blast radius — explicitly

not the full backlog). Status vocabulary per finding: `open · fixed ·

accepted-risk · deferred-with-reason · suppressed-with-evidence ·

not-applicable` — everything except open/fixed carries a reason. Rescore

whenever evidence changes. The diagnostic itself never mutates the project;

fixes flow through the normal approval-gated engines.

3. Plan the rollout

segment per stage from the product spine slot.

spine slot.

4. Write rollback criteria

For each stage:

drain queue), pre-rehearsed.

is in scope, the launch needs a written sign-off, not implicit.

Pre-mortem rule: every trip wire must answer *"what would have

caused this in six hours?"* If you cannot, the trip wire is wrong.

4b. Post-deploy verification fragments (manual checks, not an auto-canary)

Right after deploy, the on-call runs these by hand — cheap "did the deploy

silently break a thing that doesn't page" probes, not a canary (a runtime,

out of scope). Include only the ones that apply to the stack:

long-lived stream, confirm a connection stays open and emits a heartbeat past

the proxy's idle timeout (a deploy that changes proxy/buffering config silently

kills streaming while every other endpoint looks fine).

Content-Type (JS as text/javascript/application/javascript, CSS as

text/css); a CDN/build change that serves assets as text/plain or

application/octet-stream breaks the app in the browser but returns HTTP 200.

the pre-deploy baseline; a regression beyond the agreed delta is a trip wire

even when no error fires.

Each is a one-shot pass/fail check; failures feed the § 4 trip wires.

5. Ops handoff

receiving role.

6. Hand back

Hand the artefact to the requester; comms go to

CODE0, post-launch metrics to the

team's monitoring stack.

Related Skills

WHEN to use this

WHEN NOT to use this

CODE0.

CODE0.

CODE0 first.

When the agent should load this

Output

  1. Launch shape — one-sentence statement of the change.
  2. Pre-merge checklist — gate · status · evidence (citation).
  3. Rollout plan — stages × mechanism · order · telemetry · owner.
  4. Rollback contract — per stage: trip wire · decision window ·

abort path · irreversible steps.

  1. Ops handoff — pager mapping · runbook link · sign-off.
  2. Outstanding — each launch blocker, listed explicitly.

Gotcha

errors spike"* is not a trigger; "5xx > 2% for 10 min" is.

post-mortem ancestor — surface, do not skip.

Do NOT

output block, citable.

the team spine slot.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.