@vantageos/mcp-doctor 0.8.2 → 0.9.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 (4) hide show
  1. package/CHANGELOG.md +49 -0
  2. package/README.md +21 -0
  3. package/dist/doctor.js +14066 -10514
  4. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -3,6 +3,55 @@
3
3
  All notable changes to `@vantageos/mcp-doctor` are documented here.
4
4
  This project adheres to [Semantic Versioning](https://semver.org/).
5
5
 
6
+ ## 0.9.0 — 2026-10-25
7
+
8
+ Standard re-pinned to ElPi-Corp `015053b7268125cf441d7555fecfe41f318a06ed` (mcp-standard v2.7, ElPi-Corp
9
+ #279). Coverage is derived, never typed here:
10
+
11
+ ```
12
+ npx tsx scripts/standard-coverage.ts 015053b7268125cf441d7555fecfe41f318a06ed <ElPi-Corp checkout>
13
+ ```
14
+
15
+ ### Added
16
+ - **S36..S41**, the section "Third-party upstream API" (task k177spssq8c4y2vd0zbmdjt70s8gzaty):
17
+ - S-36: the outbound credential.
18
+ - S-37: declared upstream settings.
19
+ - S-38: a bounded upstream call.
20
+ - S-39: typed upstream errors.
21
+ - S-40: rows narrowed to the verified caller. Each tool serving upstream rows is listed as an owed human
22
+ verdict (C-23).
23
+ - S-41: a read-only data-lake reader.
24
+
25
+ Each one implements the static half of the standard's detector specification. The dynamic half is named
26
+ in the verdict as owed. A form the scan cannot follow is could-not-judge.
27
+
28
+ ### Changed
29
+ - **C-10** accepts `upstream-delegated(<upstream>)`. It is red when the name is empty, a URL, or not a
30
+ declared upstream, and could-not-judge when no `upstreams` declaration is found. That declaration form is
31
+ the doctor's convention until the standard fixes one.
32
+ - **Behaviour:** trees that call third-party APIs can now turn red on S-37, S-38 or S-39. On readable input,
33
+ every pre-existing rule keeps its verdict: 0.8.3 and 0.9.0 give identical (state, verdict) results for
34
+ every 0.8.3 rule on five trees.
35
+
36
+ ## 0.8.3 — 2026-10-25
37
+
38
+ ### Fixed
39
+ - **A candidate that is present but unreadable is reported as present, never as absent** (task
40
+ k179q736d89ysaete7fhmshjyd8gzh41, Eta on #60). `findDiskFiles` refused a matched entry that was
41
+ chmod 000, a FIFO or a dangling link, recorded the skip, and returned nothing for it. Seventeen
42
+ callers then read that as "not in the tree".
43
+ - `findDiskFiles` now returns the refused matches alongside the readable files, typed as
44
+ `.refused`. `diskText` and `readSkillFiles` carry them too.
45
+ - Every verdict that rests on absence settles a refused match as `could-not-judge` and names the
46
+ file. That covers 15 converted callers; the other 2 are declared at their site.
47
+ - A-2 no longer says "no vite.config.* in the tree" for an unreadable config. It also no longer
48
+ turns an unreadable config into a RED.
49
+ - A-3, A-4 and A-5 no longer report "not an App" when the only HTML shell is unreadable.
50
+ - `src/runtime/launch.ts:164`, the parse of a server's stdout line, is classified as legitimate.
51
+
52
+ On readable input every verdict is unchanged: four real trees give 101 identical results on 0.8.2
53
+ and 0.8.3.
54
+
6
55
  ## 0.8.2 — 2026-10-25
7
56
 
8
57
  ### Fixed
package/README.md CHANGED
@@ -213,6 +213,27 @@ an error message) it counts only as code or as a quoted property key.
213
213
  | **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) |
214
214
  | **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) |
215
215
 
216
+ ### Changes in 0.9.0 (standard `015053b7` = mcp-standard v2.7, "Third-party upstream API")
217
+
218
+ | ID | Rule | The static run reads |
219
+ |----|------|----------------------|
220
+ | **S36** upstream-credential | S-36 | the `client_credentials` grant, where the token source is built, its cache and expiry, the 401 path, the tenancy key, secrets near logs, errors and results |
221
+ | **S37** upstream-settings | S-37 | environment reads against the declared variables, literal upstream addresses, URL variables, secret flags, defaults on required variables |
222
+ | **S38** bounded-upstream-call | S-38 | page walks and their ceiling, page size, cursor wrapping, retry bounds and `Retry-After`, the origin check, redirect options |
223
+ | **S39** upstream-error | S-39 | time budgets, `isError` results and what is interpolated into them, catch sites, empty-success fallbacks |
224
+ | **S40** upstream-rows-narrowed | S-40 | how the person is resolved, the package narrowing, the refusal paths; each tool serving upstream rows is listed as an owed human verdict (C-23) |
225
+ | **S41** lake-reader | S-41 | the reader interface, the kind of each store call, the page check, the upstream reached only on a lake miss |
226
+
227
+ **Limit, declared.** An outbound call is recognised through `fetch`, `axios`, `got`, `ky`, `node:http(s)`, `undici` and the other HTTP-client modules named in `HTTP_CLIENT_MODULE` (`src/detectors/upstreamKit.ts`). A server that reaches its upstream only through a vendor SDK outside that list, under a name the scan does not know, reads `absent` on S36..S41: the doctor does not see the call. A tool registered from a definitions array, or a handler passed by reference, is could-not-judge naming the registration call.
228
+
229
+ **C-10** accepts `upstream-delegated(<upstream>)`. It is red when the name is empty, a URL, or not a declared
230
+ upstream. The standard does not fix how an upstream is declared, so the doctor reads an `upstreams` key, in a
231
+ JSON manifest or in a TypeScript list or object. If no declaration is found, C-10 is could-not-judge.
232
+
233
+ All six rules are static + dynamic in the standard. This release runs the static half only, and each verdict
234
+ names the dynamic half it owes. **Behaviour change:** a server that calls `fetch` without a ceiling, a retry
235
+ bound or a typed error can now turn red on S-38 or S-39, where 0.8.x said nothing.
236
+
216
237
  ### Changes in 0.8.1 (standard `6d463a1e` = v2.6 `24c1ffc9` + S-35)
217
238
 
218
239
  | ID | Rule | The static run reads | Verdicts |