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,21 +3,21 @@
|
||||
|
||||
/**
|
||||
* Generates the `<error_codes>` and `<repair_actions>` tables in
|
||||
* `gsd-core/workflows/health.md` from `src/health-diagnostic.cts`'s `RULES`
|
||||
* `msd-core/workflows/health.md` from `src/health-diagnostic.cts`'s `RULES`
|
||||
* table (Phase 11 follow-up, #3309 "Proposed behavior": "health.md's tables
|
||||
* are generated rather than hand-maintained, closing the 16-vs-30+
|
||||
* documentation gap structurally").
|
||||
*
|
||||
* Sources:
|
||||
* - The 31 real rules in the compiled `RULES` array
|
||||
* (`gsd-core/bin/lib/health-diagnostic.cjs`, built from
|
||||
* (`msd-core/bin/lib/health-diagnostic.cjs`, built from
|
||||
* `src/health-diagnostic.cts` + `src/health-diagnostic-rules/*.cts`),
|
||||
* each carrying a static `description`/`repairable` (see
|
||||
* `src/health-diagnostic-types.cts`'s `Rule` interface).
|
||||
* - `PRECHECK_CODES` below — E001, E010, I010 — the three diagnostics
|
||||
* `cmdValidateHealth` (`src/verify.cts`) emits as pre-checks OUTSIDE the
|
||||
* rule table entirely (ADR-3180 §8.2 rule 4, "no precedence system" —
|
||||
* see `.gsd/phase/refactor-3309-health-diagnostic-rule-table/40-design.md`,
|
||||
* see `.msd/phase/refactor-3309-health-diagnostic-rule-table/40-design.md`,
|
||||
* "Two guards that stay OUTSIDE the rule table entirely"). These will
|
||||
* never appear in `RULES`, so they are a small, static, clearly-labeled
|
||||
* list merged in here instead.
|
||||
@@ -53,9 +53,9 @@ const path = require('node:path');
|
||||
const { ExitError, runMain } = require('./lib/cli-exit.cjs');
|
||||
|
||||
const ROOT = path.resolve(__dirname, '..');
|
||||
const HEALTH_MD_REL = 'gsd-core/workflows/health.md';
|
||||
const HEALTH_MD_REL = 'msd-core/workflows/health.md';
|
||||
const HEALTH_MD_PATH = path.join(ROOT, HEALTH_MD_REL);
|
||||
const COMPILED_MODULE_REL = 'gsd-core/bin/lib/health-diagnostic.cjs';
|
||||
const COMPILED_MODULE_REL = 'msd-core/bin/lib/health-diagnostic.cjs';
|
||||
const COMPILED_MODULE_PATH = path.join(ROOT, COMPILED_MODULE_REL);
|
||||
|
||||
const ERROR_CODES_START = '<error_codes>';
|
||||
|
||||
Reference in New Issue
Block a user