gz migrate-semver¶
Record artifact ID rename migrations in the append-only ledger.
Usage¶
Options¶
| Option | Type | Description |
|---|---|---|
--dry-run |
flag | Show rename events without writing |
What It Does¶
- Collects rename pairs from the legacy rename table (including SemVer pool IDs) and from on-disk drift: a bare ADR or OBPI id the ledger still carries whose file now has a slug stem.
- Appends
artifact_renamedevents for pairs whose old ID appears in the ledger and is not already renamed. - Keeps ledger append-only (no rewrites).
- Makes
gz stateandgz statusresolve renamed IDs to canonical IDs.
Example¶
Notes¶
- Safe to run repeatedly: existing rename events are skipped.
- This is the supported path for ID migrations (SemVer and pool ADR naming); do not edit
.gzkit/ledger.jsonlmanually.