inspector/core/json
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall 246ee1c262 fix: address Copilot review round 9 — canonical constant comparison, name-based inference, permissive schemas
- rootUnion: schema values are compared through a key-sorted rendering, so two
  discriminator constants written as {a,b} and {b,a} are recognized as the same
  value rather than as mutually exclusive alternatives.
- selectBranchIndex: after the const and required passes, a name only ONE
  alternative declares identifies that alternative; a name several declare is
  ambiguous and says nothing.
- additionalProperties counts as restrictive only when its schema states an
  assertion — an annotation-only `{ title: ... }` is the equivalent of
  `true`, like `{}`.
- Drop the unjustified double casts from the ToolTestModal fixtures; the
  schemas are assignable to Partial<Tool> as written.

Signed-off-by: cliffhall <cliff@futurescale.com>
2026-08-26 04:07:50 -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 9 — canonical constant comparison, name-based inference, permissive schemas 2026-08-26 04:07: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