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:
@@ -243,13 +243,13 @@ describe('E2 — a legitimate single call to the composition is not detected', (
|
||||
// ─── D11: the prompt layer is in the scan surface ──────────────────────────
|
||||
|
||||
describe('D11 — the prompt layer is in the scan surface', () => {
|
||||
const PROMPT_FILE = 'gsd-core/workflows/example-workflow.md';
|
||||
const PROMPT_FILE = 'msd-core/workflows/example-workflow.md';
|
||||
|
||||
test('guard: the prompt layer is in the scan surface', () => {
|
||||
const text = [
|
||||
'# Example workflow',
|
||||
'',
|
||||
'Run gsd-tools state.patch --field status --value done to record completion directly.',
|
||||
'Run msd-tools state.patch --field status --value done to record completion directly.',
|
||||
].join('\n');
|
||||
|
||||
const out = findPromptSeamUses(PROMPT_FILE, text);
|
||||
@@ -262,7 +262,7 @@ describe('D11 — the prompt layer is in the scan surface', () => {
|
||||
test('control: the same candidate wrapped in backticks is a mention, not an invocation, and is not reported', () => {
|
||||
// Proves the detection above is genuinely exercising the code-span
|
||||
// exclusion, not merely that the fixture happens to score zero.
|
||||
const text = 'Documentation only: `gsd-tools state.patch --field status --value done`.';
|
||||
const text = 'Documentation only: `msd-tools state.patch --field status --value done`.';
|
||||
assert.deepStrictEqual(findPromptSeamUses(PROMPT_FILE, text), []);
|
||||
});
|
||||
});
|
||||
@@ -386,7 +386,7 @@ describe('D15 — file (and field) values are sanitized at construction', () =>
|
||||
});
|
||||
|
||||
test('findPromptSeamUses: an attacker-controlled filename comes back escaped', () => {
|
||||
const text = 'Run gsd-tools state.patch --field status --value done to record completion directly.';
|
||||
const text = 'Run msd-tools state.patch --field status --value done to record completion directly.';
|
||||
|
||||
const out = findPromptSeamUses(ATTACK_FILE, text);
|
||||
assert.strictEqual(out.length, 1);
|
||||
|
||||
Reference in New Issue
Block a user