I have no idea. the single thing I can think of is that it can have a memory.. but you can do that with even less code.
Just get a VPS. create a folder and run CC in it, tell it to save things into MD files.
You can access it via your phone using termux.
When I use AI to write code, after a week or 2, if I go back to the written code I have a hard time catching up. When I write code by myself I always just look at it and I understand what I did.
I don't have a good system put in place yet.
I tend to write& rewrite interesting things I find and I keep them in separate notes in the hope that one day I'll re-use them somewhere.
But it's a mess.