Skip to content

Commit a00a788

Browse files
authored
Document mirror maintenance for legacy manifests
1 parent 202ae3c commit a00a788

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

AGENTS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ The shared root marketplace must stay dual-compatible: use repository-root-relat
102102
plugin `source` paths and preserve legacy `category`/`tags` fields alongside Open
103103
Plugins metadata. Existing marketplace subscriptions may still resolve the legacy
104104
paths during auto-update, so removing or drifting these files can force users to
105-
reinstall. Run
105+
reinstall. Because mirrors are committed files (not symlinks), update both source
106+
and legacy copies together, then run
106107
`node scripts/validate-legacy-compatibility.js` after metadata changes.
107108

108109
## Code Conventions

scripts/validate-legacy-compatibility.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
/**
44
* Validates that legacy .claude-plugin manifests mirror the Open Plugins
55
* metadata. Existing marketplace subscriptions still resolve the legacy paths
6-
* during auto-update, so these files must stay in sync.
6+
* during auto-update, so these files must stay in sync. Mirrors are committed
7+
* files (not links), so this guard must pass whenever marketplace/plugin
8+
* metadata changes.
79
*/
810

911
const fs = require('fs');

0 commit comments

Comments
 (0)