inspector/core/json
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall 00d9905781 fix: address Copilot review round 32 — normalize before the type vote, enum-spelled null
- coercionProperties collapses each declaration before comparing types. A
  nullable schema written as an `anyOf` states no top-level `type`, so
  `number | null` and `boolean | null` both read as "no type" and counted
  as agreeing — and `value=true` then came back as `NaN` through the first
  branch's number.
- admitsNull reads an `enum` offering null, under the same sibling conditions
  a `const: null` answers to. Without it `{ enum: [null] }` reported that it
  rejects null, and a required read-only field spelled that way stayed
  permanently invalid.

Signed-off-by: cliffhall <cliff@futurescale.com>
2026-08-26 12:50:20 -04:00
..
jsonUtils.ts fix: address Copilot review round 32 — normalize before the type vote, enum-spelled null 2026-08-26 12:50:20 -04:00
nullableUnion.ts fix: address Copilot review round 32 — normalize before the type vote, enum-spelled null 2026-08-26 12:50:20 -04:00
rootUnion.ts fix: address Copilot review round 26 — a false property schema declines the branch 2026-08-26 09:42:50 -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