본문으로 건너뛰기
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

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tvproductions/gzkit92026년 10월 22일 업데이트

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월 22일 업데이트

ghi-close

무료

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tvproductions/gzkit92026년 10월 22일 업데이트

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tvproductions/gzkit92026년 10월 22일 업데이트

git-sync

무료

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

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tvproductions/gzkit92026년 10월 22일 업데이트

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월 22일 업데이트

tvproductions의 스킬 모두 보기

이 스킬의 문제 신고