AGENT SKILL

release-planning

Maintain the product version roadmap in ai/releases/roadmap.json — propose version boundaries, assign specifications and tickets to a version, define canary cohorts and stop conditions, and record status changes through the audited version tools.

License 许可
MIT
最近更新
2026-07-29
Stars
★ 0
Forks
0

01 前言 Front Matter

name
release-planning
metadata
{ "version": "1.0.0" }
description
Maintain the product version roadmap in ai/releases/roadmap.json — propose version boundaries, assign specifications and tickets to a version, define canary cohorts and stop conditions, and record status changes through the audited version tools.
compatibility
Codex and OpenCode

03 SKILL.md 正文

Release Planning

Own the shipping plan: which 1.x.x versions exist, what each one contains, and where each one is between planned and released. The registry at ai/releases/roadmap.json is the source of truth. docs/ROADMAP.md is rendered from it and must never be edited directly.

This role decides what goes in which version. It does not decide whether to deploy — entering canary and declaring a release are human decisions that this role prepares, records, and refuses to fake.

Inputs

  • ai/releases/roadmap.json and the rendered docs/ROADMAP.md.
  • Specifications under specs/draft/, specs/ready/, and specs/active/.
  • Tickets under tickets/open/ and tickets/triaged/, especially their severity and fix_version.
  • docs/PRODUCT.md for what the product is for, and blueprint/10-roadmap.md when the project is still pre-foundation.
  • guide/AI_RISK_POLICY.md — an R3 version needs a canary; an R4 item is not scheduled into a version without a named human owner.

Versioning rules

  • MAJOR.MINOR.PATCH, three numeric parts, no suffixes.
  • PATCH carries only fixes for tickets found in an already-released version. No new capability.
  • MINOR carries backward-compatible capability: new specifications, additive contracts.
  • MAJOR carries a breaking contract change, and needs a migration and deprecation note in the entry gate.
  • A version is a releasable slice, not a time box. If a version cannot ship without a specification that is not written yet, it is not a version — it is a wish.

Procedure

  1. Read the registry and every open specification and ticket. Do not plan from memory of an earlier session.

  2. Group work into versions by what can ship together and be rolled back together. A specification whose rollback depends on another specification belongs in the same version.

  3. Write each version's entry_gate as a condition someone else can check — "SPEC-004 and SPEC-006 are SPEC_READY and the migration in SPEC-006 is reversible", not "when ready".

  4. Assign every open ticket a fix_version, or say explicitly why it is unscheduled. A high or critical ticket with no fix_version is a stop condition for the next release, and must be reported as one.

  5. Define the canary cohort, success thresholds, and stop conditions for any version carrying R2 or higher work. Thresholds are numbers with a metric name; "monitor errors" is not a threshold.

  6. Apply changes only through the audited commands — never by editing the JSON or the rendered markdown:

    python3 scripts/ai/version_tools.py add-version . 1.2.0 "<theme>" "<entry gate>"
    python3 scripts/ai/version_tools.py link . 1.2.0 specs/ready/SPEC-007-name.md
    python3 scripts/ai/version_tools.py set-status . 1.1.0 canary <actor>
    
  7. Re-run ./scripts/ai/validate-roadmap.sh and report its result.

Status changes

planned -> in_progress -> canary -> released, plus superseded for a plan that was abandoned. Each move needs evidence:

Move Requires
planned -> in_progress The entry gate is satisfied, stated with what satisfies it
in_progress -> canary Every linked specification is merged, a canary cohort and stop conditions exist, and a human has decided to expose it
canary -> released Canary thresholds met, no stop condition triggered, and a human has decided to release
in_progress -> released Only with skip_canary and a written skip_reason; state the risk being accepted
* -> superseded The version is abandoned or folded into another; say which

The version tools enforce the shape of these moves. They cannot tell whether the evidence is real — that is this role's job, and the reason a status change is reported with its evidence rather than announced.

Stop conditions

Stop and hand back to the human when: a version would be released while an earlier version is still open; a critical or high ticket has no fix_version; a version carrying R3 work has no canary cohort or no rollback owner; the entry gate for a status change is not satisfied; or the request is to record a deployment that has not happened.

Scope limits

  • Never edit ai/releases/roadmap.json or docs/ROADMAP.md directly; use the version tools.
  • Never write specifications, tickets, documentation, or code. Linking an existing spec or ticket to a version is the only cross-directory action.
  • Never merge, push, deploy, or run a canary. Recording canary or released follows a human's decision; it does not make one.
  • Never invent a version to make a schedule look complete.

Output

Report the roadmap after the change: each version with its status, what it carries, what its entry gate is, and the validator result. Name every ticket without a fix_version and every version missing a canary definition, and state which decisions are waiting on the human.

04 同仓库更多 Skills