# GSD 2
**The evolution of [Get Shit Done](https://github.com/gsd-build/get-shit-done) — now a real coding agent.**
[](https://www.npmjs.com/package/gsd-pi)
[](https://www.npmjs.com/package/gsd-pi)
[](https://github.com/gsd-build/GSD-2)
[](https://discord.com/invite/nKXTsAcmbT)
[](LICENSE)
[](https://dexscreener.com/solana/dwudwjvan7bzkw9zwlbyv6kspdlvhwzrqy6ebk8xzxkv)
The original GSD went viral as a prompt framework for Claude Code. It worked, but it was fighting the tool — injecting prompts through slash commands, hoping the LLM would follow instructions, with no actual control over context windows, sessions, or execution.
This version is different. GSD is now a standalone CLI built on the [Pi SDK](https://github.com/badlogic/pi-mono), which gives it direct TypeScript access to the agent harness itself. That means GSD can actually _do_ what v1 could only _ask_ the LLM to do: clear context between tasks, inject exactly the right files at dispatch time, manage git branches, track cost and tokens, detect stuck loops, recover from crashes, and auto-advance through an entire milestone without human intervention.
One command. Walk away. Come back to a built project with clean git history.
npm install -g gsd-pi@latest
> GSD now provisions a managed [RTK](https://github.com/rtk-ai/rtk) binary on supported macOS, Linux, and Windows installs to compress shell-command output in `bash`, `async_bash`, `bg_shell`, and verification flows. GSD forces `RTK_TELEMETRY_DISABLED=1` for all managed invocations. Set `GSD_RTK_DISABLED=1` to disable the integration.
> **📋 NOTICE: New to Node on Mac?** If you installed Node.js via Homebrew, you may be running a development release instead of LTS. **[Read this guide](./docs/node-lts-macos.md)** to pin Node 24 LTS and avoid compatibility issues.
---
## What's New in v2.67
### Context Engineering
- **Tiered Context Injection (M005)** — relevance-scoped context with 65%+ token reduction. Decision scope cascade derives context from slice metadata instead of blanket injection.
- **Resilient transient error recovery** — defers to Core RetryHandler and fixes cmdCtx race conditions for more reliable auto-mode sessions.
### Provider & Model Improvements
- **Anthropic subscription routing** — users with Anthropic subscriptions are automatically routed through Claude Code CLI provider with proper display names across all UI surfaces.
- **Claude Code provider hardening** — native Windows claude lookup, fallback guards, and `out of extra usage` error matching.
- **XML parameter recovery** — pi-ai recovers XML parameters trapped in JSON strings from providers.
### Safety & Data Integrity
- **LLM safety harness** — auto-mode damage control prevents the LLM from running destructive operations or querying `gsd.db` directly via bash.
- **5-wave state machine hardening** — critical data integrity fixes across atomic writes, randomized tmp paths, event log reconciliation, session recovery, and consistency enforcement. 86+ regression tests added.
- **Discussion gate enforcement** — mechanical enforcement for discussion question gates with fail-closed behavior.
- **Enhanced verification** — pre-execution plan verification checks, post-execution cross-task consistency checks, blocking behavior and strict mode.
### Parallel Execution & Dispatch
- **Slice-level parallelism** — dependency-aware parallel dispatch within a milestone, not just across milestones.
- **Parallel research slices** — research and milestone validation run in parallel.
- **Worker model override** — configure different models for parallel milestone workers.
### TUI & Notifications
- **Persistent notification panel** — TUI overlay, widget, and web API for real-time notifications.
- **Remote questions race** — local TUI races against remote channel (Slack/Discord) instead of remote-only routing.
- **OS-specific keyboard shortcuts** — shortcut hints now adapt to macOS/Linux/Windows.
- **`/gsd show-config`** — inspect active configuration at a glance.
### Infrastructure
- **Ollama native provider** — `/api/chat` provider with full option exposure, `apiKey` auth mode, and headless probe.
- **MCP OAuth** — MCP client supports OAuth auth provider for HTTP transport.
- **WAL-safe migration backup** — database migrations create WAL-safe backups with stronger regression tests.
- **Xcode/xcodegen detection** — project detection now supports Xcode bundles and xcodegen.
- **170+ bug fixes** — state machine resilience, worktree safety, prompt injection, session recovery, and more.
See the full [Changelog](./CHANGELOG.md) for details on every release.