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:
Jakub Zych
2026-10-06 01:47:40 +02:00
parent fe069b2a56
commit a9a7a328e6
2763 changed files with 78465 additions and 78434 deletions

View File

@@ -5,7 +5,7 @@
* hand-written .cjs; only types are added.
*
* Privacy default: args are OMITTED from every emitted event (both stderr
* and file audit). Opt-in: set GSD_AUDIT_ARGS=1 to include args verbatim.
* and file audit). Opt-in: set MSD_AUDIT_ARGS=1 to include args verbatim.
*
* This module is deliberately simple and has no side effects — redaction
* decisions are stateless reads of process.env at call time so that tests
@@ -19,18 +19,18 @@ export type DispatchEvent = Record<string, unknown>;
/**
* Returns true when the caller has opted in to including args in events.
* Only GSD_AUDIT_ARGS === '1' enables inclusion; any other value (including
* Only MSD_AUDIT_ARGS === '1' enables inclusion; any other value (including
* empty string, 'true', 'yes') keeps the default of omitting args.
*/
export function shouldIncludeArgs(): boolean {
return process.env.GSD_AUDIT_ARGS === '1';
return process.env.MSD_AUDIT_ARGS === '1';
}
/**
* Return a redacted copy of a DispatchEvent.
*
* If args should be omitted (default), strips the `args` field entirely.
* If args should be included (GSD_AUDIT_ARGS=1), passes the event through
* If args should be included (MSD_AUDIT_ARGS=1), passes the event through
* unchanged (args were already set by makeDispatchEvent with includeArgs:true,
* or absent — in which case they stay absent).
*