chore(#604): rename get-shit-done/ runtime directory to gsd-core/ (#615)

* chore(#604): rename get-shit-done/ runtime directory to gsd-core/

Renames the installed runtime directory `get-shit-done/` to `gsd-core/` so the
on-disk name matches the package (`@opengsd/gsd-core`), repo, and binary
(`gsd-tools`). The npm package name and binary are unchanged; npx/npm consumers
are unaffected.

Mechanical (bulk, ~90% of the diff):
- `git mv get-shit-done gsd-core`
- Swept path/identifier references across the repo via
  `perl -pe 's/get-shit-done(?!-\w)/gsd-core/g'`. The negative lookahead
  preserves the five legitimate slug variants that are NOT the directory:
  get-shit-done-{OLD,cc,classic,cli,redux} (old package/repo names).
- Build/manifest wiring: package.json (bin, files, coverage globs),
  tsconfig.build.json (outDir), ~86 .gitignore build-output entries,
  stryker.config.mjs, scan-ignore files, install.js path strings.
- Frozen (not rewritten): CHANGELOG.md history; translated docs
  (README.<locale>.md and docs/{ja-JP,ko-KR,pt-BR,zh-CN}/).

New logic (review here):
- src/installer-migrations/003-rename-get-shit-done-to-gsd-core.cts: a proper
  ADR-0008 installer migration. On upgrade it walks the legacy
  `~/.claude/get-shit-done/` tree, classifies each file via the prior install
  manifest, and emits remove-managed / backup-and-remove for managed files
  while PRESERVING unknown user-added files. Symlink-safe (skips a symlinked
  root and symlinked entries; bounds-checks every path under configDir). The
  framework rolls back on install failure. Emptied dirs may remain (framework
  has no recursive dir-removal primitive) — documented.
- scripts/lint-legacy-dir-name.cjs: CI regression guard forbidding the bare
  `get-shit-done` directory token (split token to avoid self-match; case-
  insensitive; `(?!-\w)` lookahead allows the slug variants; allowlists
  CHANGELOG, translated docs, and `gsd-allow-legacy-name` marker lines).
  Wired into the lint-tests CI job.
- Restored scripts/lint-package-identity-drift.cjs detection regexes (the
  mechanical sweep had wrongly rewritten the old-name patterns it exists to
  detect) and marked them as intentional legacy references.
- TDD tests for the migration and the guard; do.md slash-command guard regex
  tightened so a `/gsd-core/bin` path segment is not mistaken for a command;
  changeset + docs/installer-migrations.md row added.

Breaking: the installed runtime path moves `~/.claude/get-shit-done/` ->
`~/.claude/gsd-core/`. Migration 003 removes the stale legacy dir's managed
files (preserving user files) on upgrade. Users with custom hooks/configs
hardcoding the old path must update them.

Closes #604

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix(#604): unsweep pending changesets + allowlist injection-example docs

CI fixes for the rename PR:
- Do not sweep pending .changeset/*.md (ephemeral release-note fragments,
  like CHANGELOG); reverted those body edits so 5 pre-existing malformed
  fragments (missing type/pr) no longer enter the PR diff and trip docs-lint.
  Allowlisted .changeset/ in the legacy-name guard accordingly.
- Allowlisted TEST-EXAMPLES.md and docs/explanation/security-model.md in
  prompt-injection-scan.sh: they contain intentional injection examples /
  security-model prose; the path-reference rewrites are kept.

CodeQL alerts on this PR are pre-existing (alert lines unchanged by this PR;
none in the new migration/guard) and are out of scope for the rename.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix(#604): resolve CodeQL alerts surfaced on this PR

The rename diff touched files carrying pre-existing CodeQL findings; per the
no-pre-existing-dismissal rule, fixing every surfaced alert rather than waving
them off. All behavior-preserving:

- scripts/ci-test-scope.cjs: build the config-path match from string
  .includes() instead of a RegExp over an arg-derived value (js/regex-injection).
- src/profile-output.cts: escape backslashes before pipe-escaping desc/safeName
  so the table-cell escape is complete (js/incomplete-sanitization).
- tests/{bug-2643,bug-2808,docs-parity-live-registry}: two-pass HTML-comment
  strip so a bare/unclosed `<!--` cannot survive (js/incomplete-multi-character-sanitization).
- tests/inline-plan-threshold: drop the no-op `\s`->`\s` identity replace,
  keep the meaningful POSIX-class conversion (js/identity-replacement).

Verified: build:lib green; the touched test files + ci-test-scope + profile-output
suites pass; lint:legacy-name clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix(#604): correctly resolve remaining CodeQL alerts (regex-injection + sanitization)

The prior commit's fixes for two alerts were ineffective:
- ci-test-scope.cjs js/regex-injection: the alert is the CLI-arg-derived `file`
  reaching static regex `.test(file)` calls (not the config rule). Removed ALL
  regex over file/t — startsWith/includes/=== string checks + an isWindowsHint
  helper — so there is no regex sink for the tainted value.
- js/incomplete-multi-character-sanitization (3 test files): a single
  `.replace(/<!--...-->/g,'')` can let `<!--` re-form. Replaced with a fixpoint
  loop (replace until stable) plus a final bare-opener strip.

Verified: no regex over file/t remains; ci-test-scope + the 3 test suites pass;
lint:legacy-name clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix(#604): make ci-test-scope + comment-strippers regex-free to clear CodeQL

CodeQL flags the regex PATTERNS syntactically (regex-injection on the
--files arg split; incomplete-multi-character-sanitization on the <!--...-->
replace), so loop fixes do not satisfy it. Made these paths regex-free:
- ci-test-scope.cjs splitFiles: char-by-char separator tokenizer (no /[,\\s]+/).
- 3 test files: indexOf/slice HTML-comment stripper (no .replace(/<!--/)).
Behavior preserved; ci-test-scope + the 3 suites pass; guard clean.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix(#604): unblock security base64 scan on the large rename diff

The security job hit its 10m timeout: base64-scan.sh choked on the binary
test fixture tests/feat-3594-parser-property-style.test.cjs (embedded NUL/
non-UTF8 bytes -> thousands of bogus blobs + "ignored null byte" warnings),
and the ~800-file rename diff is slow to scan regardless.

- scripts/base64-scan.sh: skip binary-by-content files (grep -Iq .) — they
  can't carry base64-obfuscated *text* and feeding NUL bytes through the
  per-line scanner is pathologically slow. collect_files already filtered
  binary *extensions*; this catches binary *content* in text extensions.
- .github/workflows/security-scan.yml: raise the security job timeout 10m->30m
  to accommodate very large diffs (the scan itself is unchanged).

Verified locally: scan skips the fixture, 0 "ignored null byte" warnings,
0 findings, exit 0.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix(#604): sweep get-shit-done refs introduced by merging next

The branch was updated with next (#614/#384/#618 etc.), which reference the
get-shit-done/ dir (still named that on next). Swept the stale references in
the merged files to gsd-core so the rename stays consistent and lint:legacy-name
passes:
- commands/gsd/discuss-phase.md (runtime-launcher shim paths)
- src/core.cts (getAgentsDir layout comments)
- tests/bug-384-agents-runtime-aware.test.cjs (require path to runtime lib)

Verified: guard 0 violations; build green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix(#604): exclude gsd-core/ path segments from bug-3683 command cross-ref invariant

The #614 runtime-launcher shim added to discuss-phase.md references
`${_GSD_RUNTIME_ROOT}/gsd-core/bin/...`. bug-3683's REF_PATTERN excluded path-y
refs only via lookbehind, but `}` precedes `/gsd-core/` in the shim, so it
mis-read the directory path as a dangling `/gsd-core` command ref (same class as
the #604 bug-2954 fix). Added a trailing `(?![\w-]*\/)` so `/gsd-<x>/...` path
segments are not treated as slash-command references.

Verified locally on BOTH platforms before pushing:
- mac (node 26) full suite: 0 failures
- gsd-test-runner (linux, node22 image) full suite: 0 failures
- bug-3683 + bug-2954 pass.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix(#604): lazily resolve findProjectRoot in gsd-tools (harden flaky CI)

CI intermittently failed state.test's gsd-tools subprocess with
"findProjectRoot is not a function" (flip-flopping across legs; not reproducible
on mac full suite, gsd-test linux full suite, test:unit, or state.test x8).
findProjectRoot is a re-export from core.cjs (sourced from project-root.cjs);
binding it via destructure at module-load can be undefined under a load-ordering
edge. Resolve it lazily at call time via a small wrapper so the lookup happens
after core.cjs is fully initialized.

Verified green on BOTH platforms before pushing:
- mac (node 26) full suite: 0 failures
- gsd-test-runner (linux, node22) full suite: 0 failures
- state.test.cjs: 106/106; gsd-tools loads cleanly.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* fix(#604): allowlist verification-patterns.md placeholder examples in secret scan

The rename git-mv'd references/verification-patterns.md into gsd-core/, pulling
it into the secret-scan diff. It documents stub/placeholder RED-FLAG env-var
examples (illustrative Stripe test-key / database-URL / API-key placeholders) —
not real credentials. Added it to .secretscanignore with the strict annotation,
mirroring the existing gsd-core/workflows/plan-phase.md exception.

Verified locally: secret-scan-lint --strict OK; secret-scan --diff origin/next
exits 0 with 0 findings.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Tom Boucher
2026-06-02 18:35:29 -04:00
committed by GitHub
parent b177c1704f
commit 463cffd894
845 changed files with 3316 additions and 2373 deletions

View File

@@ -26,7 +26,7 @@ Output: Test files committed with message `test(phase-{N}): add unit and E2E tes
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/add-tests.md
@~/.claude/gsd-core/workflows/add-tests.md
</execution_context>
<context>

View File

@@ -22,9 +22,9 @@ Flow: Select Framework → Research Docs → Research Domain → Design Eval Str
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/ai-integration-phase.md
@~/.claude/get-shit-done/references/ai-frameworks.md
@~/.claude/get-shit-done/references/ai-evals.md
@~/.claude/gsd-core/workflows/ai-integration-phase.md
@~/.claude/gsd-core/references/ai-frameworks.md
@~/.claude/gsd-core/references/ai-evals.md
</execution_context>
<context>

View File

@@ -26,7 +26,7 @@ Flags:
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/audit-fix.md
@~/.claude/gsd-core/workflows/audit-fix.md
</execution_context>
<process>

View File

@@ -18,7 +18,7 @@ Verify milestone achieved its definition of done. Check requirements coverage, c
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/audit-milestone.md
@~/.claude/gsd-core/workflows/audit-milestone.md
</execution_context>
<context>

View File

@@ -12,7 +12,7 @@ Scan all phases for pending, skipped, blocked, and human_needed UAT items. Cross
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/audit-uat.md
@~/.claude/gsd-core/workflows/audit-uat.md
</execution_context>
<context>

View File

@@ -26,8 +26,8 @@ Uses ROADMAP.md phase discovery and Skill() flat invocations for each phase comm
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/autonomous.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/gsd-core/workflows/autonomous.md
@~/.claude/gsd-core/references/ui-brand.md
</execution_context>
<context>

View File

@@ -36,12 +36,12 @@ Mode routing:
</routing>
<execution_context>
@~/.claude/get-shit-done/workflows/add-todo.md
@~/.claude/get-shit-done/workflows/note.md
@~/.claude/get-shit-done/workflows/add-backlog.md
@~/.claude/get-shit-done/workflows/plant-seed.md
@~/.claude/get-shit-done/workflows/check-todos.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/gsd-core/workflows/add-todo.md
@~/.claude/gsd-core/workflows/note.md
@~/.claude/gsd-core/workflows/add-backlog.md
@~/.claude/gsd-core/workflows/plant-seed.md
@~/.claude/gsd-core/workflows/check-todos.md
@~/.claude/gsd-core/references/ui-brand.md
</execution_context>
<context>

View File

@@ -15,7 +15,7 @@ Use when `.planning/phases/` has accumulated directories from past milestones.
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/cleanup.md
@~/.claude/gsd-core/workflows/cleanup.md
</execution_context>
<process>

View File

@@ -31,7 +31,7 @@ Output: {padded_phase}-REVIEW.md in phase directory + inline summary of findings
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/code-review.md
@~/.claude/gsd-core/workflows/code-review.md
</execution_context>
<context>

View File

@@ -20,8 +20,8 @@ Output: Milestone archived (roadmap + requirements), PROJECT.md evolved, git tag
<execution_context>
**Load these files NOW (before proceeding):**
- @~/.claude/get-shit-done/workflows/complete-milestone.md (main workflow)
- @~/.claude/get-shit-done/templates/milestone-archive.md (archive template)
- @~/.claude/gsd-core/workflows/complete-milestone.md (main workflow)
- @~/.claude/gsd-core/templates/milestone-archive.md (archive template)
</execution_context>
<context>

View File

@@ -32,9 +32,9 @@ Mode routing:
</routing>
<execution_context>
@~/.claude/get-shit-done/workflows/settings.md
@~/.claude/get-shit-done/workflows/settings-advanced.md
@~/.claude/get-shit-done/workflows/settings-integrations.md
@~/.claude/gsd-core/workflows/settings.md
@~/.claude/gsd-core/workflows/settings-advanced.md
@~/.claude/gsd-core/workflows/settings-integrations.md
</execution_context>
<context>

View File

@@ -28,7 +28,7 @@ Valid GSD subagent types (use exact names — do not fall back to 'general-purpo
</available_agent_types>
<execution_context>
@~/.claude/get-shit-done/workflows/debug.md
@~/.claude/gsd-core/workflows/debug.md
</execution_context>
<context>

View File

@@ -47,19 +47,19 @@ Context files are resolved in-workflow using `init phase-op` and roadmap/state t
<process>
**Mode routing:**
```bash
_GSD_SHIM_NAME="gsd-tools.cjs"; _GSD_RUNTIME_ROOT="${RUNTIME_DIR:-$(git rev-parse --show-toplevel 2>/dev/null || pwd)}"; GSD_TOOLS="${_GSD_RUNTIME_ROOT}/get-shit-done/bin/${_GSD_SHIM_NAME}"; if [ -f "$GSD_TOOLS" ]; then gsd_run() { node "$GSD_TOOLS" "$@"; }; elif [ -f "${_GSD_RUNTIME_ROOT}/.claude/get-shit-done/bin/${_GSD_SHIM_NAME}" ]; then GSD_TOOLS="${_GSD_RUNTIME_ROOT}/.claude/get-shit-done/bin/${_GSD_SHIM_NAME}"; gsd_run() { node "$GSD_TOOLS" "$@"; }; elif command -v gsd-tools >/dev/null 2>&1; then GSD_TOOLS="$(command -v gsd-tools)"; gsd_run() { "$GSD_TOOLS" "$@"; }; elif [ -f "$HOME/.claude/get-shit-done/bin/${_GSD_SHIM_NAME}" ]; then GSD_TOOLS="$HOME/.claude/get-shit-done/bin/${_GSD_SHIM_NAME}"; gsd_run() { node "$GSD_TOOLS" "$@"; }; else echo "ERROR: gsd-tools.cjs not found at $GSD_TOOLS and gsd-tools is not on PATH. Run: npx -y @opengsd/gsd-core@latest --claude --local" >&2; exit 1; fi
_GSD_SHIM_NAME="gsd-tools.cjs"; _GSD_RUNTIME_ROOT="${RUNTIME_DIR:-$(git rev-parse --show-toplevel 2>/dev/null || pwd)}"; GSD_TOOLS="${_GSD_RUNTIME_ROOT}/gsd-core/bin/${_GSD_SHIM_NAME}"; if [ -f "$GSD_TOOLS" ]; then gsd_run() { node "$GSD_TOOLS" "$@"; }; elif [ -f "${_GSD_RUNTIME_ROOT}/.claude/gsd-core/bin/${_GSD_SHIM_NAME}" ]; then GSD_TOOLS="${_GSD_RUNTIME_ROOT}/.claude/gsd-core/bin/${_GSD_SHIM_NAME}"; gsd_run() { node "$GSD_TOOLS" "$@"; }; elif command -v gsd-tools >/dev/null 2>&1; then GSD_TOOLS="$(command -v gsd-tools)"; gsd_run() { "$GSD_TOOLS" "$@"; }; elif [ -f "$HOME/.claude/gsd-core/bin/${_GSD_SHIM_NAME}" ]; then GSD_TOOLS="$HOME/.claude/gsd-core/bin/${_GSD_SHIM_NAME}"; gsd_run() { node "$GSD_TOOLS" "$@"; }; else echo "ERROR: gsd-tools.cjs not found at $GSD_TOOLS and gsd-tools is not on PATH. Run: npx -y @opengsd/gsd-core@latest --claude --local" >&2; exit 1; fi
DISCUSS_MODE=$(gsd_run query config-get workflow.discuss_mode 2>/dev/null || echo "discuss")
```
If `--assumptions` is in $ARGUMENTS:
Read and execute `~/.claude/get-shit-done/workflows/list-phase-assumptions.md` end-to-end.
Read and execute `~/.claude/gsd-core/workflows/list-phase-assumptions.md` end-to-end.
Stop here.
Otherwise, if `DISCUSS_MODE` is `"assumptions"`:
Read and execute `~/.claude/get-shit-done/workflows/discuss-phase-assumptions.md` end-to-end.
Read and execute `~/.claude/gsd-core/workflows/discuss-phase-assumptions.md` end-to-end.
Otherwise (`"discuss"` / unset / any other value):
Read and execute `~/.claude/get-shit-done/workflows/discuss-phase.md` end-to-end.
Read and execute `~/.claude/gsd-core/workflows/discuss-phase.md` end-to-end.
**MANDATORY:** Read the appropriate workflow file BEFORE taking any action. The objective and success_criteria sections in this command file are summaries — the workflow file contains the complete step-by-step process with all required behaviors, config checks, and interaction patterns. Do not improvise from the summary.

View File

@@ -26,7 +26,7 @@ Flag handling rule:
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/docs-update.md
@~/.claude/gsd-core/workflows/docs-update.md
</execution_context>
<context>

View File

@@ -19,8 +19,8 @@ Produces EVAL-REVIEW.md with score, verdict, gaps, and remediation plan.
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/eval-review.md
@~/.claude/get-shit-done/references/ai-evals.md
@~/.claude/gsd-core/workflows/eval-review.md
@~/.claude/gsd-core/references/ai-evals.md
</execution_context>
<context>

View File

@@ -32,8 +32,8 @@ Context budget: ~15% orchestrator, 100% fresh per subagent.
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/execute-phase.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/gsd-core/workflows/execute-phase.md
@~/.claude/gsd-core/references/ui-brand.md
</execution_context>
<runtime_note>

View File

@@ -19,7 +19,7 @@ Accepts an optional topic argument: `/gsd:explore authentication strategy`
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/explore.md
@~/.claude/gsd-core/workflows/explore.md
</execution_context>
<process>

View File

@@ -17,7 +17,7 @@ Extract structured learnings from completed phase artifacts (PLAN.md, SUMMARY.md
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/extract-learnings.md
@~/.claude/gsd-core/workflows/extract-learnings.md
</execution_context>
Execute the extract-learnings workflow from @~/.claude/get-shit-done/workflows/extract-learnings.md end-to-end.
Execute the extract-learnings workflow from @~/.claude/gsd-core/workflows/extract-learnings.md end-to-end.

View File

@@ -23,7 +23,7 @@ you could describe in one sentence and execute in under 2 minutes.
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/fast.md
@~/.claude/gsd-core/workflows/fast.md
</execution_context>
<process>

View File

@@ -20,7 +20,7 @@ Output: Forensic report saved to `.planning/forensics/`, presented inline, with
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/forensics.md
@~/.claude/gsd-core/workflows/forensics.md
</execution_context>
<context>

View File

@@ -10,7 +10,7 @@ requires: [config, fast, phase, update]
**STOP -- DO NOT READ THIS FILE. You are already reading it. This prompt was injected into your context by Claude Code's command system. Using the Read tool on this file wastes tokens. Begin executing Step 0 immediately.**
**CJS-only (graphify):** `graphify` subcommands are not registered on `gsd-tools query`. Use `node $HOME/.claude/get-shit-done/bin/gsd-tools.cjs graphify …` as documented in this command and in `docs/CLI-TOOLS.md`. Other tooling may still use `gsd-tools query` where a handler exists.
**CJS-only (graphify):** `graphify` subcommands are not registered on `gsd-tools query`. Use `node $HOME/.claude/gsd-core/bin/gsd-tools.cjs graphify …` as documented in this command and in `docs/CLI-TOOLS.md`. Other tooling may still use `gsd-tools query` where a handler exists.
## Step 0 -- Banner
@@ -41,7 +41,7 @@ GSD > GRAPHIFY
Knowledge graph is disabled. To activate:
node $HOME/.claude/get-shit-done/bin/gsd-tools.cjs config-set graphify.enabled true
node $HOME/.claude/gsd-core/bin/gsd-tools.cjs config-set graphify.enabled true
Then run /gsd:graphify build to create the initial graph.
```
@@ -79,7 +79,7 @@ Modes:
Run:
```bash
node $HOME/.claude/get-shit-done/bin/gsd-tools.cjs graphify query <term>
node $HOME/.claude/gsd-core/bin/gsd-tools.cjs graphify query <term>
```
Parse the JSON output and display results:
@@ -95,7 +95,7 @@ Parse the JSON output and display results:
Run:
```bash
node $HOME/.claude/get-shit-done/bin/gsd-tools.cjs graphify status
node $HOME/.claude/gsd-core/bin/gsd-tools.cjs graphify status
```
Parse the JSON output and display:
@@ -119,7 +119,7 @@ Surface both so the agent can choose.
Run:
```bash
node $HOME/.claude/get-shit-done/bin/gsd-tools.cjs graphify diff
node $HOME/.claude/gsd-core/bin/gsd-tools.cjs graphify diff
```
Parse the JSON output and display:
@@ -137,7 +137,7 @@ If no snapshot exists, suggest running `build` twice (first to create, second to
Run the pre-flight check first:
```bash
node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" graphify build
node "$HOME/.claude/gsd-core/bin/gsd-tools.cjs" graphify build
```
Parse the JSON output:
@@ -160,8 +160,8 @@ graphify update . \
&& cp graphify-out/graph.json .planning/graphs/graph.json \
&& cp graphify-out/graph.html .planning/graphs/graph.html \
&& cp graphify-out/GRAPH_REPORT.md .planning/graphs/GRAPH_REPORT.md \
&& node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" graphify build snapshot \
&& node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" graphify status
&& node "$HOME/.claude/gsd-core/bin/gsd-tools.cjs" graphify build snapshot \
&& node "$HOME/.claude/gsd-core/bin/gsd-tools.cjs" graphify status
```
Do NOT pass `run_in_background: true`. Typical builds complete in 15-60 seconds and the entire chain must run foreground.

View File

@@ -22,7 +22,7 @@ Validate `.planning/` directory integrity and report actionable issues. Checks f
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/health.md
@~/.claude/gsd-core/workflows/health.md
</execution_context>
<process>

View File

@@ -16,7 +16,7 @@ Output ONLY the reference content of the chosen tier. Do NOT add:
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/help.md
@~/.claude/gsd-core/workflows/help.md
</execution_context>
<context>
@@ -24,5 +24,5 @@ Arguments: $ARGUMENTS
</context>
<process>
Follow ~/.claude/get-shit-done/workflows/help.md with $ARGUMENTS.
Follow ~/.claude/gsd-core/workflows/help.md with $ARGUMENTS.
</process>

View File

@@ -21,10 +21,10 @@ Import external plan files into the GSD planning system with conflict detection
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/import.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/get-shit-done/references/gate-prompts.md
@~/.claude/get-shit-done/references/doc-conflict-engine.md
@~/.claude/gsd-core/workflows/import.md
@~/.claude/gsd-core/references/ui-brand.md
@~/.claude/gsd-core/references/gate-prompts.md
@~/.claude/gsd-core/references/doc-conflict-engine.md
</execution_context>
<context>
@@ -33,7 +33,7 @@ $ARGUMENTS
<process>
If `--from-gsd2` is in $ARGUMENTS:
Run: `node "$HOME/.claude/get-shit-done/bin/gsd-tools.cjs" from-gsd2`
Run: `node "$HOME/.claude/gsd-core/bin/gsd-tools.cjs" from-gsd2`
Pass `--path <dir>` if provided. Present the migration result to the user.
Stop here (do not run the standard import workflow).

View File

@@ -21,7 +21,7 @@ and optionally applies labels or closes non-compliant submissions.
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/inbox.md
@~/.claude/gsd-core/workflows/inbox.md
</execution_context>
<context>

View File

@@ -27,10 +27,10 @@ Auto-synthesizes most conflicts using the precedence rule `ADR > SPEC > PRD > DO
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/ingest-docs.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/get-shit-done/references/gate-prompts.md
@~/.claude/get-shit-done/references/doc-conflict-engine.md
@~/.claude/gsd-core/workflows/ingest-docs.md
@~/.claude/gsd-core/references/ui-brand.md
@~/.claude/gsd-core/references/gate-prompts.md
@~/.claude/gsd-core/references/doc-conflict-engine.md
</execution_context>
<context>

View File

@@ -26,8 +26,8 @@ Designed for power users who want to parallelize work across phases from one ter
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/manager.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/gsd-core/workflows/manager.md
@~/.claude/gsd-core/references/ui-brand.md
</execution_context>
<context>
@@ -38,7 +38,7 @@ Project context, phase list, dependencies, and recommendations are resolved insi
<process>
If `--analyze-deps` is in $ARGUMENTS:
Read and execute `~/.claude/get-shit-done/workflows/analyze-dependencies.md` end-to-end.
Read and execute `~/.claude/gsd-core/workflows/analyze-dependencies.md` end-to-end.
Execute end-to-end.
Maintain the dashboard refresh loop until the user exits or all phases complete.

View File

@@ -21,7 +21,7 @@ Output: .planning/codebase/ folder with 7 structured documents about the codebas
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/map-codebase.md
@~/.claude/gsd-core/workflows/map-codebase.md
</execution_context>
<flags>

View File

@@ -19,7 +19,7 @@ Output: MILESTONE_SUMMARY written to `.planning/reports/`, presented inline, opt
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/milestone-summary.md
@~/.claude/gsd-core/workflows/milestone-summary.md
</execution_context>
<context>

View File

@@ -24,9 +24,9 @@ Phase 1 of the vertical-mvp-slice PRD shipped the planner-side machinery; this c
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/mvp-phase.md
@~/.claude/get-shit-done/references/spidr-splitting.md
@~/.claude/get-shit-done/references/user-story-template.md
@~/.claude/gsd-core/workflows/mvp-phase.md
@~/.claude/gsd-core/references/spidr-splitting.md
@~/.claude/gsd-core/references/user-story-template.md
</execution_context>
<runtime_note>
@@ -40,6 +40,6 @@ The phase must already exist in ROADMAP.md (created via `/gsd new-project`, `/gs
</context>
<process>
Execute the mvp-phase workflow from @~/.claude/get-shit-done/workflows/mvp-phase.md end-to-end.
Execute the mvp-phase workflow from @~/.claude/gsd-core/workflows/mvp-phase.md end-to-end.
Preserve all gates: phase existence, status guard (refuse in_progress/completed), user-story format validation, SPIDR splitting check, ROADMAP write confirmation, plan-phase delegation.
</process>

View File

@@ -26,11 +26,11 @@ Brownfield equivalent of new-project. Project exists, PROJECT.md has history. Ga
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/new-milestone.md
@~/.claude/get-shit-done/references/questioning.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/get-shit-done/templates/project.md
@~/.claude/get-shit-done/templates/requirements.md
@~/.claude/gsd-core/workflows/new-milestone.md
@~/.claude/gsd-core/references/questioning.md
@~/.claude/gsd-core/references/ui-brand.md
@~/.claude/gsd-core/templates/project.md
@~/.claude/gsd-core/templates/requirements.md
</execution_context>
<context>

View File

@@ -34,11 +34,11 @@ Initialize a new project through unified flow: questioning → research (optiona
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/new-project.md
@~/.claude/get-shit-done/references/questioning.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/get-shit-done/templates/project.md
@~/.claude/get-shit-done/templates/requirements.md
@~/.claude/gsd-core/workflows/new-project.md
@~/.claude/gsd-core/references/questioning.md
@~/.claude/gsd-core/references/ui-brand.md
@~/.claude/gsd-core/templates/project.md
@~/.claude/gsd-core/templates/requirements.md
</execution_context>
<process>

View File

@@ -21,7 +21,7 @@ Routes to the pause-work workflow which handles:
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/pause-work.md
@~/.claude/gsd-core/workflows/pause-work.md
</execution_context>
<context>
@@ -30,7 +30,7 @@ State and phase progress are gathered in-workflow with targeted reads.
<process>
If `--report` is in $ARGUMENTS:
Read and execute `~/.claude/get-shit-done/workflows/session-report.md` end-to-end.
Read and execute `~/.claude/gsd-core/workflows/session-report.md` end-to-end.
**Follow the pause-work workflow**.

View File

@@ -31,10 +31,10 @@ Mode routing:
</routing>
<execution_context>
@~/.claude/get-shit-done/workflows/add-phase.md
@~/.claude/get-shit-done/workflows/insert-phase.md
@~/.claude/get-shit-done/workflows/remove-phase.md
@~/.claude/get-shit-done/workflows/edit-phase.md
@~/.claude/gsd-core/workflows/add-phase.md
@~/.claude/gsd-core/workflows/insert-phase.md
@~/.claude/gsd-core/workflows/remove-phase.md
@~/.claude/gsd-core/workflows/edit-phase.md
</execution_context>
<context>

View File

@@ -30,8 +30,8 @@ Create executable phase prompts (PLAN.md files) for a roadmap phase with integra
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/plan-phase.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/gsd-core/workflows/plan-phase.md
@~/.claude/gsd-core/references/ui-brand.md
</execution_context>
<runtime_note>

View File

@@ -25,10 +25,10 @@ Replaces gsd-plan-phase's internal gsd-plan-checker with external AI reviewers (
</objective>
<execution_context>
@$HOME/.claude/get-shit-done/workflows/plan-review-convergence.md
@$HOME/.claude/get-shit-done/references/revision-loop.md
@$HOME/.claude/get-shit-done/references/gates.md
@$HOME/.claude/get-shit-done/references/agent-contracts.md
@$HOME/.claude/gsd-core/workflows/plan-review-convergence.md
@$HOME/.claude/gsd-core/references/revision-loop.md
@$HOME/.claude/gsd-core/references/gates.md
@$HOME/.claude/gsd-core/references/agent-contracts.md
</execution_context>
<runtime_note>

View File

@@ -18,7 +18,7 @@ changes that are irrelevant to code review.
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/pr-branch.md
@~/.claude/gsd-core/workflows/pr-branch.md
</execution_context>
<process>

View File

@@ -19,8 +19,8 @@ Routes to the profile-user workflow which orchestrates the full flow: consent ga
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/profile-user.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/gsd-core/workflows/profile-user.md
@~/.claude/gsd-core/references/ui-brand.md
</execution_context>
<context>

View File

@@ -30,10 +30,10 @@ Three modes:
</flags>
<execution_context>
@~/.claude/get-shit-done/workflows/progress.md
@~/.claude/get-shit-done/workflows/next.md
@~/.claude/get-shit-done/workflows/do.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/gsd-core/workflows/progress.md
@~/.claude/gsd-core/workflows/next.md
@~/.claude/gsd-core/workflows/do.md
@~/.claude/gsd-core/references/ui-brand.md
</execution_context>
<process>

View File

@@ -40,7 +40,7 @@ Granular flags are composable: `--discuss --research --validate` gives the same
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/quick.md
@~/.claude/gsd-core/workflows/quick.md
</execution_context>
<context>

View File

@@ -22,7 +22,7 @@ Routes to the resume-project workflow which handles:
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/resume-project.md
@~/.claude/gsd-core/workflows/resume-project.md
</execution_context>
<process>

View File

@@ -20,7 +20,7 @@ planning via /gsd:plan-phase --reviews.
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/review.md
@~/.claude/gsd-core/workflows/review.md
</execution_context>
<context>

View File

@@ -23,7 +23,7 @@ Output: updated SECURITY.md.
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/secure-phase.md
@~/.claude/gsd-core/workflows/secure-phase.md
</execution_context>
<context>

View File

@@ -21,7 +21,7 @@ Routes to the settings workflow which handles:
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/settings.md
@~/.claude/gsd-core/workflows/settings.md
</execution_context>
<process>

View File

@@ -18,7 +18,7 @@ Closes the plan → execute → verify → ship loop.
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/ship.md
@~/.claude/gsd-core/workflows/ship.md
</execution_context>
Execute the ship workflow from @~/.claude/get-shit-done/workflows/ship.md end-to-end.
Execute the ship workflow from @~/.claude/gsd-core/workflows/ship.md end-to-end.

View File

@@ -30,13 +30,13 @@ Does not require prior new-project setup — auto-creates `.planning/sketches/`
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/sketch.md
@~/.claude/get-shit-done/workflows/sketch-wrap-up.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/get-shit-done/references/sketch-theme-system.md
@~/.claude/get-shit-done/references/sketch-interactivity.md
@~/.claude/get-shit-done/references/sketch-tooling.md
@~/.claude/get-shit-done/references/sketch-variant-patterns.md
@~/.claude/gsd-core/workflows/sketch.md
@~/.claude/gsd-core/workflows/sketch-wrap-up.md
@~/.claude/gsd-core/references/ui-brand.md
@~/.claude/gsd-core/references/sketch-theme-system.md
@~/.claude/gsd-core/references/sketch-interactivity.md
@~/.claude/gsd-core/references/sketch-tooling.md
@~/.claude/gsd-core/references/sketch-variant-patterns.md
</execution_context>
<runtime_note>

View File

@@ -29,8 +29,8 @@ Clarify phase requirements through structured Socratic questioning with quantita
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/spec-phase.md
@~/.claude/get-shit-done/templates/spec.md
@~/.claude/gsd-core/workflows/spec-phase.md
@~/.claude/gsd-core/templates/spec.md
</execution_context>
<runtime_note>

View File

@@ -30,9 +30,9 @@ Does not require prior new-project setup — auto-creates `.planning/spikes/` if
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/spike.md
@~/.claude/get-shit-done/workflows/spike-wrap-up.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/gsd-core/workflows/spike.md
@~/.claude/gsd-core/workflows/spike-wrap-up.md
@~/.claude/gsd-core/references/ui-brand.md
</execution_context>
<runtime_note>

View File

@@ -11,7 +11,7 @@ Display comprehensive project statistics including phase progress, plan executio
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/stats.md
@~/.claude/gsd-core/workflows/stats.md
</execution_context>
<process>

View File

@@ -37,7 +37,7 @@ Parse the first token of $ARGUMENTS:
## list / status
Call `listSurface(runtimeConfigDir, manifest, CLUSTERS)` from
`get-shit-done/bin/lib/surface.cjs`. Display:
`gsd-core/bin/lib/surface.cjs`. Display:
```
Enabled (N skills, ~T tokens):
@@ -144,12 +144,12 @@ All paths can be overridden by reading the `CLAUDE_CONFIG_DIR` env var if set.
- Unknown cluster name → list valid cluster names, exit without writing.
- Unknown profile name → list known profiles (`core`, `standard`, `full`), exit.
- Missing `surface.cjs` → prompt: "Run `npm i -g get-shit-done` to reinstall GSD."
- Missing `surface.cjs` → prompt: "Run `npm i -g gsd-core` to reinstall GSD."
<execution_context>
Surface state file: `~/.claude/.gsd-surface.json`
Install profile marker: `~/.claude/.gsd-profile`
Skill dirs: `~/.claude/skills/gsd-*/`
Engine module: `~/.claude/get-shit-done/bin/lib/surface.cjs`
Cluster definitions: `~/.claude/get-shit-done/bin/lib/clusters.cjs`
Engine module: `~/.claude/gsd-core/bin/lib/surface.cjs`
Cluster definitions: `~/.claude/gsd-core/bin/lib/clusters.cjs`
</execution_context>

View File

@@ -16,7 +16,7 @@ doesn't belong to any specific phase.
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/thread.md
@~/.claude/gsd-core/workflows/thread.md
</execution_context>
<process>

View File

@@ -21,8 +21,8 @@ Flow: Validate → Research UI → Verify UI-SPEC → Done
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/ui-phase.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/gsd-core/workflows/ui-phase.md
@~/.claude/gsd-core/references/ui-brand.md
</execution_context>
<context>

View File

@@ -19,8 +19,8 @@ Output: {phase_num}-UI-REVIEW.md
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/ui-review.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/gsd-core/workflows/ui-review.md
@~/.claude/gsd-core/references/ui-brand.md
</execution_context>
<context>

View File

@@ -21,8 +21,8 @@ Requirements: Claude Code v2.1.91+, claude.ai account, GitHub repository.
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/ultraplan-phase.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/gsd-core/workflows/ultraplan-phase.md
@~/.claude/gsd-core/references/ui-brand.md
</execution_context>
<context>

View File

@@ -21,9 +21,9 @@ Three modes:
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/undo.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/get-shit-done/references/gate-prompts.md
@~/.claude/gsd-core/workflows/undo.md
@~/.claude/gsd-core/references/ui-brand.md
@~/.claude/gsd-core/references/gate-prompts.md
</execution_context>
<context>

View File

@@ -25,7 +25,7 @@ Routes to the update workflow which handles:
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/update.md
@~/.claude/gsd-core/workflows/update.md
</execution_context>
<flags>
@@ -43,6 +43,6 @@ Parse the first token of $ARGUMENTS:
</process>
<execution_context_extended>
@~/.claude/get-shit-done/workflows/sync-skills.md
@~/.claude/get-shit-done/workflows/reapply-patches.md
@~/.claude/gsd-core/workflows/sync-skills.md
@~/.claude/gsd-core/workflows/reapply-patches.md
</execution_context_extended>

View File

@@ -23,7 +23,7 @@ Output: updated VALIDATION.md + generated test files.
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/validate-phase.md
@~/.claude/gsd-core/workflows/validate-phase.md
</execution_context>
<context>

View File

@@ -21,8 +21,8 @@ Output: {phase_num}-UAT.md tracking all test results. If issues found: diagnosed
</objective>
<execution_context>
@~/.claude/get-shit-done/workflows/verify-work.md
@~/.claude/get-shit-done/templates/UAT.md
@~/.claude/gsd-core/workflows/verify-work.md
@~/.claude/gsd-core/templates/UAT.md
</execution_context>
<context>

View File

@@ -29,10 +29,10 @@ Mode routing:
</routing>
<execution_context>
@~/.claude/get-shit-done/workflows/new-workspace.md
@~/.claude/get-shit-done/workflows/list-workspaces.md
@~/.claude/get-shit-done/workflows/remove-workspace.md
@~/.claude/get-shit-done/references/ui-brand.md
@~/.claude/gsd-core/workflows/new-workspace.md
@~/.claude/gsd-core/workflows/list-workspaces.md
@~/.claude/gsd-core/workflows/remove-workspace.md
@~/.claude/gsd-core/references/ui-brand.md
</execution_context>
<context>