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,7 +11,7 @@
|
||||
* (src/kimi_cli/tools/file/replace.py @ 4a550ef) — it carries no
|
||||
* `old_string`/`new_string` at all. So either key appearing in a Kimi payload is
|
||||
* ALWAYS model-supplied, and under `=== undefined` a model-supplied
|
||||
* `new_string: ""` SHADOWED the reconstruction. `gsd-prompt-guard.js` then read
|
||||
* `new_string: ""` SHADOWED the reconstruction. `msd-prompt-guard.js` then read
|
||||
* `content = tool_input.content || tool_input.new_string || ''`, found `''`, and
|
||||
* exited at its `if (!content)` guard — so the injection advisory never fired
|
||||
* and the real `edit[].new` was never scanned.
|
||||
@@ -32,14 +32,14 @@
|
||||
|
||||
'use strict';
|
||||
|
||||
process.env.GSD_TEST_MODE = '1';
|
||||
process.env.MSD_TEST_MODE = '1';
|
||||
|
||||
const { describe, test } = require('node:test');
|
||||
const assert = require('node:assert/strict');
|
||||
const path = require('node:path');
|
||||
const { runHook: runHookSeam } = require('./helpers/process-seam.cjs');
|
||||
|
||||
const HOOK_PATH = path.join(__dirname, '..', 'hooks', 'gsd-prompt-guard.js');
|
||||
const HOOK_PATH = path.join(__dirname, '..', 'hooks', 'msd-prompt-guard.js');
|
||||
|
||||
function runHook(payload, timeoutMs = 5000) {
|
||||
const r = runHookSeam(HOOK_PATH, [], { input: JSON.stringify(payload), timeoutMs });
|
||||
|
||||
Reference in New Issue
Block a user