inspector/core/json
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall f556f8831b fix: address Copilot review round 5 — union member faithfulness, partial discriminators, const-null siblings
- rootUnion: union members get the same flattenability test as allOf members,
  so a branch whose nested `allOf: [false]` makes it unsatisfiable is no
  longer offered as a callable alternative with that constraint erased.
- selectBranchIndex: weigh only the pinned constants the caller SUPPLIED. One
  it did not supply is a value this identification exists to seed, so
  requiring it meant a deep link naming `kind` alone matched no branch
  whenever the branches also pinned, say, a `version`. A supplied constant
  that disagrees is still evidence against.
- admitsNull: `const: null` is conjunctive with its siblings, not an
  override — `{ type: "string", const: null }` and
  `{ const: null, anyOf: [...] }` reject every value, so the claim is made
  only where the type and a sibling union leave null on the table.

Signed-off-by: cliffhall <cliff@futurescale.com>
2026-08-26 02:38:14 -04:00
..
jsonUtils.ts fix: address Copilot review round 2 — conjunctive merges, generated-name collisions, CLI branch selection 2026-08-26 01:41:17 -04:00
nullableUnion.ts fix: address Copilot review round 5 — union member faithfulness, partial discriminators, const-null siblings 2026-08-26 02:38:14 -04:00
rootUnion.ts fix: address Copilot review round 5 — union member faithfulness, partial discriminators, const-null siblings 2026-08-26 02:38:14 -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