Repository navigation
Admit phase-only aggregate fields and reject runtime uses - #1376
Closed
julia-script wants to merge 7 commits into
Closed
julia-script wants to merge 7 commits into
julia-script wants to merge 7 commits into
Conversation
STATIC-009: a struct or tuple may hold an Intrinsic.StaticSequence or descriptor field. resolveMemberShape no longer rejects phase-only member types; phaseOnlyType walks struct and tuple fields transitively, so a runtime parameter, result or failure of such a type and an embedded static value of it report StaticPhaseViolation. The LIFE-003 field scan treats Intrinsic.Type and Intrinsic.StaticSequence as sealed families. COMPILER_COMPATIBILITY.md records the bootstrap's SEM0219 divergence. Work in progress: Cases and corpus verification not yet complete. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EWoV5Yzbu782pFaVwhcaRv
This was referenced Oct 10, 2026
Contributor
|
Found 10 test failures on Blacksmith runners: Failures
|
This was referenced Oct 10, 2026
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.
Superseded by #1402 (
fa2a86b1c12ad1566b8f0d98df0647b8458a904e). Closing this draft without merging its separate history. Source containment/conservation preserves the authored phase-field/static-control claims and helper behavior in the unified feature. Its actual fifteen-actor production runner passes; both verified hosted N0/N1 generations pass the mandatory five programs and eight normal-stack depth probes, and N1 passes all eleven authored examples. The historical N0 depth signals are retired. Exact-head CI is fully green: https://github.com/silk-lang/silk/actions/runs/38067183162.#1402 remains a draft pending recovery and execution of the original frozen ownership controls. This closure does not waive that gate.
Structs and tuples can hold phase-only static sequences and type descriptors inside static functions. Native checking now rejects runtime parameters, results, failures, and embedded static aggregate values at the authored boundary, including nested and generic fields. Sealed Intrinsic.Type and StaticSequence families retain their specified field-lifetime arity.
The matching bootstrap correction landed in #1375 and reached selfhost through #1387. The embedding claim uses demandSelectedBody so static selection runs before asserting its exact SEM0176 boundary.
Validation: both phaseOnlyFieldsStayStatic and sealedFamilyFieldLifetimes passed in the coordinated v3e debug compiler (full source and 44 actors compiled; overall39 passed/5 failed). Prior exact-head N0, restoration, and focused CI checks passed. This head includes published bootstrap sync #1400; refreshed N0 CI is running.
Completion dependencies: template-formatting/logging-composition/language-pressure-stack-vm previously rejected at an inherited static-function condition in silk/format.silk, owned by #1396 plus field reflection #1402. Prior corpus reds also include execution ownership, httpRedirect generic inference, and formatter spans owned by the coordinated branches. The foreign-direct-forbidden-unwind wrong-result probe remains a hard merge blocker owned by the native C-ABI correction; N1 linking failed with clang posix_spawn ENOENT and belongs to the native toolchain owner. None is quarantined. The three requested corpus proofs remain pending on the integrated native seed. Static union payload classification remains outside this field feature's admission.