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:
@@ -1,7 +1,7 @@
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Property-based robustness tests for the gsd-read-injection-scanner PostToolUse hook (#1577).
|
||||
* Property-based robustness tests for the msd-read-injection-scanner PostToolUse hook (#1577).
|
||||
*
|
||||
* The hook is a pattern pre-filter over untrusted Read/WebFetch/WebSearch output.
|
||||
* It must NEVER crash the tool pipeline: whatever the fetched content is —
|
||||
@@ -30,7 +30,7 @@ const path = require('node:path');
|
||||
const fc = require('./helpers/fast-check-setup.cjs');
|
||||
const { runHook: runHookSeam } = require('./helpers/process-seam.cjs');
|
||||
|
||||
const HOOK_PATH = path.join(__dirname, '..', 'hooks', 'gsd-read-injection-scanner.js');
|
||||
const HOOK_PATH = path.join(__dirname, '..', 'hooks', 'msd-read-injection-scanner.js');
|
||||
|
||||
/**
|
||||
* Safety-net ceiling for a single hook invocation — 6x the hook's own
|
||||
@@ -91,7 +91,7 @@ const contentArb = fc.oneof(
|
||||
fc.constantFrom('', '\x00', String.fromCodePoint(0xFFFF), '\n'.repeat(2000)), // degenerate edges
|
||||
);
|
||||
|
||||
describe('gsd-read-injection-scanner — robustness properties (#1577)', () => {
|
||||
describe('msd-read-injection-scanner — robustness properties (#1577)', () => {
|
||||
test('never crashes and only ever emits well-formed JSON', () => {
|
||||
fc.assert(
|
||||
fc.property(
|
||||
|
||||
Reference in New Issue
Block a user