spec-driven-docs 0.6.6

Spec-driven documentation: current specs, immutable decision records, and executable gates kept coherent for people and coding agents.
Documentation

Spec-Driven Docs

A canonical method for keeping current specifications, immutable decision records, executable gates, and code traceability coherent for people and coding agents.

What this is

Two products in one repository. The method is what a reader loads: method/, comparison-docs/, templates/ and reference/ state the rules and the shapes that carry them. The distribution is what a project installs: the sdd binary, built from src/, carries the whole payload and keeps instances upgradable. The payload is gates, verifier, spec seeds, templates, and the method itself. This repository is the canon. A project that installs it is an instance, and method/glossary.md fixes both terms.

Install

cargo install spec-driven-docs

Prebuilt installers ship with each GitHub release, and cargo binstall spec-driven-docs resolves them.

Quick paths

The sdd CLI is the whole interface. Nothing here is tied to a particular editor or agent.

Conventions and dependencies

The writing convention lives in one project-owned chapter, available offline through sdd method writing-style. A fresh sdd init routes document authors to that command from the project's AGENTS.md. No delivered gate judges prose against the style. The chapter draws its word and sentence register from SimpleEnglish and its information architecture from i-have-adhd, at the revisions it names.

Every adopted convention and material dependency has one owner and an outward link:

  • The writing contract, which states how the style binds and how a project reaches it: _docs/specs/SPEC-writing-style.md. The style it routes to is the chapter, served by sdd method writing-style.
  • The full catalog of dependencies and conventions: reference/dependencies-and-conventions.md.
  • The pinned upstream, its license, and the vendored paths: THIRD_PARTY_NOTICES.md, also printed by sdd license --third-party.
  • The freshness registry that detects a moved upstream: sdd track status reads it offline, and sdd track check compares the pinned revision online.

License

The method is under CC BY 4.0 and the distribution that installs it is under the MIT License. LICENSE states which side each file falls on, and sdd license prints the terms the binary carries.