Day-one launch patch — focused fix for known issues found after gold master. Mini-sprint with QA gate and rollback.
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-day-one-patch-f969641c6c2f ,按照其中的说明把「day-one-patch」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Every shipped game has a day-one patch. Planning it before launch day prevents chaos. This skill scopes the patch to only what is safe and necessary, gates it through a lightweight QA pass, and ensures a rollback plan exists before anything ships. It is a mini-sprint — not a hotfix, not a full sprint.
When to run:
Day-one patch scope rules:
Output: production/releases/day-one-patch-[version].md
Read:
project.stage in project.yaml (fallback production/stage.txt) — confirm project is in Release stageproduction/gate-checks/ — read the release gate verdictproduction/qa/bugs/*.md — load all bugs with Status: Open or Fixed — Pending Verificationproduction/sprints/ most recent — understand what shippedproduction/security/security-audit-*.md most recent — check for any open security itemsIf the resolved stage (project.yaml → stage.txt) is not Release or Polish:
"Day-one patch prep is for Release-stage projects. Current stage: [stage]. This skill is not appropriate until you are approaching launch."
Check the premise, do not assume it. This whole skill rests on there being a gold master that already passed a release gate — that premise is what justifies its lightweight QA pass instead of a full one. So verify it rather than inferring it from the stage value:
production/gate-checks/, or none recording a release-gate
verdict: report Release gate: NOT ASSESSED — no gate-check record found. Do
not proceed silently. Say plainly that the reduced QA scope below is justified
by a gate nobody can find, and ask whether to run /gate-check first or
proceed with a full QA pass instead.project.stage: Release on its own does not establish this. The stage is a
claim about where the project is; the gate record is the evidence that it earned
the position.For each open bug, evaluate:
| Criterion | Include in day-one? |
|---|---|
| S1 or S2 severity | Yes — must include if safe to fix |
| P1 priority | Yes |
| Fix estimated < 4 hours | Yes |
| Fix requires architecture change | No — defer to 1.1 |
| Fix introduces new code paths | No — too risky |
| Fix is data/config only (no code change) | Yes — very low risk |
| Cert feedback requirement | Yes — required for platform approval |
| S3/S4 severity | Only if trivial config fix; otherwise defer |
Use AskUserQuestion:
[A] Approve this scope / [B] Adjust — I want to add or remove items / [C] No day-one patch neededIf [C]: output "No day-one patch required. Proceed to /launch-checklist." Stop.
Sum estimated effort. If total exceeds 1 day of work:
"⚠️ Patch scope is [N hours] — this exceeds a safe day-one window. Consider deferring lower-priority items to patch 1.1. A bloated day-one patch introduces more risk than it removes."
Use AskUserQuestion to confirm proceeding or reduce scope.
Before any code is written, define the rollback procedure. This is non-negotiable.
Spawn release-manager via Agent. Ask them to produce a rollback plan covering:
Present the rollback plan. Ask: "May I write this rollback plan to production/releases/rollback-plan-[version].md?"
Do not proceed to Phase 4 until the rollback plan is written.
For each bug in the approved scope, spawn a focused implementation loop:
Spawn lead-programmer via Agent with:
The lead-programmer implements and runs targeted tests.
Spawn qa-tester via Agent to verify: does the bug reproduce after the fix?
For config/data-only fixes: make the change directly (no programmer agent needed). Confirm the value changed and re-run any relevant smoke test.
This is a lightweight QA pass — not a full /team-qa. The patch is already QA-approved from the release gate; we are only re-verifying the changed areas.
Spawn qa-lead via Agent with:
Ask qa-lead to determine: Is a targeted smoke check sufficient, or do any fixes touch systems that require a broader regression?
Run the required QA scope:
/smoke-check [affected-systems]tests/unit/ and tests/integration/ for affected systemsQA verdict must be PASS or PASS WITH WARNINGS before proceeding. If FAIL: scope the failing fix out of the day-one patch and defer to 1.1.
If the QA verdict is NOT ASSESSED, that is not a pass. /smoke-check returns
it when the suite never ran — no build, no runner, or a result nobody confirmed.
Do not proceed on it and do not re-read it as PASS WITH WARNINGS: the warnings
value means somebody looked and saw something minor, and this means nobody looked.
Either obtain the result (the verdict names what would make it runnable) or defer
the fix to 1.1. A day-one patch ships to every player who buys the game on day
one, which is the worst possible audience for an unverified change.
# Day-One Patch: [Game Name] v[version]
**Date prepared**: [date]
**Target release**: [launch date or "day of launch"]
**Base build**: [gold master tag or commit]
**Patch build**: [patch tag or commit]
---
## Patch Notes (Internal)
### Bugs Fixed
| BUG-ID | Severity | Description | Fix summary |
|--------|----------|-------------|-------------|
| BUG-NNN | S[1-4] | [description] | [one-line fix] |
### Deferred to 1.1
| BUG-ID | Severity | Description | Reason deferred |
|--------|----------|-------------|-----------------|
| BUG-NNN | S[1-4] | [description] | [reason] |
---
## QA Sign-Off
**QA scope**: [Targeted smoke / Broader regression]
**Verdict**: [PASS / PASS WITH WARNINGS / NOT ASSESSED]
**QA lead**: qa-lead agent
**Date**: [date]
**Warnings (if any)**: [list or "None"]
**Not assessed (if any)**: [what could not be checked, and why — or "None"]
---
## Rollback Plan
See: `production/releases/rollback-plan-[version].md`
**Trigger condition**: If [N] or more S1 bugs are reported within [X] hours of launch, execute rollback.
**Rollback owner**: [user / producer]
---
## Approvals Required Before Deploy
- [ ] lead-programmer: all fixes reviewed
- [ ] qa-lead: QA gate PASS confirmed
- [ ] producer: deployment timing approved
- [ ] release-manager: platform submission confirmed
---
## Player-Facing Patch Notes
[Draft for community-manager to review before publishing]
[list player-facing changes in plain language]
Ask: "May I write this patch record to production/releases/day-one-patch-[version].md?"
After the patch record is written:
/patch-notes to generate the player-facing version of the patch notes/bug-report verify [BUG-ID] for each fixed bug after the patch is live/bug-report close [BUG-ID] for each verified fix/retrospective launchIf any S1 bugs remain open after the patch:
"⚠️ S1 bugs remain open and were not patched. These are accepted risks. Document them in the rollback plan trigger conditions — if they occur at scale, rollback may be preferable to a follow-up patch."
Use AskUserQuestion:
[A] Run /patch-notes — generate player-facing patch notes[B] Run /bug-report to log any issues found post-deploy[C] Stop here/patch-notes is a required output, not optional