The .refDir.info file was created successfully:
-rw-rw-r-- 1 giuliob 47 Mar 19 23:18 .refDir.info
and it contains the correct information:
/data/tcs/buffer/test/HWS-RC/DET/20230319T2318/
However the automation moved fast between ref and live images: there should be 30 s timeout before which TCS_MAIN doesn't check for the .refDir.info file, to be sure to read the new one produced by the ref measurement; I just noticed that such timer is read from the wrong section of TCS_MAIN.ini, where a 5 s timer was put there instead, I guess for some old debug (we haven't been using such section for quite some time). The bug is therefore quite old, to be understood while we could see it only now.
TCS_MAIN has been updated, it will need a LOAD when in safe conditions.