inspector/core/json
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall 54c5e12b2b fix: address Copilot review round 24 — a discriminator must be required
A distinct `const` does not make `oneOf` alternatives mutually exclusive
unless the property carrying it is required: two branches pinning an OPTIONAL
`kind` both match `{}`, so arguments omitting it satisfy more than one
alternative — exactly what `oneOf` forbids. The property must now be required
by the root or by every branch.

Also makes `propertiesOf` total (an unreadable `properties` reads as empty,
with a separate predicate for the one caller that must tell them apart), which
removes a row of unreachable `?? {}` fallbacks, and covers the value/type
comparisons the const checks rest on.

Signed-off-by: cliffhall <cliff@futurescale.com>
2026-08-26 09:09:38 -04:00
..
jsonUtils.ts fix: address Copilot review round 23 — inherited constants, branch null forms, test cast 2026-08-26 08:31:00 -04:00
nullableUnion.ts fix: address Copilot review round 23 — inherited constants, branch null forms, test cast 2026-08-26 08:31:00 -04:00
rootUnion.ts fix: address Copilot review round 24 — a discriminator must be required 2026-08-26 09:09:38 -04:00
schemaLint.ts fix: stop claiming a bare-true replacement narrows the contract 2026-08-25 03:41:17 -04:00
xMcpHeader.ts fix(core): mirror SEP-2243 x-mcp-header args to Mcp-Param-* on tools/call (#1847) 2026-07-28 19:19:48 -04:00