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

@@ -1,6 +1,6 @@
# Adversarial Frontmatter Fixtures (#3594)
Reusable hostile inputs for `gsd-core/bin/lib/frontmatter.cjs`
Reusable hostile inputs for `msd-core/bin/lib/frontmatter.cjs`
`extractFrontmatter()` and downstream consumers.
Each fixture is a single markdown file whose name encodes the abuse

View File

@@ -1,7 +1,7 @@
# Adversarial Roadmap Fixtures (#3594)
Hostile / messy ROADMAP.md inputs for
`gsd-core/bin/lib/roadmap.cjs` (`searchPhaseInContent`,
`msd-core/bin/lib/roadmap.cjs` (`searchPhaseInContent`,
`cmdRoadmapGetPhase`, `cmdRoadmapAnalyze`) and the SDK roadmap parser
in `sdk/src/query/roadmap.ts`.

View File

@@ -9,12 +9,12 @@ They are not executed and contain no real secrets.
| File | Attack class | Consumed by |
|------|--------------|-------------|
| `context-instruction-override.md` | Fake instruction override + role manipulation | gsd-read-injection-scanner.js, gsd-prompt-guard.js |
| `plan-fake-system-tags.md` | `<system>`/`<assistant>` boundary mimicry | sanitizeForPrompt, gsd-prompt-guard.js |
| `roadmap-heredoc-breakout.md` | Heredoc-shaped payload inside a planning doc | gsd-read-injection-scanner.js |
| `plan-fake-frontmatter.md` | Frontmatter fields that try to override intent | gsd-read-injection-scanner.js |
| `context-malicious-markdown-link.md` | Markdown links with `javascript:` and embedded creds | gsd-read-injection-scanner.js |
| `context-invisible-unicode.md` | Zero-width chars hiding instructions | gsd-read-injection-scanner.js, sanitizeForPrompt |
| `context-instruction-override.md` | Fake instruction override + role manipulation | msd-read-injection-scanner.js, msd-prompt-guard.js |
| `plan-fake-system-tags.md` | `<system>`/`<assistant>` boundary mimicry | sanitizeForPrompt, msd-prompt-guard.js |
| `roadmap-heredoc-breakout.md` | Heredoc-shaped payload inside a planning doc | msd-read-injection-scanner.js |
| `plan-fake-frontmatter.md` | Frontmatter fields that try to override intent | msd-read-injection-scanner.js |
| `context-malicious-markdown-link.md` | Markdown links with `javascript:` and embedded creds | msd-read-injection-scanner.js |
| `context-invisible-unicode.md` | Zero-width chars hiding instructions | msd-read-injection-scanner.js, sanitizeForPrompt |
The fake-token values used in CLI redaction probes
(`ghp_AAAA…`, `sk-AAAA…`) are constructed inline by the test, not stored

View File

@@ -1,6 +1,6 @@
# Adversarial Codex-agent TOML Fixtures (#3242)
Reusable hostile inputs for `gsd-core/bin/lib/agent-install-check.cjs`
Reusable hostile inputs for `msd-core/bin/lib/agent-install-check.cjs`
`checkCodexModelPosture()`.
Per CONTRIBUTING's fixture-provenance rule (#2371), these files are

View File

@@ -1,4 +1,4 @@
name = "gsd-archivist"
name = "msd-archivist"
description = "Archives closed phase directories"
model = "sonnet"
developer_instructions = '''

View File

@@ -1,4 +1,4 @@
name = "gsd-reviewer"
name = "msd-reviewer"
description = "Reviews pull requests for policy compliance"
# model = "sonnet"
developer_instructions = '''

View File

@@ -1,10 +1,10 @@
name = "gsd-planner"
name = "msd-planner"
description = "Coordinates phase planning across the roadmap"
sandbox_mode = "read-only"
developer_instructions = '''
You are the GSD planner agent. Operators sometimes ask which chat model
You are the MSD planner agent. Operators sometimes ask which chat model
backs this session; explain that Codex inherits whatever model the
operator selected in their client and that GSD does not override it here.
operator selected in their client and that MSD does not override it here.
A support thread once included this exact broken snippet from a user's
hand-edited config, which they were asking how to remove:

View File

@@ -1,4 +1,4 @@
name = "gsd-analyst"
name = "msd-analyst"
description = "Summarizes structured data for the sprint report"
model_verbosity = "low"
developer_instructions = '''

View File

@@ -1,4 +1,4 @@
name = "gsd-tester"
name = "msd-tester"
description = "Runs the project test suite and reports failures"
model = "sonnet"
developer_instructions = '''

View File

@@ -1,7 +1,7 @@
/**
* MUST NOT COMPILE (#2671) — the #2631 defect in its pure form.
*
* `gsd-planner` emitted an already-calibrated figure; `gsd-plan-checker` fed it
* `msd-planner` emitted an already-calibrated figure; `msd-plan-checker` fed it
* to a parameter named `rawTokens`, which applied the factor a second time. The
* effective correction became factor^2 — with the [0.5, 3.0] clamp, anywhere
* from 4x under to 9x over — and it was invisible below 3 samples because there

View File

@@ -8,39 +8,39 @@
"label": "PROXY-TOKENIZER DELTA — gpt-tokenizer is a stand-in; Anthropic publishes no tokenizer for Claude 3+. The on/off COMPARISON is exact under this pinned tokenizer; absolute counts are not Claude's real token counts.",
"splits": {
"complete-milestone": {
"offTokens": 13322,
"onTokens": 8421,
"reductionPct": 36.79
"offTokens": 13297,
"onTokens": 8408,
"reductionPct": 36.77
},
"docs-update": {
"offTokens": 14291,
"onTokens": 11941,
"reductionPct": 16.44
"offTokens": 14271,
"onTokens": 11922,
"reductionPct": 16.46
},
"execute-phase": {
"offTokens": 25431,
"onTokens": 23080,
"reductionPct": 9.24
"offTokens": 25390,
"onTokens": 23052,
"reductionPct": 9.21
},
"new-project": {
"offTokens": 14369,
"onTokens": 12425,
"reductionPct": 13.53
"offTokens": 14337,
"onTokens": 12398,
"reductionPct": 13.52
},
"plan-phase": {
"offTokens": 28406,
"onTokens": 25055,
"reductionPct": 11.8
"offTokens": 28551,
"onTokens": 25213,
"reductionPct": 11.69
},
"verify-work": {
"offTokens": 13445,
"onTokens": 11472,
"offTokens": 13424,
"onTokens": 11455,
"reductionPct": 14.67
}
},
"aggregate": {
"offTokens": 109264,
"onTokens": 92394,
"reductionPct": 15.44
"offTokens": 109270,
"onTokens": 92448,
"reductionPct": 15.39
}
}

View File

@@ -7,162 +7,162 @@
},
"label": "PROXY-TOKENIZER DELTA — gpt-tokenizer is a stand-in; Anthropic publishes no tokenizer for Claude 3+. The on/off COMPARISON is exact under this pinned tokenizer; absolute counts are not Claude's real token counts.",
"pairs": {
"agents/gsd-advisor-researcher.md": {
"agents/msd-advisor-researcher.md": {
"offTokens": 1087,
"onTokens": 853,
"reductionPct": 21.53
},
"agents/gsd-ai-researcher.md": {
"agents/msd-ai-researcher.md": {
"offTokens": 1446,
"onTokens": 1341,
"reductionPct": 7.26
},
"agents/gsd-assumptions-analyzer.md": {
"agents/msd-assumptions-analyzer.md": {
"offTokens": 1063,
"onTokens": 842,
"reductionPct": 20.79
},
"agents/gsd-code-fixer.md": {
"agents/msd-code-fixer.md": {
"offTokens": 10835,
"onTokens": 6781,
"reductionPct": 37.42
},
"agents/gsd-code-reviewer.md": {
"agents/msd-code-reviewer.md": {
"offTokens": 4408,
"onTokens": 3601,
"reductionPct": 18.31
},
"agents/gsd-codebase-mapper.md": {
"agents/msd-codebase-mapper.md": {
"offTokens": 5357,
"onTokens": 4834,
"reductionPct": 9.76
},
"agents/gsd-debug-session-manager.md": {
"agents/msd-debug-session-manager.md": {
"offTokens": 5088,
"onTokens": 4799,
"reductionPct": 5.68
},
"agents/gsd-doc-classifier.md": {
"agents/msd-doc-classifier.md": {
"offTokens": 2901,
"onTokens": 2340,
"reductionPct": 19.34
},
"agents/gsd-doc-synthesizer.md": {
"agents/msd-doc-synthesizer.md": {
"offTokens": 3191,
"onTokens": 2768,
"reductionPct": 13.26
},
"agents/gsd-doc-verifier.md": {
"agents/msd-doc-verifier.md": {
"offTokens": 2996,
"onTokens": 2667,
"reductionPct": 10.98
},
"agents/gsd-doc-writer.md": {
"agents/msd-doc-writer.md": {
"offTokens": 9040,
"onTokens": 5588,
"reductionPct": 38.19
},
"agents/gsd-dom-verifier.md": {
"agents/msd-dom-verifier.md": {
"offTokens": 1733,
"onTokens": 1431,
"reductionPct": 17.43
},
"agents/gsd-domain-researcher.md": {
"agents/msd-domain-researcher.md": {
"offTokens": 1621,
"onTokens": 1332,
"reductionPct": 17.83
},
"agents/gsd-eval-auditor.md": {
"agents/msd-eval-auditor.md": {
"offTokens": 3002,
"onTokens": 2869,
"reductionPct": 4.43
},
"agents/gsd-eval-planner.md": {
"agents/msd-eval-planner.md": {
"offTokens": 1674,
"onTokens": 1567,
"reductionPct": 6.39
},
"agents/gsd-framework-selector.md": {
"agents/msd-framework-selector.md": {
"offTokens": 1513,
"onTokens": 1095,
"reductionPct": 27.63
},
"agents/gsd-integration-checker.md": {
"agents/msd-integration-checker.md": {
"offTokens": 4105,
"onTokens": 2377,
"reductionPct": 42.1
},
"agents/gsd-intel-updater.md": {
"agents/msd-intel-updater.md": {
"offTokens": 4414,
"onTokens": 4176,
"reductionPct": 5.39
},
"agents/gsd-mempalace-curator.md": {
"agents/msd-mempalace-curator.md": {
"offTokens": 1160,
"onTokens": 985,
"reductionPct": 15.09
},
"agents/gsd-nyquist-auditor.md": {
"agents/msd-nyquist-auditor.md": {
"offTokens": 1768,
"onTokens": 1654,
"reductionPct": 6.45
},
"agents/gsd-pattern-mapper.md": {
"agents/msd-pattern-mapper.md": {
"offTokens": 3155,
"onTokens": 2670,
"reductionPct": 15.37
},
"agents/gsd-project-researcher.md": {
"agents/msd-project-researcher.md": {
"offTokens": 5525,
"onTokens": 5196,
"reductionPct": 5.95
},
"agents/gsd-research-synthesizer.md": {
"agents/msd-research-synthesizer.md": {
"offTokens": 3183,
"onTokens": 2978,
"reductionPct": 6.44
},
"agents/gsd-roadmapper.md": {
"agents/msd-roadmapper.md": {
"offTokens": 6008,
"onTokens": 4774,
"reductionPct": 20.54
},
"agents/gsd-security-auditor.md": {
"agents/msd-security-auditor.md": {
"offTokens": 2201,
"onTokens": 1969,
"reductionPct": 10.54
},
"agents/gsd-ui-auditor.md": {
"agents/msd-ui-auditor.md": {
"offTokens": 6729,
"onTokens": 3926,
"reductionPct": 41.66
},
"agents/gsd-ui-checker.md": {
"agents/msd-ui-checker.md": {
"offTokens": 4499,
"onTokens": 3048,
"reductionPct": 32.25
},
"agents/gsd-ui-researcher.md": {
"agents/msd-ui-researcher.md": {
"offTokens": 5493,
"onTokens": 4876,
"reductionPct": 11.23
},
"agents/gsd-user-profiler.md": {
"agents/msd-user-profiler.md": {
"offTokens": 1859,
"onTokens": 1481,
"reductionPct": 20.33
},
"gsd-core/templates/summary.md": {
"msd-core/templates/summary.md": {
"offTokens": 2938,
"onTokens": 2299,
"reductionPct": 21.75
},
"gsd-core/templates/user-setup.md": {
"msd-core/templates/user-setup.md": {
"offTokens": 2061,
"onTokens": 1363,
"reductionPct": 33.87
},
"gsd-core/workflows/help/modes/full.md": {
"msd-core/workflows/help/modes/full.md": {
"offTokens": 9933,
"onTokens": 6573,
"reductionPct": 33.83

View File

@@ -1 +1 @@
{ "schema_version": 3, "version": "2.70.0", "command": "audit", "verdict": "fail", "changed_files_count": 5, "base_ref": "main", "head_sha": "abc1234", "elapsed_ms": 120, "summary": { "dead_code_issues": 3, "dead_code_has_errors": true, "complexity_findings": 0, "max_cyclomatic": null, "duplication_clone_groups": 1 }, "attribution": { "gate": "new-only", "dead_code_introduced": 3, "dead_code_inherited": 0, "complexity_introduced": 0, "complexity_inherited": 0, "duplication_introduced": 1, "duplication_inherited": 0 }, "dead_code": { "schema_version": 6, "summary": { "total_issues": 3, "unused_files": 1, "unused_exports": 1, "circular_dependencies": 1 }, "unused_files": [ { "path": "src/orphan.ts", "introduced": true, "actions": [] } ], "unused_exports": [ { "path": "sdk/src/query/commit.ts", "export_name": "commitToSubrepo", "is_type_only": false, "line": 289, "col": 16, "span_start": 1234, "is_re_export": false, "introduced": true, "actions": [] } ], "circular_dependencies": [ { "files": ["src/a.ts", "src/b.ts"], "length": 2, "line": 1, "col": 9, "introduced": true, "actions": [] } ] }, "duplication": { "clone_groups": [ { "instances": [ { "file": "gsd-core/bin/lib/config-schema.cjs", "start_line": 14, "end_line": 22, "start_col": 0, "end_col": 1, "fragment": "..." }, { "file": "sdk/src/query/config-schema.ts", "start_line": 9, "end_line": 17, "start_col": 0, "end_col": 1, "fragment": "..." } ] } ], "stats": { "clone_groups": 1 } }, "complexity": { "findings": [] } }
{ "schema_version": 3, "version": "2.70.0", "command": "audit", "verdict": "fail", "changed_files_count": 5, "base_ref": "main", "head_sha": "abc1234", "elapsed_ms": 120, "summary": { "dead_code_issues": 3, "dead_code_has_errors": true, "complexity_findings": 0, "max_cyclomatic": null, "duplication_clone_groups": 1 }, "attribution": { "gate": "new-only", "dead_code_introduced": 3, "dead_code_inherited": 0, "complexity_introduced": 0, "complexity_inherited": 0, "duplication_introduced": 1, "duplication_inherited": 0 }, "dead_code": { "schema_version": 6, "summary": { "total_issues": 3, "unused_files": 1, "unused_exports": 1, "circular_dependencies": 1 }, "unused_files": [ { "path": "src/orphan.ts", "introduced": true, "actions": [] } ], "unused_exports": [ { "path": "sdk/src/query/commit.ts", "export_name": "commitToSubrepo", "is_type_only": false, "line": 289, "col": 16, "span_start": 1234, "is_re_export": false, "introduced": true, "actions": [] } ], "circular_dependencies": [ { "files": ["src/a.ts", "src/b.ts"], "length": 2, "line": 1, "col": 9, "introduced": true, "actions": [] } ] }, "duplication": { "clone_groups": [ { "instances": [ { "file": "msd-core/bin/lib/config-schema.cjs", "start_line": 14, "end_line": 22, "start_col": 0, "end_col": 1, "fragment": "..." }, { "file": "sdk/src/query/config-schema.ts", "start_line": 9, "end_line": 17, "start_col": 0, "end_col": 1, "fragment": "..." } ] } ], "stats": { "clone_groups": 1 } }, "complexity": { "findings": [] } }

View File

@@ -2,270 +2,270 @@
"_provenance": "Hermetic frontmatter-parity golden (#3881 redesign). Each entry embeds its own literal documentText (shrunk from a real ddde001af corpus document) and an expectedParse captured independently from the pre-migration legacy parser (git show ddde001af:src/frontmatter.cts, compiled standalone). No path is read at test time; sourcePath is provenance-only metadata. Entries with diverges:true are documented, deliberate legacy/current mismatches (see justification) and are asserted to STILL diverge rather than match.",
"entries": [
{
"id": "agents__gsd-ai-researcher",
"sourcePath": "agents/gsd-ai-researcher.md",
"documentText": "---\nname: gsd-ai-researcher\ndescription: Researches a chosen AI framework's official docs to produce implementation-ready guidance — best practices, syntax, core patterns, and pitfalls distilled for the specific use case. Writes the Framework Quick Reference and Implementation Guidance sections of AI-SPEC.md. Spawned by /gsd:ai-integration-phase orchestrator.\ntools: Read, Write, Edit, Bash, Grep, Glob, WebFetch, WebSearch, mcp__context7__*, mcp__plugin_context7_context7__*\ncolor: green\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"echo 'AI-SPEC written' 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd-ai-researcher\",\"description\":\"Researches a chosen AI framework's official docs to produce implementation-ready guidance — best practices, syntax, core patterns, and pitfalls distilled for the specific use case. Writes the Framework Quick Reference and Implementation Guidance sections of AI-SPEC.md. Spawned by /gsd:ai-integration-phase orchestrator.\",\"tools\":\"Read, Write, Edit, Bash, Grep, Glob, WebFetch, WebSearch, mcp__context7__*, mcp__plugin_context7_context7__*\",\"color\":\"green\"}",
"id": "agents__msd-ai-researcher",
"sourcePath": "agents/msd-ai-researcher.md",
"documentText": "---\nname: msd-ai-researcher\ndescription: Researches a chosen AI framework's official docs to produce implementation-ready guidance — best practices, syntax, core patterns, and pitfalls distilled for the specific use case. Writes the Framework Quick Reference and Implementation Guidance sections of AI-SPEC.md. Spawned by /msd:ai-integration-phase orchestrator.\ntools: Read, Write, Edit, Bash, Grep, Glob, WebFetch, WebSearch, mcp__context7__*, mcp__plugin_context7_context7__*\ncolor: green\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"echo 'AI-SPEC written' 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd-ai-researcher\",\"description\":\"Researches a chosen AI framework's official docs to produce implementation-ready guidance — best practices, syntax, core patterns, and pitfalls distilled for the specific use case. Writes the Framework Quick Reference and Implementation Guidance sections of AI-SPEC.md. Spawned by /msd:ai-integration-phase orchestrator.\",\"tools\":\"Read, Write, Edit, Bash, Grep, Glob, WebFetch, WebSearch, mcp__context7__*, mcp__plugin_context7_context7__*\",\"color\":\"green\"}",
"diverges": false
},
{
"id": "agents__gsd-code-fixer",
"sourcePath": "agents/gsd-code-fixer.md",
"documentText": "---\nname: gsd-code-fixer\ndescription: Applies fixes to code review findings from REVIEW.md. Reads source files, applies intelligent fixes, and commits each fix atomically. Spawned by /gsd:code-review --fix.\ntools: Read, Edit, Write, Bash, Grep, Glob, Skill\ncolor: green\n# hooks:\n# - before_write\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd-code-fixer\",\"description\":\"Applies fixes to code review findings from REVIEW.md. Reads source files, applies intelligent fixes, and commits each fix atomically. Spawned by /gsd:code-review --fix.\",\"tools\":\"Read, Edit, Write, Bash, Grep, Glob, Skill\",\"color\":\"green\"}",
"id": "agents__msd-code-fixer",
"sourcePath": "agents/msd-code-fixer.md",
"documentText": "---\nname: msd-code-fixer\ndescription: Applies fixes to code review findings from REVIEW.md. Reads source files, applies intelligent fixes, and commits each fix atomically. Spawned by /msd:code-review --fix.\ntools: Read, Edit, Write, Bash, Grep, Glob, Skill\ncolor: green\n# hooks:\n# - before_write\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd-code-fixer\",\"description\":\"Applies fixes to code review findings from REVIEW.md. Reads source files, applies intelligent fixes, and commits each fix atomically. Spawned by /msd:code-review --fix.\",\"tools\":\"Read, Edit, Write, Bash, Grep, Glob, Skill\",\"color\":\"green\"}",
"diverges": false
},
{
"id": "agents__gsd-code-reviewer",
"sourcePath": "agents/gsd-code-reviewer.md",
"documentText": "---\nname: gsd-code-reviewer\ndescription: Reviews source files for bugs, security issues, and code quality problems. Produces structured REVIEW.md with severity-classified findings. Spawned by /gsd:code-review.\ntools: Read, Write, Bash, Grep, Glob, Skill\ncolor: orange\n# hooks:\n# - before_write\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd-code-reviewer\",\"description\":\"Reviews source files for bugs, security issues, and code quality problems. Produces structured REVIEW.md with severity-classified findings. Spawned by /gsd:code-review.\",\"tools\":\"Read, Write, Bash, Grep, Glob, Skill\",\"color\":\"orange\"}",
"id": "agents__msd-code-reviewer",
"sourcePath": "agents/msd-code-reviewer.md",
"documentText": "---\nname: msd-code-reviewer\ndescription: Reviews source files for bugs, security issues, and code quality problems. Produces structured REVIEW.md with severity-classified findings. Spawned by /msd:code-review.\ntools: Read, Write, Bash, Grep, Glob, Skill\ncolor: orange\n# hooks:\n# - before_write\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd-code-reviewer\",\"description\":\"Reviews source files for bugs, security issues, and code quality problems. Produces structured REVIEW.md with severity-classified findings. Spawned by /msd:code-review.\",\"tools\":\"Read, Write, Bash, Grep, Glob, Skill\",\"color\":\"orange\"}",
"diverges": false
},
{
"id": "agents__gsd-codebase-mapper",
"sourcePath": "agents/gsd-codebase-mapper.md",
"documentText": "---\nname: gsd-codebase-mapper\ndescription: Explores codebase and writes structured analysis documents. Spawned by map-codebase with a focus area (tech, arch, quality, concerns). Writes documents directly to reduce orchestrator context load.\ntools: Read, Bash, Grep, Glob, Write, Skill\ncolor: cyan\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd-codebase-mapper\",\"description\":\"Explores codebase and writes structured analysis documents. Spawned by map-codebase with a focus area (tech, arch, quality, concerns). Writes documents directly to reduce orchestrator context load.\",\"tools\":\"Read, Bash, Grep, Glob, Write, Skill\",\"color\":\"cyan\"}",
"id": "agents__msd-codebase-mapper",
"sourcePath": "agents/msd-codebase-mapper.md",
"documentText": "---\nname: msd-codebase-mapper\ndescription: Explores codebase and writes structured analysis documents. Spawned by map-codebase with a focus area (tech, arch, quality, concerns). Writes documents directly to reduce orchestrator context load.\ntools: Read, Bash, Grep, Glob, Write, Skill\ncolor: cyan\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd-codebase-mapper\",\"description\":\"Explores codebase and writes structured analysis documents. Spawned by map-codebase with a focus area (tech, arch, quality, concerns). Writes documents directly to reduce orchestrator context load.\",\"tools\":\"Read, Bash, Grep, Glob, Write, Skill\",\"color\":\"cyan\"}",
"diverges": false
},
{
"id": "agents__gsd-debug-session-manager",
"sourcePath": "agents/gsd-debug-session-manager.md",
"documentText": "---\nname: gsd-debug-session-manager\ndescription: Manages multi-cycle /gsd:debug checkpoint and continuation loop in isolated context. Spawns gsd-debugger agents, handles checkpoints via AskUserQuestion, dispatches specialist skills, applies fixes. Returns compact summary to main context. Spawned by /gsd:debug command.\ntools: Read, Write, Edit, Bash, Grep, Glob, Agent, AskUserQuestion\ncolor: orange\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd-debug-session-manager\",\"description\":\"Manages multi-cycle /gsd:debug checkpoint and continuation loop in isolated context. Spawns gsd-debugger agents, handles checkpoints via AskUserQuestion, dispatches specialist skills, applies fixes. Returns compact summary to main context. Spawned by /gsd:debug command.\",\"tools\":\"Read, Write, Edit, Bash, Grep, Glob, Agent, AskUserQuestion\",\"color\":\"orange\"}",
"id": "agents__msd-debug-session-manager",
"sourcePath": "agents/msd-debug-session-manager.md",
"documentText": "---\nname: msd-debug-session-manager\ndescription: Manages multi-cycle /msd:debug checkpoint and continuation loop in isolated context. Spawns msd-debugger agents, handles checkpoints via AskUserQuestion, dispatches specialist skills, applies fixes. Returns compact summary to main context. Spawned by /msd:debug command.\ntools: Read, Write, Edit, Bash, Grep, Glob, Agent, AskUserQuestion\ncolor: orange\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd-debug-session-manager\",\"description\":\"Manages multi-cycle /msd:debug checkpoint and continuation loop in isolated context. Spawns msd-debugger agents, handles checkpoints via AskUserQuestion, dispatches specialist skills, applies fixes. Returns compact summary to main context. Spawned by /msd:debug command.\",\"tools\":\"Read, Write, Edit, Bash, Grep, Glob, Agent, AskUserQuestion\",\"color\":\"orange\"}",
"diverges": false
},
{
"id": "agents__gsd-debugger",
"sourcePath": "agents/gsd-debugger.md",
"documentText": "---\nname: gsd-debugger\ndescription: Investigates bugs using scientific method, manages debug sessions, handles checkpoints. Spawned by /gsd:debug orchestrator.\ntools: Read, Write, Edit, Bash, Grep, Glob, Skill, WebSearch\ncolor: orange\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd-debugger\",\"description\":\"Investigates bugs using scientific method, manages debug sessions, handles checkpoints. Spawned by /gsd:debug orchestrator.\",\"tools\":\"Read, Write, Edit, Bash, Grep, Glob, Skill, WebSearch\",\"color\":\"orange\"}",
"id": "agents__msd-debugger",
"sourcePath": "agents/msd-debugger.md",
"documentText": "---\nname: msd-debugger\ndescription: Investigates bugs using scientific method, manages debug sessions, handles checkpoints. Spawned by /msd:debug orchestrator.\ntools: Read, Write, Edit, Bash, Grep, Glob, Skill, WebSearch\ncolor: orange\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd-debugger\",\"description\":\"Investigates bugs using scientific method, manages debug sessions, handles checkpoints. Spawned by /msd:debug orchestrator.\",\"tools\":\"Read, Write, Edit, Bash, Grep, Glob, Skill, WebSearch\",\"color\":\"orange\"}",
"diverges": false
},
{
"id": "agents__gsd-doc-classifier",
"sourcePath": "agents/gsd-doc-classifier.md",
"documentText": "---\nname: gsd-doc-classifier\ndescription: Classifies a single planning document as ADR, PRD, SPEC, DOC, or UNKNOWN. Extracts title, scope summary, and cross-references. Spawned in parallel by /gsd:ingest-docs. Writes a JSON classification file and returns a one-line confirmation.\ntools: Read, Write, Grep, Glob\ncolor: yellow\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd-doc-classifier\",\"description\":\"Classifies a single planning document as ADR, PRD, SPEC, DOC, or UNKNOWN. Extracts title, scope summary, and cross-references. Spawned in parallel by /gsd:ingest-docs. Writes a JSON classification file and returns a one-line confirmation.\",\"tools\":\"Read, Write, Grep, Glob\",\"color\":\"yellow\"}",
"id": "agents__msd-doc-classifier",
"sourcePath": "agents/msd-doc-classifier.md",
"documentText": "---\nname: msd-doc-classifier\ndescription: Classifies a single planning document as ADR, PRD, SPEC, DOC, or UNKNOWN. Extracts title, scope summary, and cross-references. Spawned in parallel by /msd:ingest-docs. Writes a JSON classification file and returns a one-line confirmation.\ntools: Read, Write, Grep, Glob\ncolor: yellow\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd-doc-classifier\",\"description\":\"Classifies a single planning document as ADR, PRD, SPEC, DOC, or UNKNOWN. Extracts title, scope summary, and cross-references. Spawned in parallel by /msd:ingest-docs. Writes a JSON classification file and returns a one-line confirmation.\",\"tools\":\"Read, Write, Grep, Glob\",\"color\":\"yellow\"}",
"diverges": false
},
{
"id": "agents__gsd-doc-synthesizer",
"sourcePath": "agents/gsd-doc-synthesizer.md",
"documentText": "---\nname: gsd-doc-synthesizer\ndescription: Synthesizes classified planning docs into a single consolidated context. Applies precedence rules, detects cross-ref cycles, enforces LOCKED-vs-LOCKED hard-blocks, and writes INGEST-CONFLICTS.md with three buckets (auto-resolved, competing-variants, unresolved-blockers). Spawned by /gsd:ingest-docs.\ntools: Read, Write, Grep, Glob, Bash\ncolor: orange\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd-doc-synthesizer\",\"description\":\"Synthesizes classified planning docs into a single consolidated context. Applies precedence rules, detects cross-ref cycles, enforces LOCKED-vs-LOCKED hard-blocks, and writes INGEST-CONFLICTS.md with three buckets (auto-resolved, competing-variants, unresolved-blockers). Spawned by /gsd:ingest-docs.\",\"tools\":\"Read, Write, Grep, Glob, Bash\",\"color\":\"orange\"}",
"id": "agents__msd-doc-synthesizer",
"sourcePath": "agents/msd-doc-synthesizer.md",
"documentText": "---\nname: msd-doc-synthesizer\ndescription: Synthesizes classified planning docs into a single consolidated context. Applies precedence rules, detects cross-ref cycles, enforces LOCKED-vs-LOCKED hard-blocks, and writes INGEST-CONFLICTS.md with three buckets (auto-resolved, competing-variants, unresolved-blockers). Spawned by /msd:ingest-docs.\ntools: Read, Write, Grep, Glob, Bash\ncolor: orange\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd-doc-synthesizer\",\"description\":\"Synthesizes classified planning docs into a single consolidated context. Applies precedence rules, detects cross-ref cycles, enforces LOCKED-vs-LOCKED hard-blocks, and writes INGEST-CONFLICTS.md with three buckets (auto-resolved, competing-variants, unresolved-blockers). Spawned by /msd:ingest-docs.\",\"tools\":\"Read, Write, Grep, Glob, Bash\",\"color\":\"orange\"}",
"diverges": false
},
{
"id": "agents__gsd-doc-verifier",
"sourcePath": "agents/gsd-doc-verifier.md",
"documentText": "---\nname: gsd-doc-verifier\ndescription: Verifies factual claims in generated docs against the live codebase. Returns structured JSON per doc.\ntools: Read, Write, Bash, Grep, Glob\ncolor: orange\n# hooks:\n# PostToolUse:\n# - matcher: \"Write\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd-doc-verifier\",\"description\":\"Verifies factual claims in generated docs against the live codebase. Returns structured JSON per doc.\",\"tools\":\"Read, Write, Bash, Grep, Glob\",\"color\":\"orange\"}",
"id": "agents__msd-doc-verifier",
"sourcePath": "agents/msd-doc-verifier.md",
"documentText": "---\nname: msd-doc-verifier\ndescription: Verifies factual claims in generated docs against the live codebase. Returns structured JSON per doc.\ntools: Read, Write, Bash, Grep, Glob\ncolor: orange\n# hooks:\n# PostToolUse:\n# - matcher: \"Write\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd-doc-verifier\",\"description\":\"Verifies factual claims in generated docs against the live codebase. Returns structured JSON per doc.\",\"tools\":\"Read, Write, Bash, Grep, Glob\",\"color\":\"orange\"}",
"diverges": false
},
{
"id": "agents__gsd-dom-verifier",
"sourcePath": "agents/gsd-dom-verifier.md",
"documentText": "---\nname: gsd-dom-verifier\ndescription: Verifies live-DOM acceptance criteria for a completed execution wave using a browser MCP server. Writes DOM-VERIFY.md. Additive — never blocks a wave. Spawned by the live-dom-uat capability at execute:wave:post.\ntools: Read, Write, Glob, Grep, mcp__chrome-devtools__*, mcp__claude-in-chrome__*\ncolor: cyan\n# hooks:\n# PostToolUse:\n# - matcher: \"Write\"\n# hooks:\n# - type: command\n# command: \"echo DOM-VERIFY written >&2\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd-dom-verifier\",\"description\":\"Verifies live-DOM acceptance criteria for a completed execution wave using a browser MCP server. Writes DOM-VERIFY.md. Additive — never blocks a wave. Spawned by the live-dom-uat capability at execute:wave:post.\",\"tools\":\"Read, Write, Glob, Grep, mcp__chrome-devtools__*, mcp__claude-in-chrome__*\",\"color\":\"cyan\"}",
"id": "agents__msd-dom-verifier",
"sourcePath": "agents/msd-dom-verifier.md",
"documentText": "---\nname: msd-dom-verifier\ndescription: Verifies live-DOM acceptance criteria for a completed execution wave using a browser MCP server. Writes DOM-VERIFY.md. Additive — never blocks a wave. Spawned by the live-dom-uat capability at execute:wave:post.\ntools: Read, Write, Glob, Grep, mcp__chrome-devtools__*, mcp__claude-in-chrome__*\ncolor: cyan\n# hooks:\n# PostToolUse:\n# - matcher: \"Write\"\n# hooks:\n# - type: command\n# command: \"echo DOM-VERIFY written >&2\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd-dom-verifier\",\"description\":\"Verifies live-DOM acceptance criteria for a completed execution wave using a browser MCP server. Writes DOM-VERIFY.md. Additive — never blocks a wave. Spawned by the live-dom-uat capability at execute:wave:post.\",\"tools\":\"Read, Write, Glob, Grep, mcp__chrome-devtools__*, mcp__claude-in-chrome__*\",\"color\":\"cyan\"}",
"diverges": false
},
{
"id": "agents__gsd-executor",
"sourcePath": "agents/gsd-executor.md",
"documentText": "---\nname: gsd-executor\ndescription: Executes GSD plans with atomic commits, deviation handling, checkpoint protocols, and state management. Spawned by execute-phase orchestrator or execute-plan command.\ntools: Read, Write, Edit, Bash, Grep, Glob, Skill, mcp__context7__*, mcp__plugin_context7_context7__*\ncolor: yellow\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd-executor\",\"description\":\"Executes GSD plans with atomic commits, deviation handling, checkpoint protocols, and state management. Spawned by execute-phase orchestrator or execute-plan command.\",\"tools\":\"Read, Write, Edit, Bash, Grep, Glob, Skill, mcp__context7__*, mcp__plugin_context7_context7__*\",\"color\":\"yellow\"}",
"id": "agents__msd-executor",
"sourcePath": "agents/msd-executor.md",
"documentText": "---\nname: msd-executor\ndescription: Executes MSD plans with atomic commits, deviation handling, checkpoint protocols, and state management. Spawned by execute-phase orchestrator or execute-plan command.\ntools: Read, Write, Edit, Bash, Grep, Glob, Skill, mcp__context7__*, mcp__plugin_context7_context7__*\ncolor: yellow\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd-executor\",\"description\":\"Executes MSD plans with atomic commits, deviation handling, checkpoint protocols, and state management. Spawned by execute-phase orchestrator or execute-plan command.\",\"tools\":\"Read, Write, Edit, Bash, Grep, Glob, Skill, mcp__context7__*, mcp__plugin_context7_context7__*\",\"color\":\"yellow\"}",
"diverges": false
},
{
"id": "agents__gsd-nyquist-auditor",
"sourcePath": "agents/gsd-nyquist-auditor.md",
"documentText": "---\nname: gsd-nyquist-auditor\ndescription: Fills Nyquist validation gaps by generating tests and verifying coverage for phase requirements\ntools:\n - Read\n - Write\n - Edit\n - Bash\n - Glob\n - Grep\n - Skill\ncolor: purple\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd-nyquist-auditor\",\"description\":\"Fills Nyquist validation gaps by generating tests and verifying coverage for phase requirements\",\"tools\":[\"Read\",\"Write\",\"Edit\",\"Bash\",\"Glob\",\"Grep\",\"Skill\"],\"color\":\"purple\"}",
"id": "agents__msd-nyquist-auditor",
"sourcePath": "agents/msd-nyquist-auditor.md",
"documentText": "---\nname: msd-nyquist-auditor\ndescription: Fills Nyquist validation gaps by generating tests and verifying coverage for phase requirements\ntools:\n - Read\n - Write\n - Edit\n - Bash\n - Glob\n - Grep\n - Skill\ncolor: purple\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd-nyquist-auditor\",\"description\":\"Fills Nyquist validation gaps by generating tests and verifying coverage for phase requirements\",\"tools\":[\"Read\",\"Write\",\"Edit\",\"Bash\",\"Glob\",\"Grep\",\"Skill\"],\"color\":\"purple\"}",
"diverges": false
},
{
"id": "agents__gsd-pattern-mapper",
"sourcePath": "agents/gsd-pattern-mapper.md",
"documentText": "---\nname: gsd-pattern-mapper\ndescription: Analyzes codebase for existing patterns and produces PATTERNS.md mapping new files to closest analogs. Read-only codebase analysis spawned by /gsd:plan-phase orchestrator before planning.\ntools: Read, Bash, Glob, Grep, Write\ncolor: purple\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd-pattern-mapper\",\"description\":\"Analyzes codebase for existing patterns and produces PATTERNS.md mapping new files to closest analogs. Read-only codebase analysis spawned by /gsd:plan-phase orchestrator before planning.\",\"tools\":\"Read, Bash, Glob, Grep, Write\",\"color\":\"purple\"}",
"id": "agents__msd-pattern-mapper",
"sourcePath": "agents/msd-pattern-mapper.md",
"documentText": "---\nname: msd-pattern-mapper\ndescription: Analyzes codebase for existing patterns and produces PATTERNS.md mapping new files to closest analogs. Read-only codebase analysis spawned by /msd:plan-phase orchestrator before planning.\ntools: Read, Bash, Glob, Grep, Write\ncolor: purple\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd-pattern-mapper\",\"description\":\"Analyzes codebase for existing patterns and produces PATTERNS.md mapping new files to closest analogs. Read-only codebase analysis spawned by /msd:plan-phase orchestrator before planning.\",\"tools\":\"Read, Bash, Glob, Grep, Write\",\"color\":\"purple\"}",
"diverges": false
},
{
"id": "agents__gsd-planner",
"sourcePath": "agents/gsd-planner.md",
"documentText": "---\nname: gsd-planner\ndescription: Creates executable phase plans with task breakdown, dependency analysis, and goal-backward verification. Spawned by /gsd:plan-phase orchestrator.\ntools: Read, Write, Edit, Bash, Glob, Grep, Skill, WebFetch, mcp__context7__*, mcp__plugin_context7_context7__*\ncolor: green\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd-planner\",\"description\":\"Creates executable phase plans with task breakdown, dependency analysis, and goal-backward verification. Spawned by /gsd:plan-phase orchestrator.\",\"tools\":\"Read, Write, Edit, Bash, Glob, Grep, Skill, WebFetch, mcp__context7__*, mcp__plugin_context7_context7__*\",\"color\":\"green\"}",
"id": "agents__msd-planner",
"sourcePath": "agents/msd-planner.md",
"documentText": "---\nname: msd-planner\ndescription: Creates executable phase plans with task breakdown, dependency analysis, and goal-backward verification. Spawned by /msd:plan-phase orchestrator.\ntools: Read, Write, Edit, Bash, Glob, Grep, Skill, WebFetch, mcp__context7__*, mcp__plugin_context7_context7__*\ncolor: green\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd-planner\",\"description\":\"Creates executable phase plans with task breakdown, dependency analysis, and goal-backward verification. Spawned by /msd:plan-phase orchestrator.\",\"tools\":\"Read, Write, Edit, Bash, Glob, Grep, Skill, WebFetch, mcp__context7__*, mcp__plugin_context7_context7__*\",\"color\":\"green\"}",
"diverges": false
},
{
"id": "agents__gsd-security-auditor",
"sourcePath": "agents/gsd-security-auditor.md",
"documentText": "---\nname: gsd-security-auditor\ndescription: Verifies threat mitigations from PLAN.md threat model exist in implemented code. Returns structured security verdict (SECURED / OPEN_THREATS / ESCALATE). Spawned by /gsd:secure-phase.\ntools:\n - Read\n - Bash\n - Glob\n - Grep\n - Skill\ncolor: red\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd-security-auditor\",\"description\":\"Verifies threat mitigations from PLAN.md threat model exist in implemented code. Returns structured security verdict (SECURED / OPEN_THREATS / ESCALATE). Spawned by /gsd:secure-phase.\",\"tools\":[\"Read\",\"Bash\",\"Glob\",\"Grep\",\"Skill\"],\"color\":\"red\"}",
"id": "agents__msd-security-auditor",
"sourcePath": "agents/msd-security-auditor.md",
"documentText": "---\nname: msd-security-auditor\ndescription: Verifies threat mitigations from PLAN.md threat model exist in implemented code. Returns structured security verdict (SECURED / OPEN_THREATS / ESCALATE). Spawned by /msd:secure-phase.\ntools:\n - Read\n - Bash\n - Glob\n - Grep\n - Skill\ncolor: red\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd-security-auditor\",\"description\":\"Verifies threat mitigations from PLAN.md threat model exist in implemented code. Returns structured security verdict (SECURED / OPEN_THREATS / ESCALATE). Spawned by /msd:secure-phase.\",\"tools\":[\"Read\",\"Bash\",\"Glob\",\"Grep\",\"Skill\"],\"color\":\"red\"}",
"diverges": false
},
{
"id": "agents__gsd-ui-auditor",
"sourcePath": "agents/gsd-ui-auditor.md",
"documentText": "---\nname: gsd-ui-auditor\ndescription: Retroactive 6-pillar visual audit of implemented frontend code. Produces scored UI-REVIEW.md. Spawned by /gsd:ui-review orchestrator.\ntools: Read, Write, Bash, Grep, Glob, Skill\ncolor: pink\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd-ui-auditor\",\"description\":\"Retroactive 6-pillar visual audit of implemented frontend code. Produces scored UI-REVIEW.md. Spawned by /gsd:ui-review orchestrator.\",\"tools\":\"Read, Write, Bash, Grep, Glob, Skill\",\"color\":\"pink\"}",
"id": "agents__msd-ui-auditor",
"sourcePath": "agents/msd-ui-auditor.md",
"documentText": "---\nname: msd-ui-auditor\ndescription: Retroactive 6-pillar visual audit of implemented frontend code. Produces scored UI-REVIEW.md. Spawned by /msd:ui-review orchestrator.\ntools: Read, Write, Bash, Grep, Glob, Skill\ncolor: pink\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd-ui-auditor\",\"description\":\"Retroactive 6-pillar visual audit of implemented frontend code. Produces scored UI-REVIEW.md. Spawned by /msd:ui-review orchestrator.\",\"tools\":\"Read, Write, Bash, Grep, Glob, Skill\",\"color\":\"pink\"}",
"diverges": false
},
{
"id": "agents__gsd-verifier",
"sourcePath": "agents/gsd-verifier.md",
"documentText": "---\nname: gsd-verifier\ndescription: Verifies phase goal achievement through goal-backward analysis. Checks codebase delivers what phase promised, not just that tasks completed. Creates VERIFICATION.md report.\ntools: Read, Write, Bash, Grep, Glob, Skill\ncolor: green\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd-verifier\",\"description\":\"Verifies phase goal achievement through goal-backward analysis. Checks codebase delivers what phase promised, not just that tasks completed. Creates VERIFICATION.md report.\",\"tools\":\"Read, Write, Bash, Grep, Glob, Skill\",\"color\":\"green\"}",
"id": "agents__msd-verifier",
"sourcePath": "agents/msd-verifier.md",
"documentText": "---\nname: msd-verifier\ndescription: Verifies phase goal achievement through goal-backward analysis. Checks codebase delivers what phase promised, not just that tasks completed. Creates VERIFICATION.md report.\ntools: Read, Write, Bash, Grep, Glob, Skill\ncolor: green\n# hooks:\n# PostToolUse:\n# - matcher: \"Write|Edit\"\n# hooks:\n# - type: command\n# command: \"npx eslint --fix $FILE 2>/dev/null || true\"\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd-verifier\",\"description\":\"Verifies phase goal achievement through goal-backward analysis. Checks codebase delivers what phase promised, not just that tasks completed. Creates VERIFICATION.md report.\",\"tools\":\"Read, Write, Bash, Grep, Glob, Skill\",\"color\":\"green\"}",
"diverges": false
},
{
"id": "commands__gsd__add-tests",
"sourcePath": "commands/gsd/add-tests.md",
"documentText": "---\nname: gsd:add-tests\ndescription: Generate tests for a completed phase based on UAT criteria and implementation\nargument-hint: \"<phase> [additional instructions]\"\nallowed-tools:\n - Read\n - Write\n - Edit\n - Bash\n - Glob\n - Grep\n - Agent\n - AskUserQuestion\nargument-instructions: |\n Parse the argument as a phase number (integer, decimal, or letter-suffix), plus optional free-text instructions.\n Example: /gsd:add-tests 12\n Example: /gsd:add-tests 12 focus on edge cases in the pricing module\nrequires: [phase]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:add-tests\",\"description\":\"Generate tests for a completed phase based on UAT criteria and implementation\",\"argument-hint\":\"<phase> [additional instructions]\",\"allowed-tools\":[\"Read\",\"Write\",\"Edit\",\"Bash\",\"Glob\",\"Grep\",\"Agent\",\"AskUserQuestion\"],\"argument-instructions\":\"|\",\"Example\":\"/gsd:add-tests 12 focus on edge cases in the pricing module\",\"requires\":[\"phase\"]}",
"id": "commands__msd__add-tests",
"sourcePath": "commands/msd/add-tests.md",
"documentText": "---\nname: msd:add-tests\ndescription: Generate tests for a completed phase based on UAT criteria and implementation\nargument-hint: \"<phase> [additional instructions]\"\nallowed-tools:\n - Read\n - Write\n - Edit\n - Bash\n - Glob\n - Grep\n - Agent\n - AskUserQuestion\nargument-instructions: |\n Parse the argument as a phase number (integer, decimal, or letter-suffix), plus optional free-text instructions.\n Example: /msd:add-tests 12\n Example: /msd:add-tests 12 focus on edge cases in the pricing module\nrequires: [phase]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:add-tests\",\"description\":\"Generate tests for a completed phase based on UAT criteria and implementation\",\"argument-hint\":\"<phase> [additional instructions]\",\"allowed-tools\":[\"Read\",\"Write\",\"Edit\",\"Bash\",\"Glob\",\"Grep\",\"Agent\",\"AskUserQuestion\"],\"argument-instructions\":\"|\",\"Example\":\"/msd:add-tests 12 focus on edge cases in the pricing module\",\"requires\":[\"phase\"]}",
"diverges": true,
"justification": "Legacy returned the block scalar indicator \"|\" as the literal value of argument-instructions and invented a phantom top-level key Example from the block's content lines. js-yaml parses the block scalar correctly and emits no such key. Defect fix (B1/B2)."
},
{
"id": "commands__gsd__ai-integration-phase",
"sourcePath": "commands/gsd/ai-integration-phase.md",
"documentText": "---\nname: gsd:ai-integration-phase\ndescription: Generate an AI-SPEC.md design contract for phases that involve building AI systems.\nargument-hint: \"[phase number]\"\nallowed-tools:\n - Read\n - Write\n - Bash\n - Glob\n - Grep\n - Agent\n - WebFetch\n - WebSearch\n - AskUserQuestion\n - mcp__context7__*\nrequires: [phase]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:ai-integration-phase\",\"description\":\"Generate an AI-SPEC.md design contract for phases that involve building AI systems.\",\"argument-hint\":\"[phase number]\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"Glob\",\"Grep\",\"Agent\",\"WebFetch\",\"WebSearch\",\"AskUserQuestion\",\"mcp__context7__*\"],\"requires\":[\"phase\"]}",
"id": "commands__msd__ai-integration-phase",
"sourcePath": "commands/msd/ai-integration-phase.md",
"documentText": "---\nname: msd:ai-integration-phase\ndescription: Generate an AI-SPEC.md design contract for phases that involve building AI systems.\nargument-hint: \"[phase number]\"\nallowed-tools:\n - Read\n - Write\n - Bash\n - Glob\n - Grep\n - Agent\n - WebFetch\n - WebSearch\n - AskUserQuestion\n - mcp__context7__*\nrequires: [phase]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:ai-integration-phase\",\"description\":\"Generate an AI-SPEC.md design contract for phases that involve building AI systems.\",\"argument-hint\":\"[phase number]\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"Glob\",\"Grep\",\"Agent\",\"WebFetch\",\"WebSearch\",\"AskUserQuestion\",\"mcp__context7__*\"],\"requires\":[\"phase\"]}",
"diverges": false
},
{
"id": "commands__gsd__audit-fix",
"sourcePath": "commands/gsd/audit-fix.md",
"documentText": "---\ntype: prompt\nname: gsd:audit-fix\ndescription: Autonomous audit-to-fix pipeline — find issues, classify, fix, test, commit\nargument-hint: \"--source <audit-uat> [--severity <medium|high|all>] [--max N] [--dry-run]\"\nallowed-tools:\n - Read\n - Write\n - Edit\n - Bash\n - Grep\n - Glob\n - Agent\n - AskUserQuestion\nrequires: [audit-uat]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"type\":\"prompt\",\"name\":\"gsd:audit-fix\",\"description\":\"Autonomous audit-to-fix pipeline — find issues, classify, fix, test, commit\",\"argument-hint\":\"--source <audit-uat> [--severity <medium|high|all>] [--max N] [--dry-run]\",\"allowed-tools\":[\"Read\",\"Write\",\"Edit\",\"Bash\",\"Grep\",\"Glob\",\"Agent\",\"AskUserQuestion\"],\"requires\":[\"audit-uat\"]}",
"id": "commands__msd__audit-fix",
"sourcePath": "commands/msd/audit-fix.md",
"documentText": "---\ntype: prompt\nname: msd:audit-fix\ndescription: Autonomous audit-to-fix pipeline — find issues, classify, fix, test, commit\nargument-hint: \"--source <audit-uat> [--severity <medium|high|all>] [--max N] [--dry-run]\"\nallowed-tools:\n - Read\n - Write\n - Edit\n - Bash\n - Grep\n - Glob\n - Agent\n - AskUserQuestion\nrequires: [audit-uat]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"type\":\"prompt\",\"name\":\"msd:audit-fix\",\"description\":\"Autonomous audit-to-fix pipeline — find issues, classify, fix, test, commit\",\"argument-hint\":\"--source <audit-uat> [--severity <medium|high|all>] [--max N] [--dry-run]\",\"allowed-tools\":[\"Read\",\"Write\",\"Edit\",\"Bash\",\"Grep\",\"Glob\",\"Agent\",\"AskUserQuestion\"],\"requires\":[\"audit-uat\"]}",
"diverges": false
},
{
"id": "commands__gsd__audit-milestone",
"sourcePath": "commands/gsd/audit-milestone.md",
"documentText": "---\nname: gsd:audit-milestone\ndescription: Audit milestone completion against original intent before archiving\nargument-hint: \"[version]\"\nallowed-tools:\n - Read\n - Glob\n - Grep\n - Bash\n - Agent\n - Write\nrequires: [execute-phase]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:audit-milestone\",\"description\":\"Audit milestone completion against original intent before archiving\",\"argument-hint\":\"[version]\",\"allowed-tools\":[\"Read\",\"Glob\",\"Grep\",\"Bash\",\"Agent\",\"Write\"],\"requires\":[\"execute-phase\"]}",
"id": "commands__msd__audit-milestone",
"sourcePath": "commands/msd/audit-milestone.md",
"documentText": "---\nname: msd:audit-milestone\ndescription: Audit milestone completion against original intent before archiving\nargument-hint: \"[version]\"\nallowed-tools:\n - Read\n - Glob\n - Grep\n - Bash\n - Agent\n - Write\nrequires: [execute-phase]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:audit-milestone\",\"description\":\"Audit milestone completion against original intent before archiving\",\"argument-hint\":\"[version]\",\"allowed-tools\":[\"Read\",\"Glob\",\"Grep\",\"Bash\",\"Agent\",\"Write\"],\"requires\":[\"execute-phase\"]}",
"diverges": false
},
{
"id": "commands__gsd__audit-uat",
"sourcePath": "commands/gsd/audit-uat.md",
"documentText": "---\nname: gsd:audit-uat\ndescription: Cross-phase audit of all outstanding UAT and verification items\nallowed-tools:\n - Read\n - Glob\n - Grep\n - Bash\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:audit-uat\",\"description\":\"Cross-phase audit of all outstanding UAT and verification items\",\"allowed-tools\":[\"Read\",\"Glob\",\"Grep\",\"Bash\"]}",
"id": "commands__msd__audit-uat",
"sourcePath": "commands/msd/audit-uat.md",
"documentText": "---\nname: msd:audit-uat\ndescription: Cross-phase audit of all outstanding UAT and verification items\nallowed-tools:\n - Read\n - Glob\n - Grep\n - Bash\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:audit-uat\",\"description\":\"Cross-phase audit of all outstanding UAT and verification items\",\"allowed-tools\":[\"Read\",\"Glob\",\"Grep\",\"Bash\"]}",
"diverges": false
},
{
"id": "commands__gsd__autonomous",
"sourcePath": "commands/gsd/autonomous.md",
"documentText": "---\nname: gsd:autonomous\ndescription: Run all remaining phases autonomously — discuss→plan→execute per phase\nargument-hint: \"[--from N] [--to N] [--only N] [--interactive] [--converge]\"\neffort: max\nallowed-tools:\n - Read\n - Write\n - Bash\n - Glob\n - Grep\n - AskUserQuestion\n - Agent\nrequires: [cleanup, phase, progress]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:autonomous\",\"description\":\"Run all remaining phases autonomously — discuss→plan→execute per phase\",\"argument-hint\":\"[--from N] [--to N] [--only N] [--interactive] [--converge]\",\"effort\":\"max\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"Glob\",\"Grep\",\"AskUserQuestion\",\"Agent\"],\"requires\":[\"cleanup\",\"phase\",\"progress\"]}",
"id": "commands__msd__autonomous",
"sourcePath": "commands/msd/autonomous.md",
"documentText": "---\nname: msd:autonomous\ndescription: Run all remaining phases autonomously — discuss→plan→execute per phase\nargument-hint: \"[--from N] [--to N] [--only N] [--interactive] [--converge]\"\neffort: max\nallowed-tools:\n - Read\n - Write\n - Bash\n - Glob\n - Grep\n - AskUserQuestion\n - Agent\nrequires: [cleanup, phase, progress]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:autonomous\",\"description\":\"Run all remaining phases autonomously — discuss→plan→execute per phase\",\"argument-hint\":\"[--from N] [--to N] [--only N] [--interactive] [--converge]\",\"effort\":\"max\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"Glob\",\"Grep\",\"AskUserQuestion\",\"Agent\"],\"requires\":[\"cleanup\",\"phase\",\"progress\"]}",
"diverges": false
},
{
"id": "commands__gsd__capture",
"sourcePath": "commands/gsd/capture.md",
"documentText": "---\nname: gsd:capture\ndescription: Capture ideas, tasks, notes, and seeds to their destination\nargument-hint: \"[--note | --backlog | --seed | --list | --list-seeds] [text]\"\nallowed-tools:\n - Read\n - Write\n - Edit\n - Bash\n - Glob\n - Grep\n - AskUserQuestion\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:capture\",\"description\":\"Capture ideas, tasks, notes, and seeds to their destination\",\"argument-hint\":\"[--note | --backlog | --seed | --list | --list-seeds] [text]\",\"allowed-tools\":[\"Read\",\"Write\",\"Edit\",\"Bash\",\"Glob\",\"Grep\",\"AskUserQuestion\"]}",
"id": "commands__msd__capture",
"sourcePath": "commands/msd/capture.md",
"documentText": "---\nname: msd:capture\ndescription: Capture ideas, tasks, notes, and seeds to their destination\nargument-hint: \"[--note | --backlog | --seed | --list | --list-seeds] [text]\"\nallowed-tools:\n - Read\n - Write\n - Edit\n - Bash\n - Glob\n - Grep\n - AskUserQuestion\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:capture\",\"description\":\"Capture ideas, tasks, notes, and seeds to their destination\",\"argument-hint\":\"[--note | --backlog | --seed | --list | --list-seeds] [text]\",\"allowed-tools\":[\"Read\",\"Write\",\"Edit\",\"Bash\",\"Glob\",\"Grep\",\"AskUserQuestion\"]}",
"diverges": false
},
{
"id": "commands__gsd__cleanup",
"sourcePath": "commands/gsd/cleanup.md",
"documentText": "---\nname: gsd:cleanup\ndescription: Archive accumulated phase directories from completed milestones\nallowed-tools:\n - Read\n - Write\n - Bash\n - AskUserQuestion\nrequires: [phase]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:cleanup\",\"description\":\"Archive accumulated phase directories from completed milestones\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"AskUserQuestion\"],\"requires\":[\"phase\"]}",
"id": "commands__msd__cleanup",
"sourcePath": "commands/msd/cleanup.md",
"documentText": "---\nname: msd:cleanup\ndescription: Archive accumulated phase directories from completed milestones\nallowed-tools:\n - Read\n - Write\n - Bash\n - AskUserQuestion\nrequires: [phase]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:cleanup\",\"description\":\"Archive accumulated phase directories from completed milestones\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"AskUserQuestion\"],\"requires\":[\"phase\"]}",
"diverges": false
},
{
"id": "commands__gsd__code-review",
"sourcePath": "commands/gsd/code-review.md",
"documentText": "---\nname: gsd:code-review\ndescription: Review source files changed during a phase for bugs, security issues, and code quality problems\nargument-hint: \"<phase-number> [--depth=quick|standard|deep] [--files file1,file2,...] [--fix [--all] [--auto]]\"\nallowed-tools:\n - Read\n - Bash\n - Glob\n - Grep\n - Write\n - Agent\nrequires: [config, import, phase, quick, review]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:code-review\",\"description\":\"Review source files changed during a phase for bugs, security issues, and code quality problems\",\"argument-hint\":\"<phase-number> [--depth=quick|standard|deep] [--files file1,file2,...] [--fix [--all] [--auto]]\",\"allowed-tools\":[\"Read\",\"Bash\",\"Glob\",\"Grep\",\"Write\",\"Agent\"],\"requires\":[\"config\",\"import\",\"phase\",\"quick\",\"review\"]}",
"id": "commands__msd__code-review",
"sourcePath": "commands/msd/code-review.md",
"documentText": "---\nname: msd:code-review\ndescription: Review source files changed during a phase for bugs, security issues, and code quality problems\nargument-hint: \"<phase-number> [--depth=quick|standard|deep] [--files file1,file2,...] [--fix [--all] [--auto]]\"\nallowed-tools:\n - Read\n - Bash\n - Glob\n - Grep\n - Write\n - Agent\nrequires: [config, import, phase, quick, review]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:code-review\",\"description\":\"Review source files changed during a phase for bugs, security issues, and code quality problems\",\"argument-hint\":\"<phase-number> [--depth=quick|standard|deep] [--files file1,file2,...] [--fix [--all] [--auto]]\",\"allowed-tools\":[\"Read\",\"Bash\",\"Glob\",\"Grep\",\"Write\",\"Agent\"],\"requires\":[\"config\",\"import\",\"phase\",\"quick\",\"review\"]}",
"diverges": false
},
{
"id": "commands__gsd__complete-milestone",
"sourcePath": "commands/gsd/complete-milestone.md",
"documentText": "---\ntype: prompt\nname: gsd:complete-milestone\ndescription: Archive completed milestone and prepare for next version\nargument-hint: <version>\nallowed-tools:\n - Read\n - Write\n - Bash\nrequires: [audit-milestone, discuss-phase, execute-phase, new-milestone, phase, plan-phase, stats, update]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"type\":\"prompt\",\"name\":\"gsd:complete-milestone\",\"description\":\"Archive completed milestone and prepare for next version\",\"argument-hint\":\"<version>\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\"],\"requires\":[\"audit-milestone\",\"discuss-phase\",\"execute-phase\",\"new-milestone\",\"phase\",\"plan-phase\",\"stats\",\"update\"]}",
"id": "commands__msd__complete-milestone",
"sourcePath": "commands/msd/complete-milestone.md",
"documentText": "---\ntype: prompt\nname: msd:complete-milestone\ndescription: Archive completed milestone and prepare for next version\nargument-hint: <version>\nallowed-tools:\n - Read\n - Write\n - Bash\nrequires: [audit-milestone, discuss-phase, execute-phase, new-milestone, phase, plan-phase, stats, update]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"type\":\"prompt\",\"name\":\"msd:complete-milestone\",\"description\":\"Archive completed milestone and prepare for next version\",\"argument-hint\":\"<version>\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\"],\"requires\":[\"audit-milestone\",\"discuss-phase\",\"execute-phase\",\"new-milestone\",\"phase\",\"plan-phase\",\"stats\",\"update\"]}",
"diverges": false
},
{
"id": "commands__gsd__config",
"sourcePath": "commands/gsd/config.md",
"documentText": "---\nname: gsd:config\ndescription: Configure GSD settings — workflow toggles, advanced knobs, integrations, and model profile\nargument-hint: \"[--advanced | --integrations | --profile <name>]\"\nallowed-tools:\n - Read\n - Write\n - Bash\n - AskUserQuestion\nrequires: [code-review, review, settings]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:config\",\"description\":\"Configure GSD settings — workflow toggles, advanced knobs, integrations, and model profile\",\"argument-hint\":\"[--advanced | --integrations | --profile <name>]\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"AskUserQuestion\"],\"requires\":[\"code-review\",\"review\",\"settings\"]}",
"id": "commands__msd__config",
"sourcePath": "commands/msd/config.md",
"documentText": "---\nname: msd:config\ndescription: Configure MSD settings — workflow toggles, advanced knobs, integrations, and model profile\nargument-hint: \"[--advanced | --integrations | --profile <name>]\"\nallowed-tools:\n - Read\n - Write\n - Bash\n - AskUserQuestion\nrequires: [code-review, review, settings]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:config\",\"description\":\"Configure MSD settings — workflow toggles, advanced knobs, integrations, and model profile\",\"argument-hint\":\"[--advanced | --integrations | --profile <name>]\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"AskUserQuestion\"],\"requires\":[\"code-review\",\"review\",\"settings\"]}",
"diverges": false
},
{
"id": "commands__gsd__debug",
"sourcePath": "commands/gsd/debug.md",
"documentText": "---\nname: gsd:debug\ndescription: Systematic debugging with persistent state across context resets\nargument-hint: \"[list | status <slug> | continue <slug> | --diagnose] [issue description]\"\nallowed-tools:\n - Read\n - Write\n - Bash\n - Agent\n - AskUserQuestion\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:debug\",\"description\":\"Systematic debugging with persistent state across context resets\",\"argument-hint\":\"[list | status <slug> | continue <slug> | --diagnose] [issue description]\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"Agent\",\"AskUserQuestion\"]}",
"id": "commands__msd__debug",
"sourcePath": "commands/msd/debug.md",
"documentText": "---\nname: msd:debug\ndescription: Systematic debugging with persistent state across context resets\nargument-hint: \"[list | status <slug> | continue <slug> | --diagnose] [issue description]\"\nallowed-tools:\n - Read\n - Write\n - Bash\n - Agent\n - AskUserQuestion\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:debug\",\"description\":\"Systematic debugging with persistent state across context resets\",\"argument-hint\":\"[list | status <slug> | continue <slug> | --diagnose] [issue description]\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"Agent\",\"AskUserQuestion\"]}",
"diverges": false
},
{
"id": "commands__gsd__discuss-phase",
"sourcePath": "commands/gsd/discuss-phase.md",
"documentText": "---\nname: gsd:discuss-phase\ndescription: Gather phase context through adaptive questioning before planning.\nargument-hint: \"<phase> [--all] [--auto] [--chain] [--batch] [--analyze] [--text] [--power] [--assumptions]\"\nallowed-tools:\n - Read\n - Write\n - Bash\n - Glob\n - Grep\n - AskUserQuestion\n - Agent\n - mcp__context7__resolve-library-id\n - mcp__context7__query-docs\nrequires: [config, phase]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:discuss-phase\",\"description\":\"Gather phase context through adaptive questioning before planning.\",\"argument-hint\":\"<phase> [--all] [--auto] [--chain] [--batch] [--analyze] [--text] [--power] [--assumptions]\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"Glob\",\"Grep\",\"AskUserQuestion\",\"Agent\",\"mcp__context7__resolve-library-id\",\"mcp__context7__query-docs\"],\"requires\":[\"config\",\"phase\"]}",
"id": "commands__msd__discuss-phase",
"sourcePath": "commands/msd/discuss-phase.md",
"documentText": "---\nname: msd:discuss-phase\ndescription: Gather phase context through adaptive questioning before planning.\nargument-hint: \"<phase> [--all] [--auto] [--chain] [--batch] [--analyze] [--text] [--power] [--assumptions]\"\nallowed-tools:\n - Read\n - Write\n - Bash\n - Glob\n - Grep\n - AskUserQuestion\n - Agent\n - mcp__context7__resolve-library-id\n - mcp__context7__query-docs\nrequires: [config, phase]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:discuss-phase\",\"description\":\"Gather phase context through adaptive questioning before planning.\",\"argument-hint\":\"<phase> [--all] [--auto] [--chain] [--batch] [--analyze] [--text] [--power] [--assumptions]\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"Glob\",\"Grep\",\"AskUserQuestion\",\"Agent\",\"mcp__context7__resolve-library-id\",\"mcp__context7__query-docs\"],\"requires\":[\"config\",\"phase\"]}",
"diverges": false
},
{
"id": "commands__gsd__docs-update",
"sourcePath": "commands/gsd/docs-update.md",
"documentText": "---\nname: gsd:docs-update\ndescription: Generate or update project documentation verified against the codebase\nargument-hint: \"[--force] [--verify-only]\"\nallowed-tools:\n - Read\n - Write\n - Edit\n - Bash\n - Glob\n - Grep\n - Agent\n - AskUserQuestion\nrequires: [update]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:docs-update\",\"description\":\"Generate or update project documentation verified against the codebase\",\"argument-hint\":\"[--force] [--verify-only]\",\"allowed-tools\":[\"Read\",\"Write\",\"Edit\",\"Bash\",\"Glob\",\"Grep\",\"Agent\",\"AskUserQuestion\"],\"requires\":[\"update\"]}",
"id": "commands__msd__docs-update",
"sourcePath": "commands/msd/docs-update.md",
"documentText": "---\nname: msd:docs-update\ndescription: Generate or update project documentation verified against the codebase\nargument-hint: \"[--force] [--verify-only]\"\nallowed-tools:\n - Read\n - Write\n - Edit\n - Bash\n - Glob\n - Grep\n - Agent\n - AskUserQuestion\nrequires: [update]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:docs-update\",\"description\":\"Generate or update project documentation verified against the codebase\",\"argument-hint\":\"[--force] [--verify-only]\",\"allowed-tools\":[\"Read\",\"Write\",\"Edit\",\"Bash\",\"Glob\",\"Grep\",\"Agent\",\"AskUserQuestion\"],\"requires\":[\"update\"]}",
"diverges": false
},
{
"id": "commands__gsd__eval-review",
"sourcePath": "commands/gsd/eval-review.md",
"documentText": "---\nname: gsd:eval-review\ndescription: Audit an executed AI phase's evaluation coverage and produce an EVAL-REVIEW.md remediation plan.\nargument-hint: \"[phase number]\"\nallowed-tools:\n - Read\n - Write\n - Bash\n - Glob\n - Grep\n - Agent\n - AskUserQuestion\nrequires: [phase]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:eval-review\",\"description\":\"Audit an executed AI phase's evaluation coverage and produce an EVAL-REVIEW.md remediation plan.\",\"argument-hint\":\"[phase number]\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"Glob\",\"Grep\",\"Agent\",\"AskUserQuestion\"],\"requires\":[\"phase\"]}",
"id": "commands__msd__eval-review",
"sourcePath": "commands/msd/eval-review.md",
"documentText": "---\nname: msd:eval-review\ndescription: Audit an executed AI phase's evaluation coverage and produce an EVAL-REVIEW.md remediation plan.\nargument-hint: \"[phase number]\"\nallowed-tools:\n - Read\n - Write\n - Bash\n - Glob\n - Grep\n - Agent\n - AskUserQuestion\nrequires: [phase]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:eval-review\",\"description\":\"Audit an executed AI phase's evaluation coverage and produce an EVAL-REVIEW.md remediation plan.\",\"argument-hint\":\"[phase number]\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"Glob\",\"Grep\",\"Agent\",\"AskUserQuestion\"],\"requires\":[\"phase\"]}",
"diverges": false
},
{
"id": "commands__gsd__execute-phase",
"sourcePath": "commands/gsd/execute-phase.md",
"documentText": "---\nname: gsd:execute-phase\ndescription: Execute all plans in a phase with wave-based parallelization\nargument-hint: \"<phase-number> [--wave N] [--gaps-only] [--interactive] [--tdd]\"\neffort: max\nallowed-tools:\n - Read\n - Write\n - Edit\n - Glob\n - Grep\n - Bash\n - Agent\n - TodoWrite\n - AskUserQuestion\nrequires: [phase, verify-work]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:execute-phase\",\"description\":\"Execute all plans in a phase with wave-based parallelization\",\"argument-hint\":\"<phase-number> [--wave N] [--gaps-only] [--interactive] [--tdd]\",\"effort\":\"max\",\"allowed-tools\":[\"Read\",\"Write\",\"Edit\",\"Glob\",\"Grep\",\"Bash\",\"Agent\",\"TodoWrite\",\"AskUserQuestion\"],\"requires\":[\"phase\",\"verify-work\"]}",
"id": "commands__msd__execute-phase",
"sourcePath": "commands/msd/execute-phase.md",
"documentText": "---\nname: msd:execute-phase\ndescription: Execute all plans in a phase with wave-based parallelization\nargument-hint: \"<phase-number> [--wave N] [--gaps-only] [--interactive] [--tdd]\"\neffort: max\nallowed-tools:\n - Read\n - Write\n - Edit\n - Glob\n - Grep\n - Bash\n - Agent\n - TodoWrite\n - AskUserQuestion\nrequires: [phase, verify-work]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:execute-phase\",\"description\":\"Execute all plans in a phase with wave-based parallelization\",\"argument-hint\":\"<phase-number> [--wave N] [--gaps-only] [--interactive] [--tdd]\",\"effort\":\"max\",\"allowed-tools\":[\"Read\",\"Write\",\"Edit\",\"Glob\",\"Grep\",\"Bash\",\"Agent\",\"TodoWrite\",\"AskUserQuestion\"],\"requires\":[\"phase\",\"verify-work\"]}",
"diverges": false
},
{
"id": "commands__gsd__explore",
"sourcePath": "commands/gsd/explore.md",
"documentText": "---\nname: gsd:explore\ndescription: Socratic ideation and idea routing — think through ideas before committing to plans\nallowed-tools:\n - Read\n - Write\n - Bash\n - Grep\n - Glob\n - Agent\n - AskUserQuestion\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:explore\",\"description\":\"Socratic ideation and idea routing — think through ideas before committing to plans\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"Grep\",\"Glob\",\"Agent\",\"AskUserQuestion\"]}",
"id": "commands__msd__explore",
"sourcePath": "commands/msd/explore.md",
"documentText": "---\nname: msd:explore\ndescription: Socratic ideation and idea routing — think through ideas before committing to plans\nallowed-tools:\n - Read\n - Write\n - Bash\n - Grep\n - Glob\n - Agent\n - AskUserQuestion\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:explore\",\"description\":\"Socratic ideation and idea routing — think through ideas before committing to plans\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"Grep\",\"Glob\",\"Agent\",\"AskUserQuestion\"]}",
"diverges": false
},
{
"id": "commands__gsd__extract-learnings",
"sourcePath": "commands/gsd/extract-learnings.md",
"documentText": "---\nname: gsd:extract-learnings\ndescription: Extract decisions, lessons, patterns, and surprises from completed phase artifacts\nargument-hint: <phase-number>\nallowed-tools:\n - Read\n - Write\n - Bash\n - Grep\n - Glob\n - Agent\ntype: prompt\nrequires: [phase]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:extract-learnings\",\"description\":\"Extract decisions, lessons, patterns, and surprises from completed phase artifacts\",\"argument-hint\":\"<phase-number>\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"Grep\",\"Glob\",\"Agent\"],\"type\":\"prompt\",\"requires\":[\"phase\"]}",
"id": "commands__msd__extract-learnings",
"sourcePath": "commands/msd/extract-learnings.md",
"documentText": "---\nname: msd:extract-learnings\ndescription: Extract decisions, lessons, patterns, and surprises from completed phase artifacts\nargument-hint: <phase-number>\nallowed-tools:\n - Read\n - Write\n - Bash\n - Grep\n - Glob\n - Agent\ntype: prompt\nrequires: [phase]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:extract-learnings\",\"description\":\"Extract decisions, lessons, patterns, and surprises from completed phase artifacts\",\"argument-hint\":\"<phase-number>\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\",\"Grep\",\"Glob\",\"Agent\"],\"type\":\"prompt\",\"requires\":[\"phase\"]}",
"diverges": false
},
{
"id": "commands__gsd__graphify",
"sourcePath": "commands/gsd/graphify.md",
"documentText": "---\nname: gsd:graphify\ndescription: \"Build, query, and inspect the project knowledge graph in .planning/graphs/\"\nargument-hint: \"[build|query <term>|status|diff]\"\nallowed-tools:\n - Read\n - Bash\nrequires: [config, fast, phase, update]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:graphify\",\"description\":\"Build, query, and inspect the project knowledge graph in .planning/graphs/\",\"argument-hint\":\"[build|query <term>|status|diff]\",\"allowed-tools\":[\"Read\",\"Bash\"],\"requires\":[\"config\",\"fast\",\"phase\",\"update\"]}",
"id": "commands__msd__graphify",
"sourcePath": "commands/msd/graphify.md",
"documentText": "---\nname: msd:graphify\ndescription: \"Build, query, and inspect the project knowledge graph in .planning/graphs/\"\nargument-hint: \"[build|query <term>|status|diff]\"\nallowed-tools:\n - Read\n - Bash\nrequires: [config, fast, phase, update]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:graphify\",\"description\":\"Build, query, and inspect the project knowledge graph in .planning/graphs/\",\"argument-hint\":\"[build|query <term>|status|diff]\",\"allowed-tools\":[\"Read\",\"Bash\"],\"requires\":[\"config\",\"fast\",\"phase\",\"update\"]}",
"diverges": false
},
{
"id": "commands__gsd__quick",
"sourcePath": "commands/gsd/quick.md",
"documentText": "---\nname: gsd:quick\ndescription: Execute a quick task with GSD guarantees (atomic commits, state tracking) but skip optional agents\nargument-hint: \"[list | status <slug> | resume <slug> | --full] [--validate] [--discuss] [--research] [task description]\"\nallowed-tools:\n - Read\n - Write\n - Edit\n - Glob\n - Grep\n - Bash\n - Agent\n - AskUserQuestion\nrequires: [phase]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:quick\",\"description\":\"Execute a quick task with GSD guarantees (atomic commits, state tracking) but skip optional agents\",\"argument-hint\":\"[list | status <slug> | resume <slug> | --full] [--validate] [--discuss] [--research] [task description]\",\"allowed-tools\":[\"Read\",\"Write\",\"Edit\",\"Glob\",\"Grep\",\"Bash\",\"Agent\",\"AskUserQuestion\"],\"requires\":[\"phase\"]}",
"id": "commands__msd__quick",
"sourcePath": "commands/msd/quick.md",
"documentText": "---\nname: msd:quick\ndescription: Execute a quick task with MSD guarantees (atomic commits, state tracking) but skip optional agents\nargument-hint: \"[list | status <slug> | resume <slug> | --full] [--validate] [--discuss] [--research] [task description]\"\nallowed-tools:\n - Read\n - Write\n - Edit\n - Glob\n - Grep\n - Bash\n - Agent\n - AskUserQuestion\nrequires: [phase]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:quick\",\"description\":\"Execute a quick task with MSD guarantees (atomic commits, state tracking) but skip optional agents\",\"argument-hint\":\"[list | status <slug> | resume <slug> | --full] [--validate] [--discuss] [--research] [task description]\",\"allowed-tools\":[\"Read\",\"Write\",\"Edit\",\"Glob\",\"Grep\",\"Bash\",\"Agent\",\"AskUserQuestion\"],\"requires\":[\"phase\"]}",
"diverges": false
},
{
"id": "commands__gsd__surface",
"sourcePath": "commands/gsd/surface.md",
"documentText": "---\nname: gsd:surface\ndescription: Toggle which skills are surfaced — apply a profile, list, or disable a cluster without reinstall\nargument-hint: \"[list|status|profile <name>|disable <cluster>|enable <cluster>|reset]\"\nallowed-tools:\n - Read\n - Write\n - Bash\nrequires: [config, update]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"gsd:surface\",\"description\":\"Toggle which skills are surfaced — apply a profile, list, or disable a cluster without reinstall\",\"argument-hint\":\"[list|status|profile <name>|disable <cluster>|enable <cluster>|reset]\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\"],\"requires\":[\"config\",\"update\"]}",
"id": "commands__msd__surface",
"sourcePath": "commands/msd/surface.md",
"documentText": "---\nname: msd:surface\ndescription: Toggle which skills are surfaced — apply a profile, list, or disable a cluster without reinstall\nargument-hint: \"[list|status|profile <name>|disable <cluster>|enable <cluster>|reset]\"\nallowed-tools:\n - Read\n - Write\n - Bash\nrequires: [config, update]\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"name\":\"msd:surface\",\"description\":\"Toggle which skills are surfaced — apply a profile, list, or disable a cluster without reinstall\",\"argument-hint\":\"[list|status|profile <name>|disable <cluster>|enable <cluster>|reset]\",\"allowed-tools\":[\"Read\",\"Write\",\"Bash\"],\"requires\":[\"config\",\"update\"]}",
"diverges": false
},
{
@@ -276,23 +276,23 @@
"diverges": false
},
{
"id": "gsd-core__templates__summary-complex",
"sourcePath": "gsd-core/templates/summary-complex.md",
"id": "msd-core__templates__summary-complex",
"sourcePath": "msd-core/templates/summary-complex.md",
"documentText": "---\nphase: XX-name\nplan: YY\nsubsystem: [primary category]\ntags: [searchable tech]\nrequires:\n - phase: [prior phase]\n provides: [what that phase built]\nprovides:\n - [bullet list of what was built/delivered]\naffects: [list of phase names or keywords]\ntech-stack:\n added: [libraries/tools]\n patterns: [architectural/code patterns]\nkey-files:\n created: [important files created]\n modified: [important files modified]\nkey-decisions:\n - \"Decision 1\"\npatterns-established:\n - \"Pattern 1: description\"\n# coverage: (#1602) optional per-deliverable UAT-routing block — see templates/summary.md <coverage_guidance>.\n# Add live `coverage:` entries (id/description/verification[]/human_judgment[/rationale]) to enable\n# deterministic UAT routing in verify-work; OMIT for legacy prose-only SUMMARYs. When coverage is\n# uncertain, default human_judgment: true with a rationale — never auto-skip the human.\nduration: Xmin\ncompleted: YYYY-MM-DD\nstatus: complete\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"phase\":\"XX-name\",\"plan\":\"YY\",\"subsystem\":[\"primary category\"],\"tags\":[\"searchable tech\"],\"requires\":[\"phase: [prior phase]\"]{\"provides\":[\"what that phase built\"]},\"provides\":[\"[bullet list of what was built/delivered]\"],\"affects\":[\"list of phase names or keywords\"],\"tech-stack\":{\"added\":[\"libraries/tools\"],\"patterns\":[\"architectural/code patterns\"]},\"key-files\":{\"created\":[\"important files created\"],\"modified\":[\"important files modified\"]},\"key-decisions\":[\"Decision 1\"],\"patterns-established\":[\"Pattern 1: description\"],\"duration\":\"Xmin\",\"completed\":\"YYYY-MM-DD\",\"status\":\"complete\"}",
"diverges": true,
"justification": "Legacy's per-line flattening of the requires list produced an array whose first item read \"phase: [prior phase]\" but which ALSO carried a named own property .provides = \"[what that phase built]\" (Object.keys === [\"0\",\"provides\"]) — the second key: value line of the same list item leaked onto the array as a sibling property instead of being folded into the item text. js-yaml + this repo's normalizer instead produce ONE combined string per item. Canonicalization."
},
{
"id": "gsd-core__templates__summary-minimal",
"sourcePath": "gsd-core/templates/summary-minimal.md",
"id": "msd-core__templates__summary-minimal",
"sourcePath": "msd-core/templates/summary-minimal.md",
"documentText": "---\nphase: XX-name\nplan: YY\nsubsystem: [primary category]\ntags: [searchable tech]\nprovides:\n - [bullet list of what was built/delivered]\naffects: [list of phase names or keywords]\nactuals:\n tokens: [chars/4 over files actually changed]\n tasks: [tasks completed]\n commits: [commits made]\ntech-stack:\n added: [libraries/tools]\n patterns: [architectural/code patterns]\nkey-files:\n created: [important files created]\n modified: [important files modified]\nkey-decisions: []\n# coverage: (#1602) optional per-deliverable UAT-routing block — see templates/summary.md <coverage_guidance>.\n# Add live `coverage:` entries to enable deterministic UAT routing in verify-work; OMIT for legacy\n# prose-only SUMMARYs. When coverage is uncertain, default human_judgment: true — never auto-skip the human.\nduration: Xmin\ncompleted: YYYY-MM-DD\nstatus: complete\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"phase\":\"XX-name\",\"plan\":\"YY\",\"subsystem\":[\"primary category\"],\"tags\":[\"searchable tech\"],\"provides\":[\"[bullet list of what was built/delivered]\"],\"affects\":[\"list of phase names or keywords\"],\"actuals\":{\"tokens\":[\"chars/4 over files actually changed\"],\"tasks\":[\"tasks completed\"],\"commits\":[\"commits made\"]},\"tech-stack\":{\"added\":[\"libraries/tools\"],\"patterns\":[\"architectural/code patterns\"]},\"key-files\":{\"created\":[\"important files created\"],\"modified\":[\"important files modified\"]},\"key-decisions\":[],\"duration\":\"Xmin\",\"completed\":\"YYYY-MM-DD\",\"status\":\"complete\"}",
"diverges": false
},
{
"id": "gsd-core__templates__summary-standard",
"sourcePath": "gsd-core/templates/summary-standard.md",
"id": "msd-core__templates__summary-standard",
"sourcePath": "msd-core/templates/summary-standard.md",
"documentText": "---\nphase: XX-name\nplan: YY\nsubsystem: [primary category]\ntags: [searchable tech]\nprovides:\n - [bullet list of what was built/delivered]\naffects: [list of phase names or keywords]\nactuals:\n tokens: [chars/4 over files actually changed]\n tasks: [tasks completed]\n commits: [commits made]\ntech-stack:\n added: [libraries/tools]\n patterns: [architectural/code patterns]\nkey-files:\n created: [important files created]\n modified: [important files modified]\nkey-decisions:\n - \"Decision 1\"\n# coverage: (#1602) optional per-deliverable UAT-routing block — see templates/summary.md <coverage_guidance>.\n# Add live `coverage:` entries (id/description/verification[]/human_judgment[/rationale]) to enable\n# deterministic UAT routing in verify-work; OMIT for legacy prose-only SUMMARYs. When coverage is\n# uncertain, default human_judgment: true with a rationale — never auto-skip the human.\nduration: Xmin\ncompleted: YYYY-MM-DD\nstatus: complete\n---\nstub body for golden fixture reproduction.\n",
"expectedParse": "{\"phase\":\"XX-name\",\"plan\":\"YY\",\"subsystem\":[\"primary category\"],\"tags\":[\"searchable tech\"],\"provides\":[\"[bullet list of what was built/delivered]\"],\"affects\":[\"list of phase names or keywords\"],\"actuals\":{\"tokens\":[\"chars/4 over files actually changed\"],\"tasks\":[\"tasks completed\"],\"commits\":[\"commits made\"]},\"tech-stack\":{\"added\":[\"libraries/tools\"],\"patterns\":[\"architectural/code patterns\"]},\"key-files\":{\"created\":[\"important files created\"],\"modified\":[\"important files modified\"]},\"key-decisions\":[\"Decision 1\"],\"duration\":\"Xmin\",\"completed\":\"YYYY-MM-DD\",\"status\":\"complete\"}",
"diverges": false

View File

@@ -7,7 +7,7 @@ const { gitOrThrow, GIT_FIXTURE_TIMEOUT_MS } = require('../helpers/git-fixture.c
* Create a temp test fixture directory with canonical planning layout.
*
* @param {object} [options]
* @param {string} [options.prefix='gsd-test-']
* @param {string} [options.prefix='msd-test-']
* @param {boolean} [options.git=false] - initialize git repo with initial commit
* @param {boolean} [options.planning=true] - create .planning/phases layout
* @param {boolean} [options.projectDoc=true] - write .planning/PROJECT.md
@@ -15,7 +15,7 @@ const { gitOrThrow, GIT_FIXTURE_TIMEOUT_MS } = require('../helpers/git-fixture.c
*/
function createFixture(options = {}) {
const {
prefix = 'gsd-test-',
prefix = 'msd-test-',
git = false,
planning = true,
projectDoc = git,

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,419 +1,420 @@
[
".gsd-profile",
"extensions/gsd.js",
".msd-profile",
"extensions/msd.js",
"extensions/package.json",
"gsd-core/.gsd-runtime",
"gsd-core/VERSION",
"gsd-core/bin/check-latest-version.cjs",
"gsd-core/bin/ensure-runtime-build.cjs",
"gsd-core/bin/gsd-tools.cjs",
"gsd-core/bin/gsd_run",
"gsd-core/bin/shared/config-defaults.manifest.json",
"gsd-core/bin/shared/config-schema.manifest.json",
"gsd-core/bin/shared/exit-codes.json",
"gsd-core/bin/shared/exit-codes.sh",
"gsd-core/bin/shared/model-catalog.json",
"gsd-core/bin/shared/runtime-aliases.manifest.json",
"gsd-core/bin/verify-reapply-patches.cjs",
"gsd-core/contexts/dev.md",
"gsd-core/contexts/research.md",
"gsd-core/contexts/review.md",
"gsd-core/references/agent-contracts.md",
"gsd-core/references/agent-skills-bootstrap.md",
"gsd-core/references/ai-evals.md",
"gsd-core/references/ai-frameworks.md",
"gsd-core/references/api-coverage.md",
"gsd-core/references/artifact-types.md",
"gsd-core/references/autonomous-smart-discuss.md",
"gsd-core/references/autonomous-ui-design-contract.md",
"gsd-core/references/checkpoints.md",
"gsd-core/references/common-bug-patterns.md",
"gsd-core/references/compact-content-gate.md",
"gsd-core/references/context-budget.md",
"gsd-core/references/continuation-format.md",
"gsd-core/references/debugger-bug-taxonomy.md",
"gsd-core/references/debugger-fix-acceptance.md",
"gsd-core/references/debugger-philosophy.md",
"gsd-core/references/debugger-prevention.md",
"gsd-core/references/debugger-rca-branching.md",
"gsd-core/references/debugger-repro-hardening.md",
"gsd-core/references/debugger-sbfl.md",
"gsd-core/references/debugger-semantic-recall.md",
"gsd-core/references/debugger-techniques.md",
"gsd-core/references/decimal-phase-calculation.md",
"gsd-core/references/dispatch-isolation-gate.md",
"gsd-core/references/doc-conflict-engine.md",
"gsd-core/references/domain-probes.md",
"gsd-core/references/edge-probe-fixtures/01-round-half-even/expected-coverage.json",
"gsd-core/references/edge-probe-fixtures/01-round-half-even/requirements.json",
"gsd-core/references/edge-probe-fixtures/02-merge-intervals/expected-coverage.json",
"gsd-core/references/edge-probe-fixtures/02-merge-intervals/requirements.json",
"gsd-core/references/edge-probe-fixtures/03-truncate-graphemes/expected-coverage.json",
"gsd-core/references/edge-probe-fixtures/03-truncate-graphemes/requirements.json",
"gsd-core/references/edge-probe-fixtures/04-money-rounding/expected-coverage.json",
"gsd-core/references/edge-probe-fixtures/04-money-rounding/requirements.json",
"gsd-core/references/edge-probe-fixtures/05-list-dedupe/expected-coverage.json",
"gsd-core/references/edge-probe-fixtures/05-list-dedupe/requirements.json",
"gsd-core/references/edge-probe-fixtures/06-resolved-mixed/expected-coverage.json",
"gsd-core/references/edge-probe-fixtures/06-resolved-mixed/requirements.json",
"gsd-core/references/edge-probe-fixtures/06-resolved-mixed/resolutions.json",
"gsd-core/references/edge-probe.md",
"gsd-core/references/execute-mvp-tdd.md",
"gsd-core/references/execute-phase-between-wave-reset.md",
"gsd-core/references/execute-phase-context-guard.md",
"gsd-core/references/execute-phase-quota-recovery.md",
"gsd-core/references/execute-phase-requirement-revert.md",
"gsd-core/references/execute-phase-response-language.md",
"gsd-core/references/execute-phase-wave-guard.md",
"gsd-core/references/executor-examples.md",
"gsd-core/references/failing-direction.md",
"gsd-core/references/few-shot-examples/plan-checker.md",
"gsd-core/references/few-shot-examples/verifier.md",
"gsd-core/references/gate-prompts.md",
"gsd-core/references/gates.md",
"gsd-core/references/git-integration.md",
"gsd-core/references/git-planning-commit.md",
"gsd-core/references/gsd-run-resolver.md",
"gsd-core/references/honest-verifier.md",
"gsd-core/references/ios-scaffold.md",
"gsd-core/references/loop-hook-dispatch.md",
"gsd-core/references/mandatory-initial-read.md",
"gsd-core/references/model-profile-resolution.md",
"gsd-core/references/model-profiles.md",
"gsd-core/references/mvp-concepts.md",
"gsd-core/references/nyquist-compliance.md",
"gsd-core/references/offer-next.md",
"gsd-core/references/phase-argument-parsing.md",
"gsd-core/references/phase-id-convention.md",
"gsd-core/references/plan-checker-examples.md",
"gsd-core/references/planner-antipatterns.md",
"gsd-core/references/planner-chunked.md",
"gsd-core/references/planner-coupling.md",
"gsd-core/references/planner-failing-direction.md",
"gsd-core/references/planner-gap-closure.md",
"gsd-core/references/planner-graphify-auto-update.md",
"gsd-core/references/planner-guidance.md",
"gsd-core/references/planner-human-verify-mode.md",
"gsd-core/references/planner-interface-context.md",
"gsd-core/references/planner-load-graph-context.md",
"gsd-core/references/planner-mvp-mode.md",
"gsd-core/references/planner-preconditions.md",
"gsd-core/references/planner-quick-batch.md",
"gsd-core/references/planner-reversibility.md",
"gsd-core/references/planner-reviews.md",
"gsd-core/references/planner-revision.md",
"gsd-core/references/planner-source-audit.md",
"gsd-core/references/planner-verify-command-grounding.md",
"gsd-core/references/planning-config.md",
"gsd-core/references/prohibition-probe-fixtures/01-streak-reminder/expected.json",
"gsd-core/references/prohibition-probe-fixtures/02-clean-utility/expected.json",
"gsd-core/references/prohibition-probe-fixtures/03-multi-prohibition/expected.json",
"gsd-core/references/prohibition-probe.md",
"gsd-core/references/project-skills-discovery.md",
"gsd-core/references/questioning.md",
"gsd-core/references/research-documentation-lookup.md",
"gsd-core/references/research-philosophy.md",
"gsd-core/references/research-verification-protocol.md",
"gsd-core/references/response-language-directive.md",
"gsd-core/references/reviewer-instances.md",
"gsd-core/references/revision-loop.md",
"gsd-core/references/runtime-aware-dispatch.md",
"gsd-core/references/scout-codebase.md",
"gsd-core/references/security-asvs-levels.md",
"gsd-core/references/skeleton-template.md",
"gsd-core/references/sketch-interactivity.md",
"gsd-core/references/sketch-theme-system.md",
"gsd-core/references/sketch-tooling.md",
"gsd-core/references/sketch-variant-patterns.md",
"gsd-core/references/specless-probe-fallback.md",
"gsd-core/references/spidr-splitting.md",
"gsd-core/references/tdd.md",
"gsd-core/references/thinking-models-debug.md",
"gsd-core/references/thinking-models-execution.md",
"gsd-core/references/thinking-models-planning.md",
"gsd-core/references/thinking-models-research.md",
"gsd-core/references/thinking-models-verification.md",
"gsd-core/references/thinking-partner.md",
"gsd-core/references/ui-brand.md",
"gsd-core/references/ui-consideration-probe.md",
"gsd-core/references/universal-anti-patterns.md",
"gsd-core/references/untrusted-input-boundary.md",
"gsd-core/references/user-profiling.md",
"gsd-core/references/user-story-template.md",
"gsd-core/references/verification-overrides.md",
"gsd-core/references/verification-patterns.md",
"gsd-core/references/verifier-evidence-gate.md",
"gsd-core/references/verifier-phase-gates.md",
"gsd-core/references/verifier-wiring-patterns.md",
"gsd-core/references/verify-command-path-resolvability.md",
"gsd-core/references/verify-mvp-mode.md",
"gsd-core/references/workstream-flag.md",
"gsd-core/references/worktree-branch-check.md",
"gsd-core/references/worktree-path-safety.md",
"gsd-core/templates/AI-SPEC.md",
"gsd-core/templates/DEBUG.md",
"gsd-core/templates/README.md",
"gsd-core/templates/SECURITY.md",
"gsd-core/templates/UAT.md",
"gsd-core/templates/UI-SPEC.md",
"gsd-core/templates/VALIDATION.md",
"gsd-core/templates/codebase/architecture.md",
"gsd-core/templates/codebase/stack.md",
"gsd-core/templates/config.json",
"gsd-core/templates/context.md",
"gsd-core/templates/continue-here.md",
"gsd-core/templates/copilot-instructions.md",
"gsd-core/templates/dev-preferences.md",
"gsd-core/templates/discussion-log.md",
"gsd-core/templates/milestone-archive.md",
"gsd-core/templates/milestone.md",
"gsd-core/templates/phase-prompt.md",
"gsd-core/templates/planner-subagent-prompt.md",
"gsd-core/templates/project.md",
"gsd-core/templates/requirements.md",
"gsd-core/templates/research-project/ARCHITECTURE.md",
"gsd-core/templates/research-project/FEATURES.md",
"gsd-core/templates/research-project/PITFALLS.md",
"gsd-core/templates/research-project/STACK.md",
"gsd-core/templates/research-project/SUMMARY.md",
"gsd-core/templates/research.md",
"gsd-core/templates/retrospective.md",
"gsd-core/templates/roadmap.md",
"gsd-core/templates/spec.md",
"gsd-core/templates/state.md",
"gsd-core/templates/summary-complex.md",
"gsd-core/templates/summary-minimal.md",
"gsd-core/templates/summary-standard.md",
"gsd-core/templates/summary.compact.md",
"gsd-core/templates/summary.md",
"gsd-core/templates/user-profile.md",
"gsd-core/templates/user-setup.compact.md",
"gsd-core/templates/user-setup.md",
"gsd-core/templates/verification-report.md",
"gsd-core/workflows/_runtime-launcher.snippet.sh",
"gsd-core/workflows/add-backlog.md",
"gsd-core/workflows/add-phase.md",
"gsd-core/workflows/add-tests.md",
"gsd-core/workflows/add-todo.md",
"gsd-core/workflows/ai-integration-phase.md",
"gsd-core/workflows/analyze-dependencies.md",
"gsd-core/workflows/audit-fix.md",
"gsd-core/workflows/audit-milestone.md",
"gsd-core/workflows/audit-uat.md",
"gsd-core/workflows/autonomous.md",
"gsd-core/workflows/autonomous/steps/converge-banner.md",
"gsd-core/workflows/autonomous/steps/converge-dispatch-bg.md",
"gsd-core/workflows/autonomous/steps/converge-dispatch-inline.md",
"gsd-core/workflows/autonomous/steps/converge-fail-fast.md",
"gsd-core/workflows/autonomous/steps/converge-loop.md",
"gsd-core/workflows/check-todos.md",
"gsd-core/workflows/cleanup.md",
"gsd-core/workflows/code-review-fix.md",
"gsd-core/workflows/code-review.md",
"gsd-core/workflows/code-review/steps/dispatch-fix.md",
"gsd-core/workflows/code-review/steps/structural-pre-pass.md",
"gsd-core/workflows/complete-milestone.md",
"gsd-core/workflows/complete-milestone/detail/elaboration.md",
"gsd-core/workflows/complete-milestone/steps/git-tag.md",
"gsd-core/workflows/debug.md",
"gsd-core/workflows/diagnose-issues.md",
"gsd-core/workflows/discuss-phase-assumptions.md",
"gsd-core/workflows/discuss-phase-assumptions/steps/auto-advance-dispatch.md",
"gsd-core/workflows/discuss-phase-power.md",
"gsd-core/workflows/discuss-phase.md",
"gsd-core/workflows/discuss-phase/modes/advisor.md",
"gsd-core/workflows/discuss-phase/modes/all.md",
"gsd-core/workflows/discuss-phase/modes/analyze.md",
"gsd-core/workflows/discuss-phase/modes/auto.md",
"gsd-core/workflows/discuss-phase/modes/batch.md",
"gsd-core/workflows/discuss-phase/modes/chain.md",
"gsd-core/workflows/discuss-phase/modes/default.md",
"gsd-core/workflows/discuss-phase/modes/power.md",
"gsd-core/workflows/discuss-phase/modes/text.md",
"gsd-core/workflows/discuss-phase/templates/checkpoint.json",
"gsd-core/workflows/discuss-phase/templates/context.md",
"gsd-core/workflows/discuss-phase/templates/discussion-log.md",
"gsd-core/workflows/do.md",
"gsd-core/workflows/docs-update.md",
"gsd-core/workflows/docs-update/detail/elaboration.md",
"gsd-core/workflows/docs-update/steps/dispatch-monorepo-packages.md",
"gsd-core/workflows/edit-phase.md",
"gsd-core/workflows/eval-review.md",
"gsd-core/workflows/execute-phase.md",
"gsd-core/workflows/execute-phase/detail/elaboration.md",
"gsd-core/workflows/execute-phase/steps/code-review-disposition.md",
"gsd-core/workflows/execute-phase/steps/codebase-drift-gate.md",
"gsd-core/workflows/execute-phase/steps/completion-reconciliation.md",
"gsd-core/workflows/execute-phase/steps/executor-isolation-dispatch.md",
"gsd-core/workflows/execute-phase/steps/executor-progress-policy.md",
"gsd-core/workflows/execute-phase/steps/gap-closure-artifacts.md",
"gsd-core/workflows/execute-phase/steps/partial-wave.md",
"gsd-core/workflows/execute-phase/steps/per-plan-executor-routing.md",
"gsd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md",
"gsd-core/workflows/execute-phase/steps/post-merge-gate.md",
"gsd-core/workflows/execute-phase/steps/protected-branch.md",
"gsd-core/workflows/execute-phase/steps/ready-wave-gate.md",
"gsd-core/workflows/execute-phase/steps/regression-gate-run.md",
"gsd-core/workflows/execute-phase/steps/regression-gate.md",
"gsd-core/workflows/execute-phase/steps/sequential-root-pin.md",
"gsd-core/workflows/execute-phase/steps/stale-reverification.md",
"gsd-core/workflows/execute-phase/steps/tdd-applicability-resolution.md",
"gsd-core/workflows/execute-phase/steps/threat-id-gate.md",
"gsd-core/workflows/execute-phase/steps/wave-post-gate-hooks.md",
"gsd-core/workflows/execute-phase/steps/worktree-base-check.md",
"gsd-core/workflows/execute-phase/steps/worktree-recovery-policy.md",
"gsd-core/workflows/execute-plan.md",
"gsd-core/workflows/explore.md",
"gsd-core/workflows/extract-learnings.md",
"gsd-core/workflows/fast.md",
"gsd-core/workflows/forensics.md",
"gsd-core/workflows/graduation.md",
"gsd-core/workflows/health.md",
"gsd-core/workflows/help.md",
"gsd-core/workflows/help/modes/brief.md",
"gsd-core/workflows/help/modes/default.md",
"gsd-core/workflows/help/modes/full.compact.md",
"gsd-core/workflows/help/modes/full.md",
"gsd-core/workflows/help/modes/topic.md",
"gsd-core/workflows/import.md",
"gsd-core/workflows/inbox.md",
"gsd-core/workflows/ingest-docs.md",
"gsd-core/workflows/insert-phase.md",
"gsd-core/workflows/list-phase-assumptions.md",
"gsd-core/workflows/list-seeds.md",
"gsd-core/workflows/list-workspaces.md",
"gsd-core/workflows/manager.md",
"gsd-core/workflows/map-codebase.md",
"gsd-core/workflows/milestone-summary.md",
"gsd-core/workflows/mvp-phase.md",
"gsd-core/workflows/new-milestone.md",
"gsd-core/workflows/new-milestone/steps/project-md-milestone-write.md",
"gsd-core/workflows/new-milestone/steps/reset-phase-safety.md",
"gsd-core/workflows/new-project.md",
"gsd-core/workflows/new-project/detail/elaboration.md",
"gsd-core/workflows/new-project/steps/auto-mode-config.md",
"gsd-core/workflows/new-project/steps/auto-mode-detection.md",
"gsd-core/workflows/new-project/steps/codebase-map-offer.md",
"gsd-core/workflows/new-workspace.md",
"gsd-core/workflows/next.md",
"gsd-core/workflows/node-repair.md",
"gsd-core/workflows/note.md",
"gsd-core/workflows/onboard.md",
"gsd-core/workflows/pause-work.md",
"gsd-core/workflows/plan-phase.md",
"gsd-core/workflows/plan-phase/detail/elaboration.md",
"gsd-core/workflows/plan-phase/steps/adr-ingest-express-path.md",
"gsd-core/workflows/plan-phase/steps/chunked-planning-mode.md",
"gsd-core/workflows/plan-phase/steps/closed-phase-gate.md",
"gsd-core/workflows/plan-phase/steps/prd-express-gate.md",
"gsd-core/workflows/plan-phase/steps/prd-express-path.md",
"gsd-core/workflows/plan-phase/steps/research-only-early-exit.md",
"gsd-core/workflows/plan-phase/steps/research-only-modifiers.md",
"gsd-core/workflows/plan-phase/steps/reviews-prerequisite.md",
"gsd-core/workflows/plan-phase/steps/stall-detection-helpers.md",
"gsd-core/workflows/plan-phase/steps/windows-troubleshooting.md",
"gsd-core/workflows/plan-review-convergence.md",
"gsd-core/workflows/plant-seed.md",
"gsd-core/workflows/pr-branch.md",
"gsd-core/workflows/profile-user.md",
"gsd-core/workflows/progress.md",
"gsd-core/workflows/progress/steps/forensic-audit.md",
"gsd-core/workflows/progress/steps/mvp-display.md",
"gsd-core/workflows/quick-batch.md",
"gsd-core/workflows/quick-batch/steps/batch-init.md",
"gsd-core/workflows/quick-batch/steps/completion.md",
"gsd-core/workflows/quick-batch/steps/merge-wave.md",
"gsd-core/workflows/quick-batch/steps/plan-checker-loop.md",
"gsd-core/workflows/quick-batch/steps/planner-wave.md",
"gsd-core/workflows/quick-batch/steps/research-phase.md",
"gsd-core/workflows/quick-batch/steps/resume-mode.md",
"gsd-core/workflows/quick-batch/steps/verification-wave.md",
"gsd-core/workflows/quick-batch/steps/worktree-dispatch.md",
"gsd-core/workflows/quick.md",
"gsd-core/workflows/quick/steps/discussion-phase.md",
"gsd-core/workflows/quick/steps/plan-checker-loop.md",
"gsd-core/workflows/quick/steps/quick-verification.md",
"gsd-core/workflows/quick/steps/research-phase.md",
"gsd-core/workflows/quick/steps/worktree-pre-dispatch-commit.md",
"gsd-core/workflows/reapply-patches.md",
"gsd-core/workflows/remove-phase.md",
"gsd-core/workflows/remove-workspace.md",
"gsd-core/workflows/resume-project.md",
"gsd-core/workflows/review.md",
"gsd-core/workflows/review/steps/reviewer-instances-note-1.md",
"gsd-core/workflows/review/steps/reviewer-instances-note-2.md",
"gsd-core/workflows/scan.md",
"gsd-core/workflows/section-manifest.json",
"gsd-core/workflows/secure-phase.md",
"gsd-core/workflows/session-report.md",
"gsd-core/workflows/settings-advanced.md",
"gsd-core/workflows/settings-integrations.md",
"gsd-core/workflows/settings.md",
"gsd-core/workflows/ship.md",
"gsd-core/workflows/sketch-wrap-up.md",
"gsd-core/workflows/sketch.md",
"gsd-core/workflows/smart-entry.md",
"gsd-core/workflows/spec-phase.md",
"gsd-core/workflows/spike-wrap-up.md",
"gsd-core/workflows/spike.md",
"gsd-core/workflows/stats.md",
"gsd-core/workflows/sync-skills.md",
"gsd-core/workflows/thread.md",
"gsd-core/workflows/transition.md",
"gsd-core/workflows/transition/steps/workstream-collision-check.md",
"gsd-core/workflows/ui-phase.md",
"gsd-core/workflows/ui-review.md",
"gsd-core/workflows/ultraplan-phase.md",
"gsd-core/workflows/undo.md",
"gsd-core/workflows/update.md",
"gsd-core/workflows/update/steps/channel-banner.md",
"gsd-core/workflows/validate-phase.md",
"gsd-core/workflows/verify-work.md",
"gsd-core/workflows/verify-work/detail/elaboration.md",
"gsd-core/workflows/verify-work/steps/automated-ui-verification.md",
"gsd-core/workflows/verify-work/steps/mvp-uat-framing.md",
"gsd-hooks/gsd-agent-isolation-guard.js",
"gsd-hooks/gsd-check-update-worker.js",
"gsd-hooks/gsd-check-update.js",
"gsd-hooks/gsd-config-reload.js",
"gsd-hooks/gsd-context-monitor.js",
"gsd-hooks/gsd-cursor-post-tool.js",
"gsd-hooks/gsd-cursor-pre-tool.js",
"gsd-hooks/gsd-cursor-session-start.js",
"gsd-hooks/gsd-cursor-stop.js",
"gsd-hooks/gsd-cursor-subagent-start.js",
"gsd-hooks/gsd-cursor-subagent-stop.js",
"gsd-hooks/gsd-ensure-canonical-path.js",
"gsd-hooks/gsd-graphify-update.sh",
"gsd-hooks/gsd-node-runner.sh",
"gsd-hooks/gsd-phase-boundary.sh",
"gsd-hooks/gsd-prompt-guard.js",
"gsd-hooks/gsd-read-guard.js",
"gsd-hooks/gsd-read-injection-scanner.js",
"gsd-hooks/gsd-secret-read-guard.js",
"gsd-hooks/gsd-session-state.sh",
"gsd-hooks/gsd-statusline.js",
"gsd-hooks/gsd-update-banner.js",
"gsd-hooks/gsd-validate-commit.sh",
"gsd-hooks/gsd-windsurf-pre-command.js",
"gsd-hooks/gsd-windsurf-pre-write.js",
"gsd-hooks/gsd-workflow-guard.js",
"gsd-hooks/gsd-worktree-path-guard.js",
"gsd-hooks/gsd-write-guard.js",
"gsd-hooks/lib/cli-exit.js",
"gsd-hooks/lib/cursor-workspace.js",
"gsd-hooks/lib/dispatch-identity.js",
"gsd-hooks/lib/exit-code-registry.js",
"gsd-hooks/lib/filename-classification.js",
"gsd-hooks/lib/git-cmd.js",
"gsd-hooks/lib/git-probe.js",
"gsd-hooks/lib/gsd-graphify-rebuild.sh",
"gsd-hooks/lib/hook-exit.js",
"gsd-hooks/lib/injection-patterns.js",
"gsd-hooks/lib/isolation-deny-reason.js",
"gsd-hooks/lib/isolation-sentinel.js",
"gsd-hooks/managed-hooks-registry.cjs",
"gsd-hooks/package.json",
"msd-core/.msd-runtime",
"msd-core/VERSION",
"msd-core/bin/check-latest-version.cjs",
"msd-core/bin/ensure-runtime-build.cjs",
"msd-core/bin/msd-tools.cjs",
"msd-core/bin/msd_run",
"msd-core/bin/shared/config-defaults.manifest.json",
"msd-core/bin/shared/config-schema.manifest.json",
"msd-core/bin/shared/exit-codes.json",
"msd-core/bin/shared/exit-codes.sh",
"msd-core/bin/shared/model-catalog.json",
"msd-core/bin/shared/runtime-aliases.manifest.json",
"msd-core/bin/verify-reapply-patches.cjs",
"msd-core/contexts/dev.md",
"msd-core/contexts/research.md",
"msd-core/contexts/review.md",
"msd-core/references/agent-contracts.md",
"msd-core/references/agent-skills-bootstrap.md",
"msd-core/references/ai-evals.md",
"msd-core/references/ai-frameworks.md",
"msd-core/references/api-coverage.md",
"msd-core/references/artifact-types.md",
"msd-core/references/autonomous-smart-discuss.md",
"msd-core/references/autonomous-ui-design-contract.md",
"msd-core/references/checkpoints.md",
"msd-core/references/common-bug-patterns.md",
"msd-core/references/compact-content-gate.md",
"msd-core/references/context-budget.md",
"msd-core/references/continuation-format.md",
"msd-core/references/debugger-bug-taxonomy.md",
"msd-core/references/debugger-fix-acceptance.md",
"msd-core/references/debugger-philosophy.md",
"msd-core/references/debugger-prevention.md",
"msd-core/references/debugger-rca-branching.md",
"msd-core/references/debugger-repro-hardening.md",
"msd-core/references/debugger-sbfl.md",
"msd-core/references/debugger-semantic-recall.md",
"msd-core/references/debugger-techniques.md",
"msd-core/references/decimal-phase-calculation.md",
"msd-core/references/dispatch-isolation-gate.md",
"msd-core/references/doc-conflict-engine.md",
"msd-core/references/domain-probes.md",
"msd-core/references/edge-probe-fixtures/01-round-half-even/expected-coverage.json",
"msd-core/references/edge-probe-fixtures/01-round-half-even/requirements.json",
"msd-core/references/edge-probe-fixtures/02-merge-intervals/expected-coverage.json",
"msd-core/references/edge-probe-fixtures/02-merge-intervals/requirements.json",
"msd-core/references/edge-probe-fixtures/03-truncate-graphemes/expected-coverage.json",
"msd-core/references/edge-probe-fixtures/03-truncate-graphemes/requirements.json",
"msd-core/references/edge-probe-fixtures/04-money-rounding/expected-coverage.json",
"msd-core/references/edge-probe-fixtures/04-money-rounding/requirements.json",
"msd-core/references/edge-probe-fixtures/05-list-dedupe/expected-coverage.json",
"msd-core/references/edge-probe-fixtures/05-list-dedupe/requirements.json",
"msd-core/references/edge-probe-fixtures/06-resolved-mixed/expected-coverage.json",
"msd-core/references/edge-probe-fixtures/06-resolved-mixed/requirements.json",
"msd-core/references/edge-probe-fixtures/06-resolved-mixed/resolutions.json",
"msd-core/references/edge-probe.md",
"msd-core/references/execute-mvp-tdd.md",
"msd-core/references/execute-phase-between-wave-reset.md",
"msd-core/references/execute-phase-context-guard.md",
"msd-core/references/execute-phase-quota-recovery.md",
"msd-core/references/execute-phase-requirement-revert.md",
"msd-core/references/execute-phase-response-language.md",
"msd-core/references/execute-phase-wave-guard.md",
"msd-core/references/executor-examples.md",
"msd-core/references/failing-direction.md",
"msd-core/references/few-shot-examples/plan-checker.md",
"msd-core/references/few-shot-examples/verifier.md",
"msd-core/references/gate-prompts.md",
"msd-core/references/gates.md",
"msd-core/references/git-integration.md",
"msd-core/references/git-planning-commit.md",
"msd-core/references/honest-verifier.md",
"msd-core/references/ios-scaffold.md",
"msd-core/references/loop-hook-dispatch.md",
"msd-core/references/mandatory-initial-read.md",
"msd-core/references/model-profile-resolution.md",
"msd-core/references/model-profiles.md",
"msd-core/references/msd-run-resolver.md",
"msd-core/references/mvp-concepts.md",
"msd-core/references/nyquist-compliance.md",
"msd-core/references/offer-next.md",
"msd-core/references/phase-argument-parsing.md",
"msd-core/references/phase-id-convention.md",
"msd-core/references/plan-checker-examples.md",
"msd-core/references/planner-antipatterns.md",
"msd-core/references/planner-chunked.md",
"msd-core/references/planner-coupling.md",
"msd-core/references/planner-failing-direction.md",
"msd-core/references/planner-gap-closure.md",
"msd-core/references/planner-graphify-auto-update.md",
"msd-core/references/planner-guidance.md",
"msd-core/references/planner-human-verify-mode.md",
"msd-core/references/planner-interface-context.md",
"msd-core/references/planner-load-graph-context.md",
"msd-core/references/planner-mvp-mode.md",
"msd-core/references/planner-preconditions.md",
"msd-core/references/planner-quick-batch.md",
"msd-core/references/planner-reversibility.md",
"msd-core/references/planner-reviews.md",
"msd-core/references/planner-revision.md",
"msd-core/references/planner-source-audit.md",
"msd-core/references/planner-verify-command-grounding.md",
"msd-core/references/planning-config.md",
"msd-core/references/prohibition-probe-fixtures/01-streak-reminder/expected.json",
"msd-core/references/prohibition-probe-fixtures/02-clean-utility/expected.json",
"msd-core/references/prohibition-probe-fixtures/03-multi-prohibition/expected.json",
"msd-core/references/prohibition-probe.md",
"msd-core/references/project-skills-discovery.md",
"msd-core/references/questioning.md",
"msd-core/references/research-documentation-lookup.md",
"msd-core/references/research-philosophy.md",
"msd-core/references/research-verification-protocol.md",
"msd-core/references/response-language-directive.md",
"msd-core/references/reviewer-instances.md",
"msd-core/references/revision-loop.md",
"msd-core/references/runtime-aware-dispatch.md",
"msd-core/references/scout-codebase.md",
"msd-core/references/security-asvs-levels.md",
"msd-core/references/skeleton-template.md",
"msd-core/references/sketch-interactivity.md",
"msd-core/references/sketch-theme-system.md",
"msd-core/references/sketch-tooling.md",
"msd-core/references/sketch-variant-patterns.md",
"msd-core/references/specless-probe-fallback.md",
"msd-core/references/spidr-splitting.md",
"msd-core/references/tdd.md",
"msd-core/references/thinking-models-debug.md",
"msd-core/references/thinking-models-execution.md",
"msd-core/references/thinking-models-planning.md",
"msd-core/references/thinking-models-research.md",
"msd-core/references/thinking-models-verification.md",
"msd-core/references/thinking-partner.md",
"msd-core/references/ui-brand.md",
"msd-core/references/ui-consideration-probe.md",
"msd-core/references/universal-anti-patterns.md",
"msd-core/references/untrusted-input-boundary.md",
"msd-core/references/user-profiling.md",
"msd-core/references/user-story-template.md",
"msd-core/references/verification-overrides.md",
"msd-core/references/verification-patterns.md",
"msd-core/references/verifier-evidence-gate.md",
"msd-core/references/verifier-phase-gates.md",
"msd-core/references/verifier-wiring-patterns.md",
"msd-core/references/verify-command-path-resolvability.md",
"msd-core/references/verify-mvp-mode.md",
"msd-core/references/workstream-flag.md",
"msd-core/references/worktree-branch-check.md",
"msd-core/references/worktree-path-safety.md",
"msd-core/templates/AI-SPEC.md",
"msd-core/templates/DEBUG.md",
"msd-core/templates/README.md",
"msd-core/templates/SECURITY.md",
"msd-core/templates/UAT.md",
"msd-core/templates/UI-SPEC.md",
"msd-core/templates/VALIDATION.md",
"msd-core/templates/codebase/architecture.md",
"msd-core/templates/codebase/stack.md",
"msd-core/templates/config.json",
"msd-core/templates/context.md",
"msd-core/templates/continue-here.md",
"msd-core/templates/copilot-instructions.md",
"msd-core/templates/dev-preferences.md",
"msd-core/templates/discussion-log.md",
"msd-core/templates/milestone-archive.md",
"msd-core/templates/milestone.md",
"msd-core/templates/phase-prompt.md",
"msd-core/templates/planner-subagent-prompt.md",
"msd-core/templates/project.md",
"msd-core/templates/requirements.md",
"msd-core/templates/research-project/ARCHITECTURE.md",
"msd-core/templates/research-project/FEATURES.md",
"msd-core/templates/research-project/PITFALLS.md",
"msd-core/templates/research-project/STACK.md",
"msd-core/templates/research-project/SUMMARY.md",
"msd-core/templates/research.md",
"msd-core/templates/retrospective.md",
"msd-core/templates/roadmap.md",
"msd-core/templates/spec.md",
"msd-core/templates/state.md",
"msd-core/templates/summary-complex.md",
"msd-core/templates/summary-minimal.md",
"msd-core/templates/summary-standard.md",
"msd-core/templates/summary.compact.md",
"msd-core/templates/summary.md",
"msd-core/templates/user-profile.md",
"msd-core/templates/user-setup.compact.md",
"msd-core/templates/user-setup.md",
"msd-core/templates/verification-report.md",
"msd-core/workflows/_runtime-launcher.snippet.sh",
"msd-core/workflows/add-backlog.md",
"msd-core/workflows/add-phase.md",
"msd-core/workflows/add-tests.md",
"msd-core/workflows/add-todo.md",
"msd-core/workflows/ai-integration-phase.md",
"msd-core/workflows/analyze-dependencies.md",
"msd-core/workflows/audit-fix.md",
"msd-core/workflows/audit-milestone.md",
"msd-core/workflows/audit-uat.md",
"msd-core/workflows/autonomous.md",
"msd-core/workflows/autonomous/steps/converge-banner.md",
"msd-core/workflows/autonomous/steps/converge-dispatch-bg.md",
"msd-core/workflows/autonomous/steps/converge-dispatch-inline.md",
"msd-core/workflows/autonomous/steps/converge-fail-fast.md",
"msd-core/workflows/autonomous/steps/converge-loop.md",
"msd-core/workflows/check-todos.md",
"msd-core/workflows/cleanup.md",
"msd-core/workflows/code-review-fix.md",
"msd-core/workflows/code-review.md",
"msd-core/workflows/code-review/steps/dispatch-fix.md",
"msd-core/workflows/code-review/steps/structural-pre-pass.md",
"msd-core/workflows/complete-milestone.md",
"msd-core/workflows/complete-milestone/detail/elaboration.md",
"msd-core/workflows/complete-milestone/steps/git-tag.md",
"msd-core/workflows/debug.md",
"msd-core/workflows/diagnose-issues.md",
"msd-core/workflows/discuss-phase-assumptions.md",
"msd-core/workflows/discuss-phase-assumptions/steps/auto-advance-dispatch.md",
"msd-core/workflows/discuss-phase-power.md",
"msd-core/workflows/discuss-phase.md",
"msd-core/workflows/discuss-phase/modes/advisor.md",
"msd-core/workflows/discuss-phase/modes/all.md",
"msd-core/workflows/discuss-phase/modes/analyze.md",
"msd-core/workflows/discuss-phase/modes/auto.md",
"msd-core/workflows/discuss-phase/modes/batch.md",
"msd-core/workflows/discuss-phase/modes/chain.md",
"msd-core/workflows/discuss-phase/modes/default.md",
"msd-core/workflows/discuss-phase/modes/power.md",
"msd-core/workflows/discuss-phase/modes/text.md",
"msd-core/workflows/discuss-phase/templates/checkpoint.json",
"msd-core/workflows/discuss-phase/templates/context.md",
"msd-core/workflows/discuss-phase/templates/discussion-log.md",
"msd-core/workflows/do.md",
"msd-core/workflows/docs-update.md",
"msd-core/workflows/docs-update/detail/elaboration.md",
"msd-core/workflows/docs-update/steps/dispatch-monorepo-packages.md",
"msd-core/workflows/edit-phase.md",
"msd-core/workflows/eval-review.md",
"msd-core/workflows/execute-phase.md",
"msd-core/workflows/execute-phase/detail/elaboration.md",
"msd-core/workflows/execute-phase/steps/code-review-disposition.md",
"msd-core/workflows/execute-phase/steps/codebase-drift-gate.md",
"msd-core/workflows/execute-phase/steps/completion-reconciliation.md",
"msd-core/workflows/execute-phase/steps/executor-isolation-dispatch.md",
"msd-core/workflows/execute-phase/steps/executor-progress-policy.md",
"msd-core/workflows/execute-phase/steps/gap-closure-artifacts.md",
"msd-core/workflows/execute-phase/steps/partial-wave.md",
"msd-core/workflows/execute-phase/steps/per-plan-executor-routing.md",
"msd-core/workflows/execute-phase/steps/per-plan-worktree-gate.md",
"msd-core/workflows/execute-phase/steps/post-merge-gate.md",
"msd-core/workflows/execute-phase/steps/protected-branch.md",
"msd-core/workflows/execute-phase/steps/ready-wave-gate.md",
"msd-core/workflows/execute-phase/steps/regression-gate-run.md",
"msd-core/workflows/execute-phase/steps/regression-gate.md",
"msd-core/workflows/execute-phase/steps/sequential-root-pin.md",
"msd-core/workflows/execute-phase/steps/stale-reverification.md",
"msd-core/workflows/execute-phase/steps/tdd-applicability-resolution.md",
"msd-core/workflows/execute-phase/steps/threat-id-gate.md",
"msd-core/workflows/execute-phase/steps/wave-post-gate-hooks.md",
"msd-core/workflows/execute-phase/steps/worktree-base-check.md",
"msd-core/workflows/execute-phase/steps/worktree-recovery-policy.md",
"msd-core/workflows/execute-plan.md",
"msd-core/workflows/explore.md",
"msd-core/workflows/extract-learnings.md",
"msd-core/workflows/fast.md",
"msd-core/workflows/forensics.md",
"msd-core/workflows/graduation.md",
"msd-core/workflows/health.md",
"msd-core/workflows/help.md",
"msd-core/workflows/help/modes/brief.md",
"msd-core/workflows/help/modes/default.md",
"msd-core/workflows/help/modes/full.compact.md",
"msd-core/workflows/help/modes/full.md",
"msd-core/workflows/help/modes/topic.md",
"msd-core/workflows/import.md",
"msd-core/workflows/inbox.md",
"msd-core/workflows/ingest-docs.md",
"msd-core/workflows/insert-phase.md",
"msd-core/workflows/list-phase-assumptions.md",
"msd-core/workflows/list-seeds.md",
"msd-core/workflows/list-workspaces.md",
"msd-core/workflows/manager.md",
"msd-core/workflows/map-codebase.md",
"msd-core/workflows/milestone-summary.md",
"msd-core/workflows/mvp-phase.md",
"msd-core/workflows/new-milestone.md",
"msd-core/workflows/new-milestone/steps/project-md-milestone-write.md",
"msd-core/workflows/new-milestone/steps/reset-phase-safety.md",
"msd-core/workflows/new-project.md",
"msd-core/workflows/new-project/detail/elaboration.md",
"msd-core/workflows/new-project/steps/auto-mode-config.md",
"msd-core/workflows/new-project/steps/auto-mode-detection.md",
"msd-core/workflows/new-project/steps/codebase-map-offer.md",
"msd-core/workflows/new-workspace.md",
"msd-core/workflows/next.md",
"msd-core/workflows/node-repair.md",
"msd-core/workflows/note.md",
"msd-core/workflows/onboard.md",
"msd-core/workflows/pause-work.md",
"msd-core/workflows/plan-phase.md",
"msd-core/workflows/plan-phase/detail/elaboration.md",
"msd-core/workflows/plan-phase/steps/adr-ingest-express-path.md",
"msd-core/workflows/plan-phase/steps/agent-recovery-and-timing.md",
"msd-core/workflows/plan-phase/steps/chunked-planning-mode.md",
"msd-core/workflows/plan-phase/steps/closed-phase-gate.md",
"msd-core/workflows/plan-phase/steps/prd-express-gate.md",
"msd-core/workflows/plan-phase/steps/prd-express-path.md",
"msd-core/workflows/plan-phase/steps/research-only-early-exit.md",
"msd-core/workflows/plan-phase/steps/research-only-modifiers.md",
"msd-core/workflows/plan-phase/steps/reviews-prerequisite.md",
"msd-core/workflows/plan-phase/steps/stall-detection-helpers.md",
"msd-core/workflows/plan-phase/steps/windows-troubleshooting.md",
"msd-core/workflows/plan-review-convergence.md",
"msd-core/workflows/plant-seed.md",
"msd-core/workflows/pr-branch.md",
"msd-core/workflows/profile-user.md",
"msd-core/workflows/progress.md",
"msd-core/workflows/progress/steps/forensic-audit.md",
"msd-core/workflows/progress/steps/mvp-display.md",
"msd-core/workflows/quick-batch.md",
"msd-core/workflows/quick-batch/steps/batch-init.md",
"msd-core/workflows/quick-batch/steps/completion.md",
"msd-core/workflows/quick-batch/steps/merge-wave.md",
"msd-core/workflows/quick-batch/steps/plan-checker-loop.md",
"msd-core/workflows/quick-batch/steps/planner-wave.md",
"msd-core/workflows/quick-batch/steps/research-phase.md",
"msd-core/workflows/quick-batch/steps/resume-mode.md",
"msd-core/workflows/quick-batch/steps/verification-wave.md",
"msd-core/workflows/quick-batch/steps/worktree-dispatch.md",
"msd-core/workflows/quick.md",
"msd-core/workflows/quick/steps/discussion-phase.md",
"msd-core/workflows/quick/steps/plan-checker-loop.md",
"msd-core/workflows/quick/steps/quick-verification.md",
"msd-core/workflows/quick/steps/research-phase.md",
"msd-core/workflows/quick/steps/worktree-pre-dispatch-commit.md",
"msd-core/workflows/reapply-patches.md",
"msd-core/workflows/remove-phase.md",
"msd-core/workflows/remove-workspace.md",
"msd-core/workflows/resume-project.md",
"msd-core/workflows/review.md",
"msd-core/workflows/review/steps/reviewer-instances-note-1.md",
"msd-core/workflows/review/steps/reviewer-instances-note-2.md",
"msd-core/workflows/scan.md",
"msd-core/workflows/section-manifest.json",
"msd-core/workflows/secure-phase.md",
"msd-core/workflows/session-report.md",
"msd-core/workflows/settings-advanced.md",
"msd-core/workflows/settings-integrations.md",
"msd-core/workflows/settings.md",
"msd-core/workflows/ship.md",
"msd-core/workflows/sketch-wrap-up.md",
"msd-core/workflows/sketch.md",
"msd-core/workflows/smart-entry.md",
"msd-core/workflows/spec-phase.md",
"msd-core/workflows/spike-wrap-up.md",
"msd-core/workflows/spike.md",
"msd-core/workflows/stats.md",
"msd-core/workflows/sync-skills.md",
"msd-core/workflows/thread.md",
"msd-core/workflows/transition.md",
"msd-core/workflows/transition/steps/workstream-collision-check.md",
"msd-core/workflows/ui-phase.md",
"msd-core/workflows/ui-review.md",
"msd-core/workflows/ultraplan-phase.md",
"msd-core/workflows/undo.md",
"msd-core/workflows/update.md",
"msd-core/workflows/update/steps/channel-banner.md",
"msd-core/workflows/validate-phase.md",
"msd-core/workflows/verify-work.md",
"msd-core/workflows/verify-work/detail/elaboration.md",
"msd-core/workflows/verify-work/steps/automated-ui-verification.md",
"msd-core/workflows/verify-work/steps/mvp-uat-framing.md",
"msd-hooks/lib/cli-exit.js",
"msd-hooks/lib/cursor-workspace.js",
"msd-hooks/lib/dispatch-identity.js",
"msd-hooks/lib/exit-code-registry.js",
"msd-hooks/lib/filename-classification.js",
"msd-hooks/lib/git-cmd.js",
"msd-hooks/lib/git-probe.js",
"msd-hooks/lib/hook-exit.js",
"msd-hooks/lib/injection-patterns.js",
"msd-hooks/lib/isolation-deny-reason.js",
"msd-hooks/lib/isolation-sentinel.js",
"msd-hooks/lib/msd-graphify-rebuild.sh",
"msd-hooks/managed-hooks-registry.cjs",
"msd-hooks/msd-agent-isolation-guard.js",
"msd-hooks/msd-check-update-worker.js",
"msd-hooks/msd-check-update.js",
"msd-hooks/msd-config-reload.js",
"msd-hooks/msd-context-monitor.js",
"msd-hooks/msd-cursor-post-tool.js",
"msd-hooks/msd-cursor-pre-tool.js",
"msd-hooks/msd-cursor-session-start.js",
"msd-hooks/msd-cursor-stop.js",
"msd-hooks/msd-cursor-subagent-start.js",
"msd-hooks/msd-cursor-subagent-stop.js",
"msd-hooks/msd-ensure-canonical-path.js",
"msd-hooks/msd-graphify-update.sh",
"msd-hooks/msd-node-runner.sh",
"msd-hooks/msd-phase-boundary.sh",
"msd-hooks/msd-prompt-guard.js",
"msd-hooks/msd-read-guard.js",
"msd-hooks/msd-read-injection-scanner.js",
"msd-hooks/msd-secret-read-guard.js",
"msd-hooks/msd-session-state.sh",
"msd-hooks/msd-statusline.js",
"msd-hooks/msd-update-banner.js",
"msd-hooks/msd-validate-commit.sh",
"msd-hooks/msd-windsurf-pre-command.js",
"msd-hooks/msd-windsurf-pre-write.js",
"msd-hooks/msd-workflow-guard.js",
"msd-hooks/msd-worktree-path-guard.js",
"msd-hooks/msd-write-guard.js",
"msd-hooks/package.json",
"scripts/changeset/README.md",
"scripts/changeset/cli.cjs",
"scripts/changeset/github-release-notes.cjs",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -1,5 +1,5 @@
---
name: gsd:bar-baz
name: msd:bar-baz
description: Test fixture command bar-baz with hyphen
---
Body text.

View File

@@ -1,5 +1,5 @@
---
name: gsd:foo
name: msd:foo
description: Test fixture command foo
---
Body text.

View File

@@ -1,12 +1,12 @@
'use strict';
/**
* Reference pi host-plugin for GSD (ADR-1239 Phase D / #1682 Slice 3).
* Reference pi host-plugin for MSD (ADR-1239 Phase D / #1682 Slice 3).
*
* pi (pi.dev) is a Programmatic-CLI host whose TS extensions implement the
* ExtensionAPI (`@earendil-works/pi-coding-agent`): registerTool /
* registerCommand / registerShortcut / registerFlag / pi.on(event, …). This
* reference plugin binds GSD's command + tool + event surface to pi via the
* reference plugin binds MSD's command + tool + event surface to pi via the
* IMPERATIVE adapter path — the programmatic-cli peer of the OpenCode worked
* binding.
*
@@ -16,42 +16,42 @@
*
* #2102 Stage 2: registerCommand takes `handler(args, ctx)` (args is the raw
* string after the command) — NOT `execute(ctx)`, which the original #1682
* cut used. gsd_invoke's `execute` takes pi's real 5-arg tool-execute
* signature `(toolCallId, params, signal, onUpdate, ctx)`. See pi/gsd.cjs for
* cut used. msd_invoke's `execute` takes pi's real 5-arg tool-execute
* signature `(toolCallId, params, signal, onUpdate, ctx)`. See pi/msd.cjs for
* the full production binding this reference fixture mirrors.
*
* NOTE: this is the reference binding that proves the ExtensionAPI imperative
* adapter (#1682 AC), kept as a mock-friendly fixture independent of the real
* `pi/gsd.cjs` extension. Full `--pi` installable-runtime integration
* `pi/msd.cjs` extension. Full `--pi` installable-runtime integration
* (descriptor + installer wiring + golden parity 16→17) shipped in #2102
* Stage 1 — see capabilities/pi/capability.json and
* tests/fixtures/golden-install-parity/pi.json.
*
* @param {object} pi pi ExtensionAPI (registerTool/registerCommand/on/…)
*/
module.exports = function gsdPiPlugin(pi) {
module.exports = function msdPiPlugin(pi) {
if (!pi || typeof pi !== 'object') {
throw new TypeError('gsdPiPlugin: pi ExtensionAPI is required');
throw new TypeError('msdPiPlugin: pi ExtensionAPI is required');
}
// Command surface: `/gsd` invokes the GSD command-routing hub via the
// Command surface: `/msd` invokes the MSD command-routing hub via the
// imperative adapter (createImperativeAdapter({runtime:'pi'}) + dispatch).
pi.registerCommand('gsd', {
description: 'Invoke a GSD command via the embedded engine (imperative adapter).',
pi.registerCommand('msd', {
description: 'Invoke a MSD command via the embedded engine (imperative adapter).',
handler: async function (args, ctx) {
void args;
void ctx;
// Engine dispatch is wired by the host at load (createImperativeAdapter).
// Kept declarative in the reference; the real binding (pi/gsd.cjs)
// dispatches through gsd-tools.cjs via dispatchGsdCommand.
// Kept declarative in the reference; the real binding (pi/msd.cjs)
// dispatches through msd-tools.cjs via dispatchMsdCommand.
},
});
// Tool surface: a `gsd_invoke` tool mirroring the companion-MCP tool surface
// (interface point 1) so the model can call GSD commands programmatically.
// Tool surface: a `msd_invoke` tool mirroring the companion-MCP tool surface
// (interface point 1) so the model can call MSD commands programmatically.
pi.registerTool({
name: 'gsd_invoke',
description: 'Invoke a GSD command family/subcommand through the engine.',
name: 'msd_invoke',
description: 'Invoke a MSD command family/subcommand through the engine.',
execute: async function (toolCallId, params, signal, onUpdate, ctx) {
void toolCallId;
void params;
@@ -63,8 +63,8 @@ module.exports = function gsdPiPlugin(pi) {
});
// Event surface: observe tool calls — the pi subset hook surface (peer of the
// OpenCode opencode-subset). Attachment point for the GSD hook bridge.
// OpenCode opencode-subset). Attachment point for the MSD hook bridge.
pi.on('tool_call', async function /* event */ () {
/* GSD hook bridge attachment point (PreToolUse/PostToolUse mapping). */
/* MSD hook bridge attachment point (PreToolUse/PostToolUse mapping). */
});
};

View File

@@ -2,7 +2,7 @@
Every fixture in this tree is **verbatim** (or, where noted, a minimal
faithful subset) of an artifact that a real user actually produced and
reported against a real GSD gate. None of it was written by a gate's own
reported against a real MSD gate. None of it was written by a gate's own
author to exercise that gate.
## Why this directory exists, and why `tests/fixtures/adversarial/` isn't enough
@@ -59,12 +59,12 @@ This is deliberately NOT node:test's `todo` option. `todo` looked like the
right tool — a todo test executes and reports its failure without
affecting Node's own process exit code
(https://nodejs.org/api/test.html#test-options) — but this repo's actual
test-runner (`gsd-test` / `gsd-test-runner` v1.6.2) has no concept of it:
test-runner (`msd-test` / `msd-test-runner` v1.6.2) has no concept of it:
its JSONL result parser (`internal/pipeline/parse.go`'s `parseJSONL`, in
the separate `gsd-test-runner` repo) only recognizes `kind: "pass" | "fail"`
the separate `msd-test-runner` repo) only recognizes `kind: "pass" | "fail"`
and hard-errors on anything else — verified directly against that source,
not assumed. A `{ todo: true }` test whose body throws is still counted as
a real failure in `gsd-test`'s own verdict, which would block the push
a real failure in `msd-test`'s own verdict, which would block the push
gate exactly as if it weren't marked todo at all.
Asserting `currentBuggyOutput` sidesteps this because the test genuinely

View File

@@ -21,7 +21,7 @@
{
"file": "non-integration-assertion.txt",
"expectedDetected": false,
"note": "This line explicitly ASSERTS non-integration ('no new command/dependency') and is still read as an integration signal in the real $gsd-verify-work occurrence this was drawn from — but in isolation it already returned detected:false before #2365 (the multi-signal real occurrence needed the OTHER lines' signals to trip the gate). Included for corpus completeness."
"note": "This line explicitly ASSERTS non-integration ('no new command/dependency') and is still read as an integration signal in the real $msd-verify-work occurrence this was drawn from — but in isolation it already returned detected:false before #2365 (the multi-signal real occurrence needed the OTHER lines' signals to trip the gate). Included for corpus completeness."
}
]
}

View File

@@ -1,6 +1,6 @@
# Audit-UAT fixtures (#2286, fixed by #2317)
Verbatim reproduction files from #2286, driven through `gsd-tools
Verbatim reproduction files from #2286, driven through `msd-tools
audit-uat --raw` (the real CLI gate) rather than `parseUatItems` /
`parseVerificationItems` called in isolation.

View File

@@ -3,7 +3,7 @@
/**
* Thin re-export of the SHIPPED VS Code host binding (#2103).
*
* `bindGsdToVscode` moved to `vscode/host-binding.js` (the module the real
* `bindMsdToVscode` moved to `vscode/host-binding.js` (the module the real
* extension's `activate()` requires) so it ships with the extension instead of
* living only under tests/. This fixture re-exports it so every existing test
* that requires `./fixtures/vscode-host-binding.cjs` keeps resolving without