inspector/core/json
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall df1e39e623 fix: address Copilot review round 13 — cross-keyword contradictions, own-property required check
- rootUnion: keywords the two declarations state SEPARATELY can contradict too.
  A merged `const` is now checked against its own `type` and `enum`, so
  root `x: { type: "string" }` under branch `x: { const: 1 }` declines
  instead of seeding an immutable 1 into a string field. An integer const still
  satisfies a `number` type — the one direction JSON Schema widens.
- TUI missingRequiredFields tests `Object.hasOwn` first: an argument legally
  named `constructor` resolved to the inherited one and read as supplied, and
  the call went out without it.

Signed-off-by: cliffhall <cliff@futurescale.com>
2026-08-26 05:21:21 -04:00
..
jsonUtils.ts fix: address Copilot review round 6 — additionalProperties, annotations, prototype-safe records 2026-08-26 02:56:55 -04:00
nullableUnion.ts fix: address Copilot review rounds 7 and 8 2026-08-26 03:54:24 -04:00
rootUnion.ts fix: address Copilot review round 13 — cross-keyword contradictions, own-property required check 2026-08-26 05:21:21 -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