inspector/core/json
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall 7792ad71e9 fix: address Copilot review round 16 — tie-breaking, const-aware gating, malformed declarations
- selectBranchIndex no longer stops when several branches share the supplied
  constant. A branch is dropped only when a supplied value CONTRADICTS one of
  its constants; the required-field and exclusive-name passes then run over the
  remaining candidates, so { version: 1, phone: "555" } resolves to the SMS
  branch instead of falling back to the first.
- hasMissingRequiredFields counts only the branches the values could be making
  (new branchAcceptsValues): { kind: "sms", address: "x" } supplies
  everything the EMAIL branch requires while contradicting its discriminator,
  and would otherwise enable a submit the server refuses.
- convertToolParameters ignores a malformed property declaration when branches
  agree on a type, rather than storing a non-schema as the coercion schema.

Signed-off-by: cliffhall <cliff@futurescale.com>
2026-08-26 06:23:54 -04:00
..
jsonUtils.ts fix: address Copilot review round 16 — tie-breaking, const-aware gating, malformed declarations 2026-08-26 06:23:54 -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 16 — tie-breaking, const-aware gating, malformed declarations 2026-08-26 06:23:54 -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