2026-03-16 08:21:43 -04:00
# GSD Documentation
Welcome to the GSD documentation. This covers everything from getting started to advanced configuration, auto-mode internals, and extending GSD with the Pi SDK.
## User Documentation
| Guide | Description |
|-------|-------------|
| [Getting Started ](./getting-started.md ) | Installation, first run, and basic usage |
| [Auto Mode ](./auto-mode.md ) | How autonomous execution works — the state machine, crash recovery, and steering |
| [Commands Reference ](./commands.md ) | All commands, keyboard shortcuts, and CLI flags |
2026-03-16 09:37:28 -04:00
| [Remote Questions ](./remote-questions.md ) | Discord and Slack integration for headless auto-mode |
2026-03-16 08:21:43 -04:00
| [Configuration ](./configuration.md ) | Preferences, model selection, git settings, and token profiles |
2026-03-21 14:35:31 +00:00
| [Custom Models ](./custom-models.md ) | Add custom providers (Ollama, vLLM, LM Studio, proxies) via models.json |
2026-03-16 08:21:43 -04:00
| [Token Optimization ](./token-optimization.md ) | Token profiles, context compression, complexity routing, and adaptive learning (v2.17) |
docs: add v2.18/v2.19 feature documentation (#631)
New docs:
- dynamic-model-routing.md — complexity classification, tier models,
escalation, budget pressure, cost table, adaptive learning
- captures-triage.md — fire-and-forget capture, triage pipeline,
classification types, dashboard integration, worktree awareness
- visualizer.md — four-tab TUI overlay (progress, deps, metrics,
timeline), controls, auto-refresh, auto_visualize preference
Updated docs:
- README.md — added links to three new docs
- commands.md — added capture, triage, visualize, knowledge, queue reorder
- configuration.md — added dynamic_routing and auto_visualize settings,
updated full example with new config options
- auto-mode.md — added capture, visualize sections, dashboard badge,
dynamic model routing reference
- architecture.md — updated dispatch pipeline (routing + captures steps),
added key modules table for v2.19
- cost-management.md — added dynamic routing and visualizer tips
2026-03-16 11:00:58 -04:00
| [Dynamic Model Routing ](./dynamic-model-routing.md ) | Complexity-based model selection, cost tables, escalation, and budget pressure (v2.19) |
| [Captures & Triage ](./captures-triage.md ) | Fire-and-forget thought capture during auto-mode with automated triage (v2.19) |
| [Workflow Visualizer ](./visualizer.md ) | Interactive TUI overlay for progress, dependencies, metrics, and timeline (v2.19) |
2026-03-16 08:21:43 -04:00
| [Cost Management ](./cost-management.md ) | Budget ceilings, cost tracking, projections, and enforcement modes |
| [Git Strategy ](./git-strategy.md ) | Worktree isolation, branching model, and merge behavior |
2026-03-16 17:09:14 -05:00
| [Parallel Orchestration ](./parallel-orchestration.md ) | Run multiple milestones simultaneously with worker isolation and coordination |
2026-03-16 08:21:43 -04:00
| [Working in Teams ](./working-in-teams.md ) | Unique milestone IDs, `.gitignore` setup, and shared planning artifacts |
| [Skills ](./skills.md ) | Bundled skills, skill discovery, and custom skill authoring |
| [Migration from v1 ](./migration.md ) | Migrating `.planning` directories from the original GSD |
docs: update documentation for v2.39.0–v2.40.0 release (#1696)
Cover all new features across README, commands, configuration,
auto-mode, and getting-started docs: GitHub sync extension, Skill
tool resolution, health check phase 2, forensics debugger upgrade,
auto PR on milestone completion, RUNTIME.md template, welcome screen,
GSD_HOME/GSD_PROJECT_ID env vars, browser/runtime UAT types, pipeline
decomposition, sliding-window stuck detection, and data-loss recovery.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-21 10:38:05 -04:00
| [Troubleshooting ](./troubleshooting.md ) | Common issues, `/gsd doctor` (real-time visibility v2.40), `/gsd forensics` (full debugger v2.40), and recovery procedures |
2026-03-21 15:55:28 -04:00
| [Web Interface ](./web-interface.md ) | Browser-based project management with `pi --web` (v2.41) |
docs: update documentation for v2.23 release features (#788)
New v2.23 features documented:
- getting-started.md: Add VS Code extension install section (chat participant,
sidebar dashboard, command palette, RPC requirement)
- README.md: Add VS Code extension to documentation index, update troubleshooting
link to include forensics
- docs/README.md: Add VS Code extension to user documentation table
- architecture.md: Add headless mode, MCP server mode, and VS Code extension to
system structure diagram; expand Browser Tools description to cover 10 new tools
(PDF export, device emulation, visual regression, structured extraction, route
mocking, etc.); add missing extensions (Async Jobs, Remote Questions, TTSR,
Universal Config)
- auto-mode.md: Add validate-milestone phase to the pipeline diagram and phase
descriptions — reconciliation gate before milestone completion
- configuration.md: Add models.json resolution section — custom model definitions
with ~/.gsd/agent/models.json and ~/.pi/agent/models.json fallback
Co-authored-by: TÂCHES <afromanguy@me.com>
2026-03-16 23:56:00 -04:00
| [VS Code Extension ](../vscode-extension/README.md ) | Chat participant, sidebar dashboard, and RPC integration for VS Code |
2026-03-16 08:21:43 -04:00
## Architecture & Internals
| Guide | Description |
|-------|-------------|
| [Architecture Overview ](./architecture.md ) | System design, extension model, state-on-disk, and dispatch pipeline |
| [Native Engine ](../native/README.md ) | Rust N-API modules for performance-critical operations |
| [ADR-001: Branchless Worktree Architecture ](./ADR-001-branchless-worktree-architecture.md ) | Decision record for the v2.14 git architecture |
2026-03-20 15:20:44 -04:00
| [ADR-003: Pipeline Simplification ](./ADR-003-pipeline-simplification.md ) | Research merged into planning, mechanical completion (v2.30) |
2026-03-16 08:21:43 -04:00
## Pi SDK Documentation
These guides cover the underlying Pi SDK that GSD is built on. Useful if you want to extend GSD or build your own agent application.
| Guide | Description |
|-------|-------------|
| [What is Pi ](./what-is-pi/README.md ) | Core concepts — modes, agent loop, sessions, tools, providers |
| [Extending Pi ](./extending-pi/README.md ) | Building extensions — tools, commands, UI, events, state |
| [Context & Hooks ](./context-and-hooks/README.md ) | Context pipeline, hook reference, inter-extension communication |
| [Pi UI / TUI ](./pi-ui-tui/README.md ) | Terminal UI components, theming, keyboard input, rendering |
## Research
| Guide | Description |
|-------|-------------|
| [Building Coding Agents ](./building-coding-agents/README.md ) | Research notes on agent design — decomposition, context engineering, cost/quality tradeoffs |