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.
1.3 KiB
1.3 KiB
id, title, group
| id | title | group |
|---|---|---|
| 88 | Community Hooks Opt-In | v1.32 Features |
Hooks: msd-validate-commit.sh, msd-session-state.sh, msd-phase-boundary.sh
Purpose: Optional git and session hooks for MSD projects, gated behind hooks.community: true in config.
Requirements:
- REQ-COMMUNITY-01: All community hooks MUST be no-ops unless
hooks.communityistruein.planning/config.json - REQ-COMMUNITY-02:
msd-validate-commit.shMUST enforce Conventional Commits format on git commit messages - REQ-COMMUNITY-03:
msd-session-state.shMUST track session state transitions - REQ-COMMUNITY-04:
msd-phase-boundary.shMUST enforce phase boundary checks
Config:
| Setting | Type | Default | Description |
|---|---|---|---|
hooks.community |
boolean | false |
Enable optional community hooks for commit validation, session state, and phase boundaries |
hooks.commit_types |
array of strings | [] |
Extra Conventional Commits types msd-validate-commit.sh accepts, in addition to the built-in feat, fix, docs, style, refactor, perf, test, build, ci, chore — never replaces them. Each entry must match ^[a-z][a-z0-9-]*$ (lowercase letters, digits, hyphens); non-conforming or non-string entries are dropped. Example: { "hooks": { "community": true, "commit_types": ["enhance", "enh", "revert"] } }. |