Files
msd-core/commands/msd/health.md
Jakub Zych a9a7a328e6 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.
2026-10-06 01:47:40 +02:00

1.2 KiB
Raw Permalink Blame History

name, description, argument-hint, allowed-tools, requires
name description argument-hint allowed-tools requires
msd:health Diagnose planning directory health and optionally repair issues [--repair] [--context]
Read
Bash
Grep
Write
AskUserQuestion
thread
Validate `.planning/` directory integrity and report actionable issues. Checks for missing files, invalid configurations, inconsistent state, and orphaned plans.

--context runs an orthogonal check: the running session's context utilization. The workflow asks for the model's tokensUsed + contextWindow, calls msd-tools query validate.context, and renders one of three states:

Utilization State Action
< 60% healthy no action — context is comfortable
60% – 70% warning recommend /msd:thread to start fresh
≥ 70% critical reasoning quality may degrade past the fracture point

<execution_context> @~/.claude/msd-core/workflows/health.md </execution_context>

Execute end-to-end. Parse `--repair` and `--context` flags from arguments and pass to workflow.