@yawlabs/mcp 1.1.1 → 1.1.4

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 CHANGED
@@ -4,9 +4,79 @@ All notable changes to `@yawlabs/mcp` (formerly `@yawlabs/mcph`) are documented
4
4
 
5
5
  ## Unreleased
6
6
 
7
+ **Changed -- the npm and MCP registry descriptions are one sentence, and the retired "managed from yaw.sh/mcp" is gone**
8
+
9
+ `package.json` and `server.json` now carry the same description: "MCP gateway: one local install fronts every MCP server for Claude Code, Cursor, and VS Code." The registry's copy no longer says the install is managed from yaw.sh/mcp, which stopped being true when the config went local-only.
10
+
11
+ **Fixed -- a `release.sh` refusal prints no failure banner**
12
+
13
+ The non-tty confirm brake and the two behaviour-change-gate aborts exit 1 with their own `Aborted:` message, and the exit trap then added `[x] Release failed at line unknown` under it. Nothing failed and nothing was released, so those three exits now skip the banner; every other non-zero exit still prints it.
14
+
15
+ **Fixed -- `npm run verify:oam-floor` runs from a junctioned or symlinked checkout instead of exiting 0 in silence**
16
+
17
+ Node realpaths the main module's URL but leaves `process.argv[1]` as typed, so the script's main-module check was false from a junction or symlink and the script -- `-- --raise` and a bad flag included -- printed nothing and exited 0 (the 1.0.19 entry below describes that silence, which `release.sh` has refused as a verdict since then). Both sides of the check are realpath'd now. The help and header also say what `VERIFY_OAM_FLOOR_TIMEOUT_MS` bounds: each spawn on its own (the version read and each era's probe), so a run can take up to three times the value.
18
+
19
+ **Fixed -- meta-tool descriptions and hints name a call the model can make**
20
+
21
+ `mcp_connect_bundles`' description, discover's recurring-pack line and `mcp_connect_suggest` told the model to call `mcp_connect_activate` with `namespaces=[...]`, a key activate does not read. All three now print `mcp_connect_activate({ servers: [...] })`, and suggest gives that call on every pack line instead of one trailer for the top pack. suggest also leaves out a pack that names a server no longer installed, enabled or allowed by the project profile, and says so when none is left. `mcp_connect_exec`'s description now says only a compliance-floor refusal is decided before step 0 (a step on a disabled or profile-blocked server fails that step) and names both failure shapes: plain `exec: ...` text for a refusal before step 0, `{ ok: false, failedStep, error, partial }` after it. `mcp_connect_read_tool`'s not-loaded note also offers calling the tool by name from an exec step, which loads a server whose tools are cached.
22
+
23
+ **Fixed -- find_tool, health and discover agree with the project profile**
24
+
25
+ find_tool labels a hit the profile's `blockedTools` denies `[blocked]`, drops its schema line and leaves it out of the "To use one" pointer, and says so when every hit shown is blocked. Usable hits fill the page first and blocked ones take only the room left, so a profile that blocks a server's top-ranked tools no longer pushes usable matches off the page; the tail counts how many hidden matches are blocked. health's tools line labels denied tools the same way. At find_tool's cap of 50 the tail says to narrow the query instead of to raise `limit`, and the `limit` schema now reads "Default 10, cap 50." health's cross-session reliability block lists only servers that are installed, enabled and allowed by the profile, not every namespace `state.json` remembers. A focused discover card is ranked against the same server set as the full listing, so it prints the same relevance.
26
+
27
+ **Fixed -- `local set` asks its [y/N] question outside the bundles.json lock**
28
+
29
+ `yaw-mcp set` held the cross-process bundles.json lock while it waited on the destructive-change prompt, so every other writer waited on the user. The prompt now runs first; under the lock `set` re-reads the file and, if the namespace or any env key it assigns changed since that read, writes nothing and exits 1 with `env.KEY on "<ns>" changed in <path> since it was read -- nothing was written; re-run to apply.` (an `{ ok: false, error, path, namespace }` line under `--json`).
30
+
31
+ **Fixed -- heal and doctor see through a `cmd /c` wrapped oam launch; heal says when read-only diagnostics kept it from checking**
32
+
33
+ heal's foreign-entry gate tested only the launch command, so a cmd-wrapped Windows oam entry inspected from POSIX looked native; it now tests the command, the unwrapped oam binary and the entry path, and leaves that entry alone. doctor reports a missing oam binary behind a cmd wrapper as a launch command that does not exist; on Windows an extensionless oam path (wrapped or not) counts as present when `oam.exe` or another PATHEXT form exists, the way cmd.exe resolves it. With `YAW_MCP_READONLY_DIAGNOSTICS` set, `yaw-mcp heal` printed "No stale yaw-mcp entries found." without reading anything; it now prints `yaw-mcp heal: not checked -- YAW_MCP_READONLY_DIAGNOSTICS is set, ...` on stderr (unless `--quiet`) and exits 0, and `--json` gains `readOnly` (true there, false on every sweep that ran). Under `--os windows`, doctor's plaintext-credential fix lines end with a quoting note when they single-quote a value: PowerShell keeps the quotes; for cmd.exe, drop them around `env.KEY='...'` (cmd.exe would pass them through as part of the value) and double-quote a `--header` value instead (cmd.exe would split a single-quoted one at the space).
34
+
35
+ **Changed -- `secrets rotate` no longer promises a prompt, and says who still holds the old passphrase**
36
+
37
+ The success line is now "Vault locked -- the next secrets command needs the NEW passphrase." On stderr, rotate says to update `YAW_MCP_VAULT_PASSPHRASE` wherever it is set (worded for this shell when the env supplied the passphrase) and to restart a running yaw-mcp, which keeps the passphrase it started with. Under `--json` that is one `{"warning":"vault-rotated",path,passphrase_source,hint}` line on stderr, so a `--json` consumer that expected exactly one stderr line now sees two.
38
+
39
+ **Changed -- install and uninstall output**
40
+
41
+ uninstall's Done line names the scope it removed: the `yaw-mcp install <client>` it suggests carries `--scope <s>` (and `--project-dir <dir>` when one was resolved) whenever the bare command would write a different scope. uninstall's refusal of a malformed or non-object client config now ends with the same remedy install gives ("fix the JSON by hand, or move the file aside, then re-run"). If stat on Claude Code's `settings.json` fails for any reason but a missing file, install reports the file as unreadable ("could not stat it (...)") and changes nothing, instead of treating it as absent. Adding the permission pattern to a `settings.json` with a recoverable parse error now appends to the existing `permissions.allow` array (comments inside that array are dropped) instead of failing with "not an array".
42
+
43
+ **Fixed -- smaller CLI and bundles.json fixes**
44
+
45
+ `yaw-mcp add --header` refuses `mcp-session-id` and `mcp-protocol-version`, which the MCP transport sets. A bundles.json entry with a `type` other than `"local"` or `"remote"` (VS Code's `"http"`, say) logs `ignoring invalid type ...` and is inferred from its fields, so a url-only entry is remote instead of a local entry with no command. `add --url` over a stdio entry also drops its `optionalEnvKeys`. `remove`'s shadow notes pass the path through the control-byte filter. `yaw-mcp try` creates `~/.yaw-mcp/trials/` owner-only (0700). `yaw-mcp upgrade` finds a local install's tree root through a bin shim that lives outside it (the literal path first, then its realpath), so `--run` no longer refuses and `--json` gives a `cwd`. The startup heartbeat reads "<n>s so far of a <total>s limit". The on-disk-copy notice reads "running sidecar from an on-disk copy instead of npx", since the managed-node rewrite uses it as well as oam. Codex TOML no longer writes a float field of 1e21 or more as `1e+21.0`; it refuses with the float message. An exec `$ref` with a stray `]` is refused as malformed. A confirm prompt whose stdin cannot enter raw mode no longer echoes the answer a second time.
46
+
47
+ **Changed -- environment variable parsing**
48
+
49
+ Every on/off opt-in now goes through one parser that trims and accepts `1` or `true` in any case. For most this is unchanged; `YAW_MCP_STDIO` (which took only `1`) and `YAW_MCP_ALLOW_UNOWNED_PROJECT_DIRS` (only an exact `1`, on platforms without POSIX owners such as Windows) now accept `true` and padded values too. `YAW_MCP_DEFAULT_RUNTIME` is trimmed, so cmd.exe's `set VAR=node && ...` still opts out. `LOG_LEVEL` is trimmed, and a name that is not a level (`constructor`, say) falls back to `info`. The numeric caps (`YAW_MCP_MAX_RESULT_BYTES`, `YAW_MCP_SERVER_CAP`, `YAW_MCP_TOOL_TOKEN_CAP`, the idle threshold) share one parser with unchanged behaviour.
50
+
51
+ **Fixed -- an upstream's instructions and results are handled more strictly**
52
+
53
+ The filter applied to an upstream's `instructions` before the model sees them now removes every Unicode format character (`\p{Cf}`, which takes in the astral TAG block, the soft hyphen and U+180E) plus variation selectors, Hangul fillers, U+034F, U+17B4/17B5 and U+2800; tab and newline survive. The reward grader and the sampling tiebreak cap each tool name at 64 characters in their prompts. A tool result whose `content` is not an array is graded as empty (0.3) instead of 1.0, or a throw on an object.
54
+
55
+ Comment and doc corrections across the tree -- moved or rewritten JSDoc, stale claims about CI, callers and exports, README's runtime detection and meta-tool table, CONTRIBUTING's checklists, the `--help` text for doctor, compliance (88 tests on 2025-11-25, 103 on 2026-07-28) and `YAW_MCP_SIDECAR_REFRESH`, and the import usage's 0600 claim, now qualified as macOS/Linux -- change no behaviour.
56
+
57
+ **Changed -- the oam floor moves to 0.19.1**
58
+
59
+ `npm run verify:oam-floor` hosted a stdio `@modelcontextprotocol/server` server on oam v0.19.1 through `oam run` on 2026-10-21 -- both protocol eras, 2025-11-25 (initialize) and 2026-07-28 (server/discover), each through tools/list and tools/call -- and raised `MIN_OAM_VERSION` to it; the floor was 0.18.0. A machine whose oam is older hosts its node/npx sidecars on node instead, and logs a warning naming both versions, `oam self-update` as the fix, and that yaw-mcp needs a restart afterwards.
60
+
61
+ ## 1.1.1 -- the fix printed for a build-tree oam survives oam 0.19.0's installer, and names `OAM_BIN` when `OAM_BIN` chose the binary
62
+
63
+ **Fixed -- the build-tree oam fix advice survives oam 0.19.0's installer refusal, and names `OAM_BIN` when `OAM_BIN` chose the binary**
64
+
65
+ 1.1.0's fix line for a refused build-tree oam said to point `OAM_BIN` or PATH at "the installed oam". With no release installed that sends the user to the installer, which from oam 0.19.0 refuses while another oam resolves ahead of its install dir on PATH -- and a dev build on PATH is exactly that case. doctor and `install` now give one wording: put the release install dir (the installer's default is `~/.oam/bin`, or `%LOCALAPPDATA%\oam\bin` on Windows; `OAM_INSTALL_DIR` and a Git Bash `install.sh` run can put it elsewhere) ahead of the build tree on PATH, or point `OAM_BIN` at an installed release, then restart. With no release installed, the user has to reorder PATH first. On Windows, `OAM_SKIP_PATH_SHADOW=1` overrides the refusal. When `OAM_BIN` itself names the build tree, reordering PATH cannot help (`OAM_BIN` wins over PATH), so the fix names `OAM_BIN` instead; the probe records which case it saw from the env doctor and `install` are given, not only `process.env`.
66
+
67
+ ## 1.1.0 -- yaw-mcp serves MCP 2026-07-28 beside 2025-11-25, lists servers in namespace order, keeps concurrent panes' learning, and refuses a local build-tree oam
68
+
69
+ **Changed -- yaw-mcp serves MCP 2026-07-28 as well as 2025-11-25; `YAW_MCP_PROTOCOL=legacy` turns the new era off**
70
+
71
+ The stdio server now runs through `@modelcontextprotocol/server`'s `serveStdio` and answers both protocol eras from one process. A client that opens with `server/discover` gets 2026-07-28; a client that opens with `initialize` gets the 2025 revision it asked for, as before. This is on by default. `YAW_MCP_PROTOCOL=legacy` serves exactly what 1.0.x served -- `initialize` only, with `server/discover` answered method-not-found, the signal a probing client falls back on -- for when a 2026-07-28 session misbehaves; an unrecognised value logs a warning and serves `auto`, the default. It is read at startup.
72
+
73
+ What a 2026-07-28 client sees differently: there is no handshake, so yaw-mcp reads `clientInfo` and `clientCapabilities` from each request's `_meta` envelope (that is what picks the `lite` tool list and the re-list hint, in either era). That revision has no server-to-client requests, so yaw-mcp sends no `elicitation/create`, `sampling/createMessage` or `roots/list` there, whatever the client declares. A missing credential or a locked vault is asked for inside the `tools/call` reply instead (`input_required`, pointing at the masked-entry page on 127.0.0.1), and the client's retry carries the answer back through a signed `requestState`. Loads no client request carries -- pre-warm, the opt-in auto-load, `mcp_connect_exec` steps -- ask nothing; the next explicit activate of that server asks. The sampling tiebreak and `YAW_MCP_REWARD_GRADER` do not run on 2026-07-28, and yaw-mcp logs once that each is inactive. Every list result carries `ttlMs: 0` and `cacheScope: "private"`, and `list_changed` notifications are delivered only on an open `subscriptions/listen`. docs/protocol-eras.md has the full account; on the 2025 protocol all of it works as before.
74
+
75
+ For contributors: `npm run verify:oam-floor` now hosts its probe as a stdio `@modelcontextprotocol/server` server (`scripts/oam-floor-probe-server.mjs`, where earlier floors were proved on an `@modelcontextprotocol/sdk` server on the 2025 protocol only) and completes both eras on a fresh process each -- 2025-11-25 (initialize, tools/list, tools/call) and 2026-07-28 (server/discover, tools/list, tools/call) -- so a floor raised from here on vouches for both.
76
+
7
77
  **Fixed -- yaw-mcp no longer hosts sidecars on a local build-tree oam**
8
78
 
9
- A local oam build (a compiler output tree: `target/`, `debug/`, `out/`, `cmake-build-*`) reports the same version string as a release while carrying uncommitted code, so the `oam --version` probe could not tell it apart and yaw-mcp hosted sidecars on it -- in one observed case the same `oam 0.9.0` the installed releases reported, with different behavior behind it. The probe now refuses such a binary by PATH TEXT before anything spawns (`OamProbeFailure` gains `build-tree`), so it is never asked for a version, never trusted, and never enters the per-binary verdict cache. doctor and `install` give the real fix instead of "fix or reinstall": put the release install dir (`~/.oam/bin`, or `%LOCALAPPDATA%\oam\bin` on Windows) ahead of the build tree on PATH, or point `OAM_BIN` at an installed release, then restart. With no release installed, the user has to reorder PATH first, because from oam 0.19.0 the installer refuses while another oam resolves ahead of its dir. On Windows, `OAM_SKIP_PATH_SHADOW=1` overrides the refusal. The same path-text rule typed's runtime manifest and Yaw's hook runtime already apply, so all three now certify the same binaries.
79
+ A local oam build (a compiler output tree: `target/`, `debug/`, `out/`, `cmake-build-*`) reports the same version string as a release while carrying uncommitted code, so the `oam --version` probe could not tell it apart and yaw-mcp hosted sidecars on it -- in one observed case the same `oam 0.9.0` the installed releases reported, with different behavior behind it. The probe now refuses such a binary by PATH TEXT before anything spawns (`OamProbeFailure` gains `build-tree`), so it is never asked for a version, never trusted, and never enters the per-binary verdict cache. doctor and `install` say the real fix -- point `OAM_BIN` (or PATH order) at the installed oam and restart -- instead of "fix or reinstall" (1.1.1 refines that wording for a machine with no release installed). The same path-text rule typed's runtime manifest and Yaw's hook runtime already apply, so all three now certify the same binaries.
10
80
 
11
81
  **Changed -- the managed sidecar tree is the default spawn source on every path oam does not host**
12
82
 
@@ -42,6 +112,35 @@ The `oam --version` probe (3 s, retried once) timed out twice in 37 of 260 broke
42
112
 
43
113
  A client UI that shows the installed servers (a `/mcp` panel, a status line) had only the model's discover to call, and an unfocused discover is not read-only: it runs the shell-history install-candidates scan and records a per-CLI nudge cooldown, so the suggestion was spent on a panel the model never reads; it ticks every connected server one call closer to idle eviction; it fires the once-per-session `yaw-mcp://guide` hint; and with a `context` it can auto-load a server. `listOnly: true` skips all four and returns the same server listing text. It is part of the discover memo key in both directions, so a model's plain `{}` inside the 3 s TTL still runs the install-candidates block instead of replaying the UI's body. Only a boolean `true` selects it; the low-level server does not validate input against the schema, so a stray string does not move a model's discover onto the quiet path.
44
114
 
115
+ The three entries below shipped in 1.1.0 (#192, #197, #199) and are written late, from those PRs' commits.
116
+
117
+ **Added -- `set <server> env.KEY --secret` stores a credential in one step; `secrets set` names its consumers; doctor lists plaintext credentials**
118
+
119
+ Storing a credential took two commands (`secrets set NAME`, then `set <server> env.KEY='${secret:NAME}'`), and forgetting the second left the vault entry unused and the plaintext live, with nothing saying so. `set <server> env.KEY --secret` prompts without echo (or reads piped stdin), stores the value in the vault and writes the `${secret:NAME}` reference in one run; `--secret-name` overrides the derived `<namespace>_<key>` name, and a derived name already referenced elsewhere is refused. `import`'s advice points env keys at it (headers keep the two-step form). `secrets set` now names the servers that reference the secret and, when one may already be running, how to restart it, since a running yaw-mcp keeps the old value in children it already spawned; `--json` gains `referenced_by`, `bundles_path` and `running_servers_stale`. `yaw-mcp doctor` lists plaintext credential env keys and headers by name (never the value) with the fix, and flags a vault entry its server is not using.
120
+
121
+ **Changed -- `mcp_connect_activate` loads up to 3 servers at once, and a stale tool list keeps serving while it is revalidated**
122
+
123
+ A multi-server activate ran one connect at a time, so each namespace could add a full connect timeout in sequence. It and the startup pre-warm now run in batches of up to 3 (`ACTIVATION_CONCURRENCY`); the reply, tally and filter rollback are replayed in configured order. The pre-warm separates dormant servers (no cached list: spawn to learn it) from stale ones (a list older than the refresh age: revalidate in the background while the cached list keeps serving), so a reader waiting on the pre-warm no longer waits for a revalidation, and a failed revalidation logs at debug instead of warn.
124
+
125
+ **Changed -- brokers share tool lists keyed to each server's config, and share a one-hour backoff after a failed pre-warm**
126
+
127
+ Every terminal pane starts its own broker, and each re-learned the same tool lists and re-spawned the same servers. A tool-cache entry now records a `configKey`, a fingerprint of the launch config (version pin, image tag, flags, env and header key NAMES only, never values): when that config changes the list is re-learned at the next pre-warm, and otherwise it stays trusted until the weekly refresh. A failed startup pre-warm (a stopped Docker daemon, a declined credential prompt) is persisted, so other brokers on the machine skip the same spawn for an hour; an edit to that server's config retries at once, an explicit activate always retries, and a refused activation (shutting down, the entry changed under the launch, a spawn gate) is not banked as a failure. discover warns when a served list may be stale under a changed config. Both additions are bounded and additive, with no schema bump, so an older broker in another pane never discards `state.json`. For contributors: vitest on Windows is capped at 4 workers (`VITEST_MAX_WORKERS` overrides it).
128
+
129
+ ## 1.0.20 -- the oam floor moves to 0.18.0
130
+
131
+ **Changed -- the oam floor moves to 0.18.0**
132
+
133
+ `npm run verify:oam-floor` hosted a stdio `@modelcontextprotocol/sdk` server on oam v0.18.0 through `oam run` on 2026-10-05 -- initialize, tools/list and tools/call all completed -- and raised `MIN_OAM_VERSION` to it; the floor was 0.17.0. A machine whose oam is older hosts its node/npx sidecars on node instead, and logs a warning naming both versions, `oam self-update` as the fix, and that yaw-mcp needs a restart afterwards.
134
+
135
+ Unlike the moves before it, this one carries oam changes that alter what yaw-mcp gets on oam, per oam's 0.18.0 changelog:
136
+
137
+ - **The vault passphrase strip holds for a broker that itself runs on oam.** From 0.18.0 an explicit `env` on a spawn is the child's whole environment, as under node. Earlier oam laid those pairs over the environment it started with, so a broker launched as `oam run --no-check .../dist/index.js` with `YAW_MCP_VAULT_PASSPHRASE` in its client env block passed the passphrase to every child it started -- sidecars and the self-upgrade and daily sidecar-refresh package-manager runs -- despite the strip. A broker on node was never affected. The floor does not reach an existing broker entry: `install` writes an oam entry only for an oam at or above the floor, but an entry written earlier names its oam binary and is not re-checked at launch, and `heal` rewrites only a broken entry. If your broker runs on oam, run `--version` on the oam binary your client's yaw-mcp entry names (it may not be the `oam` on your PATH), run `self-update` with that binary if it is below 0.18.0, then restart the client.
138
+ - **`@playwright/mcp --isolated` is hostable on oam.** oam 0.18.0 added `net` over a Windows named pipe or a Unix-domain socket (oam #219), the dial every browser tool makes in that mode, so the `"runtime": "node"` escape `src/oam-spawn.ts` named for it is no longer needed. This repo has not re-measured it; oam's release matrix covers it with a `--isolated` row.
139
+ - **`OAM_MAX_HEAP_MB=0` or a non-numeric value no longer removes the heap cap** (oam #223). oam keeps its default cap and warns once on stderr, so a hosted child that then exhausts its heap dies with `error[OAM-RT-OOM]` and gets yaw-mcp's heap-cap hint, where before it died in a raw V8 crash the hint could not recognise.
140
+ - **Two node behaviours yaw-mcp relies on now hold on oam.** oam's `undici` shim ignored `headersTimeout` and `bodyTimeout` before 0.18.0 (oam #218), so the 30 s caps in the uv bootstrap were inert there, and `fs.promises.copyFile` ignored `COPYFILE_EXCL`, so `secrets reset` run on oam could overwrite an earlier vault backup instead of picking a new name.
141
+
142
+ ## 1.0.19 -- fixes from a full pass over the codebase and its review, and `release.sh` verdicts read from a plain terminal
143
+
45
144
  **Fixed -- `release.sh` failed a green test suite on "printed no verdict" when run from a plain terminal**
46
145
 
47
146
  The release gates grep the captured `npm run` output for each tool's summary line. vitest colours that summary even into a pipe -- its colour library never consults isatty, so colour is on wherever `NO_COLOR` is unset and `TERM` is not `dumb` -- and turns it off only inside an AI-agent environment (std-env's `isAgent`: `AI_AGENT`, `CLAUDECODE`, `CURSOR_AGENT` and others). From a plain terminal the bytes are `ESC[2m Test Files ESC[22m ESC[1mESC[32m133 passedESC[39m...`, which `Test Files +[0-9]+ passed` cannot match; the terminal renders both forms identically, which is why a green 133-file run read as "Tests exited 0 but printed no verdict" while earlier releases, run from inside Claude Code, had passed. The same escapes blinded the failure pattern (a red suite still failed, on its exit code, but without the summary line the message is about). Every verdict grep in `run_npm_check` now reads a copy of the output with CSI escape sequences stripped (ECMA-48 parameter, intermediate and final bytes, in the C locale); the coloured text still reaches the terminal. Covered by two stubbed full-run cases that feed the gate vitest's coloured passing and failing summaries.
@@ -104,11 +203,27 @@ Facade refusals for an unspliceable entry end with the by-hand fix, as the unloa
104
203
 
105
204
  Six gate checks were `echo "$out" | grep -q ...` under `set -o pipefail`: when the match is early and the producer still has more than a pipe buffer to write, `grep -q` exits, the producer takes SIGPIPE and the pipeline reads as a MISS. Reproduced on this workstation with a 400,000-line producer. The CHANGELOG behaviour-change gate was the one on a trajectory to fire (the Unreleased section is already 39 KB); all six are here-strings now. A gate whose tool exited 0 without printing its verdict passed, which the oam floor verifier can do under a junction or symlinked checkout (its main-module check compares a realpath'd URL): when a done pattern is set, rc 0 now requires it, failing `exited 0 but printed no verdict -- refusing to pass a gate on silence`, and the lint pattern requires `Checked N files` with N at least 1, since biome prints `Checked 0 files` when handed only ignored paths. `git push origin main --follow-tags` pushes every annotated tag origin lacks and the pre-flight fetch never pruned local-only tags, so a stale tag left by a "bump past a dead release" recovery would have ridden into the protected-tags ruleset; a stale-tag guard before the push lists local annotated tags absent from origin and reachable from main (`git ls-remote --tags --refs origin`, under coreutils `timeout` where one is on PATH) and aborts naming any other than this run's own, failing closed when the remote cannot be read. The pre-flight `latest` for the backward-version guard was the one surviving `npm view` (a packument read Cloudflare serves up to 300 s stale, about 20 s per call here); it is now a cache-busted `curl` of the packument reading `dist-tags.latest`, and the test stub fails on any `npm view`. The OTP retry classifier was unanchored, so a bare `OTP` or `EAUTH` inside npm's integrity line could trigger three 30 s retries; it now matches npm's own `code EOTP|EAUTH` line or the phrase "one-time password". The non-tty confirm abort and the two behaviour-change-gate aborts exit 1, so a wrapper cannot read an abort as a release (an interactive decline still exits 0). `scripts/verify-oam-floor.mjs` passes `VERIFY_OAM_FLOOR_TIMEOUT_MS` to the `oam --version` read as its header claimed; `scripts/lint.mjs` runs biome's JS entry through `process.execPath` instead of a `.cmd` shim under `shell: true`, so a repo path with a space cannot be re-split; `biome.json` includes `scripts/`, so those files are linted. The banners print `[ok]` / `[x]` instead of non-ASCII glyphs, and the resume line says "resuming a prior run" since it fires on either side of the push.
106
205
 
206
+ ## 1.0.18 -- `release.sh`'s registry step outlasts a slow npm and a timing-out MCP registry
207
+
208
+ **Fixed -- `release.sh` waits up to 600 s for npm, retries the MCP registry's own errors and unanswered calls, and bounds every registry call**
209
+
210
+ Step 5's `NPM_PROPAGATION_TIMEOUT` default goes from 180 s to 600 s -- the 1.0.17 release itself waited 142 s for npm to serve the version, and the @yawlabs/fetch-mcp 0.8.2 release the same day spent 295 s of its own 300 s gate on it. Step 4's ARM64 tolerance asks npm on the same clock whether a publish that segfaulted landed, where it used to give up after three reads 6 s apart, so a publish that had landed but that npm was slow to serve would have been reported as failed. It does so only when npm's own log shows no refusal: an E403 for a version npm already holds is read as the skip first, and an OTP challenge, an auth error or any other 4xx goes straight to its own handling.
211
+
212
+ The registry's own HTTP 429, 502, 503 and 504 on the publish call are retried on the same clock -- the 1.0.17 release met a `504 Gateway Time-out` from its nginx gateway -- and a retry is safe even when the timed-out attempt landed, because a duplicate version counts as done. A persisted registry token is now checked again -- and refreshed through `mcp-publisher login github` -- before every retry with 120 s to spare, since an attempt that meets a timing-out gateway spends the gateway's own timeout before its 504 arrives. A duplicate right after the registry's own timeout is read as that timed-out attempt having landed, and a listing that then does not show it is reported as the failed read it is rather than as a deleted version. Every mcp-publisher call to the registry, the login and each publish attempt, now runs under coreutils `timeout` (`MCP_PUBLISH_TIMEOUT_S`, default 90 s) where one (or Homebrew's `gtimeout`) is on PATH -- without one the call runs unbounded, and a warning says so -- because mcp-publisher waits for the registry's answer with no limit of its own and a registry that never answered would hang the step. A publish attempt that gets no answer is retried on the same clock: one the limit stopped, and one whose connection failed or dropped (the client's `error sending request` or `error reading response`). A login the limit stopped fails saying the registry did not answer; any other login failure says how to read mcp-publisher's output above it (a 401 is the registry refusing the token exchange, most often over the token itself; a 429, a 5xx or a connection error is the registry or the network). A publish refused with a 403 says what the io.github.YawLabs namespace takes: a YawLabs org Owner whose token can read org roles. A duplicate after one that may have landed counts as it having landed; a connection the client reports as never opened (a TLS handshake that timed out and a proxy that refused the tunnel among them), and a 429, cannot have. Whether the MCP registry already lists the version -- step 5's probe before publishing, and the final read-back -- is asked of the registry's exact lookup, `GET /v0/servers/io.github.YawLabs%2Fmcp/versions/<version>`, not its search listing: while 1.0.17 was released, search requests took 25 s or never answered and the lookup answered in under 6 s, and search also returns superseded version records alongside the one asked for. Like the listing, the lookup leaves out a version marked deleted.
213
+
214
+ ## 1.0.17 -- `release.sh` finishes in one run instead of dying at step 5 on npm's CDN cache, and the oam floor moves to 0.17.0
215
+
107
216
  **Fixed -- `release.sh` no longer dies at step 5 waiting on npm's five-minute CDN cache, so a release finishes in one run**
108
217
 
109
218
  Recent releases, 1.0.16 included, ended with `npm does not show @yawlabs/mcp@<version> after 60s -- refusing to publish to MCP registry (it would 400)` and needed a second `./release.sh <version>` to publish `server.json`. The wait was on the wrong document. `npm view "@yawlabs/mcp@<version>"` fetches the package's whole packument, which registry.npmjs.org serves from Cloudflare's edge under `Cache-Control: public, max-age=300` -- measured 2026-09-28: `CF-Cache-Status: HIT` with `Age: 105`, and still `HIT` with `Cache-Control: no-cache` on the request (request headers cannot opt out; a fresh query string can, but `npm view` sends none, and the packument is the wrong document anyway) -- so for up to five minutes after `npm publish` returns it can keep answering from a copy that predates the publish. Ten reads six seconds apart could not outlast that, and a single read also measured about 20 s on this workstation, so the "60s" in the message was really several minutes spent on the wrong document. The MCP registry's validator never reads it: it fetches npm's per-version document, `GET /@yawlabs%2Fmcp/<version>` (registry v1.7.9, `internal/validators/registries/npm.go`), which Cloudflare serves `DYNAMIC`, never from the edge cache.
110
219
 
111
- Every "is this version on npm?" read in the script -- the pre-flight already-published probe, the tag-drift guard, step 4's skip and its ARM64 tolerance, step 5's wait and the final verification -- now reads that per-version document through one cache-busted `curl` (`npm_version_manifest`): the same URL the registry will fetch, so a hit is the strongest local evidence that the publish will be accepted, and no read goes through `npm view` or its 20 s. Step 5 waits on a clock rather than a read count: `NPM_PROPAGATION_TIMEOUT` seconds (default 600 -- the 1.0.17 release itself waited 142 s for npm to serve the version, and the @yawlabs/fetch-mcp 0.8.2 release the same day spent 295 s of its own 300 s gate on it) of reads every 5 s, a progress line every 30 s, and a failure that names the document, the time spent and the re-run. Step 4's ARM64 tolerance asks npm on the same clock whether a publish that segfaulted landed, where it used to give up after three reads 6 s apart, so a publish that had landed but that npm was slow to serve would have been reported as failed. It does so only when npm's own log shows no refusal: an E403 for a version npm already holds is read as the skip first, and an OTP challenge, an auth error or any other 4xx goes straight to its own handling. The variable is checked in the pre-flight, with the step-5 tools -- whole seconds, at most six digits, `0180` read as 180 -- because its first use is after the irreversible publish, and a `3m` failing there would strand the release at the registry step. `mcp-publisher publish` itself is tried up to four times, 30, 60 and then 90 seconds apart -- in this family, ctxlint's v0.27.0 ran out its own 60 s wait on the same per-version document and was accepted by the registry only on attempt 3 of 3, about 150 s after npm accepted the tarball -- on the failures that waiting cures, in the wording of the live registry (v1.8.1, reworded in v1.8.0 by registry PR #1411): a 404 naming this version (`exists, but version '<v>' was not found (status: 404)`), `Likely transient, retry later` (npm's 429 or 5xx, or a 404 whose package-level check was inconclusive), and `failed to fetch package metadata from NPM` (no status at all). The version is matched as the validator's own `version '<v>'`, since mcp-publisher after v1.8.1 prints the version before any error. It fails at once, with the tool's own output, on anything else: an expired login, the 422 schema report, a `mcpName` mismatch, a package the registry says does not exist. The registry's own HTTP 429, 502, 503 and 504 on the publish call are retried on the same clock -- the 1.0.17 release met a `504 Gateway Time-out` from its nginx gateway -- and a retry is safe even when the timed-out attempt landed, because a duplicate version counts as done: the registry already holds it, the state the step exists to reach. If the listing still does not show it afterwards -- a version marked deleted is held but unlisted -- the final check says so rather than prescribing a re-run that would meet the same refusal. A persisted registry token is reused only with at least 240 s left, and is checked again -- and refreshed through `mcp-publisher login github` -- before every retry with 120 s to spare, since tokens last 5 minutes and an attempt that meets a timing-out gateway spends the gateway's own timeout before its 504 arrives. A duplicate right after the registry's own timeout is read as that timed-out attempt having landed, and a listing that then does not show it is reported as the failed read it is rather than as a deleted version. Every mcp-publisher call to the registry, the login and each publish attempt, now runs under coreutils `timeout` (`MCP_PUBLISH_TIMEOUT_S`, default 90 s) where one (or Homebrew's `gtimeout`) is on PATH -- without one the call runs unbounded, and a warning says so -- because mcp-publisher waits for the registry's answer with no limit of its own and a registry that never answered would hang the step. A publish attempt that gets no answer is retried on the same clock: one the limit stopped, and one whose connection failed or dropped (the client's `error sending request` or `error reading response`). A login the limit stopped fails saying the registry did not answer; any other login failure says how to read mcp-publisher's output above it (a 401 is the registry refusing the token exchange, most often over the token itself; a 429, a 5xx or a connection error is the registry or the network). A publish refused with a 403 says what the io.github.YawLabs namespace takes: a YawLabs org Owner whose token can read org roles. A duplicate after one that may have landed counts as it having landed; a connection the client reports as never opened (a TLS handshake that timed out and a proxy that refused the tunnel among them), and a 429, cannot have. Whether the MCP registry already lists the version -- step 5's probe before publishing, and the final read-back -- is asked of the registry's exact lookup, `GET /v0/servers/io.github.YawLabs%2Fmcp/versions/<version>`, not its search listing: while 1.0.17 was released, search requests took 25 s or never answered and the lookup answered in under 6 s, and search also returns superseded version records alongside the one asked for. Like the listing, the lookup leaves out a version marked deleted. Step 4 reads npm's E403 `You cannot publish over the previously published versions` as the skip its probe should have taken, so a re-run whose read still lags npm's write goes on to step 5 instead of dying with a stale-token hint. The final verification reads the version and the tarball integrity out of one manifest read instead of two `npm view` calls. The one `npm view` left is the pre-flight `latest` read for the backward-version guard, where an answer up to five minutes stale changes nothing.
220
+ Every "is this version on npm?" read in the script -- the pre-flight already-published probe, the tag-drift guard, step 4's skip and its ARM64 tolerance, step 5's wait and the final verification -- now reads that per-version document through one cache-busted `curl` (`npm_version_manifest`): the same URL the registry will fetch, so a hit is the strongest local evidence that the publish will be accepted, and no read goes through `npm view` or its 20 s. Step 5 waits on a clock rather than a read count: `NPM_PROPAGATION_TIMEOUT` seconds (default 180) of reads every 5 s, a progress line every 30 s, and a failure that names the document, the time spent and the re-run. The variable is checked in the pre-flight, with the step-5 tools -- whole seconds, at most six digits, `0180` read as 180 -- because its first use is after the irreversible publish, and a `3m` failing there would strand the release at the registry step. `mcp-publisher publish` itself is tried up to four times, 30, 60 and then 90 seconds apart -- in this family, ctxlint's v0.27.0 ran out its own 60 s wait on the same per-version document and was accepted by the registry only on attempt 3 of 3, about 150 s after npm accepted the tarball -- on the failures that waiting cures, in the wording of the live registry (v1.8.1, reworded in v1.8.0 by registry PR #1411): a 404 naming this version (`exists, but version '<v>' was not found (status: 404)`), `Likely transient, retry later` (npm's 429 or 5xx, or a 404 whose package-level check was inconclusive), and `failed to fetch package metadata from NPM` (no status at all). The version is matched as the validator's own `version '<v>'`, since mcp-publisher after v1.8.1 prints the version before any error. It fails at once, with the tool's own output, on anything else: an expired login, the 422 schema report, a `mcpName` mismatch, a package the registry says does not exist. A duplicate version counts as done: the registry already holds it, the state the step exists to reach. If the listing still does not show it afterwards -- a version marked deleted is held but unlisted -- the final check says so rather than prescribing a re-run that would meet the same refusal. A persisted registry token is reused only with at least 240 s left, since tokens last 5 minutes and the retry can run 180 s. Step 4 reads npm's E403 `You cannot publish over the previously published versions` as the skip its probe should have taken, so a re-run whose read still lags npm's write goes on to step 5 instead of dying with a stale-token hint. The final verification reads the version and the tarball integrity out of one manifest read instead of two `npm view` calls. The one `npm view` left is the pre-flight `latest` read for the backward-version guard, where an answer up to five minutes stale changes nothing (1.0.19 replaced that one too, with a cache-busted `curl` of the packument).
221
+
222
+ **Changed -- the oam floor moves to 0.17.0**
223
+
224
+ `npm run verify:oam-floor` hosted a stdio `@modelcontextprotocol/sdk` server on oam v0.17.0 through `oam run` on 2026-09-25 -- initialize, tools/list and tools/call all completed -- and raised `MIN_OAM_VERSION` to it; the floor was 0.16.4. A machine whose oam is older hosts its node/npx sidecars on node instead, and logs a warning naming both versions, `oam self-update` as the fix, and that yaw-mcp needs a restart afterwards.
225
+
226
+ ## 1.0.16 -- Codex CLI 0.151 and later get yaw-mcp's tools, and client-config writes say what they did and did not do
112
227
 
113
228
  **Fixed -- Codex CLI 0.151 and later get yaw-mcp's tools: `install codex-cli` sets `mcp_optional_startup_grace_ms = 0` at the top of `config.toml`**
114
229
 
@@ -215,21 +330,6 @@ Off a terminal, where it overwrote before, `import` now writes nothing and exits
215
330
 
216
331
  The dry run said nothing about the originals, so the one step of an import that edits a file you did not name could not be previewed. With `--remove-originals` it now prints, before `--- dry run: nothing was written ---`, `Would remove 2 entries from <file> (--remove-originals):` and one indented line per key -- after `Reached through the yaw-mcp entry in <container>.` when yaw-mcp is reached through another scope's entry -- or the reason it would remove none: the real run's refusal, led by `Would not remove the originals: ` in place of `Not removing the originals: `; `yaw-mcp import: would not be removed from <file>: <key> (<why>). Remove that entry by hand; ...` for a key the real run would leave; `yaw-mcp import: would remove nothing from <file>; it would be left unchanged. The servers would be imported either way.`; or, when bundles.json does not parse and nothing would be imported, `yaw-mcp import: would remove nothing from <file> -- none of these servers would be imported, because their write to bundles.json could not be previewed (the warning above says why).` The preview runs the real run's own search for yaw-mcp's entry, its refusal and its splice over the same bytes, and the real run's removal prints what it did before. The preview assumes that every bundles.json entry the import would change is overwritten (the entry above); a real run in which one is skipped leaves that server's original where it is. A dry run without `--remove-originals` prints nothing new, and `import --help` says what `--dry-run` shows with it.
217
332
 
218
- **Changed -- the oam floor moves to 0.17.0**
219
-
220
- `npm run verify:oam-floor` hosted a stdio `@modelcontextprotocol/sdk` server on oam v0.17.0 through `oam run` on 2026-09-25 -- initialize, tools/list and tools/call all completed -- and raised `MIN_OAM_VERSION` to it; the floor was 0.16.4. A machine whose oam is older hosts its node/npx sidecars on node instead, and logs a warning naming both versions, `oam self-update` as the fix, and that yaw-mcp needs a restart afterwards.
221
-
222
- **Changed -- the oam floor moves to 0.18.0**
223
-
224
- `npm run verify:oam-floor` hosted a stdio `@modelcontextprotocol/sdk` server on oam v0.18.0 through `oam run` on 2026-10-05 -- initialize, tools/list and tools/call all completed -- and raised `MIN_OAM_VERSION` to it; the floor was 0.17.0. A machine whose oam is older hosts its node/npx sidecars on node instead, and logs a warning naming both versions, `oam self-update` as the fix, and that yaw-mcp needs a restart afterwards.
225
-
226
- Unlike the moves before it, this one carries oam changes that alter what yaw-mcp gets on oam, per oam's 0.18.0 changelog:
227
-
228
- - **The vault passphrase strip holds for a broker that itself runs on oam.** From 0.18.0 an explicit `env` on a spawn is the child's whole environment, as under node. Earlier oam laid those pairs over the environment it started with, so a broker launched as `oam run --no-check .../dist/index.js` with `YAW_MCP_VAULT_PASSPHRASE` in its client env block passed the passphrase to every child it started -- sidecars and the self-upgrade and daily sidecar-refresh package-manager runs -- despite the strip. A broker on node was never affected. The floor does not reach an existing broker entry: `install` writes an oam entry only for an oam at or above the floor, but an entry written earlier names its oam binary and is not re-checked at launch, and `heal` rewrites only a broken entry. If your broker runs on oam, run `--version` on the oam binary your client's yaw-mcp entry names (it may not be the `oam` on your PATH), run `self-update` with that binary if it is below 0.18.0, then restart the client.
229
- - **`@playwright/mcp --isolated` is hostable on oam.** oam 0.18.0 added `net` over a Windows named pipe or a Unix-domain socket (oam #219), the dial every browser tool makes in that mode, so the `"runtime": "node"` escape `src/oam-spawn.ts` named for it is no longer needed. This repo has not re-measured it; oam's release matrix covers it with a `--isolated` row.
230
- - **`OAM_MAX_HEAP_MB=0` or a non-numeric value no longer removes the heap cap** (oam #223). oam keeps its default cap and warns once on stderr, so a hosted child that then exhausts its heap dies with `error[OAM-RT-OOM]` and gets yaw-mcp's heap-cap hint, where before it died in a raw V8 crash the hint could not recognise.
231
- - **Two node behaviours yaw-mcp relies on now hold on oam.** oam's `undici` shim ignored `headersTimeout` and `bodyTimeout` before 0.18.0 (oam #218), so the 30 s caps in the uv bootstrap were inert there, and `fs.promises.copyFile` ignored `COPYFILE_EXCL`, so `secrets reset` run on oam could overwrite an earlier vault backup instead of picking a new name.
232
-
233
333
  ## 1.0.15 -- the missing-credential prompt catches more servers and says what is true, and `yaw-mcp secrets --json` keeps stderr to one JSON object per line
234
334
 
235
335
  Published 2026-09-24, the same day as 1.0.13. This section was prepared under a 1.0.14 heading and published as 1.0.15: there is no 1.0.14 on npm and no `v1.0.14` tag. Sixteen entries below, from a full pass over the secrets and missing-credential code (#173). The credential prompt recognises more of the ways a server says a key is missing, no longer asks for a key bundles.json already sets, drops a value the server rejects, and its refusals say what the next activate will do. `yaw-mcp secrets --json` keeps stderr to one JSON object per line, and its prose refusals name their action. Six of the changes alter behaviour for an existing setup that opts into nothing, and none sits behind a switch: `secrets list --json` and `secrets audit --json` print one line; an inherited value of a name ending in `_PATH`, `_FILE`, `_DIR`, `_HOST`, `_PORT`, `_PREFIX` or `_SIZE` is no longer masked in a child's stderr tail or prompted for; more stderr phrasings bring up the credential prompt; a non-empty bundles.json value wins over a typed one; a vault with an array `entries` or scrypt-invalid kdf parameters is refused at load; and a Tab pasted at the `secrets set` value prompt is kept.
package/README.md CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  Yaw MCP (the `yaw-mcp` CLI) is an MCP server that fronts every other MCP server you use. Point each AI client (Claude Code, Claude Desktop, Cursor, VS Code) at it once, and your servers load lazily from a single connection instead of a hand-edited `mcpServers` block per client.
6
6
 
7
- It runs entirely on your machine. No account, no sign-in, no telemetry -- your servers live in a local `bundles.json` and your credentials in a local encrypted vault. Running as an MCP server, its only outbound calls are two background npm checks: one for its own updates (`YAW_MCP_AUTO_UPGRADE=0` to disable) and, if you have run `yaw-mcp sidecars install`, a once-a-day check that the managed sidecar packages are current (`YAW_MCP_SIDECAR_REFRESH=0` to disable). `yaw-mcp add` fetches the public server catalog on demand. Nothing else leaves your machine.
7
+ It runs entirely on your machine. No account, no sign-in, no telemetry -- your servers live in a local `bundles.json` and your credentials in a local encrypted vault. Running as an MCP server, its only outbound calls are two background npm checks: one for its own updates (`YAW_MCP_AUTO_UPGRADE=0` to disable) and, if you have run `yaw-mcp sidecars install`, a once-a-day check that the managed sidecar packages are current (`YAW_MCP_SIDECAR_REFRESH=0` to disable). One more is conditional: if a configured server launches through `uv`/`uvx` and `uv` is not on your PATH, yaw-mcp downloads Astral's `uv` release from GitHub once and caches it (see [Runtime detection & `uv` bootstrap](#runtime-detection--uv-bootstrap)). `yaw-mcp add`, `search` and `try` fetch the public server catalog on demand. Nothing else leaves your machine.
8
8
 
9
9
  It earns its keep when you hit any of these:
10
10
 
@@ -35,6 +35,7 @@ Your MCP client (Claude Code, Cursor, ...)
35
35
  | `mcp_connect_discover` | List available servers, optionally ranked by a context string. Auto-loads the top match when one clearly wins. Tool-name lists are capped at five per server; pass `server` for one server's full list. `listOnly: true` (for client UIs) returns the same listing with no side effects: no auto-load, no idle tick, no install suggestions. |
36
36
  | `mcp_connect_activate` / `deactivate` | Load / unload specific servers by namespace. |
37
37
  | `mcp_connect_read_tool` | Return one tool's schema without loading its server. |
38
+ | `mcp_connect_find_tool` | Search every installed server's tools by what they do, from cache: nothing is loaded and no server is contacted. A hit on a loaded server carries its full schema. |
38
39
  | `mcp_connect_exec` | Run a short declarative pipeline of tool calls in one round-trip (`{"$ref": "<step>[.path]"}` splices prior outputs; no eval, max 16 steps). |
39
40
  | `mcp_connect_bundles` | List curated multi-server presets (PR review, DevOps incident, ...) and match them against your config. |
40
41
  | `mcp_connect_suggest` | Surface recurring multi-server workflows learned from usage, with a ready-to-run `activate` call. |
@@ -199,7 +200,7 @@ After an import the client is *still* launching those servers itself, so each on
199
200
 
200
201
  An imported entry carries no catalog slug, so its handles are its namespace and its **name** (the key the client used). `remove`, `set`, `enable` and `disable` all accept either: `yaw-mcp remove "GitHub Copilot"` works as well as `yaw-mcp remove githubcopilot`.
201
202
 
202
- A credential that was sitting in the client config comes across as a plain value in `bundles.json` (file mode `0600`); the import prints the key names -- never the values -- and points at `yaw-mcp secrets set` for moving them into the [vault](#local-secret-vault).
203
+ A credential that was sitting in the client config comes across as a plain value in `bundles.json` (file mode `0600` on macOS and Linux; on Windows that mode is not applied, so the file is only as private as the NTFS permissions it inherits from your user profile); the import prints the key names -- never the values -- and points at `yaw-mcp secrets set` for moving them into the [vault](#local-secret-vault).
203
204
 
204
205
  **Servers the catalog does not list.** The catalog is a curated front door, not the only one. Pass `--command` for a local (stdio) server or `--url` for a remote (HTTP) one, and `add` defines the server from your flags instead of looking up a slug -- no catalog fetch, so this also works offline:
205
206
 
@@ -238,7 +239,7 @@ yaw-mcp completion <bash|zsh|fish|powershell> # print a shell-completion scrip
238
239
  **Compliance**
239
240
 
240
241
  ```bash
241
- yaw-mcp compliance <target> # run the 88-test compliance suite against a server
242
+ yaw-mcp compliance <target> # run the compliance suite (88 tests on 2025-11-25, 103 on 2026-07-28)
242
243
  yaw-mcp audit <namespace> # audit a stdio server from bundles.json, cache its A-F grade in grades.json
243
244
  ```
244
245
 
@@ -377,7 +378,7 @@ yaw-mcp secrets reset # forgot the passphrase? move the vault aside, l
377
378
  yaw-mcp secrets audit [--secret NAME] [--server NS] [--json] # who consumed which secret, when
378
379
  ```
379
380
 
380
- The passphrase derives the key via scrypt and is cached in memory for one process; the on-disk file holds only ciphertext (AES-256-GCM, per-entry IV + tag, one vault salt). `rotate` decrypts every entry first and aborts untouched if any fails -- and it re-wraps the **encryption**, not the underlying tokens (a leaked token is still leaked; rotate it at its source). `audit` reads an append-only `0600` NDJSON log of secret NAME + namespace + timestamp -- never a value -- and writes fail-open so a broken log never blocks a spawn.
381
+ The passphrase derives the key via scrypt and is cached in memory for one process; the on-disk file holds only ciphertext (AES-256-GCM, per-entry IV + tag, one vault salt). `rotate` decrypts every entry first and aborts untouched if any fails -- and it re-wraps the **encryption**, not the underlying tokens (a leaked token is still leaked; rotate it at its source). `audit` reads an append-only NDJSON log (mode `0600` on macOS and Linux; Windows does not apply that mode, so it inherits your profile's NTFS permissions) of secret NAME + namespace + timestamp -- never a value -- and writes fail-open so a broken log never blocks a spawn.
381
382
 
382
383
  **Forgot the passphrase?** There is no recovery: the file holds only ciphertext under a key derived from the passphrase, and nothing else -- no server, no recovery key -- can open it. `yaw-mcp secrets reset` is the way back to a working vault. It prints the entry names the vault holds (plaintext keys, so no passphrase is needed) so you know what to set again, asks you to type `RESET` (or takes `--force` from a script; without it, no TTY means a refusal), moves the old file aside as `secrets.json.reset-<timestamp>` next to the vault -- it still opens under the old passphrase, should that turn up -- and creates an empty vault under a new passphrase, confirmed twice on a TTY or taken from `YAW_MCP_VAULT_PASSPHRASE` when it is set. It refuses when the passphrase it is given already opens the vault: that is `rotate`, not a reset. Afterwards, a yaw-mcp server that is already running keeps the passphrase it started with and needs a restart, and a `YAW_MCP_VAULT_PASSPHRASE` in a client config's `env` block still holds the old value. `yaw-mcp doctor` says whether the passphrase it can see unlocks the vault.
383
384
 
@@ -385,7 +386,7 @@ The passphrase derives the key via scrypt and is cached in memory for one proces
385
386
 
386
387
  ## Runtime detection & `uv` bootstrap
387
388
 
388
- On startup yaw-mcp probes for `node`, `npx`, `python`, `uvx`, and `docker` (best-effort, 3s per probe) so it can warn when a server's runtime is missing. yaw-mcp itself needs only Node.js.
389
+ yaw-mcp itself needs only Node.js, and it does not probe for each server's runtime up front: a server whose command is not on PATH fails when it is loaded, with a message naming the command (and, after a `uv` or oam rewrite, the binary that actually failed to spawn). Two probes do run. `oam --version` (10 s) decides whether node/npx sidecars are hosted on oam, and its verdict is remembered per binary in `~/.yaw-mcp/oam-probe.json`. `uv --version` (3 s) runs ahead of a Python server -- at startup when an active server launches through `uv`/`uvx`, otherwise on its first load.
389
390
 
390
391
  Python servers (`sqlite`, `time`, `sentry`, ...) launch via Astral's `uv`/`uvx`. On first encounter, if `uv` isn't on your PATH, yaw-mcp downloads Astral's standalone release, verifies the sha256, and caches it -- reusing your own `uv` if you have one. `uvx ARGS` is always rewritten to `uv tool run ARGS`, so only `uv` needs to be reachable.
391
392
 
@@ -393,7 +394,7 @@ Python servers (`sqlite`, `time`, `sentry`, ...) launch via Astral's `uv`/`uvx`.
393
394
 
394
395
  MCP servers are third-party code you choose to run. yaw-mcp doesn't sandbox them -- that's your OS and network. What it gives you is **visibility and a gate**:
395
396
 
396
- - **Compliance grades (A-F)** -- the `@yawlabs/mcp-compliance` suite (88 tests) grades a server; `yaw-mcp list` shows it in a `GRADE` column and `discover` shows it inline (`github [ready] [A]`). `YAW_MCP_MIN_COMPLIANCE=B` makes `activate` refuse anything below the floor. Ungraded servers pass (don't punish unknown); audit them yourself with `yaw-mcp compliance <target>`.
397
+ - **Compliance grades (A-F)** -- the `@yawlabs/mcp-compliance` suite (88 tests for MCP 2025-11-25, 103 for 2026-07-28, picked by what the server speaks) grades a server; `yaw-mcp list` shows it in a `GRADE` column and `discover` shows it inline (`github [ready] [A]`). `YAW_MCP_MIN_COMPLIANCE=B` makes `activate` refuse anything below the floor. Ungraded servers pass (don't punish unknown); audit them yourself with `yaw-mcp compliance <target>`.
397
398
  - **Source transparency** -- `list` and `discover` show the exact `command`, `args`, and `url` each server launches with. Nothing is wrapped.
398
399
  - **Local credentials** -- vault values are encrypted at rest (scrypt + AES-256-GCM), injected at spawn, and never logged. Nothing is transmitted off the machine.
399
400
  - **Failure output reaches your client** -- when a server fails to start, the tail of its stderr is attached to the activation error, so it lands in your client's context (and your model's) as well as the log. That tail is the server's own output -- never your files, buffers or shell history -- and it is redacted first: values yaw-mcp injected from `bundles.json` or the vault, resolved request headers, and credential-named variables inherited from your shell (`GITHUB_TOKEN`, `AWS_SECRET_ACCESS_KEY`, `NPM_TOKEN`, ...) are each replaced with `***NAME***`, which names the credential to rotate without showing it. An inherited name whose last segment is `PATH`, `FILE`, `DIR`, `HOST`, `PORT`, `PREFIX` or `SIZE` (`SSH_KEY_PATH`, `TOKEN_BUCKET_SIZE`) does not count as credential-named. Redaction is exact-substring on values of 8 characters or more, so a credential parked under a name that does not read as one is not covered. There is no opt-out: the tail is what makes a failed start diagnosable, and the missing-credential prompt below reads the same text.
@@ -11,7 +11,7 @@ import {
11
11
  recordAttemptAt,
12
12
  runsUnderNpmConfigPrefix,
13
13
  writeCheckMemo
14
- } from "./chunk-UOWMJUH4.js";
14
+ } from "./chunk-D4KFZAZH.js";
15
15
  export {
16
16
  UPGRADE_LOCK_NAME,
17
17
  acquireUpgradeLock,