@wipcomputer/wip-ldm-os 0.4.85-alpha.2 → 0.4.85-alpha.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/ldm.js +18 -0
- package/package.json +1 -1
package/bin/ldm.js
CHANGED
|
@@ -738,6 +738,24 @@ function deployDocs() {
|
|
|
738
738
|
console.log(` + ${agentDocsCount} personalized doc(s) deployed to ${agentLibraryDest.replace(HOME, '~')}/`);
|
|
739
739
|
}
|
|
740
740
|
|
|
741
|
+
// Migration-window compatibility write (added 2026-04-30).
|
|
742
|
+
// dev-guide-wipcomputerinc.md was migrated from ~/.ldm/shared/ to
|
|
743
|
+
// ~/.ldm/library/documentation/ on 2026-04-19, but agent boot files,
|
|
744
|
+
// ~/.claude/rules/, and other consumers still reference the old shared
|
|
745
|
+
// path. Without this write, the old path serves stale content and
|
|
746
|
+
// agents reading by the old path get pre-migration policy.
|
|
747
|
+
// Forward-migration (grep-update consumers, then remove this compat
|
|
748
|
+
// write) is tracked separately. See bugs/installer/ ticket
|
|
749
|
+
// 2026-04-30--cc-mini--dev-guide-split-path-migration.md.
|
|
750
|
+
const devGuideName = 'dev-guide-wipcomputerinc.md';
|
|
751
|
+
const devGuideNew = join(agentLibraryDest, devGuideName);
|
|
752
|
+
const devGuideOld = join(LDM_ROOT, 'shared', devGuideName);
|
|
753
|
+
if (existsSync(devGuideNew)) {
|
|
754
|
+
mkdirSync(dirname(devGuideOld), { recursive: true });
|
|
755
|
+
cpSync(devGuideNew, devGuideOld);
|
|
756
|
+
console.log(` + Compat write: ${devGuideName} also deployed to ${devGuideOld.replace(HOME, '~')} (migration window)`);
|
|
757
|
+
}
|
|
758
|
+
|
|
741
759
|
return docsCount + agentDocsCount;
|
|
742
760
|
}
|
|
743
761
|
|