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:
@@ -53,7 +53,7 @@ const { cleanup } = require('./helpers.cjs');
|
||||
|
||||
const ROOT = path.join(__dirname, '..');
|
||||
const DISPOSITION_STEP_PATH = path.join(
|
||||
ROOT, 'gsd-core', 'workflows', 'execute-phase', 'steps', 'code-review-disposition.md'
|
||||
ROOT, 'msd-core', 'workflows', 'execute-phase', 'steps', 'code-review-disposition.md'
|
||||
);
|
||||
|
||||
const RUNS = { numRuns: 40 };
|
||||
@@ -96,7 +96,7 @@ function runOnce(dir, padded) {
|
||||
};
|
||||
}
|
||||
|
||||
// The id prefixes gsd-code-reviewer.md's body template and its Label-equivalence
|
||||
// The id prefixes msd-code-reviewer.md's body template and its Label-equivalence
|
||||
// paragraph can emit — the domain the step's own enumeration is a subset of.
|
||||
const PREFIX = fc.constantFrom('CR', 'BL', 'WR', 'IN');
|
||||
const DECIDED = fc.constantFrom('fixed', 'skipped', 'deferred');
|
||||
@@ -203,7 +203,7 @@ function reviewFor(findings) {
|
||||
// carried row that re-derived it from the prefix was lossy on exactly the findings the section
|
||||
// rule exists for. Every fixture used ids whose prefix happened to match their section, so the
|
||||
// lossy path returned the right answer by coincidence -- the same shape as this file's own
|
||||
// origin story. Drawn from the three headings gsd-code-reviewer.md emits.
|
||||
// origin story. Drawn from the three headings msd-code-reviewer.md emits.
|
||||
const SECTION = fc.constantFrom('critical', 'warning', 'info');
|
||||
const SECTIONED = FINDINGS.chain((findings) =>
|
||||
fc.array(SECTION, { minLength: findings.length, maxLength: findings.length })
|
||||
@@ -234,7 +234,7 @@ const expectedTitle = (t) => String(t).trim();
|
||||
describe('#3829 — the disposition ledger is a render/re-parse fixed point', () => {
|
||||
test('re-running the gate rewrites nothing and changes nothing', () => {
|
||||
fc.assert(fc.property(FINDINGS, (findings) => {
|
||||
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-3829-prop-'));
|
||||
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-3829-prop-'));
|
||||
try {
|
||||
fs.writeFileSync(path.join(dir, '01-REVIEW.md'), reviewFor(findings));
|
||||
const first = runOnce(dir, '01');
|
||||
@@ -253,7 +253,7 @@ describe('#3829 — the disposition ledger is a render/re-parse fixed point', ()
|
||||
|
||||
test('a recorded decision and its reason survive re-rendering', () => {
|
||||
fc.assert(fc.property(FINDINGS, DECIDED, SOURCE_CELL, (findings, decision, source) => {
|
||||
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-3829-prop-'));
|
||||
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-3829-prop-'));
|
||||
try {
|
||||
fs.writeFileSync(path.join(dir, '01-REVIEW.md'), reviewFor(findings));
|
||||
// A human decides the first finding by hand, reason included — the case
|
||||
@@ -308,7 +308,7 @@ describe('#3829 — the disposition ledger is a render/re-parse fixed point', ()
|
||||
|
||||
test('an out-of-vocabulary disposition is coerced to open, never treated as a decision', () => {
|
||||
fc.assert(fc.property(FINDINGS, JUNK, SOURCE_CELL, (findings, junk, source) => {
|
||||
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-3829-prop-'));
|
||||
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-3829-prop-'));
|
||||
try {
|
||||
fs.writeFileSync(path.join(dir, '01-REVIEW.md'), reviewFor(findings));
|
||||
const target = findings[0].id;
|
||||
@@ -339,7 +339,7 @@ describe('#3829 — the disposition ledger is a render/re-parse fixed point', ()
|
||||
|
||||
test('a title survives the ledger round-trip, so a decision is not lost to its own title', () => {
|
||||
fc.assert(fc.property(FINDINGS, DECIDED, (findings, decision) => {
|
||||
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-3829-prop-'));
|
||||
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-3829-prop-'));
|
||||
try {
|
||||
fs.writeFileSync(path.join(dir, '01-REVIEW.md'), reviewFor(findings));
|
||||
const first = runOnce(dir, '01');
|
||||
@@ -397,7 +397,7 @@ describe('#3829 — the disposition ledger is a render/re-parse fixed point', ()
|
||||
|
||||
test('a carried row keeps the severity its section gave it, whatever its id prefix says', () => {
|
||||
fc.assert(fc.property(SECTIONED, (findings) => {
|
||||
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-3829-prop-'));
|
||||
const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-3829-prop-'));
|
||||
try {
|
||||
fs.writeFileSync(path.join(dir, '01-REVIEW.md'), sectionedReviewFor(findings));
|
||||
const first = runOnce(dir, '01');
|
||||
|
||||
Reference in New Issue
Block a user