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:
Jakub Zych
2026-10-06 01:47:40 +02:00
parent fe069b2a56
commit a9a7a328e6
2763 changed files with 78465 additions and 78434 deletions

View File

@@ -3,7 +3,7 @@ set -euo pipefail
usage() {
cat <<'EOF'
Install the private golem15 GSD build for Claude Code and Codex.
Install the private golem15 MSD build for Claude Code and Codex.
Grok Build consumes the shared Codex skills or Claude compatibility surface.
Usage:
@@ -12,14 +12,14 @@ Usage:
Options:
--update Pull origin/next with --ff-only before installing.
--skip-deps Do not run npm ci.
--profile PROFILE GSD profile: core, standard, or full (default: full).
--profile PROFILE MSD profile: core, standard, or full (default: full).
-h, --help Show this help.
EOF
}
update=false
install_deps=true
profile="${GSD_PROFILE:-full}"
profile="${MSD_PROFILE:-full}"
while (($#)); do
case "$1" in
@@ -63,7 +63,7 @@ node_major=${node_version#v}
node_major=${node_major%%.*}
if [[ ! "$node_major" =~ ^[0-9]+$ ]] || ((node_major < 24)); then
cat >&2 <<EOF
ERROR: this GSD checkout requires Node.js 24 or newer.
ERROR: this MSD checkout requires Node.js 24 or newer.
Active Node: ${node_version:-not found}
Install/activate Node 24, then rerun this script.
@@ -84,16 +84,16 @@ fi
echo "==> Building runtime hooks from the private checkout"
npm run build:hooks
echo "==> Installing GSD for Claude Code (profile: $profile)"
echo "==> Installing MSD for Claude Code (profile: $profile)"
node bin/install.js --claude --global "--profile=$profile"
echo "==> Installing GSD for Codex (profile: $profile)"
echo "==> Installing MSD for Codex (profile: $profile)"
node bin/install.js --codex --global "--profile=$profile"
claude_root=${CLAUDE_CONFIG_DIR:-"$HOME/.claude"}
codex_root=${CODEX_HOME:-"$HOME/.codex"}
agents_root=${GROK_AGENTS_HOME:-"$HOME/.agents"}
recovery_rel=gsd-core/workflows/plan-phase/steps/agent-recovery-and-timing.md
recovery_rel=msd-core/workflows/plan-phase/steps/agent-recovery-and-timing.md
for install_root in "$claude_root" "$codex_root"; do
if [[ ! -f "$install_root/$recovery_rel" ]]; then
@@ -117,19 +117,19 @@ fi
if command -v grok >/dev/null 2>&1; then
grok_report=$(mktemp)
trap 'rm -f "$grok_report"' EXIT
shared_skill="$agents_root/skills/gsd-plan-phase/SKILL.md"
claude_skill="$claude_root/skills/gsd-plan-phase/SKILL.md"
shared_skill="$agents_root/skills/msd-plan-phase/SKILL.md"
claude_skill="$claude_root/skills/msd-plan-phase/SKILL.md"
if grok inspect --json >"$grok_report" 2>/dev/null \
&& { grep -Fq "$shared_skill" "$grok_report" || grep -Fq "$claude_skill" "$grok_report"; }; then
echo "==> Grok verified: gsd-plan-phase skill discovered"
echo "==> Grok verified: msd-plan-phase skill discovered"
else
echo "WARNING: Grok did not report a compatible gsd-plan-phase skill; restart Grok and run 'grok inspect'." >&2
echo "WARNING: Grok did not report a compatible msd-plan-phase skill; restart Grok and run 'grok inspect'." >&2
fi
fi
cat <<EOF
Private GSD installation complete.
Private MSD installation complete.
Source: $repo_root
Claude: $claude_root
Codex: $codex_root