1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# BEGIN spec-driven-docs managed
- repo: local
hooks:
- id: spec-driven-docs-verify
name: verify spec-driven docs instance
entry: sdd verify
language: system
always_run: true
pass_filenames: false
- id: adr-filename-shape
name: 'decision record filename shape'
entry: sdd gate adr-filename-shape
language: system
files: '^_docs/decisions/.*\.md$'
- id: adr-word-cap
name: 'decision record word cap'
entry: sdd gate adr-word-cap
language: system
always_run: true
pass_filenames: false
- id: agents-digest-size
name: 'agent digest size'
entry: sdd gate agents-digest-size
language: system
always_run: true
pass_filenames: false
- id: chapter-size-cap
name: 'chapter and catalog size'
entry: sdd gate chapter-size-cap
language: system
always_run: true
pass_filenames: false
- id: comparison-dated-tables
name: 'comparison tables are dated'
entry: sdd gate comparison-dated-tables
language: system
files: '(^|/)COMPARISON-[a-z0-9-]+\.md$'
- id: comparison-escaped-pipes
name: 'comparison table pipes are escaped'
entry: sdd gate comparison-escaped-pipes
language: system
files: '(^|/)COMPARISON-[a-z0-9-]+\.md$'
- id: comparison-legend
name: 'comparison legend'
entry: sdd gate comparison-legend
language: system
files: '(^|/)COMPARISON-[a-z0-9-]+\.md$'
- id: comparison-one-reference-per-cell
name: 'one reference per comparison cell'
entry: sdd gate comparison-one-reference-per-cell
language: system
files: '(^|/)COMPARISON-[a-z0-9-]+\.md$'
- id: comparison-verdict-word
name: 'comparison verdict word'
entry: sdd gate comparison-verdict-word
language: system
files: '(^|/)COMPARISON-[a-z0-9-]+\.md$'
- id: gate-message-cites-a-rule
name: 'gate messages cite a rule'
entry: sdd gate gate-message-cites-a-rule
language: system
always_run: true
pass_filenames: false
- id: instance-manifest
name: 'instance manifest'
entry: sdd gate instance-manifest
language: system
always_run: true
pass_filenames: false
- id: ki-bugzilla-report-width
name: 'Bugzilla report width'
entry: sdd gate ki-bugzilla-report-width
language: system
always_run: true
pass_filenames: false
- id: ki-filename-shape
name: 'known issue filename shape'
entry: sdd gate ki-filename-shape
language: system
files: '^_docs/reference/known-issues/.*\.md$'
- id: ki-mechanism-walkthrough
name: 'known issue mechanism walkthrough'
entry: sdd gate ki-mechanism-walkthrough
language: system
always_run: true
pass_filenames: false
- id: ki-report-body
name: 'known issue report body'
entry: sdd gate ki-report-body
language: system
always_run: true
pass_filenames: false
- id: ki-retire-when
name: 'known issue retirement condition'
entry: sdd gate ki-retire-when
language: system
always_run: true
pass_filenames: false
- id: no-self-narration
name: 'documents state the present'
entry: sdd gate no-self-narration
language: system
types:
exclude: '^_docs/decisions/'
- id: prose-stays-unwrapped
name: 'prose lines stay unwrapped'
entry: sdd gate prose-stays-unwrapped
language: system
types:
- id: spec-requirement-parts
name: 'spec requirement parts'
entry: sdd gate spec-requirement-parts
language: system
files: '^_docs/specs/SPEC-.*\.md$'
- id: spec-rule-id-unique
name: 'spec rule IDs are unique'
entry: sdd gate spec-rule-id-unique
language: system
always_run: true
pass_filenames: false
- id: spec-size-cap
name: 'spec size cap'
entry: sdd gate spec-size-cap
language: system
always_run: true
pass_filenames: false
- id: spec-verify-hooks-exist
name: 'spec hook references exist'
entry: sdd gate spec-verify-hooks-exist
language: system
always_run: true
pass_filenames: false
- id: suppression-names-its-case
name: 'suppressions name a known issue'
entry: sdd gate suppression-names-its-case
language: system
always_run: true
pass_filenames: false
# END spec-driven-docs managed