本文へ移動
cccskills
無料GitHub で公開

gz-migrate-semver

Use to record ADR or OBPI semver renaming migration events.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md1.8 KB
  • agents/openai.yaml208 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

gz migrate-semver

Overview

Append artifact_renamed events so the ledger resolves an old ADR or OBPI id to its canonical id. The ledger is never rewritten. gz migrate-semver proposes a rename from two sources:

  • SEMVER_ID_RENAMES in src/gzkit/commands/register.py, a fixed table of legacy renames (pool and SemVer re-sequencing, early slug corrections);
  • on-disk drift (GHI #345): for each ADR or OBPI file whose stem is a slug id, the bare id (ADR-0.35.0, OBPI-0.1.0-01) when ledger events still carry it.

A pair is skipped when its rename event already exists, when the old id never appears in the ledger, or when the ledger already canonicalizes the old id. Re-running is safe. Each event has reason semver_minor_sequence_migration.

It covers bare→slug renames and the table only. A slug→slug correction to an OBPI id goes through uv run python -m gzkit.governance.obpi_slug_rename, and a pool ADR promotion records its own rename through gz adr promote.

Workflow

  1. Preview: uv run gz migrate-semver --dry-run lists each Would append artifact_renamed: <old> -> <new> and writes nothing.
  2. Show the operator the list. The run writes one ledger event per pair in bulk and has no confirmation step, and a bulk rename written in error cannot be removed from an append-only ledger, only countered (GHI #584).
  3. On the operator's approval, run uv run gz migrate-semver and report the count it prints. No applicable SemVer ID migrations found. means nothing was pending.

Example

uv run gz migrate-semver --dry-run
uv run gz migrate-semver

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Use to mine ../airlineops for governance habits gzkit lacks; produces a parity scan report (gzkit leads, AirlineOps adopts).

日本語の概要は準備中です。原文の説明を表示しています。

tvproductions/gzkit92026年10月18日 更新

Use to file a GitHub issue when a finding needs its own work order or the operator asks; OBPI corrections stay in its change log.

日本語の概要は準備中です。原文の説明を表示しています。

tvproductions/gzkit92026年10月18日 更新

ghi-close

無料

Use to do the work a GHI describes, verify it and close the issue with evidence in one sweep.

日本語の概要は準備中です。原文の説明を表示しています。

tvproductions/gzkit92026年10月18日 更新

Use to triage the open GHI queue before planning or choosing what to pull; produces a ranked deliverable.

日本語の概要は準備中です。原文の説明を表示しています。

tvproductions/gzkit92026年10月18日 更新

git-sync

無料

Run the guarded repository sync ritual; commit-time hooks enforce the cheap gates and the pre-push hook runs gz check.

日本語の概要は準備中です。原文の説明を表示しています。

tvproductions/gzkit92026年10月18日 更新

git-sync

無料

Run the guarded repository sync ritual; the hooks your pre-commit config declares enforce the quality gates.

日本語の概要は準備中です。原文の説明を表示しています。

tvproductions/gzkit92026年10月18日 更新

tvproductions のスキルをすべて見る

このスキルの問題を報告する