The pilot stores its .cid files in ~/.flakes and assumes all files there are .cid files. However flake-ctl-build and flake-studio also use this directory to store default configurations.
When the pilot tries to read these config storages it aborts with GC error: Is a directory (os error 21)
To fix this move .cid files to a sub directory like ~/.flakes/cid/
@Ichmed now I see the problem. 🤣 The ~/.flakes was meant to be only for the CID files. But since you are now using it, then I think you should adjust that a bit:
The pilot stores its .cid files in ~/.flakes and assumes all files there are .cid files. However flake-ctl-build and flake-studio also use this directory to store default configurations.
When the pilot tries to read these config storages it aborts with
GC error: Is a directory (os error 21)
To fix this move .cid files to a sub directory like ~/.flakes/cid/