feat: preserve shared boundary contracts through compilation and runtime - #9048
Merged
marsninja merged 35 commits intoSep 7, 2026
Merged
Conversation
marsninja
marked this pull request as ready for review
September 7, 2026 18:06
chess10kp
added a commit
to chess10kp/jaseci
that referenced
this pull request
Sep 8, 2026
Absorb 147 upstream commits (Aug 25..Sep 8): centralize Jac object semantics and native compiler migration foundations (jaseci-labs#9022), shared boundary contracts through compilation and runtime (jaseci-labs#9048), comptime imports, workspace apps, native frontend materialization. Conflict resolutions: unitree Import/Complex nodes follow upstream's migrated shape with the campaign clib_header param restored (decl + roles.impl woven init); uni_pass visitor surface dropped with upstream's native dispatch; client compile internals, runtime anchor resolution, modresolver spec probing, HMR classify take upstream's refactors; campaign hooks preserved (NATIVE_SEAL precompile roots, React/Solid backend overrides, clib import token regeneration, runtime_module/jsx_factory_name lowering); duplicate pre-merge backend impl monoliths (esast/jcir 10.8k lines) and the orphaned accept-machinery impl files (dispatch/surface, 230 impls each) removed so annex weaving terminates; jcir Complex literal lowering migrated to the split impl layout (expr.impl.jac). Local verification: layer10 140/140, layer9 203/203, vm_conformance 199/199, flowgraph_verify 29/29 on isolated warm caches; jac check over jac/jaclang clean.
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.
Shared boundary contracts implementation
Jac will retain boundary contracts across compilation and deployment, use them for typed crossings and runtime dependency decisions, and migrate jaclang_org to those mechanisms. Superseded implementations will be removed rather than retained as compatibility paths.
Acceptance validation
Validated jaclang_org with
jac browsein development mode: home and source explorer rendering, native arena rendering with updating health/death counters, navigation to JacYac, local signup and automatic login, post creation/deletion with feed and trending updates, logout, and docs navigation. The validation post was deleted. The GitHub project flow decoded public repository and commit responses and correctly rejected a repository containing no Jac code. No application console errors were observed in these flows.The final production smoke check used the CI-built binary: the home page rendered, the native arena launched with updating health/death counters, and navigation to JacYac rendered its login screen without application console errors. CI is green on the final commit, including compiler, runtime, client, Android, deployment, Kubernetes, and packaging checks. The packaging smoke test exercised full browser journeys against both colocated services and the fleet gateway, plus fullstack create/eject checks.
No benchmarks were run. Boundary-audit verification remains waived; browser validation does not establish exhaustive cache-race, ABI, or external OAuth coverage.
Implementation notes
set_na_envAPI is removed.All implementation items are committed. The repository progress document has been removed; this PR description retains the scope table. The audit verification waiver is a validation limitation, not a claim that the final audit output was checked.