[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6X0NNRV5MK72RNAQZ8EHPMD":3,"skill-same:01M6X0NNRV5MK72RNAQZ8EHPMD":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":6,"ownerHtmlUrl":41,"ownerBlogUrl":42,"ownerDescription":43,"updatedAt":44,"install":45,"resources":58},"01M6X0NNRV5MK72RNAQZ8EHPMD","XMC Generate Release Notes",null,"Generates structured, intelligent release notes segmented into out-of-the-box user-facing changes, behind-the-flag preview features, and operational\u002Fdev progress.","google\u002Fxmc","google","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1342004?v=4","01M698VYEFDM0VJBZDYYJ2T83S","Google","01M6X0MD62T1HTQNBX4VJ5AXWK",8,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxmc\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fxmc_generate_release_notes\u002FSKILL.md",[],[5,19,20,21,22,23,24,25,26,27,28,29,30],"release notes","notes","generate","release","dev","preview","changes","progress","features","box","user","structured","2026-11-10 10:12:30",false,"---\nname: XMC Generate Release Notes\ndescription: Generates structured, intelligent release notes segmented into out-of-the-box user-facing changes, behind-the-flag preview features, and operational\u002Fdev progress.\n---\n\n# Intelligent Release Notes Generation Playbook\n\nThis skill provides step-by-step procedures for extracting release metadata, detecting feature flag transitions, and synthesizing high-impact, audience-segmented release notes for XMC releases.\n\n> [!IMPORTANT]\n> All execution steps in this skill MUST strictly adhere to the policy rules defined in [Core Engineering Standards](..\u002F..\u002Frules\u002Fcore_engineering.md) and [Skills & Automation Guidelines](..\u002F..\u002Frules\u002Fskills_and_automation.md).\n\n---\n\n## Guidelines for Using CLI Tools\n\nWhen invoking helper tools under `tools\u002F` (e.g., `extract_release_metadata.py`):\n1. **Do not read tool source code**: Do not open or read the Python source code of helper tools. Refer to [Skills & Automation Guidelines](..\u002F..\u002Frules\u002Fskills_and_automation.md#5-helper-tool-execution-policy--safety-constraints).\n2. **Use `--help`**: Run tools with `--help` to inspect parameters and usage.\n3. **Parse Structured Output & Handle Errors**: All tools output structured JSON; check the exit code per [Helper Tool Exit Codes](..\u002F..\u002FAGENTS.md#universal-architectural-principles).\n4. **Shell & Payload Safety**: Execute standalone `.py` script files or pass arguments via script parameters. Avoid double-quoted inline commands (`python3 -c \"...\"`).\n\n---\n\n## 1. Release Range & Git Reference Discovery\n\n1. **Fetch Remote Tags & Canonical References**:\n   Ensure local repository state has the latest tags and canonical commit history without switching branches:\n   ```bash\n   git fetch origin main --tags\n   ```\n\n2. **Identify Base and Target References**:\n   - Determine target version (e.g., `0.6.0`, `origin\u002Fmain`, or a specific release commit SHA). Default to `origin\u002Fmain` for standard releases.\n   - If not specified by the user, discover the latest previous semver release tag (e.g. `0.17.0`) on `origin\u002Fmain`. The `--match` globs skip the daily `nightly-YYYY-MM-DD.N` tags and `--exclude '*-*'` skips pre-release tags such as `1.2.3-rc1`; `extract_release_metadata.py` applies the same rule when `--base-ref` is omitted:\n     ```bash\n     git describe --tags --abbrev=0 --match '[0-9]*.[0-9]*.[0-9]*' --match 'v[0-9]*.[0-9]*.[0-9]*' --exclude '*-*' origin\u002Fmain^ 2>\u002Fdev\u002Fnull || git rev-list --max-parents=0 origin\u002Fmain\n     ```\n3. **Inspect Commit Range**:\n   ```bash\n   BASE_TAG=\"\u003Cbase_tag>\"\n   TARGET_REF=\"${TARGET_REF:-origin\u002Fmain}\"\n   git log --oneline \"${BASE_TAG}\"..\"${TARGET_REF}\"\n   ```\n\n---\n\n## 2. Deterministic Metadata Extraction & Approved Flags Discovery\n\n1. **Discover Gated Subsystems & Feature Flags**:\n   The release generator checks current disabled feature flags in `deploy\u002Fctk_v2\u002Fxmanager-cloud-deployment.yaml` and `deploy\u002Fhelm\u002Fvalues.yaml`.\n2. **Interactive Check for Approved \u002F Production-Ready Flags**:\n   Before or during metadata extraction, prompt the user in chat:\n   > *\"Discovered disabled feature flags: `rod_deployment_enabled`, `health_service_deployment_enabled`, `dashboard_service_deployment_enabled`.\"*\n   > *\"Are any of these flags approved \u002F production-ready for this release (safe to be enabled)?\"*\n   \n   > [!TIP]\n   > When specifying `--approved-flags`, provide both the CTK variable (e.g. `health_service_deployment_enabled`) and the Helm manifest path (e.g. `healthServiceDeployment.enabled`) to ensure commits across both deployment layers are recognized as approved preview features.\n\n3. **Execute Release Metadata Extraction Tool**:\n   Run the extraction helper tool with `--approved-flags` and pin to the canonical `--target-ref` (`origin\u002Fmain`):\n   ```bash\n   BASE_TAG=\"\u003Cbase_tag>\"\n   TARGET_REF=\"${TARGET_REF:-origin\u002Fmain}\"\n   METADATA_FILE=\"${ARTIFACT_DIR:-\u002Ftmp}\u002Frelease_metadata.json\"\n\n   python3 .\u002Ftools\u002Frelease\u002Fextract_release_metadata.py \\\n       --base-ref \"${BASE_TAG}\" \\\n       --target-ref \"${TARGET_REF}\" \\\n       --approved-flags rod_deployment_enabled rodDeployment.enabled \\\n       --output \"${METADATA_FILE}\"\n   ```\n4. **Inspect Structured Output**:\n   The output JSON provides:\n   - `metadata`: Git commit, PR counts, and `approved_flags` list.\n   - `recommended_version`: Automated SemVer recommendation (`current_version`, `recommended_version`, `recommended_bump`, `rationale`, boolean bump triggers).\n   - `flag_transitions`: Flips (`false` -> `true`, `true` -> `false`) and configuration additions.\n   - `gated_subsystems_status`: Current status of each gated subsystem (Active vs Production-Ready vs Experimental).\n   - `raw_commits`: Full list of parsed git commits with `commit_hash`, `short_hash`, `commit_type`, `scope`, `description`, `pr_number`, and `files_changed`.\n\n---\n\n## 3. Semantic Commit Classification & Section Routing (Agent Reasoning)\n\nThe agent reads `raw_commits`, `flag_transitions`, and `gated_subsystems_status` to synthesize and classify commits into the 4-section layout using semantic reasoning:\n\n> [!IMPORTANT]\n> **Subsystem Grounding & Anti-Embellishment Invariant**:\n> Ground subsystem headings and feature titles strictly in repository naming contracts (`deploy\u002F`, `pkg\u002F`, and `tools\u002Frelease\u002Ffeature_flags.py`). Prohibit speculative extrapolation, marketing embellishments, or buzzword additions (e.g., use \"Pluggable Components for XMC\" or the clean derived name \"Components\", NOT \"AI Components\").\n\n1. **Section 1: Public Changes (Available Out-of-the-Box)**:\n   - **Highlights & Promoted Capabilities**: Subsystems with `is_promotion_to_default == true` in `flag_transitions`, or major new out-of-the-box milestones.\n   - **New Features**: Commits with `commit_type == \"feat\"` that touch active, non-gated services (UI, Experiment State Server, Actuator, Reconciler, XID Service).\n   - **Bug Fixes**: Commits with `commit_type == \"fix\"` that resolve bugs in active services.\n2. **Section 2: Production-Ready Features Behind Feature Flags (Safe to Enable)**:\n   - Subsystems whose feature flags are listed in `approved_flags` or whose status is `approved_preview_toggle` in `gated_subsystems_status`.\n   - Synthesize all commits (`feat`, `fix`, `docs`) touching this subsystem into cohesive bullet points.\n3. **Section 3: In-Development \u002F Experimental Features Behind Flags**:\n   - Subsystems whose feature flags are default `false` and NOT approved (`status == \"experimental_preview_toggle\"`).\n   - Clearly state that capabilities are under active ongoing development and may not yet be functional.\n4. **Section 4: Operational, Infrastructure & Engineering Velocity**:\n   - Commits with `commit_type` in `refactor`, `chore`, `docs`, `test`, `build`, `ci`, or developer tooling (`tools\u002F`, `.github\u002F`, `.agents\u002F`).\n\n---\n\n## 4. Semantic Synthesis & Narrative Formatting\n\nUsing the classified commits and the [Release Notes Taxonomy Reference](references\u002Frelease_notes_taxonomy.md), draft the release notes according to the 4-section layout:\n\n```markdown\n# XMC Release \u003CRecommended_Version> (e.g., 0.7.0)\n\n> **Release Version Determination**: \u003Crecommended_bump> bump (`\u003Ccurrent_base_version>` -> `\u003Crecommended_version>`).\n> *Rationale*: \u003Crationale>\n\n---\n\n## 🌟 1. Public Changes (Available Out-of-the-Box)\n\n### 🚀 Major Highlights & Promoted Capabilities\n* **[Promoted to Default] Feature Name**: Description of the capability newly enabled by default (`flag_name: true`), and why it matters to users (#PRs).\n* **[Action Required \u002F Breaking]**: Any Spanner migration, new GCP IAM permissions, or altered configuration requirements.\n\n### ✨ New Features & Improvements\n* **Topic Title**: Cohesive summary of user-facing enhancements across active services (#PRs).\n\n### 🐛 User-Facing Bug Fixes & Stability\n* Description of fixes affecting user workflows (#PRs).\n\n---\n\n## 🚀 2. Production-Ready Features Behind Feature Flags (Safe to Enable)\n> The following capabilities are fully developed, verified, and safe to be enabled. Their default enablement is temporarily postponed solely to align with managed solution milestones.\n\n### 🔹 [Flag: `\u003Cctk_flag_name>`] \u003CSubsystem Display Name>\n* **How to enable**: Set `\u003Cctk_flag_name>: true` in `deploy\u002Fctk_v2\u002Fxmanager-cloud-deployment.yaml` (or the nested `\u003Chelm_flag_path>: true` in Helm `values.yaml`).\n* **What's New**:\n  * Synthesized summary of ready endpoints, controllers, UI components, or APIs (#PRs).\n\n---\n\n## 🧪 3. In-Development \u002F Experimental Features Behind Flags\n> [!WARNING]\n> The following capabilities are under active ongoing development, experimental, and may not yet be functional. They are available for early preview and evaluation by enabling their deployment flags in your Cluster Toolkit deployment YAML or Helm `values.yaml`.\n\n### 🔹 [Flag: `\u003Cctk_flag_name>`] \u003CSubsystem Display Name>\n* **How to enable**: Set `\u003Cctk_flag_name>: true` in `deploy\u002Fctk_v2\u002Fxmanager-cloud-deployment.yaml` (or the nested `\u003Chelm_flag_path>: true` in Helm `values.yaml`).\n* **What's New**:\n  * Synthesized summary of experimental capabilities (#PRs).\n\n---\n\n## ⚙️ 4. Operational, Infrastructure & Engineering Velocity\n> Changes relevant to cluster operators, CI\u002FCD, and internal architecture that do not alter the end-user interface.\n\n* **Cluster & Portability**: Infrastructure updates, Terraform\u002FHelm changes, OIDC\u002Fauth enhancements (#PRs).\n* **CI & Build Performance**: Bazel caching, ARC runner optimizations, test scoping (#PRs).\n* **Refactoring & Code Quality**: Internal architectural cleanups, lifecycle migrations, linting rules (#PRs).\n```\n\n### Narrative Synthesis Principles:\n- **Group Related PRs**: Never output disjointed lists of PR titles. Combine multiple PRs under common feature headers.\n- **Clear Flag Activation Instructions**: For every gated feature, explicitly mention the exact configuration flags (CTK YAML and Helm `values.yaml`) where operators can enable it.\n- **Explain User Value**: Highlight what users or operators can accomplish with the changes.\n\n---\n\n## 5. Draft Generation & Interactive Review Gate\n\n1. **Present Version Recommendation in Chat**:\n   Report the proposed version increment and technical rationale clearly in the chat:\n   * **Base Version**: `\u003Cbase_version>`\n   * **Proposed Release Version**: `\u003Crecommended_version>` (`\u003Crecommended_bump>` bump)\n   * **Triggers**: List the concrete commits, migrations, promotions, or OOTB features justifying the bump.\n2. **Generate Draft Markdown File**:\n   Write the structured release notes to a dedicated markdown file:\n   * Recommended path: `\"${ARTIFACT_DIR:-\u002Ftmp}\u002Frelease_notes_v\u003Cversion>.md\"`\n   * Include the complete 4-section layout with flag instructions and narrative synthesis.\n3. **Interactive Review**:\n   Present the draft file path to the user for review. If the user requests adjustments (e.g. changing version number, tuning descriptions, or regrouping entries), use `replace_file_content` to update the markdown file.\n4. **Preflight Validation (`--dry-run`)**:\n   Run non-mutating preflight validation with `--dry-run` to verify tag format, commit resolution, tag availability on remote, and notes file readability prior to requesting user approval:\n   ```bash\n   VERSION=\"\u003Cversion>\"\n   NOTES_FILE=\"${ARTIFACT_DIR:-\u002Ftmp}\u002Frelease_notes_v${VERSION}.md\"\n   PYTHONPATH=. python3 .\u002Ftools\u002Frelease\u002Fpublish_release.py \\\n       --tag \"${VERSION}\" \\\n       --target-commit origin\u002Fmain \\\n       --notes-file \"${NOTES_FILE}\" \\\n       --dry-run\n   ```\n\n---\n\n## 6. Mandatory Confirmation Gate & Release Publishing\n\n> [!CAUTION]\n> **STRICT INVARIANTS**:\n> 1. **NEVER CREATE A GIT TAG OR GITHUB RELEASE WITHOUT EXPLICIT USER CONFIRMATION**: The agent MUST NOT call `publish_release.py` (without `--dry-run`), run `git tag`, `git push origin \u003Ctag>`, or `gh release create` proactively or autonomously. The agent MUST stop and wait after running the `--dry-run` preflight check and presenting the draft and recommended version. Only proceed to step 2 after the user provides an explicit affirmative instruction (e.g., \"approve release\", \"create tag and release\", \"publish release\").\n> 2. **NEVER USE `--force` TO OVERWRITE AN EXISTING TAG OR RELEASE AUTONOMOUSLY**: If a tag or release already exists locally or on the remote, abort immediately and consult the user.\n\n1. **Wait for Explicit User Approval**:\n   Confirm that the user has explicitly approved both the **version number** and the **release notes content**.\n2. **Publish Release as GitHub Draft (Post-Approval Only)**:\n   Execute the release publishing tool with `--draft` and explicitly pin `--target-commit origin\u002Fmain` to ensure the release tag points to the canonical verified main commit:\n   ```bash\n   VERSION=\"\u003Cversion>\"\n   NOTES_FILE=\"${ARTIFACT_DIR:-\u002Ftmp}\u002Frelease_notes_v${VERSION}.md\"\n   PYTHONPATH=. python3 .\u002Ftools\u002Frelease\u002Fpublish_release.py \\\n       --tag \"${VERSION}\" \\\n       --target-commit origin\u002Fmain \\\n       --notes-file \"${NOTES_FILE}\" \\\n       --draft\n   ```\n   > [!NOTE]\n   > Publishing as a draft gives the team a collaborative proofreading window (e.g. 1–2 hours) on GitHub Releases to review the changelog and propose adjustments before manually publishing it to the public. Omit `--draft` only if the user explicitly instructs to publish publicly immediately.\n3. **Confirm Publication**:\n   Provide the user with the generated GitHub Release URL and confirm that the git tag was successfully pushed.\n4. **Draft to Public Promotion (Separate Post-Review Action)**:\n   Once the collaborative proofreading window is complete and the user explicitly requests making the release public, promote the draft release:\n   ```bash\n   TAG=\"\u003Cversion>\"\n   gh release edit \"v${TAG#v}\" --draft=false\n   ```\n   > [!CAUTION]\n   > Promoting a draft release to public is an irreversible public action and MUST NOT be performed autonomously. It requires an explicit user confirmation gate (e.g., \"promote release to public\").\n","# Intelligent Release Notes Generation Playbook\n\nThis skill provides step-by-step procedures for extracting release metadata, detecting feature flag transitions, and synthesizing high-impact, audience-segmented release notes for XMC releases.\n\n> [!IMPORTANT]\n> All execution steps in this skill MUST strictly adhere to the policy rules defined in [Core Engineering Standards](..\u002F..\u002Frules\u002Fcore_engineering.md) and [Skills & Automation Guidelines](..\u002F..\u002Frules\u002Fskills_and_automation.md).\n\n---\n\n## Guidelines for Using CLI Tools\n\nWhen invoking helper tools under `tools\u002F` (e.g., `extract_release_metadata.py`):\n1. **Do not read tool source code**: Do not open or read the Python source code of helper tools. Refer to [Skills & Automation Guidelines](..\u002F..\u002Frules\u002Fskills_and_automation.md#5-helper-tool-execution-policy--safety-constraints).\n2. **Use `--help`**: Run tools with `--help` to inspect parameters and usage.\n3. **Parse Structured Output & Handle Errors**: All tools output structured JSON; check the exit code per [Helper Tool Exit Codes](..\u002F..\u002FAGENTS.md#universal-architectural-principles).\n4. **Shell & Payload Safety**: Execute standalone `.py` script files or pass arguments via script parameters. Avoid double-quoted inline commands (`python3 -c \"...\"`).\n\n---\n\n## 1. Release Range & Git Reference Discovery\n\n1. **Fetch Remote Tags & Canonical References**:\n   Ensure local repository state has the latest tags and canonical commit history without switching branches:\n   ```bash\n   git fetch origin main --tags\n   ```\n\n2. **Identify Base and Target References**:\n   - Determine target version (e.g., `0.6.0`, `origin\u002Fmain`, or a specific release commit SHA). Default to `origin\u002Fmain` for standard releases.\n   - If not specified by the user, discover the latest previous semver release tag (e.g. `0.17.0`) on `origin\u002Fmain`. The `--match` globs skip the daily `nightly-YYYY-MM-DD.N` tags and `--exclude '*-*'` skips pre-release tags such as `1.2.3-rc1`; `extract_release_metadata.py` applies the same rule when `--base-ref` is omitted:\n     ```bash\n     git describe --tags --abbrev=0 --match '[0-9]*.[0-9]*.[0-9]*' --match 'v[0-9]*.[0-9]*.[0-9]*' --exclude '*-*' origin\u002Fmain^ 2>\u002Fdev\u002Fnull || git rev-list --max-parents=0 origin\u002Fmain\n     ```\n3. **Inspect Commit Range**:\n   ```bash\n   BASE_TAG=\"\u003Cbase_tag>\"\n   TARGET_REF=\"${TARGET_REF:-origin\u002Fmain}\"\n   git log --oneline \"${BASE_TAG}\"..\"${TARGET_REF}\"\n   ```\n\n---\n\n## 2. Deterministic Metadata Extraction & Approved Flags Discovery\n\n1. **Discover Gated Subsystems & Feature Flags**:\n   The release generator checks current disabled feature flags in `deploy\u002Fctk_v2\u002Fxmanager-cloud-deployment.yaml` and `deploy\u002Fhelm\u002Fvalues.yaml`.\n2. **Interactive Check for Approved \u002F Production-Ready Flags**:\n   Before or during metadata extraction, prompt the user in chat:\n   > *\"Discovered disabled feature flags: `rod_deployment_enabled`, `health_service_deployment_enabled`, `dashboard_service_deployment_enabled`.\"*\n   > *\"Are any of these flags approved \u002F production-ready for this release (safe to be enabled)?\"*\n   \n   > [!TIP]\n   > When specifying `--approved-flags`, provide both the CTK variable (e.g. `health_service_deployment_enabled`) and the Helm manifest path (e.g. `healthServiceDeployment.enabled`) to ensure commits across both deployment layers are recognized as approved preview features.\n\n3. **Execute Release Metadata Extraction Tool**:\n   Run the extraction helper tool with `--approved-flags` and pin to the canonical `--target-ref` (`origin\u002Fmain`):\n   ```bash\n   BASE_TAG=\"\u003Cbase_tag>\"\n   TARGET_REF=\"${TARGET_REF:-origin\u002Fmain}\"\n   METADATA_FILE=\"${ARTIFACT_DIR:-\u002Ftmp}\u002Frelease_metadata.json\"\n\n   python3 .\u002Ftools\u002Frelease\u002Fextract_release_metadata.py \\\n       --base-ref \"${BASE_TAG}\" \\\n       --target-ref \"${TARGET_REF}\" \\\n       --approved-flags rod_deployment_enabled rodDeployment.enabled \\\n       --output \"${METADATA_FILE}\"\n   ```\n4. **Inspect Structured Output**:\n   The output JSON provides:\n   - `metadata`: Git commit, PR counts, and `approved_flags` list.\n   - `recommended_version`: Automated SemVer recommendation (`current_version`, `recommended_version`, `recommended_bump`, `rationale`, boolean bump triggers).\n   - `flag_transitions`: Flips (`false` -> `true`, `true` -> `false`) and configuration additions.\n   - `gated_subsystems_status`: Current status of each gated subsystem (Active vs Production-Ready vs Experimental).\n   - `raw_commits`: Full list of parsed git commits with `commit_hash`, `short_hash`, `commit_type`, `scope`, `description`, `pr_number`, and `files_changed`.\n\n---\n\n## 3. Semantic Commit Classification & Section Routing (Agent Reasoning)\n\nThe agent reads `raw_commits`, `flag_transitions`, and `gated_subsystems_status` to synthesize and classify commits into the 4-section layout using semantic reasoning:\n\n> [!IMPORTANT]\n> **Subsystem Grounding & Anti-Embellishment Invariant**:\n> Ground subsystem headings and feature titles strictly in repository naming contracts (`deploy\u002F`, `pkg\u002F`, and `tools\u002Frelease\u002Ffeature_flags.py`). Prohibit speculative extrapolation, marketing embellishments, or buzzword additions (e.g., use \"Pluggable Components for XMC\" or the clean derived name \"Components\", NOT \"AI Components\").\n\n1. **Section 1: Public Changes (Available Out-of-the-Box)**:\n   - **Highlights & Promoted Capabilities**: Subsystems with `is_promotion_to_default == true` in `flag_transitions`, or major new out-of-the-box milestones.\n   - **New Features**: Commits with `commit_type == \"feat\"` that touch active, non-gated services (UI, Experiment State Server, Actuator, Reconciler, XID Service).\n   - **Bug Fixes**: Commits with `commit_type == \"fix\"` that resolve bugs in active services.\n2. **Section 2: Production-Ready Features Behind Feature Flags (Safe to Enable)**:\n   - Subsystems whose feature flags are listed in `approved_flags` or whose status is `approved_preview_toggle` in `gated_subsystems_status`.\n   - Synthesize all commits (`feat`, `fix`, `docs`) touching this subsystem into cohesive bullet points.\n3. **Section 3: In-Development \u002F Experimental Features Behind Flags**:\n   - Subsystems whose feature flags are default `false` and NOT approved (`status == \"experimental_preview_toggle\"`).\n   - Clearly state that capabilities are under active ongoing development and may not yet be functional.\n4. **Section 4: Operational, Infrastructure & Engineering Velocity**:\n   - Commits with `commit_type` in `refactor`, `chore`, `docs`, `test`, `build`, `ci`, or developer tooling (`tools\u002F`, `.github\u002F`, `.agents\u002F`).\n\n---\n\n## 4. Semantic Synthesis & Narrative Formatting\n\nUsing the classified commits and the [Release Notes Taxonomy Reference](references\u002Frelease_notes_taxonomy.md), draft the release notes according to the 4-section layout:\n\n```markdown\n# XMC Release \u003CRecommended_Version> (e.g., 0.7.0)\n\n> **Release Version Determination**: \u003Crecommended_bump> bump (`\u003Ccurrent_base_version>` -> `\u003Crecommended_version>`).\n> *Rationale*: \u003Crationale>\n\n---\n\n## 🌟 1. Public Changes (Available Out-of-the-Box)\n\n### 🚀 Major Highlights & Promoted Capabilities\n* **[Promoted to Default] Feature Name**: Description of the capability newly enabled by default (`flag_name: true`), and why it matters to users (#PRs).\n* **[Action Required \u002F Breaking]**: Any Spanner migration, new GCP IAM permissions, or altered configuration requirements.\n\n### ✨ New Features & Improvements\n* **Topic Title**: Cohesive summary of user-facing enhancements across active services (#PRs).\n\n### 🐛 User-Facing Bug Fixes & Stability\n* Description of fixes affecting user workflows (#PRs).\n\n---\n\n## 🚀 2. Production-Ready Features Behind Feature Flags (Safe to Enable)\n> The following capabilities are fully developed, verified, and safe to be enabled. Their default enablement is temporarily postponed solely to align with managed solution milestones.\n\n### 🔹 [Flag: `\u003Cctk_flag_name>`] \u003CSubsystem Display Name>\n* **How to enable**: Set `\u003Cctk_flag_name>: true` in `deploy\u002Fctk_v2\u002Fxmanager-cloud-deployment.yaml` (or the nested `\u003Chelm_flag_path>: true` in Helm `values.yaml`).\n* **What's New**:\n  * Synthesized summary of ready endpoints, controllers, UI components, or APIs (#PRs).\n\n---\n\n## 🧪 3. In-Development \u002F Experimental Features Behind Flags\n> [!WARNING]\n> The following capabilities are under active ongoing development, experimental, and may not yet be functional. They are available for early preview and evaluation by enabling their deployment flags in your Cluster Toolkit deployment YAML or Helm `values.yaml`.\n\n### 🔹 [Flag: `\u003Cctk_flag_name>`] \u003CSubsystem Display Name>\n* **How to enable**: Set `\u003Cctk_flag_name>: true` in `deploy\u002Fctk_v2\u002Fxmanager-cloud-deployment.yaml` (or the nested `\u003Chelm_flag_path>: true` in Helm `values.yaml`).\n* **What's New**:\n  * Synthesized summary of experimental capabilities (#PRs).\n\n---\n\n## ⚙️ 4. Operational, Infrastructure & Engineering Velocity\n> Changes relevant to cluster operators, CI\u002FCD, and internal architecture that do not alter the end-user interface.\n\n* **Cluster & Portability**: Infrastructure updates, Terraform\u002FHelm changes, OIDC\u002Fauth enhancements (#PRs).\n* **CI & Build Performance**: Bazel caching, ARC runner optimizations, test scoping (#PRs).\n* **Refactoring & Code Quality**: Internal architectural cleanups, lifecycle migrations, linting rules (#PRs).\n```\n\n### Narrative Synthesis Principles:\n- **Group Related PRs**: Never output disjointed lists of PR titles. Combine multiple PRs under common feature headers.\n- **Clear Flag Activation Instructions**: For every gated feature, explicitly mention the exact configuration flags (CTK YAML and Helm `values.yaml`) where operators can enable it.\n- **Explain User Value**: Highlight what users or operators can accomplish with the changes.\n\n---\n\n## 5. Draft Generation & Interactive Review Gate\n\n1. **Present Version Recommendation in Chat**:\n   Report the proposed version increment and technical rationale clearly in the chat:\n   * **Base Version**: `\u003Cbase_version>`\n   * **Proposed Release Version**: `\u003Crecommended_version>` (`\u003Crecommended_bump>` bump)\n   * **Triggers**: List the concrete commits, migrations, promotions, or OOTB features justifying the bump.\n2. **Generate Draft Markdown File**:\n   Write the structured release notes to a dedicated markdown file:\n   * Recommended path: `\"${ARTIFACT_DIR:-\u002Ftmp}\u002Frelease_notes_v\u003Cversion>.md\"`\n   * Include the complete 4-section layout with flag instructions and narrative synthesis.\n3. **Interactive Review**:\n   Present the draft file path to the user for review. If the user requests adjustments (e.g. changing version number, tuning descriptions, or regrouping entries), use `replace_file_content` to update the markdown file.\n4. **Preflight Validation (`--dry-run`)**:\n   Run non-mutating preflight validation with `--dry-run` to verify tag format, commit resolution, tag availability on remote, and notes file readability prior to requesting user approval:\n   ```bash\n   VERSION=\"\u003Cversion>\"\n   NOTES_FILE=\"${ARTIFACT_DIR:-\u002Ftmp}\u002Frelease_notes_v${VERSION}.md\"\n   PYTHONPATH=. python3 .\u002Ftools\u002Frelease\u002Fpublish_release.py \\\n       --tag \"${VERSION}\" \\\n       --target-commit origin\u002Fmain \\\n       --notes-file \"${NOTES_FILE}\" \\\n       --dry-run\n   ```\n\n---\n\n## 6. Mandatory Confirmation Gate & Release Publishing\n\n> [!CAUTION]\n> **STRICT INVARIANTS**:\n> 1. **NEVER CREATE A GIT TAG OR GITHUB RELEASE WITHOUT EXPLICIT USER CONFIRMATION**: The agent MUST NOT call `publish_release.py` (without `--dry-run`), run `git tag`, `git push origin \u003Ctag>`, or `gh release create` proactively or autonomously. The agent MUST stop and wait after running the `--dry-run` preflight check and presenting the draft and recommended version. Only proceed to step 2 after the user provides an explicit affirmative instruction (e.g., \"approve release\", \"create tag and release\", \"publish release\").\n> 2. **NEVER USE `--force` TO OVERWRITE AN EXISTING TAG OR RELEASE AUTONOMOUSLY**: If a tag or release already exists locally or on the remote, abort immediately and consult the user.\n\n1. **Wait for Explicit User Approval**:\n   Confirm that the user has explicitly approved both the **version number** and the **release notes content**.\n2. **Publish Release as GitHub Draft (Post-Approval Only)**:\n   Execute the release publishing tool with `--draft` and explicitly pin `--target-commit origin\u002Fmain` to ensure the release tag points to the canonical verified main commit:\n   ```bash\n   VERSION=\"\u003Cversion>\"\n   NOTES_FILE=\"${ARTIFACT_DIR:-\u002Ftmp}\u002Frelease_notes_v${VERSION}.md\"\n   PYTHONPATH=. python3 .\u002Ftools\u002Frelease\u002Fpublish_release.py \\\n       --tag \"${VERSION}\" \\\n       --target-commit origin\u002Fmain \\\n       --notes-file \"${NOTES_FILE}\" \\\n       --draft\n   ```\n   > [!NOTE]\n   > Publishing as a draft gives the team a collaborative proofreading window (e.g. 1–2 hours) on GitHub Releases to review the changelog and propose adjustments before manually publishing it to the public. Omit `--draft` only if the user explicitly instructs to publish publicly immediately.\n3. **Confirm Publication**:\n   Provide the user with the generated GitHub Release URL and confirm that the git tag was successfully pushed.\n4. **Draft to Public Promotion (Separate Post-Review Action)**:\n   Once the collaborative proofreading window is complete and the user explicitly requests making the release public, promote the draft release:\n   ```bash\n   TAG=\"\u003Cversion>\"\n   gh release edit \"v${TAG#v}\" --draft=false\n   ```\n   > [!CAUTION]\n   > Promoting a draft release to public is an irreversible public action and MUST NOT be performed autonomously. It requires an explicit user confirmation gate (e.g., \"promote release to public\").\n",{"name":5,"description":7},"main","c7acb3137062049a9783e50b0a7310f288fe01d3",".agents\u002Fskills\u002Fxmc_generate_release_notes",0,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxmc","https:\u002F\u002Fgithub.com\u002Fgoogle","https:\u002F\u002Fopensource.google\u002F","Google ❤️ Open Source","2026-11-14 11:47:55",{"source":8,"skillName":5,"commands":46,"prompt":56,"zipAvailable":57},[47,50,53],{"tool":48,"command":49},"npx","npx skills add google\u002Fxmc --skill \"XMC Generate Release Notes\"",{"tool":51,"command":52},"bunx","bunx skills add google\u002Fxmc --skill \"XMC Generate Release Notes\"",{"tool":54,"command":55},"pnpm","pnpm dlx skills add google\u002Fxmc --skill \"XMC Generate Release Notes\"","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxmc\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fxmc_generate_release_notes\u002FSKILL.md",true,[59],{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Frelease_notes_taxonomy.md","REFERENCE","参考文档",8621,"https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxmc\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fxmc_generate_release_notes\u002Freferences\u002Frelease_notes_taxonomy.md",[66,85,106,132,150,173],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":31},"01M6X0PXHKB5KRZ6BESP7J4A3H","XMC Upgrade Environment","Upgrades an existing XManager on Cloud (XMC) environment on GKE to the latest current branch state using the deployment configuration YAML.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxmc\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fxmc_upgrade\u002FSKILL.md",[],[73,68,74,75,76,77,78,79,80,81,82,83,84],"environment","upgrade","branch","deployment","upgrades","Existing","state","gke","yaml","latest","cloud","configuration",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":31},"01M6X0PQ36XYVZW78KRBR8MT9E","XMC Trajectory Comparison","Validates proposed skill or rule changes by executing concurrent A\u002FB benchmark subagents on clean baseline vs candidate worktrees, comparing trajectories, and tearing down test resources.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxmc\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fxmc_trajectory_comparison\u002FSKILL.md",[],[87,92,93,94,95,96,97,98,99,25,100,101,102,103,104,105],"comparison","trajectory","resources","down","clean","trajectories","candidate","test","worktrees","baseline","benchmark","clean baseline","rule","subagents",{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":112,"publishedAt":31},"01M6X0PFP96RZXZNJ9V4T2ZJK5","XMC Review PR","Interactive multi-agent PR review workflow enforcing code rules, open direction discussions, explicit confirmation gates, inline comment deduplication, and follow-up re-review verification.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxmc\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fxmc_review_pr\u002FSKILL.md",[],[108,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131],"review","pr","review pr","direction","re","up","open","confirmation","deduplication","workflow","code","verification","inline","follow-up","multi-agent","pr review","Rules","interactive","gates",{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":31},"01M6X0P8K827HRQFZS32Y1KB2N","XMC Release","Orchestrates an end-to-end XMC release workflow — deploying the latest main to nightly, running and verifying e2e tests, capturing visual snapshot galleries, generating and iterating on structured release notes with the user, and publishing the release. Use when preparing, orchestrating, or publishing a formal XMC release from main.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxmc\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fxmc_release\u002FSKILL.md",[],[134,22,139,140,141,142,36,143,19,144,145,122,146,147,20,148,82,149,29,30],"running","end","tests","publishing","e2e","use","when","visual","with","e2e tests","snapshot",{"skillNo":151,"name":152,"nameZh":6,"description":153,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":154,"categories":155,"keywords":156,"publishedAt":31},"01M6X0P20VKAAEP4R43HJQ9957","XMC PR Split Verification","Analyzes pull request diffs exceeding size thresholds (400 prod \u002F 1000 total \u002F 1000 docs) to enforce Single Responsibility Principle (SRP), evaluate vertical slice splitting feasibility, eliminate dead code, and plan gh-stack PR stacks.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxmc\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fxmc_pr_split_verification\u002FSKILL.md",[],[114,152,157,124,158,159,160,161,162,163,164,123,165,166,167,168,169,170,171,172],"split","pull","thresholds","slice","enforce","diffs","single","gh","vertical slice","stack","plan","size","evaluate","pull request","request","dead code",{"skillNo":174,"name":175,"nameZh":6,"description":176,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":177,"categories":178,"keywords":179,"publishedAt":31},"01M6X0NV5ZP3T8RPKRYGGJ613G","XMC Iterative Reflection","Audits active session trajectory, thought history, and PR review comments to identify friction points, rule gaps, missing helper tools, and token inefficiencies. Use when requested by the user, after major implementations, or following PR review comment resolutions.","https:\u002F\u002Fgithub.com\u002Fgoogle\u002Fxmc\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fxmc_iterative_reflection\u002FSKILL.md",[],[175,180,181,145,113,182,183,184,185,114,128,186,187,144,188,189,190,93,191,104],"reflection","pr review comments","active","token","Tools","history","session","missing","helper","comments","gaps","friction"]