executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
plan-release-cycle謀軟體發布週期,含里程碑、功能凍結、候選版、發否之準。 含曆基與功能基之發布策。始謀大版或小版之發、自隨機發轉結構化、 跨組件多隊協發、為合規項定質閘、或謀項目首公發(v1.0.0)時用之。
Independent GitHub snapshot · Automated classification · Original documentation governs
謀結構化軟體發布週期:定策(曆基或功能基)、立里程碑與目標日、設功能凍結之準、管候選版、定發否清單、記回滾謀。生 RELEASE-PLAN.md 為文,導隊由開發至發布。
於二主策間擇之:
曆基(時箱):
功能基(範圍驅):
多項宜混:定目標日與範圍,然許 1-2 週緩衝。若至緩衝期未滿範圍,延餘功能。
記策之擇與其因。
得:發布策已記,附與項脈絡相符之因。
敗則:若隊不能合於策,默擇曆基附功能優先列。時箱迫優先之決。
將發布週期分諸相,附目標日:
## Release Plan: v2.0.0
### Timeline
| Phase | Start | End | Duration | Description |
|---|---|---|---|---|
| Development | 2026-02-17 | 2026-03-14 | 4 weeks | Active feature development |
| Feature Freeze | 2026-03-15 | 2026-03-15 | 1 day | No new features merged after this date |
| Stabilization | 2026-03-15 | 2026-03-21 | 1 week | Bug fixes, documentation, testing only |
| RC1 | 2026-03-22 | 2026-03-22 | 1 day | First release candidate tagged |
| RC Testing | 2026-03-22 | 2026-03-28 | 1 week | Community/team testing of RC |
| RC2 (if needed) | 2026-03-29 | 2026-03-29 | 1 day | Second RC if critical issues found |
| Go/No-Go | 2026-03-31 | 2026-03-31 | 1 day | Final decision meeting |
| Release | 2026-04-01 | 2026-04-01 | 1 day | Tag, publish, announce |
典型相之長:
得:里程碑表,附諸相之日、長、述。
敗則:若時程過密(穩定 < 1 週),延發布日或減範圍。穩定不可略。
定本發布之「功能凍結」何義:
### Feature Freeze Criteria
After feature freeze (2026-03-15):
- **Allowed**: Bug fixes, test additions, documentation updates, dependency security patches
- **Not allowed**: New features, API changes, refactoring, dependency upgrades (non-security)
- **Exception process**: Feature freeze exceptions require written justification and approval from [release owner]
### Feature Priority List
| Priority | Feature | Status | Owner | Notes |
|---|---|---|---|---|
| P0 (must) | New export format | In progress | [Name] | Blocks release |
| P0 (must) | Security audit fixes | Not started | [Name] | Compliance requirement |
| P1 (should) | Performance optimization | In progress | [Name] | Defer if not ready |
| P2 (nice) | Dark mode support | Not started | [Name] | Defer to v2.1.0 if needed |
P0 功能阻發。P1 功能備則含。P2 功能延而不誤。
得:功能凍結之規記之,附例外程序與分優之功能列。
敗則:若 P0 功能恐誤凍結日,立報之。選:延開發相、分功能為較小可交付者、或延至點發布(v2.0.1)。
定候選版如何生與試:
### Release Candidate Process
1. **RC1 Tag**: Tag from the stabilization branch after all P0 features merged and CI green
```bash
git tag -a v2.0.0-rc.1 -m "Release candidate 1 for v2.0.0"
RC Distribution: Publish RC to staging/testing channel
install.packages("pkg", repos = "https://staging.r-universe.dev/user")npm install pkg@nextRC Testing Period: 5-7 business days
RC Evaluation:
RC2+ Tags: Only if critical issues found in previous RC
git tag -a v2.0.0-rc.2 -m "Release candidate 2 for v2.0.0"
得:RC 程序記之,附標籤慣、分發法、試清單、升報之準。
敗則:若 RC 程序被略(發布壓),記其險。未試之發布有較高之回滾機率。
### 第五步:定發否清單
立發布許可前必達之準:
```markdown
### Go/No-Go Checklist
#### Must Pass (release blocked if any fail)
- [ ] All CI checks passing on release branch
- [ ] Zero critical bugs open against this version
- [ ] Zero high-severity security vulnerabilities
- [ ] All P0 features verified and documented
- [ ] Changelog complete and reviewed
- [ ] Upgrade path tested from previous version (v1.x -> v2.0.0)
- [ ] License and attribution files up to date
#### Should Pass (release proceeds with documented risk)
- [ ] Zero high bugs open (non-critical)
- [ ] All P1 features included
- [ ] Performance benchmarks within acceptable range
- [ ] Documentation reviewed and spell-checked
- [ ] External dependencies at latest stable versions
#### Decision
- **Go**: All "Must Pass" items checked, majority of "Should Pass" items checked
- **No-Go**: Any "Must Pass" item unchecked
- **Conditional Go**: All "Must Pass" checked, significant "Should Pass" items unchecked — document accepted risks
得:發否清單,附明確過敗之準與決規。
敗則:若發否會議致 No-Go,識阻項、指主、設新目標日(常 1-2 週後),並更新發布謀。
定若發布致生產之關鍵問題如何回滾:
### Rollback Plan
#### Rollback Triggers
- Critical bug affecting >10% of users
- Data corruption or loss
- Security vulnerability introduced by the release
- Breaking change not documented in changelog
#### Rollback Procedure
1. **Revert package registry**: Unpublish or yank the release
- R/CRAN: Contact CRAN maintainers (cannot self-unpublish)
- npm: `npm unpublish pkg@2.0.0` (within 72 hours)
- GitHub: Mark release as pre-release, publish point fix
2. **Communicate**: Notify users via GitHub issue, mailing list, or social channels
- Template: "v2.0.0 has been rolled back due to [issue]. Please use v1.x.y until a fix is released."
3. **Fix forward**: Prefer a v2.0.1 patch release over a full rollback when possible
4. **Post-mortem**: Conduct a post-mortem within 48 hours of rollback to identify process gaps
#### Point Release Policy
- v2.0.1 for critical bug fixes within 1 week of release
- v2.0.2 for additional fixes within 2 weeks
- Patch releases do not require full RC cycle but must pass CI and critical test suite
完整發布謀書於 RELEASE-PLAN.md 或 RELEASE-PLAN-v2.0.0.md。
得:回滾謀記之,附觸發、程序、通信模板、點發布之策。完整 RELEASE-PLAN.md 已書。
敗則:若回滾不可行(如資料庫遷移已施),記前進修正之程序。每發布皆當有恢復之徑。
apply-semantic-versioning — 定所謀發布之版號manage-changelog — 維與發布筆記相連之變更記plan-sprint — 發布週期之開發相內行衝刺謀draft-project-charter — 項目章可定發布路線圖與成功之準generate-status-report — 對里程碑追進度