GSD Core
Git. Ship. Done.
English · Português · 简体中文 · 日本語 · 한국어
A light-weight meta-prompting, context engineering, and spec-driven development system for Claude Code, OpenCode, Antigravity CLI, Kimi CLI, Kilo, Codex, Copilot, Cursor, Windsurf, and more.

This fork: optional local decision model (experimental)
This is an unofficial fork. It is not affiliated with or endorsed by open-gsd. It is derived from open-gsd/gsd-core under the MIT License. The feature described here is experimental. Everything after this section is the upstream README.
What is different
- A new optional capability,
decision-model. It is off by default.
- A new CLI verb,
gsd-tools decide. One closed question goes in: a choice, a yes/no, or an ordered score. One answer comes out with a confidence, or an abstain. On an abstain, the caller does exactly what stock GSD does.
- Two backends:
openai-letter (the default) asks any OpenAI-compatible server for one option letter and reads the letter's log-probabilities as the confidence. This is the Tev1 protocol. It is live-tested against LM Studio at http://127.0.0.1:1234 (the default base_url) serving togethercomputer_tev1-4b-experimental.
jev calls a hosted Jev-style API with an API key. It is contract-tested with fake HTTP only. It has never been tested against a live endpoint.
- Where GSD asks the model. Each site only adds, pre-fills or pre-ranks. A person or the agent still decides.
- Requirement and UI-element probes propose labels, only where the regex finds nothing.
- ingest-docs guesses the type of an untyped doc (ADR, PRD, SPEC or DOC).
- Gate prompts map a typed reply to one of the offered options. Destructive options are never offered to the model.
- verify-work buckets a UAT reply (pass, skip, blocked, deferred, issue) and rates its severity.
- Learnings graduation suggests that two lessons say the same thing.
- Inbox triage proposes an issue or PR type and pre-checks the required template fields.
- add-tests pre-fills each file's class (tdd, e2e or skip).
- The prohibition probe rescues a dropped must-NOT candidate that looks like a values or safety rule. It stays unresolved for the author.
- Agent-failure classification suggests a reason, only when the failure is otherwise unknown.
- The verifier, executor, code reviewer and UI auditor pre-rank their grep hits.
- The roadmapper flags success criteria, and the doc verifier flags doc claims. Both flags are advisory.
- The user profiler gets message pre-labels that set its reading order.
- The debugger gets knowledge-base candidates that may share a root cause, when MemPalace is not available.
- Not built: command routing for
/gsd-do. It measured too weak on real traffic.
How to use it
Prerequisites: Node.js >= 24 and npm >= 10. LM Studio, with togethercomputer_tev1-4b-experimental downloaded and its local server running on 127.0.0.1:1234.
-
Install this fork (Claude Code, global):
git clone https://github.com/davesienkowski/gsd-core-decision-model.git
cd gsd-core-decision-model
npm ci
npm run build
node bin/install.js --claude --global
-
Enable it in each project. Run these in the project root. With this install, gsd-tools means node ~/.claude/gsd-core/bin/gsd-tools.cjs.
gsd-tools config-set decision_model.enabled true
gsd-tools config-set decision_model.model togethercomputer_tev1-4b-experimental
Setting these in ~/.gsd/defaults.json is not enough for an existing project. A project reads them from its own .planning/config.json. A new project's config starts as a copy of your defaults, but a project that already has a .planning/ directory does not pick them up. Run the two commands there.
-
Check it:
gsd-tools decide --status --probe