clearotron 0.5.1-beta.1 → 0.5.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.
package/build-info.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "commit": "58f38ccef43c882141e01719274085cde316f69c",
3
- "version": "0.5.1-beta.1"
2
+ "commit": "ac5084412fb3f36dd0b9bd6b1df3ab302e166c25",
3
+ "version": "0.5.1"
4
4
  }
@@ -0,0 +1,21 @@
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
+
4
+ **0.5.1**
5
+
6
+ **What changed**
7
+ - **Knockout.** A Knockout now reads the register the way a clearance does. It narrows a crowd by the client's goods, classes and markets, and reads in full each list it selects. The report lists a name's filings before its web use, and can give different risk bands to different groups of classes.
8
+ - **Install and setup.** The install documents and the program now agree. Setup explains signing in, and can continue without an AI.
9
+ - **Portal.** An install that cannot run a search says so before a search is filled in. Progress steps are renamed and the stop dialog is clearer.
10
+ - **Audit workbook.** A part of a report that could not be completed is now listed as not completed.
11
+
12
+ The full list is in the release notes.
13
+
14
+ **How it was tested**
15
+ - Built from 0.5.1-beta.2.
16
+ - Automated test suites on Linux and Windows, and an install check on macOS.
17
+ - Live Knockout searches on both supported AI engines, checked against a lawyer's report.
18
+ - A fresh install by a new user, following only the published instructions.
19
+
20
+ **Known limits**
21
+ - No lawyer has reviewed this version's ratings. Some names are rated higher than the lawyer's report.
@@ -1,5 +1,98 @@
1
1
  # clearotron-driver
2
2
 
3
+ ## 0.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed: On a beta, the setup and check commands the portal names now install and run the beta, not the stable release.
8
+ - Fixed: The README and the quickstart now give the beta's own install and demo commands, and the README no longer says `npx` asks only once before downloading.
9
+ - Fixed: With no AI chosen, the portal no longer offers to read a brief with an AI nobody chose, and `clearotron start` says why it is off.
10
+ - Fixed: Cancelling setup now says what it had already installed, instead of saying nothing was written.
11
+ - Fixed: For the Legal Data Hunter case-law source, `clearotron doctor` no longer says to ask whoever provisioned it; it says the source is optional and a Full country search runs without it.
12
+ - Fixed: Before the first `clearotron start`, `clearotron doctor` no longer says the install did not finish; it says `clearotron start` starts the client connector and `clearotron start --background` sets it up as a service.
13
+ - Fixed: When a report's correction fixes a wrong statement about what was searched, it now keeps the true results that shared that passage.
14
+ - Fixed: An assistant connected to a demo can read and explain its sample reports and can no longer start work. The connection has its own name, uses only that demo's folder, and stops working when the folder is gone.
15
+ - New: A demo now names the command that connects an assistant other than Claude Code. Run it in a second terminal and pick the assistant.
16
+ - Fixed: A demo started after `demo --once` or `demo --keep` now keeps the folder and reports those left, and says how to remove it, instead of deleting them when it closes.
17
+ - Fixed: In a demo, the free preview no longer tells a connected assistant to start the search, which a demo cannot do.
18
+
19
+ Fixed: On a machine without Claude Code, the demo now says so before its connect line, which needs it.
20
+ - Fixed: In a demo, the descriptions and guidance a connected assistant reads no longer tell it to start a search, which a demo cannot do.
21
+ - Fixed: A demo's first screen no longer lists its services' startup details. They go to a file in the demo's folder, which the screen names. Warnings and failures still show.
22
+ - Fixed: A Knockout again checks the web use of at most three owners per name, instead of every owner it marks.
23
+ - Fixed: A knockout search now reads the client's own request and the goods of each filing it fetched when it rates a name.
24
+ - Fixed: A Knockout search now reads the register the way a clearance does, instead of taking an equal share of 100 filings in the register's order. It looks at each name's counts and reads each list it selects in full. It narrows a crowd by the client's goods, classes and markets. It chooses near spellings, wider searches and sound-alike searches from what it read. An independent check can now send a material defect back to the rating step, and reads the corrected record again. The report lists a name's filings before its web use, and can give different risk bands to different groups of classes where the evidence divides.
25
+ - Fixed: A Knockout started before a register is chosen now stops at once and names the setting it needs, instead of waiting to retry on its own.
26
+ - Fixed: Setup no longer tells an install from npm to take updates with `git pull`, and the settings file it writes names the command that wrote it.
27
+ - Fixed: A port chosen with `clearotron start --port` is now refused when it is busy, as a port set by its variable is, instead of being moved.
28
+ - Fixed: A report now prints the search and issue dates from its own record. Republishing a report, or opening a demo's example, no longer shows today as the day it was searched or issued.
29
+ - Fixed: A running search's second and third steps now read "Searching registers and common law" and "Investigating and exploring findings".
30
+ - Fixed: A `clearotron start` that fails after starting its doors now stops them, instead of leaving them running.
31
+ - Fixed: A run that stops now prints a `clearotron run` command to resume it, and one that waits names `clearotron run-queue --watch`, in place of a `node` path.
32
+ - Fixed: A name containing AND, OR or NOT is now searched on Clarivate instead of being set aside, by searching its words in order.
33
+ - Fixed: After `clearotron start --background`, `clearotron doctor` no longer warns about an unset deployment name; it says that only Clearotron's own servers set one.
34
+ - Fixed: Right after setup, `clearotron doctor` no longer warns that the key revocation list cannot be read or that portal saves are refused; it says the first `clearotron start` sets both up.
35
+ - Fixed: On a machine with background services, `clearotron doctor` now reports the AI, the program and the billing those services use, not what your shell happens to set.
36
+ - Fixed: `clearotron doctor` now opens with whether a search can run and what stops one. Before, that answer came about halfway down its output.
37
+ - Fixed: With no AI chosen, `clearotron doctor` no longer reports the program, billing or sign-in of an AI nobody chose, and `--probe-engine` spends no turn.
38
+ - Fixed: `clearotron doctor` and `clearotron start` now say that a revocation list the client door cannot read makes it refuse every key; they said the opposite.
39
+ - Fixed: Setup and `doctor` no longer tell you to set a register on the Installation settings page, which shows each setting but cannot change one. They tell you to re-run setup.
40
+
41
+ Fixed: Setup's opening now says that a paid register key is written on your word, because checking it would cost you. It also says that your organisation's name is the one answer you cannot skip. With no register chosen, setup's closing lines no longer suggest a first real clearance that would be refused.
42
+
43
+ Fixed: After `doctor --probe-engine` runs a test turn, its last line no longer says that nothing was written: the AI program keeps its own files from that turn.
44
+ - Fixed: Setup's figure for the disk space the AI's program takes now matches what it installs.
45
+ - Fixed: After a declined or failed test turn, setup now asks whether to go on without an AI. If you go back to the AI question instead, the AI you picked is the default.
46
+ - Fixed: Setup's messages now name the AI as Claude or Codex, and the portal's pages by the names the portal uses, instead of the program's internal names.
47
+ - Fixed: On an npm install, setup's refusal of a configuration folder inside the program no longer speaks of a checkout and `git pull`.
48
+ - Fixed: Setup and the portal's settings list now say what the SerpAPI key is for: the Chinese marketplace search.
49
+ - Fixed: Before its test turn, setup now says the AI is saved only once the turn works, and that the turn costs nothing while the AI is not signed in.
50
+
51
+ Fixed: Setup's sign-in steps now say to use a second terminal and which question to answer yes to, and a missing Codex sign-in is reported in plain words.
52
+ - Fixed: Setup's test turn now names your AI and says how the turn is paid for, in the words of the question before it.
53
+ - Fixed: `clearotron --help` and setup's closing screen now name the four processes `clearotron start` runs.
54
+ - Fixed: `clearotron start` no longer says that ordering starts a search when the install cannot run one yet. It says what is missing and the command that sets it up.
55
+ - Fixed: The audit workbook now lists a part as not completed when the run could not add a coverage row. It does the same when the run could not finish a machine check, or its check of the official records behind the cards. Before, the report shipped without that part and nothing said so.
56
+ - Fixed: When setup installed Claude itself, the line `clearotron start` prints to connect an assistant now names that copy by its full path, so the command is found.
57
+ - Fixed: The portal's connect page and `clearotron connect` now name the Claude program setup installed, so the command they give runs on a machine with no other copy.
58
+ - Fixed: Installing with `npx` no longer ends with a false warning that a different `clearotron` comes earlier on the PATH.
59
+ - Fixed: The demo no longer reads a pasted brief with the AI engine and no longer runs queued searches, so its portal makes no paid call; its closing lines no longer say an order commits money.
60
+ - Fixed: In the demo, New clearance offers Review search again, and an order opens the finished example without asking whether to leave the page.
61
+ - Fixed: Setup's closing summary now names the AI, and when no AI or register is chosen it no longer says that nothing needs running again.
62
+ - Fixed: With no AI chosen, `clearotron doctor` no longer names a default AI; it says a search is refused until one is chosen, as its search check already did.
63
+ - Fixed: The install guide now says, where it offers the free US register, that downloading it needs a free USPTO.gov account with ID.me identity verification.
64
+ - Fixed: The install guide now gives an npm install its own commands to update, resume a run and connect an assistant, and marks the steps meant only for the source code.
65
+ - Fixed: The install guide now gives the beta's global install, a removal command that removes the program, and the folder Codex's turns leave behind.
66
+ - Fixed: The install guide's removal list now names the folder a tarball install creates, npm's download cache and Claude Code's own cache.
67
+
68
+ Fixed: The install guide now lists an AI among the settings a search requires, and no longer calls one AI the default.
69
+ - Fixed: The install guide now takes a new reader from install and setup through the free demo to the portal, where they order their first search.
70
+ - Fixed: The install guide now gives how long the sample runs in the demo took, about an hour for each clearance, instead of a figure from an older sample.
71
+ - Fixed: The install guide now says that `clearotron start` runs the portal, the engine door, the client door and the worker, and that Ctrl-C stops all of them.
72
+ - Fixed: The install guide now names all three ports `clearotron start` opens, says that `--port` moves all three, and says when a port in use is moved rather than refused; the README says which ports the demo opens.
73
+ - Fixed: The install guide now says a demo can be signed in to and ordered from, and the README says what a demo leaves: npm's own copy of the package, and any folder `--once` or `--keep` kept.
74
+ - Fixed: The README, the quickstart and the install guide now say what the SerpAPI key is for: it searches Chinese marketplaces for the native-language investigation of China, Hong Kong, Taiwan or Macau.
75
+ - Fixed: The README, the quickstart and the install guide now agree that a Knockout search runs without a Perplexity key, and that the three clearance searches need one.
76
+ - Fixed: Starting Clearotron or the demo no longer logs the portal's own check of the engine connection as a rejected request.
77
+ - Fixed: On a first start in a terminal, the log no longer says the passphrase is not printed just above the box that prints it.
78
+ - Fixed: An install that cannot run a search yet now says so on Home and on New clearance, before a search is filled in. The person who runs the install is told what is missing and the command that sets it up.
79
+
80
+ Fixed: The Installation settings page now shows an AI that was never chosen as not set, instead of showing the default as configured.
81
+ - Fixed: The quickstart's link to the four searches now leads to a page that describes them.
82
+ - Fixed: When an install cannot search yet, the portal, `clearotron start` and the run's log now say where the missing settings go and what to restart.
83
+ - Fixed: Setup's register question no longer says there is no default beside the answer Enter picks.
84
+ - Fixed: The install guide's removal list now names the folder setup installs the AI program into, the files that program keeps for itself, and the copy `npx` keeps; it no longer says the demo leaves the program behind.
85
+ - Fixed: The install guide's sample settings now select Signa, the register the guide recommends, and list each register's key once.
86
+ - Fixed: While a search stops, its card and the stop dialog no longer put the step's name inside a sentence. The dialog names the current step on a line of its own.
87
+ - Fixed: The portal no longer shows "[object Object]" on a company's profile, sends requests that fail before a company is picked, or prints its address hint twice.
88
+ - Fixed: On an npm install, `clearotron update` now says what it does there and no longer speaks of `git pull` and `npm ci`. Where it names an npm command, a beta install stays on the beta.
89
+
90
+ ## 0.5.1-beta.2
91
+
92
+ ### Patch Changes
93
+
94
+ - Fixed: A Knockout again checks the web use of at most three owners per name, instead of every owner it marks.
95
+
3
96
  ## 0.5.1-beta.1
4
97
 
5
98
  ### Patch Changes
@@ -84,7 +84,8 @@ export function ownersOwedACheck(recordsDoc, { cap = OWNER_CHECK_CAP } = {}) {
84
84
  // classes it actually searched. Passing the entry's own classes as the mark's keeps the predicate
85
85
  // reading the same scope it reads at publish time instead of silently widening to every record.
86
86
  // THE READING STEP NAMES THE FILINGS WHOSE OWNER MERITS A SEARCH, where it finished: judgment, not the first few owners
87
- // of what would be promoted. A run whose step did not finish keeps the bounded rule below.
87
+ // of what would be promoted. A run whose step did not finish keeps the bounded rule below. Either way at most
88
+ // `cap` owners per name are searched (owner's ruling, 2026-11-08), in the register's record order.
88
89
  const named = Array.isArray(entry?.reading?.ownerChecks) ? new Set(entry.reading.ownerChecks.map(String)) : null;
89
90
  const promoted = named ? (entry?.records ?? []).filter((r) => named.has(String(r?.recordId ?? ""))) : promotableRecords(entry, { classesSearched: entry?.classes ?? [] });
90
91
  const byOwner = new Map();
@@ -100,7 +101,7 @@ export function ownersOwedACheck(recordsDoc, { cap = OWNER_CHECK_CAP } = {}) {
100
101
  for (const c of (Array.isArray(r.classes) ? r.classes : [])) if (Number.isFinite(Number(c))) g.classes.add(Number(c));
101
102
  byOwner.set(key, g);
102
103
  }
103
- for (const g of named ? [...byOwner.values()] : [...byOwner.values()].slice(0, cap)) {
104
+ for (const g of [...byOwner.values()].slice(0, cap)) {
104
105
  out.push({ mark: g.mark, owner: g.owner, recordIds: g.recordIds.filter(Boolean), classes: [...g.classes].sort((a, b) => a - b) });
105
106
  }
106
107
  }
@@ -2,7 +2,7 @@
2
2
  "name": "clearotron-driver",
3
3
  "private": true,
4
4
  "type": "module",
5
- "version": "0.5.1-beta.1",
5
+ "version": "0.5.1",
6
6
  "license": "AGPL-3.0-only",
7
7
  "description": "Deterministic driver for the trademark clearance workflow: orchestration in code (fan-out, fan-in barrier, gating, retries); the model does judgment leaves only, through a reasoning CLI spawned per stage.",
8
8
  "engines": {
@@ -1157,7 +1157,7 @@
1157
1157
  },
1158
1158
  "a-knockout-reads-the-register-by-judgment.test.mjs": {
1159
1159
  "tests": 45,
1160
- "asserts": 209,
1160
+ "asserts": 211,
1161
1161
  "skips": 0,
1162
1162
  "todos": 0
1163
1163
  },
@@ -7390,8 +7390,8 @@
7390
7390
  "todos": 0
7391
7391
  },
7392
7392
  "the-owner-of-a-promoted-filing-is-searched.test.mjs": {
7393
- "tests": 16,
7394
- "asserts": 49,
7393
+ "tests": 17,
7394
+ "asserts": 54,
7395
7395
  "skips": 0,
7396
7396
  "todos": 0
7397
7397
  },
@@ -1,5 +1,13 @@
1
1
  # trademark-artifacts-mcp
2
2
 
3
+ ## 0.5.1
4
+
5
+ No changes in this release.
6
+
7
+ ## 0.5.1-beta.2
8
+
9
+ No changes in this release.
10
+
3
11
  ## 0.5.1-beta.1
4
12
 
5
13
  No changes in this release.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trademark-artifacts-mcp",
3
- "version": "0.5.1-beta.1",
3
+ "version": "0.5.1",
4
4
  "license": "AGPL-3.0-only",
5
5
  "private": true,
6
6
  "description": "MCP server to interrogate clearotron trademark-clearance runs — list/read artifacts, trace the full decision flow, telemetry/cost, coverage, single-run search, and a gated single-step what-if. Imports the clearotron-driver read-only; touches no driver/template/deploy files.",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "clearotron",
3
3
  "mcpName": "io.github.CordilleraSarl/clearotron",
4
4
  "type": "module",
5
- "version": "0.5.1-beta.1",
5
+ "version": "0.5.1",
6
6
  "license": "AGPL-3.0-only",
7
7
  "repository": {
8
8
  "type": "git",
@@ -2,7 +2,7 @@
2
2
  "name": "portal-ui",
3
3
  "private": true,
4
4
  "type": "module",
5
- "version": "0.5.1-beta.1",
5
+ "version": "0.5.1",
6
6
  "license": "AGPL-3.0-only",
7
7
  "description": "The unified trademark portal UI. One address, one login: who you are decides what you see. Built as a static bundle, served by driver/portal-service.mjs — the browser never reaches profile-service or recipe-service.",
8
8
  "engines": {
@@ -1,5 +1,13 @@
1
1
  # trademark-oauth-mcp-bridge
2
2
 
3
+ ## 0.5.1
4
+
5
+ No changes in this release.
6
+
7
+ ## 0.5.1-beta.2
8
+
9
+ No changes in this release.
10
+
3
11
  ## 0.5.1-beta.1
4
12
 
5
13
  No changes in this release.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trademark-oauth-mcp-bridge",
3
- "version": "0.5.1-beta.1",
3
+ "version": "0.5.1",
4
4
  "license": "AGPL-3.0-only",
5
5
  "private": true,
6
6
  "description": "OAuth 2.1 MCP stdio bridge used by the engine's case-law gather stage (courtlistener / legaldatahunter).",