Commit 31fd3b5
committed
Address PR #72 round 2: wording precision + pattern intra-links
Three "reachable from" → "AT" wording fixes (build_agents_md.py
module docstring, .github/workflows/ci.yml comment, CHANGELOG.md
entry). The strict check (git tag --points-at HEAD) is the
load-bearing invariant — a wheel built from a commit between two
release tags would silently ship as if it were the prior tag.
Wording now matches implementation; the check is unchanged.
Module docstring's section-4 description previously said patterns
were inlined "verbatim", which became stale when
_transform_pattern_content landed earlier in this PR. Updated to
describe both transforms (heading demotion + relative-link rewrite).
_transform_pattern_content gains a second regex,
_PATTERN_INTRA_LINK_RE, that rewrites pattern-to-pattern bare-name
.md references to in-document anchors (e.g.,
`(bypass-if-output-exists.md)` → `(#bypass-if-output-exists)`).
The demoted H3 heading slug matches the filename slug, so the
anchor resolves cleanly in the bundled single-file context. Closes
the broken pattern cross-link in tool-dispatch-as-node's
"Cross-references" section.1 parent 6a68663 commit 31fd3b5
4 files changed
Lines changed: 35 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
18 | 25 | | |
19 | 26 | | |
20 | 27 | | |
| |||
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
28 | | - | |
29 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
| |||
203 | 211 | | |
204 | 212 | | |
205 | 213 | | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
206 | 221 | | |
207 | 222 | | |
208 | 223 | | |
| |||
242 | 257 | | |
243 | 258 | | |
244 | 259 | | |
245 | | - | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
246 | 267 | | |
247 | 268 | | |
248 | 269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
815 | 815 | | |
816 | 816 | | |
817 | 817 | | |
818 | | - | |
| 818 | + | |
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
| |||
0 commit comments