@osd-project/osd-cli 0.0.0 → 0.8.3

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 (52) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +585 -4
  3. package/THIRD_PARTY_NOTICES.md +96 -0
  4. package/dist/auth-store.d.ts +38 -0
  5. package/dist/auth-store.js +239 -0
  6. package/dist/brand-catalog.d.ts +65 -0
  7. package/dist/brand-catalog.js +175 -0
  8. package/dist/connect-gate.d.ts +31 -0
  9. package/dist/connect-gate.js +82 -0
  10. package/dist/contracts.d.ts +61 -0
  11. package/dist/contracts.js +145 -0
  12. package/dist/exit-codes.d.ts +32 -0
  13. package/dist/exit-codes.js +40 -0
  14. package/dist/format.d.ts +71 -0
  15. package/dist/format.js +99 -0
  16. package/dist/generated/schemas.d.ts +2 -0
  17. package/dist/generated/schemas.js +1781 -0
  18. package/dist/guarded-fetch.d.ts +28 -0
  19. package/dist/guarded-fetch.js +252 -0
  20. package/dist/help.d.ts +27 -0
  21. package/dist/help.js +32 -0
  22. package/dist/http-fetch.d.ts +1 -0
  23. package/dist/http-fetch.js +17 -0
  24. package/dist/index.d.ts +2 -0
  25. package/dist/index.js +821 -0
  26. package/dist/logout.d.ts +16 -0
  27. package/dist/logout.js +82 -0
  28. package/dist/mcp-auth.d.ts +70 -0
  29. package/dist/mcp-auth.js +603 -0
  30. package/dist/mcp-card.d.ts +23 -0
  31. package/dist/mcp-card.js +18 -0
  32. package/dist/mcp-client.d.ts +77 -0
  33. package/dist/mcp-client.js +193 -0
  34. package/dist/net-guard.d.ts +66 -0
  35. package/dist/net-guard.js +152 -0
  36. package/dist/proxy-config.d.ts +51 -0
  37. package/dist/proxy-config.js +147 -0
  38. package/dist/request.d.ts +32 -0
  39. package/dist/request.js +62 -0
  40. package/dist/resolve-endpoint.d.ts +62 -0
  41. package/dist/resolve-endpoint.js +172 -0
  42. package/dist/search.d.ts +39 -0
  43. package/dist/search.js +69 -0
  44. package/dist/skill.d.ts +155 -0
  45. package/dist/skill.js +320 -0
  46. package/dist/updates.d.ts +101 -0
  47. package/dist/updates.js +541 -0
  48. package/dist/verify.d.ts +92 -0
  49. package/dist/verify.js +379 -0
  50. package/package.json +51 -3
  51. package/skill/osd/SKILL.md +400 -0
  52. package/skill/osd/references/connect-mcp.md +48 -0
@@ -0,0 +1,400 @@
1
+ ---
2
+ name: osd
3
+ description: Resolve where to get support for a brand, company, or product through the OSD CLI, invoked through a version-pinned npx. Use when the user asks for support with a brand and the support channel is not already known.
4
+ compatibility: Node.js >= 22.19 via npx and access to the public npm registry.
5
+ license: Apache-2.0
6
+ metadata:
7
+ version: "0.8.3"
8
+ source: npm:@osd-project/osd-cli
9
+ ---
10
+
11
+ # OSD
12
+
13
+ Resolve *where* to get support for a brand. This skill owns the whole
14
+ journey: discovering the brand's support endpoint, verifying it against
15
+ the brand's own domain, and choosing a supported connection path. When the host has a native Poppy
16
+ connector, discover Poppy from the verified brand before choosing direct MCP. Every
17
+ other host uses the MCP path unchanged and never fetches Poppy documents.
18
+
19
+ The registry target is environment configuration, not skill content — with
20
+ one deliberate exception: the shared **production directory** below,
21
+ provided so the skill works out of the box. Any other target
22
+ (per-environment registries) is never written into this file.
23
+
24
+ ## Invocation — read this first
25
+
26
+ Every command in this skill runs the CLI through a version pin, stamped
27
+ into this file when the skill was built:
28
+
29
+ ```bash
30
+ npx -y @osd-project/osd-cli@0.8.3 <command> <args>
31
+ ```
32
+
33
+ Run the commands exactly as written. Do not substitute a bare `osd` from
34
+ PATH: it may be older, newer, or missing, and then the behaviour no longer
35
+ matches these instructions. The skill's version and the CLI's are the same
36
+ number — that is the whole version story.
37
+
38
+ The first pinned run downloads the package into the npx cache; later runs
39
+ are instant. If npx fails with `E404` or `ENEEDAUTH`, the package
40
+ could not be fetched from npm on this machine; tell the human and stop rather
41
+ than improvising another source.
42
+
43
+ ## Part 1: Setup
44
+
45
+ 1. Ensure the registry target is configured **in the environment**. Point
46
+ at the shared production directory:
47
+
48
+ ```bash
49
+ export OSD_REGISTRY_URL=https://directory.zendesk.com
50
+ ```
51
+
52
+ The production URL above is the only registry URL this skill may
53
+ contain. Any other registry target is per-environment knowledge:
54
+ **never** write it into a skill file, the agent source, or a `--target`
55
+ flag baked into a script — the env var is the whole mechanism. For
56
+ evaluation against a non-production registry, the human may set
57
+ `OSD_REGISTRY_URL` themselves for the session.
58
+
59
+ 2. Smoke-test — verifies the pinned CLI runs and can reach the registry:
60
+
61
+ ```bash
62
+ npx -y @osd-project/osd-cli@0.8.3 search "acme" --json
63
+ ```
64
+
65
+ The smoke test checks connectivity, not content. Acme is a fictional
66
+ fixture brand that only exists on local and test registries, so
67
+ against production **zero matches is a passing smoke test** — any
68
+ well-formed `registry-search-response`, empty or not, means everything
69
+ works. Only a non-zero exit (registry unreachable, contract error) is a
70
+ failure.
71
+
72
+ ### Setup rules
73
+
74
+ - Nothing is installed globally. Do not run `npm install -g`; the pin in
75
+ every command is the whole version story.
76
+ - If the smoke test fails because the registry is unreachable or returns
77
+ a contract error, say so and stop — do not improvise a different
78
+ discovery path, and do not treat an empty result set as a failure.
79
+
80
+ ## Part 2: Discovery
81
+
82
+ 1. When the user needs support for a brand, company, or product and the
83
+ support channel is not already known, run:
84
+
85
+ ```bash
86
+ npx -y @osd-project/osd-cli@0.8.3 search "<brand or intent>" --verify --json
87
+ ```
88
+
89
+ This returns candidates and their endorsement verdicts in one command.
90
+ Use those verdicts (Part 3) rather than repeating the search or running
91
+ standalone verification solely to check the same discovery results.
92
+
93
+ - Never pass `--target`; the target comes from `OSD_REGISTRY_URL`
94
+ (production, per Part 1) or a registry URL the human explicitly gave
95
+ you for this session.
96
+ - Never guess or hardcode a support endpoint or registry URL. The standard
97
+ Poppy discovery URL derived in Part 4a is the only additional discovery
98
+ path this skill constructs, and only on hosts with a native Poppy
99
+ connector.
100
+
101
+ 2. Interpret the JSON results (contract: `registry-search-response` 0.3.0):
102
+
103
+ - `url` — the brand's support endpoint (e.g. an MCP server card URL).
104
+ - `capabilities` — what the support service can do (optional; may be
105
+ absent).
106
+ - `osd:brandName` / `osd:brandDomain` — which brand this listing is for.
107
+ - `score`, `source` — ranking signal and which registry answered.
108
+ - `verification` — endorsement verdict for this candidate (Part 3).
109
+
110
+ 3. Branch on the outcome:
111
+
112
+ - **Exactly one good match** → interpret its verification verdict
113
+ (Part 3), then present the endpoint, capabilities and verification
114
+ status, then select the connection path (Part 4).
115
+ - **Several matches** (ambiguous brand) → present the distinguishing
116
+ details (brand domain, capabilities, each candidate's verification
117
+ verdict) and ask the user to pick one. Never silently choose.
118
+ - **No matches** → say so plainly. Do not invent an endpoint.
119
+ - **CLI error** (non-zero exit, e.g. `UNSUPPORTED_CONTRACT_VERSION`,
120
+ `INVALID_ARGUMENT`, registry unreachable) → relay the CLI's message
121
+ plainly and stop. Do not retry in a loop, do not fabricate a fallback
122
+ URL, do not fall back to raw HTTP discovery.
123
+ (Exception: for `verify`, exits 4/5/6 are *verdicts*, not CLI
124
+ errors — Part 3. Same for `search --verify`: exits 1/5/6 there carry
125
+ verdicts per result — read the `verification` objects in the output
126
+ instead of abandoning the results; Part 3 item 3.)
127
+
128
+ ### Discovery rules — what this skill must never do
129
+
130
+ - Resolve the initial brand listing by any means other than the pinned
131
+ `search` (no web search or remembered endpoints). After verification,
132
+ Part 4a permits Poppy discovery from that result, only when the host has
133
+ a native Poppy connector.
134
+ - Hardcode any hostname — registry or brand.
135
+ - Treat a discovered endpoint as proof the service is up; report connection
136
+ failures plainly instead.
137
+ - Exceed the user's authorization. A request to contact support authorizes
138
+ the corresponding one-off connection; discovery alone does not authorize
139
+ sending messages or creating a standing integration.
140
+ - Invoke or operate a discovered endpoint yourself, outside the skill's
141
+ native Poppy or direct-use paths (Parts 4a/4b) — its tools belong to the human's session.
142
+ Never proxy its calls through your own tools, and never handle the
143
+ human's credentials.
144
+
145
+ ## Part 3: Verification
146
+
147
+ Discovery results come from a registry — a phone book. Verification checks
148
+ each candidate against the brand's *own* domain at
149
+ `https://{brandDomain}/.well-known/ard.json` (OSD `0.3.0`). The check is
150
+ an exact
151
+ structural match: the brand's domain endorses the entry only if every field
152
+ agrees (resolver-added annotations like `score`, `source` and `verification`
153
+ are excluded from the match, so search results can be piped straight in).
154
+ This is an endorsement check, not a trust or liveness proof.
155
+
156
+ 1. Verify during search (the common case):
157
+
158
+ ```bash
159
+ npx -y @osd-project/osd-cli@0.8.3 search "<brand or intent>" --verify --json
160
+ ```
161
+
162
+ Every result on the page gets a `verification` object
163
+ (`verdict`, `detail?`, `catalogUrl?`, `diff?`). The exit code reflects the
164
+ worst verdict on the page: `mismatch` → 6, `no_match` → 5, inconclusive
165
+ verdicts (`unreachable`, `invalid`, `malformed`) → 1, all `verified` → 0.
166
+ These exits carry the annotated results on stdout — treat them like the
167
+ standalone `verify` verdicts in item 3, not as CLI errors.
168
+
169
+ 2. Verify a saved candidate when no current verdict is available or a
170
+ fresh check is needed. This is not an extra step after verified search:
171
+
172
+ ```bash
173
+ npx -y @osd-project/osd-cli@0.8.3 verify --candidate candidate.json --json
174
+ ```
175
+
176
+ `verify` takes exactly one catalog entry via stdin or
177
+ `--candidate <file>` — one result object saved from earlier search
178
+ output, not the whole response; any `verification` annotation on it is
179
+ ignored and the check re-fetches the brand's catalog. `--json` prints
180
+ a verdict object `{verdict, brandDomain, catalogUrl, detail, diff[]}`.
181
+
182
+ 3. Interpret standalone `verify` exit codes. Exits 0/4/5/6 are
183
+ **verdicts**, not CLI errors (the Part 2 non-zero-exit rule does not apply
184
+ to them). Exits 1 and 2 are failures of the check itself:
185
+
186
+ - `0` verified — structural match; the brand domain endorses this entry.
187
+ - `1` malformed catalog — the brand's catalog couldn't be parsed or
188
+ validated; treat the candidate as unverified. (Also exit 1: a broken CLI
189
+ install with missing embedded schemas — the stderr message says to
190
+ reinstall; this says nothing about the brand.)
191
+ - `2` invalid candidate — the input is bad; fix the input, this is not a
192
+ verdict.
193
+ - `4` unreachable — inconclusive and retryable (DNS, timeout, 404,
194
+ non-2xx, redirect). Expected while brands have not published their
195
+ catalog yet.
196
+ - `5` no_match — definitive: no catalog entry shares the candidate's
197
+ identifier; the brand does not endorse it.
198
+ - `6` mismatch — definitive conflict: the brand's entry for this
199
+ identifier differs. Report the differing fields plainly; a mismatch can
200
+ be an unpropagated update, not necessarily fraud.
201
+ - `64` usage error.
202
+
203
+ 4. Safety rule, always — the verdict is structural only; repeat this caveat
204
+ verbatim when reporting verdicts:
205
+
206
+ `note: verdict is a structural match against https://<brandDomain>/.well-known/ard.json only; no cryptographic validation performed.`
207
+
208
+ - A `verified` verdict does not prove the endpoint is safe or live.
209
+ - Offer the Part 4 handoff only for `verified` results. For 5/6 say
210
+ plainly that the brand does not endorse the endpoint; for 4 say the
211
+ check could not run and why.
212
+
213
+ ## Part 4: Select the connection path
214
+
215
+ For a verified result, honor the user's explicit channel choice. Otherwise,
216
+ first check whether the host has a native Poppy connector (a tool or
217
+ instructions the host itself provides for Poppy):
218
+
219
+ - **Native Poppy connector present** → try Part 4a before direct MCP.
220
+ - **No native Poppy connector** → skip Part 4a entirely. Do not fetch or
221
+ derive any `poppy.json`, and do not try to speak Poppy with browser, web
222
+ or CLI tools. Go straight to the MCP handoff below. If the only verified
223
+ listing is `application/poppy+json`, report that this brand offers support
224
+ through Poppy, which this host cannot use, and stop.
225
+
226
+ A request to find support ends with discovery; a request to contact support
227
+ may proceed within the already authorized scope, without asking again.
228
+
229
+ ## Part 4a: Native Poppy discovery and use (native Poppy hosts only)
230
+
231
+ Run this part only when Part 4 found a native Poppy connector.
232
+
233
+ 1. Read the host's native Poppy connector instructions. Use a verified
234
+ `application/poppy+json` result's URL when one was returned. Otherwise,
235
+ derive `https://{osd:brandDomain}/.well-known/poppy.json` from the selected
236
+ verified listing. Do not use a remembered brand domain or the MCP host
237
+ as a substitute. This well-known lookup is allowed even when OSD returned
238
+ only an MCP server card.
239
+ The discovery URL must use `https://` before anything is fetched. A
240
+ returned listing URL with any other scheme (`http://` included) is
241
+ malformed discovery: do not fetch it, do not upgrade it to HTTPS, and do
242
+ not fall back to MCP. Stop and report it (step 5).
243
+ 2. Use native discovery, or fetch the public discovery document with the
244
+ host's browser/read-only web tools if needed to establish its redirect
245
+ chain. Every URL in the chain must be HTTPS: the initial URL, each
246
+ redirect target and the final URL. Any non-HTTPS hop is malformed
247
+ discovery; stop rather than continuing or falling back. The final URL must have
248
+ exactly `/.well-known/poppy.json` as its path and no query; the document's
249
+ `organization.domain` must match that final host (including a non-default
250
+ port). A cross-host redirect over an all-HTTPS chain selects the final company's identity; do not
251
+ force the original OSD brand domain into its Session audience. Let the
252
+ native connector validate the supported protocol version, issuer discovery
253
+ and company identity. Missing auth fields alone do not prove no issuer.
254
+ 3. If discovery is valid and a native-supported channel fits the task,
255
+ prefer the native connector. Use only APIs/channels advertised by that
256
+ document. An MCP API in Poppy is usable through native Poppy; a separate
257
+ Poppy conversation endpoint is not required. Let the connector manage
258
+ signing, authentication and Sessions; never build JWTs, invent auth URLs,
259
+ or print secrets. Discovery redirects do not authorize forwarding tokens
260
+ or Session headers across redirects on API requests.
261
+ 4. Inspect available tools and perform only the user's authorized action.
262
+ For a support contact, send once and retain continuation details privately.
263
+ If delivery is uncertain, do not resubmit or switch channels. Use a
264
+ documented read-only status tool if available. An `invalid_session` or
265
+ identity-validation failure must be reported; do not silently bypass it
266
+ by switching to ordinary MCP.
267
+ 5. If Poppy is absent (404) or the advertised version/channel is
268
+ unsupported by the connector before any submission, use the
269
+ already verified MCP route below when the user authorized that task.
270
+ Report which path was selected and why. For malformed discovery, identity
271
+ failures or transient discovery errors, stop and report the limitation
272
+ rather than treating the document as absent or silently downgrading.
273
+ 6. Report provenance accurately: OSD returned a listing; the brand's
274
+ well-known document supplied Poppy when no Poppy listing was returned.
275
+ Record the original listing/verdict, discovery source and final URLs,
276
+ final company domain, selected native tool and result. The OSD structural
277
+ verdict applies to the returned listing, not automatically to every Poppy
278
+ channel. Report any change in company name/domain across the redirect.
279
+
280
+ Protocol reference: https://personalagentprotocol.org/docs/1.0/spec
281
+ (sections 3, 5 and 7). The native connector must support the version actually
282
+ advertised; do not rewrite a document to satisfy an older client.
283
+
284
+ ## MCP handoff (default path; also the fallback from Part 4a)
285
+
286
+ This is the path for every host without a native Poppy connector, and for
287
+ Poppy hosts when Part 4a fell back or the user chose MCP.
288
+
289
+ When a result resolves to an MCP server card (`type:
290
+ application/mcp-server-card+json`) and the human wants to use it:
291
+
292
+ 1. Present the endpoint and what it offers (`capabilities`,
293
+ `representativeQueries`).
294
+ 2. Follow an already stated choice of standing connection or one-off use.
295
+ Ask only if it is unclear; do not require another confirmation when the
296
+ user already requested a one-off support action.
297
+ 3. **Standing connection** — print the resolved endpoint for
298
+ registration:
299
+
300
+ ```bash
301
+ npx -y @osd-project/osd-cli@0.8.3 mcp "<result-url>" --verify --resolve-only --json
302
+ ```
303
+
304
+ Before connecting with `osd mcp`, pass `--verify` so the target is
305
+ verified against the directory and the brand's own manifest; the
306
+ connection proceeds only if verification passes. `--resolve-only` prints
307
+ the checked endpoint without connecting or
308
+ signing in — the human's client does both on first use. The output
309
+ carries the streamable-http endpoint the client needs. The
310
+ human's client (or its own MCP-configuration mechanism) does the
311
+ registration — this skill never edits a client config file.
312
+ Hand over
313
+ the endpoint; never edit a client config file yourself. Per-client
314
+ notes: `references/connect-mcp.md`. The human restarts their client
315
+ afterwards; MCP servers load at startup.
316
+ 4. **One-off answer, or no MCP client in the host** — use the CLI
317
+ directly (Part 4b). The handoff does not have to end at a registered
318
+ endpoint.
319
+
320
+ ## Part 4b: Direct use (`mcp`) — when there is no host MCP client
321
+
322
+ The CLI can speak MCP itself without installing anything into a client.
323
+ Use it when native Poppy was not selected under Part 4 and the host has no
324
+ remote-MCP support, or the user selected CLI-based one-off use.
325
+
326
+ 1. List what the discovered server offers:
327
+
328
+ ```bash
329
+ npx -y @osd-project/osd-cli@0.8.3 mcp "<result-url>" --verify --json
330
+ ```
331
+
332
+ 2. Call a tool by name, with arguments as a JSON object:
333
+
334
+ ```bash
335
+ npx -y @osd-project/osd-cli@0.8.3 mcp "<result-url>" --verify --call <tool> --args '{"query":"refund policy"}'
336
+ ```
337
+
338
+ Always pass `--verify`: the target is verified against the directory and
339
+ the brand's own manifest before connecting, and the connection proceeds
340
+ only if verification passes.
341
+
342
+ 3. Relay the tool's answer to the human. The tool call is the whole
343
+ interaction — never fetch the endpoint or card yourself to "help".
344
+
345
+ ### Auth for direct use
346
+
347
+ - The first OAuth-protected call needs human approval. The CLI prefers
348
+ device authorization when the server advertises it: it prints a
349
+ verification URL and user code for the human to approve in their own
350
+ browser. Other servers use browser-callback sign-in. Tokens are cached
351
+ for later calls; the agent never chooses or implements an OAuth flow.
352
+ - A non-interactive shell without cached credentials stops rather than
353
+ starting human interaction automatically. With the human's consent,
354
+ start sign-in using the same verified target and `--login`:
355
+
356
+ ```bash
357
+ npx -y @osd-project/osd-cli@0.8.3 mcp "<result-url>" --verify --login --json
358
+ ```
359
+
360
+ For device sign-in, relay the printed URL and user code to the human and
361
+ keep the command running while they approve. The CLI owns polling and
362
+ credential storage; never extract the private device code or issued
363
+ tokens. `--login` requests fresh approval even when credentials are
364
+ cached or the server permits anonymous access. Later calls omit it and
365
+ reuse the cache. Report failures rather than improvising a token flow.
366
+ - Never print or exfiltrate the token cache; never ask the human to paste
367
+ tokens.
368
+
369
+ ### Failure handling for direct use
370
+
371
+ - Exit 4 (unreachable) is inconclusive. A discovery/read operation may be
372
+ retried once. Never retry a write whose delivery is uncertain; report it.
373
+ - Exit 2 means the target was malformed — re-check the URL came from a
374
+ `search` result, unmodified.
375
+ - A `protocolError` means the endpoint answered but did not speak MCP
376
+ correctly — report that the integration looks broken, do not retry in a
377
+ loop.
378
+
379
+ ## Upkeep
380
+
381
+ - This skill matches the CLI version in its pin by construction. To
382
+ refresh both together, re-run the install that produced this skill
383
+ (`--dir` takes the directory that contains this skill's `osd/`
384
+ directory):
385
+
386
+ ```bash
387
+ npx -y @osd-project/osd-cli@latest skill install --dir <skills-dir>
388
+ ```
389
+
390
+ `skill install` with no `--dir` also resolves the skills directory on
391
+ its own: the one it can detect, else `~/.agents/skills`.
392
+
393
+ - To check for drift at any time:
394
+
395
+ ```bash
396
+ npx -y @osd-project/osd-cli@0.8.3 skill status --dir <skills-dir>
397
+ ```
398
+
399
+ Exit `0` means the installed skill matches its CLI; exit `1` means it
400
+ does not — re-run the install above.
@@ -0,0 +1,48 @@
1
+ # Connecting a discovered MCP server
2
+
3
+ Reference for Part 4 of the `osd` skill. After the human chooses a
4
+ standing connection, the CLI resolves the endpoint; the human's client
5
+ does the registration through its own MCP configuration. The agent never
6
+ edits client config files and never handles credentials.
7
+
8
+ ## Resolve the endpoint
9
+
10
+ ```bash
11
+ npx -y @osd-project/osd-cli@0.8.3 mcp "<result-url>" --verify --resolve-only --json
12
+ ```
13
+
14
+ `--verify` checks the target against the directory and the brand's own
15
+ manifest first; the endpoint is printed only if verification passes.
16
+ `--resolve-only` only resolves: no connection, no OAuth — those belong to
17
+ the human's client at first use. The server card resolves to its
18
+ streamable-http endpoint. Clients want
19
+ that endpoint URL in their MCP config, not the card URL — a client handed
20
+ the card URL fails. Always resolve through the command; never fetch the
21
+ card yourself.
22
+
23
+ ## Registration notes, per client
24
+
25
+ The client owns its own config; these notes are for the human:
26
+
27
+ | Client | Where the endpoint goes |
28
+ | --- | --- |
29
+ | Claude Code | The client's own MCP management command (e.g. `claude mcp add`). |
30
+ | OpenCode | The client's MCP config. |
31
+ | Cursor | `mcp.json`. |
32
+ | Codex | `config.toml`. |
33
+ | Other | An `mcpServers` entry pointing at the endpoint URL. |
34
+
35
+ Most clients walk the OAuth chain natively on first use: 401 ->
36
+ protected-resource metadata -> authorization server -> browser login.
37
+ After registration the human restarts the client; MCP servers load at
38
+ startup.
39
+
40
+ ## Rules for the agent
41
+
42
+ - Resolve the endpoint through the CLI only; never fetch the card.
43
+ - Hand the endpoint to the human; never edit a client config yourself.
44
+ - If the client has no remote-MCP support, stop and offer direct use
45
+ (Part 4b of the skill).
46
+ - Never invoke the endpoint as a substitute for the human connecting it,
47
+ outside the skill's direct-use path.
48
+ - Never handle OAuth credentials or tokens.