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.
Keep all three generated Sources unchanged and require the existing redacted diagnostic in both reference and native execution. Verified three reference cases and six Source-deleted native executions with Debug and Release BuildOptions using the measured Debug runtime archive; source and runtime guards passed.
Carry original actor, handler, caller and binding facts through accepting ownership checks, reference execution, HIR, MIR and native publication. Preserve persistent views, early Respond and exact nonresponding nothing returns; publish incoming owners before retiring displaced values. Keep checked Property tables and existing protected initializer descriptors authenticated. Validated 2,572 non-Driver library tests and all 97 Driver library tests, ten actor reference controls, eight backend tests over all 182 run-pass fixtures, 98 measurement controls and formatting. The guarded MSVC matrix passes eleven tests with 24 Source-deleted executions and 48 separate publication refusals, preserving 1,035 compiler inputs and 68 runtime artifacts. Resource-bearing replacement, wider compositions and complete workspace/platform acceptance remain open.
Authenticate mutable backing through the selected owned binding fact while retaining immutable alias slots, persistent loans and typed initializer checks. Validation: 254 HIR, 364 MIR and 135 Codegen tests pass. The 31 selected native tests pass 64 Source-deleted executions and 6 separate publication refusals. Formatting and whitespace checks pass. Full workspace, inventory and supported-host acceptance remain separate gates.
Carry only the transitive binding dependencies of retained views from their concrete checked context. Keep original types and modes; missing or mismatched selected root facts cannot fall back to another scope or generic instance. Validation: all 1797 affected library tests pass. The selected native matrix passes 32 tests with 66 Source-deleted executions and 6 separate publication refusals. Formatting and whitespace checks pass. Full workspace, inventory and supported-host acceptance remain separate gates.
Retain the whole checked temporary owner once through the alias declaration lexical scope, with exact cleanup on every exit. Keep copyable endpoints, escape rules and operation-bounded call views distinct. Design decision only: compiler implementation and reference/native lifetime and cleanup gates remain pending. Documentation and links were reviewed; git diff --check passes. No native execution credit is claimed.
Retain the exact checked owner receipt through HIR and MIR for canonical optional/result payload views, including authenticated callable and sequence conversions. Preserve persistent loans for move-only aliases and independent primitive/String copies across shell replacement. Validation: 1807 compiler library tests; focused HIR and MIR groups; 10 native tests covering 46 Source-deleted executions with paired Debug/Release runtime profiles; formatting and diff checks. GitHub CI is disabled at the user's request. Full local workspace, inventory, Resource, task and supported-host acceptance remain open.
Box the complete private field target and call certificate without changing equality or checked identity. The unchanged Windows capture regression reproduces overflow before the repair and passes after it. All 9 CLI capture tests and 765 HIR/MIR/codegen library tests pass; cargo fmt and diff checks pass. Full native and workspace acceptance remain pending; GitHub CI stays disabled by request.
Keep the exact captured frontend and HIR failure oracle using an admitted nested temporary view, and retain all 23 readonly-root diagnostics with the correct E0401 borrowed-match origin. Focused controls, all 4 projected-assignment tests and all 603 frontend fixtures pass locally. Rust formatting and diff checks pass. This supplies no full native/workspace acceptance; GitHub CI remains disabled by request.
Restore the established reference/native pending-actor diagnostic and assert the exact reference message before full native output comparison. The focused conformance test passes with the reused Debug Runtime; all 663 Comptime library tests pass. Runtime and ABI are unchanged, all 68 Runtime guards match, and GitHub CI remains disabled. Broader workspace/native acceptance is pending.
Authenticate original ordinary calls and pipeline steps before selecting canonical struct/bitfield owner data. Keep full metadata comparisons, source alias information and empty outer alias/refinement probes. Make the interface fixture retain independent actor state through explicit clone. All 666 Comptime, 97 Driver, 603 fixture and 9 CLI capture tests pass; the original interface passes fresh default checking, formatting and Debug native/reference parity. Its Release attempt retains existing debug-println policy errors. Full workspace/native acceptance remains pending; CI remains disabled.
Keep the exact owned producer result in private lexical storage while local and forwarded views borrow it. Authenticate the original checked function/call/projection and preserve owning result acquisition before scope cleanup across HIR, MIR and checked reference execution. Retain canonical mutual declaration identity and distinguish genuine written view declarations from existing borrowed pattern/iteration bindings. Validation: 1,842 compiler-library tests, 603 fixtures and nine CLI capture tests pass. Fresh native gate and 23 tests / 46 Source-deleted native executions pass, paired across Debug and Release Runtime profiles. All Source, fixture and measured Runtime guards remain unchanged. cargo fmt --check passes. This checkpoint covers finite ordinary function-body byte endpoints. List reference transport and the broader selected temporary-view lifetime/cleanup contract remain active work. GitHub CI remains disabled at the user's request.
Keep List endpoints in the existing whole-owner temporary storage and pass nonowning tickets through authenticated named and generic calls. Select each exact retained specialization using its canonical declaration identity, including mutual declarations, before argument effects. Support borrowed length, defined numeric sum and copyable-item get observations, with whole-list copying only through explicit clone. Add a genuine producer/forwarding/bounds/clone-independence fixture and private specialization refusal controls. Validation: 1,847 compiler-library tests, 603 fixtures and nine CLI capture tests pass. All 17 temporary transport controls pass within that library total. Repaired fixture passes Debug/Release frontend checks and a focused paired Source-deleted native run. The full fresh 24-test/48-execution Source-deleted native matrix passes, paired across Debug and Release Runtime profiles, with all Source/fixture/Runtime guards unchanged. Move-only item get, broader temporary producer/body contexts and measured physical cleanup remain active work. No Runtime or ABI changes; GitHub CI remains disabled at the user's request.
Peer ownership checks previously reran canonical coercion independently, creating distinct reflected-callable identities for the same checked input and rejecting valid composition. Retain the one actual conversion output in a private ephemeral receipt and replay it only for the complete original input and same type arena. Keep actor, mutable-sum and temporary proof checks exact, compare every protected archive identity even without original data, and publish the converted Program only after all peer/sealing/HIR/backend validation succeeds. Validation: all nine focused canonical controls, the genuine required-callable/temporary positive in both checking modes, and the existing Graph/baked/temporary composition pass. All 1,856 compiler-library tests, 603 fixtures and nine CLI capture tests pass. A fresh current-compiler native regression passes 24 tests / 48 Source-deleted executions, paired across Debug and Release Runtime profiles, with all Source/fixture/Runtime guards unchanged. This does not establish native execution of the compound required-callable witness or Verify/Property suite completion. Runtime/ABI are unchanged, and GitHub CI remains disabled at the user's request.
Retain exact checked Verify/Property factories, original required-value cache identity, complete function tables, and occurrence-specific suite receipts through canonical conversion. Emit the distinct native-suite role through the existing Resource scope ABI. Stage authenticated ordinary-endpoint Resource-family calls through ordered expression lowering, preserving lexical and named-argument order and short-circuit branches. Keep carrier, hook, and indirect transport bounds explicit. Validation: 1,867 compiler library tests, 603 fixtures, 9 CLI tests; fresh native image passes unchanged whole Source17 (4 objects/8 processes/8 private entry attempts), 24 view tests/48 paired executions, and the original 191 Resource lifecycle cases/382 paired Source-deleted executions. All 1,067 Source and 68 Runtime guards remain exact; fmt and diff checks pass. Runtime ABI1 and measured bundles are unchanged. Full coverage remains open. Source17 provider-attempt and successful-context-history instrumentation and broader storage/artifact lifetime measurements remain unmeasured. The local cache briefly reached8.095GiB during the CLI rebuild; exact obsolete test images/symbols were retired with Runtime guards preserved, restoring7.41GiB before native compilation. GitHub CI stays disabled.
Retain exact actor initializer/handler owners and checked scoped facts for explicit required-value evaluation. Keep runtime ActorHandler Resource cursor admission and native actor required-bake matching conservative. Reject lazy required closures whose resolved free lexical bindings are absent from the compile-time worker. Preserve exact namespace constants, named functions and valid local, parameter and nested captures. Validation: focused actor8 (included in Comptime691), HIR286, fixtures603, CLI units26 and capture9: 1615 distinct tests pass. Twelve exact-image CLI Debug/Release checks match expected acceptance/refusal. The original callable witness and RED capture Source are unchanged. No HIR/native actor execution acceptance is claimed. GitHub CI remains disabled.
Retain the exact checked actor initializer/handler owner, required cache and actual bake input/output when replacing closed explicit comptime values. Renew complete actor snapshots from the authenticated producer result. Record the actual callable sealer's exact getter/adapter token edits and renew the baked execution table from that retained output. Preserve every actor and archive identity; keep MIR's strict original/current comparison unchanged. Add the unchanged actor required-callable native witness for both profiles. Validation: 2,539 compiler-library, fixture and CLI tests passed, including 11 focused actor/bake/sealing controls. One fresh native test emitted/linked and executed the unchanged Source in Debug and Release after deleting isolated Source/object inputs. Both exit 0 with exact observed:5 LF and empty stderr; complete 1,081 Source and 68 Runtime before/after guards pass. Physical lifetime, reentry, full workspace/platform and full native goal acceptance remain open. GitHub CI remains disabled; draft PR 280 remains incomplete.
Renew initial actor snapshots from the actual callable sealer output using the original checked context and a finite private epoch. Keep complete historical/current validation and reject unrepresented proof transitions. Preserve the unchanged direct-getter and required-value witnesses. Add exact context, tamper, clone and Weak-expiry regression controls. Validation: 2,546 local compiler, fixture and CLI tests passed; 18 focused controls are included in that total. Both whole actor Sources passed Source-deleted Debug and Release native executions with exact output, cleanup and complete 1,086 Source / 68 Runtime before-after guards. A wrapper-only PS5 receipt-publication failure was preserved unaccepted, then corrected and rerun successfully. The checker-valid actor plus temporary-owner composition and broader native acceptance remain open. GitHub CI stays disabled.
Record separate acquisition pipeline stages, exact Property contexts and installed int64 arguments in the double-private Runtime report protocol. Preserve the production ABI and original Source programs. Validation: 407 focused local checks; six freshly measured MSVC archives; accepted fresh compiler gate; ingress32 processes (8 Source/10 entries, 22 host ABI, 2 recorder); whole Source17 eight processes/four objects/eight private entries in paired profiles. Source17 private Property history validates100 trials per entry and separate zero acquisition counters without incomplete telemetry. Physical per-kind storage, private retainers and normal-launcher custody/reentry remain unmeasured. Preserved failed gate/preflight attempts grant no execution credit. GitHub CI remains disabled. Exact evidence and remaining limits are documented in docs/active/native_resource_private_observations.md.
Keep an owned mint-time construction inventory through the initial callable sealer. Preflight the exact source, checked context, canonical producer and peer epoch before filling retained temporary cells once. Ordinary lowering keeps its existing finalization path. The unchanged actor getter program now lowers and prints observed:5 through both MSVC native profiles after Source and object removal. Validation: 2553 local regressions passed, including 35 focused controls; fresh compiler gate and two supervised native executions accepted. GitHub CI remains disabled. Broader canonical compositions and physical lifetime measurements remain open.
Authenticate direct optional/result Resource replacement as one compound operation. Preflight shells, loans, companions and exact Scope ownership before retiring the old value and publishing the independently owned replacement. Preserve first-error and exactly-once cleanup behavior. Retain exact nested owned declaration records through MIR Scope exits, and pack primitive result failure payloads without inventing owned temporaries. Add paired Source-deleted native cases and small raw report evidence. Validation: 3,038 distinct local checks; six freshly measured MSVC archives; accepted compiler gate over 1,111 inputs; three exact driver selectors. Native single/reentry validation accepts six Sources, 50 freshly built programs, 76 child runs and 114 entry attempts across Debug/Release, including expected failure paths. Broader Resource carriers, pure-suite native execution, physical lifetime and full native/workspace/installed-host acceptance remain open. GitHub CI stays disabled.
Generalize the canonical suite harness over the original Source17 and pure replacement fixtures. Preserve required-cache values, original function/main identities, full checked Property plans and the existing Source17 oracle. Add an ordinary preparation control and a separate native evidence schema. Validation: two ordinary controls pass; strict adapter/report controls pass; a fresh compiler gate covers 1,111 inputs using the same six measured archives. Pure Verify/Property suites accept eight native processes, four objects, eight private entry attempts and 400 actual private Property trial calls. Fresh Source17 regression separately accepts eight processes, four objects and eight private entries. All process/input guards and cleanup checks pass. Normal-launcher custody/reentry, per-kind physical lifetime and full native/workspace/installed-host acceptance remain open. GitHub CI remains disabled.
Preserve the incomplete ordinary corpus result and partial log without granting acceptance. Record the later two-snapshot cleanup/lease release and v13 pure supervisor controls (6 positive, 25 negative), separate from language execution.
Keep live optional/result shells and their ordinary failure companions in the
existing exact SelfRebind path. Preserve original Source/type/slot/scope and loan
authority, with no Runtime or ABI change. Add unchanged none/fail("kept")
witnesses and independent reference, MIR and object-emission controls.
Validation: 1,291 distinct Codegen/Comptime/MIR checks pass, including both
original witnesses through Debug and Release MIR/object checks. This is a
compiler checkpoint: zero linked native credit, no current fresh gate/full
ordinary acceptance, and occupied/unknown/companion/loan follow-up pending.
Owner
Author
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 field updates, borrowed values, checked suites, actor graphs and Resource carriers must preserve the ownership facts checked by the frontend. This draft carries exact program, actor, handler, caller and required-value identities through reference execution, HIR, MIR and Cranelift for the supported paths.
Direct
optional[Resource]andresult[Resource, E]whole-binding replacement preflights both live shells, loans, failure companions and exact Scope owners, then retires the old value before publishing the independently owned replacement. Consumed cleanup failures preserve the first error and retire the replacement once. Sealed nested declaration records supply lexical cleanup; primitive result failure payloads use their checked scalar representation.Direct Resource optional/result
token = tokennow uses the exact existing SelfRebind path instead of the plain-only MIR refusal. The owner slot, full type, Source and Scope identities and existing loan checks are retained, with no Runtime or ABI change.The suite harness now also executes the unchanged pure replacement fixture through canonical Verify and Property entries. It retains the original Source main without using it as a wrapper, authenticates all six required-cache values and three typed constants, and preserves the full checked trial plan. The existing Source17 fixture uses the same harness and keeps its original oracles. Earlier commits preserve projected aliases, secret redaction, reflected fields, temporary/list views and initial actor sealing. Production ABI 1, layout 3, export signatures and private protocol 2 remain unchanged.
Validation is scoped to each checkpoint:
Resource implementation
21245731: 3,038 distinct local checks, six freshly measured MSVC archives, and native evidence for six Sources, 50 fresh programs, 76 child runs and 114 attempts across Debug/Release, including expected failures and retained-provider reentry.Suite follow-up: two passing ordinary controls and strict adapter/report controls; a fresh compiler gate over 1,111 inputs reuses those six archives. Pure suites accept eight native processes/four objects/eight private entries and 400 actual private Property trial calls. Fresh Source17 regression separately accepts eight processes/four objects/eight private entries.
Same-local sum reseating: 1,291 distinct Codegen/Comptime/MIR checks pass. Both unchanged none/fail witnesses pass reference execution and Debug/Release MIR/object emission. This compiler checkpoint adds no linked-native execution credit.
Both suite fixtures validate exact Property contexts and installed integer bits, zero private acquisition counters/incomplete flags, Source/object removal before launch, checked-program Weak/input-Arc release, and process/file cleanup. Normal-launcher custody and reentry remain unmeasured. Earlier receipts retain their own revision/runtime scope and are not added to these counts.
The full ordinary corpus attempt remains unaccepted after a nullable CIM image and cleanup-probe collision. Its partial 43 passing lines are not a corpus pass. Independent cleanup confirmed an empty owned tree and released the exact held lease. The successor monitor passes six positive and 25 negative in-memory controls; successor corpus execution remains pending.
Continuation is fixed to the implementation already built at this checkpoint. Existing native-corpus, parity-manifest and admitted self-reseat-state validation remain pending. New language features, additional lifetime instrumentation and further platform certification are separate follow-up work. Historical broader acceptance flags remain false. GitHub CI stays disabled at the user’s request; keep this PR draft.
See
docs/active/native_resource_sum_replacement.md,docs/active/native_resource_same_local_reseating.mdanddocs/active/native_acceptance_audit.mdfor the evidence boundaries.