Multi-Environment Setup for PAI v1/v2 Development #263
mellanon
started this conversation in
Show and tell
Replies: 2 comments 2 replies
-
|
Really cool. I just wish it wasn't necessary. That's the goal I'm working towards. |
Beta Was this translation helpful? Give feedback.
2 replies
-
|
Appreciate the share. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
For those maintaining a v1 installation while exploring v2, here's my setup for switching between environments without conflicts.
The Problem
I'm running a customized v1 installation ("Luna") in production while testing v2. Since
~/.claudecan only point to one place, I needed a way to:Solution: Symlink Switching + Baselines
Directory Structure
pai-switch Script
Simple bash script that manages the
~/.claudesymlink:Workflow
pai-switch v1→ full v1 installationpai-switch v2→ author new packspai-switch test→ install packs, break things freelypai-switch restore→ back to clean Kai in secondsKey Insight: Baselines vs Reinstallation
After a clean Kai installation (wizard + all packs), I copied
PAI-test/.claudetoPAI-baselines/kai-vanilla-v2. Now when testing goes wrong, I restore in seconds rather than rerunning the 30+ minute installation process.Full pai-switch Script
Thought I'd share that while we are transitioning to v2
Beta Was this translation helpful? Give feedback.
All reactions