feat(stagecraft): short work-item ids: a tracker prefix plus a counter, the ticket's id for external trackers, and -2 for later work (swamp-club #2966) #443
Loading…
Reference in a new issue
No description provided.
Delete branch "cue/2966-stagecraft-short-work"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes swamp-club #2966.
Short work-item ids that people can say and type, instead of
<factory or ticket id>-<title slug>-<4 random chars>.What changes
<prefix>-1,<prefix>-2, … from a counter kept in the tracker's own data, one per prefix. A new or recreated tracker starts above the highest number the repository's tickets and work items already carry. Names already taken (a key started by hand, for example) are passed over.claimuses the ticket's own id, lowercased. LinearABC-12givesabc-12, and a number-only id takes the instance's prefix (#2711giveslab-2711).abc-12-2.abc-12-linear, and the ticket keeps it. If that is taken too,claimrefuses and says why.prefixon every tracker model (built-in, Linear, swamp-club): optional, at most 12 characters, defaulting to the instance's name cut to 12. Duplicates are allowed.new_keyis removed. Work starts from a ticket (create, thenclaim), or under a name typed by hand.status's first line and the summary heading show the work's title.Old keys and records keep working: a key is only a model name. Model versions are bumped (stagecraft is unpublished).
Verification
fa78910, attestation7cdbd66a-79bc-471e-bc27-9f558b494681.🤖 Generated with Claude Code