tie_gate(
ctx,key,fields) ->passed,err
Refuse to close an epic while a tie is still open
An epic lands when its work does, so done waits until every tie is
done or wontfix. wontfix on the epic itself is never refused: it
settles a question rather than landing work.
Like the review gate, this guards the move into done, not the state of
being done. An edit of a closed epic passes. A tie may reopen after its
epic has closed, and the epic stays closed: reopening it would reopen a
second issue nobody asked about.