Expand description
Draft ID resolution — the single authoritative function for turning any
user-supplied ID string into a concrete DraftPackage.
§Resolution order
- Exact UUID (
cbda7f5f-4a19-4752-bea4-802af93fc020) - Shortref/seq (
6ebf85ab/1) — goal 8-char prefix + draft sequence number - Legacy display_id (
cbda7f5f-1) - UUID prefix — unambiguous prefix of ≥4 chars (error if ambiguous)
- 8-char all-hex — resolves to the latest draft for that goal shortref
- Tag match
All draft subcommands route through resolve_draft so that every ID
format surfaced in ta draft list is accepted as input by every command.
Enums§
- Draft
Resolve Error - Error returned when a draft ID cannot be resolved.
Functions§
- draft_
canonical_ id - Return the canonical display ID for a draft — the string that
resolve_draftwill accept back as input. - resolve_
draft - Resolve a user-supplied draft ID to the matching
DraftPackage.