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¶
- Scans ledger history for known old artifact IDs (including legacy SemVer pool IDs).
- Appends
artifact_renamedevents for matching IDs. - 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.