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

1.1 KB
Raw Blame
/**
 * Rename the scheduled `release-check` task to `do-release` while preserving
 * schedules, app overrides (including the operator's release options), pending
 * runs, execution history, and run-order dependencies.
 *
 * The old name described a readiness check; the task's job is to ship the
 * release. An uncustomized stored prompt keeps auto-upgrading after the move
 * because the integrity snapshot carries release-check's retired hashes under
 * `do-release` (TASK_TYPE_RENAMES in server/lib/scheduledTaskTypes.js). The
 * learning buckets move too, so the confidence gate keeps the task's history.
 * See scripts/lib/renameScheduledTaskType.js for the merge rules. Idempotent;
 * it never dispatches work.
 */

import { renameLearningBuckets, renameScheduledTaskType } from '../lib/renameScheduledTaskType.js';

const RENAME = { from: 'release-check', to: 'do-release' };

export default {
  async up({ rootDir }) {
    return {
      ...await renameScheduledTaskType({ rootDir, ...RENAME }),
      ...await renameLearningBuckets({ rootDir, ...RENAME }),
    };
  },
};