Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

459 B
Raw Blame
/**
 * Shared markers for "recovery" tasks — administrative agents auto-spawned
 * to retry a failed merge or PR creation. Centralized so detection and
 * creation stay in sync.
 */

export const RECOVERY_TASK_PREFIX = '[Recovery]';

export function isRecoveryTask(task) {
  if (!task) return false;
  if (task.metadata?.isRecovery === true) return true;
  return typeof task.description === 'string' && task.description.startsWith(RECOVERY_TASK_PREFIX);
}