Documentation is organised into four quadrants: tutorials help you learn by doing, how-to guides solve specific tasks, reference states authoritative facts, and explanation explores concepts and design decisions.
Language versions: English · Português (pt-BR) · 日本語 · 简体中文
- Your first project — install to first shipped phase, one guaranteed path
- Onboarding an existing codebase — bring GSD Core to a brownfield repo
- Build your first capability — author a tiny declarative capability and watch it act in the loop
- Install your first capability — install a third-party capability end-to-end: consent, verify, check for updates, remove
- Embed GSD in a new host — embed the orchestration loop into a brand-new host, step by step
- Install on your runtime — runtime-specific install steps for all 18 supported runtimes
- Start a GSD workflow from Pi — run
/skill:gsd-<command>(or/gsd <command>) in Pi instead of getting a JSON dump from/gsd - Run two sessions with roles — pause under
--role, resume it in another session, and have a second session find no handoff to take - Check that GSD's guards run on Pi — confirm the secret-read guard blocks a
.envread in Pi and turn on the opt-in hooks - Let agents read a committed env template — exempt one committed file, such as a placeholder
.env.production, from the secret-read guard while every other secret file stays blocked - Install GSD as a Pi package —
pi install npm:@opengsd/gsd-coreinstead of the gsd-core installer, with the same commands and extension - Enable Serply for web research — set the key, register the Serply MCP server, and confirm the researcher agents pick it over the built-in
websearch - Install a minimal GSD and add skills later — install only the core skills, then grow the surface with profiles and
/gsd-surface - Attach a plugin-provided skill to a GSD agent — use the
global:plugin:skillentry form to load Claude Code plugin skills into agent prompts - Run a plan on another runtime — declare
executor_runtimeon a plan so a different runtime's CLI executes it, with the gate, the model source and every fallback reason - Enable the Claude orchestration Workflow backend (BETA) — turn the capability on, check whether workflows are available in your Claude Code setup, and emit a Workflow script for a phase
- Review reapplied patches hunk by hunk — after
/gsd-update, keep, retire, or rewrite each of your edits that upstream adopted, reworded around, or orphaned - Discuss a phase — capture implementation decisions before planning begins
- Resolve the project root in a worktree — see which checkout GSD acts in, read the resolution provenance, and fix an
outside_worktreeornot_git_repocommit refusal - Tag a multi-repository milestone — record each repository's own release against a milestone, create per-repository tags, and decide repository by repository what to push
- Replay recorded baselines — run each criterion's command with
verify plan-structure --replayand compare what it prints with the recordedHEAD - Resolve baseline-notation findings — fix plan criteria that
verify plan-structureflags as already true at HEAD (B1), legacy# baseline at HEAD:comments (B2), and unreadable notations - Resolve edge-coverage findings — turn the spec phase's surfaced domain-boundary edges into covered, dismissed, or backstopped spec decisions
- Probe edges in a non-English project — get real edge coverage on a spec written in another language, and tell "no edges here" apart from "the probe could not read it"
- Guide external reviewers with a capability — add
review:prereviewer guidance so/gsd-reviewand convergence cycles judge plans under your capability's constraints - Resolve prohibition findings — turn the spec phase's surfaced must-NOT constraints into resolved, dismissed, or deferred spec decisions
- Tune the context monitor's fire-points — move the WARNING and CRITICAL context-remaining thresholds per project in the root
.planning/config.json - Migrate to bracket phase IDs — preview and apply
roadmap upgrade --convention bracket, read theSTATE.mdandPROJECT.mdlabel edits, and resolve each reference the migration skipped - Resolve CI/CD pipeline findings — act on what
/gsd-code-reviewreports for workflow files, Dockerfiles and deploy scripts, and tell a real finding from a false one - Resolve necessity findings — decide whether to keep, simplify, or delete code that
/gsd-code-reviewflags as guarding a problem that cannot occur - Resolve an unreachable-workflow finding — wire or fully sweep a shipped workflow that no command, agent, or skill references
- Acknowledge emitted-artifact drift — declare a deliberate emitted-byte ripple or workflow/agent growth in a commit trailer, and migrate an older ack fragment
- Change the STATE.md schema — add, change or remove a STATE.md frontmatter key and keep the template and all five reference documents in step
- Resolve verify-command path findings — fix an
<automated>verify command whose target directory does not resolve from the executor's cwd - State a failing direction — say what output constitutes failure for an
<automated>verify command, and migrate a phase planned before the rule - Validate an automated command — run a validate-only mode against an
<automated>verify command at plan time, record the result, and read check 8g's verdicts - Resolve a contract-drift finding — bring an agent's completion contract, read-tag gate, or deleted-file test reference back into agreement with the registry
- Resolve unreachable-guard findings — fix shell guards whose fallback arm cannot run, and tell "nothing to report" apart from "could not look"
- Declare a hook's crash policy — terminate a GSD hook with
allow/deny/crash, declare itsON_CRASHpolicy, and tell a hook's own crash apart from a check that could not run at all - Make the secret-read guard fail closed — have
gsd-secret-read-guard.jsblock, instead of allow, when it fails on its own, on asettings.jsoninstall - Declare a flag on a gsd-tools command — add a flag or a command through the CLI surface registry, regenerate the manifest, and let the parity test check dispatch against it
- Handle gate verb exit statuses — capture a gate verb's status safely under
set -eand tell a failing verdict from a gate that could not look - Resolve a skipped capability probe — act on a coverage gate that held your phase for an unestablished scope, or a planning checkpoint that reported
skippedinstead of a verdict - Diagnose which gsd-tools is running — tell this package's tool apart from the predecessor's colliding binary and from a gsd-core too old to identify itself
- Resolve an ESLint glob-coverage finding — bring a source file that matches no lint rule under coverage, or record a reasoned exemption
- Replace a hand-written env-isolation copy — turn a
local/no-adhoc-env-isolationlint error intoisolatedEnv,isolatedPath,homePairorsetEnvForTest; there is no allowlist - Make a missing test tool fail instead of skip — set
GSD_REQUIRE_BASH_TOOLSso a host withoutcurlorjqfails the bash-block tests it would otherwise skip without a trace - Resolve a raw-terminator finding — pick
runMain/ExitError,terminateNow, orprocess.exitCodefor alocal/require-registered-exitfinding, and know the two allowlist entries and the rule's documented evasions - Adopt the v2 exit contract — turn on
gsd-tools's versioned exit-code projection, read the code table including what80(DEGRADED) means, and migrate a CI gate that treats any non-zero exit as fatal - Read the statusline freshness marker — turn on
state ~N commits back, and tell "STATE.md is fresh" apart from "freshness could not be established" - Consume the planning snapshot — read
planning inspectfrom a dashboard or harness, and tell "nothing to report" apart from "could not look" - Read CI timeout budget signals — find the near-cap warning on a run, read the accumulated
tests/ci-timeout-budget-history.jsonltrend, and know which lever (cap, shard balance, shard-1 contents) a repeatedly-near-cap lane calls for - Regenerate the timing table — rebuild the per-file duration table the chunk packer reads, from a
gsd-testevent stream - Regenerate the win32 timing table — rebuild
tests/test-timings.win32.jsonfrom the Windows conformance shards' duration artifacts so the win32 shards stay balanced - Split platform-sensitive tests out of a heavy test file — move the few tests that need a real OS into a
.platform.test.cjssibling so the rest of the file stops running on Windows, and fix the generator's split errors - Consume the state contract — read
.planning/state.jsonfrom a workbench or editor extension, gate on the contract version, and tell "nothing to show" apart from "could not look" - Keep planning docs out of a shared repo — make
.planning/local-only, including untracking files git already tracks (the step.gitignorealone cannot do) - Publish PRs without planning artifacts — keep
.planning/committed locally, so worktrees and/gsd-undokeep working, whileplanning.pr_strictkeeps every planning path out of the branch you push - Plan a phase — run research, decompose work, and verify plan quality
- Verify a dependency-compatibility claim — act on a compatibility claim the researcher left
[ASSUMED], and tell "nothing declared" apart from "a constraint is declared" and "the lookup failed" - Execute a phase — run plans in parallel waves with fresh-context subagents
- Fix a reviewer lane that refused an oversized prompt — read a
prompt_exceeds_contextrefusal, find where the lane's cap came from, and get the review to run - Enable parallel reviewer lanes — cut a multi-reviewer
/gsd-reviewpass toward its slowest lane, and tell a rate-limited lane apart from one that was never selected - Enable concurrent per-plan planners in chunked mode — dispatch chunked
/gsd-plan-phase's per-plan Tasks together within one outline Wave instead of one at a time, and know when the setting has no effect - Verify and ship — walk through completed work, diagnose failures, and create the PR
- Enable the advisor pre-filter — have the session advisor check the output is final and consistent before the next review gate; opt-in, advisory, cost stated
- Catch complexity before it compounds — enable the post-execute refactor hook, read a proposal's score vs. anchor delta, and accept or decline it
- Run phases autonomously — use autonomous mode for unattended phase execution
- Handle quick and fast tasks — use
/gsd-quickand/gsd-fastfor ad-hoc work outside the phase loop - Batch quick tasks — run several
/gsd-quick-shaped tasks together with/gsd-quick-batch, understand capacity/isolation, and recover a failed or interrupted batch - Configure model profiles — switch between quality, balanced, and budget model tiers
- Run the TDD RED gate on a stronger model — give the failing-test step its own model inside a
type: tddplan - Choose which executors run your plans — answer the Executor question at new-project or in
/gsd-settings:gsd-executoronly, or allow installed executors named byagent_hint: - Route a plan to a specialist executor — send one plan to your own executor agent with
agent_hint:, pick its model, and read the routing output - Control which host runtime GSD reports — read the
agent_runtimeladder, understand what host detection looks at, and pin the runtime when detection is not what you want - Set up cross-AI review — configure a second AI to review code produced by the primary agent
- Run plan-review convergence unattended — end a non-converged loop with a status instead of a question, and read the CYCLE_SUMMARY counters from
/gsd-review - Scope code review depth by path — escalate
/gsd-code-reviewtodeepfor sensitive directories while the rest of the repo stays at the default depth - Work in parallel with workstreams — run independent lines of work simultaneously using workstreams
- Isolate work with workspaces — use workspaces to sandbox experimental or risky changes
- Debug a failed execution — diagnose and recover from broken or incomplete phase execution
- Recover from an invalid verification status — get a phase passing again after
verification_status_invalid, aW030health warning, orphase_dir_not_found - Interpret scope-conformance warnings — read the advisory the worktree-wave merge emits when a plan branch commits outside its declared scope
- Interpret install-shadow warnings — read the advisory GSD Core emits when a
/gsd-*trigger is installed at both scopes and one silently wins, and tell "nothing to report" apart from "could not look" - Interpret
state validateresults — read thescopereason codes and tell "nothing to report" apart from "could not look" - Park an idea for later — choose between the backlog, a seed and a thread, then park, review, promote or close the idea
- Fix a workflow or agent size failure — resolve a red size-budget check by justifying the growth with an acknowledgment trailer or shrinking the file
- Fix a regression-test-name or duplicate-fold lint failure — fold a one-off regression file into its module's test file, prune the allowlist, or delete a duplicate fold block
- Respond to a new QA smell — decide whether a smell is a real defect or a false positive, then fix the oracle or acknowledge it with an issue
- Add a positive control for a new gate — resolve a
no-controlreport fromlint:ciby adding agateControlcall with a red and a green scenario - Spike and sketch — use
/gsd-spikeand/gsd-sketchfor exploratory work before committing to a plan - Design a UI phase — use the UI phase loop for frontend and visual work
- Enable live-DOM verification — opt a project into browser-backed UI acceptance checks during execution, handle the browser-profile lock, and tell "nothing to report" apart from "could not look"
- Enable deep verification — opt a project into agent-driven behavior enumeration and browser execution before UAT, widen it beyond UI phases, and read what is left for you to confirm
- Enable UI interaction capture — let
/gsd-ui-review's auditor capture hover, focus, open-menu and filled-form states through thechrome-devtoolsCLI from Bash, with no MCP server - Develop a Capability for GSD 1.5+ — add feature Capabilities, hook fragments, and registry entries
- Develop a task-content resolver capability — declare a
taskContentResolversoexecute-plan.mdresolves per-task content from your external issue tracker instead ofPLAN.md - Ship a reviewer lane in your capability — declare a
reviewerbody so/gsd-reviewdiscovers, invokes, and renders your external review CLI or model endpoint - List your reviewer lane in the registry — publish a lane you have built to the Reviewer Lane Registry so other people can find and install it
- Take over a capability or EoS integration — assume maintainership of an existing third-party capability, reviewer lane, or EoS host integration through a handoff, an adoption fork, first-party absorption, or a de-listing
- Add or update a host's integration — set a host's documentation-sourced
runtime.hostIntegrationaxes (ADR-1239 Phase A), with theundocumentedsentinel rule - Migrate an install test to the executed plan — convert an
fs.existsSync-probing install test group to a value assertion againstinstallRuntimeArtifacts's executed-plan return, and test against a fake fs adapter - Vendor a dependency — add a third-party package
gsd-core/bin/**needs at runtime as a verbatim vendored artifact, keep it out ofdependencies, and pick the right upstream bundle - Turn a capability off (and keep it off) — disable a capability via the surface, or gate individual hooks off without removing the capability
- Drive GSD from a tracker issue — start a phase from a GitHub, Linear, or Jira issue
- Migrate from GSD 2 — upgrade an existing GSD 2 project to GSD Core
- Update GSD — re-run the installer to pick up the latest release
- Move GSD from OpenCode 1.x to OpenCode 2.x — upgrade the binary and the install before the 1.x window ends on 2026-12-31
- Clean up get-shit-done-cc — remove leftover old-package artifacts that cause a spurious
⬆ /gsd-updateindicator after migrating to@opengsd/gsd-core - Fix the worktree base-mismatch (exit 42) error — resolve the branch-divergence condition that halts parallel phase execution
- Recover and troubleshoot — fix common problems, rebuild context, and uninstall
- Run a long-running job asynchronously — run a legitimately long execute task through the SLURM adapter
- Author a host plugin — for external tool authors who want to embed GSD's orchestration
- Add a
command-exit-zerogate to a capability — a recipe for capability authors - Connect a host to the GSD companion MCP server — make an MCP-capable host talk to GSD
- Enable cross-session memory with MemPalace — durable memory across sessions and projects: recall before planning, capture at each phase boundary
- Import a capability from a URL — install a published capability from a git repository, an npm package, a tarball or a local path
- Publish a capability — prepare the manifest, validate locally and release it so others can
gsd capability installit - Remove or disable a capability — delete a capability and its shared configuration, or toggle it off without touching files
- Version and upgrade a capability — keep a manifest correctly versioned as an author, or apply updates safely as a consumer
- Update manually (non-npm install) — update when
npx @opengsd/gsd-core@latestis unavailable - Add custom PR body sections — make
/gsd-shipcarry user stories, acceptance criteria, risks or approval notes
- Commands — every command with flags and examples
- Configuration — full config schema, model profiles, git branching strategies
- CLI tools —
gsd-tools.cjsprogrammatic API for workflows and agents - JSON error mode —
gsd-toolsfailure channels: faults (stderr, exit 1) vs degraded results (stdout, exit 0), and the reason-code taxonomy - Features — complete feature index
- Inventory — installed skills and surface map
- Pi hook and lifecycle parity — which GSD hooks run on Pi, the verified Pi event contract, and why each other hook is not bridged
- Pi parity matrix — what each command, workflow, agent role and hook becomes on Pi, and the test-enforced list of what Pi does not support
- STATE.md schema — field-by-field reference for
.planning/STATE.md - CONTEXT.md schema — field-by-field reference for
.planning/phases/<N>/CONTEXT.md - PLAN.md schema — field-by-field reference for
.planning/phases/<N>/PLAN.md - ROADMAP phase-list entry grammar — the one accepted form of a
- [ ] **Phase N: Name**checklist entry, shared by every reader - Custom phase IDs — which custom phase IDs are accepted or refused, the
.phase-idmarker and how readers resolve a directory to its owner - Planning artifacts — all
.planning/files and their roles - Security hooks — the exact rules, limits, bypasses and known gaps of the prompt, workflow, write and secret-read guards
- Config section null semantics — how an explicit non-object section such as
"workflow": nullblocks defaults in the config merge - Agent tool grants —
agent_toolsselectors, validation, precedence and per-runtime output - Bracket phase IDs — what
phase_id_convention: "bracket"changes across read, display, migration and write paths - Compact content mode — the spine-and-detail, variant-swap and agent-payload mechanisms behind
workflow.compact_content - Project-root resolution — the ordered rules that walk a child repo up to the workspace that owns
.planning/ - Decision-coverage plan gate — invoking
check decision-coverage-plandirectly, with its fail-closed reasons - Check gate modules — support modules, ESLint boundaries and behavior differences for the
check <gate>router - Evaluation scope resolver — the fields, design rules and flags of
check evaluation-scope - Runtime install contracts — the installed file layout, the per-runtime install contract matrix, and the upstream docs each row was checked against
- Review and verification capabilities — code review, security, and Nyquist capability ownership and hook contracts
- Templates — every file under
gsd-core/templates/, the artifact it produces, and what references it - Environment variables and file formats — every variable the installer,
gsd-tools, hooks and plugins read, and the state files GSD writes outside.planning/ - Installer flags — every option of
npx @opengsd/gsd-core: runtime flags, location, skill profiles, cleanup and hook-path behavior - Agent reference — role cards, tools and constraints for every shipped GSD agent
- Gate predicates — canonical specification of the phase-gate predicate vocabulary
- Documentation coverage matrix — generated: every command, verb, config key, agent, hook, template and installer flag, where it is documented, and which options are not;
npm run lint:generated-syncfails when the page is stale or any item or option is undocumented - Capability matrix — generated catalogue of every capability's role, tier, extension points, hook kinds, and
engines.gsd - Exit code reference — generated catalogue of every registered process exit code, its name, meaning, and owning module, plus the reserved bands and the v1/v2 exit contract
- Capability manifest — the full
capability.jsonschema and validation rules gsd capabilitycommand — install / update / remove / list reference for third-party capabilities- Workflow fragments — in-file
<!-- gsd:section -->marker grammar for fragmentizing workflow markdown at emission time - Partition rules for compact-content splits — the protected-content list, sentinel syntax, and the five CI checks a
workflow.compact_contentspine/detail split must obey - Reviewer Lane Registry — generated catalogue of third-party reviewer lanes, with their flags, transport, and install commands
- Host Integration capability matrix — maintainer-facing source of truth for the
hostIntegrationblock of every runtime - Host-Integration Interface — the normative reference for the interface (ADR-1239)
- Long-running operations — the operation-classification policy and the async external-job contract
- OpenCode 2.x verification matrix — every GSD feature that reaches OpenCode, exercised on a real OpenCode 2.x
- Per-runtime skill mapping matrix — where each runtime places skills, commands and agents
- Testing suites — the filename-suffix markers that group
tests/into named suites, and where a new test goes - Installer migration architecture — the migration layer for GSD installs and upgrades
- Beta features — opt-in features that may change or be removed without notice
- Canary stream — the earliest preview channel, built from the
devintegration branch
- Context engineering — how context rot forms and how GSD Core prevents it
- The phase loop — design rationale for the Discuss → Plan → Execute → Verify → Ship cycle
- Nyquist validation explained — how test coverage is mapped to requirements before code is written, and how
/gsd-validate-phasefills the gaps afterwards - Quick-task archival explained — why archiving
.planning/quick/is opt-in, bucketed into one milestone and indexed from disk - Why the planning read surfaces have separate schemas — why
planning inspectand the.planning/state.jsoncontract each declare their own schema - Why plan verify commands are checked the way they are — why path grounding is a recognizer and why a plan must state its failing direction
- Cross-AI review design decisions — why a reviewer lane refuses an over-window prompt instead of trimming it, and why each review records its model
- Effort and fast_mode test strategy — why the effort and fast_mode engine's tests are shaped as they are: layers, invariants, targets and known gaps
- Multi-agent orchestration — how subagents are spawned, scoped, and coordinated
- Executor identity — why a plan's routed executor is recorded with its dispatch identity and checked by the isolation guards
- Security model — trust boundaries, permissions, and safe automation
- How GSD runs on Pi — how commands, agent roles and guards map onto Pi's skills, tools and events, and the limits that leaves
- The capability trust model — why third-party capabilities are gated by consent + integrity + reversibility, not a sandbox
- Agent skills dual injection — why configured skills reach agents through two seams and how the dedup guard keeps one copy
- Decision coverage gates explained — how the plan-phase and verify-phase decision gates work, and when a decision is exempt
- About the code-review pipeline design — why depth escalation, prefix matching, ledger replacement and the sibling record are shaped as they are
- Why failures are surfaced, not absorbed — the ADR-3473 and ADR-3889 hardening: dropped data, unreadable directories, the raw terminator and short-form dependencies
- Runtime identity design — why the launcher's PATH branch and anchored probe defend against a foreign
gsd-tools - Spec-phase probe design — why the edge and prohibition probes classify, tier and abstain the way they do
- Deep verify capability — why interaction-level behaviors are enumerated during UAT and how the capability is shaped
- Why planners query graphify first — why the single graph query per phase goes to the CLI, with the built-in reader as fallback
- Codebase drift gate design — why the rule is inverted, the baseline stamp is a shell step and an absent baseline is skipped
- Why PR-branch filtering has a strict mode — why keeping planning out of git costs worktrees and strict mode does not
- Why the test suites are guarded the way they are — the reasoning behind the regression-fold, size, QA, live-config, mergeability and timeout guards
- Installer permissions — what the installer pre-populates in
settings.jsonand why two earlier rules were retired - How GSD runs on OpenCode — how one
opencoderuntime serves OpenCode 1.x and 2.x - About autonomous decision classification — why /gsd-autonomous decides some discuss questions and asks about others
- How overlay capabilities compose — why first-party always wins and how the loader resolves precedence, conflicts, and fail-open load-failure warnings
- Architecture — system architecture, agent model, and data flow
- The Embeddable Orchestration System — one public, versioned contract for embedding GSD across many hosts
- Discuss modes — assumptions mode vs interview mode for
/gsd-discuss-phase - Context monitoring — context window monitoring hook architecture and why the fire-points are defaults
- Issue-driven orchestration explained — how GSD's primitives map onto a tracker-issue loop, why that loop is safe, and what it deliberately does not do; the steps are in the how-to
- Claude orchestration capability (BETA) — why the capability exists and how it fits the loop
- Interface versioning and deprecation policy — how the Host-Integration Interface (ADR-1239) evolves
- The live-DOM UAT capability — why GSD can drive a browser during execution, and why from a purpose-built agent
- Branching model — a plain-English guide to where work happens, where it merges, and why
- What's new in 1.7.0 — curated highlights of the 1.7.0 release
- User guide — a narrative companion that orients you, then links into the dedicated docs
- Branch protection rollout — the four ruleset specs under
.github/rulesets/ - Contributor standards — standards for
CONTEXT.md,docs/adr/and AI-agent-assisted contributions - Legacy release notes — frozen history of the earlier package names,
1.0.0to1.42.x - Root README — landing page, quickstart, and documentation overview
- Changelog — release history