clearotron 0.6.0 → 0.7.0-beta.1

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 (146) hide show
  1. package/INSTALL.md +7 -4
  2. package/QUICKSTART.md +1 -0
  3. package/README.md +5 -2
  4. package/THIRD-PARTY-NOTICES.md +1 -1
  5. package/bin/clearotron.mjs +4 -2
  6. package/bin/onboard.mjs +158 -29
  7. package/build-info.json +2 -2
  8. package/docs/CLIENT-MCP.md +3 -1
  9. package/docs/DELIVERY.md +6 -3
  10. package/docs/architecture/02-architecture.md +1 -1
  11. package/docs/architecture/04-configuration-reference.md +105 -8
  12. package/docs/branding.md +4 -4
  13. package/docs/report-data/clearance-1.schema.json +320 -0
  14. package/docs/report-data/knockout-1.schema.json +268 -0
  15. package/driver/CHANGELOG.md +77 -0
  16. package/driver/cancel.mjs +19 -0
  17. package/driver/connotation-search.mjs +1 -1
  18. package/driver/contract-e3-backlog.mjs +41 -41
  19. package/driver/contract-vocabulary.mjs +1 -1
  20. package/driver/coverage-ledger.mjs +18 -2
  21. package/driver/deferral-row.mjs +1 -1
  22. package/driver/degraded-parts.mjs +1 -0
  23. package/driver/driver.config.mjs +5 -5
  24. package/driver/effective-scope.mjs +3 -1
  25. package/driver/engagement-receipt.mjs +3 -3
  26. package/driver/engine/anthropic-agent.mjs +15 -1
  27. package/driver/engine/common.mjs +7 -0
  28. package/driver/engine/mcp/band-server.mjs +7 -16
  29. package/driver/engine/mcp/codex-config.mjs +3 -0
  30. package/driver/engine/mcp/recording-server.mjs +45 -34
  31. package/driver/engine/openai-agent.mjs +74 -7
  32. package/driver/engine/session-record.mjs +44 -2
  33. package/driver/findings-model.mjs +14 -2
  34. package/driver/follow-up-twins.mjs +86 -0
  35. package/driver/gateway.mjs +77 -12
  36. package/driver/jx-units.mjs +3 -1
  37. package/driver/jx.mjs +13 -5
  38. package/driver/manuals-inline.mjs +98 -0
  39. package/driver/manuals-seen.mjs +134 -0
  40. package/driver/mark-logos.mjs +174 -0
  41. package/driver/methodology-witness.mjs +2 -1
  42. package/driver/owner-use-check.mjs +8 -4
  43. package/driver/package.json +1 -1
  44. package/driver/pipeline-knockout.mjs +23 -4
  45. package/driver/pipeline.mjs +128 -15
  46. package/driver/portal-local-auth.mjs +6 -2
  47. package/driver/portal-report.mjs +45 -14
  48. package/driver/portal-routes/me.mjs +4 -1
  49. package/driver/portal-runs.mjs +19 -16
  50. package/driver/predelivery-lint.mjs +7 -5
  51. package/driver/profiles.mjs +4 -4
  52. package/driver/publish/README.md +9 -7
  53. package/driver/publish/email-conditions.mjs +22 -5
  54. package/driver/publish/evidence-words.mjs +21 -0
  55. package/driver/publish/index.mjs +304 -211
  56. package/driver/publish/knockout.mjs +297 -247
  57. package/driver/publish/office-record-links.mjs +11 -9
  58. package/driver/publish/page-shell.mjs +98 -0
  59. package/driver/publish/pool-admin.mjs +2 -2
  60. package/driver/publish/publish-inputs.mjs +4 -0
  61. package/driver/publish/regions.mjs +28 -3
  62. package/driver/publish/register-record-html.mjs +105 -0
  63. package/driver/publish/register-record.mjs +165 -0
  64. package/driver/publish/render-knockout.mjs +299 -671
  65. package/driver/publish/render.mjs +561 -492
  66. package/driver/publish/report-data.mjs +226 -13
  67. package/driver/publish/report-document.mjs +353 -0
  68. package/driver/publish/search-depth.mjs +88 -7
  69. package/driver/publish/shell.mjs +41 -1
  70. package/driver/publish/strings.mjs +810 -0
  71. package/driver/publish/templates/clearance-print.css +23 -0
  72. package/driver/publish/templates/knockout.css +224 -0
  73. package/driver/publish/templates/report.css +112 -53
  74. package/driver/publish/xlsx.mjs +158 -139
  75. package/driver/record-goods.mjs +42 -0
  76. package/driver/reference-score.mjs +4 -1
  77. package/driver/register-count.mjs +5 -1
  78. package/driver/register-reach.mjs +39 -0
  79. package/driver/registry-fidelity.mjs +155 -37
  80. package/driver/repair-composers.mjs +7 -3
  81. package/driver/repair-targets.mjs +4 -1
  82. package/driver/replay-archive.mjs +4 -3
  83. package/driver/run-delivered.mjs +14 -8
  84. package/driver/run-record.mjs +1 -0
  85. package/driver/runner.mjs +73 -29
  86. package/driver/scope-facts.mjs +27 -6
  87. package/driver/search-policy.mjs +9 -4
  88. package/driver/skills/clearance-search/report-prose.md +3 -0
  89. package/driver/skills/knockout-assess/SKILL.md +8 -0
  90. package/driver/stage-freshness.mjs +8 -5
  91. package/driver/stages.mjs +69 -43
  92. package/driver/steps/delivery.mjs +9 -5
  93. package/driver/steps/overview-and-cards.mjs +54 -15
  94. package/driver/steps/register-sweep.mjs +5 -4
  95. package/driver/steps/skeptic-and-follow-up.mjs +3 -2
  96. package/driver/steps/verdict-gate.mjs +35 -14
  97. package/driver/suite-census.json +579 -87
  98. package/driver/synthesis-record.mjs +4 -3
  99. package/driver/terminal-clamp.mjs +6 -1
  100. package/driver/withdrawn-rating.mjs +72 -0
  101. package/mcp-server/CHANGELOG.md +8 -0
  102. package/mcp-server/lib/audit-view.mjs +5 -2
  103. package/mcp-server/lib/brief.mjs +6 -2
  104. package/mcp-server/lib/evidence.mjs +94 -23
  105. package/mcp-server/lib/findings.mjs +19 -2
  106. package/mcp-server/lib/knockout.mjs +13 -4
  107. package/mcp-server/lib/scrub.mjs +1 -1
  108. package/mcp-server/package.json +1 -1
  109. package/mcp-server/server.mjs +22 -3
  110. package/package.json +4 -1
  111. package/portal-ui/dist/assets/{index-CYaO2ygd.js → index-BBlN4CYq.js} +238 -80
  112. package/portal-ui/dist/assets/{index-izLa9apq.css → index-CxAkJXIT.css} +25 -5
  113. package/portal-ui/dist/index.html +2 -2
  114. package/portal-ui/package.json +3 -3
  115. package/providers/_shared/ledger.mjs +30 -2
  116. package/providers/_shared/record-uri.mjs +15 -0
  117. package/providers/clarivate/src/adapter.js +11 -0
  118. package/providers/clarivate/src/core.js +17 -1
  119. package/providers/jx/src/core.js +4 -4
  120. package/providers/jx/src/judge.js +1 -3
  121. package/providers/jx/src/nativeread.js +1 -3
  122. package/providers/oauth-mcp-bridge/CHANGELOG.md +8 -0
  123. package/providers/oauth-mcp-bridge/package.json +1 -1
  124. package/scripts/README.md +147 -3
  125. package/scripts/added-reference-check.mjs +35 -7
  126. package/scripts/e2e-first-time.mjs +4 -4
  127. package/scripts/env-audit.mjs +16 -9
  128. package/scripts/freeze-example-run.mjs +3 -3
  129. package/scripts/mint-public-residue.mjs +3 -3
  130. package/scripts/mint-search-level-tags.mjs +61 -0
  131. package/scripts/mint-source-pin-census.mjs +89 -0
  132. package/scripts/release-note-required.mjs +65 -6
  133. package/scripts/test-durations-reporter.mjs +25 -0
  134. package/scripts/test-full.mjs +72 -18
  135. package/scripts/test-run.mjs +18 -1
  136. package/shared/brand.mjs +93 -6
  137. package/shared/inline-markdown.mjs +53 -0
  138. package/shared/names-in-force.mjs +0 -1
  139. package/shared/portal-tokens.mjs +2 -1
  140. package/shared/reference-guard-classes.mjs +43 -2
  141. package/shared/register-selection.mjs +8 -3
  142. package/shared/search-level-tags.json +25 -0
  143. package/shared/source-spans.mjs +91 -0
  144. package/shared/tools/derive-band-pairs.mjs +10 -0
  145. package/driver/own-rights.mjs +0 -83
  146. package/driver/use-check.mjs +0 -85
@@ -0,0 +1,810 @@
1
+ // SPDX-License-Identifier: AGPL-3.0-only
2
+ // Copyright 2026 Cordillera Sàrl. Additional terms under section 7 of the AGPL-3.0 apply — see ADDITIONAL-TERMS.md
3
+ // publish/strings.mjs — the sentences the product composes for a client, in one place, by id.
4
+ //
5
+ // A firm working in another language would otherwise fork every file that writes one, and fork it again on
6
+ // every release. Each entry is today's text, character for character: moving a sentence here changes no word,
7
+ // and a sentence that changes is a change to a client surface, made as one and never inside a move. A label
8
+ // carries no markup and no closing punctuation where its surfaces differ on them; the caller adds those.
9
+ //
10
+ // NOT HERE: the words a model writes, the sentences the engine composes for a model, and the portal's strings,
11
+ // which have their own list (scripts/portal-strings.mjs). The renderers' sentences move here a file at a time.
12
+ //
13
+ // An entry is a string, or a function of the values a sentence carries.
14
+
15
+ /** The cover note that carries a clearance report to the lawyer, as HTML and as markdown. */
16
+ export const EMAIL = Object.freeze({
17
+ // The risk tier a cover note's badge prints, by the tier it matched.
18
+ tiers: Object.freeze({ veryHigh: 'VERY HIGH', high: 'HIGH', medium: 'MEDIUM', manageable: 'MANAGEABLE', low: 'LOW' }),
19
+ openReport: '▶ Open the full report',
20
+ downloadAudit: 'Download audit (Excel)',
21
+ scopeLabel: 'Search scope:',
22
+ scopeOpen: 'Some scoped searches remained open at delivery.',
23
+ overallRisk: 'Overall risk:',
24
+ onlyYouCanClose: 'Only you can close these',
25
+ onlyYouCanCloseDefault: 'the open items set out in the report, before relying on a clean result',
26
+ // The heading a report whose assessment did not complete lists its conditions under, copied from the report (2026-11-19).
27
+ beforeYouCanRely: 'Before you can rely on this result',
28
+ handlingNote: 'Handling note:',
29
+ registerCoverage: 'Register coverage —',
30
+ applicantMidRun: 'Applicant named mid-run:',
31
+ client: 'Client:',
32
+ classes: 'Classes:',
33
+ basis: 'Basis:',
34
+ // `domain` arrives with its own emphasis: <b>…</b> in the HTML note, **…** in the markdown one.
35
+ accessNote: (domain) => `Access-controlled — sign in with a ${domain} account. Reply to this email with any questions.`,
36
+ });
37
+
38
+ /** The cover note that carries a Knockout to the lawyer: one line per searched name under a head. */
39
+ export const KNOCKOUT_EMAIL = Object.freeze({
40
+ marks: (n) => `${n} mark${n === 1 ? '' : 's'}`,
41
+ rating: 'rating',
42
+ highestRating: 'highest rating',
43
+ openReport: 'Open the full report',
44
+ auditWorkbook: 'audit workbook',
45
+ onePerName: 'One report per name below',
46
+ // `link` is the audit workbook's own link, its words included.
47
+ batchWorkbook: (link) => `, and one ${link} for the batch`,
48
+ defaultCaveat: 'Ratings reflect our common law assessment. Register analysis may adjust ratings in either direction.',
49
+ classes: 'Classes',
50
+ manualCheck: 'manual verification recommended (automated research unavailable)',
51
+ openThisReport: 'open this report',
52
+ });
53
+
54
+ /** The audit workbook's own sentences, sheet by sheet. */
55
+ export const WORKBOOK = Object.freeze({
56
+ // Findings: how each conflict was treated, keyed by its disposition.
57
+ treatment: Object.freeze({
58
+ adversarial: 'On-field — stress-tested as the closest conflict',
59
+ 'coexistence-partner': 'Coexistence partner — living alongside, kept manageable',
60
+ distinguished: 'Distinguished — weak shared element, kept manageable',
61
+ 'off-field': 'Off-field — outside the risk zone',
62
+ }),
63
+ withdrawn: (reason) => `Withdrawn on review — ${reason}`,
64
+ noReasonRecorded: 'no reason recorded',
65
+ contextNote: 'Noted for awareness — not a rated conflict',
66
+ // Findings: whether each registration's record was retrieved.
67
+ liveListing: 'n/a — live listing',
68
+ retrieved: 'Retrieved from the register',
69
+ notRetrievedUnverified: 'Not retrieved — details unverified',
70
+ notIndividuallyRetrieved: 'Not individually retrieved',
71
+ // `countries` arrives joined, "CA" or "US/AU".
72
+ countriesRetrieved: (countries) => `${countries} retrieved`,
73
+ countriesNotRetrieved: (countries) => `${countries} not retrieved`,
74
+ // What was searched: each row's outcome, the section heads, and the words a common-law row is built from. A
75
+ // count or a list arrives formatted; `across` is "~3" or "the".
76
+ outcome: Object.freeze({
77
+ findings: '→ Findings',
78
+ excluded: 'Excluded',
79
+ noConflict: 'No conflict',
80
+ recorded: 'Recorded — read the Result',
81
+ reviewed: 'Reviewed — not carried as a conflict',
82
+ partial: 'No conflict — partial',
83
+ notSearched: 'Open — not searched',
84
+ }),
85
+ couldNotBeSearched: 'could not be searched',
86
+ registerSection: 'REGISTER — vendor register, worldwide',
87
+ // The register service's own reach, as the coverage line states it; a run that recorded none keeps the line above.
88
+ registerSectionReach: (service, offices) => `REGISTER — ${service}, ${offices} office${offices === 1 ? '' : 's'}`,
89
+ // An order that names its countries: the rows below say where (2026-11-19).
90
+ registerSectionNamed: 'REGISTER',
91
+ commonLawSection: 'COMMON-LAW — web / marketplace / social / product database',
92
+ surfaces: (n) => `~${n} surfaces`,
93
+ similarFound: 'similar listing(s) found',
94
+ clean: '0 — clean',
95
+ cleanOn: (ran, n) => `0 — clean on ${ran} of ${n}`,
96
+ reasonsGiven: (count, list) => ` The surface${count === 1 ? '' : 's'} gave a reason: ${list}.`,
97
+ someGaveNoReason: (count, list) => ` ${count} recorded no reason (${list}).`,
98
+ noneGaveAReason: ' No reason was recorded for any of them.',
99
+ notClosedAcross: (count, list) => ` ${count} surface${count === 1 ? '' : 's'} could not be searched (${list}) — this term is NOT closed across them.`,
100
+ checkedJoined: (across) => `Checked across ${across} surfaces; similar listing(s) surfaced → see Findings`,
101
+ checkedReviewed: (across) => `Checked across ${across} surfaces; listing(s) reviewed, none carried as a separate conflict`,
102
+ checkedClean: (ran) => `Checked across ~${ran} surface${ran === 1 ? '' : 's'}; no listing found`,
103
+ checkedNowhere: 'Not checked on any recorded surface',
104
+ unlogged: Object.freeze({
105
+ term: "COMMON-LAW — not itemised in this search's search log",
106
+ result: 'no per-term rows recorded',
107
+ outcome: 'Not itemised',
108
+ note: 'This run is not recorded as a register-only search, so what this tab lists is not the whole of what it searched. Its search log holds no per-term common-law rows, so the sweep cannot be set out term by term here. Read this tab as an incomplete record of the searching — never as evidence that no common-law search ran — and check any common-law line on "Coverage & gaps" against the run\'s own common-law record.',
109
+ }),
110
+ // Findings: where a conflict was found, and the link to its source.
111
+ sourceLayer: Object.freeze({ caseLaw: 'Case-law', marketplace: 'Marketplace', web: 'Web' }),
112
+ view: 'View',
113
+ // Summary: the mark-assessment, coverage-judgment and corrections blocks.
114
+ markItself: 'The mark itself',
115
+ distinctiveness: 'Distinctiveness',
116
+ connotation: 'Connotation',
117
+ perClass: (cls) => `Class ${cls}`,
118
+ coexistingRegistration: 'Coexisting registration',
119
+ howCoverageWasJudged: 'How coverage was judged',
120
+ correctionsApplied: 'Review corrections applied',
121
+ // Coverage & gaps: the state each area is in.
122
+ state: Object.freeze({ clean: 'Clean', limited: 'Limited', open: 'Open', note: 'Note' }),
123
+ // Summary: its labels and its sentences. A label under a heading is indented by the caller.
124
+ summary: Object.freeze({
125
+ title: (product) => `${product} — audit`,
126
+ titleWithoutProduct: 'Search audit',
127
+ subtitle: 'The full, downloadable record behind the report — what was searched, and what we concluded about each finding.',
128
+ mark: 'Mark',
129
+ matter: 'Matter',
130
+ classes: 'Classes',
131
+ registerCoverage: 'Register coverage',
132
+ jurisdiction: 'Jurisdiction',
133
+ searched: 'Searched',
134
+ riskBand: 'Risk band',
135
+ verdict: 'Verdict',
136
+ checkFirst: '⚠ One thing to check first',
137
+ nothingOpen: 'None — every search unit reached completion.',
138
+ commonLaw: '⚠ Common-law searching',
139
+ commonLawUnlogged: 'Not set out term by term in this workbook: this search\'s search log holds no per-term common-law rows, so "What was searched" lists the register terms only. Read that tab as an incomplete record of the searching, not as evidence that no common-law search ran, and check any common-law line on "Coverage & gaps" against the run\'s own common-law record.',
140
+ machineQc: '⚠ Machine QC',
141
+ // `count` is the number of failed checks, or `someChecks` when none is recorded.
142
+ machineQcFailed: (count, reasons) => `${count} machine check(s) failed at publish — recorded here for review. ${reasons}`,
143
+ someChecks: 'Some',
144
+ checksNotEvaluated: 'the checks could not be evaluated',
145
+ checksFlagged: 'Machine checks flagged',
146
+ checksFlaggedCount: (n) => `${n} — enumerated below; the report was delivered as usual.`,
147
+ check: 'Check',
148
+ byTheNumbers: 'By the numbers',
149
+ findingsRated: 'Findings rated',
150
+ onField: 'On-field (the one stress-tested as closest)',
151
+ distinguished: 'Distinguished / manageable',
152
+ offField: 'Off-field (outside the risk zone)',
153
+ areasAssessed: 'Coverage areas assessed',
154
+ openOrLimited: 'Open / limited coverage',
155
+ howToRead: 'How to read this workbook',
156
+ findingsTab: 'Findings',
157
+ findingsTabIs: 'every conflicting mark we surfaced, our call on it, and the evidence behind each call.',
158
+ searchedTab: 'What was searched',
159
+ searchedTabIsRegisterOnly: 'every search we ran. This was a REGISTER-ONLY search: trade mark registers were searched, marketplaces and common-law use were not.',
160
+ searchedTabIsRegisterTerms: 'every register search we ran, term by term. The common-law searching is NOT set out here — see the caveat above — so this tab is not the whole record of what was searched.',
161
+ searchedTabIsEverything: 'every search we ran — register and common-law — so you can see we looked everywhere.',
162
+ coverageTab: 'Coverage & gaps',
163
+ coverageTabIs: 'what is fully cleared and what is still open — read this first if you have a doubt.',
164
+ evidenceTags: 'Evidence tags',
165
+ evidenceTagsAre: "'verified' = checked against the register record we retrieved · 'not yet verified' = stated, but the record was not retrieved · 'inferred' = our own reading · 'not checked' = not checked",
166
+ recordRetrieved: 'Record retrieved?',
167
+ recordRetrievedIs: 'whether the register entry itself was retrieved; where a record could not be retrieved, its details are shown unverified.',
168
+ }),
169
+ // Summary: the Jurisdiction row, the register's scope and then the common-law layer. `scope` arrives joined.
170
+ jurisdictionLine: Object.freeze({
171
+ worldwide: 'Worldwide',
172
+ registerOnly: (scope) => `${scope} (register only — no common-law / marketplace search)`,
173
+ noMarketplaces: (scope) => `${scope} (register) + common-law (Western web / social, plus any stores chosen for this matter)`,
174
+ withCommonLaw: (scope) => `${scope} (register) + common-law (Western web / marketplace / social)`,
175
+ }),
176
+ // Summary: the Machine QC row's reasons, one per check the delivery failed. A list arrives joined.
177
+ heldBecause: Object.freeze({
178
+ findingsStale: (list) => `the reviewer's corrections did not reach the client-facing findings (${list}) — re-run the correction before this goes out`,
179
+ escalationFailed: "the main search didn't finish — it needs to be re-run before this can be relied on",
180
+ recordMismatch: 'a registration detail in the report does not match its official record',
181
+ countsDoNotAddUp: 'the registration counts in the report do not add up',
182
+ withdrawnStillShown: 'a conflict the reviewer withdrew still appears in the deliverable — the correction did not stick',
183
+ permissionProse: 'the deliverable explains missing coverage by saying a search tool was blocked or lacked permission — on this configuration that is normally a by-design exclusion rather than an outage, so both the explanation and the coverage it excuses must be re-established before this can be relied on',
184
+ findingsUnreadable: 'the results could not be read back to build the report',
185
+ findingQuarantined: 'a result could not be read and had to be set aside, so the report would be missing it',
186
+ inputAbsent: (list) => `a required input to this report was not there (${list}) — the report was built without it, which is not the same as a search that found nothing`,
187
+ }),
188
+ // Coverage & gaps: a probe the run decided on and never sent, and a result the run read and put down.
189
+ overTheCap: 'over the cap, never dispatched',
190
+ setAside: (what) => `Set aside: ${what}`,
191
+ // A machine check whose finding the report does not print, and the words a few cells fall back to.
192
+ checkNotPassed: 'A machine check on the report did not pass.',
193
+ notChecked: 'not checked',
194
+ commonLawRegistration: '— (common-law)',
195
+ notedOnly: 'n/a — noted only',
196
+ // The engine's own words, and the reader's word each becomes in a cell. Keys are the engine's, lower case.
197
+ readerWords: Object.freeze({
198
+ receipt: 'record', receipts: 'records',
199
+ lint: 'check', tripwire: 'check', tripwires: 'checks',
200
+ composite: 'combined', scatter: 'chart', cache: 'stored copy',
201
+ quadrant: 'position', quadrants: 'positions', coordinate: 'position', coordinates: 'positions',
202
+ meter: 'measure', meters: 'measures',
203
+ }),
204
+ });
205
+
206
+ /** The Knockout's audit workbook: its sheets' own words. A value a cell carries arrives formatted. */
207
+ export const KNOCKOUT_WORKBOOK = Object.freeze({
208
+ noResults: 'No results found',
209
+ inUseAs: (use) => ` — in use as ${use}`,
210
+ callOk: (bytes) => `ok — ${bytes} bytes`,
211
+ failed: (reason) => `FAILED — ${reason}`,
212
+ setAside: (url) => `Set aside: ${url}`,
213
+ // Working Notes: why a point the run looked at again is still open, as the note's prefix.
214
+ openBecause: Object.freeze({
215
+ 'not-corrected': 'Not corrected in this search: ',
216
+ 'not-rechecked': 'Corrected, but not read again: ',
217
+ 'not-answered': 'Not answered: ',
218
+ }),
219
+ internalNote: 'Internal note',
220
+ registerEstimate: 'Register estimate (model)',
221
+ // Register Counts and Register Filings.
222
+ notAvailable: 'not available',
223
+ allClasses: 'all classes',
224
+ worldwide: 'worldwide',
225
+ formsNotRecorded: 'not recorded — this search predates the close-variation column',
226
+ noCountRecorded: 'no count recorded',
227
+ containingSearch: 'containing search',
228
+ soundAlikeSearch: 'sound-alike search',
229
+ closeVariation: 'close variation',
230
+ identical: 'identical',
231
+ notListed: 'not listed',
232
+ noListingRecorded: 'no listing was recorded for this mark',
233
+ searchDidNotRun: 'the search did not run',
234
+ noneCarriedForward: 'none carried forward',
235
+ noneFound: 'none found',
236
+ cappedAt: (cap) => `capped at ${cap}`,
237
+ // Machine Checks.
238
+ checksFlagged: 'Machine checks flagged',
239
+ checksFlaggedCount: (n) => `${n} — enumerated below; the report was delivered as usual.`,
240
+ check: (i) => `Check ${i}`,
241
+ });
242
+
243
+ /**
244
+ * The audit workbooks' tab names and column headers, keyed by the name the code builds each tab and row on. A header
245
+ * the owner renamed reads differently from its key; a translation changes the values and never the keys, because the
246
+ * rows are built on the keys.
247
+ */
248
+ export const WORKBOOK_LABELS = Object.freeze({
249
+ sheets: Object.freeze(Object.fromEntries([
250
+ 'Summary', 'Findings', 'What was searched', 'Coverage & gaps',
251
+ 'Negative Results', 'Audit Trail', 'Working Notes', 'Register Counts', 'Register Filings', 'Machine Checks',
252
+ ].map((n) => [n, n]))),
253
+ columns: Object.freeze({ ...Object.fromEntries([
254
+ // The clearance workbook.
255
+ 'Field', 'Value',
256
+ '#', 'Conflicting mark', 'Owner', 'Country', 'Source', 'Class', 'Registration(s)', 'Status & key dates',
257
+ 'Record retrieved?', 'Risk band', 'How we treated it', 'Mark similarity', 'Goods proximity', 'Use', 'Enforcer', 'Link',
258
+ 'Search term / variant', 'Scope', 'Result', 'Outcome', 'Note',
259
+ 'Area', 'State', 'What was done', "What's left",
260
+ // The Knockout workbook.
261
+ 'Mark', 'Finding Reference', 'Finding Name', 'Band', 'Type', 'Net', 'Basis', 'Evidence',
262
+ 'Search Term', 'Source / Context', 'Notes', 'Result Summary',
263
+ 'Classes counted', 'Territories', 'Identical filings', 'Filings containing the name', 'Filings on close variations',
264
+ 'Close variation forms', 'Register',
265
+ 'Matched form', 'Trademark', 'Status', 'Classes', 'Territory', 'Filed', 'Registered', 'Record',
266
+ 'Check', 'What it found',
267
+ ].map((h) => [h, h])),
268
+ // The owner's labels (2026-11-18): the report's words for the enforcement meter, and the Knockout's headings in
269
+ // the clearance workbook's sentence case, in its words where a column holds the same thing.
270
+ 'Enforcer': 'Likely to enforce',
271
+ 'Finding Reference': 'Finding reference', 'Finding Name': 'Conflicting mark', 'Band': 'Risk band',
272
+ 'Search Term': 'Search term', 'Source / Context': 'Source / context', 'Notes': 'Note', 'Result Summary': 'Result summary',
273
+ }),
274
+ });
275
+
276
+ /** The list of reports a client's own index page shows: its heading, its table and its search and pages. */
277
+ export const CLIENT_INDEX = Object.freeze({
278
+ heading: (account) => `Trademark clearance — ${account}`,
279
+ subheading: (n) => `${n} report(s) for this account · access-controlled · noindex.`,
280
+ columns: Object.freeze({ matter: 'Matter', project: 'Project', client: 'Client', overall: 'Overall', run: 'Run', audit: 'Audit' }),
281
+ search: 'Search',
282
+ searchPlaceholder: 'Filter by matter, project or verdict…',
283
+ searchLabel: 'Filter reports',
284
+ noMatch: 'No matching reports',
285
+ previous: 'Prev',
286
+ next: 'Next',
287
+ // The page's count line, built in the browser: "1–20 of 45", then " shown" under a filter.
288
+ of: ' of ',
289
+ shown: ' shown',
290
+ retired: ' retired',
291
+ });
292
+
293
+ /** The register's own record of a cited registration, as the report shows it: its labels and its notes. */
294
+ export const REGISTER_RECORD = Object.freeze({
295
+ // The labels, as fixed on 2026-11-18.
296
+ labels: Object.freeze({
297
+ title: 'Register record',
298
+ mark: 'Mark',
299
+ goods: 'Goods and services',
300
+ owner: 'Owner',
301
+ country: 'Country',
302
+ status: 'Status',
303
+ number: 'Register number',
304
+ }),
305
+ mtNote: 'For the original wording, open the register number or use Ask AI.',
306
+ noGoods: 'The record states no goods or services.',
307
+ classNotStated: 'Class not stated',
308
+ logoNotRetrieved: 'Logo not retrieved',
309
+ registrationsCount: (n) => `${n} registrations`,
310
+ showAllTerms: (n) => `Show all ${n} terms`,
311
+ // `language` is the record's language by its English name, or null when the record does not say.
312
+ machineTranslation: (language) => (language ? `Machine translation from ${language}` : 'Machine translation'),
313
+ asRegistered: (language) => (language
314
+ ? `In ${language}, as registered. No English translation on the record.`
315
+ : 'As registered. No English translation on the record.'),
316
+ logoAlt: (mark, country) => `${mark}, logo as registered in ${country}`,
317
+ designating: (list) => ` · designating: ${list}`,
318
+ designationsNotOnRecord: 'designated countries not on the fetched record — rights reach only its designations',
319
+ priorityWindow: 'recent filing — Paris-priority window (potential global backdating)',
320
+ });
321
+
322
+ /**
323
+ * What a registration number linked to the office's own page opens, and why one is cited by number instead: the
324
+ * report's sentences under its findings, and the workbook's Link cell. `name` is the register's name, and `names` a
325
+ * list of them, joined.
326
+ */
327
+ export const RECORD_LINKS = Object.freeze({
328
+ opensOfficePage: 'A registration number shown as a link opens the office’s own page for that record.',
329
+ noPage: (name) => `${name}: the register publishes no page for a single record, so its registrations are cited by number.`,
330
+ numberForm: (name) => `${name}: registrations whose numbers are not in the form the register's page address takes are cited by number, not linked.`,
331
+ noAddress: (name) => `${name}: we hold no page address for this register, so its registrations are cited by number.`,
332
+ noAddresses: (names) => `${names}: we hold no page address for these registers, so their registrations are cited by number.`,
333
+ cell: Object.freeze({
334
+ noPage: (name) => `No page for a single record at this register (${name}); cited by number`,
335
+ noAddress: (name) => `No page address held for this register (${name}); cited by number`,
336
+ numberForm: (name) => `Number not in the form this register's page address takes (${name}); cited by number`,
337
+ }),
338
+ });
339
+
340
+ /** The Knockout report page: its own words, section by section. A value a sentence carries arrives formatted. */
341
+ export const KNOCKOUT_PAGE = Object.freeze({
342
+ // The jump strip, in its order.
343
+ strip: Object.freeze({ summary: 'Summary', findings: 'Findings', filings: 'Also considered', next: 'Next steps' }),
344
+ degradedNote: 'Automated research for this name was unavailable — manual verification is recommended before relying on this rating.',
345
+ // The rating's qualifier, in words: the closed set's own, and any other word framed.
346
+ qualifier: Object.freeze({ low: 'at the low end of this band' }),
347
+ qualifierOther: (word) => `${word} within this band`,
348
+ names: (n) => `${n} names`,
349
+ classes: (list) => `Classes ${list}`,
350
+ // Registers that are not countries, in the two forms English needs: "the United States" and "United States application".
351
+ registerNames: Object.freeze({
352
+ EM: Object.freeze({ bare: 'European Union', phrase: 'the European Union' }),
353
+ EU: Object.freeze({ bare: 'European Union', phrase: 'the European Union' }),
354
+ WO: Object.freeze({ bare: 'international', phrase: 'the WIPO register' }),
355
+ US: Object.freeze({ bare: 'United States', phrase: 'the United States' }),
356
+ GB: Object.freeze({ bare: 'United Kingdom', phrase: 'the United Kingdom' }),
357
+ UK: Object.freeze({ bare: 'United Kingdom', phrase: 'the United Kingdom' }),
358
+ CH: Object.freeze({ bare: 'Swiss', phrase: 'Switzerland' }),
359
+ }),
360
+ // "a, b and c": `head` arrives joined on commas.
361
+ listEnd: (head, last) => `${head} and ${last}`,
362
+ // The counted scope, in one sentence.
363
+ counted: Object.freeze({
364
+ theRegister: 'the register',
365
+ worldwideOn: (n, provider) => `Counted worldwide, ${n} registers, on ${provider}.`,
366
+ worldwide: (provider) => `Counted worldwide on ${provider}.`,
367
+ named: (list, provider) => `Counted in ${list}, on ${provider}.`,
368
+ listed: (n, provider) => `Counted on ${n} registers, listed on the workbook's Register Counts sheet, on ${provider}.`,
369
+ }),
370
+ // The counts table: its heads, and a cell with no count.
371
+ counts: Object.freeze({
372
+ name: 'Name',
373
+ exactly: (name) => `Exactly ${name}`,
374
+ exactlyTheName: 'Exactly the name',
375
+ contains: (name) => `Contains ${name}`,
376
+ containsTheName: 'Contains the name',
377
+ nearSpellingsOf: (forms) => `Near-spellings (${forms})`,
378
+ nearSpellings: 'Near-spellings',
379
+ noCountRecorded: 'no count recorded',
380
+ notCountedThisRun: 'not counted on this run — it predates this column, and an archived report re-renders as what it was',
381
+ notAvailable: 'not available',
382
+ inClasses: (list) => `classes ${list}`,
383
+ allClasses: 'all classes — this run named none, so nothing narrowed the count',
384
+ }),
385
+ // The filings listed under "Also considered". `rest` is `otherSearches` or `closeVariations`.
386
+ filings: Object.freeze({
387
+ noListing: 'No filings listing was recorded for this name.',
388
+ foundAs: (form) => `found as ${form}`,
389
+ head: Object.freeze({ trademark: 'Trademark', owner: 'Owner', status: 'Status', classes: 'Classes', territory: 'Territory', record: 'Record' }),
390
+ showing: (shown, total, rest) => ` Showing ${shown} of ${total}, most material first — the filings this assessment weighed before the rest, then live filings before dead, in the searched classes before outside them, the name itself before ${rest}. The full list is in the audit workbook's Register Filings sheet.`,
391
+ otherSearches: 'other searches',
392
+ closeVariations: 'its close variations',
393
+ sameRows: " The same rows are in the audit workbook's Register Filings sheet, most material first.",
394
+ }),
395
+ // Why no register was counted: the counts failed on this run, or the product tier does not include them.
396
+ tierAbsence: Object.freeze({
397
+ probeRan: 'Register hit-counts are part of this search, and none could be taken on this run — the per-name reason is recorded in the audit workbook. This is a gap in this run, not a limit of the product.',
398
+ notInTier: 'Register hit-counts (identical · containing · close variations) are not included in this product tier, so no register was counted for this report. They are part of the Knockout search this offering sells today.',
399
+ }),
400
+ // The card fold's label: the clearance's word for the reasoning (2026-11-18).
401
+ riskAssessment: 'Risk assessment',
402
+ // A finding card's head and fold.
403
+ finding: Object.freeze({
404
+ unnamed: 'Unnamed finding',
405
+ askAi: '\u2726 Ask AI about this finding',
406
+ fullDetail: 'Full detail',
407
+ sources: 'Sources: ',
408
+ }),
409
+ // The source chips a card wears.
410
+ chips: Object.freeze({ commonLaw: 'Common law', register: 'Register' }),
411
+ // About this request: its rows. The heading stays in the renderer, where a guard holds it to the part's name.
412
+ about: Object.freeze({
413
+ on: (provider) => `, on ${provider}`,
414
+ registers: (n) => `${n} ${n === 1 ? 'register' : 'registers'}`,
415
+ countedWorldwide: 'Counted worldwide',
416
+ typeOfSearch: 'Type of search',
417
+ instructedUse: 'Instructed use',
418
+ classes: 'Classes',
419
+ whereSearched: 'Where searched',
420
+ context: 'Context',
421
+ registersCounted: 'Registers counted',
422
+ searchedOn: 'Searched on',
423
+ }),
424
+ // A name's read: where its register position stands, and what was counted for it. `near` is `nameNear` or
425
+ // `closeVariation`; `where` is `above` or `below`; `classWhere` is `inClasses`'s phrase or empty.
426
+ read: Object.freeze({
427
+ filingsNotListed: 'The filings behind the counts could not be listed on this run, so nothing here says whether one stands.',
428
+ countsNotListed: 'The filings behind those counts were not listed on this run.',
429
+ noListing: 'No filings listing was recorded for this name.',
430
+ theRegister: 'the register',
431
+ inClasses: (n, list) => ` in class${n === 1 ? '' : 'es'} ${list}`,
432
+ filingsStand: (n, near, provider, classWhere, refs, where) => `${n === 1 ? 'A filing' : `${n} filings`} of this name or ${near} stand${n === 1 ? 's' : ''} on ${provider}${classWhere} — ${refs} ${where}.`,
433
+ nameNear: 'a name near it',
434
+ closeVariation: 'a close variation of it',
435
+ above: 'above',
436
+ below: 'below',
437
+ noneStands: (provider) => `No filing of this name or a close variation of it stands on ${provider}, in the classes counted.`,
438
+ listingIncomplete: 'The filings listing for this name did not complete, so nothing here says whether one stands.',
439
+ listedBelow: (n) => `${n} filing${n === 1 ? ' is' : 's are'} listed for this name below; none is carried up as a conflict — each is either shown dead on the register or outside the classes counted.`,
440
+ remainingUncertainties: 'Remaining uncertainties',
441
+ readFullAssessment: 'Read the full assessment',
442
+ }),
443
+ // A name's rating card and its row.
444
+ readCard: Object.freeze({
445
+ overallRisk: 'Overall risk',
446
+ why: (band) => `Why ${band}`,
447
+ whatWouldChange: 'What would change this',
448
+ fullNarrative: 'Full narrative',
449
+ noAdverseSignals: 'No adverse signals recorded for this name on this screen.',
450
+ }),
451
+ caveatLead: 'This screen also carries the following limits:',
452
+ sections: Object.freeze({
453
+ conflicts: 'Conflicts',
454
+ leftOpen: 'Left open',
455
+ alsoConsidered: 'Also considered',
456
+ alsoConsideredNote: 'the filings behind the counts',
457
+ }),
458
+ // The top bar. A glyph beside a label stays with the markup.
459
+ topbar: Object.freeze({
460
+ allReports: 'All reports',
461
+ issuedOn: (date) => `Issued on ${date}`,
462
+ askAi: 'Ask AI',
463
+ exportPdf: 'Export PDF',
464
+ downloadAudit: 'Download full audit (Excel)',
465
+ expandAll: 'Expand all',
466
+ collapseAll: 'Collapse all',
467
+ }),
468
+ // A register filing's card: its statement, its head and fold, and the use check on its owner.
469
+ filingCard: Object.freeze({
470
+ registration: 'registration',
471
+ application: 'application',
472
+ by: (owner) => `by ${owner}`,
473
+ ownerNotStated: 'owner not stated on the record',
474
+ classes: (n, list) => `class${n === 1 ? '' : 'es'} ${list}`,
475
+ classesNotStated: 'classes not stated on the record',
476
+ foundBySearch: (form) => ` Found by a search on ${form}.`,
477
+ foundUnderVariation: (form) => ` Found under the close variation ${form}.`,
478
+ unnamed: 'Unnamed filing',
479
+ registerRecord: 'Register record: ',
480
+ notWeighed: 'Register listing — this card carries no rating of its own',
481
+ useCheckLabel: 'Use-check source:',
482
+ useCheckUnavailable: 'Use check unavailable.',
483
+ useCheckLinkUnavailable: 'link unavailable.',
484
+ proprietorNotStated: 'proprietor not stated',
485
+ noRecordAddress: 'no record address supplied',
486
+ }),
487
+ furtherFilings: (n) => `${n} further filing${n === 1 ? '' : 's'} for this name met the same test — every one of them is in the filings section below.`,
488
+ issuedOn: (date) => `issued on ${date}`,
489
+ // The batch's statement and the summary's list of documents.
490
+ statement: (n, counts) => `Knockout screen — ${n} mark${n === 1 ? '' : 's'}: ${counts}.`,
491
+ noRatedMarks: 'no rated marks',
492
+ documents: 'Documents',
493
+ unnamedMark: '(unnamed mark)',
494
+ oneDocument: 'The register counts, the records and the coverage are in that document.',
495
+ manyDocuments: 'One document per mark, each carrying its own register counts, records and coverage. There is no combined report: this summary is the only place the marks appear together.',
496
+ receiptsIn: (file) => `The receipts are in the audit workbook: \`${file}\`.`,
497
+ });
498
+
499
+ /** The clearance report page: its own words, section by section. A value a sentence carries arrives formatted. */
500
+ export const REPORT_PAGE = Object.freeze({
501
+ // The rating card: its labels, and the lines under the gauge. Counts arrive formatted for the reader.
502
+ rating: Object.freeze({
503
+ overallRisk: 'Overall risk',
504
+ verdict: 'Verdict',
505
+ recommendation: 'Recommendation',
506
+ clear: 'Clear',
507
+ conditions: 'Conditions',
508
+ obstacleClass: (cls) => `Class ${cls}.`,
509
+ basedOn: 'Based on',
510
+ why: (band) => `Why ${band}`,
511
+ commonLawUse: 'Common-law use',
512
+ highestExposure: 'Highest exposure',
513
+ recordsReadIn: (n, place) => `${n} records read in ${place}`,
514
+ recordsReadAcross: (n, countries) => `${n} records read across ${countries} countries`,
515
+ internationalRead: (n) => `${n} international registrations read`,
516
+ nearNamesCleared: (n) => `${n} near-names cleared`,
517
+ conflicts: (n) => `${n} ${n === 1 ? 'conflict' : 'conflicts'}`,
518
+ courtChecked: 'court decisions checked',
519
+ courtNoneTouch: 'court decisions checked, none touch the name',
520
+ courtNotChecked: 'court decisions could not be checked',
521
+ searchCoverage: 'Search coverage',
522
+ ratedOn: (framework) => `Rated on the ${framework}`,
523
+ // The four answers, in their order.
524
+ fourAnswers: Object.freeze({
525
+ third_party_rights: 'Third-party rights',
526
+ objection_likelihood: 'Likelihood of objection',
527
+ registrability: 'Registrability',
528
+ client_enforceability: 'Your own enforceability',
529
+ }),
530
+ }),
531
+ allReports: '← All reports',
532
+ // The five tiers, as the gauge's ticks and its pill print them.
533
+ tierLabels: Object.freeze(['Clear', 'Low / Manageable', 'Medium', 'High', 'Very high']),
534
+ tierPills: Object.freeze(['CLEAR', 'LOW', 'MEDIUM', 'HIGH', 'VERY HIGH']),
535
+ // Where a use check's evidence came from, readable after "Evidence: verified,".
536
+ useSource: Object.freeze({
537
+ 'owner-site': "from the owner's own site",
538
+ independent: 'from an independent source',
539
+ 'register-mirror': 'from a register mirror, which is not evidence of use',
540
+ }),
541
+ useCheckNothingFound: 'Nothing found in the marketplaces searched.',
542
+ useCheckNothingFoundNoMarketplaces: 'Nothing found in the general web search or in any store chosen for this matter.',
543
+ // The meters: their labels, and the use meter's readings.
544
+ meters: Object.freeze({
545
+ use: 'Use',
546
+ confirmed: 'Confirmed',
547
+ notConfirmed: 'Not confirmed',
548
+ unknown: 'Unknown',
549
+ similarity: 'Similarity',
550
+ goodsProximity: 'Goods proximity',
551
+ likelyToEnforce: 'Likely to enforce',
552
+ }),
553
+ // The jurisdictions searched, as the About row and the What was searched section name them.
554
+ scope: Object.freeze({
555
+ coverageLimited: (name) => `${name} (coverage-limited)`,
556
+ worldwideFocusOn: (where) => `Worldwide, focus on ${where}`,
557
+ worldwideList: 'Worldwide',
558
+ }),
559
+ // About this request.
560
+ about: Object.freeze({
561
+ title: 'About this request',
562
+ typeOfSearch: 'Type of search',
563
+ instructedUse: 'Instructed use',
564
+ classes: 'Classes',
565
+ whereSearched: 'Where searched',
566
+ worldwideFocus: (n) => `Worldwide \u00b7 ${n} focus territor${n === 1 ? 'y' : 'ies'}`,
567
+ project: 'Project',
568
+ searchedOn: 'Searched on',
569
+ }),
570
+ doFirst: 'Do this first · time-critical',
571
+ // The answers to the client's instructions: the fold that holds the rest of an answer.
572
+ more: 'More',
573
+ // The names the search read and cleared, by group. Counts arrive formatted for the reader.
574
+ cleared: Object.freeze({
575
+ groups: Object.freeze({ 'dead-filing': 'Dead filings', 'different-goods': 'Different goods', other: 'Read and cleared' }),
576
+ allInWorkbook: (n) => `All ${n} in the audit workbook`,
577
+ names: (formatted, n) => `${formatted} ${n === 1 ? 'name' : 'names'}`,
578
+ runCommonLawRecord: "the run's own common-law search record",
579
+ webAndMarketplace: 'Web and marketplace names',
580
+ }),
581
+ whereItStands: 'Where it stands',
582
+ nothingFound: 'Nothing found',
583
+ // Court decisions: the section, and the line it carries. `forWhere` is `court.forWhere`'s phrase or empty.
584
+ court: Object.freeze({
585
+ title: 'Court decisions',
586
+ forWhere: (where) => ` for ${where}`,
587
+ notCompleted: (forWhere) => `Case-law research could not be completed${forWhere}.`,
588
+ noneFound: (forWhere) => `Court decisions: none found${forWhere}.`,
589
+ found: (forWhere) => `Court decisions were searched${forWhere} and are cited against the findings above.`,
590
+ }),
591
+ // What was searched: the section's rows. Counts arrive formatted for the reader, with the number beside for the plural.
592
+ // The rows named for a part (Register, Marketplace and web, Local-language investigation, Court decisions) keep their
593
+ // names in the renderer, where a guard holds each to the part's shipped name.
594
+ searched: Object.freeze({
595
+ title: 'What was searched',
596
+ counts: 'Counts for this search',
597
+ whereSearched: 'Where searched',
598
+ inPlace: (place) => ` in ${place}`,
599
+ acrossCountries: (n) => ` across ${n} countries`,
600
+ plus: ', plus ',
601
+ international: (formatted, n) => `${formatted} international registration${n === 1 ? '' : 's'}`,
602
+ recordsRead: (formatted, n, where) => `${formatted} record${n === 1 ? '' : 's'} read${where}`,
603
+ spellings: 'Spellings searched',
604
+ checksWebAndStores: (n) => `${n} checks: the general web, plus any stores chosen for this matter.`,
605
+ checksOnPlatforms: (n, platforms) => `${n} checks on ${platforms} platforms`,
606
+ reputation: 'Reputation and meaning',
607
+ checks: (n) => `${n} checks`,
608
+ localScript: 'Local-script spellings',
609
+ // The scripts by name: what was searched lists those a search completed in, and Left open those planned with none
610
+ // completed (2026-11-19). The names are the scripts' Unicode names, listed in this table's order, which gives
611
+ // the examples their own order: "Katakana and Hangul", "Greek or Cyrillic".
612
+ scriptName: Object.freeze({ Hani: 'Han', Hira: 'Hiragana', Kana: 'Katakana', Hang: 'Hangul', Grek: 'Greek', Cyrl: 'Cyrillic', Arab: 'Arabic', Hebr: 'Hebrew', Thai: 'Thai', Deva: 'Devanagari' }),
613
+ scriptsSearched: (names) => new Intl.ListFormat('en-GB', { type: 'conjunction' }).format(names),
614
+ scriptsNotCompleted: (names) => `No search in ${new Intl.ListFormat('en-GB', { type: 'disjunction' }).format(names)} script was completed.`,
615
+ // A script searched in one place and not in another (design, 2026-11-19, under the owner's delegation): the places
616
+ // where no search in it completed, named in place up to three and counted from four, with the list in the row's
617
+ // detail; a planned worldwide search that did not complete; and a planned search whose territory was not recorded.
618
+ // Two or three places are joined as the approved sentence above joins scripts.
619
+ scriptNotCompletedIn: (script, places) => `No search in ${script} script was completed in ${new Intl.ListFormat('en-GB', { type: 'disjunction' }).format(places)}.`,
620
+ scriptNotCompletedInCount: (script, n) => `No search in ${script} script was completed in ${n} planned territories.`,
621
+ worldwideNotCompleted: (script) => `The planned worldwide search in ${script} script did not complete.`,
622
+ territoryNotRecorded: (script) => `A planned search in ${script} script did not complete. Its territory was not recorded.`,
623
+ // Under "What was searched", a script whose planned worldwide search did not complete is named with the places a
624
+ // narrower search in it did complete.
625
+ scriptIn: (script, places) => `${script} (${new Intl.ListFormat('en-GB', { type: 'conjunction' }).format(places)})`,
626
+ notSearched: 'Not searched',
627
+ included: 'Included',
628
+ notPartOfSearch: 'Not part of this search',
629
+ courtWords: Object.freeze({ found: 'Found', 'none-found': 'None found', 'not-checked': 'Not searched' }),
630
+ leftOpen: 'Left open',
631
+ provenance: 'Record provenance',
632
+ numbersRead: 'Registration numbers on the cards were read from the register records. ',
633
+ indexEntry: 'A registration shown as a register-index entry was seen in the register index; its full record was not pulled. ',
634
+ inferred: '\u201cInferred\u201d beside an owner\u2019s likelihood to object means we judged it from what the owner sells and holds; we had no enforcement history to read.',
635
+ everySearch: 'Every search and result, in the audit workbook',
636
+ }),
637
+ // Also considered: the names ruled out, as cards.
638
+ alsoConsidered: Object.freeze({
639
+ title: 'Also considered',
640
+ defaultWhy: 'a different name in a related field — not a conflict with your mark',
641
+ whyRuledOut: 'Why it was ruled out',
642
+ legal: 'Legal position.',
643
+ practical: 'Practical position.',
644
+ ruledOut: 'Ruled out',
645
+ askAi: '\u2726 Ask AI about this finding',
646
+ }),
647
+ // The closed heading over the conflicts below the risk (2026-11-18; the singular form 2026-11-19): their count, and
648
+ // each band below the risk by the framework's own word, joined by "or". One conflict reads in the singular.
649
+ lowerBand: (count, bands) => `${count.toLocaleString('en-GB')} more conflict${count === 1 ? '' : 's'} rated ${bands.join(' or ')}`,
650
+ // The chart of conflicts: its axes, its zone and its legend.
651
+ chart: Object.freeze({
652
+ goodsAxis: 'Goods / services proximity →',
653
+ markAxis: 'Mark similarity →',
654
+ zone: 'CONFUSION ZONE',
655
+ onField: 'On-field · drives the read',
656
+ secondaryWatch: 'Secondary · watch',
657
+ secondaryManageable: 'Secondary · manageable',
658
+ pending: 'Pending',
659
+ }),
660
+ // The rights-holders key beside the chart.
661
+ key: Object.freeze({
662
+ classes: (list) => `Cl.${list}`,
663
+ // `link` arrives as the link to the section, its words from `commonLawSectionLink`.
664
+ commonLawHint: (link) => `Common-law / marketplace — unregistered use, not register rights (${link}).`,
665
+ commonLawSectionLink: 'see the Common-law & marketplace section',
666
+ commonLawGroup: 'Common-law / marketplace',
667
+ unregisteredUse: 'Unregistered use',
668
+ title: 'Rights-holders',
669
+ hint: 'Grouped by jurisdiction — open a region for its holders.',
670
+ }),
671
+ onFieldCommonLaw: 'On-field common-law conflicts (full cards above): ',
672
+ marks: (n) => `${n} mark${n === 1 ? '' : 's'}`,
673
+ evidence: (word) => `Evidence: ${word}`,
674
+ // A finding card: its head, its rating chip, its one line when the read is missing, and its folds.
675
+ card: Object.freeze({
676
+ owner: 'Owner',
677
+ notRatedAwareness: 'Not rated — awareness',
678
+ level: (level) => `Level ${level}`,
679
+ composite: (composite) => `Composite ${composite}`,
680
+ bandRisk: (band) => `${band} risk`,
681
+ notRatedCommercial: 'Not rated — commercial awareness',
682
+ tierRisk: (tier, level, composite, dispute) => `${tier} risk (Level ${level} · Composite ${composite}) — ${dispute}.`,
683
+ legalRisk: 'Legal risk.',
684
+ practicalPosition: 'Practical position.',
685
+ theRead: 'The read',
686
+ includeInPdf: (n) => `Include conflict ${n} in the PDF`,
687
+ askAi: '\u2726 Ask AI about this finding',
688
+ }),
689
+ // The mark itself: what the mark is, before any conflict.
690
+ markItself: Object.freeze({
691
+ title: 'The mark itself',
692
+ distinctiveness: 'Distinctiveness.',
693
+ connotation: 'Connotation & meaning.',
694
+ acquired: (text) => `Acquired distinctiveness: ${text}`,
695
+ perClass: (cls) => `Class ${cls}.`,
696
+ byClassAndMarket: 'By class and market',
697
+ registrationsConsidered: 'Registrations considered',
698
+ }),
699
+ famousNeighbours: 'Famous-mark neighbours noted',
700
+ // The banner a demonstration report carries, on the clearance and the Knockout alike.
701
+ demoBanner: Object.freeze({
702
+ title: 'Demonstration report.',
703
+ text: 'The mark is invented and this matter is not a real engagement. The register records, the searches behind them and the risk assessment are real.',
704
+ }),
705
+ // The top bar and its export menu. A glyph beside a label stays with the markup.
706
+ topbar: Object.freeze({
707
+ allReports: 'All reports',
708
+ issuedOn: (date) => `Issued on ${date}`,
709
+ askAi: 'Ask AI',
710
+ exportAndAudit: 'Export & audit',
711
+ downloadAudit: 'Download full audit (Excel)',
712
+ selectAll: 'Select all',
713
+ selectNone: 'Select none',
714
+ expandAll: 'Expand all',
715
+ collapseAll: 'Collapse all',
716
+ exportHint: 'Tick a finding to keep it in the exported PDF; untick to drop it. Internal (review-only) notes are removed on export.',
717
+ }),
718
+ // What happens next: the section, and the chip each kind of step wears.
719
+ next: Object.freeze({
720
+ title: 'What happens next',
721
+ timeCritical: 'Time-critical',
722
+ openQuestion: 'Open question',
723
+ yourDecision: 'Your decision',
724
+ monitor: 'Monitor',
725
+ filingStep: 'Filing step',
726
+ beforeYouCanRely: 'Before you can rely',
727
+ }),
728
+ // The models that prepared the report. `list` arrives joined.
729
+ preparedWith: (claude, list) => `Prepared with${claude ? ' Claude' : ''}: ${list}.`,
730
+ claudeModel: (id) => `Claude ${id}`,
731
+ // The jump strip's Conflicts entry; Summary stays in the renderer, where a guard holds it to the part's name, and
732
+ // the others are their sections' titles.
733
+ strip: Object.freeze({ conflicts: 'Conflicts' }),
734
+ // The fold under the summary's lead.
735
+ dependsOn: 'What this depends on',
736
+ // The names set apart on the record, grouped by why, and a manageable owner's kind.
737
+ setApart: Object.freeze({
738
+ distinguished: 'Argued apart on the mark',
739
+ 'coexistence-partner': 'Coexistence on the record',
740
+ 'off-field:different-field': 'A different commercial field',
741
+ 'off-field:no-material-risk': 'Clearly won',
742
+ 'off-field:unstated': 'Cleared — ground not stated on the record',
743
+ }),
744
+ commonLaw: 'common-law',
745
+ classesShort: 'Cl.',
746
+ manageable: Object.freeze({
747
+ 'large-competitor': 'Large competitor',
748
+ 'commercial-partner': 'Commercial partner',
749
+ troll: 'Troll',
750
+ 'well-known-enforcer': 'Well-known enforcer',
751
+ }),
752
+ // A card's Full detail: its fold, its registrations, its evidence lines and its open items. A link or a value that
753
+ // carries markup arrives as markup; the words around it are here.
754
+ detail: Object.freeze({
755
+ fold: 'Full detail',
756
+ inWorkbook: ' — full record in the audit workbook (“Download full audit (Excel)”)',
757
+ registration: 'registration',
758
+ indexEntry: '(register-index entry)',
759
+ recordNotRetrieved: 'Official register record could not be retrieved',
760
+ detailsUnverified: ' — registry details in this card are unverified.',
761
+ appetite: (level) => `${level} appetite`,
762
+ verified: 'verified',
763
+ source: (src) => `source: ${src}`,
764
+ enforcementOnFile: 'enforcement record on file',
765
+ inferred: 'inferred',
766
+ profileSignal: ' — reputation/profile signal.',
767
+ telemetry: 'Enforcement telemetry.',
768
+ corsearchRecords: 'Corsearch records ',
769
+ aggression: (n) => `an aggression indicator of ${n}`,
770
+ and: ' and ',
771
+ oppositions: (n) => `${n} opposition proceeding${n === 1 ? '' : 's'}`,
772
+ onOwnersRecord: (uri) => ` on the owner's record (${uri}) — provider telemetry, read beside the enforcer meter.`,
773
+ useChecked: 'Use checked.',
774
+ ownMarks: "Search of the client's own marks.",
775
+ caseLaw: 'Case-law',
776
+ openItem: 'Open item:',
777
+ seniorNotPulled: (link) => ` we could not pull the official record for the oldest registration in this family (${link}). We verified this conflict from a later registration of the same mark by the same owner. Checking that oldest record is still open.`,
778
+ seniorUnknown: ' we could not tell which registration in this family is the oldest — the register index gave us no dates. The conflict itself is verified from the record we pulled; identifying the oldest right is still open.',
779
+ ifEnforced: 'If enforced:',
780
+ }),
781
+ // The findings sections: their headings and the leads of their folds. "Marks that can coexist" stays in the
782
+ // renderer, where a guard holds both its layouts to these words; Conflicts is the strip's own entry.
783
+ findings: Object.freeze({
784
+ landscape: 'The conflict landscape',
785
+ secondaryWatch: 'Secondary & watch',
786
+ famousLead: 'Famous-mark neighbours.',
787
+ famousNote: 'Diligence — no register record; not scored, does not affect the risk read.',
788
+ sameNameLead: 'Same name, a different commercial field.',
789
+ sameNameNote: 'Listed for completeness — not conflicts with your mark.',
790
+ }),
791
+ // What the search covered: each coverage state's word, and the head over the open rows. The connector names the
792
+ // states in these same words.
793
+ coverageStates: Object.freeze({
794
+ 'confirmed-clean': 'Searched — clean',
795
+ 'coverage-limited': 'Partially covered',
796
+ open: 'Open item',
797
+ 'not-searched': 'Not searched',
798
+ note: 'Note',
799
+ }),
800
+ nextStepsHead: 'Next steps & monitoring',
801
+ marketplaceWebChip: 'Marketplace / web',
802
+ chartTitle: (n) => `Chart of ${n} conflict${n === 1 ? '' : 's'}, placed by how similar each mark is and how close its goods are; each number links to its card below.`,
803
+ // A record entry fetched from the register; `register` is the fallback when the run names no provider.
804
+ recordVerified: (provider, date) => `verified — ${provider} record fetched ${date}`,
805
+ register: 'register',
806
+ followUpPrefix: 'Follow-up / ',
807
+ exportPdfTicked: 'Export PDF (ticked findings)',
808
+ searchedOn: (date) => `searched on ${date}`,
809
+ issuedOn: (date) => `issued on ${date}`,
810
+ });