Skip to content
cccskills
FreePublished on GitHub

gz-migrate-semver

Use to record ADR or OBPI semver renaming migration events.

The English summary is being prepared. Showing the original description.

Run score Not tested

See how to install

Files included (2)

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

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

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

The English summary is being prepared. Showing the original description.

tvproductions/gzkit9Updated Oct 23, 2026

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.

The English summary is being prepared. Showing the original description.

tvproductions/gzkit9Updated Oct 23, 2026

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

The English summary is being prepared. Showing the original description.

tvproductions/gzkit9Updated Oct 23, 2026

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

The English summary is being prepared. Showing the original description.

tvproductions/gzkit9Updated Oct 23, 2026

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

The English summary is being prepared. Showing the original description.

tvproductions/gzkit9Updated Oct 23, 2026

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

The English summary is being prepared. Showing the original description.

tvproductions/gzkit9Updated Oct 23, 2026

See all skills by tvproductions

Report a problem with this skill