Skip to content

Commit 0031023

Browse files
committed
plan 88: backtick <?catalog?> in example error message
Copilot review noted the error message backticked `[TOC]` but left `<?catalog?>` as bare text, inconsistent with the following explanation that says directive tokens are backticked. Add backticks around `<?catalog?>` and update the explanation to cover both tokens. Two other comments in the same review batch — claiming the comparison tables in plans 87 and 88 start each row with `||` and have an empty leading column — are factually incorrect. Both tables use a single leading `|`; replies posted on the threads with the verbatim current content.
1 parent eb3513a commit 0031023

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

plan/88_toc-directive-migration.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,16 @@ opt-in posture. No settings.
154154
### Error message
155155

156156
```text
157-
unsupported TOC directive `[TOC]`; mdsmith has no heading TOC equivalent; use <?catalog?> for file indexes (MDS019)
157+
unsupported TOC directive `[TOC]`; mdsmith has no heading TOC equivalent; use `<?catalog?>` for file indexes (MDS019)
158158
```
159159

160160
The leading word is lowercase and there is no
161161
trailing punctuation, per the mdsmith error
162162
message convention in [CLAUDE.md](../CLAUDE.md).
163-
The literal directive token is backticked so it
164-
is quoted, not capitalized prose.
163+
Both the input directive token (`[TOC]`) and
164+
the suggested replacement directive
165+
(`<?catalog?>`) are backticked so they read as
166+
quoted tokens, not prose.
165167

166168
Severity: `warning`.
167169

0 commit comments

Comments
 (0)