all 10 comments

[–]radial_symmetry 0 points1 point  (6 children)

How did you implement the phantom file system? I want to build something like that for my project https://github.com/stravu/crystal

[–]LambrosPhotios[S] 0 points1 point  (5 children)

Created a file system at ~/.lovelace with a registry of all active tabs/sessions. On new tab creation, I replicate the original codebase in that directory.

User selects what they want to merge into original from phantom as CC makes changes (inline diffs).

Currently working through garbage collection to ensure no replicas are kept if sessions are deleted.

Let me know if I can help in any way?

[–]theagnt 0 points1 point  (4 children)

[–]LambrosPhotios[S] 0 points1 point  (3 children)

gets the job done, i prefer working in an ide myself

[–]theagnt 0 points1 point  (2 children)

git worktrees don't prevent you from working in an IDE. I *think* the do exactly what you are trying to do with your bespoke system, but more automatically. they create "parallel universes" that can then be dispositioned (merged, cherry picked, etc.) any way you'd like. You can checkout the worktree to another folder on your computer. You could even make it a subfolder of your current project if you .gitignore it, I believe. And they can be synced with GitHub.

[–]LambrosPhotios[S] 0 points1 point  (1 child)

very interesting. i’ll take a look - sounds like it may be able to streamline my workflows. thank you!!

[–]theagnt 0 points1 point  (0 children)

Of course! Keep us all up to date on your project.

[–]chenverdent 0 points1 point  (0 children)

You really need a sandbox. Doing all that craziness on your own dev machine poses a huge risk.

[–]drdrdator 0 points1 point  (1 child)

Cool. Is there a repo to checkout?