- Add isLikelyWorkflowTabClickTarget to distinguish workflow tab clicks
from generic document clicks, preventing false 'workflow-change'
triggers and unnecessary refresh cycles.
- Add getWorkflowSignatureData to produce a stable, normalized signature
for workflow data (sorted nodes/links, top-level signature included).
- Update document-click handler to use a new 'workflow-tab-click' reason
via the click-target heuristic.
- Simplify refreshForActiveWorkflowChange retry logic by removing the
pending-graph-switch special case, since click origin is now explicit.