chore(runtime): harden worktree and heartbeat flows

This commit is contained in:
dotta authored and Dotta committed 2026-04-10 10:11:31 -05:00
1 parent 0e87fdbe35
commit dcb807cb2f
48 files changed
+15603 -670

No files matched your search

-14
View File
@@ -321,20 +321,6 @@ if ! run_isolated_worktree_init; then
write_fallback_worktree_config
fi
disable_seeded_routines() {
local company_id="${PAPERCLIP_COMPANY_ID:-}"
if [[ -z "$company_id" ]]; then
echo "PAPERCLIP_COMPANY_ID not set; skipping routine disable post-step." >&2
return 0
fi
if ! run_paperclipai_command routines disable-all --config "$worktree_config_path" --company-id "$company_id"; then
echo "paperclipai CLI not available in this workspace; skipping routine disable post-step." >&2
fi
}
disable_seeded_routines
list_base_node_modules_paths() {
cd "$base_cwd" &&
find . \