WIP: Reject callback-bearing source root arguments #758

Draft
erikinkinen wants to merge 0 commits from fix/source-root-admission into feature/native-scripted-root-build
Owner

Require literal native paths, creation/search flags, protection identities and actual parent receivers before acquiring a source root. Directory loans apply the same coordinate checks before observing a descriptor. Path, truth and iterator hooks cannot participate in this admission.

Original ancestry, nofollow acquisition and descriptor retirement checks remain in place. The new controls cover early refusal, genuine parent-relative creation, protected-root rejection and positive original custody.

Depends on #690. Related: #728.

  • Reject callback-bearing root, flag, protection and parent arguments before effects.
  • Keep original parent-relative creation and protected-root checks.
  • Enroll the controls in maintained ownership and syntax checks.
  • Complete the compiler-input ownership aggregate.
  • Complete current-head CI.
Require literal native paths, creation/search flags, protection identities and actual parent receivers before acquiring a source root. Directory loans apply the same coordinate checks before observing a descriptor. Path, truth and iterator hooks cannot participate in this admission. Original ancestry, nofollow acquisition and descriptor retirement checks remain in place. The new controls cover early refusal, genuine parent-relative creation, protected-root rejection and positive original custody. Depends on #690. Related: #728. - [x] Reject callback-bearing root, flag, protection and parent arguments before effects. - [x] Keep original parent-relative creation and protected-root checks. - [x] Enroll the controls in maintained ownership and syntax checks. - [x] Complete the compiler-input ownership aggregate. - [ ] Complete current-head CI.
Validate native path, creation, protection and parent coordinates before root acquisition. Keep original ancestry and descriptor proofs while refusing operand protocol hooks before native effects.
Select the complete original supervisor closure from the root admission composition.
build: Bind literal source root admission sources
Some checks failed
Markdown / markdown (push) Successful in 28s
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Coreutils provider graph / coreutils (push) Failing after 2m52s
CI / rust (push) Failing after 7m5s
CI / cargo_publications (push) Failing after 7m8s
CI / native_sources (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
1c18fa3cbd
Bind the original bootstrap and declaration to their immutable source commits.
erikinkinen added this to the Alpha 1 milestone 2026-11-11 23:45:49 +01:00
Refuse unborn receivers and nonliteral root flags or journals before evaluating their truth or entering a native effect.
Select the complete original supervisor closure for the final root admission guards.
build: Bind source root state guard sources
Some checks failed
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 20s
Coreutils provider graph / coreutils (push) Successful in 4m52s
CI / rust (push) Failing after 9m12s
CI / cargo_publications (push) Failing after 9m16s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
720fe8fea9
Bind the original bootstrap and declaration to their immutable source commits.
Some checks failed
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 20s
Coreutils provider graph / coreutils (push) Successful in 4m52s
CI / rust (push) Failing after 9m12s
CI / cargo_publications (push) Failing after 9m16s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'fix/source-root-admission:fix/source-root-admission'
git switch 'fix/source-root-admission'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/native-scripted-root-build'
git merge --no-ff 'fix/source-root-admission'
git switch 'fix/source-root-admission'
git rebase 'feature/native-scripted-root-build'
git switch 'feature/native-scripted-root-build'
git merge --ff-only 'fix/source-root-admission'
git switch 'fix/source-root-admission'
git rebase 'feature/native-scripted-root-build'
git switch 'feature/native-scripted-root-build'
git merge --no-ff 'fix/source-root-admission'
git switch 'feature/native-scripted-root-build'
git merge --squash 'fix/source-root-admission'
git switch 'feature/native-scripted-root-build'
git merge --ff-only 'fix/source-root-admission'
git switch 'feature/native-scripted-root-build'
git merge 'fix/source-root-admission'
git push origin 'feature/native-scripted-root-build'
Sign in to join this conversation.
No description provided.