@vantageos/mcp-doctor 0.15.0 → 0.16.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.
- package/CHANGELOG.md +16 -0
- package/README.md +58 -0
- package/dist/doctor.js +910 -211
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,22 @@ All notable changes to `@vantageos/mcp-doctor` are documented here.
|
|
|
4
4
|
This project adheres to [Semantic Versioning](https://semver.org/).
|
|
5
5
|
Unreleased changes live as one fragment per pull request in `changelog.d/`, folded in here at release time.
|
|
6
6
|
|
|
7
|
+
## 0.16.0 — 2026-11-01
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
- **S-42: a write tool forwards the verified claims its read siblings forward.** Every backend door call is read with the claims it forwards (a spread helper's declared keys, literal keys, a door-keyed resolver), and the backend source with the table each door writes and reads. A write that lacks a claim a read of the same table forwards is non-conforming, naming both tools and the claim. Measured on vantage-peers:
|
|
11
|
+
- 010edc9 -> non-conforming (create_task writes tasks without the verifiedOrg that list_tasks, get_task and the other task tools forward);
|
|
12
|
+
- 83fa7ac (the fix, doorScopeArgs) -> no mismatch; could-not-judge on 8 calls that name their door by an expression, each named.
|
|
13
|
+
(README: #s-42-reports-a-write-tool-that-forwards-fewer-claims-than-its-read-siblings)
|
|
14
|
+
- **C-36: the README a package ships stays under the npm truncation point.** Every root `readme*` file npm ships (any case, any or no extension) is refused above 61 440 bytes (npm truncates at 65 536); the largest decides. A private or unpublished tree reads absent. The standard is re-pinned at ElPi-Corp 4ec4826b (distribution rules S-45..S-48, C-34..C-36, C-29 amended). Measured: @vantageos/cloud-identity 0.33.0 ships a 115 203-byte README -> non-conforming (49 667 bytes cut); mcp-doctor (40 623 bytes) and vantage-peers mcp-server (25 751 bytes) -> present. (README: #c-36-reports-a-readme-past-the-npm-truncation-point)
|
|
15
|
+
|
|
16
|
+
### Changed
|
|
17
|
+
- **S-28 follows resource read handlers and injected fetchers to where the door is named.** A client call whose door is the first parameter of its enclosing function is followed through its name, every function it is handed to (directly or as an object property, `deps.KEY(…)`, destructured, and `deps` handed on), and judged at each call site. Before, such calls read as could-not-judge. Measured on vantage-peers d4278807 (`npx tsx` scan of `mcp-server/`):
|
|
18
|
+
- violations 68 -> 77: the eight `ui://vp/v1` resource primitive reads (`diary:get`, `diary:list`, `tasks:list`, `messages:listMessages`, `missions:list`, `briefingNotes:get`, `briefingNotes:list`, `memories:listMemories`) and send_message's state-token `tasks:get`, all reached through a fetcher with no claim;
|
|
19
|
+
- could-not-judge 24 -> 22: the three fetcher wrappers resolve; one call through a fetcher names its door by an expression (`fresh-state-guard.ts:496`).
|
|
20
|
+
(README: #s-28-follows-a-fetcher-handed-to-other-code-to-where-its-door-is-named)
|
|
21
|
+
- **S-28, S-35 and S-42 recognise a backend client by its binding, never by its name.** A reader keyed on the receiver's name (`/convex|client/i`) was silenced by `const cx = convex`. The receiver is now resolved through an alias, a `Convex…Client` type, a constructor or a destructured key; an unresolved receiver whose call names a door, or that sits in a file importing a Convex client, is could-not-judge, naming it. (README: #s-28-follows-a-fetcher-handed-to-other-code-to-where-its-door-is-named)
|
|
22
|
+
|
|
7
23
|
## 0.15.0 — 2026-11-01
|
|
8
24
|
|
|
9
25
|
### Added
|
package/README.md
CHANGED
|
@@ -224,6 +224,64 @@ an error message) it counts only as code or as a quoted property key.
|
|
|
224
224
|
| **A4** wcag-axe-gate | A-4 | an axe dependency and a script, workflow or test that runs it | absent / non-conforming / could-not-judge (0 blocking violations is the owed gate) |
|
|
225
225
|
| **A5** performance-budgets | A-5 | gzipped size of the UI bundle files (`dist/` and `build/` read for size only): one file or one directory over 250 KB | absent / non-conforming / could-not-judge (render, roundtrip, memory probes owed) |
|
|
226
226
|
|
|
227
|
+
### Changes in 0.16.0 — S-28 follows resource read handlers and injected fetchers (standard `6870b775` = mcp-server-standard v2.10, PR #310)
|
|
228
|
+
|
|
229
|
+
#### S-28 follows a fetcher handed to other code to where its door is named
|
|
230
|
+
|
|
231
|
+
S-28 (every data path forwards the verified claim of its caller) now reads resource read handlers as well as tool
|
|
232
|
+
handlers. It also follows injected fetchers. An injected fetcher is a client call whose door is the first parameter of
|
|
233
|
+
the function that holds it, `(fn, args) => convex.query(fn, args)`, so the door is named only where the fetcher is
|
|
234
|
+
called. Before, such a call read as could-not-judge, and the doors reached through it went unread.
|
|
235
|
+
|
|
236
|
+
- **How a fetcher is followed:** by its name in its own file, and through every function it is handed to, by the
|
|
237
|
+
parameter at that position in the file defining that function. It can be handed directly as an argument, or as a
|
|
238
|
+
property of an object argument (called as `deps.KEY(…)`, or taken by a destructuring parameter); the object is
|
|
239
|
+
followed again when it is handed on.
|
|
240
|
+
- **Judgement:** each call through the fetcher with a literal door is judged like a direct call. The site names the
|
|
241
|
+
fetcher and where it was injected. A fetcher that adds the claim itself forwards it for every call made through it.
|
|
242
|
+
- **Could-not-judge, each named:** a fetcher handed to a function the tree does not define, used in a form the scan
|
|
243
|
+
does not follow, called with its door named by an expression, or never called.
|
|
244
|
+
- **Labels:** a call inside `registerResource(...)` is labelled `resource <name>`, never with an earlier tool.
|
|
245
|
+
- **Receivers:** a backend client is recognised by how it is bound, never by its name alone: an alias
|
|
246
|
+
(`const cx = convex`), a `Convex…Client` type on a binding or parameter, `new Convex…Client(…)`, or a destructured
|
|
247
|
+
client-named key. A receiver none of these resolves is could-not-judge, naming it, when its call names a door or sits
|
|
248
|
+
in a file importing a Convex client. S-35 and S-42 use the same resolver.
|
|
249
|
+
|
|
250
|
+
### Changes in 0.16.0 — S-42 (standard `9fdad5b8`, item 42)
|
|
251
|
+
|
|
252
|
+
#### S-42 reports a write tool that forwards fewer claims than its read siblings
|
|
253
|
+
|
|
254
|
+
A tool that writes a table and the tools that read it must forward the same verified claims to their backend doors,
|
|
255
|
+
or the backend stores a row its own reads cannot return. S-42 reads every backend door call (`<client>.query`,
|
|
256
|
+
`.mutation`, `.action`), the claims each call forwards, and the backend source (`convex/` above the scanned tree) for
|
|
257
|
+
the table each door writes and reads. It names each write that lacks a claim forwarded by a read of the same table.
|
|
258
|
+
|
|
259
|
+
- Claims read: `verifiedOrg`, `verifiedPerson`, `verifiedActor` and `seatOrgSlug`. They come from a spread helper (the
|
|
260
|
+
claim keys its definition declares, following only the helpers it returns) or from a literal key in the call's
|
|
261
|
+
arguments.
|
|
262
|
+
- A spread helper whose first argument is the call's own door (`...doorScopeArgs("tasks:create", …)`) is a resolver
|
|
263
|
+
keyed by the door. The claims are decided per door from one table, so these calls are green by construction.
|
|
264
|
+
`verifiedActor` added from a `VERIFIED_…DOORS` set is door-keyed in the same way and is not compared.
|
|
265
|
+
- A door's table access: `db.insert("T")` is a write, `db.query("T")` a read, and `db.get(args.x)` a read when
|
|
266
|
+
`x: v.id("T")`. Each also counts when reached through a same-file function the door calls.
|
|
267
|
+
- could-not-judge, each named: a door named by an expression, a door the backend does not define, a spread helper
|
|
268
|
+
whose claim keys cannot be read, or no backend source.
|
|
269
|
+
|
|
270
|
+
### Changes in 0.16.0 — distribution rules (standard `4ec4826b` = mcp-server-standard v2.9, mcp-standard v2.8)
|
|
271
|
+
|
|
272
|
+
#### C-36 reports a README past the npm truncation point
|
|
273
|
+
|
|
274
|
+
npm truncates a package README at 65 536 bytes, so everything past that point is missing from the package page.
|
|
275
|
+
C-36 measures every README a package ships: npm ships each root file named `readme*`, case-insensitive, with any or
|
|
276
|
+
no extension (`README.md`, `readme.md`, `README.markdown`, `README`, `README.txt`, `README.fr.md`…), all of them when
|
|
277
|
+
several exist (measured with `npm pack --dry-run`). Each one is refused above 61 440 bytes (60 KiB, a margin under the
|
|
278
|
+
cut); the largest decides, because which one the registry displays is not derived. The verdict says how many bytes are
|
|
279
|
+
already missing. A tree with no `package.json`, or with `"private": true`, is not published, so it reads absent. A
|
|
280
|
+
published package with no README also reads absent, because the README's presence belongs to C-1 and C-31.
|
|
281
|
+
|
|
282
|
+
The standard is pinned at ElPi-Corp `4ec4826b`, which adds the distribution rules S-45 to S-48 and C-34 to C-36 and
|
|
283
|
+
amends C-29 (usage skills also ship in each plugin package). The other distribution checks follow.
|
|
284
|
+
|
|
227
285
|
### Changes in 0.15.0 — S-44 (standard `9fdad5b8` = mcp-server-standard v2.8, PR #306)
|
|
228
286
|
|
|
229
287
|
#### S-44 reports an output schema that refuses added fields
|