scope-spec · diff
git:20261114.69256db to git:20261115.d578a08
8 added, 9 removed. Audit A to A.
What this update changes in the checks
No check changed: every fixed check gives the same answer before and after this update.
A tripped check is a label, not a verdict: read the matched text and the lines below. This week's updates that newly trip a check.
---
name: scope-spec
description: >
- Writes a project spec in `docs/specs/`: a date and status header, then context, decision,
- consequences, design and open items. Use when asked to write the spec, the v1 design, a design
- doc, or a cross-cutting design change. Not for feature work (file an issue with `scope-issue`)
- or cutting milestones from a spec (use `cut-milestones`).
+ Writes a project spec in the repo's specs folder: a date and status header, then context,
+ decision, consequences, design and open items. Use when asked to write the spec, the v1 design,
+ a design doc, or a cross-cutting design change. Not for feature work (file an issue with
+ `scope-issue`) or cutting milestones from a spec (use `cut-milestones`).
disable-model-invocation: true
---
## spec-style
- Read [spec-template.md](spec-template.md) before writing; follow its section order.
+ - Path and filename: what `<base directory>/../../references/repo-conventions.md` resolves.
- Source: the conversation so far, plus any repo files or notes it names; never re-ask what it
settles.
- A question the source leaves open → ask it with AskUserQuestion before writing; never guess.
- Write the answers into the spec.
- A Decision or Design point settled in an issue, MR or comment → end it with a link to it.
- A question the user cannot answer yet (needs research, a lab run, someone else) → an
`## Open items` entry.
- Work that fits one issue → no spec.
- Its decision passes the test in `<base directory>/../build-issue/reference/decision-record.md`
- → a record in `docs/decisions/`, in its own docs MR, via `scope-issue` Decisions.
+ → a decision record, in its own docs MR, via `scope-issue` Decisions.
- Its decision fails that test → write it into the issue with `scope-issue`.
- - Filename: `docs/specs/NNNN-<topic>-design.md`.
- - `NNNN`: four digits, sequential, starting at `0001`.
- The date goes in the header, never the filename.
- Header: `**Date:**` and `**Status:**` lines. No branch name.
- Status: `Draft`, then `Accepted`, which is terminal; or `Superseded by <spec-file>`.
- - File lists, test cases, rejected options and milestones → issues, topic docs,
- `docs/decisions/` or the ROADMAP; never the spec.
+ - File lists, test cases, rejected options and milestones → issues, topic docs, decision records
+ or the ROADMAP; never the spec.
- Length: aim for about 1,500 words, counted with `wc -w`.
- Draft over 2,000 words → ask with AskUserQuestion which Design subsections to move to a topic
doc, one option per subsection.