/** * stale-idea-skill migration (roadmap-revamp/AC-47, safe tier): remove the * artifacts left behind when `aidlc-idea` was renamed to `aidlc-roadmap`. * * Renaming a framework skill leaves residue, because the emitters only ever * *write* — `FileOp` has `create`, `replace` and `merge-block`, and no delete. * So an existing project that updates gets the new skill and keeps the old one, * and the old one is a live instruction pointing at a canonical body that no * longer exists. An agent reading it follows a dangling path. That is a * correctness problem, not untidiness, which is why this ships with the rename * rather than after it. * * Safe tier, but narrowly: a file is deleted only when its content still points * at the old canonical path. A user who edited their copy keeps it. Deleting on * filename alone would be the destructive version of this migration, and the * project has already learned that narrowing the blast radius to what you own is * the precondition for repairing automatically. */ import type { Migration } from '../types.js'; /** * Orphaned artifact paths present and still pointing at the old canonical body. * * The canonical body itself is matched on its own heading instead, since it does * not reference its own path. */ export declare function staleIdeaSkillPaths(projectRoot: string): string[]; export declare const staleIdeaSkill: Migration; //# sourceMappingURL=stale-idea-skill.d.ts.map