Preserve worktree config during provisioning

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-04-19 21:46:03 -05:00
1 parent 6f30ab58df
commit 2cd85c7bed
2 files changed
+39 -6

No files matched your search

+8 -4
View File
@@ -332,11 +332,15 @@ main().catch((error) => {
EOF
}
if paperclipai_command_available; then
run_isolated_worktree_init
if [[ -e "$worktree_config_path" && -e "$worktree_env_path" ]]; then
echo "Reusing existing isolated Paperclip worktree config at $worktree_config_path" >&2
else
echo "paperclipai CLI not available in this workspace; writing isolated fallback config without DB seeding." >&2
write_fallback_worktree_config
if paperclipai_command_available; then
run_isolated_worktree_init
else
echo "paperclipai CLI not available in this workspace; writing isolated fallback config without DB seeding." >&2
write_fallback_worktree_config
fi
fi
list_base_node_modules_paths() {