Use this as the production release coordinator for scope confirmation, production MR, merge authorization, tag/build gate, evidence closeout, or reset.
This skill coordinates gates; it does not itself authorize merge, tag push, production mutation, manual job play, force-push reset, or destructive cleanup. Boundary: once the user authorizes a merge, post-merge closeout cleanup of the merged temporary feature branch created for this delivery (worktree + local branch + remote branch) is already covered by that merge authorization per worktree-isolation 收尾 — do not re-ask (eligibility evidence per the Authorization matrix cleanup row). Permanent/integration source branches (e.g. dev) are never cleaned up under this carve-out, and an unclear branch role means preserve and ask; cleanup mechanics and safety rails stay with worktree-isolation.
Owner routing
Concern
Owner
Release document evidence
release-doc-writer
Rollout / rollback / production control plane
platform-release-engineering
Risk labels and mandatory gates
feature-risk-router
Verification strategy
testing-strategy
Active incident / failed smoke
defect-diagnosis
Release evidence signals
platform-observability
Local branch/worktree safety
worktree-isolation
MR/CI/tag commands
repo tooling (glab, gh, approved API/CLI)
Feishu/Lark document operations
Feishu/Lark tooling
Wording polish
tighten-doc
Core lifecycle
Intake — stated scope, production target, release source, tag rule, doc artifact, environments, and user decisions.
Scope-confirmation gate — compare intended scope with first-hand base...release-head diff/log evidence; block on mismatch, over-broad source, target drift, or undocumented operational deltas.
Test-scope prompt — emit test-scope handoff from confirmed diff; route full design to testing-strategy.
Release-doc gate — invoke release-doc-writer to write confirmed scope/evidence depth before MR/merge authorization.
MR/PR gate — duplicate check; read back URL, source/target, head SHA, CI, mergeability, discussions, auto-merge, and the remove-source-branch flag (the flag may stay set only if the cleanup row's source-eligibility conditions — temp branch created for this delivery, no other open or plan-declared consumer — still hold at merge time; otherwise read the flag back OFF before merging — asking may resolve classification, never waive this invariant).
Merge gate — re-read immediately; single-form authorization names current object + head SHA, stale state means ask again; batch-form ("批量合并 N") authorization is scoped to the presented release plan — in-plan commits/MRs the agent itself creates while executing the plan stay authorized, out-of-plan objects and third-party changes still require asking again (canonical: references/mr-merge-authorization.md + worktree-isolation 合并执行协议).
Tag/pipeline gate — verify tag absence/target; after push read back remote tag and pipeline/job behavior.
Rollout/config handoff — live mutation goes to platform-release-engineering; this skill tracks evidence.
Watchers — bounded read-only watchers; stop on terminal/manual/timeout and reconcile.
Closeout — report only read-back facts and explicit gaps/deferred items.
Post-release reset — remote ref maintenance with dry-run/before-after SHAs, --force-with-lease, and SHA equality proof.
Authorization matrix
Action
Auth?
Minimum evidence
Create/update release document
No, if requested
Target section and comment-safe edit plan
Create/update MR/PR
Usually no, if requested
Confirmed release scope, source/target, duplicate-check result
Merge MR/PR
Yes
Current MR/PR, head SHA, CI/mergeability, discussions, auto-merge flag
Create/push production tag
Yes if prod-triggering
Tag name, absence, target commit, expected pipeline behavior
Play manual production job
Yes
Specific job id/name, pipeline, status, intended effect
Modify production config/resource
Yes
Release-doc decision, read-only current state, planned delta
Restart/rollout production workload
Yes
Affected workload, reason, expected state and rollback path
Reset dev/test-like branches
Yes
Target/env refs, before SHAs, dry-run/plan, force-with-lease semantics
Post-merge cleanup of the merged temp feature branch (worktree/local/remote)
No — covered by the user's merge authorization (worktree-isolation 收尾)
The authorized MR/PR read back as merged at the current head SHA and target; the live remote source ref is absent (already cleaned by the platform) or still equals the merged MR source head (moved → preserve and ask, remote path only — eligible local cleanup proceeds per worktree-isolation); no other open or plan-declared MR/PR still consumes the source branch; source branch is a temp feature branch (unclear role → preserve and ask); mechanics/safety rails per worktree-isolation
The matrix is a ceiling, not a floor. A Yes row scopes authorization to that action and to the reversible mechanical prerequisites inside it — those are not re-asked. Inheritance stops there: it never covers a retry of a consumed authorization (worktree-isolation 合并执行协议), a follow-up action, or a prerequisite that is itself gated — that one keeps its own row, so "X needs Y" cannot launder Y's gate. Post-merge cleanup is not an instance of this inheritance; it is the separate narrow carve-out that the boundary above and its own row define. An action absent from this matrix does not acquire a gate by analogy with a listed one — route it to its owner's rules. Absence is not permission: anything irreversible, destructive, production-affecting, or of unclear authority preserves state and asks even with no row of its own. Only a clearly reversible, ungated action is ordinary work. Authorization is never inferred: a generic instruction ("跑下测试" / "run the pipeline"), a prior run's report, or the mere presence of working credentials/config for a mutating lane does not authorize that lane's mutations — the authorization must name the action category in the current task. Destructive cleanup of test/experiment resources is additionally scope-bound to the resources this run observed itself creating (registry/run-id based), never a name-pattern or global sweep.
Minimal checklist
Intended scope, base/head refs, and production target identified.
Diff/log scope matches intent; mismatch/broad source/target drift resolved with the user.
Operational deltas documented or intentionally deferred.
Test-scope prompt emitted or routed to testing-strategy for full design.
Release doc updated from confirmed first-hand evidence.
MR/PR read-back includes head SHA, CI, mergeability, discussions, auto-merge, remove-source-branch flag.
Merge authorization is current — for the exact object and head SHA (single form) or for the presented release plan (batch form, in-plan objects only).
Merge read-back confirms production target ref.
Tag target and remote tag read-back verified.
Manual jobs only observed unless explicitly authorized to play.
Production config/resource changes delegated and read back.
Watchers are bounded and reconciled.
Closeout states evidence gaps and deferred items honestly.
Post-merge closeout cleanup of merged temp feature branches done per worktree-isolation 收尾 and the Authorization matrix cleanup row (or a defer/retention reason it sanctions recorded per path — e.g. 让位 pending external-side-effect task or squash non-ancestor retention, both local-path only, remote cleanup still follows the authorized merge when the matrix cleanup row's eligibility holds; never speculative keep-for-later).