A pattern must be registered with the session in which it wants to be active. Patterns can be active for more than one file (for a given procid); the file part of the pattern will match any of the listed files.
Contexts are not scopes. A pattern that is joined to contexts but not joined to any file or session cannot match any message.