📖 [Docs]: Add a Specify-the-minimum (Lean) principle and Non-goals to the spec standard#35
Open
Marius Storhaug (MariusStorhaug) wants to merge 1 commit into
Open
Conversation
… the spec standard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The spec standard now names an explicit minimalism principle and gives every spec a place to state its non-goals — two structural lessons borrowed from how Google's Open Knowledge Format is written. This mirrors the same change made to the AI-Platform copy of the standard, keeping the two in sync.
New: A "Specify the minimum" principle
The standard gains a short Specify the minimum section: a spec fixes the smallest set of requirements that make the capability correct and verifiable, and leaves every other choice to the design and the people building it, because over-specification is waste. It grounds the idea in the existing Lean Software Development principle and points at the altitude test as how it is applied.
New: A Non-goals element
Both the standard's "a spec contains" list and the inline specification template gain Non-goals — the outcomes a capability deliberately does not pursue, named so its intent is not misread. It sits beside Scope but is distinct: out of scope bounds this change; non-goals bound the intent.
A third idea considered from OKF — a dedicated worked-example section — was deliberately skipped: the Given/When/Then acceptance criteria already carry that weight for a feature spec, and OKF's heavier interoperability machinery (conformance, producer/consumer obligations, artifact versioning) belongs only to specs that define a contract.
Technical Details
src/docs/Ways-of-Working/Spec-Driven-Development.md— new## Specify the minimumsection; aNon-goalsbullet in the "A spec contains" list; a## Non-goalsheading in the inline specification template.