WIP: Avoid repeated source custody registration in native uses #757

Draft
erikinkinen wants to merge 19 commits from perf/source-descriptor-admission into feature/native-scripted-root-build
Owner

Descriptor admission repeated custody registration in adjacent internal calls before querying the same kernel witness and flags. Check the original use registration separately, then perform one fresh custody check. Ordinary binding observations and sticky failures retain their full registration checks. No native pair, flag or signal check is cached or removed.

Depends on #690. Related: #728.

  • Preserve original use and custody registration before native operands.
  • Keep fresh kernel-pair, flag and signal checks on admission and withdrawal.
  • Complete descriptor, signal and retained-directory controls.
  • Complete current-head CI.
Descriptor admission repeated custody registration in adjacent internal calls before querying the same kernel witness and flags. Check the original use registration separately, then perform one fresh custody check. Ordinary binding observations and sticky failures retain their full registration checks. No native pair, flag or signal check is cached or removed. Depends on #690. Related: #728. - [x] Preserve original use and custody registration before native operands. - [x] Keep fresh kernel-pair, flag and signal checks on admission and withdrawal. - [x] Complete descriptor, signal and retained-directory controls. - [ ] Complete current-head CI.
Keep original use admission and fresh kernel pair and flag checks while eliminating adjacent duplicate registration passes. Ordinary binding observations and sticky failures retain their full registration checks.
Select the complete original supervisor closure from the descriptor admission composition.
build: Bind source descriptor admission supervisor 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 30s
Coreutils provider graph / coreutils (push) Successful in 6m11s
CI / cargo_publications (push) Failing after 8m22s
CI / rust (push) Failing after 8m27s
CI / native_sources (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / integration (push) Has been skipped
4c0225d2da
Bind the original bootstrap and declaration to their immutable source commits.
erikinkinen added this to the Alpha 1 milestone 2026-11-11 23:23:48 +01:00
Author
Owner

The descriptor, signal and directory controls pass, with unchanged kernel-pair and flag checks. The actual library path remains unqualified: source preparation hit its existing startup deadline and entered fail-stop cleanup before target birth. This branch stays separate from the root composition while source-retirement handling is investigated.

The descriptor, signal and directory controls pass, with unchanged kernel-pair and flag checks. The actual library path remains unqualified: source preparation hit its existing startup deadline and entered fail-stop cleanup before target birth. This branch stays separate from the root composition while source-retirement handling is investigated.
Compose the qualified root while retaining the adjacent source registration optimization and every original capture and retirement proof. Keep defining unbound custody dispatch before the same fresh kernel pair and flags checks, preserve ordinary full bindings and sticky failures, and cover instance shadows without admitting caller callbacks.
Retain the complete committed supervisor source after composing current retirement and defining adjacent registration checks in the isolated descriptor admission feature.
build: Bind composed descriptor admission 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 11s
CI / rust (push) Failing after 34s
CI / native_sources (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / cargo_publications (push) Failing after 52s
CI / integration (push) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 2m13s
3b1321f83f
Bind every immutable entry source field to the exact complete committed supervisor declaration for the isolated descriptor registration optimization.
test: Inject independent POST refusal through its defining class
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 7s
CI / rust (push) Failing after 33s
CI / native_sources (push) Has been skipped
CI / host_two (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 / integration (push) Has been skipped
CI / cargo_publications (push) Failing after 49s
Coreutils provider graph / coreutils (push) Successful in 1m57s
849324220f
Keep the body error dominant when the physical POST fails. Instance method shadows remain untrusted and cannot select the proof used by a descriptor interval.
Remove adjacent duplicate roster and endpoint checks inside the same callback-free registration path. Every call still validates original owner associations and complete membership before the unchanged kernel OFD and flag proofs.
Keep all native C adapter declarations coherent with the original capture membership refactoring.
Describe every actual input provider from the immutable membership refactoring source tree.
build: Bind the original capture membership cohort
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 8s
CI / rust (push) Failing after 27s
CI / native_sources (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
CI / cargo_publications (push) Failing after 49s
Coreutils provider graph / coreutils (push) Successful in 2m9s
48deb4233f
Authenticate the complete source declaration without storing reusable runtime approvals.
Provide the source-refresh controls their selected temporary root and preserve the existing unused-lifetime diagnostic without weakening forest admission.
Derive the whole owner declaration from the actual source after preserving its native refusal contract.
build: Bind the complete descriptor admission source bank
Some checks failed
CI / native_sources (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
CI / cargo_publications (push) Has been cancelled
CI / rust (push) Has been cancelled
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 15s
Coreutils provider graph / coreutils (push) Successful in 4m14s
a0dccdc483
Select the full immutable source and declaration at the unchanged original owner entry.
Retain the complete literal watchdog helper closure and original once-only constructor wording. Attach actual fractional caller startup diagnostics without changing clocks or cleanup oracles.
Derive every actual owner input after the original capture diagnostic correction.
build: Bind the complete source capture refusal bank
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
CI / native_sources (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
CI / cargo_publications (push) Has been cancelled
CI / rust (push) Has been cancelled
Coreutils provider graph / coreutils (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
4931702b68
Select the entire immutable source and declaration at the unchanged original bounded entry.
test: Retain the actual caller-loss cleanup receipt on refusal
Some checks failed
Coreutils provider graph / coreutils (push) Failing after 1m55s
CI / native_sources (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
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
CI / integration (push) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / cargo_publications (push) Failing after 12m5s
CI / rust (push) Failing after 2m25s
Markdown / markdown (push) Successful in 30s
2ae5e7903f
Expose original cleanup failure and forest diagnostics when the escaped-descendant oracle rejects settlement. Preserve all receipt predicates, deadlines and process disposal assertions.
fix: Keep the required host fixture receiver expansion parseable
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
CI / rust (push) Failing after 1m38s
Coreutils provider graph / coreutils (push) Failing after 1m52s
Markdown / markdown (push) Successful in 38s
CI / native_sources (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
CI / cargo_publications (push) Failing after 12m2s
29b3d81086
Remove the unmatched apostrophe from the required RUNNER_TEMP diagnostic while preserving the explicit receiver requirement and every native fixture selection.
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
CI / rust (push) Failing after 1m38s
Coreutils provider graph / coreutils (push) Failing after 1m52s
Markdown / markdown (push) Successful in 38s
CI / native_sources (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
CI / cargo_publications (push) Failing after 12m2s
This pull request has changes conflicting with the target branch.
  • scripts/dynlink_c_runtime.py
  • scripts/native_c_helpers.py
  • scripts/native_input_owner_cohort.py
  • scripts/native_memory_contract.py
  • scripts/run-owned-input.py
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'perf/source-descriptor-admission:perf/source-descriptor-admission'
git switch 'perf/source-descriptor-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 'perf/source-descriptor-admission'
git switch 'perf/source-descriptor-admission'
git rebase 'feature/native-scripted-root-build'
git switch 'feature/native-scripted-root-build'
git merge --ff-only 'perf/source-descriptor-admission'
git switch 'perf/source-descriptor-admission'
git rebase 'feature/native-scripted-root-build'
git switch 'feature/native-scripted-root-build'
git merge --no-ff 'perf/source-descriptor-admission'
git switch 'feature/native-scripted-root-build'
git merge --squash 'perf/source-descriptor-admission'
git switch 'feature/native-scripted-root-build'
git merge --ff-only 'perf/source-descriptor-admission'
git switch 'feature/native-scripted-root-build'
git merge 'perf/source-descriptor-admission'
git push origin 'feature/native-scripted-root-build'
Sign in to join this conversation.
No description provided.