voiage.versioning
Version synchronization helpers for release automation.
The production Cargo workspace is authoritative. Package adapters and external binding manifests must remain coherent with it, and release tags are accepted only when they exactly encode that workspace version.
Classes
Section titled “Classes”- VersionTarget A manifest whose version must match the canonical repo version.
- VersionMismatch A manifest whose version does not match the canonical repo version.
- ReleaseIdentity Canonical release identity and its ecosystem-specific projections.
- VersionEnvelope Version identities required to safely replay a serialized VOI result.
- VersionSyncError Raised when version synchronization fails.
Functions
Section titled “Functions”- validate_version_envelope Validate a version envelope without silently accepting unknown fields.
- migrate_version_envelope Record an explicit envelope migration while preserving both identities.
- release_identity Validate a canonical version and project it into package ecosystems.
- validate_release_tag
Fail closed unless
tagexactly matches the Cargo workspace version. - collect_version_mismatches Collect manifest version mismatches against the canonical repo version.
- format_version_mismatches Format version mismatches as a human-readable diagnostic.
- validate_version_sync Validate that binding manifests match the canonical repo version.
- main CLI entrypoint for the version synchronization validator.