Files
skillshare/tests/integration
Willie 656437c2b5 fix(sync): limit project adoption writes to moved skills (#548)
* fix(sync): limit project adoption writes to moved skills

A stale install record could trigger a full project reconcile during sync, adding unrelated remote installs to the manifest, ignore rules and lockfile. Skip project writes when nothing was re-keyed, and update only moved declarations, ignore rules and existing pins while preserving full explicit reconcile behavior.

Cover the visible project directory sharing its global source with byte-identical no-move checks and a real move that preserves unrelated entries and audit acceptances.

* fix(sync): preserve existing move destination declarations

The adoption-only config rewrite could duplicate a destination already declared in the project manifest. Keep that destination declaration and remove the moved old entry, matching full reconcile behavior while preserving the destination fields.

Add a regression that fails with duplicate entries and passes with the existing destination branch retained. Re-run make check after the fix.
2026-10-13 10:37:41 +08:00
..