anima#359 landed: UpdateWorkItem now honors external_state_sync to skip the
current phase's exit bar for writes that mirror an upstream tracker's decision.
set_work_item_status is exactly that path — a Redmine close / GitHub merge
reflected onto a work item. Set the flag there so a done/cancelled mirror on
an item parked in `working` (behind the AI gate) records the terminal state
instead of bouncing off the bar with failed_precondition. The canonical-pair
guard still applies, so both axes are sent.
The generic update_work_item_phase and content-only update_work_item_fields
pass false: the former keeps the bar (it's slated to migrate to workflow-aware
phase selection anima-side), the latter never touches a phase.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>