Convert code suggestions version check to the suggestions state policy
The following discussion from !1371 (merged) should be addressed:
-
@viktomas started a discussion: (+1 comment) (non-blocking, possibly follow-up) Could we invert this dependency?
The
StateManager
would create this policy and then listen to changes like this: !1375 (diffs)