deepseek-harness/packages/core/tools/tests
Tianyi Cui d1b52a063b fix review findings: own-property and plain-JSON discipline in the schema subset
Three Codex findings on json-schema.ts, one discipline:

- required-declared and every value check now use Object.hasOwn — 'in' let
  inherited names (toString) satisfy required, dodge additionalProperties:
  false, and validate a declared property against the value's prototype
  member instead of a carried one
- isObjectLike now means PLAIN JSON object (proto chain of at most one link,
  realm-agnostic): a Date annotation or a Map-as-properties no longer passes
  structurally and serializes lossily — they fail loud as subset violations
- startInProcessRun asserts BEFORE the defensive structuredClone, so a
  hostile schema fails as OutputSchemaError, never a raw DataCloneError

Also the type-equiv catalog gap: tools.md gains the structured-output subset
vocabulary (4 blocks) with matching manifest entries. The driver index also
drops the runtime internals from its public re-export (runs acquire it
internally; no external consumer remains — see the following commit).
2026-07-07 21:07:54 +08:00
..
gen-tool-catalog.spec.ts Merge remote-tracking branch 'origin/master' into codex/docs-graph-brainstorm 2026-07-05 01:53:13 +08:00
json-schema.spec.ts fix review findings: own-property and plain-JSON discipline in the schema subset 2026-07-07 21:07:54 +08:00
properties.spec.ts Reorganize packages into a modular hierarchy 2026-06-20 22:55:20 +08:00
tools.spec.ts refactor(llm): drop the inert request knobs — prefill and strict 2026-07-04 18:38:39 +08:00