Repository navigation
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extract the existing query compiler/VM behind the opt-in
JSONTransformlibrary. External packages compile immutable Sendable plans and pull exact native JSON through an invocation-owned guarded scope.swift-json querycalls the same compiler/VM through package-only adapters on its existing cumulative parse/compile/execute/write ledger.Copies of an execution handle share one owner and meter. Escaped handles invalidate, provider re-entry fails before mutable context access, cancellation and operational failures latch, and last-alias refunds drain after terminal errors. Native admission checks public outputs against the execution policy, including literals compiled under broader limits. Output admission preserves cumulative work/statistics and refunds temporary traversal frames on failure. The CLI retains its existing native writer and host semantics.
The candidate adds the tenth library to the actual development source. Existing nine public library roots and the regex runtime are unchanged from starting main. Nineteen private kernel files match after reversing type renames; portable Foundation utilities remain in that existing kernel. No second evaluator, numeric authority, dependency, dialect extension, platform change or fallback engine is introduced.
Current feature checkpoint:
21199f9af5bf50f1d473c6d3e67b91ae91f75089, tree9f54309a5dbef38c7207d5783f2d90d7e0690eac.Hosted PR execution:
1e7197f95bdad453fc50b542b0c143b43299637e, tree426a77ef870dfce4f9d7a16a8602511d8d771e1f. Only main's sibling README/Developer Kit documentation differs from the branch.Hosted results for the current source: seven of eight product contexts passed. Native run 39142488867 passed native, safety, docs and archive. Linux run 39142488872 passed both normal architectures and ARM64 safety. Documentation publication was correctly skipped for this draft PR.
Open qualification gate: Linux x86_64 safety job 117719572404 passed ASan 786/325, TSan 51 and strict compilation, then
swift-packagecrashed with signal 11 during pre-planning of the separate schema-example lifetime consumer. That process was not run. Root cause is unconfirmed; no library/compiler fix or common cause with the historical incident is claimed. Original bytes are preserved. No rerun, source workaround, gate weakening, flag/pin/timeout or leak-policy change was made.Performance remains partial: loaded alternating baseline/candidate medians were −0.75% for 2,000 records and +0.17% for 20,000; paired logical retention was unchanged. These observations do not close controlled idle-host timing or isolated allocation qualification. The 10% review trigger and historical streaming disposition remain unchanged.
The predecessor
61125edpassed all eight contexts, but a separate public consumer then demonstrated its compiled-literal/tighter-execution-policy bug. This successor fixes it and adds inclusive-boundary, terminal-publication and cumulative-work/temporary-frame regressions. Earlier rejected ownership experiments, compiler crash and failed commands remain preserved as history, not final passes.Status: PARTIAL, draft for source/API review and bounded qualification closure. No independent human approval or release readiness is claimed. Main advanced through sibling documentation work; this branch has not been rebased or merged with it. Keep ready conversion, merging, tagging and publication separate. Private evidence is retained locally and is not attached to this PR.