@timiagama/ecr 0.0.1 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/LICENSE +202 -0
  2. package/NOTICE +16 -0
  3. package/README.md +411 -7
  4. package/dist/bin.d.ts +20 -0
  5. package/dist/bin.d.ts.map +1 -0
  6. package/dist/bin.js +26 -0
  7. package/dist/bin.js.map +1 -0
  8. package/dist/cli/corpus-loader.d.ts +198 -0
  9. package/dist/cli/corpus-loader.d.ts.map +1 -0
  10. package/dist/cli/corpus-loader.js +351 -0
  11. package/dist/cli/corpus-loader.js.map +1 -0
  12. package/dist/cli/corpus-statistics.d.ts +113 -0
  13. package/dist/cli/corpus-statistics.d.ts.map +1 -0
  14. package/dist/cli/corpus-statistics.js +119 -0
  15. package/dist/cli/corpus-statistics.js.map +1 -0
  16. package/dist/cli/diagnostic-reporter.d.ts +103 -0
  17. package/dist/cli/diagnostic-reporter.d.ts.map +1 -0
  18. package/dist/cli/diagnostic-reporter.js +254 -0
  19. package/dist/cli/diagnostic-reporter.js.map +1 -0
  20. package/dist/cli/project-ignore.d.ts +113 -0
  21. package/dist/cli/project-ignore.d.ts.map +1 -0
  22. package/dist/cli/project-ignore.js +199 -0
  23. package/dist/cli/project-ignore.js.map +1 -0
  24. package/dist/cli/safe-text.d.ts +25 -0
  25. package/dist/cli/safe-text.d.ts.map +1 -0
  26. package/dist/cli/safe-text.js +34 -0
  27. package/dist/cli/safe-text.js.map +1 -0
  28. package/dist/cli/supervisor.d.ts +108 -0
  29. package/dist/cli/supervisor.d.ts.map +1 -0
  30. package/dist/cli/supervisor.js +139 -0
  31. package/dist/cli/supervisor.js.map +1 -0
  32. package/dist/cli.d.ts +247 -0
  33. package/dist/cli.d.ts.map +1 -0
  34. package/dist/cli.js +591 -0
  35. package/dist/cli.js.map +1 -0
  36. package/dist/corpus-validator.d.ts +183 -0
  37. package/dist/corpus-validator.d.ts.map +1 -0
  38. package/dist/corpus-validator.js +479 -0
  39. package/dist/corpus-validator.js.map +1 -0
  40. package/dist/document-identity-rule.d.ts +198 -0
  41. package/dist/document-identity-rule.d.ts.map +1 -0
  42. package/dist/document-identity-rule.js +244 -0
  43. package/dist/document-identity-rule.js.map +1 -0
  44. package/dist/ecr.d.ts +103 -0
  45. package/dist/ecr.d.ts.map +1 -0
  46. package/dist/ecr.js +216 -0
  47. package/dist/ecr.js.map +1 -0
  48. package/dist/glob-pattern.d.ts +94 -0
  49. package/dist/glob-pattern.d.ts.map +1 -0
  50. package/dist/glob-pattern.js +188 -0
  51. package/dist/glob-pattern.js.map +1 -0
  52. package/dist/heading-source-form.d.ts +77 -0
  53. package/dist/heading-source-form.d.ts.map +1 -0
  54. package/dist/heading-source-form.js +129 -0
  55. package/dist/heading-source-form.js.map +1 -0
  56. package/dist/identifier-grammar.d.ts +212 -0
  57. package/dist/identifier-grammar.d.ts.map +1 -0
  58. package/dist/identifier-grammar.js +273 -0
  59. package/dist/identifier-grammar.js.map +1 -0
  60. package/dist/index.d.ts +19 -0
  61. package/dist/index.d.ts.map +1 -0
  62. package/dist/index.js +11 -0
  63. package/dist/index.js.map +1 -0
  64. package/dist/inline-reference-rule.d.ts +557 -0
  65. package/dist/inline-reference-rule.d.ts.map +1 -0
  66. package/dist/inline-reference-rule.js +802 -0
  67. package/dist/inline-reference-rule.js.map +1 -0
  68. package/dist/meta-documents.d.ts +91 -0
  69. package/dist/meta-documents.d.ts.map +1 -0
  70. package/dist/meta-documents.js +133 -0
  71. package/dist/meta-documents.js.map +1 -0
  72. package/dist/per-document-visitor.d.ts +510 -0
  73. package/dist/per-document-visitor.d.ts.map +1 -0
  74. package/dist/per-document-visitor.js +1032 -0
  75. package/dist/per-document-visitor.js.map +1 -0
  76. package/dist/references-section-rule.d.ts +482 -0
  77. package/dist/references-section-rule.d.ts.map +1 -0
  78. package/dist/references-section-rule.js +777 -0
  79. package/dist/references-section-rule.js.map +1 -0
  80. package/dist/section-hierarchy-rule.d.ts +299 -0
  81. package/dist/section-hierarchy-rule.d.ts.map +1 -0
  82. package/dist/section-hierarchy-rule.js +482 -0
  83. package/dist/section-hierarchy-rule.js.map +1 -0
  84. package/dist/source-alignment.d.ts +41 -0
  85. package/dist/source-alignment.d.ts.map +1 -0
  86. package/dist/source-alignment.js +166 -0
  87. package/dist/source-alignment.js.map +1 -0
  88. package/dist/source-lines.d.ts +69 -0
  89. package/dist/source-lines.d.ts.map +1 -0
  90. package/dist/source-lines.js +104 -0
  91. package/dist/source-lines.js.map +1 -0
  92. package/dist/spec-version.d.ts +19 -0
  93. package/dist/spec-version.d.ts.map +1 -0
  94. package/dist/spec-version.js +19 -0
  95. package/dist/spec-version.js.map +1 -0
  96. package/dist/types.d.ts +219 -0
  97. package/dist/types.d.ts.map +1 -0
  98. package/dist/types.js +11 -0
  99. package/dist/types.js.map +1 -0
  100. package/examples/docs/0. Orientation/0.0 - System Overview.md +34 -0
  101. package/examples/docs/0. Orientation/0.0.1 - Glossary.md +21 -0
  102. package/examples/docs/0. Orientation/0.0.2 - Quality Gates.md +22 -0
  103. package/examples/docs/3. Ingestion/3.1 - Ingestion - Validation Rules.md +33 -0
  104. package/examples/docs/4. Payments/4.10 - Settlement.md +22 -0
  105. package/examples/docs/4. Payments/4.2 - Payment Processing Contract.md +33 -0
  106. package/examples/docs/8. Orchestration/8.1 - Workflow Orchestration Contract.md +38 -0
  107. package/examples/docs/8. Orchestration/8.1.3 - Retry Policy.md +17 -0
  108. package/examples/docs/8. Orchestration/8.10 - Dead Letter Queue.md +20 -0
  109. package/examples/docs/README.md +7 -0
  110. package/package.json +65 -7
  111. package/protocol/navigation-protocol.md +223 -0
  112. package/spec/v2/1 - ECR - Structural Specification.md +1467 -0
  113. package/spec/v2/2 - ECR - User Guide.md +845 -0
  114. package/spec/v2/3 - Design Rationale - The Section Separator.md +243 -0
  115. package/src/bin.ts +30 -0
  116. package/src/cli/corpus-loader.ts +482 -0
  117. package/src/cli/corpus-statistics.ts +196 -0
  118. package/src/cli/diagnostic-reporter.ts +344 -0
  119. package/src/cli/project-ignore.ts +238 -0
  120. package/src/cli/safe-text.ts +39 -0
  121. package/src/cli/supervisor.ts +204 -0
  122. package/src/cli.ts +836 -0
  123. package/src/corpus-validator.ts +642 -0
  124. package/src/document-identity-rule.ts +422 -0
  125. package/src/ecr.ts +298 -0
  126. package/src/glob-pattern.ts +242 -0
  127. package/src/heading-source-form.ts +173 -0
  128. package/src/identifier-grammar.ts +380 -0
  129. package/src/index.ts +78 -0
  130. package/src/inline-reference-rule.ts +1235 -0
  131. package/src/meta-documents.ts +159 -0
  132. package/src/per-document-visitor.ts +1528 -0
  133. package/src/references-section-rule.ts +1182 -0
  134. package/src/section-hierarchy-rule.ts +705 -0
  135. package/src/source-alignment.ts +209 -0
  136. package/src/source-lines.ts +123 -0
  137. package/src/spec-version.ts +19 -0
  138. package/src/types.ts +267 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"per-document-visitor.js","sourceRoot":"","sources":["../src/per-document-visitor.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,8EAA8E;AAC9E,4DAA4D;AAC5D,8EAA8E;AAE9E,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAClC,OAAO,WAAW,MAAM,cAAc,CAAC;AAyCvC,8EAA8E;AAC9E,6CAA6C;AAC7C,8EAA8E;AAE9E,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAwG5D,8EAA8E;AAC9E,uCAAuC;AACvC,8EAA8E;AAE9E,wEAAwE;AACxE,MAAM,CAAC,MAAM,2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MAAM,SAAS,GAAsB;YACnC,KAAK,EAAE,QAAQ,CAAC,KAAK;YACrB,KAAK,EAAE,QAAQ,CAAC,KAAK;YACrB,QAAQ;YACR,UAAU;YACV,gBAAgB;SACjB,CAAC;QAEF,OAAO,SAAS,CAAC;IACnB,CAAC;CACF"}
@@ -0,0 +1,482 @@
1
+ /**
2
+ * References Section Rule (ECR103)
3
+ *
4
+ * Validates the mandatory References section defined in the ECR specification:
5
+ * - 1#9.6 -- References Section Rules (Mandatory)
6
+ * - 1#9.7 -- Direction Label Semantics
7
+ * - 1#9.8 -- Per-Document Structural Invariants ("References section present exactly once",
8
+ * "No duplicate TargetDocID entries in References")
9
+ *
10
+ * This rule operates on heading node data to detect the `## References` heading,
11
+ * and on list item text content to parse and validate individual reference entries.
12
+ * It delegates identifier parsing to {@link IdentifierGrammar} and emits
13
+ * {@link Diagnostic} objects for any violations.
14
+ *
15
+ * Extracted artefacts:
16
+ * - {@link ReferenceEdge} for each valid list item in the References section
17
+ */
18
+ import type { DocID, Diagnostic, PositionRange, ReferenceEdge, ReferenceDirection } from './types.js';
19
+ import { IdentifierGrammar } from './identifier-grammar.js';
20
+ import type { HeadingNodeData } from './document-identity-rule.js';
21
+ /**
22
+ * Canonical rule identifier for the References Section Rule.
23
+ *
24
+ * Referenced as [ECR103] in the ECR specification (1#9.6).
25
+ */
26
+ export declare const REFERENCES_SECTION_RULE_ID: string;
27
+ /**
28
+ * Data extracted from a single list item AST node within the References
29
+ * section, provided by the document traversal layer.
30
+ *
31
+ * The rule does not parse Markdown itself; it operates on list item
32
+ * data supplied by the visitor/traversal infrastructure.
33
+ */
34
+ export interface ListItemNodeData {
35
+ /**
36
+ * Plain text content of the list item node.
37
+ *
38
+ * Expected to match the pattern:
39
+ * `TargetDocID <dash> Title " (" Direction <dash> Explanation ")"`
40
+ *
41
+ * @example "3.1 - Scenario Authoring (authority - defines guardrail logic)"
42
+ */
43
+ readonly text: string;
44
+ /**
45
+ * Positional range of the list item node within the source document.
46
+ * Optional; depends on whether the Markdown parser provides positional metadata.
47
+ */
48
+ readonly range?: PositionRange;
49
+ /**
50
+ * The parsed nodes that make up {@link text}, in order, joined to form it.
51
+ *
52
+ * Needed to locate the relationship parenthetical in the source. It is
53
+ * found in the parsed text, and only the parsed text knows which `(` it
54
+ * is: raw Markdown gains and loses parentheses through character
55
+ * references, formatting and link destinations, so balancing the source
56
+ * separately picked a different `(` and judged the wrong one. The segment
57
+ * holding the parsed `(` says where to look. When absent, as in unit tests
58
+ * that supply only text, the label's source position is not checked.
59
+ */
60
+ readonly segments?: readonly ListItemSegment[];
61
+ }
62
+ /**
63
+ * One parsed node's contribution to a References entry's text.
64
+ */
65
+ export interface ListItemSegment {
66
+ /**
67
+ * How the segment's characters map back to the source: `text` for a parsed
68
+ * text node, through escapes and character references; `code` for inline
69
+ * code, whose content is the source between its backtick fences; `other`
70
+ * for anything else that contributes text, such as the text of HTML, which
71
+ * is not traced.
72
+ */
73
+ readonly kind: 'text' | 'code' | 'other';
74
+ /** The characters the node contributes. */
75
+ readonly text: string;
76
+ /** The node's position in the source. */
77
+ readonly range?: PositionRange;
78
+ }
79
+ /**
80
+ * The complete result produced by finalising the References Section Rule
81
+ * after all headings and list items have been evaluated.
82
+ *
83
+ * Contains zero or more diagnostics and the list of successfully extracted
84
+ * reference edges.
85
+ */
86
+ export interface ReferencesSectionRuleResult {
87
+ /** Diagnostics emitted during evaluation (errors for violations). */
88
+ readonly diagnostics: readonly Diagnostic[];
89
+ /**
90
+ * Reference edges extracted from valid list items, in document traversal order.
91
+ *
92
+ * Each edge represents a document-level typed relationship from the current
93
+ * document to a referenced document.
94
+ */
95
+ readonly references: readonly ReferenceEdge[];
96
+ }
97
+ /**
98
+ * Represents the successfully parsed components of a single References
99
+ * section list item.
100
+ *
101
+ * This is an intermediate type used internally during evaluation. It holds
102
+ * the parsed fields before they are assembled into a {@link ReferenceEdge}.
103
+ */
104
+ export interface ParsedReferenceEntry {
105
+ /** The target DocID extracted from the list item. */
106
+ readonly targetDocId: DocID;
107
+ /** The title text extracted from the list item. */
108
+ readonly title: string;
109
+ /** The direction label extracted from the parenthetical. */
110
+ readonly direction: ReferenceDirection;
111
+ /** The explanation text extracted from the parenthetical. */
112
+ readonly explanation: string;
113
+ }
114
+ /**
115
+ * Configuration options for constructing a {@link ReferencesSectionRule} instance.
116
+ */
117
+ export interface ReferencesSectionRuleOptions {
118
+ /**
119
+ * The opaque, host-provided URI identifying the document being validated.
120
+ * Attached to all emitted diagnostics.
121
+ */
122
+ readonly uri: string;
123
+ /**
124
+ * The DocID established by the {@link DocumentIdentityRule} for this document.
125
+ * Used as the `fromDocId` field in all extracted {@link ReferenceEdge} objects.
126
+ */
127
+ readonly docId: DocID;
128
+ /**
129
+ * The {@link IdentifierGrammar} instance used for DocID parsing
130
+ * and separator validation.
131
+ */
132
+ readonly grammar: IdentifierGrammar;
133
+ /**
134
+ * The document's raw Markdown, for the References source-form checks of
135
+ * 1#9.11 rule 4. When absent, as in unit tests that supply only parsed
136
+ * text, those checks are skipped.
137
+ */
138
+ readonly sourceText?: string;
139
+ }
140
+ /** The `data.cause` of a `## References` heading no recipe can find. */
141
+ export declare const REFERENCES_HEADING_SOURCE_FORM_CAUSE: string;
142
+ /** The `data.cause` of a References section that is not at the document root. */
143
+ export declare const REFERENCES_PLACEMENT_CAUSE: string;
144
+ /** The `data.cause` of a References entry the entry recipes cannot find. */
145
+ export declare const REFERENCES_ENTRY_SOURCE_FORM_CAUSE: string;
146
+ /** The `data.cause` of an entry whose relationship parenthetical never closes. */
147
+ export declare const REFERENCES_ENTRY_UNBALANCED_CAUSE: string;
148
+ /** The `data.cause` of a References section with no entries (reported as info). */
149
+ export declare const REFERENCES_EMPTY_CAUSE: string;
150
+ /**
151
+ * Validates the References Section Rule as defined in the ECR specification (1#9.6, 1#9.7, 1#9.8).
152
+ *
153
+ * The rule enforces that:
154
+ * - Exactly one `## References` heading exists in the document
155
+ * - A list node immediately follows the References heading
156
+ * - Each list item matches the required format:
157
+ * `TargetDocID <dash> Title " (" Direction <dash> Explanation ")"`
158
+ * - TargetDocID is a valid DocID per the identifier grammar
159
+ * - Direction is one of: authority, dependency, constraint, contract
160
+ * - Title and Explanation are non-empty
161
+ * - Each separator is a dash: hyphen-minus, en dash or em dash
162
+ * - No duplicate TargetDocID entries exist
163
+ *
164
+ * For each valid list item, the rule extracts a {@link ReferenceEdge} with
165
+ * `fromDocId` set to the document's established DocID.
166
+ *
167
+ * Usage:
168
+ * 1. Construct a rule instance with the document URI, established DocID,
169
+ * and an {@link IdentifierGrammar}.
170
+ * 2. Call {@link evaluateHeading} for every heading node encountered during
171
+ * AST traversal. The rule uses this to detect `## References` headings.
172
+ * 3. Call {@link evaluateListItem} for every list item node encountered
173
+ * within the References section during AST traversal.
174
+ * 4. Call {@link finalise} after all nodes have been evaluated to obtain
175
+ * the complete result including any "missing References" diagnostics.
176
+ *
177
+ * @example
178
+ * ```ts
179
+ * const grammar = new IdentifierGrammar();
180
+ * const rule = new ReferencesSectionRule({
181
+ * uri: 'file:///doc.md',
182
+ * docId: '5.1',
183
+ * grammar,
184
+ * });
185
+ *
186
+ * rule.evaluateHeading({ depth: 1, text: '5.1 - My Document' });
187
+ * rule.evaluateHeading({ depth: 2, text: '5.1#1 - Section' });
188
+ * rule.evaluateHeading({ depth: 2, text: 'References' });
189
+ *
190
+ * rule.evaluateListItem({
191
+ * text: '3.1 - Scenario Authoring (authority - defines guardrail logic)',
192
+ * });
193
+ * rule.evaluateListItem({
194
+ * text: '8.1 - Orchestration Contract (constraint - retry semantics)',
195
+ * });
196
+ *
197
+ * const result: ReferencesSectionRuleResult = rule.finalise();
198
+ * ```
199
+ */
200
+ export declare class ReferencesSectionRule {
201
+ /** The opaque, host-provided URI identifying the document being validated. */
202
+ private readonly uri;
203
+ /** The established DocID for this document, used as `fromDocId` in extracted edges. */
204
+ private readonly docId;
205
+ /** The grammar instance used for DocID parsing and separator validation. */
206
+ private readonly grammar;
207
+ /** Diagnostics accumulated during evaluation. */
208
+ private readonly collectedDiagnostics;
209
+ /** Reference edges extracted from valid list items, in traversal order. */
210
+ private readonly collectedReferences;
211
+ /**
212
+ * Number of `## References` headings encountered during evaluation.
213
+ * Used to detect missing or duplicate References sections.
214
+ */
215
+ private referencesHeadingCount;
216
+ /**
217
+ * Set of TargetDocIDs already encountered in the References section,
218
+ * for duplicate detection.
219
+ */
220
+ private readonly encounteredTargetDocIds;
221
+ /** The document's source by line; absent when none was supplied. */
222
+ private readonly sourceLines;
223
+ /**
224
+ * Whether the section was found somewhere other than the document root.
225
+ * Its placement is then the one thing reported: every line of a nested
226
+ * section starts with its container's prefix, so checking each entry's
227
+ * source form as well would report the same mistake once per entry.
228
+ */
229
+ private sectionMisplaced;
230
+ /**
231
+ * Number of list items evaluated under the References heading, valid or
232
+ * not. Zero means the section declares no entries (1#9.6).
233
+ */
234
+ private evaluatedListItemCount;
235
+ /**
236
+ * Constructs a new References Section Rule evaluator.
237
+ *
238
+ * @param options - Configuration including the document URI, established DocID,
239
+ * and grammar instance
240
+ */
241
+ constructor(options: ReferencesSectionRuleOptions);
242
+ /**
243
+ * Records where the References section sits, and checks its heading's
244
+ * source form (1#9.11 rules 3 and 4).
245
+ *
246
+ * Called once, by the traversal layer, for the section whose list it then
247
+ * feeds. A section nested in a blockquote, a list item or any other
248
+ * container is reported once as misplaced. One at the root has its heading
249
+ * line checked: it must be `## References` at the start of a line a search
250
+ * sees, because the recipe that reads a document's references is
251
+ * `^## References`.
252
+ *
253
+ * @param headingRange - Position of the `## References` heading
254
+ * @param nested - Whether the heading, or the list after it, is not a root child
255
+ */
256
+ evaluateSectionPlacement(headingRange: PositionRange | undefined, nested: boolean): void;
257
+ /**
258
+ * Evaluates a single heading node to detect `## References` headings.
259
+ *
260
+ * A heading is considered a References heading when its depth is exactly 2
261
+ * and its text content is exactly "References". The rule tracks how many
262
+ * such headings are encountered to enforce the "exactly one" constraint.
263
+ *
264
+ * Headings that do not match are ignored by this rule.
265
+ *
266
+ * @param headingNodeData - Data extracted from a heading AST node
267
+ */
268
+ evaluateHeading(headingNodeData: HeadingNodeData): void;
269
+ /**
270
+ * Evaluates a single list item node from within the References section.
271
+ *
272
+ * For each list item, the method validates:
273
+ * 1. The entry carries its separators (any dash variant is accepted)
274
+ * 2. The overall format matches:
275
+ * `TargetDocID <dash> Title " (" Direction <dash> Explanation ")"`
276
+ * 3. TargetDocID parses as a valid DocID per the identifier grammar
277
+ * 4. Direction is one of the allowed enumeration values
278
+ * 5. Title is non-empty (after trimming)
279
+ * 6. Explanation is non-empty (after trimming)
280
+ * 7. TargetDocID has not been seen before in this References section
281
+ *
282
+ * When all validations pass, a {@link ReferenceEdge} is extracted with
283
+ * `fromDocId` set to the document's DocID.
284
+ *
285
+ * When any validation fails, an error diagnostic is emitted and no
286
+ * edge is extracted for that list item.
287
+ *
288
+ * @param listItemNodeData - Data extracted from a list item AST node
289
+ * within the References section
290
+ */
291
+ evaluateListItem(listItemNodeData: ListItemNodeData): void;
292
+ /**
293
+ * Indicates whether the References section heading has been detected.
294
+ *
295
+ * This is used by the traversal layer to determine when list items
296
+ * should be fed to this rule. Only list items immediately following
297
+ * the `## References` heading should be evaluated.
298
+ *
299
+ * @returns `true` if at least one `## References` heading has been encountered
300
+ */
301
+ tellReferencesHeadingDetected(): boolean;
302
+ /**
303
+ * Finalises the rule evaluation and produces the complete result.
304
+ *
305
+ * This method must be called after all heading and list item nodes
306
+ * have been supplied via {@link evaluateHeading} and {@link evaluateListItem}.
307
+ * It analyses the count of References headings encountered and emits
308
+ * appropriate diagnostics:
309
+ *
310
+ * - Zero References headings: emits a "missing References section" error diagnostic
311
+ * - Multiple References headings: emits a "multiple References sections" error diagnostic
312
+ * - Exactly one References heading with no list items: emits an "empty section" info
313
+ * diagnostic, since an empty section is valid (1#9.6)
314
+ *
315
+ * @returns The complete rule result including all diagnostics and extracted reference edges
316
+ */
317
+ finalise(): ReferencesSectionRuleResult;
318
+ /**
319
+ * Parses a list item text string into its component parts.
320
+ *
321
+ * Attempts to match the pattern:
322
+ * `TargetDocID <dash> Title " (" Direction <dash> Explanation ")"`
323
+ *
324
+ * The relationship parenthetical is located first, by matching the entry's
325
+ * final `)` to its opening `(` (1#9.6). Taking the last `" ("` instead read
326
+ * `defines retries (contract - policy)` as a `contract` edge, and failed
327
+ * outright on `defines retries (including backoff)`. Within the
328
+ * parenthetical, the first separator splits Direction from Explanation;
329
+ * before it, the first separator splits TargetDocID from Title, which may
330
+ * itself contain separators.
331
+ *
332
+ * @param text - The plain text content of a list item node
333
+ * @returns The parsed entry, `'unbalanced'` when the parenthetical never
334
+ * closes, or `undefined` when the entry is otherwise malformed
335
+ */
336
+ private parseListItemText;
337
+ /**
338
+ * Maps an offset in a segment's parsed text to its offset in the segment's
339
+ * source, by the rule for the segment's kind.
340
+ *
341
+ * @param segment - A `text` or `code` segment
342
+ * @param source - The segment's source
343
+ * @param offset - An offset within its parsed text
344
+ * @returns The corresponding source offset, or `undefined` when a text
345
+ * segment could not be aligned
346
+ */
347
+ private static locateInSegmentSource;
348
+ /**
349
+ * Maps an offset in an inline code span's content to its source.
350
+ *
351
+ * Code content takes no escapes or character references, so it is the
352
+ * source between the backtick fences, with one exception: when it both
353
+ * begins and ends with a space, one space is stripped from each side.
354
+ *
355
+ * @param source - The code span's source, fences included
356
+ * @param offset - An offset within its parsed content
357
+ * @returns The corresponding source offset
358
+ */
359
+ private static locateInCodeSource;
360
+ /**
361
+ * Finds what, if anything, keeps `^## References` from finding the heading.
362
+ *
363
+ * The line must be `## References` exactly (1#9.11 rule 4). The check that
364
+ * numbered headings share allows anything after the identifier, since a
365
+ * title follows it; that let `## References ##` and trailing spaces pass
366
+ * here, where the specification allows nothing.
367
+ *
368
+ * @param headingRange - Position of the `## References` heading
369
+ * @returns The obstruction, or `undefined` when the heading is findable
370
+ */
371
+ private findHeadingObstruction;
372
+ /**
373
+ * Locates an entry's relationship parenthetical by matching its final `)`
374
+ * to the `(` that opens it, scanning right to left and counting depth
375
+ * (1#9.6). The explanation may then hold parentheses of its own, and the
376
+ * title may hold unmatched ones, without either being mistaken for it.
377
+ *
378
+ * @param entry - The entry's text, without trailing whitespace
379
+ * @returns The opening `(`'s index; `'missing'` when the entry does not end
380
+ * with `)`; `'unbalanced'` when the final `)` is never matched
381
+ */
382
+ private static locateRelationshipParenthetical;
383
+ /**
384
+ * Checks that an entry is where the References recipes look (1#9.11 rule 4).
385
+ *
386
+ * The entry recipe `^\s*([-*+]|[0-9]+[.)])\s*\[?8\.1[^0-9.#]` and the
387
+ * direction recipe, which adds `.*\(authority`, each read one line. So the
388
+ * list marker, the target DocID in literal characters and the direction
389
+ * label must all be on the entry's first line, and that line must be a
390
+ * line to a search engine. The explanation may wrap freely after the label.
391
+ *
392
+ * @param entry - The parsed entry
393
+ * @param item - The list item the entry was parsed from
394
+ * @returns A diagnostic when a recipe cannot find the entry, or `undefined`
395
+ */
396
+ private validateEntrySourceForm;
397
+ /**
398
+ * Reports whether an entry's first line begins as the entry recipe expects:
399
+ * a list marker, then the target DocID in literal characters.
400
+ *
401
+ * @param line - The list item's first source line
402
+ * @param entry - The parsed entry
403
+ * @returns `true` when the entry recipe matches the line's start
404
+ */
405
+ private static tellEntryLineMatches;
406
+ /**
407
+ * Reports whether the entry's own relationship parenthetical opens on its
408
+ * first line, with the direction label written literally after the `(`.
409
+ *
410
+ * The `(` is the one the parser chose: found in the parsed entry by
411
+ * matching its final `)`, then traced to the source through the parsed
412
+ * text node that holds it. Two shortcuts both failed. Asking whether
413
+ * `(dependency` occurred anywhere on the line let a title such as
414
+ * `Target (dependency graph)` answer for a formatted label. Balancing the
415
+ * raw source separately picked a different `(` whenever markup added or
416
+ * removed a parenthesis -- `&#40;`, `**(…)**`, a link destination holding
417
+ * `)` -- rejecting valid entries and, in one case, excusing an invalid one.
418
+ *
419
+ * @param item - The list item, with its parsed segments
420
+ * @param line - The list item's first source line
421
+ * @param entry - The parsed entry
422
+ * @returns `true` when the label follows the entry's own `(` on its first line
423
+ */
424
+ private tellLabelOpensFirstLineParenthetical;
425
+ /**
426
+ * Traces a parsed `(` to the source through its text node, and checks that
427
+ * the label follows it literally on the entry's first line.
428
+ *
429
+ * @param segment - The text segment holding the `(`
430
+ * @param offset - The `(`'s offset within the segment's parsed text
431
+ * @param label - `(` followed by the direction label
432
+ * @param firstLine - The entry's first line number
433
+ * @param line - That line's text
434
+ * @returns `true` when the source holds the label there, on that line
435
+ */
436
+ private tellSegmentHoldsLiteralLabel;
437
+ /**
438
+ * Validates that a list item carries a separator, and returns an error
439
+ * diagnostic when none is found.
440
+ *
441
+ * Any dash variant is accepted. Detection is delegated to
442
+ * {@link IdentifierGrammar.validateSeparator}.
443
+ *
444
+ * @param text - The plain text content of a list item node
445
+ * @param range - Optional positional range for the diagnostic
446
+ * @returns A diagnostic if a separator is invalid, or `undefined` if all separators are valid
447
+ */
448
+ private validateListItemSeparators;
449
+ /**
450
+ * Validates that a direction string is one of the allowed
451
+ * {@link ReferenceDirection} values.
452
+ *
453
+ * @param candidate - The direction string extracted from the parenthetical
454
+ * @returns `true` if the candidate is a valid direction, `false` otherwise
455
+ */
456
+ private tellValidDirection;
457
+ /**
458
+ * Creates a diagnostic object for the References Section Rule.
459
+ *
460
+ * All diagnostics share the same rule ID ({@link REFERENCES_SECTION_RULE_ID})
461
+ * and document URI. Each is an error except the empty-section finding, which
462
+ * is information (1#9.6, 1#12.3).
463
+ *
464
+ * @param message - Human-readable description of the issue
465
+ * @param range - Optional positional range within the source document
466
+ * @param data - Optional machine-readable detail, such as a `cause`
467
+ * @param severity - Severity per 1#12; an error unless stated otherwise
468
+ * @returns A fully populated diagnostic object
469
+ */
470
+ private createDiagnostic;
471
+ /**
472
+ * Produces a human-readable description of a detected separator string.
473
+ *
474
+ * Replaces non-visible characters with their Unicode names to make
475
+ * diagnostics more informative.
476
+ *
477
+ * @param separator - The detected separator string
478
+ * @returns A human-readable description suitable for inclusion in a diagnostic message
479
+ */
480
+ private describeSeparator;
481
+ }
482
+ //# sourceMappingURL=references-section-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