Suppose a macOS app uses the public AppKit text input system (NSTextInputContext and NSTextInputClient). Consider a hypothetical sequence within the same text input context and client:
An IME input operation B starts before the app receives a Save action.
Save is received before B has a known completion.
Text input callbacks for B may be delivered after Save, and the user may initiate a separate input operation C after Save.
Is there a supported public API or documented contract that lets the app identify the completion boundary and result of B, associate them with the pre-Save operation, and obtain the completed text for that Save without including independent post-Save input C?
If such a guarantee exists, which public API or contract provides it, and under what conditions and macOS versions? If it does not, is this distinction and snapshot boundary not guaranteed by the public AppKit text input contract?
This is a question about causal attribution and completion boundaries, not simply about committing or cancelling the current composition. It is a hypothetical API-contract question, not a report of a reproduced defect. I am not asking about private APIs.