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:
@@ -11,10 +11,10 @@
|
||||
* `stage: workflow` frontmatter line (`runtime.hostBehaviors.
|
||||
* soloStageMetadata`), sourced from https://docs.trae.ai/ide/agent ("Agents
|
||||
* in Trae can be called individually, or automatically called by SOLO Agent
|
||||
* at the corresponding stage"). This is a single fixed GSD-side value —
|
||||
* at the corresponding stage"). This is a single fixed MSD-side value —
|
||||
* best-effort/inferred, since Trae's docs don't publish a formal
|
||||
* stage-metadata schema — not per-skill differentiated. It lets Trae's SOLO
|
||||
* Agent auto-invoke GSD skills at the corresponding stage instead of
|
||||
* Agent auto-invoke MSD skills at the corresponding stage instead of
|
||||
* requiring the user to manually trigger them.
|
||||
*/
|
||||
|
||||
@@ -48,8 +48,8 @@ for (const scope of ['global', 'local']) {
|
||||
|
||||
// Trae uses NESTED skills (capabilities/trae/capability.json
|
||||
// artifactLayout.skills.nesting === "nested"): a router SKILL.md at
|
||||
// skills/gsd-ns-<namespace>/SKILL.md, and concrete skills nested under
|
||||
// skills/gsd-ns-<namespace>/skills/<stem>/SKILL.md. Discover ALL of them
|
||||
// skills/msd-ns-<namespace>/SKILL.md, and concrete skills nested under
|
||||
// skills/msd-ns-<namespace>/skills/<stem>/SKILL.md. Discover ALL of them
|
||||
// by recursive walk rather than hand-listing paths, so the test doesn't
|
||||
// silently stop covering skills added/renamed later.
|
||||
const skillFiles = walk(skillsDir).filter((f) => f.endsWith('SKILL.md'));
|
||||
@@ -67,9 +67,9 @@ for (const scope of ['global', 'local']) {
|
||||
// router shape and the nested concrete-skill shape — confirmed via
|
||||
// `node -e` against a real install before asserting these exact paths.
|
||||
const samples = [
|
||||
path.join(skillsDir, 'gsd-ns-manage', 'SKILL.md'),
|
||||
path.join(skillsDir, 'gsd-ns-manage', 'skills', 'cleanup', 'SKILL.md'),
|
||||
path.join(skillsDir, 'gsd-ns-ideate', 'skills', 'capture', 'SKILL.md'),
|
||||
path.join(skillsDir, 'msd-ns-manage', 'SKILL.md'),
|
||||
path.join(skillsDir, 'msd-ns-manage', 'skills', 'cleanup', 'SKILL.md'),
|
||||
path.join(skillsDir, 'msd-ns-ideate', 'skills', 'capture', 'SKILL.md'),
|
||||
];
|
||||
for (const sample of samples) {
|
||||
assert.ok(fs.existsSync(sample), `${sample} must exist`);
|
||||
@@ -98,7 +98,7 @@ test('qwen (no soloStageMetadata declared) does NOT get a stage: line — proves
|
||||
// Qwen also uses the nested skill layout (router SKILL.md +
|
||||
// skills/<stem>/SKILL.md) — confirmed via `node -e` against a real
|
||||
// install before writing this — so walk recursively, same as the trae
|
||||
// assertions above, rather than assuming flat gsd-*.md files.
|
||||
// assertions above, rather than assuming flat msd-*.md files.
|
||||
const skillFiles = walk(skillsDir).filter((f) => f.endsWith('SKILL.md'));
|
||||
assert.ok(skillFiles.length > 0, `expected at least one SKILL.md under ${skillsDir}`);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user