package client // postureCollector overrides collectPosture in tests. Nil restores platform defaults. var postureCollector func() *PostureReport // SetPostureCollector stubs posture collection in tests. Pass nil to restore defaults. func SetPostureCollector(fn func() *PostureReport) { postureCollector = fn }