feat(gatorwalk-factory): mark a duplicate and move its work to the primary (swamp-club #2799) #422
Loading…
Reference in a new issue
No description provided.
Delete branch "cue/2799-gatorwalk-factory-mark"
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 #2799: mark a duplicate and move its work to the primary.
The engine decides where a duplicate's work goes, and the tracker projects that decision. The tracker never reads engine state to decide an engine move (agreed in triage).
What changed
tracker.duplicate(on: { approve: <gate> },record,field) names a human-approval gate and the product that holds the primary. Whenpublishdelivers the approval, it relates the ticketduplicate_ofthe primary and closes it.mark_duplicatemethod on every tracker relates and closes, and moves no work. Linear closes a duplicate itself (closesDuplicates).retargetonto the primary. Otherwise it takes the definition'sduplicateexit.publishandclaimrefuse a duplicate ticket. This applies to a ticket marked outside the work item's journal.publishnever writes a status to a duplicate, however it was marked.claimand the ticket index.claimgainsdryRun.publishmoves the ticket index on every retarget, andclaimtreats a work item that was retargeted away as finished.build-swamp-extensionandstartergain aduplicate-ofproduct and aduplicateexit behindduplicate-confirmation. Acelcheck closes that exit after a retarget. Each also gets a terminalduplicatestage and two scenarios.publishthat crossed a retarget wrote the cursor twice in one run, which the real engine refuses.publishnow reports one handle per record name.Testing
3b2e5a088b(attestation c6fac017-c51d-406c-b9e0-25b11ce494fe). Findings from the earlier review rounds were fixed before attesting.Out of scope: the issue's line about superseding a held linked-issues draft from #2765. No such draft was found.
🤖 Generated with Claude Code
3b2e5a088bfdb680c722