refactor: hard-fork GSD -> MSD (Make Software Done)
Mechanical rename produced by scripts/msd-rename.cjs: gsd/Gsd/GSD -> msd/Msd/MSD across contents and paths, upstream package/repo coordinates -> @golem15/msd-core and golem15com/msd-core. Deep links into upstream history, sibling upstream packages, the GSD-2 import feature, CHANGELOG.md and .changeset/ are kept as-is. Hand edits on top: MSD block-letter banner and logos, LICENSE copyright line, package/plugin identity, regenerated lockfile, install-tree fixtures, derived registries and benchmark baseline; migration checksum baseline re-locked (MSD keeps its own install state, so no install had applied the old sums); sort-order and regex-escaped expectations in tests adjusted.
This commit is contained in:
@@ -10,23 +10,23 @@ All changes in `bin/install.js` unless noted.
|
||||
**Line 5391-5392** — After `fs.copyFileSync`, add `fs.chmodSync(destFile, 0o755)` for `.sh` files.
|
||||
|
||||
### Fix 2: Fix Codex hook path and filename (CRITICAL)
|
||||
**Line 5485** — Change `gsd-update-check.js` to `gsd-check-update.js` and fix path from `gsd-core/hooks/` to `hooks/`.
|
||||
**Line 5492** — Update dedup check to use `gsd-check-update`.
|
||||
**Line 5485** — Change `msd-update-check.js` to `msd-check-update.js` and fix path from `msd-core/hooks/` to `hooks/`.
|
||||
**Line 5492** — Update dedup check to use `msd-check-update`.
|
||||
|
||||
### Fix 3: Fix stale cache invalidation path (CRITICAL)
|
||||
**Line 5406** — Change from `path.join(path.dirname(targetDir), 'cache', ...)` to `path.join(os.homedir(), '.cache', 'gsd', 'gsd-update-check.json')`.
|
||||
**Line 5406** — Change from `path.join(path.dirname(targetDir), 'cache', ...)` to `path.join(os.homedir(), '.cache', 'msd', 'msd-update-check.json')`.
|
||||
|
||||
### Fix 4: Track .sh hooks in manifest (MEDIUM)
|
||||
**Line 4972** — Change filter from `file.endsWith('.js')` to `(file.endsWith('.js') || file.endsWith('.sh'))`.
|
||||
|
||||
### Fix 5: Add gsd-workflow-guard.js to uninstall hook list (MEDIUM)
|
||||
**Line 4404** — Add `'gsd-workflow-guard.js'` to the `gsdHooks` array.
|
||||
### Fix 5: Add msd-workflow-guard.js to uninstall hook list (MEDIUM)
|
||||
**Line 4404** — Add `'msd-workflow-guard.js'` to the `msdHooks` array.
|
||||
|
||||
### Fix 6: Add community hooks to uninstall settings.json cleanup (MEDIUM)
|
||||
**Lines 4453-4520** — Add filters for `gsd-session-state`, `gsd-validate-commit`, `gsd-phase-boundary` in the appropriate event cleanup blocks (SessionStart, PreToolUse, PostToolUse).
|
||||
**Lines 4453-4520** — Add filters for `msd-session-state`, `msd-validate-commit`, `msd-phase-boundary` in the appropriate event cleanup blocks (SessionStart, PreToolUse, PostToolUse).
|
||||
|
||||
### Fix 7: Remove phantom gsd-check-update.sh from uninstall list (LOW)
|
||||
**Line 4404** — Remove `'gsd-check-update.sh'` from `gsdHooks` array.
|
||||
### Fix 7: Remove phantom msd-check-update.sh from uninstall list (LOW)
|
||||
**Line 4404** — Remove `'msd-check-update.sh'` from `msdHooks` array.
|
||||
|
||||
### Fix 8: Remove dead isCursor/isWindsurf branches in uninstall (LOW)
|
||||
Remove the unreachable duplicate `else if (isCursor)` and `else if (isWindsurf)` branches.
|
||||
@@ -41,6 +41,6 @@ After the generic check, warn if expected `.sh` files are missing (non-fatal war
|
||||
- .sh files tracked in manifest
|
||||
- settings.json hook paths match installed files
|
||||
- uninstall removes community hooks from settings.json
|
||||
- uninstall removes gsd-workflow-guard.js
|
||||
- uninstall removes msd-workflow-guard.js
|
||||
- Codex hook uses correct filename
|
||||
- Cache path resolves correctly
|
||||
|
||||
Reference in New Issue
Block a user