Skip to content

Add opt-in exact JSON value and schema DSLs - #31

Closed
ThorFuchs wants to merge 7 commits into
mainfrom
codex/dual-dsl-p1.2
Closed

ThorFuchs wants to merge 7 commits into
mainfrom
codex/dual-dsl-p1.2

Conversation

@ThorFuchs

@ThorFuchs ThorFuchs commented Oct 15, 2026 •

Copy link
Copy Markdown
Owner

Authored JSON and Draft 2020-12 schemas currently require manual tree construction. This adds optional JSONValueDSL and JSONSchemaDSL products with typed result builders, exact keys/numbers, explicit array expansion and ordinary JSONSchemaDocument output. The existing engine remains the semantic authority; its source and the existing six products are unchanged.

JSONDSLCore is a shared target without a standalone product. Root dependencies and platform requirements are unchanged. This is trusted authored syntax: callbacks and staging are unmetered; iterative finalization and schema-document admission share one finite invocation-owned ledger. It makes no staging/RSS or whole-DSL accounting claim.

All checks passed on final head 6426421 through merge-test revision 63fa207; downloaded receipts match all 931 archived source files:

Qualification Actual result
Native CI All three required checks passed: 19 uninterrupted native commands, three safety commands, one docs command
Native behavior/safety 343 functions and 173 parameter invocations per full configuration; 47 new DSL functions; full ASan, 13 targeted TSan functions and strict memory safety
Native environment macOS 27.0.1 arm64, Xcode 27.2 (27B5028f), Apple Swift 6.4, SDK 27.2, language mode 6
DocC/site 1005/1005 authored declarations documented, nine catalogues, 1530 routes and 7636 local links; actual archive/site manifests verified
Linux CI ARM64/x86_64 full qualification and safety passed; 16+4 commands each, 329 functions/173 parameters, 12 TSan functions
Independent qualification 287/318 syntax cases evaluated (31 policy), 2300/2337 schema cases evaluated (37 policy), 82 authored, nine budget and 4396 malformed replay cases; all 49 cap outcomes and 20 rooted consumer cases
Compiler/public consumer Six intended-domain negative fixtures reject in Debug/Release; positive and qualified-name collision probes pass; consumer distinguishes valid, ordinary invalid and missing-resource operational outcomes
Clean Linux reproduction Both architectures rebuilt/extracted/built/tested the same actual source archive, SHA-256 6555f8912f8fc8956086d38725228f309f7819b9cca67158b70cfa9b1cb8eace

Prior source-equivalent qualification also covers the 41-command native compiler comparison through 256 sibling declarations, all 47 DSL tests Debug/Release in WASI Node, the release consumer in Node/WasmKit, and iPhoneOS/iPhoneSimulator 27.2 consumer cross-builds. Compiler timings were measured under heavy host load, with no controlled runtime performance claim. No new device or full WASI corpus/sanitizer claim is made.

The full 49-file author review found no blocking implementation defect. Stale README/release inventory counts and the supporting DocC route description were corrected in two documentation-only commits after the preserved ed08ed4 freeze. Earlier ENOSPC, PDF timeout and Linux checkout-ownership failures remain recorded with their subsequent source-equivalent recovery; they are not relabeled as passing runs. Fresh PR Native CI now supplies the uninterrupted result.

Review references:

This PR remains draft. The main branch, sibling work, required-check settings and release state are unchanged. Documentation deployment was skipped. Merge, tagging and publication require separate instructions.

Keep trusted authored staging separate from finite iterative finalization. Reuse one engine ledger through schema document admission; preserve exact keys, numbers, omission and native schema authority. Add real-engine semantic, lifecycle, compiler and public consumer qualification.
Retain measured variadic composition, record real native and WASI outcomes and the disk blocker, preserve all product-guide checks, and complete prototype test provenance.
Record all production command outcomes, complete sanitizer rerun, corpus and cap counts, strict DocC and actual completion evidence. Keep Linux pending and authored staging limitations explicit.
Trust only GITHUB_WORKSPACE in the ephemeral container and assert its HEAD matches GITHUB_SHA before qualification. Preserve metadata failures and all native, corpus, cap, privacy and compiler checks.
Record both Linux architectures full and safety outcomes, byte-identical clean reproduction, actual WASI DSL tests and Apple SDK builds. Preserve failed attempts and explicit staging/platform scopes; keep merging and release publication separate.
@ThorFuchs

Copy link
Copy Markdown
Owner Author

Superseded: JSONValueDSL and JSONSchemaDSL shipped in 1.7.0 through the consolidation (#69/#70). Closing during the 2026-11-09 open-PR review (maintainer-approved). Branch kept for provenance; source-bound qualification history is preserved.

@ThorFuchs ThorFuchs closed this Nov 9, 2026
@ThorFuchs
ThorFuchs deleted the codex/dual-dsl-p1.2 branch November 11, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant