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:
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* Property-based tests for smart-entry's `last_activity` staleness detection.
|
||||
*
|
||||
* Module: src/smart-entry.cts (built to gsd-core/bin/lib/smart-entry.cjs)
|
||||
* Module: src/smart-entry.cts (built to msd-core/bin/lib/smart-entry.cjs)
|
||||
* Exercised surface: detectSignals(cwd, now) -> { stale_activity, ... }
|
||||
*
|
||||
* These drive the REAL frontmatter -> fmScalar -> parseActivityTimestamp ->
|
||||
@@ -45,7 +45,7 @@ const path = require('path');
|
||||
const fc = require('./helpers/fast-check-setup.cjs');
|
||||
const { cleanup } = require('./helpers.cjs');
|
||||
|
||||
const { detectSignals } = require('../gsd-core/bin/lib/smart-entry.cjs');
|
||||
const { detectSignals } = require('../msd-core/bin/lib/smart-entry.cjs');
|
||||
|
||||
const FIXED_NOW = () => Date.parse('2026-08-01T00:00:00Z');
|
||||
const HOUR_MS = 3600 * 1000;
|
||||
@@ -71,14 +71,14 @@ const IMPOSSIBLE_DAYS = [
|
||||
const created = [];
|
||||
|
||||
function makeProject(lastActivity) {
|
||||
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'gsd-se-prop-'));
|
||||
const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'msd-se-prop-'));
|
||||
created.push(tmpDir);
|
||||
fs.mkdirSync(path.join(tmpDir, '.planning', 'phases'), { recursive: true });
|
||||
fs.writeFileSync(
|
||||
path.join(tmpDir, '.planning', 'STATE.md'),
|
||||
[
|
||||
'---',
|
||||
'gsd_state_version: 1.0',
|
||||
'msd_state_version: 1.0',
|
||||
'status: executing',
|
||||
`last_activity: ${lastActivity}`,
|
||||
'---',
|
||||
|
||||
Reference in New Issue
Block a user