Repository navigation
Commit 9932592
* Retire the block rule format (#761)
Every rule in docs/design/rules/ is in the skeleton format, so the
block format's parser, measures, checks, tests and docs go. A rule
written in the old format is now refused rather than skipped. Also
fixes the four parser minors #768's review deferred: an assertion in a
backtick span, a #-led bullet continuation, a second When or Tolerated
paragraph, and the S10 comment naming an Except bullet by description.
The README's Signal tag list now names every tag, held by a test.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Address the docs review of the block-format retirement (#761)
Refuse a block-format rule line inside a field too, and a nested list
in any marker under a bullet, so the docs' refusal lists hold; qualify
the README's refusal list for backtick spans; complete the guard list
in docs/design/AGENTS.md; and fix three descriptions of deleted
behavior (parse_example_line, axis 12, test_corpora's floor).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Address the PR review of the block-format retirement (#761)
Refuse text outside any rule other than a section heading and its one
Background paragraph, and a numbered list at the start of a line, both
of which were read as nothing or as prose; delete Rule.tolerated, which
nothing read; give the bullet-lead and signal-tag checks synthetic rows
that can fail; ratchet test_corpora's rule floor to 70; and correct the
comments and docs the review found stale.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Close the gaps the fix-commit review found in the section check (#761)
Refuse structure glued to a Background paragraph (a fence, heading,
field label, list item or example; a quote-led wrapped line stays
prose), a section heading with no Background and a section letter
headed twice; make prose_blocks end a Background at a section heading
as parse_rules_doc does; refuse a bare numbered item ending a line.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Ask the shared assertion predicate of a Background (#761)
The Background check's own arrow pattern ran only on wrapped lines and
ignored backtick spans; ask rules_skeleton.holds_assertion, the rule
side's predicate less its quote-lead half, of every Background line,
the first included. A list item interrupts a Background only numbered
1, as in CommonMark. The docs state the glued check's column-0 scope.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Say which numbered items interrupt a Background (#761)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent c7831d9 commit 9932592
13 files changed
Lines changed: 799 additions & 924 deletions
File tree
- docs/design
- rules
- nameparser/_pipeline
- tests/v2
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
263 | | - | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
264 | 265 | | |
265 | 266 | | |
266 | 267 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 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 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
42 | 26 | | |
43 | 27 | | |
44 | 28 | | |
45 | 29 | | |
46 | 30 | | |
47 | | - | |
48 | 31 | | |
49 | 32 | | |
50 | 33 | | |
51 | 34 | | |
52 | 35 | | |
53 | | - | |
54 | | - | |
| 36 | + | |
55 | 37 | | |
56 | 38 | | |
57 | 39 | | |
58 | 40 | | |
59 | | - | |
60 | | - | |
61 | | - | |
| 41 | + | |
| 42 | + | |
62 | 43 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 44 | + | |
68 | 45 | | |
69 | 46 | | |
70 | 47 | | |
| |||
86 | 63 | | |
87 | 64 | | |
88 | 65 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
| 66 | + | |
| 67 | + | |
113 | 68 | | |
114 | 69 | | |
115 | 70 | | |
| |||
155 | 110 | | |
156 | 111 | | |
157 | 112 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
| 113 | + | |
166 | 114 | | |
167 | 115 | | |
168 | 116 | | |
169 | 117 | | |
170 | | - | |
| 118 | + | |
171 | 119 | | |
172 | 120 | | |
173 | 121 | | |
| |||
0 commit comments