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

794 B
Raw Blame
/**
 * Keep Creative Commission planning anchored to the user's selected output and
 * model capabilities. Hash replacement preserves customized stage prompts.
 */

import { makePromptReplaceMigration } from './_lib.js';

export const ACCEPTED_OLD_MD5 = {
  'cd-plan.md': ['ef0d96f6ebde43af6c4579969d31cfb7'],
};

export const NEW_SHIPPED_MD5 = {
  'cd-plan.md': '8dac4102dbbaee05f2f23f37c7e80782',
};

const { applyMigration, up } = makePromptReplaceMigration({
  accepted: ACCEPTED_OLD_MD5,
  current: NEW_SHIPPED_MD5,
  label: 'Creative Director commission controls',
  customizedHint: () =>
    '   Compare data.reference/prompts/stages/cd-plan.md with data/prompts/stages/cd-plan.md and merge the commission/model-control guidance.',
});

export { applyMigration };
export default { up };