Repository navigation
Conversation
Execute compiler-test Resource hooks against the retained checked program with private owner custody, source-order argument staging, and reverse acquisition cleanup on normal, handled-error, terminal-error, and host-panic paths. Preserve exact declaration/signature joins, provider purpose gates, and closed descriptor and absent-data evaluation without runtime authority. Validate exact empty aggregate layouts and checked enum constructor dispatch. Production providers and native Resource lowering remain disabled. Scoped, captured, reflected, pipeline, assignment, repeated-entry, and occupied aggregate transport remain subsequent work; the new pipeline/assignment tests establish source validity only. Validation: cargo fmt and its check pass; all 22 Jett fixtures format/check; 43 Resource tests pass after formatting. Before the formatting-only pass, all 461 comptime library tests, 87 driver library tests, and 598 frontend fixtures pass. Native coverage estimate remains about 85%; this reference change adds no native Resource acceptance claim. The separate parent caller commit passes 480 native tests and all four Windows/Linux workspace/installed CI jobs.
Track program/kind/slot identity, non-cloneable owner and loan tokens and chronological scope/operation/return frames. Validate context, generations and provenance before transfers or cleanup; continue protected reverse cleanup after failure or panic. Keep Resource completion separate from ordinary native first-error behavior. Registration is test-only. Production layout issuance, native ABI, MIR ownership/drop plans, linked Source execution and real providers remain pending; this adds no native language coverage claim. Validation: cargo fmt -p jett_runtime; all 13 focused custody controls pass, and cargo test -q -p jett_runtime --lib passes 157/157. The separate uncommitted reference transport remains 78/79 with its previously known generic type.name[T] failure.
Retain exact original required/scoped/generic bodies and restore entry metadata and cursors. Execute original pipeline steps in lexical order and replace mutable owners transactionally through retained declaration slots. Resolve intrinsic arguments from concrete checked type and reflection records, preserving aliases. Verification:83 focused Resource tests;501 complete Comptime tests,87 driver library tests and598 frontend fixtures (1186 total);Rust formatting and eight new Jett fixture format checks;git diff --check and staged diff check. This is reference execution with compiler-test-only scripted providers. Native Resource codegen/ABI, real providers, occupied aggregates and async/actor cleanup remain required. The separate HIR/MIR manifest follow-up is not in this commit.
Retain a private original-program manifest for nominal Resource kinds and trusted hooks, including unused entries. Lower exact Source descriptor and invocation facts through both phases and validate signatures, lexical argument order and caller metadata. Keep ordinary Resource acquisition, copy/move/drop, native constants and emission explicitly pending until the dedicated ownership plan and ABI exist. Validation: five focused Source handoff groups pass; the formatted complete phase gate passes 191 HIR, 198 MIR, 70 codegen and 63 object-emission tests (522 total). Foreign nested type IDs now fail earlier at recursive manifest validation; tests pin that exact error and retain independent lower type-gate checks. cargo fmt and git diff --check pass. No linked native Resource execution or whole-language coverage increase is claimed. The earlier 480-case native caller and platform receipts retain their original scope.
Decode bounded owned little-endian layout tables and validate every unused record, recipe, signature, shape, path and operation reference before fresh nominal issuance. Bind one installation holder to its exact registry context; reject duplicate installation, shutdown and live registry state. Add a payload-free physical acquisition preflight before future provider effects. Frame signatures describe the containing function; enforce agreement even at different instruction sites and cover malformed unused Return metadata. Keep hook/callee signatures separate. Registration grants no Source authority, provider, payload, loan or owning token. Validation: initial nine registration controls pass; after the additional frame-signature control and formatting, all 167 runtime library tests pass, including ten registration and thirteen existing custody protocol tests. cargo fmt and git diff --check pass. Guarded reconstruction covers all six files, eight hunks and eleven inputs; independent byte/API review passed. Native Resource ABI, typed provider grants, compiler ownership/drop CFG and linked native Source execution remain pending. Whole-language native coverage is still approximately85%; the full100% objective is not complete.
Retain original HIR and nominal type meanings, constructor graph witnesses and exact Source call associations. Analyze frames, holders, loans, transfers and cleanup obligations without granting ordinary or native Resource ownership. Reject malformed type metadata before dependent custody queries. Validation: 12 focused ownership groups, nominal bounds regression, 535 compiler/object tests, 32 type tests, MIR doctest and 693 driver/frontend/lowering tests pass; fmt and diff checks pass. Native Resource execution remains pending. Parent Windows CI CLI stack overflow is a separate unresolved platform regression.
Add leased private runtime state, paired test-only Network grants, real core operations and cleanup-first completion that preserves observed status. Repair ordinary borrow Result companion destruction through the existing recursive native destructor. All 15 focused adapter controls and the full runtime package pass (182 unit and 13 integration tests). Source ABI emission and linked Resource execution remain pending.
Extract unchanged HIR and MIR branch bodies into private non-inlined helpers while retaining original Source checks, Resource capture, argument order and rollback. The original CLI stack-overflow regression and all 9 capture tests pass; 535 compiler/object checks, 32 type tests, the MIR doctest and 693 driver/lowering/frontend checks pass. Assembly records MIR lower_value frames decreasing from 169448 to 15272 bytes. Source, test oracles, launcher order and stack sizes are unchanged.
Authenticate the complete original Source archive before deriving Resource-free direct caller predecessors. Project one fresh whole-program ownership plan into deterministic v2 layout metadata and the exact driver-selected entry accessor, preserving formal effects, shell holders, failure companions and Scope/Return storage distinctions. Validation: eight focused groups; 543 compiler/object checks plus MIR doctest; 693 driver/library/lowering/frontend checks; final Return projection rerun passes 74 codegen and 63 object checks. Formatting and git diff --check pass. Independent source/API review found no remaining blocker in this metadata scope. This is an intermediate native execution prerequisite. Resource body/ABI emission, matched-archive linking and Source-deleted lifecycle acceptance remain pending; overall feature coverage remains approximately 85%.
Validate all owned actual transfers before mutation; preserve resident loans, Scope and provisional Return identity, original root body status and cleanup precedence. Reject malformed ordinary sum payload ownership before failure-companion destruction. Validation: 204 runtime unit and 13 integration tests; 67 Resource reference regressions. Causal malformed-companion controls failed before the fix and pass after it; five root-outcome controls pass. Generated Source-native bodies, matched archive and linked lifecycle acceptance remain pending.
Retain complete Source acquisition, ordinary initialization, liveness, alias, loan and move checks without placing Resource carriers in ordinary owned storage. Expose readonly acquisitions with the immutable plan lifetime and exact current expression role lookups; public Resource-pending gates remain unchanged. Validation: three both-profile Source groups; 546 HIR/MIR/codegen/object checks and the MIR doctest. Independent current source/API review confirms the finite companion boundary. Dedicated Resource body emission and Source-deleted linked acceptance remain pending.
Keep ordinary CFG/storage unchanged and validate fresh Resource custody and companions. Add isolated double-cfg runtime archives and strict reports. Five original Source scenarios match real reference outcomes in both native profiles after Source deletion; all ownership obligations retire before teardown. Validation: 551 compiler/object/HIR/MIR checks plus doctest, 693 driver checks, 217 ordinary runtime checks, 6 decoder and 4 encoder controls. Real reference and native each pass ten executions; HOST ABI controls pass both profiles. Full existing native regression is running separately; production providers and broader Resource semantics remain pending.
Preflight both current owners, loans, holder generations and transfer capacity before destructive replacement. Four focused controls and all 220 runtime checks pass; Source-native replacement remains pending.
Seal exact evaluated replacement slots and preserve self-assignment and vacant-target transfer. Final formatted gates pass 558 compiler checks plus the MIR doctest, 606 frontend/lowering checks, and 22 scenarios per reference/native backend. Driver library 86/87 hit a temporary capture PermissionDenied; the exact isolated replay passes. Complete native regression remains a separate pending gate.
Give children owned duplicates of append-only capture files and read bounded snapshots at explicit offsets. Keep deadline polling and child cleanup intact; report create/duplicate/snapshot context with the original I/O error source. Validation: 12 capture checks, 3 command controls, two unchanged isolated property replay runs, and all 92 driver-library tests pass. Formatting and git diff --check pass. Corrected two authored Windows test commands to use raw_arg while retaining their exact stream/status/deadline oracles. The historical PermissionDenied error identifies pre-spawn capture setup but does not distinguish creation from reopening. The clean Source replacement parent cda86ac separately passes all 486 native checks; combined future Source and supported-host native acceptance remain required.
Lower direct handled Resource arguments through sealed Begin/Stage/Invoke/End regions. Track lexical prefixes across control flow and retire acquired owners before handler Return operands. Keep ancestor sum storage separate from exact active execution frames without weakening runtime protocol checks. Validation: 18 shared Sources pass both profiles in reference and native execution (36 each), with Source absent at native launch and no live obligations before teardown. 573 compiler checks plus MIR doctest,606 frontend/lowering checks, 4 inventory gates (182 host objects), 92 driver library tests and 12 Jett formatter checks pass. Full current default-native and supported-host release gates remain separate.
Retire acquired call prefixes before Return operands, preserve ordinary callable floors, and carry authenticated native Source failure outcomes across callers. Extend shared lifecycle acceptance to 22 scenarios without weakening completion or publication guards. Validation: 508 reference-library tests, 92 driver-library tests, 222 runtime tests, and 44 source-deleted native executions against fresh matched Debug/Release archives pass. Rust formatting and diff checks pass. Full successor workspace and supported-host CI remain separate release gates.
Preserve original indirect call authority, prove immutable callable provenance, and invoke the checked Resource Scope bridge after native descriptor guards. Shared Resource coverage grows from 22 to 28 scenarios with 56 reference and 56 linked native runs. Validation: reference 511, MIR 233, codegen 93 plus 63 object tests, driver 92, callable regression groups 13/1/1/16, formatting and diff checks pass. Fresh supported-host acceptance remains pending; broader callable forms remain required.
…ution Join original full-span namespace resolution to the exact retained function header and signature without admitting fields, method adapters, hooks or generic targets. Shared Resource scenarios grow from 28 to 32; 64 reference and 64 linked native executions pass in debug/release. Validation: all 7 callable-proof tests, 515 reference-library tests and 92 driver-library tests pass; formatting, diff checks, and 2134 frozen Source/config hashes pass. Runtime sources and measured archives are unchanged. Fresh supported-host CI and broader callback/provider/concurrency work remain required.
Retain authenticated hook producer/alias/Return and independent current body proofs through canonical transforms. Emit opaque descriptor results and exact indirect Factory/Borrow/Close invocation rows, with actuals before the callee. Traverse ordinary helper dependencies from authenticated Resource roots. Validation: 46 shared scenarios, 92 reference and 92 native executions across debug/release after Source deletion; 9 MIR groups and 242 MIR library tests; 7 codegen groups, 100 library and 63 object tests; all 92 driver-library tests; format and diff checks. Runtime source/archive hashes are unchanged. Broader callable/aggregate/provider/concurrency and fresh host release gates remain.
Preserve the original checked Source archive and derive a materialized execution view from opaque same-program required-value proofs. Keep pure eligibility and ordinary helper calling conventions; seal required scalar bodies independently and plan exact sum-tag arms without losing disconnected custody obligations. Validation: 61 shared scenarios / 122 reference and 122 source-absent native executions across debug/release MSVC; nine required MIR controls, 251 MIR library, 100 codegen library, 63 object and 93 driver-library tests; driver foreign-context control, Rust/Jett formatting, whitespace and 2168 exact source/config inputs. Comptime and HIR production gates passed 521 and 199 library tests respectively. Runtime archives, ABI and provider policy are unchanged. Full current workspace, default-native/platform and GNU private-archive acceptance remain separate gates; the full native codegen goal remains active.
Source33 now contains both the required descriptor and scalar 761. Keep exact per-fixture counts, validate each original occurrence, and select the hook by checked identity rather than vector position. Validation: all 521 jett_comptime library tests pass. This corrects the sole deterministic assertion failure reported by both Ubuntu and Windows in CI run 37523623253.
Preserve exact checked handled-view origins and constructor-owned guarded projections. Conditional sum loans retain shells, clone failure companions, retire payload children first, and preserve written/bare Source argument custody and prefix aborts. Validation: all 73 shared Source scenarios pass both profiles, 146 reference and 146 Source-deleted native runs with exact events and zero obligations. Fresh measured MSVC archives expose 37 Resource leaves. Full checker305/HIR203/MIR254/runtime215/codegen102+63object/comptime521/driver93 suites and Rust/Jett format/whitespace checks pass. Nested/scoped aliases and broader native/platform obligations remain pending.
The private Resource lifecycle test was ignored in CI and pinned to a local MSVC receipt. Build and independently measure isolated GNU Debug/Release archives, compile their receipt digest into the gate, and run the complete shared corpus after Source removal. Retain exact compiler/linker, symbol, library-order, fingerprint and source provenance. Force Cargo output uncolored. Validation: 15 helper controls pass on Windows and Ubuntu; Python syntax, Rust formatting and diff checks pass. Runtime expected-pin forgery refusal passes. The unchanged Rust harness passes 73 scenarios / 146 Source-deleted MSVC executions in Debug/Release (bbaf50, 533.06s). Real GNU C/binutils symbol, duplicate-definition and dynamic-CRT controls pass. Full GNU Rust archive/Source acceptance still requires CI execution. Strict Python type checking was unavailable locally. No production provider or broader native-parity completion is claimed.
Native lowering refused checked Resource aliases inside branches, scoped type bodies and loops. Bind each original declaration and lexical exit to private Source/current graph proofs, retire child loans before parents, and clear nonowning aliases before joins/backedges. Return operands run before retirement; owned backing remains available after If/Scope/While/Break/Continue exits. Validation: 138 shared scenarios pass 276 real-reference and 276 Source-deleted MSVC native executions across Debug/Release with exact scripts/events/channels and zero obligations before teardown. All2234 frozen inputs revalidate; runtime bytes and the independently pinned ABI1/wire2 37-leaf archives are unchanged. MIR261, codegen103, object63, reference521 and driver93 suites pass, alongside six public object baselines/eighteen forged-exit refusals and Rust/Jett formatting. For/Match/reflected lifetimes, ordinary borrowed data sums and broader current parity remain open. Updated coherent workspace/platform and private GNU execution are still independent gates; this does not complete the native-codegen goal.
Read the selected design boundaries: namespace primitive constants are baked compile-time values, with unsupported ownership domains rejected; runtime globals are not introduced. Current task/actor parity is sequential. Absent providers, Resource task/message transport and asynchronous scheduling remain extension work. Record the verified 138-scenario nested Resource checkpoint and approximate 86% feature estimate; whole-language, GNU and coherent-revision gates remain open. Documentation-only reconciliation against design, architecture and existing evaluator/native gates; diff whitespace check passes.
Preserve the JSON normalization predicates and trust diagnostics while typing readonly list/dict observations and the mock executable lookup. Validation: all 15 helper controls pass; strict Pyright selects both files with zero errors.
Preserve exact checked sum backings and nonowning move-only payloads through certified MIR projection sites. Keep primitive/String copy destinations owned, including mutable rebind and later original-shell transfer. Add a nonconsuming runtime payload leaf and retain selected pending metadata and failure cleanup. Validation: all15 real Source programs match reference outcomes across30 Source-deleted debug/release native executions;447 MIR/codegen/object/CFG, 223 runtime and93 driver-library checks pass. Fresh matched private runtime archives also pass138 Resource scenarios /276 native executions. Rust and all15 Jett Source formats plus git diff checks pass. Coherent current full workspace and supported-host release gates remain required; goal stays active.
Remove the stale pending parser row. Verify all four historical08f9f7e7 platform jobs and the19 Source parser tests in acceptedc453 workspace evidence; retain separate current-revision release requirements. Documentation-only change; no code or coverage denominator change.
Validation: 522 reference evaluator tests; 23 pipeline cases in both profiles, 46 objects and 46 Source-deleted native executions; preserved full161 Resource corpus passes322 native executions with all3648 frozen inputs, both measured runtime archives and six nested receipts unchanged. Archive-pin forgery, Rust/Jett formatting and diff checks pass. Accepted2c compiler/runtime workspace3446 and all four supported-host jobs are documented separately; expanded GNU/platform coverage remains pending.
Authenticate each canonical consuming-list rewrite against the complete original/current ownership witnesses and carry borrowed, lexical-exit, call and descriptor proofs through the exact body prefix. Keep strict joins and raw ForEach refusal intact. Cover break, continue, consecutive and nested loops, enum arms and failure cleanup while reusing the owned backing. Validation: 191 cases / 382 Source-deleted MSVC native executions passed; 30 cases / 60 focused native executions; all frozen semantic inputs and measured archives/receipts unchanged. Four focused MIR tests, 89 Resource reference groups and 60 final object emissions passed. Historical affected phase gate passed 450 checks. cargo fmt --all --check and git diff --check passed. Candidate full workspace and exact-revision CI remain pending.
Retain the exact checked For, resolver binder, parent attempt and owner field snapshot; select each original field.type_info body by its checked ordinal, full type and source-aware reflection. Read TypeFields from retained checked facts and restore item selectors across ordinary/recursive calls, control signals and provider/finalizer unwinding without granting runtime authority. Validation: all 541 comptime tests passed on the frozen candidate, including 19 added proof/recursion/control/metadata/Resource tests and 74 strict Resource entry attempts across both checking profiles. All 3664 inputs stayed unchanged at the complete crate gate. All 10 new Jett Sources pass format--check; Rust formatting and diff checks pass. Subsequent changes only document acceptance and replace draft comments. Native reflected Resource transport remains pending.
Preserve both independently checked changes and both source-oracle entries; resolve their append-only documentation conflicts without dropping either support boundary or pending native-reflection obligation. Validation: 993 affected checks passed (542 comptime, 280 MIR, 107 codegen, 63 object emissions and 1 CFG) plus three doc-test groups. All 3,675 frozen inputs and both merge parents remained unchanged. Rust formatting and staged diff checks pass. Full candidate workspace/native reflection and exact-revision distribution gates remain pending.
Exercise equal field types, runtime ordinal/name branches, generic and nested reflection, aliases, bitfields, variants, machines, and getter pipelines without changing ordinary lowering. Validation: 30 Source-deleted native executions across Debug/Release main, verify, and property suites; reference and explicit comptime oracles passed. All 3703 frozen inputs unchanged during execution. Cargo formatting and Jett source formatting checks passed; final test header change is comment-only.
Retain constructor-authenticated original field/body correspondence in HIR and MIR so equal-type reflected fields select their exact lexical bodies. Keep ordinary helper witnesses free of Resource execution authority and preserve existing ordinary sequence preparation. Add four genuine Source controls, strict final object checks, and Source-deleted single-entry and clean same-grant reentry native checks. Align design, architecture, and bounded acceptance notes; broader aggregate custody and reflected exit coverage remain pending. Validation: 1202 affected-phase tests; focused16 linked native executions/24 entries; unchanged191-case regression382 native executions, all Debug/Release. All3686 inputs, nine measured runtime files, and frozen executable unchanged during native gates. Cargo and Jett formatting plus git diff checks passed. Final changes after acceptance are four documentation files and one comment-only case header. Full committed workspace and new-head CI follow separately.
…tive-resource-reflected-fields-reference
Authenticate original control/binder identities, current checked facts, selected parent and exact child shapes before publishing inactive Resource-bearing data through existing empty-custody bindings. Preserve view iteration parents, map key ownership, scope retirement, and unrelated live owners. Keep occupied aggregate custody and native transport conservative. Preserve the whole original Source17 and fourteen wrapper oracles. Add meaningful control/provenance/shape/custody rejection tests and causal view Continue/Break/parent-reuse checks. Align design and architecture with the bounded reference contract. Validation: full554 comptime tests passed, including28/28 original wrapper attempts,120 constructors across five purposes/both profiles, required34/namespace17 and original verify/property100. Nine focused tests/60 Source entry attempts passed again after canonical formatting removed only five appended blank lines. All3709 frozen inputs unchanged during gates; original3600-byte prefix exact. Cargo/Jett format and git diff checks pass. The independent28 native object attempts still require aggregate transport; their failing diagnostic collector is excluded from this reference commit.
Retain both reflected-field and original aggregate Source oracle modules. The combined comptime gate passes556tests with all3720 frozen inputs unchanged; the only conflict keeps both independent registrations. Reference repair and original Source17 oracles remain intact; native aggregate transport and the full goal remain pending.
Permit the declared next private test entry once current ordinary status and real retirement checks are clean. Keep the first immutable completion, diagnostics, continuous events, provider grant and nonzero process exit; existing entry_begin rejects ordinary failures and residual custody. Validation: exact reference filter passed 36 calls; actual Source-deleted native filter passed 18 executables / 36 entries in fresh independently measured MSVC Debug/Release archives. All 3,722 frozen inputs and nine runtime files remained unchanged. cargo fmt --all --check and git diff --check pass. The earlier zero-test filter attempt is retained as unaccepted evidence. Dedicated derived Return/Break/Continue/Default controls, predecessor compatibility, coherent-workspace/exact-revision CI and aggregate transport remain separate pending native goal obligations.
Add strict shared Break, Continue, handled Return and scalar Default controls using original Source bytes. Verify exact completion, diagnostics, event boundaries, retired custody and cleanup before destruction. Validation: five focused gates pass, selecting one real test each; 62 reference calls, 22 objects, 42 Source-deleted native executables and 62 entry attempts across Debug and Release. Frozen source/runtime hashes unchanged; cargo fmt --all --check and git diff --check pass. Broader native parity remains pending.
Add shared first/later reflected Return controls and distinct-owner publication tests. Verify cleanup suppresses publication, exact reports and events, retired custody, same-grant READY reentry, and immutable first completion and exit. Validation: five focused gates each execute one passing test; 72 reference calls, 24 objects, 48 Source-deleted Debug/Release native executables and 72 entries. All 3730 source inputs and nine measured runtime files unchanged. Formatting and diff checks pass; broader lifetime, aggregate, workspace and CI work remains pending.
Implement authenticated carrier layouts and lifetime operations for empty and absent Resource aggregates. Give checked ordinary wrappers entry scopes for borrowed-sum operations, and keep raw/default refinement predicates ordinary unless their immutable original archive requires a witness. Validation: full workspace 3582 passed/0 failed/13 ignored; eleven explicit native gates passed 576 Source-deleted executions and 672 entries across Debug/Release with frozen compiler/archive provenance; archive-helper tests 22 passed; cargo fmt --check and git diff --check passed. Occupied Resource transport, repeated ordinary-error reentry, wider language parity and exact-revision platform acceptance remain unfinished.
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.
Native execution preserves checked Resource ownership through named and indirect calls, optional/result payloads, and reflected field bodies. Owners retire before teardown, and owned returns publish only after scope cleanup succeeds. Empty and absent Resource aggregates use authenticated layouts and checked entry scopes.
Ordinary failures now belong to their entry attempt. Once cleanup fully retires that attempt, the same context can run another entry without inheriting its error. Nested failures preserve the first error, failed cleanup remains fatal, and storage reservation failures cannot publish a partial entry frame.
Validation:
Local linked acceptance uses Windows MSVC. Windows/Linux CI and relocated-package execution passed for the preceding commit; CI for this update is pending. Occupied Resource aggregates, broader Default/generic/reflected lifetimes, actor/comptime behavior, and wider language parity remain unfinished. This PR stays draft, and the rough feature estimate remains 87%.